/* assets/css/style.css - ESTILOS PRINCIPAIS */

:root {
    --primary: #0a0a0a;
    --secondary: #1a1a1a;
    --accent: #00d9ff;
    --accent-dark: #0088cc;
    --light: #f0f0f0;
    --dark: #121212;
    --gray: #666666;
    --gray-light: #333333;
    --success: #00ff88;
    --border: #222222;
    --transition: all 0.3s ease;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

body {
    background: var(--primary);
    color: var(--light);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 0;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--light);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    letter-spacing: -0.5px;
    transition: var(--transition);
}

.logo:hover {
    transform: translateY(-2px);
}

.logo-text span {
    color: var(--accent);
    font-weight: 800;
}

.logo-icon {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: var(--primary);
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
    transform: rotate(5deg);
    transition: var(--transition);
}

.logo:hover .logo-icon {
    transform: rotate(10deg);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    color: var(--gray);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    padding: 0.5rem 0;
    position: relative;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--light);
}

.nav-links a.active {
    color: var(--accent);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: 1px solid var(--border);
    color: var(--light);
    width: 44px;
    height: 44px;
    border-radius: 8px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
}

.mobile-menu-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* Hero Section */
.hero {
    padding: 12rem 0 6rem;
    background: linear-gradient(135deg, #000000 0%, #0a0a0a 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(0, 217, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 217, 255, 0.03) 0%, transparent 50%);
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    margin-bottom: 2.5rem;
    border: 1px solid rgba(0, 217, 255, 0.2);
    backdrop-filter: blur(10px);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.hero-badge i {
    color: var(--accent);
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    line-height: 1.1;
    font-weight: 800;
}

.hero .highlight {
    background: linear-gradient(135deg, var(--light) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero h2 {
    font-size: 1.8rem;
    color: var(--gray);
    margin-bottom: 2rem;
    font-weight: 400;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    color: #888;
    max-width: 600px;
    line-height: 1.8;
}

/* Buttons */
.btn-group {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2.5rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    text-align: center;
    justify-content: center;
}

.btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: 0.5s;
}

.btn:hover::after {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: var(--primary);
    font-weight: 700;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 217, 255, 0.3);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--light);
    border: 2px solid var(--border);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    border-color: var(--accent);
    transform: translateY(-3px);
    background: rgba(0, 217, 255, 0.1);
}

.btn-accent {
    background: linear-gradient(135deg, var(--success), #00cc77);
    color: var(--primary);
    font-weight: 700;
}

.btn-accent:hover {
    background: linear-gradient(135deg, #00ff88, #00dd77);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.3);
}

/* Sections */
.section {
    padding: 6rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 4rem;
    color: var(--light);
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
    font-weight: 700;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), transparent);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.about-card {
    background: var(--secondary);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), transparent);
}

.about-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent);
    box-shadow: var(--shadow);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 1.8rem;
}

.card-icon {
    width: 56px;
    height: 56px;
    background: rgba(0, 217, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1.4rem;
    border: 1px solid rgba(0, 217, 255, 0.2);
}

.card-header h3 {
    color: var(--light);
    font-size: 1.5rem;
    font-weight: 600;
}

.about-card p {
    color: #888;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.highlight-info {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent);
    font-size: 0.95rem;
    margin-top: 1rem;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1.5rem;
}

.tech-tag {
    background: rgba(0, 217, 255, 0.08);
    color: var(--accent);
    padding: 0.7rem 1.2rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    transition: var(--transition);
    border: 1px solid rgba(0, 217, 255, 0.2);
}

.tech-tag:hover {
    background: rgba(0, 217, 255, 0.15);
    transform: translateY(-2px);
}

/* Projects Section */
.projects {
    background: var(--secondary);
}

.project-terminal {
    background: #000;
    border-radius: 16px;
    overflow: hidden;
    margin: 3rem auto;
    max-width: 900px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.terminal-header {
    background: #111;
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border);
}

.terminal-title {
    color: var(--light);
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
}

.terminal-title i {
    color: var(--accent);
}

.terminal-buttons {
    display: flex;
    gap: 0.7rem;
}

.terminal-button {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.close-btn { background: #ff5f56; }
.minimize-btn { background: #ffbd2e; }
.maximize-btn { background: #27ca3f; }

.terminal-button:hover {
    transform: scale(1.2);
}

.terminal-body {
    padding: 2.5rem;
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    color: #ccc;
    line-height: 1.8;
    font-size: 1rem;
    overflow-x: auto;
    word-wrap: break-word;
}

.terminal-line {
    margin-bottom: 0.8rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: pre-wrap;
}

.prompt {
    color: var(--accent);
    font-weight: bold;
}

.cursor {
    animation: blink 1s infinite;
    color: var(--accent);
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.project-info {
    background: var(--secondary);
    padding: 2.5rem;
    border-radius: 16px;
    margin-top: 3rem;
    border: 1px solid var(--border);
}

.project-header {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 1.5rem;
}

.project-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 217, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1.5rem;
    border: 2px solid rgba(0, 217, 255, 0.2);
    flex-shrink: 0;
}

.project-title h3 {
    color: var(--light);
    font-size: 1.8rem;
    font-weight: 600;
    margin: 0;
}

.project-subtitle {
    color: var(--accent);
    font-size: 1rem;
    margin-top: 0.3rem;
    opacity: 0.8;
}

.project-description {
    margin-bottom: 2rem;
}

.project-description p {
    color: #888;
    line-height: 1.7;
    font-size: 1.05rem;
}

.project-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.2rem;
    margin: 2.5rem 0;
}

.stat {
    text-align: center;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: var(--transition);
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.stat:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 0.5rem;
    font-family: 'JetBrains Mono', monospace;
    line-height: 1;
}

.stat-label {
    color: #888;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.project-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.project-actions .btn {
    padding: 1rem 1.8rem;
    font-size: 0.95rem;
    min-width: 160px;
    justify-content: center;
}

.project-actions .btn i {
    font-size: 1rem;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.contact-card {
    background: var(--secondary);
    padding: 2.5rem;
    border-radius: 16px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), transparent);
}

.contact-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent);
}

.contact-icon {
    width: 70px;
    height: 70px;
    background: rgba(0, 217, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.8rem;
    color: var(--accent);
    font-size: 1.8rem;
    border: 2px solid rgba(0, 217, 255, 0.2);
}

.contact-card h3 {
    color: var(--light);
    margin-bottom: 0.8rem;
    font-size: 1.4rem;
}

.contact-card p {
    color: var(--accent);
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    word-break: break-all;
}

.contact-card .subtext {
    color: #888;
    font-size: 0.9rem;
    margin-top: 1rem;
    line-height: 1.6;
}

/* Footer */
footer {
    background: #000;
    padding: 4rem 0 2rem;
    margin-top: 4rem;
    border-top: 1px solid var(--border);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    color: var(--light);
    font-weight: 600;
}

.footer-section p {
    color: #888;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #888;
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-links a:hover {
    color: var(--accent);
    transform: translateX(5px);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-link {
    width: 44px;
    height: 44px;
    background: var(--secondary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid var(--border);
}

.social-link:hover {
    background: var(--accent);
    color: var(--primary);
    transform: translateY(-5px);
    border-color: var(--accent);
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    color: #666;
    font-size: 0.9rem;
}

.copyright p {
    margin-bottom: 0.5rem;
}

.heart {
    color: #ff4757;
    animation: heartbeat 1.5s infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}
