/*
╔══════════════════════════════════════════════════════════════════════════════╗
║                                                                              ║
║                 ██╗     ██╗   ██╗ ██████╗ ███╗   ██╗                        ║
║                 ██║     ╚██╗ ██╔╝██╔═══██╗████╗  ██║                        ║
║                 ██║      ╚████╔╝ ██║   ██║██╔██╗ ██║                        ║
║                 ██║       ╚██╔╝  ██║   ██║██║╚██╗██║                        ║
║                 ███████╗   ██║   ╚██████╔╝██║ ╚████║                        ║
║                 ╚══════╝   ╚═╝    ╚═════╝ ╚═╝  ╚═══╝                        ║
║                                                                              ║
╠══════════════════════════════════════════════════════════════════════════════╣
║                                                                              ║
║   📁 FILE: style.css                                                         ║
║   👤 AUTHOR: Ailton Rocha (Lyon.)                                            ║
║   📧 CONTACT: github.com/lyonzin                                             ║
║   📅 CREATED: 2024 | UPDATED: 2026                                           ║
║   🔒 LICENSE: All Rights Reserved                                            ║
║                                                                              ║
╠══════════════════════════════════════════════════════════════════════════════╣
║                                                                              ║
║   🎯 DESCRIPTION:                                                            ║
║   Main stylesheet for Lyon Portfolio - Dark Cybersecurity Theme              ║
║   Built with CSS3, Custom Properties, and modern CSS features.               ║
║                                                                              ║
╠══════════════════════════════════════════════════════════════════════════════╣
║                                                                              ║
║   🎨 DESIGN SYSTEM:                                                          ║
║   ├─ Color Palette: Cyber Terminal theme (#5B21B6 purple)                     ║
║   ├─ Typography: JetBrains Mono + Inter + Space Grotesk                      ║
║   ├─ Spacing: 8px base unit system                                           ║
║   ├─ Shadows: Multi-layer glow effects                                       ║
║   └─ Animations: Cubic-bezier easing functions                               ║
║                                                                              ║
╠══════════════════════════════════════════════════════════════════════════════╣
║                                                                              ║
║   ⚡ CSS FEATURES:                                                           ║
║   ├─ 🎭 CSS Custom Properties (Variables)                                    ║
║   ├─ 📐 Flexbox & CSS Grid layouts                                           ║
║   ├─ 🔄 CSS Transforms & Transitions                                         ║
║   ├─ ✨ Keyframe animations                                                  ║
║   ├─ 🖼️ Clip-path for geometric shapes                                       ║
║   ├─ 🌈 Gradient backgrounds & borders                                       ║
║   ├─ 📱 Mobile-first responsive breakpoints                                  ║
║   ├─ 🔲 Backdrop-filter for glass effects                                    ║
║   ├─ 🎯 ::before/::after pseudo-elements                                     ║
║   └─ ♿ Accessibility focus states                                           ║
║                                                                              ║
╠══════════════════════════════════════════════════════════════════════════════╣
║                                                                              ║
║   📊 TOTAL LINES: 4200+                                                      ║
║   📦 COMPONENTS: Navigation, Hero, Cards, Timeline, Buttons, Forms           ║
║                                                                              ║
╚══════════════════════════════════════════════════════════════════════════════╝
*/

/* ============================================
   Lyon Portfolio - Cyber Terminal Theme (THL)
   ============================================ */

/* Space Grotesk loaded via <link> in HTML */

:root {
    --bg-primary: #111317;
    --bg-secondary: #171A1F;
    --bg-tertiary: #1E2129;
    --bg-card: #171A1F;

    --accent-primary: #5B21B6;
    --accent-secondary: #7C3AED;
    --accent-tertiary: #8B5CF6;
    --accent-glow: rgba(91, 33, 182, 0.35);

    --text-primary: #E3E5E8;
    --text-secondary: #ABB0BA;
    --text-muted: #6b7280;

    --border-color: #2B303B;
    --gradient-primary: linear-gradient(135deg, #4C1D95 0%, #5B21B6 50%, #8B5CF6 100%);
    --gradient-purple: linear-gradient(135deg, #4C1D95 0%, #5B21B6 50%, #8B5CF6 100%);

    --font-display: 'Space Grotesk', system-ui, -apple-system, sans-serif;
    --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    width: 100%;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    min-height: 100vh;
}

/* THL Grid Background Overlay */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(91, 33, 182, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(91, 33, 182, 0.03) 1px, transparent 1px);
    background-size: 80px 80px;
    pointer-events: none;
    z-index: 0;
}

::selection {
    background: rgba(91, 33, 182, 0.3);
    color: #ffffff;
}

/* ============================================
   Navigation
   ============================================ */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0.75rem 10rem;
    background: rgba(12, 14, 18, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(91, 33, 182, 0.15);
    transition: var(--transition-normal);
}

.navbar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(91, 33, 182, 0.4), transparent);
}

.nav-container {
    max-width: 100%;
    margin: 0;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 3rem;
    padding: 0 2rem;
}

.nav-logo {
    font-family: var(--font-mono);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    letter-spacing: 0.08em;
    margin-right: auto;
}

.nav-avatar {
    position: relative;
    width: 36px;
    height: 36px;
    cursor: pointer;
}

.nav-avatar::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    border: 1px solid var(--accent-primary);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.nav-avatar:hover::before {
    opacity: 1;
    border-color: var(--accent-secondary);
    box-shadow: 0 0 10px var(--accent-glow);
}

.nav-avatar img {
    position: relative;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--accent-primary);
    transition: filter 0.1s ease, transform 0.1s ease;
}

.nav-avatar:hover img {
    animation: avatar-disintegrate 0.8s ease-in-out infinite !important;
}

/* Particles container */
.nav-avatar::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    opacity: 0;
    pointer-events: none;
}

.nav-avatar:hover::after {
    animation: particle-burst 0.6s ease-out infinite;
    background:
        radial-gradient(circle at 20% 20%, var(--accent-primary) 1px, transparent 1px),
        radial-gradient(circle at 80% 30%, var(--accent-secondary) 1px, transparent 1px),
        radial-gradient(circle at 40% 80%, var(--accent-tertiary) 1px, transparent 1px),
        radial-gradient(circle at 70% 70%, #ff0040 1px, transparent 1px),
        radial-gradient(circle at 30% 50%, #00ff88 1px, transparent 1px),
        radial-gradient(circle at 60% 20%, var(--accent-primary) 1px, transparent 1px),
        radial-gradient(circle at 90% 60%, var(--accent-secondary) 1px, transparent 1px),
        radial-gradient(circle at 10% 70%, #ff0040 1px, transparent 1px);
    opacity: 1;
}

@keyframes avatar-pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.4;
    }
    50% {
        transform: scale(1.15);
        opacity: 0.7;
    }
}

@keyframes avatar-disintegrate {
    0% {
        transform: translate(0, 0) scale(1);
        filter: saturate(1) hue-rotate(0deg);
        opacity: 1;
        clip-path: circle(50% at 50% 50%);
    }
    10% {
        transform: translate(-1px, 1px) scale(1);
        filter: saturate(2) hue-rotate(30deg);
        clip-path: polygon(0 0, 100% 0, 100% 20%, 95% 20%, 95% 40%, 100% 40%, 100% 100%, 0 100%, 0 60%, 5% 60%, 5% 40%, 0 40%);
    }
    20% {
        transform: translate(2px, -1px) scale(0.98);
        filter: saturate(0.5) hue-rotate(-60deg);
        opacity: 0.9;
        clip-path: polygon(5% 0, 100% 0, 100% 30%, 90% 35%, 95% 50%, 100% 70%, 100% 100%, 0 100%, 0 70%, 10% 65%, 5% 45%, 0 30%);
    }
    30% {
        transform: translate(-2px, -2px) scale(1.02);
        filter: saturate(3) hue-rotate(90deg);
        clip-path: polygon(10% 5%, 95% 0, 100% 25%, 85% 30%, 90% 55%, 100% 75%, 95% 100%, 5% 95%, 0 75%, 15% 70%, 10% 45%, 0 25%);
    }
    40% {
        transform: translate(1px, 2px) scale(0.95);
        filter: saturate(1) hue-rotate(-30deg);
        opacity: 0.7;
        clip-path: polygon(15% 10%, 90% 5%, 95% 30%, 80% 40%, 85% 60%, 95% 80%, 90% 95%, 10% 90%, 5% 70%, 20% 55%, 15% 35%, 5% 20%);
    }
    50% {
        transform: translate(-1px, 0) scale(1);
        filter: saturate(2.5) hue-rotate(120deg);
        opacity: 0.85;
        clip-path: polygon(20% 15%, 85% 10%, 90% 35%, 75% 45%, 80% 65%, 90% 85%, 85% 90%, 15% 85%, 10% 65%, 25% 50%, 20% 30%, 10% 20%);
    }
    60% {
        transform: translate(2px, 1px) scale(0.97);
        filter: saturate(0.8) hue-rotate(-90deg);
        opacity: 0.75;
        clip-path: polygon(15% 10%, 90% 5%, 95% 35%, 80% 40%, 85% 60%, 95% 80%, 90% 95%, 10% 90%, 5% 65%, 20% 55%, 15% 35%, 5% 15%);
    }
    70% {
        transform: translate(-2px, 1px) scale(1.01);
        filter: saturate(2) hue-rotate(60deg);
        opacity: 0.9;
        clip-path: polygon(10% 5%, 95% 0, 100% 30%, 85% 35%, 90% 55%, 100% 75%, 95% 100%, 5% 95%, 0 70%, 15% 60%, 10% 40%, 0 25%);
    }
    80% {
        transform: translate(1px, -2px) scale(0.99);
        filter: saturate(1.5) hue-rotate(-45deg);
        opacity: 0.95;
        clip-path: polygon(5% 0, 100% 0, 100% 25%, 92% 30%, 95% 50%, 100% 75%, 100% 100%, 0 100%, 0 75%, 8% 65%, 5% 45%, 0 25%);
    }
    90% {
        transform: translate(-1px, -1px) scale(1);
        filter: saturate(2) hue-rotate(15deg);
        opacity: 0.98;
        clip-path: polygon(2% 0, 100% 0, 100% 15%, 97% 20%, 98% 45%, 100% 55%, 100% 100%, 0 100%, 0 55%, 3% 45%, 2% 20%, 0 10%);
    }
    100% {
        transform: translate(0, 0) scale(1);
        filter: saturate(1) hue-rotate(0deg);
        opacity: 1;
        clip-path: circle(50% at 50% 50%);
    }
}

@keyframes particle-burst {
    0% {
        transform: scale(1);
        opacity: 0;
    }
    20% {
        opacity: 1;
    }
    100% {
        transform: scale(2.5);
        opacity: 0;
    }
}

@keyframes avatar-hack-ring {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        background: linear-gradient(135deg, #ff0040 0%, #5B21B6 50%, #00ff88 100%);
    }
    25% {
        transform: scale(1.1) rotate(90deg);
        background: linear-gradient(135deg, #00ff88 0%, #ff0040 50%, #5B21B6 100%);
    }
    50% {
        transform: scale(0.95) rotate(180deg);
        background: linear-gradient(135deg, #5B21B6 0%, #00ff88 50%, #ff0040 100%);
    }
    75% {
        transform: scale(1.05) rotate(270deg);
        background: linear-gradient(135deg, #ff0040 0%, #5B21B6 50%, #00ff88 100%);
    }
}

.logo-text {
    color: #ffffff;
    position: relative;
    min-width: 180px;
    white-space: nowrap;
    font-family: var(--font-mono);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.logo-text.glitching {
    animation: nav-glitch 0.3s linear infinite;
}

.logo-text.hacked {
    animation: hacked-pulse 2s ease-in-out infinite;
}

@keyframes nav-glitch {
    0% {
        transform: translate(0);
        opacity: 1;
    }
    10% {
        transform: translate(-2px, 1px);
        opacity: 0.8;
        filter: hue-rotate(90deg);
    }
    20% {
        transform: translate(2px, -1px);
        opacity: 0.6;
        color: #ff0040;
    }
    30% {
        transform: translate(-1px, 2px);
        opacity: 0.9;
        filter: hue-rotate(-90deg);
    }
    40% {
        transform: translate(1px, -2px);
        opacity: 0.7;
        color: #00ff88;
    }
    50% {
        transform: translate(-2px, -1px);
        opacity: 0.5;
    }
    60% {
        transform: translate(2px, 1px);
        opacity: 0.8;
        color: #ff0040;
    }
    70% {
        transform: translate(0, -2px);
        opacity: 0.6;
        filter: hue-rotate(180deg);
    }
    80% {
        transform: translate(-1px, 1px);
        opacity: 0.9;
    }
    90% {
        transform: translate(1px, 0);
        opacity: 0.7;
        color: #00ff88;
    }
    100% {
        transform: translate(0);
        opacity: 1;
    }
}

@keyframes hacked-pulse {
    0%, 100% {
        opacity: 1;
        text-shadow: 0 0 3px rgba(91, 33, 182, 0.4);
    }
    50% {
        opacity: 0.9;
        text-shadow: 0 0 8px rgba(91, 33, 182, 0.6), 0 0 12px rgba(124, 58, 237, 0.3);
    }
}

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

.logo-cursor.hidden {
    display: none;
}

@keyframes blink {
    50% { opacity: 0; }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-fast);
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 6px 0;
}

.nav-link::before {
    content: '|';
    color: rgba(91, 33, 182, 0.3);
    margin-right: 6px;
    font-weight: 300;
    transition: color var(--transition-fast);
}

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

.nav-link:hover {
    color: #fff;
}

.nav-link:hover::before {
    color: var(--accent-primary);
}

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

.nav-link.active {
    color: var(--accent-primary);
}

.nav-link.active::after {
    width: 100%;
}

/* Nav Social Icons */
.nav-social {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-left: 1.5rem;
    padding-left: 1.5rem;
    border-left: 1px solid rgba(91, 33, 182, 0.3);
}

.nav-social a {
    color: var(--text-secondary);
    font-size: 1.1rem;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    position: relative;
}

.nav-social a::before,
.nav-social a::after {
    display: none !important;
}

.nav-social a:hover {
    color: var(--accent-primary);
    transform: translateY(-2px);
}

.nav-social a:hover img {
    filter: grayscale(0%) brightness(1.2) !important;
}

/* ============================================
   Language Selector
   ============================================ */

.lang-selector {
    position: relative;
    margin-left: 1rem;
    z-index: 1001;
}

.lang-current {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: rgba(91, 33, 182, 0.1);
    border: 1px solid rgba(91, 33, 182, 0.3);
    border-radius: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lang-current:hover {
    background: rgba(91, 33, 182, 0.2);
    border-color: var(--accent-primary);
}

.lang-current img {
    width: 20px;
    height: 14px;
    object-fit: cover;
    border-radius: 2px;
}

.lang-current i {
    font-size: 0.7rem;
    color: var(--text-secondary);
    transition: transform 0.3s ease;
}

.lang-selector.active .lang-current i {
    transform: rotate(180deg);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    min-width: 120px;
    background: var(--bg-secondary);
    border: 1px solid rgba(91, 33, 182, 0.3);
    border-radius: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.lang-selector.active .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.75rem 1rem;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--text-secondary);
    transition: all 0.2s ease;
    font-size: 0.9rem;
}

.lang-option:hover {
    background: rgba(91, 33, 182, 0.15);
    color: var(--text-primary);
}

.lang-option.active {
    background: rgba(91, 33, 182, 0.2);
    color: var(--accent-primary);
}

.lang-option img {
    width: 20px;
    height: 14px;
    object-fit: cover;
    border-radius: 2px;
}

.lang-option span {
    font-weight: 500;
}

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

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition-fast);
}

/* ============================================
   Hero Section
   ============================================ */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 6rem 2rem 2rem;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
    flex-direction: column;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(91, 33, 182, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(91, 33, 182, 0.03) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
}

.hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 800px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    padding: 0 1rem;
    box-sizing: border-box;
}


.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 0;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

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

.hero-name-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    margin-bottom: 0.5rem;
}

.avatar-frame {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--accent-primary);
    box-shadow: 0 0 30px var(--accent-glow);
    flex-shrink: 0;
    margin-bottom: 1.5rem;
}

.avatar-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(10%);
    transition: var(--transition-normal);
}

.avatar-frame:hover img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 8vw, 4rem);
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.greeting {
    display: none;
}

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

.name-text {
    color: var(--text-primary);
}

.name-cursor {
    color: var(--accent-primary);
    animation: blink 0.7s step-end infinite;
    margin-left: 2px;
}

.alias {
    display: block;
    font-size: 1.5rem;
    color: var(--text-muted);
    font-weight: 400;
    margin-top: 0.5rem;
}

.hero-role {
    font-family: var(--font-mono);
    font-size: 1.15rem;
    color: var(--accent-secondary);
    margin-top: 0.5rem;
    min-height: 1.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
}

.hero-name-row + .hero-description {
    margin-top: 1.5rem;
}

.cursor {
    animation: blink 1s step-end infinite;
}

.typing-text.pulsing {
    animation: textPulse 0.5s ease-in-out infinite;
    color: #ffffff;
    text-shadow:
        0 0 5px #5B21B6,
        0 0 10px #5B21B6,
        0 0 20px #8B5CF6,
        0 0 40px #8B5CF6;
}

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

/* Hero Pulsing Effect - Transformando Ameaças em Segurança */
.typing-text.hero-pulsing {
    animation: heroPulse 2.5s ease-in-out infinite;
    color: #ffffff;
    text-shadow:
        0 0 5px #5B21B6,
        0 0 15px #5B21B6,
        0 0 30px #8B5CF6,
        0 0 50px #8B5CF6;
}

@keyframes heroPulse {
    0%, 100% {
        text-shadow:
            0 0 5px #5B21B6,
            0 0 15px #5B21B6,
            0 0 30px #8B5CF6,
            0 0 50px #8B5CF6;
        opacity: 1;
    }
    50% {
        text-shadow:
            0 0 10px #8B5CF6,
            0 0 25px #8B5CF6,
            0 0 50px #5B21B6,
            0 0 80px #5B21B6,
            0 0 100px #FFAD66;
        opacity: 0.95;
    }
}

.hero-description {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 550px;
    margin: 0 auto 2rem;
    line-height: 1.7;
    opacity: 0.9;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    padding: 1.5rem 2rem;
    background: rgba(23, 26, 31, 0.5);
    border: 1px solid var(--border-color);
    border-radius: 0;
}

.stat {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 700;
    background: var(--gradient-purple);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    line-height: 1;
}

.stat-number.counter-hacking {
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: #ffffff;
    background-clip: unset;
    color: #ffffff;
    text-shadow: 0 0 8px rgba(91, 33, 182, 0.5);
}

.stat-number.counter-complete {
    animation: counterComplete 0.5s ease forwards;
}

@keyframes counterComplete {
    0% {
        transform: scale(1);
        filter: brightness(1);
    }
    50% {
        transform: scale(1.15);
        filter: brightness(1.3) drop-shadow(0 0 10px var(--accent-glow));
    }
    100% {
        transform: scale(1);
        filter: brightness(1);
    }
}

/* Pulsing animation after counter complete */
.stat-number.counter-pulsing {
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: #ffffff;
    background-clip: unset;
    color: #ffffff;
    text-shadow:
        0 0 2px #5B21B6,
        0 0 4px #5B21B6,
        0 0 8px rgba(91, 33, 182, 0.8),
        0 0 16px rgba(124, 58, 237, 0.5);
    animation: statPulse 2s ease-in-out infinite;
    position: relative;
}

@keyframes statPulse {
    0%, 100% {
        text-shadow:
            0 0 2px #5B21B6,
            0 0 4px #5B21B6,
            0 0 8px rgba(91, 33, 182, 0.8),
            0 0 16px rgba(124, 58, 237, 0.5);
        transform: scale(1);
    }
    50% {
        text-shadow:
            0 0 4px #5B21B6,
            0 0 8px #5B21B6,
            0 0 16px rgba(91, 33, 182, 1),
            0 0 32px rgba(124, 58, 237, 0.8),
            0 0 48px rgba(124, 58, 237, 0.4);
        transform: scale(1.05);
    }
}

/* Particle container for stats */
.stat {
    text-align: center;
    position: relative;
}

.stat-particles {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    overflow: visible;
}

.stat-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #5B21B6;
    border-radius: 50%;
    opacity: 0;
    box-shadow: 0 0 6px #5B21B6, 0 0 12px rgba(91, 33, 182, 0.5);
}

.stat.particles-active .stat-particle {
    animation: particleFloat 3s ease-in-out infinite;
}

.stat-particle:nth-child(1) { animation-delay: 0s; }
.stat-particle:nth-child(2) { animation-delay: 0.3s; }
.stat-particle:nth-child(3) { animation-delay: 0.6s; }
.stat-particle:nth-child(4) { animation-delay: 0.9s; }
.stat-particle:nth-child(5) { animation-delay: 1.2s; }
.stat-particle:nth-child(6) { animation-delay: 1.5s; }
.stat-particle:nth-child(7) { animation-delay: 1.8s; }
.stat-particle:nth-child(8) { animation-delay: 2.1s; }

@keyframes particleFloat {
    0% {
        opacity: 0;
        transform: translate(0, 0) scale(0);
    }
    10% {
        opacity: 1;
        transform: translate(0, 0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(var(--tx), var(--ty)) scale(0);
    }
}

.stat-particle:nth-child(1) { --tx: -30px; --ty: -40px; left: 50%; top: 30%; }
.stat-particle:nth-child(2) { --tx: 30px; --ty: -35px; left: 60%; top: 25%; }
.stat-particle:nth-child(3) { --tx: 40px; --ty: 10px; left: 70%; top: 50%; }
.stat-particle:nth-child(4) { --tx: 25px; --ty: 40px; left: 65%; top: 70%; }
.stat-particle:nth-child(5) { --tx: -25px; --ty: 45px; left: 35%; top: 75%; }
.stat-particle:nth-child(6) { --tx: -40px; --ty: 5px; left: 25%; top: 50%; }
.stat-particle:nth-child(7) { --tx: -35px; --ty: -25px; left: 30%; top: 35%; }
.stat-particle:nth-child(8) { --tx: 35px; --ty: -20px; left: 55%; top: 20%; }

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border-radius: 0;
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    border: 1px solid transparent;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.btn-primary {
    background: #5B21B6;
    color: #111317;
    border-color: #5B21B6;
}

.btn-primary:hover {
    transform: translate(-2px, -2px);
    box-shadow: 2px 2px 0 #5B21B6;
}

.btn-primary:active {
    transform: translate(2px, 2px);
    box-shadow: none;
}

.btn-secondary {
    background: transparent;
    color: #5B21B6;
    border: 1px solid #5B21B6;
}

.btn-secondary:hover {
    transform: translate(-2px, -2px);
    box-shadow: 2px 2px 0 #5B21B6;
}

.btn-secondary:active {
    transform: translate(2px, 2px);
    box-shadow: none;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.75rem;
    font-family: var(--font-mono);
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--accent-primary), transparent);
    animation: scrollDown 2s infinite;
}

@keyframes scrollDown {
    0% { transform: scaleY(0); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    50.1% { transform: scaleY(1); transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ============================================
   Sections Common
   ============================================ */

.section {
    padding: 6rem 2rem;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
}

.section-title {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    letter-spacing: -0.02em;
    text-transform: uppercase;
}

.title-number {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--accent-primary);
}

.section-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-color);
    max-width: 300px;
}

/* ============================================
   About Section
   ============================================ */

.about-content {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 3rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.about-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-visual img {
    width: 100%;
    max-width: 1200px;
    border-radius: 0;
    filter: drop-shadow(0 0 30px var(--accent-glow));
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 1.75rem;
    font-size: 1.05rem;
    line-height: 1.9;
}

.about-text .highlight {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(91, 33, 182, 0.2);
}

.about-text strong {
    color: var(--accent-secondary);
}

.about-image {
    position: relative;
}

.image-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    border-radius: 0;
    overflow: hidden;
}

.image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(20%);
    transition: var(--transition-normal);
}

.image-frame:hover img {
    filter: grayscale(0%);
}

.frame-corner {
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid var(--accent-primary);
}

.frame-corner.top-left { top: -8px; left: -8px; border-right: none; border-bottom: none; }
.frame-corner.top-right { top: -8px; right: -8px; border-left: none; border-bottom: none; }
.frame-corner.bottom-left { bottom: -8px; left: -8px; border-right: none; border-top: none; }
.frame-corner.bottom-right { bottom: -8px; right: -8px; border-left: none; border-top: none; }

.about-quick-info {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.quick-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.quick-item i {
    color: var(--accent-primary);
    width: 18px;
    text-align: center;
}

.about-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tool-tag {
    padding: 0.35rem 0.75rem;
    background: rgba(91, 33, 182, 0.1);
    border: 1px solid rgba(91, 33, 182, 0.3);
    border-radius: 0;
    font-size: 0.8rem;
    font-family: var(--font-mono);
    color: var(--accent-primary);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: all 0.2s ease;
}

/* Tool tags - Brand colors */
.tool-tag.crowdstrike {
    background: rgba(232, 74, 39, 0.15);
    border-color: #e84a27;
    color: #ff6b4a;
}
.tool-tag.cortex {
    background: rgba(0, 100, 60, 0.15);
    border-color: #00643c;
    color: #2e8b57;
}
.tool-tag.splunk {
    background: rgba(101, 166, 55, 0.15);
    border-color: #65a637;
    color: #8bc34a;
}
.tool-tag.rsa {
    background: rgba(196, 30, 58, 0.15);
    border-color: #c41e3a;
    color: #ef5350;
}
.tool-tag.elastic {
    background: rgba(254, 197, 20, 0.15);
    border-color: #fec514;
    color: #ffca28;
}
.tool-tag.logscale {
    background: rgba(0, 188, 212, 0.15);
    border-color: #00bcd4;
    color: #4dd0e1;
}
.tool-tag.sysmon {
    background: rgba(0, 120, 215, 0.15);
    border-color: #0078d7;
    color: #4fc3f7;
}

.about-current {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    margin-top: 1.5rem;
    background: linear-gradient(135deg, rgba(91, 33, 182, 0.12) 0%, rgba(124, 58, 237, 0.06) 100%);
    border: 1px solid rgba(91, 33, 182, 0.25);
    border-left: 4px solid var(--accent-primary);
    border-radius: 0;
    transition: all 0.3s ease;
}

.about-current:hover {
    background: linear-gradient(135deg, rgba(91, 33, 182, 0.18) 0%, rgba(124, 58, 237, 0.1) 100%);
    border-color: rgba(91, 33, 182, 0.4);
    transform: translateX(5px);
}

.about-current i {
    color: var(--accent-primary);
    font-size: 1.6rem;
    text-shadow: 0 0 15px rgba(91, 33, 182, 0.5);
}

.about-current .ai-content {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.about-current .ai-title {
    font-size: 1rem;
    color: var(--text-secondary);
}

.about-current .ai-title strong {
    color: var(--accent-tertiary);
}

.about-current .ai-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.about-current .ai-tag {
    padding: 0.25rem 0.6rem;
    background: rgba(91, 33, 182, 0.1);
    border: 1px solid rgba(91, 33, 182, 0.3);
    border-radius: 0;
    font-size: 0.75rem;
    color: var(--accent-primary);
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ============================================
   Experience Section
   ============================================ */

.experience {
    background: var(--bg-secondary);
}

.timeline {
    position: relative;
    padding-left: 20px;
}

/* Ring burst animation */
@keyframes ringBurst {
    0% {
        width: 10px;
        height: 10px;
        opacity: 1;
        border-width: 3px;
    }
    100% {
        width: 100px;
        height: 100px;
        opacity: 0;
        border-width: 1px;
    }
}

.timeline-item {
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 2rem;
    padding-bottom: 3rem;
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.timeline-item.hacking {
    animation: hackingReveal 0.8s ease forwards;
}

@keyframes hackingReveal {
    0% {
        opacity: 0;
        transform: translateX(-30px);
        filter: blur(4px);
    }
    30% {
        opacity: 0.5;
        transform: translateX(5px);
        filter: blur(2px);
    }
    50% {
        opacity: 0.8;
        transform: translateX(-3px);
        filter: blur(0);
    }
    70% {
        opacity: 0.9;
        transform: translateX(2px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
        filter: blur(0);
    }
}

.timeline-marker {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    align-self: stretch;
}

.marker-dot {
    width: 16px;
    height: 16px;
    background: var(--bg-primary);
    border: 3px solid var(--accent-primary);
    border-radius: 50%;
    z-index: 2;
    transition: all 0.3s ease;
    position: relative;
}

.timeline-item.hacking .marker-dot {
    animation: dotPulse 0.6s ease;
}

@keyframes dotPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 var(--accent-glow);
    }
    50% {
        transform: scale(1.5);
        box-shadow: 0 0 20px 5px var(--accent-glow);
    }
}

.marker-dot::after {
    content: '';
    position: absolute;
    inset: -6px;
    border: 1px solid var(--accent-primary);
    border-radius: 50%;
    opacity: 0;
    transition: all 0.3s ease;
}

.timeline-item.hacking .marker-dot::after {
    opacity: 0.5;
    animation: ringExpand 1s ease-out;
}

@keyframes ringExpand {
    0% {
        transform: scale(0.5);
        opacity: 1;
    }
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

/* Particle explosion at timeline markers */
@keyframes particleExplode {
    0% {
        opacity: 1;
        transform: translate(0, 0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(var(--tx), var(--ty)) scale(0);
    }
}

/* Subtle drop animation for revealed timeline items */
.timeline-item.revealed {
    animation: subtleDrop 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes subtleDrop {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }
    60% {
        opacity: 1;
        transform: translateY(4px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.marker-line {
    width: 2px;
    flex: 1;
    min-height: 50px;
    margin-top: 0.5rem;
    position: relative;
    background: var(--border-color);
    opacity: 0.3;
}

/* Last timeline item - marker line extends with content */
.timeline-item:last-child .timeline-marker {
    height: auto;
}

.timeline-item:last-child .marker-line {
    flex: 1;
}

/* Active line overlay that grows */
.marker-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--line-progress, 0%);
    background: var(--gradient-purple);
    box-shadow: 0 0 10px var(--accent-glow), 0 0 20px var(--accent-glow);
    transition: height 0.05s linear;
}

.timeline-content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 1.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    clip-path: polygon(0 0, calc(100% - 15px) 0, 100% 15px, 100% 100%, 15px 100%, 0 calc(100% - 15px));
}

/* Scan line effect */
.timeline-content::before {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        transparent 0%,
        rgba(91, 33, 182, 0.03) 50%,
        transparent 100%
    );
    pointer-events: none;
    z-index: 10;
}

.timeline-item.hacking .timeline-content::before {
    animation: scanLine 0.8s ease-out;
}

@keyframes scanLine {
    0% { top: -100%; }
    100% { top: 100%; }
}

/* Corner accent */
.timeline-content::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, transparent 50%, rgba(91, 33, 182, 0.2) 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.timeline-item.hacking .timeline-content::after {
    opacity: 1;
}

.timeline-content:hover {
    border-color: var(--accent-primary);
    box-shadow:
        0 0 30px var(--accent-glow),
        inset 0 0 30px rgba(91, 33, 182, 0.03);
    transform: translateX(5px);
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.company-info {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

/* Company Logo Link */
.company-logo-link {
    display: inline-block;
    text-decoration: none;
    cursor: pointer;
}

/* Company Logo Wrapper - Contact Button Style */
.company-logo-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
    padding: 12px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    overflow: hidden;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    width: 160px;
    height: 70px;
    min-width: 160px;
    min-height: 70px;
}

.company-logo-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--gradient-purple);
    transition: width 0.4s ease;
}

.company-logo {
    display: block;
    height: 45px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hover Effects - Default */
.timeline-item:hover .company-logo-wrapper {
    transform: translateY(-4px);
    border-color: var(--accent-primary);
    box-shadow: 0 10px 25px rgba(124, 58, 237, 0.2);
}

.timeline-item:hover .company-logo-wrapper::after {
    width: 100%;
}

.timeline-item:hover .company-logo {
    filter: brightness(1.1);
}

/* ===== Company-Specific Colors ===== */

/* Vivo - Roxo */
.company-vivo .company-logo-wrapper::after {
    background: linear-gradient(90deg, #660099, #a855f7);
}
.company-vivo:hover .company-logo-wrapper {
    border-color: #660099;
    box-shadow: 0 10px 25px rgba(102, 0, 153, 0.25);
}

/* Logicalis - Vermelho */
.company-logicalis .company-logo-wrapper::after {
    background: linear-gradient(90deg, #e31837, #ff4d6a);
}
.company-logicalis:hover .company-logo-wrapper {
    border-color: #e31837;
    box-shadow: 0 10px 25px rgba(227, 24, 55, 0.25);
}

/* Central IT - Ciano */
.company-centralit .company-logo-wrapper::after {
    background: linear-gradient(90deg, #00d4e5, #67f0ff);
}
.company-centralit:hover .company-logo-wrapper {
    border-color: #00d4e5;
    box-shadow: 0 10px 25px rgba(0, 212, 229, 0.25);
}

/* NIC.br - Verde */
.company-nicbr .company-logo-wrapper::after {
    background: linear-gradient(90deg, #00a651, #39b54a);
}
.company-nicbr:hover .company-logo-wrapper {
    border-color: #00a651;
    box-shadow: 0 10px 25px rgba(0, 166, 81, 0.25);
}

/* Autônomo / Break Gunz - Amarelo */
.company-autonomo .company-logo-wrapper {
    width: 130px;
    height: 110px;
    min-width: 130px;
    min-height: 110px;
    padding: 10px;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
}
.company-autonomo .company-logo-wrapper::after {
    background: linear-gradient(90deg, #f59e0b, #fbbf24);
}
.company-autonomo .company-logo {
    height: 90px;
    width: 90px;
    max-width: 110px;
    min-width: 90px;
    object-fit: contain;
}
.company-autonomo:hover .company-logo-wrapper {
    border-color: #f59e0b;
    box-shadow: 0 10px 25px rgba(245, 158, 11, 0.25);
}

.company-name {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 1px;
}

.company-location {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.timeline-period {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 500;
    color: #ffffff;
    background: var(--gradient-purple);
    padding: 0.4rem 1rem;
    border-radius: 0;
    clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px var(--accent-glow);
}

.roles {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.role h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.role-period {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-muted);
}

.role-description {
    margin-top: 0.75rem;
    padding-left: 1.25rem;
}

.role-description li {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    position: relative;
}

.role-description li::marker {
    color: var(--accent-primary);
}

/* ============================================
   Company-Specific Timeline Styles
   ============================================ */

/* Vivo - Purple/Violet */
.company-vivo .timeline-content {
    background: linear-gradient(135deg, rgba(102, 0, 153, 0.08) 0%, rgba(125, 60, 152, 0.04) 100%);
    border-color: rgba(102, 0, 153, 0.3);
}
.company-vivo .marker-dot {
    border-color: #660099;
}
.company-vivo .marker-line::after {
    background: linear-gradient(180deg, #660099, #7d3c98);
}
.company-vivo .timeline-content:hover {
    border-color: #660099;
    box-shadow: 0 0 30px rgba(102, 0, 153, 0.3);
}
.company-vivo .timeline-content::after {
    background: linear-gradient(135deg, transparent 50%, rgba(102, 0, 153, 0.2) 50%);
}
.company-vivo .timeline-period {
    background: linear-gradient(135deg, #660099, #7d3c98);
    box-shadow: 0 4px 15px rgba(102, 0, 153, 0.3);
}
.company-vivo .role-description li::marker {
    color: #7d3c98;
}

/* Logicalis - Red */
.company-logicalis .timeline-content {
    background: linear-gradient(135deg, rgba(211, 47, 47, 0.08) 0%, rgba(229, 57, 53, 0.04) 100%);
    border-color: rgba(211, 47, 47, 0.3);
}
.company-logicalis .marker-dot {
    border-color: #d32f2f;
}
.company-logicalis .marker-line::after {
    background: linear-gradient(180deg, #d32f2f, #e53935);
}
.company-logicalis .timeline-content:hover {
    border-color: #d32f2f;
    box-shadow: 0 0 30px rgba(211, 47, 47, 0.3);
}
.company-logicalis .timeline-content::after {
    background: linear-gradient(135deg, transparent 50%, rgba(211, 47, 47, 0.2) 50%);
}
.company-logicalis .timeline-period {
    background: linear-gradient(135deg, #d32f2f, #e53935);
    box-shadow: 0 4px 15px rgba(211, 47, 47, 0.3);
}
.company-logicalis .role-description li::marker {
    color: #e53935;
}

/* Central IT - Turquoise */
.company-centralit .timeline-content {
    background: linear-gradient(135deg, rgba(0, 172, 193, 0.08) 0%, rgba(38, 198, 218, 0.04) 100%);
    border-color: rgba(0, 172, 193, 0.3);
}
.company-centralit .marker-dot {
    border-color: #00acc1;
}
.company-centralit .marker-line::after {
    background: linear-gradient(180deg, #00acc1, #26c6da);
}
.company-centralit .timeline-content:hover {
    border-color: #00acc1;
    box-shadow: 0 0 30px rgba(0, 172, 193, 0.3);
}
.company-centralit .timeline-content::after {
    background: linear-gradient(135deg, transparent 50%, rgba(0, 172, 193, 0.2) 50%);
}
.company-centralit .timeline-period {
    background: linear-gradient(135deg, #00acc1, #26c6da);
    box-shadow: 0 4px 15px rgba(0, 172, 193, 0.3);
}
.company-centralit .role-description li::marker {
    color: #26c6da;
}

/* NIC.br - Green */
.company-nicbr .timeline-content {
    background: linear-gradient(135deg, rgba(0, 150, 57, 0.08) 0%, rgba(0, 165, 80, 0.04) 100%);
    border-color: rgba(0, 150, 57, 0.3);
}
.company-nicbr .marker-dot {
    border-color: #009639;
}
.company-nicbr .marker-line::after {
    background: linear-gradient(180deg, #009639, #00a550);
}
.company-nicbr .timeline-content:hover {
    border-color: #009639;
    box-shadow: 0 0 30px rgba(0, 150, 57, 0.3);
}
.company-nicbr .timeline-content::after {
    background: linear-gradient(135deg, transparent 50%, rgba(0, 150, 57, 0.2) 50%);
}
.company-nicbr .timeline-period {
    background: linear-gradient(135deg, #009639, #00a550);
    box-shadow: 0 4px 15px rgba(0, 150, 57, 0.3);
}
.company-nicbr .role-description li::marker {
    color: #00a550;
}

/* Autonomo - Gold/Amber (Dev/Gaming theme) */
.company-autonomo .timeline-content {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.08) 0%, rgba(255, 160, 0, 0.04) 100%);
    border-color: rgba(255, 193, 7, 0.3);
}
.company-autonomo .marker-dot {
    border-color: #ffc107;
}
.company-autonomo .marker-line::after {
    background: linear-gradient(180deg, #ffc107, #ffab00);
}
.company-autonomo .timeline-content:hover {
    border-color: #ffc107;
    box-shadow: 0 0 30px rgba(255, 193, 7, 0.3);
}
.company-autonomo .timeline-content::after {
    background: linear-gradient(135deg, transparent 50%, rgba(255, 193, 7, 0.2) 50%);
}
.company-autonomo .timeline-period {
    background: linear-gradient(135deg, #ffc107, #ffab00);
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
    color: #1a1a2e;
}
.company-autonomo .role-description li::marker {
    color: #ffab00;
}

/* ============================================
   Certifications Section
   ============================================ */

.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

.cert-category {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
}

/* Subtle mesh pattern */
.cert-category::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(30deg, transparent 49.5%, rgba(91, 33, 182, 0.03) 49.5%, rgba(91, 33, 182, 0.03) 50.5%, transparent 50.5%),
        linear-gradient(150deg, transparent 49.5%, rgba(91, 33, 182, 0.03) 49.5%, rgba(91, 33, 182, 0.03) 50.5%, transparent 50.5%);
    background-size: 40px 40px;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

/* Top accent line */
.cert-category::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--gradient-purple);
    transition: width 0.4s ease;
}

.cert-category:hover {
    transform: translate(-2px, -2px);
    border-color: var(--accent-primary);
    box-shadow:
        2px 2px 0 var(--accent-primary),
        0 20px 40px var(--accent-glow);
}

.cert-category:hover::before {
    opacity: 1;
    animation: geometricShift 10s linear infinite;
}

.cert-category:hover::after {
    width: 100%;
}

.category-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.category-title i {
    font-size: 1rem;
    color: var(--accent-primary);
}

.category-logo {
    height: 28px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
    filter: brightness(1.2);
}

/* Logo-only titles - larger logos when no text */
.category-title.logo-only {
    justify-content: center;
}
.category-title.logo-only .category-logo {
    height: 42px;
    max-width: 180px;
}

/* Featured Category - Gold/Premium */
.cert-category.featured {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.08) 0%, rgba(255, 152, 0, 0.04) 100%);
    border-color: rgba(255, 193, 7, 0.4);
}
.cert-category.featured::after {
    background: linear-gradient(90deg, #ffc107, #ffab00);
}
.cert-category.featured:hover {
    border-color: #ffc107;
    box-shadow: 0 20px 40px rgba(255, 193, 7, 0.2);
}
.cert-category.featured .category-title {
    color: #ffd54f;
}
.cert-category.featured .category-title i {
    color: #ffc107;
}
.cert-category.featured .category-title.logo-only .category-logo {
    height: 35px;
    max-width: 160px;
}

/* CrowdStrike Category - Red/Orange */
.cert-category.crowdstrike {
    background: linear-gradient(135deg, rgba(232, 74, 39, 0.08) 0%, rgba(255, 87, 51, 0.04) 100%);
    border-color: rgba(232, 74, 39, 0.3);
}
.cert-category.crowdstrike::after {
    background: linear-gradient(90deg, #e84a27, #ff5733);
}
.cert-category.crowdstrike:hover {
    border-color: #e84a27;
    box-shadow: 0 20px 40px rgba(232, 74, 39, 0.2);
}
.cert-category.crowdstrike .category-title {
    color: #ff7043;
}
.cert-category.crowdstrike .category-title.logo-only .category-logo {
    height: 80px;
    max-width: 280px;
}
.cert-category.crowdstrike .cert-item {
    border-left-color: #e84a27;
}
.cert-category.crowdstrike .cert-item:hover .cert-badge-small {
    filter: drop-shadow(0 0 8px rgba(232, 74, 39, 0.6));
}

/* Guardicore/Akamai Category - Blue */
.cert-category.akamai {
    background: linear-gradient(135deg, rgba(0, 154, 222, 0.08) 0%, rgba(0, 122, 201, 0.04) 100%);
    border-color: rgba(0, 154, 222, 0.3);
}
.cert-category.akamai::after {
    background: linear-gradient(90deg, #009ade, #0077c2);
}
.cert-category.akamai:hover {
    border-color: #009ade;
    box-shadow: 0 20px 40px rgba(0, 154, 222, 0.2);
}
.cert-category.akamai .category-title {
    color: #4fc3f7;
}
.cert-category.akamai .cert-item {
    border-left-color: #009ade;
}
.cert-category.akamai .cert-item:hover .cert-badge-small {
    filter: drop-shadow(0 0 8px rgba(0, 154, 222, 0.6));
}

/* GoHacking Category - Cyan */
.cert-category.gohacking {
    background: linear-gradient(135deg, rgba(0, 206, 209, 0.08) 0%, rgba(0, 229, 255, 0.04) 100%);
    border-color: rgba(0, 206, 209, 0.3);
}
.cert-category.gohacking::after {
    background: linear-gradient(90deg, #00CED1, #00e5ff);
}
.cert-category.gohacking:hover {
    border-color: #00CED1;
    box-shadow: 0 20px 40px rgba(0, 206, 209, 0.2);
}
.cert-category.gohacking .category-title {
    color: #4dd0e1;
}
.cert-category.gohacking .category-title.logo-only .category-logo {
    height: 55px;
    max-width: 200px;
}
.cert-category.gohacking .cert-item {
    border-left-color: #00CED1;
}
.cert-category.gohacking .cert-item:hover .cert-badge-small {
    filter: drop-shadow(0 0 8px rgba(0, 206, 209, 0.6));
}
.cert-category.gohacking .cert-badge {
    width: 90px;
    height: 90px;
}
.cert-category.gohacking .badge-img {
    width: 85px;
    height: 85px;
}

/* HackTheBox Category - Neon Green */
.cert-category.hackthebox {
    background: linear-gradient(135deg, rgba(159, 239, 0, 0.08) 0%, rgba(164, 255, 0, 0.04) 100%);
    border-color: rgba(159, 239, 0, 0.3);
}
.cert-category.hackthebox::after {
    background: linear-gradient(90deg, #9fef00, #a4ff00);
}
.cert-category.hackthebox:hover {
    border-color: #9fef00;
    box-shadow: 0 20px 40px rgba(159, 239, 0, 0.2);
}
.cert-category.hackthebox .category-title {
    color: #9fef00;
}
.cert-category.hackthebox .cert-item {
    border-left-color: #9fef00;
}
.cert-category.hackthebox .cert-item:hover .cert-badge-small {
    filter: drop-shadow(0 0 8px rgba(159, 239, 0, 0.6));
}

/* DesecSecurity Category - Yellow/Black */
.cert-category.desecsecurity {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.08) 0%, rgba(255, 235, 59, 0.04) 100%);
    border-color: rgba(255, 215, 0, 0.3);
}
.cert-category.desecsecurity::after {
    background: linear-gradient(90deg, #FFD700, #FFEB3B);
}
.cert-category.desecsecurity:hover {
    border-color: #FFD700;
    box-shadow: 0 20px 40px rgba(255, 215, 0, 0.2);
}
.cert-category.desecsecurity .category-title {
    color: #FFD700;
}
.cert-category.desecsecurity .cert-item {
    border-left-color: #FFD700;
}
.cert-category.desecsecurity .cert-item:hover .cert-badge-small {
    filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.6));
}

/* Sec4Us Category - Red */
.cert-category.sec4us {
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.08) 0%, rgba(255, 82, 82, 0.04) 100%);
    border-color: rgba(220, 53, 69, 0.3);
}
.cert-category.sec4us::after {
    background: linear-gradient(90deg, #dc3545, #ff5252);
}
.cert-category.sec4us:hover {
    border-color: #dc3545;
    box-shadow: 0 20px 40px rgba(220, 53, 69, 0.2);
}
.cert-category.sec4us .category-title {
    color: #ff6b6b;
}
.cert-category.sec4us .cert-item {
    border-left-color: #dc3545;
}
.cert-category.sec4us .cert-item:hover .cert-badge-small {
    filter: drop-shadow(0 0 8px rgba(220, 53, 69, 0.6));
}

/* Logo badges for training section */
.logo-badge {
    object-fit: contain;
    padding: 4px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0;
}

.icon-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #9c27b0;
}

/* Splunk Category - Teal/Green */
.cert-category.splunk {
    background: linear-gradient(135deg, rgba(101, 165, 0, 0.08) 0%, rgba(128, 203, 0, 0.04) 100%);
    border-color: rgba(101, 165, 0, 0.3);
}
.cert-category.splunk::after {
    background: linear-gradient(90deg, #65a500, #7ec800);
}
.cert-category.splunk:hover {
    border-color: #65a500;
    box-shadow: 0 20px 40px rgba(101, 165, 0, 0.2);
}
.cert-category.splunk .category-title {
    color: #a4d841;
    justify-content: center;
}
.cert-category.splunk .cert-item {
    border-left-color: #65a500;
}
.cert-category.splunk .cert-item:hover .cert-badge-small {
    filter: drop-shadow(0 0 8px rgba(101, 165, 0, 0.6));
}

/* Others Category - Purple (default) */
.cert-category.others {
    background: linear-gradient(135deg, rgba(156, 39, 176, 0.08) 0%, rgba(186, 104, 200, 0.04) 100%);
    border-color: rgba(156, 39, 176, 0.3);
}
.cert-category.others::after {
    background: linear-gradient(90deg, #9c27b0, #ba68c8);
}
.cert-category.others:hover {
    border-color: #9c27b0;
    box-shadow: 0 20px 40px rgba(156, 39, 176, 0.2);
}
.cert-category.others .category-title {
    color: #ffffff;
}
.cert-category.others .category-title i {
    color: #ba68c8;
}
.cert-category.others .category-title span {
    color: #ffffff;
}
.cert-category.others .cert-item {
    border-left-color: #9c27b0;
}

/* Featured Cert Cards (eCIR, eCTHP, DCPT, SCFE) */
.cert-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

/* Cert card links - reset link styles */
a.cert-card,
a.cert-card:hover,
a.cert-card:focus,
a.cert-card:visited {
    text-decoration: none;
    color: inherit;
}

.cert-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
    padding: 1.25rem 1rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}

/* Geometric pattern */
.cert-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(60deg, transparent 49%, rgba(255, 193, 7, 0.06) 49%, rgba(255, 193, 7, 0.06) 51%, transparent 51%),
        linear-gradient(120deg, transparent 49%, rgba(255, 193, 7, 0.04) 49%, rgba(255, 193, 7, 0.04) 51%, transparent 51%);
    background-size: 20px 20px;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

/* Bottom accent line */
.cert-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #ffc107, #ff9800);
    transition: width 0.4s ease;
}

.cert-card:hover {
    transform: translateY(-4px) translateX(4px);
    border-color: #ffc107;
    box-shadow:
        -4px 4px 0 rgba(255, 193, 7, 0.6),
        0 15px 30px rgba(255, 193, 7, 0.15);
}

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

.cert-card:hover::after {
    width: 100%;
}

/* Category-specific card hover colors */
/* GoHacking - Cyan */
.cert-category.gohacking .cert-card::after {
    background: linear-gradient(90deg, #00CED1, #00e5ff);
}
.cert-category.gohacking .cert-card:hover {
    border-color: #00CED1;
    box-shadow: -4px 4px 0 rgba(0, 206, 209, 0.6), 0 15px 30px rgba(0, 206, 209, 0.15);
}
.cert-category.gohacking .cert-card:hover .badge-img {
    filter: drop-shadow(0 0 12px rgba(0, 206, 209, 0.5));
}

/* Sec4Us - Red */
.cert-category.sec4us .cert-card::after {
    background: linear-gradient(90deg, #dc3545, #ff5252);
}
.cert-category.sec4us .cert-card:hover {
    border-color: #dc3545;
    box-shadow: -4px 4px 0 rgba(220, 53, 69, 0.6), 0 15px 30px rgba(220, 53, 69, 0.15);
}
.cert-category.sec4us .cert-card:hover .badge-img {
    filter: drop-shadow(0 0 12px rgba(220, 53, 69, 0.5));
}

/* DesecSecurity - Yellow */
.cert-category.desecsecurity .cert-card::after {
    background: linear-gradient(90deg, #FFD700, #FFEB3B);
}
.cert-category.desecsecurity .cert-card:hover {
    border-color: #FFD700;
    box-shadow: -4px 4px 0 rgba(255, 215, 0, 0.6), 0 15px 30px rgba(255, 215, 0, 0.15);
}
.cert-category.desecsecurity .cert-card:hover .badge-img {
    filter: drop-shadow(0 0 12px rgba(255, 215, 0, 0.5));
}

/* CrowdStrike - Orange */
.cert-category.crowdstrike .cert-card::after {
    background: linear-gradient(90deg, #FC4C02, #ff7043);
}
.cert-category.crowdstrike .cert-card:hover {
    border-color: #FC4C02;
    box-shadow: -4px 4px 0 rgba(252, 76, 2, 0.6), 0 15px 30px rgba(252, 76, 2, 0.15);
}
.cert-category.crowdstrike .cert-card:hover .badge-img {
    filter: drop-shadow(0 0 12px rgba(252, 76, 2, 0.5));
}

/* Akamai - Blue */
.cert-category.akamai .cert-card::after {
    background: linear-gradient(90deg, #009ade, #00bcd4);
}
.cert-category.akamai .cert-card:hover {
    border-color: #009ade;
    box-shadow: -4px 4px 0 rgba(0, 154, 222, 0.6), 0 15px 30px rgba(0, 154, 222, 0.15);
}
.cert-category.akamai .cert-card:hover .badge-img {
    filter: drop-shadow(0 0 12px rgba(0, 154, 222, 0.5));
}

/* HackTheBox - Neon Green */
.cert-category.hackthebox .cert-card::after {
    background: linear-gradient(90deg, #9fef00, #a4ff00);
}
.cert-category.hackthebox .cert-card:hover {
    border-color: #9fef00;
    box-shadow: -4px 4px 0 rgba(159, 239, 0, 0.6), 0 15px 30px rgba(159, 239, 0, 0.15);
}
.cert-category.hackthebox .cert-card:hover .badge-img {
    filter: drop-shadow(0 0 12px rgba(159, 239, 0, 0.5));
}

/* Splunk - Green */
.cert-category.splunk .cert-card::after {
    background: linear-gradient(90deg, #65a500, #7ec800);
}
.cert-category.splunk .cert-card:hover {
    border-color: #65a500;
    box-shadow: -4px 4px 0 rgba(101, 165, 0, 0.6), 0 15px 30px rgba(101, 165, 0, 0.15);
}
.cert-category.splunk .cert-card:hover .badge-img {
    filter: drop-shadow(0 0 12px rgba(101, 165, 0, 0.5));
}

/* Featured (INE) - Yellow/Orange */
.cert-category.featured .cert-card::after {
    background: linear-gradient(90deg, #ffc107, #ff9800);
}
.cert-category.featured .cert-card:hover {
    border-color: #ffc107;
    box-shadow: -4px 4px 0 rgba(255, 193, 7, 0.6), 0 15px 30px rgba(255, 193, 7, 0.15);
}
.cert-category.featured .cert-card:hover .badge-img {
    filter: drop-shadow(0 0 12px rgba(255, 193, 7, 0.5));
}

.cert-card.featured {
    background: rgba(255, 193, 7, 0.08);
}

.cert-card.featured::before {
    opacity: 0.3;
}

.cert-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ffc107, #ff9800);
    font-size: 1.25rem;
    color: #1a1a2e;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    transition: all 0.3s ease;
}

.cert-card:hover .cert-icon {
    transform: rotate(30deg) scale(1.1);
}

/* Badge images */
.cert-badge {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.badge-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 0;
    transition: all 0.3s ease;
}

.badge-logo {
    filter: brightness(1.2);
    padding: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 0;
}

.cert-card:hover .badge-img {
    transform: scale(1.1);
    filter: drop-shadow(0 0 12px rgba(255, 193, 7, 0.5));
}

/* Training cards - compact list format */
.cert-cards.training-cards {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.cert-card.training {
    flex-direction: row;
    padding: 0.6rem 1rem;
    gap: 0.8rem;
    background: rgba(91, 33, 182, 0.05);
    border: 1px solid rgba(91, 33, 182, 0.15);
}

.cert-card.training:hover {
    background: rgba(91, 33, 182, 0.1);
}

.cert-card.training .cert-badge {
    width: 55px;
    height: 55px;
    min-width: 55px;
}

.cert-card.training .badge-img {
    width: 50px;
    height: 50px;
}

.cert-card.training .cert-info {
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
}

.cert-card.training .cert-info h4 {
    font-size: 0.85rem;
    margin: 0;
}

.cert-card.training .cert-info span {
    font-size: 0.75rem;
    opacity: 0.7;
}

.cert-card.training .cert-info span::before {
    content: '—';
    margin-right: 0.5rem;
    opacity: 0.5;
}

/* Badge icon for items without image */
.badge-icon {
    font-size: 1.8rem;
    color: var(--accent-secondary);
}

.cert-card.training .badge-icon {
    font-size: 1.8rem;
}

/* Small badges for cert lists */
.cert-badge-small {
    width: 42px;
    height: 42px;
    object-fit: contain;
    border-radius: 0;
    flex-shrink: 0;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.08);
    padding: 5px;
}

.cert-item:hover .cert-badge-small {
    transform: scale(1.15);
}

.cert-info {
    text-align: center;
    width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.cert-info h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
}

.cert-info span {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.3;
}

.cert-issuer {
    color: #ffc107 !important;
    font-family: var(--font-mono);
    margin-top: 0.3rem;
    font-size: 0.7rem !important;
}

/* Cert List Items */
.cert-list {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.cert-list.with-badges .cert-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.cert-item {
    padding: 0.75rem 1rem;
    background: var(--bg-tertiary);
    border-left: 3px solid var(--accent-primary);
    transition: all 0.3s ease;
    clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}

.cert-item:hover {
    background: rgba(91, 33, 182, 0.1);
    transform: translate(-2px, -2px);
}

.cert-name {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-family: var(--font-mono);
}

/* ============================================
   Skills Section
   ============================================ */

.skills {
    background: var(--bg-secondary);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.skill-category {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 25px), calc(100% - 25px) 100%, 0 100%);
}

/* Subtle triangular mesh */
.skill-category::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(30deg, transparent 49.5%, rgba(91, 33, 182, 0.03) 49.5%, rgba(91, 33, 182, 0.03) 50.5%, transparent 50.5%),
        linear-gradient(150deg, transparent 49.5%, rgba(91, 33, 182, 0.03) 49.5%, rgba(91, 33, 182, 0.03) 50.5%, transparent 50.5%);
    background-size: 40px 40px;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

/* Top accent line */
.skill-category::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--gradient-purple);
    transition: width 0.4s ease;
}

.skill-category:hover {
    transform: translate(-2px, -2px);
    border-color: var(--accent-primary);
    box-shadow:
        2px 2px 0 var(--accent-primary),
        0 20px 40px var(--accent-glow);
}

.skill-category:hover::before {
    opacity: 1;
    animation: geometricShift 10s linear infinite;
}

.skill-category:hover::after {
    width: 100%;
}

.skill-category h3 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.skill-category h3 i {
    color: var(--accent-primary);
}

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

.skill-tag {
    padding: 0.4rem 0.8rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 0;
    font-size: 0.8rem;
    font-family: var(--font-mono);
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: var(--transition-fast);
}

.skill-tag:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
}

.skill-tag.highlight {
    background: rgba(91, 33, 182, 0.15);
    border-color: var(--accent-primary);
    color: var(--accent-primary);
}

/* Category-specific colors */
.skill-category.red-team .skill-tag {
    background: rgba(255, 68, 68, 0.1);
    border-color: rgba(255, 68, 68, 0.3);
    color: #ff6b6b;
}
.skill-category.red-team .skill-tag:hover {
    border-color: #ff4444;
    color: #ff4444;
    box-shadow: 0 0 10px rgba(255, 68, 68, 0.3);
}
.skill-category.red-team h3 i { color: #ff4444; }
.skill-category.red-team::after { background: linear-gradient(90deg, #ff4444, #ff6b6b); }
.skill-category.red-team:hover {
    border-color: #ff4444;
    box-shadow: 0 20px 40px rgba(255, 68, 68, 0.2), inset 0 0 30px rgba(255, 68, 68, 0.03);
}

.skill-category.blue-team .skill-tag {
    background: rgba(68, 136, 255, 0.1);
    border-color: rgba(68, 136, 255, 0.3);
    color: #6ba3ff;
}
.skill-category.blue-team .skill-tag:hover {
    border-color: #4488ff;
    color: #4488ff;
    box-shadow: 0 0 10px rgba(68, 136, 255, 0.3);
}
.skill-category.blue-team .skill-tag.highlight {
    background: rgba(68, 136, 255, 0.2);
    border-color: #4488ff;
    color: #4488ff;
}
.skill-category.blue-team h3 i { color: #4488ff; }
.skill-category.blue-team::after { background: linear-gradient(90deg, #4488ff, #6ba3ff); }
.skill-category.blue-team:hover {
    border-color: #4488ff;
    box-shadow: 0 20px 40px rgba(68, 136, 255, 0.2), inset 0 0 30px rgba(68, 136, 255, 0.03);
}

.skill-category.forensics .skill-tag {
    background: rgba(0, 217, 255, 0.1);
    border-color: rgba(0, 217, 255, 0.3);
    color: #5ce1ff;
}
.skill-category.forensics .skill-tag:hover {
    border-color: #00d9ff;
    color: #00d9ff;
    box-shadow: 0 0 10px rgba(0, 217, 255, 0.3);
}
.skill-category.forensics h3 i { color: #00d9ff; }
.skill-category.forensics::after { background: linear-gradient(90deg, #00d9ff, #5ce1ff); }
.skill-category.forensics:hover {
    border-color: #00d9ff;
    box-shadow: 0 20px 40px rgba(0, 217, 255, 0.2), inset 0 0 30px rgba(0, 217, 255, 0.03);
}

.skill-category.languages .skill-tag {
    background: rgba(255, 170, 0, 0.1);
    border-color: rgba(255, 170, 0, 0.3);
    color: #ffbb33;
}
.skill-category.languages .skill-tag:hover {
    border-color: #ffaa00;
    color: #ffaa00;
    box-shadow: 0 0 10px rgba(255, 170, 0, 0.3);
}
.skill-category.languages h3 i { color: #ffaa00; }
.skill-category.languages::after { background: linear-gradient(90deg, #ffaa00, #ffcc44); }
.skill-category.languages:hover {
    border-color: #ffaa00;
    box-shadow: 0 20px 40px rgba(255, 170, 0, 0.2), inset 0 0 30px rgba(255, 170, 0, 0.03);
}

.skill-category.ai-llm .skill-tag {
    background: rgba(200, 100, 255, 0.1);
    border-color: rgba(200, 100, 255, 0.3);
    color: #d488ff;
}
.skill-category.ai-llm .skill-tag:hover {
    border-color: #c864ff;
    color: #c864ff;
    box-shadow: 0 0 10px rgba(200, 100, 255, 0.3);
}
.skill-category.ai-llm .skill-tag.highlight {
    background: rgba(200, 100, 255, 0.2);
    border-color: #c864ff;
    color: #c864ff;
}
.skill-category.ai-llm h3 i { color: #c864ff; }
.skill-category.ai-llm::after { background: linear-gradient(90deg, #c864ff, #e0a0ff); }
.skill-category.ai-llm:hover {
    border-color: #c864ff;
    box-shadow: 0 20px 40px rgba(200, 100, 255, 0.2), inset 0 0 30px rgba(200, 100, 255, 0.03);
}

.skill-category.infrastructure .skill-tag {
    background: rgba(0, 255, 136, 0.1);
    border-color: rgba(0, 255, 136, 0.3);
    color: #66ffaa;
}
.skill-category.infrastructure .skill-tag:hover {
    border-color: #00ff88;
    color: #00ff88;
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.3);
}
.skill-category.infrastructure h3 i { color: #00ff88; }
.skill-category.infrastructure::after { background: linear-gradient(90deg, #00ff88, #66ffaa); }
.skill-category.infrastructure:hover {
    border-color: #00ff88;
    box-shadow: 0 20px 40px rgba(0, 255, 136, 0.2), inset 0 0 30px rgba(0, 255, 136, 0.03);
}

/* ============================================
   Projects Section
   ============================================ */

.projects {
    background: var(--bg-primary);
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 3rem;
    margin-top: -1rem;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

.project-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 1.5rem;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%);
}

/* Triangular mesh background */
.project-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(30deg, transparent 49.5%, rgba(91, 33, 182, 0.03) 49.5%, rgba(91, 33, 182, 0.03) 50.5%, transparent 50.5%),
        linear-gradient(150deg, transparent 49.5%, rgba(91, 33, 182, 0.03) 49.5%, rgba(91, 33, 182, 0.03) 50.5%, transparent 50.5%);
    background-size: 40px 40px;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

/* Top accent line */
.project-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--gradient-purple);
    transition: width 0.4s ease;
}

.project-card:hover {
    transform: translate(-2px, -2px);
    border-color: var(--accent-primary);
    box-shadow:
        2px 2px 0 var(--accent-primary),
        0 20px 40px var(--accent-glow);
}

.project-card:hover::before {
    opacity: 1;
    animation: geometricShift 10s linear infinite;
}

.project-card:hover::after {
    width: 100%;
}

@keyframes geometricShift {
    0%, 100% { background-position: 0 0, 0 0; }
    50% { background-position: 25px 25px, -25px 25px; }
}

/* Featured Card - AI/LLM (Roxo) */
.project-card.featured {
    border-color: rgba(200, 100, 255, 0.4);
}
.project-card.featured::after {
    background: linear-gradient(90deg, #c864ff, #e0a0ff);
}
.project-card.featured::before {
    background-image:
        linear-gradient(30deg, transparent 49.5%, rgba(200, 100, 255, 0.04) 49.5%, rgba(200, 100, 255, 0.04) 50.5%, transparent 50.5%),
        linear-gradient(150deg, transparent 49.5%, rgba(200, 100, 255, 0.04) 49.5%, rgba(200, 100, 255, 0.04) 50.5%, transparent 50.5%);
    opacity: 0.5;
}
.project-card.featured:hover {
    border-color: #c864ff;
    box-shadow: 0 20px 40px rgba(200, 100, 255, 0.15), inset 0 0 30px rgba(200, 100, 255, 0.03);
}

/* Security Card (Vermelho) */
.project-card.security-project::after {
    background: linear-gradient(90deg, #ff4444, #ff6b6b);
}
.project-card.security-project::before {
    background-image:
        linear-gradient(30deg, transparent 49.5%, rgba(255, 68, 68, 0.04) 49.5%, rgba(255, 68, 68, 0.04) 50.5%, transparent 50.5%),
        linear-gradient(150deg, transparent 49.5%, rgba(255, 68, 68, 0.04) 49.5%, rgba(255, 68, 68, 0.04) 50.5%, transparent 50.5%);
}
.project-card.security-project:hover {
    border-color: #ff4444;
    box-shadow: 0 20px 40px rgba(255, 68, 68, 0.12), inset 0 0 30px rgba(255, 68, 68, 0.03);
}

/* Automation Card (Ciano) */
.project-card.automation-project::after {
    background: linear-gradient(90deg, #00d9ff, #5ce1ff);
}
.project-card.automation-project::before {
    background-image:
        linear-gradient(30deg, transparent 49.5%, rgba(0, 217, 255, 0.04) 49.5%, rgba(0, 217, 255, 0.04) 50.5%, transparent 50.5%),
        linear-gradient(150deg, transparent 49.5%, rgba(0, 217, 255, 0.04) 49.5%, rgba(0, 217, 255, 0.04) 50.5%, transparent 50.5%);
}
.project-card.automation-project:hover {
    border-color: #00d9ff;
    box-shadow: 0 20px 40px rgba(0, 217, 255, 0.15), inset 0 0 30px rgba(0, 217, 255, 0.03);
}

/* CLI/Tools Card (Verde) */
.project-card.tools-project::after {
    background: linear-gradient(90deg, #00e676, #69f0ae);
}
.project-card.tools-project::before {
    background-image:
        linear-gradient(30deg, transparent 49.5%, rgba(0, 230, 118, 0.04) 49.5%, rgba(0, 230, 118, 0.04) 50.5%, transparent 50.5%),
        linear-gradient(150deg, transparent 49.5%, rgba(0, 230, 118, 0.04) 49.5%, rgba(0, 230, 118, 0.04) 50.5%, transparent 50.5%);
}
.project-card.tools-project:hover {
    border-color: #00e676;
    box-shadow: 0 20px 40px rgba(0, 230, 118, 0.15), inset 0 0 30px rgba(0, 230, 118, 0.03);
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.project-header > i {
    font-size: 2rem;
    color: var(--accent-secondary);
}

.project-links i {
    font-size: 1.25rem;
    color: var(--text-muted);
    transition: var(--transition-fast);
}

.project-card:hover .project-links i {
    color: var(--accent-primary);
}

/* Icon colors by project type */
.project-card.featured .project-header > i {
    color: #c864ff;
}
.project-card.security-project .project-header > i {
    color: #ff4444;
}
.project-card.automation-project .project-header > i {
    color: #00d9ff;
}
.project-card.tools-project .project-header > i {
    color: #00e676;
}

/* Hover icon effects */
.project-card.featured:hover .project-links i { color: #c864ff; }
.project-card.security-project:hover .project-links i { color: #ff4444; }
.project-card.automation-project:hover .project-links i { color: #00d9ff; }
.project-card.tools-project:hover .project-links i { color: #00e676; }

.project-card h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    letter-spacing: 1px;
}

.project-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    flex-grow: 1;
    margin-bottom: 1rem;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: auto;
}

.project-tags span {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--accent-primary);
    padding: 0.25rem 0.5rem;
    background: rgba(91, 33, 182, 0.1);
    border: 1px solid rgba(91, 33, 182, 0.2);
    border-radius: 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.2s ease;
}

/* Tags by project type */
.project-card.featured .project-tags span {
    background: rgba(200, 100, 255, 0.1);
    border-color: rgba(200, 100, 255, 0.25);
    color: #d488ff;
}
.project-card.security-project .project-tags span {
    background: rgba(255, 68, 68, 0.1);
    border-color: rgba(255, 68, 68, 0.25);
    color: #ff6b6b;
}
.project-card.automation-project .project-tags span {
    background: rgba(0, 217, 255, 0.1);
    border-color: rgba(0, 217, 255, 0.25);
    color: #5ce1ff;
}
.project-card.tools-project .project-tags span {
    background: rgba(0, 230, 118, 0.1);
    border-color: rgba(0, 230, 118, 0.25);
    color: #69f0ae;
}

.projects-cta {
    text-align: center;
    margin-top: 3rem;
}

/* ============================================
   Triangle Particles Animation
   ============================================ */

@keyframes triangleBurst {
    0% {
        opacity: 1;
        transform: translate(0, 0) rotate(0deg) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(var(--tx), var(--ty)) rotate(var(--rotation)) scale(0);
    }
}

.triangle-particle {
    filter: drop-shadow(0 0 3px currentColor);
}

/* ============================================
   Education Section - Premium Design
   ============================================ */

.education {
    background: var(--bg-secondary);
    position: relative;
}

.education::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(91, 33, 182, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(124, 58, 237, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.education-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    position: relative;
    z-index: 1;
}

/* Card Base */
.edu-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 0;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 25px), calc(100% - 25px) 100%, 0 100%);
}

/* Triangular mesh pattern */
.edu-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(30deg, transparent 49.5%, rgba(91, 33, 182, 0.03) 49.5%, rgba(91, 33, 182, 0.03) 50.5%, transparent 50.5%),
        linear-gradient(150deg, transparent 49.5%, rgba(91, 33, 182, 0.03) 49.5%, rgba(91, 33, 182, 0.03) 50.5%, transparent 50.5%);
    background-size: 40px 40px;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

/* Top accent line */
.edu-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--gradient-purple);
    transition: width 0.4s ease;
}

.edu-card:hover {
    transform: translate(-2px, -2px);
    border-color: var(--accent-primary);
    box-shadow:
        2px 2px 0 var(--accent-primary),
        0 20px 40px var(--accent-glow);
}

.edu-card:hover::before {
    opacity: 1;
    animation: geometricShift 10s linear infinite;
}

.edu-card:hover::after {
    width: 100%;
}

/* Card por Tema - UNIPDS (Amarelo/Dourado) */
.edu-card.current {
    border-color: rgba(255, 193, 7, 0.4);
}
.edu-card.current::after {
    background: linear-gradient(90deg, #ffc107, #ffca28);
    width: 100%;
}
.edu-card.current::before {
    background-image:
        linear-gradient(30deg, transparent 49.5%, rgba(255, 193, 7, 0.04) 49.5%, rgba(255, 193, 7, 0.04) 50.5%, transparent 50.5%),
        linear-gradient(150deg, transparent 49.5%, rgba(255, 193, 7, 0.04) 49.5%, rgba(255, 193, 7, 0.04) 50.5%, transparent 50.5%);
}
.edu-card.current:hover {
    border-color: #ffc107;
    box-shadow: 0 20px 40px rgba(255, 193, 7, 0.15), inset 0 0 30px rgba(255, 193, 7, 0.03);
}

/* Card por Tema - DARYUS (Laranja) */
.edu-card.security-theme::after {
    background: linear-gradient(90deg, #ff6d00, #ff9100);
}
.edu-card.security-theme::before {
    background-image:
        linear-gradient(30deg, transparent 49.5%, rgba(255, 109, 0, 0.04) 49.5%, rgba(255, 109, 0, 0.04) 50.5%, transparent 50.5%),
        linear-gradient(150deg, transparent 49.5%, rgba(255, 109, 0, 0.04) 49.5%, rgba(255, 109, 0, 0.04) 50.5%, transparent 50.5%);
}
.edu-card.security-theme:hover {
    border-color: #ff6d00;
    box-shadow: 0 20px 40px rgba(255, 109, 0, 0.15), inset 0 0 30px rgba(255, 109, 0, 0.03);
}

/* Card por Tema - Impacta (Branco) */
.edu-card.network-theme::after {
    background: linear-gradient(90deg, #ffffff, #e0e0e0);
}
.edu-card.network-theme::before {
    background-image:
        linear-gradient(30deg, transparent 49.5%, rgba(255, 255, 255, 0.04) 49.5%, rgba(255, 255, 255, 0.04) 50.5%, transparent 50.5%),
        linear-gradient(150deg, transparent 49.5%, rgba(255, 255, 255, 0.04) 49.5%, rgba(255, 255, 255, 0.04) 50.5%, transparent 50.5%);
}
.edu-card.network-theme:hover {
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 20px 40px rgba(255, 255, 255, 0.1), inset 0 0 30px rgba(255, 255, 255, 0.03);
}

/* Theme-specific icon colors */
.edu-card.ai-theme .edu-icon {
    background: linear-gradient(135deg, #c864ff, #e0a0ff);
    box-shadow: 0 10px 30px rgba(200, 100, 255, 0.4);
}
.edu-card.security-theme .edu-icon {
    background: linear-gradient(135deg, #ff4444, #ff6b6b);
    box-shadow: 0 10px 30px rgba(255, 68, 68, 0.4);
}
.edu-card.network-theme .edu-icon {
    background: linear-gradient(135deg, #00d9ff, #5ce1ff);
    box-shadow: 0 10px 30px rgba(0, 217, 255, 0.4);
}
.edu-card.current .edu-icon {
    background: linear-gradient(135deg, #00e676, #69f0ae);
    box-shadow: 0 10px 30px rgba(0, 230, 118, 0.4);
}

.edu-status {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.2) 0%, rgba(255, 160, 0, 0.1) 100%);
    border: 1px solid rgba(255, 193, 7, 0.5);
    border-radius: 0;
    font-size: 0.75rem;
    font-weight: 700;
    color: #ffca28;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    z-index: 2;
    box-shadow: 0 0 20px rgba(255, 193, 7, 0.3);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.edu-status.completed {
    background: linear-gradient(135deg, rgba(0, 230, 118, 0.2) 0%, rgba(0, 200, 100, 0.1) 100%);
    border: 1px solid rgba(0, 230, 118, 0.5);
    color: #69f0ae;
    box-shadow: 0 0 20px rgba(0, 230, 118, 0.3);
}

.edu-status.completed i {
    font-size: 0.85rem;
}

.edu-header {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    padding: 2rem;
    padding-bottom: 0;
}

.edu-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    border-radius: 0;
    font-size: 1.8rem;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 10px 30px rgba(91, 33, 182, 0.4);
    position: relative;
}

.edu-icon::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 0;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    z-index: -1;
    opacity: 0.5;
    filter: blur(10px);
}

/* Education Logo Link */
.edu-logo-link {
    display: inline-block;
    text-decoration: none;
    cursor: pointer;
}

/* Education Logo */
.edu-logo {
    width: 120px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.edu-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: brightness(1) contrast(1);
    transition: all 0.3s ease;
}

.edu-card:hover .edu-logo {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
}

.edu-card:hover .edu-logo img {
    filter: brightness(1.1) contrast(1.05);
}

.edu-info {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    flex: 1;
}

.edu-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    background: linear-gradient(90deg, var(--text-primary) 0%, var(--accent-tertiary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.edu-type {
    font-size: 0.95rem;
    color: var(--accent-tertiary);
    font-weight: 600;
    letter-spacing: 0.5px;
}

.edu-institution {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.edu-period {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.25rem;
}

.edu-period i {
    color: var(--accent-primary);
}

.edu-content {
    padding: 0 2rem 2rem 2rem;
    border-top: 1px solid rgba(91, 33, 182, 0.15);
    margin-top: 1rem;
    padding-top: 1.5rem;
}

.edu-content p {
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
    font-size: 1rem;
    line-height: 1.6;
}

/* Modules Grid - Premium Style */
.edu-modules {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.edu-module {
    padding: 0.5rem 1rem;
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.3);
    border-radius: 0;
    font-size: 0.85rem;
    color: #ffca28;
    font-family: var(--font-mono);
    transition: all 0.2s ease;
}

.edu-module:hover {
    background: rgba(255, 193, 7, 0.2);
    border-color: #ffc107;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 193, 7, 0.2);
}

/* Two Column Layout */
.edu-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.edu-column {
    background: rgba(91, 33, 182, 0.05);
    border-radius: 0;
    padding: 1.25rem;
    border: 1px solid rgba(91, 33, 182, 0.1);
}

.edu-column h4 {
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(91, 33, 182, 0.2);
}

.edu-column h4 i {
    color: var(--accent-primary);
    font-size: 1rem;
}

/* Security theme columns - Red Team vs Blue Team */
/* DARYUS - Laranja para ambas as colunas */
.security-theme .edu-column:first-child {
    background: rgba(255, 109, 0, 0.08);
    border-color: rgba(255, 109, 0, 0.2);
}
.security-theme .edu-column:first-child h4 {
    border-color: rgba(255, 109, 0, 0.3);
}
.security-theme .edu-column:first-child h4 i {
    color: #ff6d00;
}
.security-theme .edu-column:first-child ul li::before {
    color: #ff6d00;
}

.security-theme .edu-column:last-child {
    background: rgba(255, 145, 0, 0.08);
    border-color: rgba(255, 145, 0, 0.2);
}
.security-theme .edu-column:last-child h4 {
    border-color: rgba(255, 145, 0, 0.3);
}
.security-theme .edu-column:last-child h4 i {
    color: #ff9100;
}
.security-theme .edu-column:last-child ul li::before {
    color: #ff9100;
}

.edu-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.edu-column ul li {
    padding: 0.5rem 0;
    padding-left: 1.25rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    position: relative;
    transition: all 0.2s ease;
}

.edu-column ul li:hover {
    color: var(--text-primary);
    padding-left: 1.5rem;
}

.edu-column ul li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--accent-primary);
    font-size: 0.8rem;
    transition: transform 0.2s ease;
}

.edu-column ul li:hover::before {
    transform: translateX(3px);
}

/* Skills Tags - Impacta (Branco) */
.edu-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.edu-skills span {
    padding: 0.4rem 0.85rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 0;
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.2s ease;
}

.edu-skills span:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
    .edu-columns {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .edu-content {
        padding-left: 0;
        padding: 0 1rem;
    }

    .edu-modules {
        padding: 0 0.5rem;
    }

    .edu-header {
        flex-direction: column;
        gap: 1rem;
    }
}

/* ============================================
   Languages Section
   ============================================ */

.languages {
    background: var(--bg-secondary);
}

.languages-grid {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.language-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 1.5rem 2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%);
    min-width: 280px;
}

/* Triangular mesh */
.language-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(30deg, transparent 49.5%, rgba(91, 33, 182, 0.03) 49.5%, rgba(91, 33, 182, 0.03) 50.5%, transparent 50.5%),
        linear-gradient(150deg, transparent 49.5%, rgba(91, 33, 182, 0.03) 49.5%, rgba(91, 33, 182, 0.03) 50.5%, transparent 50.5%);
    background-size: 30px 30px;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

/* Top accent line */
.language-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--gradient-purple);
    transition: width 0.4s ease;
}

.language-card:hover {
    transform: translate(-2px, -2px);
    border-color: var(--accent-primary);
    box-shadow: 2px 2px 0 var(--accent-primary), 0 20px 40px var(--accent-glow);
}

.language-card:hover::before {
    opacity: 1;
    animation: geometricShift 10s linear infinite;
}

.language-card:hover::after {
    width: 100%;
}

/* Portuguese - Verde (Nativo) */
.language-card.native::after {
    background: linear-gradient(90deg, #00e676, #69f0ae);
}
.language-card.native::before {
    background-image:
        linear-gradient(30deg, transparent 49.5%, rgba(0, 230, 118, 0.04) 49.5%, rgba(0, 230, 118, 0.04) 50.5%, transparent 50.5%),
        linear-gradient(150deg, transparent 49.5%, rgba(0, 230, 118, 0.04) 49.5%, rgba(0, 230, 118, 0.04) 50.5%, transparent 50.5%);
}
.language-card.native:hover {
    border-color: #00e676;
    box-shadow: 0 20px 40px rgba(0, 230, 118, 0.15), inset 0 0 30px rgba(0, 230, 118, 0.03);
}

/* English - Azul */
.language-card.learning::after {
    background: linear-gradient(90deg, #4488ff, #6ba3ff);
}
.language-card.learning::before {
    background-image:
        linear-gradient(30deg, transparent 49.5%, rgba(68, 136, 255, 0.04) 49.5%, rgba(68, 136, 255, 0.04) 50.5%, transparent 50.5%),
        linear-gradient(150deg, transparent 49.5%, rgba(68, 136, 255, 0.04) 49.5%, rgba(68, 136, 255, 0.04) 50.5%, transparent 50.5%);
}
.language-card.learning:hover {
    border-color: #4488ff;
    box-shadow: 0 20px 40px rgba(68, 136, 255, 0.15), inset 0 0 30px rgba(68, 136, 255, 0.03);
}

.language-flag {
    position: relative;
}

.language-flag img {
    width: 70px;
    height: 47px;
    object-fit: cover;
    border-radius: 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
    transition: all 0.3s ease;
}

.language-card:hover .language-flag img {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0,0,0,0.5);
}

.language-info h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    letter-spacing: 1px;
}

.language-level {
    font-size: 0.8rem;
    font-family: var(--font-mono);
    padding: 0.2rem 0.6rem;
    border-radius: 0;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.language-card.native .language-level {
    background: rgba(0, 230, 118, 0.15);
    color: #69f0ae;
    border: 1px solid rgba(0, 230, 118, 0.3);
}

.language-card.learning .language-level {
    background: rgba(68, 136, 255, 0.15);
    color: #6ba3ff;
    border: 1px solid rgba(68, 136, 255, 0.3);
}

.language-bar {
    width: 150px;
    height: 6px;
    background: var(--bg-tertiary);
    border-radius: 0;
    margin-top: 0.5rem;
    overflow: hidden;
}

.language-progress {
    height: 100%;
    border-radius: 0;
    transition: width 1s ease;
}

.language-card.native .language-progress {
    background: linear-gradient(90deg, #00e676, #69f0ae);
    box-shadow: 0 0 10px rgba(0, 230, 118, 0.5);
}

.language-card.learning .language-progress {
    background: linear-gradient(90deg, #4488ff, #6ba3ff);
    box-shadow: 0 0 10px rgba(68, 136, 255, 0.5);
}

/* ============================================
   Contact Section
   ============================================ */

.contact {
    text-align: center;
}

.contact-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto 2rem;
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    text-decoration: none;
    font-family: var(--font-mono);
    position: relative;
    overflow: hidden;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-link i {
    font-size: 1.25rem;
    color: var(--accent-primary);
}

.contact-link::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--gradient-purple);
    transition: width 0.4s ease;
}

.contact-link:hover {
    transform: translate(-2px, -2px);
}

.contact-link:hover::after {
    width: 100%;
}

/* LinkedIn - Azul */
.contact-link.linkedin::after {
    background: linear-gradient(90deg, #0077b5, #00a0dc);
}
.contact-link.linkedin i {
    color: #0077b5;
}
.contact-link.linkedin:hover {
    border-color: #0077b5;
    box-shadow: 0 15px 30px rgba(0, 119, 181, 0.2);
}

/* GitHub - Roxo */
.contact-link.github::after {
    background: linear-gradient(90deg, #c864ff, #e0a0ff);
}
.contact-link.github i {
    color: #c864ff;
}
.contact-link.github:hover {
    border-color: #c864ff;
    box-shadow: 0 15px 30px rgba(200, 100, 255, 0.2);
}

/* Email - Verde */
.contact-link.email::after {
    background: linear-gradient(90deg, #00e676, #69f0ae);
}
.contact-link.email i {
    color: #00e676;
}
.contact-link.email:hover {
    border-color: #00e676;
    box-shadow: 0 15px 30px rgba(0, 230, 118, 0.2);
}

/* HackTheBox - Verde HTB */
.contact-link.hackthebox::after {
    background: linear-gradient(90deg, #9fef00, #a4f519);
}
.contact-link.hackthebox img {
    filter: brightness(0) invert(1);
    transition: filter 0.3s;
}
.contact-link.hackthebox span {
    color: #9fef00;
}
.contact-link.hackthebox:hover {
    border-color: #9fef00;
    box-shadow: 0 15px 30px rgba(159, 239, 0, 0.2);
}
.contact-link.hackthebox:hover img {
    filter: brightness(0) saturate(100%) invert(82%) sepia(60%) saturate(500%) hue-rotate(40deg) brightness(110%);
}

/* ============================================
   Footer — THL Terminal Style
   ============================================ */

.footer {
    padding: 3rem 0;
    border-top: 1px solid var(--border-color);
    background: var(--bg-primary);
}

.footer .container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
}

/* Left side — Brand */
.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-primary);
}

.footer-avatar {
    width: 24px;
    height: 24px;
    border-radius: 0;
    object-fit: cover;
    border: 1px solid var(--accent-primary);
}

.footer-name {
    color: var(--accent-tertiary);
    position: relative;
}

.footer-name::after {
    content: '_';
    color: var(--accent-primary);
    animation: footerBlink 0.7s step-end infinite;
}

.footer-name.typed::after {
    animation: footerBlink 1.2s step-end infinite;
}

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

.footer-desc {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 320px;
}

/* Right side */
.footer-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.75rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.footer-link {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    text-decoration: none;
    transition: color var(--transition-fast);
    white-space: nowrap;
}

.footer-link:hover {
    color: var(--accent-tertiary);
}

.footer-cta {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    color: var(--text-muted);
    font-style: italic;
}

/* Bottom bar */
.footer-bottom {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(43, 48, 59, 0.5);
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-muted);
}

.footer-separator {
    color: var(--accent-primary);
    opacity: 0.4;
}

.footer-built {
    color: var(--text-muted);
}

.footer-heart {
    color: var(--accent-tertiary);
    font-weight: 700;
}

/* ============================================
   Responsive
   ============================================ */

/* Tablet and medium screens */
@media (max-width: 1024px) {
    .navbar {
        padding: 1rem 2rem;
    }

    .nav-container {
        padding: 0 1rem;
        gap: 2rem;
    }

    .section {
        padding: 5rem 1.5rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(17, 19, 23, 0.98);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        transform: translateX(100%);
        transition: var(--transition-normal);
        border-bottom: 1px solid var(--border-color);
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    .nav-toggle {
        display: flex;
    }

    /* Hero mobile */
    .hero {
        padding: 5rem 1rem 2rem;
        min-height: 100vh;
        align-items: center;
        justify-content: center;
    }

    .hero-content {
        padding: 0 1rem;
        max-width: 100%;
        width: 100%;
        align-items: center;
        text-align: center;
        margin: 0 auto;
    }


    .hero-name-row {
        width: 100%;
        align-items: center;
        justify-content: center;
    }

    .avatar-frame {
        width: 100px;
        height: 100px;
        margin-bottom: 1rem;
    }

    .hero-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
        letter-spacing: 2px;
        text-align: center;
        width: 100%;
    }

    .hero-role {
        font-size: 0.95rem;
        text-align: center;
    }

    .hero-description {
        font-size: 0.9rem;
        padding: 0 0.5rem;
        text-align: center;
    }

    .hero-stats {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 1rem;
        width: 100%;
    }

    .stat {
        min-width: 90px;
        padding: 0.75rem;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.7rem;
    }

    .hero-cta {
        flex-direction: row;
        gap: 0.75rem;
        width: 100%;
        justify-content: center;
        align-items: center;
    }

    .hero-cta .btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-visual {
        order: -1;
        margin-bottom: 2rem;
    }

    .about-visual img {
        max-width: 280px;
    }

    .about-tools {
        justify-content: center;
    }

    .timeline-item {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .timeline-marker {
        display: none;
    }

    .hero-name-row {
        flex-direction: column;
        gap: 0;
    }

    .avatar-frame {
        width: 100px;
        height: 100px;
        margin-bottom: 1rem;
    }

    .hero-title {
        font-size: clamp(2rem, 10vw, 3rem);
    }

    .hero-role {
        font-size: 1rem;
    }

    .hero-stats {
        justify-content: center;
        gap: 1.5rem;
        padding: 1rem 1.5rem;
    }

    .hero-cta {
        justify-content: center;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .hero-description {
        font-size: 0.95rem;
        padding: 0 1rem;
    }

    .cert-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .cert-category {
        padding: 1.25rem 1rem;
    }

    .cert-cards {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        padding: 0.5rem;
    }

    .cert-card {
        flex-direction: column;
        text-align: center;
        padding: 1.25rem 1rem;
        margin: 0.25rem;
    }

    .cert-badge {
        width: 70px;
        height: 70px;
    }

    .cert-card.training {
        flex-direction: row;
        text-align: left;
        padding: 0.75rem 1rem;
        margin: 0.25rem;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    /* Nav mobile adjustments */
    .nav-social {
        display: none;
    }

    .lang-selector {
        margin-left: auto;
        margin-right: 1rem;
    }

    .nav-container {
        padding: 0 1rem;
    }

    .nav-logo {
        margin-right: 0;
    }

    /* Projects mobile */
    .projects-grid {
        grid-template-columns: 1fr;
    }

    .project-card {
        padding: 1.25rem;
    }

    /* Languages mobile */
    .languages-grid {
        flex-direction: column;
        align-items: center;
    }

    .language-card {
        width: 100%;
        max-width: 320px;
    }

    /* Contact mobile */
    .contact-links {
        flex-direction: column;
        align-items: center;
    }

    .contact-link {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    /* Section titles mobile */
    .section-title {
        font-size: 1.5rem;
    }

    .section-subtitle {
        font-size: 0.9rem;
        padding: 0 1rem;
    }

    /* Scroll indicator mobile */
    .scroll-indicator {
        display: flex;
        position: relative;
        bottom: auto;
        left: auto;
        transform: none;
        margin: 2rem auto 0;
        width: 100%;
        justify-content: center;
    }

    /* Footer mobile */
    .footer-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-links {
        gap: 1rem;
    }

    .footer-bottom {
        flex-wrap: wrap;
    }
}

/* Extra small screens */
@media (max-width: 480px) {
    .navbar {
        padding: 0.75rem 1rem;
    }

    /* Hero extra small */
    .hero {
        padding: 4rem 0.75rem 2rem;
    }

    .hero-content {
        padding: 0 0.5rem;
    }

    .hero-badge {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }

    .avatar-frame {
        width: 80px;
        height: 80px;
    }

    .hero-title {
        font-size: 1.6rem;
        letter-spacing: 1px;
    }

    .hero-role {
        font-size: 0.85rem;
    }

    .hero-description {
        font-size: 0.85rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 0.75rem;
    }

    .stat {
        width: 100%;
        max-width: 200px;
    }

    .hero-cta {
        flex-direction: column;
        gap: 0.75rem;
    }

    .hero-cta .btn {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }

    .hero-badge {
        font-size: 0.75rem;
    }

    .cert-category {
        padding: 1rem;
    }

    .category-title {
        font-size: 0.9rem;
    }

    .edu-card {
        clip-path: none;
        padding: 1.25rem;
        margin-bottom: 1rem;
    }

    .education-grid {
        padding: 0 0.5rem;
        gap: 1rem;
    }

    .project-card {
        clip-path: none;
    }

    .lang-dropdown {
        right: -1rem;
    }

    /* Grid fixes for very small screens */
    .skills-grid,
    .projects-grid,
    .cert-grid {
        grid-template-columns: 1fr;
    }

    /* Language cards small screen fix */
    .language-card {
        min-width: unset;
        width: 100%;
    }

    /* Section padding adjustment */
    .section {
        padding: 3rem 1rem;
    }

    /* Container padding */
    .container {
        padding: 0 0.75rem;
    }

    /* Timeline content small screen */
    .timeline-content {
        clip-path: none;
        padding: 1rem;
    }

    /* Cert cards small screen */
    .cert-card {
        padding: 0.875rem;
        gap: 0.75rem;
        margin: 0.25rem;
    }

    .cert-badge {
        width: 50px;
        height: 50px;
    }

    /* Cert category mobile spacing */
    .cert-category {
        padding: 1rem 0.75rem;
    }

    .cert-cards {
        gap: 0.5rem;
        padding: 0.25rem;
    }

    .cert-cards.training-cards {
        gap: 0.4rem;
        padding: 0.25rem;
    }

    .cert-card.training {
        padding: 0.5rem 0.75rem;
        margin: 0.125rem;
    }

    /* Skill category small screen */
    .skill-category {
        clip-path: none;
        padding: 1rem;
    }

    /* Education modules mobile */
    .edu-content {
        padding: 0 0.75rem;
    }

    .edu-modules {
        padding: 0 0.25rem;
        gap: 0.5rem;
    }

    .edu-module {
        padding: 0.4rem 0.75rem;
        font-size: 0.8rem;
    }
}

/* ============================================
   Dynamic Enhancements
   ============================================ */

/* Active Nav Link (handled above) */

@keyframes navLinkGlow {
    0% { box-shadow: 0 0 5px var(--accent-primary); }
    100% { box-shadow: 0 0 15px var(--accent-primary), 0 0 25px var(--accent-secondary); }
}

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--gradient-purple);
    z-index: 9999;
    width: 0%;
    transition: width 0.1s linear;
    box-shadow: 0 0 10px var(--accent-primary), 0 0 20px var(--accent-secondary);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--bg-card);
    border: 1px solid var(--accent-primary);
    border-radius: 0;
    color: var(--accent-primary);
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--accent-primary);
    color: white;
    box-shadow: 0 0 20px var(--accent-glow);
    transform: translateY(-5px);
}

/* 3D Tilt Cards */
.project-card,
.edu-card,
.cert-card {
    transition: transform 0.15s ease-out, box-shadow 0.3s ease;
    transform-style: preserve-3d;
}

/* Section Title Reveal Animation */
.section-title {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.section-title.title-revealed {
    opacity: 1;
    transform: translateY(0);
}

.section-title.title-revealed .title-number {
    animation: numberGlitch 0.5s ease-out;
}

@keyframes numberGlitch {
    0%, 100% { opacity: 1; transform: translateX(0); }
    20% { opacity: 0.8; transform: translateX(-2px); color: #ff0040; }
    40% { opacity: 0.6; transform: translateX(2px); color: #00ff88; }
    60% { opacity: 0.8; transform: translateX(-1px); color: #4488ff; }
    80% { opacity: 0.9; transform: translateX(1px); }
}

/* Staggered Card Reveal */
.project-card,
.cert-card,
.skill-category,
.edu-card,
.cert-category {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card.card-revealed,
.cert-card.card-revealed,
.skill-category.card-revealed,
.edu-card.card-revealed,
.cert-category.card-revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Smooth Scroll Enhancements */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }

    * {
        scroll-margin-top: 80px;
    }
}

/* GPU Acceleration for Animations */
.project-card,
.edu-card,
.cert-card,
.skill-category,
.btn,
.contact-link,
.nav-link,
.back-to-top {
    will-change: transform;
    backface-visibility: hidden;
}

/* Hover Glow Effect */
.project-card:hover,
.edu-card:hover,
.cert-card:hover {
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 30px var(--accent-glow),
        inset 0 0 60px rgba(91, 33, 182, 0.03);
}

/* Mobile - Disable heavy effects */
@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }

    .project-card,
    .edu-card,
    .cert-card {
        transform: none !important;
    }

}

/* Nav Link Hover Enhancement - bracket glow handled in main nav-link::before/::after */

/* Title Number Glitch Ready */
.title-number {
    display: inline-block;
    font-family: var(--font-mono);
    cursor: default;
    transition: color 0.1s ease;
}

.title-number:hover {
    color: var(--accent-primary);
}

/* Skill Tag Wave Animation */
.skill-tag {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.skill-tag:hover {
    box-shadow: 0 5px 15px var(--accent-glow);
}

/* Hero Parallax Enhancements */
.hero-content {
    will-change: transform, opacity;
    transition: opacity 0.1s ease;
}

.grid-overlay {
    will-change: transform;
}

/* Image Loading Fade */
img {
    max-width: 100%;
    height: auto;
    transition: opacity 0.5s ease;
}

/* Focus States for Accessibility */
.btn:focus,
.contact-link:focus,
.back-to-top:focus {
    outline: 2px solid var(--accent-primary);
    outline-offset: 3px;
}

.nav-link:focus {
    outline: none;
}

/* Keyboard Navigation Hint */
@media (min-width: 1024px) {
    body::after {
        content: 'Press 1-8 to navigate • T to top';
        position: fixed;
        bottom: 10px;
        left: 50%;
        transform: translateX(-50%);
        font-size: 0.7rem;
        color: var(--text-muted);
        opacity: 0;
        transition: opacity 0.3s ease;
        pointer-events: none;
        font-family: var(--font-mono);
    }

    body:focus-within::after {
        opacity: 0.5;
    }
}
