/* =========================================
   GUILHERME GOMES - LANDING PAGE
   Main CSS 
   ========================================= */

/* === ROOT VARIABLES === */
:root {
    --primary: #7c3aed;
    --primary-light: #a855f7;
    --primary-dark: #5b21b6;
    --accent: #06b6d4;
    --accent-light: #22d3ee;
    --green: #10b981;
    --red: #ef4444;
    --yellow: #f59e0b;

    --bg-dark: #030712;
    --bg-card: #0d1117;
    --bg-card2: #111827;
    --bg-section: #060b14;
    --bg-section-alt: #0a0f1e;

    --border: rgba(124, 58, 237, 0.2);
    --border-hover: rgba(124, 58, 237, 0.6);
    --glow: rgba(124, 58, 237, 0.3);
    --glow-accent: rgba(6, 182, 212, 0.2);

    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;

    --font-main: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    --radius: 12px;
    --radius-lg: 20px;
    --shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 30px var(--glow);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* === RESET === */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1,6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

/* === PARTICLES === */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--primary-light);
    border-radius: 50%;
    opacity: 0;
    animation: particleFloat linear infinite;
}

@keyframes particleFloat {
    0% { transform: translateY(100vh) translateX(0); opacity: 0;}
    10% { opacity: 0.6; }
    90% { opacity: 0.3; }
    100% { transform: translateY(-100px) translateX(100px); opacity: 0; }
}

/* === SCROLLBAR === */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary-light); }

/* === SELECTION === */
::selection { background: var(--primary); color: white; }

/* === NAVBAR === */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(3, 7, 18, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 0.7rem 0;
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.5);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.nav-logo {
    font-family: var(--font-mono);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    transition: var(--transition);
}

.nav-logo:hover { opacity: 0.8; }

.logo-bracket { color: var(--primary-light); }
.logo-text { color: var(--text-primary); }

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

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary-light);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--text-primary);
    background: rgba(124, 58, 237, 0.1);
}

.nav-link:hover::after { width: 60%; }

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* === BUTTONS === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 20px var(--glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--glow);
    filter: brightness(1.1);
}

.btn-outline {
    background: transparent;
    color: var(--primary-light);
    border-color: var(--primary-light);
}

.btn-outline:hover {
    background: rgba(124, 58, 237, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px var(--glow);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    border-color: rgba(255, 255, 255, 0.1);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    transform: translateY(-2px);
}

.btn-full { width: 100%; justify-content: center; }

/* === HERO === */
.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 6rem 2rem 4rem;
    position: relative;
}

.hero-content { z-index: 1; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: var(--green);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    animation: fadeInDown 0.6s ease forwards;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--green);
    border-radius: 50%;
    animation: pulse 2s ease infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-greeting {
    font-family: var(--font-mono);
    color: var(--primary-light);
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
    opacity: 0;
    animation: fadeInUp 0.6s ease 0.2s forwards;
}

.terminal-prompt::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--green);
    border-radius: 50%;
    margin-right: 8px;
    vertical-align: middle;
}

.hero-title {
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 900;
    line-height: 1;
    margin-bottom: 1rem;
    opacity: 0;
    animation: fadeInUp 0.6s ease 0.3s forwards;
}

.title-line {
    display: block;
    color: var(--text-primary);
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
    min-height: 2rem;
    font-family: var(--font-mono);
    opacity: 0;
    animation: fadeInUp 0.6s ease 0.4s forwards;
}

.cursor {
    display: inline-block;
    color: var(--primary-light);
    animation: blink 0.8s step-end infinite;
}

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

.hero-desc {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    max-width: 500px;
    opacity: 0;
    animation: fadeInUp 0.6s ease 0.5s forwards;
}

.hero-desc strong { color: var(--text-primary); }
.hero-desc em { color: var(--primary-light); font-style: normal; }

.hero-quote {
    background: rgba(124, 58, 237, 0.08);
    border-left: 3px solid var(--primary);
    padding: 0.75rem 1.25rem;
    border-radius: 0 8px 8px 0;
    font-size: 0.9rem;
    font-style: italic;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeInUp 0.6s ease 0.55s forwards;
}

.hero-quote .fa-quote-left { color: var(--primary); margin-right: 0.5rem; font-size: 0.7rem; }
.hero-quote .fa-quote-right { color: var(--primary); margin-left: 0.5rem; font-size: 0.7rem; }

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
    opacity: 0;
    animation: fadeInUp 0.6s ease 0.6s forwards;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    opacity: 0;
    animation: fadeInUp 0.6s ease 0.7s forwards;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-light);
    font-family: var(--font-mono);
}

.stat-plus {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--accent);
}

.stat-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.1rem;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}

/* === CODE WINDOW === */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    opacity: 0;
    animation: fadeInRight 0.8s ease 0.4s forwards;
}

.code-window {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow), 0 0 60px var(--glow);
    width: 100%;
    max-width: 450px;
    position: relative;
    z-index: 1;
}

.window-header {
    background: rgba(255, 255, 255, 0.04);
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid var(--border);
}

.window-dots { display: flex; gap: 0.4rem; }
.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}
.dot.red { background: #ff5f57; }
.dot.yellow { background: #febc2e; }
.dot.green { background: #28c840; }

.window-title {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-left: auto;
    margin-right: auto;
}

.code-content {
    padding: 1.5rem;
    overflow-x: auto;
}

.code-block {
    font-family: var(--font-mono);
    font-size: 0.82rem;
    line-height: 1.8;
    white-space: pre;
} 

/* Syntax Highlighting */
.code-keyword { color: #c792ea; }
.code-var { color: #82aaff; }
.code-op { color: #89ddff; }
.code-key { color: #f07178; }
.code-str { color: #c3e88d; }
.code-num { color: #f78c6c; }

.hero-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--glow) 0%, transparent 70%);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    animation: glowPulse 3s ease infinite;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0;
    animation: fadeIn 1s ease 1.5s forwards;
    grid-column: 1 / -1;
}

.scroll-mouse {
    width: 24px;
    height: 38px;
    border: 2px solid var(--text-muted);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 6px;
}

.scroll-wheel {
    width: 3px;
    height: 8px;
    background: var(--text-muted);
    border-radius: 2px;
    animation: scrollWheel 2s ease infinite;
}

@keyframes scrollWheel {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(12px); opacity: 0; }
}

.scroll-indicator span {
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 1px;
}

/* === SECTIONS === */
.section {
    padding: 6rem 0;
    position: relative;
    z-index: 1;
}

.section-dark {
    background: var(--bg-section-alt);
}

.section-dark::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.section-dark::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--primary-light);
    margin-bottom: 0.75rem;
    opacity: 0.8;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    background: linear-gradient(135deg, var(--text-primary), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 500px;
    margin: 0 auto;
}

/* === SOBRE === */
.sobre-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr;
    gap: 1.5rem;
    align-items: start;
}

.sobre-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: var(--transition);
}

.sobre-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.sobre-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
    color: white;
}

.sobre-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.sobre-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.sobre-card strong { color: var(--primary-light); }

.highlight-card {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.12), rgba(6, 182, 212, 0.08));
    border-color: rgba(124, 58, 237, 0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2.5rem 2rem;
}

.profile-avatar {
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.avatar-ring {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    padding: 3px;
    animation: rotateRing 8s linear infinite;
}

@keyframes rotateRing {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.avatar-inner {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--bg-card);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--primary-light);
}

.avatar-status {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    color: var(--green);
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
}

.status-dot {
    width: 6px;
    height: 6px;
    background: var(--green);
    border-radius: 50%;
    animation: pulse 2s ease infinite;
}

.profile-info h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.profile-role {
    font-size: 0.85rem;
    color: var(--primary-light);
    font-weight: 500;
    display: block;
    margin-bottom: 1rem;
}

.profile-flags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.profile-flags span {
    font-size: 0.75rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border);
    padding: 0.25rem 0.6rem;
    border-radius: 6px;
    color: var(--text-secondary);
}

/* === SKILLS === */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.skill-category {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    transition: var(--transition);
}

.skill-category:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.category-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.category-header i {
    font-size: 1.2rem;
    color: var(--primary-light);
}

.category-header h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.skill-tag {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid transparent;
    transition: var(--transition);
}

.skill-tag:hover { transform: scale(1.05); }

.skill-tag.html { background: rgba(228, 77, 38, 0.12); color: #e44d26; border-color: rgba(228, 77, 38, 0.3); }
.skill-tag.css { background: rgba(21, 114, 182, 0.12); color: #1572b6; border-color: rgba(21, 114, 182, 0.3); }
.skill-tag.js { background: rgba(247, 223, 30, 0.12); color: #f7df1e; border-color: rgba(247, 223, 30, 0.3); }
.skill-tag.php { background: rgba(119, 123, 179, 0.12); color: #777bb3; border-color: rgba(119, 123, 179, 0.3); }
.skill-tag.python { background: rgba(55, 118, 171, 0.12); color: #3776ab; border-color: rgba(55, 118, 171, 0.3); }
.skill-tag.java { background: rgba(237, 117, 32, 0.12); color: #ed7520; border-color: rgba(237, 117, 32, 0.3); }
.skill-tag.csharp { background: rgba(104, 33, 122, 0.12); color: #9b4f96; border-color: rgba(104, 33, 122, 0.3); }
.skill-tag.cpp { background: rgba(0, 89, 157, 0.12); color: #00599d; border-color: rgba(0, 89, 157, 0.3); }
.skill-tag.git { background: rgba(240, 80, 50, 0.12); color: #f05032; border-color: rgba(240, 80, 50, 0.3); }
.skill-tag.github { background: rgba(255, 255, 255, 0.06); color: var(--text-secondary); border-color: var(--border); }
.skill-tag.vscode { background: rgba(0, 120, 212, 0.12); color: #0078d4; border-color: rgba(0, 120, 212, 0.3); }

/* === PROJECTS === */
.projects-filter {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.5rem 1.25rem;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-main);
}

.filter-btn:hover {
    border-color: var(--primary-light);
    color: var(--primary-light);
    background: rgba(124, 58, 237, 0.1);
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-color: transparent;
    color: white;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.project-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-6px);
    box-shadow: var(--shadow-glow);
}

.project-card:hover::before { opacity: 1; }

.project-card.hidden { display: none; }

.project-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.project-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.game-icon { background: rgba(6, 182, 212, 0.12); border: 1px solid rgba(6, 182, 212, 0.2); }
.auto-icon { background: rgba(124, 58, 237, 0.12); border: 1px solid rgba(124, 58, 237, 0.2); color: var(--primary-light); }
.full-icon { background: rgba(16, 185, 129, 0.12); border: 1px solid rgba(16, 185, 129, 0.2); color: var(--green); }

.project-links a {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: var(--transition);
}

.project-links a:hover {
    background: rgba(124, 58, 237, 0.15);
    border-color: var(--primary);
    color: var(--primary-light);
}

.project-body { flex: 1; }

.project-body h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.project-body p {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.tag {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border);
    color: var(--text-muted);
}

.tag.html { background: rgba(228, 77, 38, 0.1); color: #e44d26; border-color: rgba(228, 77, 38, 0.2); }
.tag.css { background: rgba(21, 114, 182, 0.1); color: #1572b6; border-color: rgba(21, 114, 182, 0.2); }
.tag.js { background: rgba(247, 223, 30, 0.1); color: #f7df1e; border-color: rgba(247, 223, 30, 0.2); }
.tag.php { background: rgba(119, 123, 179, 0.1); color: #777bb3; border-color: rgba(119, 123, 179, 0.2); }
.tag.python { background: rgba(55, 118, 171, 0.1); color: #3776ab; border-color: rgba(55, 118, 171, 0.2); }
.tag.csharp { background: rgba(104, 33, 122, 0.1); color: #9b4f96; border-color: rgba(104, 33, 122, 0.2); }

.project-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border);
}

.project-stars {
    font-size: 0.75rem;
    color: var(--yellow);
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.project-category-badge {
    font-size: 0.7rem;
    padding: 0.2rem 0.6rem;
    background: rgba(124, 58, 237, 0.1);
    border: 1px solid rgba(124, 58, 237, 0.2);
    color: var(--primary-light);
    border-radius: 50px;
}

.projects-cta {
    text-align: center;
}

/* === SETUP === */
.setup-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.setup-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    transition: var(--transition);
}

.setup-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.setup-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    background: rgba(124, 58, 237, 0.12);
    border: 1px solid rgba(124, 58, 237, 0.2);
    color: var(--primary-light);
    flex-shrink: 0;
}

.setup-icon.cpu { background: rgba(239, 68, 68, 0.12); border-color: rgba(239, 68, 68, 0.2); color: #ef4444; }
.setup-icon.gpu { background: rgba(16, 185, 129, 0.12); border-color: rgba(16, 185, 129, 0.2); color: var(--green); }
.setup-icon.ram { background: rgba(6, 182, 212, 0.12); border-color: rgba(6, 182, 212, 0.2); color: var(--accent); }

.setup-info {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.setup-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.setup-value {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-primary);
    font-family: var(--font-mono);
}

/* === GITHUB STATS === */
.stats-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.github-stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    transition: var(--transition);
}

.github-stat-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
    flex-shrink: 0;
}

.big-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-primary);
    font-family: var(--font-mono);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.stat-desc {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.github-banner {
    text-align: center;
}

.github-stats-img {
    border-radius: var(--radius);
    max-width: 500px;
    width: 100%;
    height: auto;
}

/* === CONTATO === */
.contato-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    align-items: start;
}

.contato-text {
    margin-bottom: 1.5rem;
}

.contato-text h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.contato-text p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.social-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 0.85rem 1.25rem;
    transition: var(--transition);
    color: var(--text-primary);
}

.social-card:hover {
    transform: translateX(4px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-glow);
}

.social-card i {
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
    flex-shrink: 0;
}

.social-card .social-label {
    display: block;
    font-size: 0.72rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.1rem;
}

.social-card .social-value {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
}

.social-card.email i { color: #ea4335; }
.social-card.github i { color: #f0f6fc; }
.social-card.linkedin i { color: #0077b5; }
.social-card.instagram i { color: #e1306c; }
.social-card.youtube i { color: #ff0000; }
.social-card.coffee i { color: #FFDD00; }

/* === FORM === */
.contato-form-container {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
}

.contato-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.form-group input,
.form-group textarea {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    color: var(--text-primary);
    font-size: 0.9rem;
    font-family: var(--font-main);
    transition: var(--transition);
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(124, 58, 237, 0.05);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-success {
    display: none;
    align-items: center;
    gap: 0.5rem;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: var(--green);
    padding: 0.75rem 1rem;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 500;
}

.form-success.show { display: flex; }

/* === FOOTER === */
.footer {
    background: var(--bg-section-alt);
    border-top: 1px solid var(--border);
    padding: 3rem 0;
    position: relative;
    z-index: 1;
}

.footer-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-logo {
    font-family: var(--font-mono);
    font-size: 1.1rem;
    font-weight: 700;
}

.footer-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    gap: 1rem;
}

.footer-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text-muted);
    font-size: 1rem;
    transition: var(--transition);
}

.footer-links a:hover {
    background: rgba(124, 58, 237, 0.15);
    border-color: var(--primary);
    color: var(--primary-light);
    transform: translateY(-3px);
}

.footer-quote {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-style: italic;
}

.footer-copy {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.footer-copy .fa-heart { color: var(--red); }

/* === BACK TO TOP === */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    box-shadow: 0 4px 20px var(--glow);
}

.back-to-top.visible {
    opacity: 1;
    pointer-events: auto;
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px var(--glow);
}

/* === ANIMATIONS === */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}

/* AOS-like classes */
[data-aos] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

[data-aos="fade-right"] {
    transform: translateX(-30px);
}

[data-aos="fade-right"].aos-animate {
    transform: translateX(0);
}

[data-aos="fade-left"] {
    transform: translateX(30px);
}

[data-aos="fade-left"].aos-animate {
    transform: translateX(0);
}

/* === RESPONSIVE === */
@media (max-width: 1100px) {
    .projects-grid { grid-template-columns: repeat(3, 1fr); }
    .stats-cards { grid-template-columns: repeat(2, 1fr); }
    .sobre-grid { grid-template-columns: 1fr 1fr; }
    .highlight-card { display: none; }
    .sobre-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2.5rem;
    }
    .hero-desc { margin: 0 auto 1.5rem; }
    .hero-cta { justify-content: center; }
    .hero-stats { justify-content: center; }
    .hero-visual { justify-content: center; }
    .scroll-indicator { display: none; }
    .skills-grid { grid-template-columns: repeat(2, 1fr); }
    .setup-grid { grid-template-columns: repeat(2, 1fr); }
    .contato-grid { grid-template-columns: 1fr; }
    .projects-grid { grid-template-columns: repeat(2, 1fr); }
    .sobre-grid { grid-template-columns: 1fr; }
    .highlight-card { display: flex; }
}

@media (max-width: 600px) {
    .hero { padding: 5rem 1.25rem 3rem; }
    .hero-title { font-size: 3rem; }
    .hero-cta { flex-direction: column; }
    .hero-cta .btn { width: 100%; justify-content: center; }
    .projects-grid { grid-template-columns: 1fr; }
    .skills-grid { grid-template-columns: 1fr; }
    .setup-grid { grid-template-columns: 1fr; }
    .stats-cards { grid-template-columns: 1fr 1fr; }
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(3, 7, 18, 0.98);
        backdrop-filter: blur(20px);
        padding: 1rem;
        border-bottom: 1px solid var(--border);
    }
    .nav-links.open { display: flex; }
    .hamburger { display: flex; }
    .nav-link { padding: 0.75rem 1rem; width: 100%; }
    .section { padding: 4rem 0; }
    .container { padding: 0 1.25rem; }
    .code-window { max-width: 100%; }
}