/* ========================================
   KINETIC_TERMINAL DESIGN SYSTEM
   Based on Stitch Design
======================================== */

:root {
    /* Core Palette from Stitch */
    --bg: #10141a;
    --bg-alt: #181c22;
    --surface: #10141a;
    --surface-container: #1c2026;
    --surface-container-high: #262a31;
    --surface-container-lowest: #0a0e14;
    --surface-bright: #353940;

    --primary: #e9feff;
    --primary-container: #00f5ff;
    --primary-dim: #00dce5;
    --on-primary: #003739;

    --secondary-dim: #8bdc00;
    --secondary-container: #9df800;
    --on-secondary: #1f3700;

    --tertiary-container: #ffdb3f;
    --tertiary-dim: #e7c427;

    --error: #ffb4ab;
    --error-dim: #ff5f57;

    --on-surface: #dfe2eb;
    --on-surface-variant: #b9caca;
    --outline: #849495;
    --outline-variant: #3a494a;

    /* Derived */
    --text-primary: var(--primary);
    --text-body: var(--on-surface-variant);
    --text-muted: var(--outline);

    /* Fonts */
    --font-headline: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

    /* Sizing */
    --max-width: 1400px;
    --nav-height: 72px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
}

body {
    font-family: var(--font-body);
    background-color: var(--bg);
    color: var(--on-surface);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

::selection {
    background: rgba(0, 245, 255, 0.2);
    color: var(--primary);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 32px;
}

.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.mt-16 { margin-top: 16px; }

/* ========================================
   NAVIGATION
======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(16, 20, 26, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 32px;
    height: var(--nav-height);
}

.nav-logo {
    font-family: var(--font-headline);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: var(--primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-family: var(--font-headline);
    font-size: 0.9rem;
    color: rgba(233, 254, 255, 0.5);
    letter-spacing: -0.3px;
    transition: color 0.2s;
    position: relative;
}

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

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary-dim);
    border-radius: 1px;
}

.nav-resume-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, var(--primary-dim), var(--primary-container));
    color: var(--on-primary);
    border: none;
    padding: 8px 20px;
    border-radius: 6px;
    font-family: var(--font-headline);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.nav-resume-btn:hover {
    box-shadow: 0 0 20px rgba(0, 220, 229, 0.4);
    transform: scale(1.02);
}

.nav-resume-btn .material-symbols-outlined {
    font-size: 18px;
}

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

.nav-toggle span {
    width: 22px;
    height: 2px;
    background: var(--primary);
    border-radius: 1px;
    transition: all 0.3s;
}

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

/* ========================================
   HERO
======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--nav-height);
    position: relative;
}

.hero-grid {
    display: grid;
    grid-template-columns: 7fr 5fr;
    gap: 48px;
    align-items: center;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 80px 32px;
    width: 100%;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: var(--surface-container-high);
    border-radius: 100px;
    border-left: 2px solid var(--secondary-dim);
    margin-bottom: 28px;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--secondary-dim);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(139, 220, 0, 0.4); }
    50% { opacity: 0.7; box-shadow: 0 0 0 6px rgba(139, 220, 0, 0); }
}

.status-badge span:last-child {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--secondary-dim);
}

.hero-title {
    font-family: var(--font-headline);
    font-size: clamp(2.5rem, 6vw, 5.5rem);
    font-weight: 700;
    letter-spacing: -2px;
    line-height: 0.95;
    color: var(--primary);
    margin-bottom: 28px;
}

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

.hero-desc {
    font-size: 1.1rem;
    color: var(--on-surface-variant);
    max-width: 540px;
    line-height: 1.8;
    margin-bottom: 36px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-container);
    color: var(--on-primary);
    padding: 16px 32px;
    font-family: var(--font-headline);
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    letter-spacing: -0.3px;
}

.btn-primary:hover {
    filter: brightness(1.1);
    box-shadow: 0 0 25px rgba(0, 245, 255, 0.3);
    transform: translateY(-1px);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--outline-variant);
    color: var(--primary);
    padding: 16px 32px;
    font-family: var(--font-headline);
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: 6px;
    background: transparent;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-outline:hover {
    background: var(--surface-container);
    border-color: var(--primary-dim);
}

/* Terminal Window */
.terminal-window {
    background: var(--surface-container-lowest);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(58, 73, 74, 0.3);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 220, 229, 0.08);
}

.terminal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: var(--surface-container-high);
    border-bottom: 1px solid rgba(58, 73, 74, 0.2);
}

.terminal-dots {
    display: flex;
    gap: 8px;
}

.dot-red { width: 12px; height: 12px; border-radius: 50%; background: rgba(255, 95, 87, 0.4); }
.dot-yellow { width: 12px; height: 12px; border-radius: 50%; background: rgba(255, 219, 63, 0.4); }
.dot-green { width: 12px; height: 12px; border-radius: 50%; background: rgba(139, 220, 0, 0.4); }

.terminal-session {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--on-surface-variant);
    letter-spacing: 2px;
}

.terminal-body {
    padding: 24px;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    line-height: 1.8;
}

.terminal-line {
    display: flex;
    gap: 8px;
    align-items: center;
}

.t-arrow { color: var(--secondary-dim); }
.t-path { color: var(--primary-dim); }
.t-cmd { color: var(--on-surface); }
.t-label { color: var(--secondary-dim); font-weight: 700; }

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

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

.neofetch-grid {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 20px;
    margin-top: 12px;
    align-items: start;
}

.neofetch-icon {
    width: 80px;
    height: 80px;
    background: var(--surface-container);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    color: var(--primary-dim);
}

.neofetch-info {
    font-size: 0.78rem;
}

.neofetch-info p {
    margin-bottom: 2px;
}

.terminal-skills {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
    margin-top: 8px;
    font-size: 0.7rem;
    color: var(--secondary-dim);
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-arrow {
    color: var(--text-muted);
    font-size: 2rem;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

/* ========================================
   SECTION SHARED
======================================== */
.section {
    padding: 120px 0;
}

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

.section-header-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 56px;
    flex-wrap: wrap;
    gap: 12px;
}

.section-title {
    font-family: var(--font-headline);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -1.5px;
}

.section-subtitle {
    font-family: var(--font-body);
    color: var(--on-surface-variant);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.75rem;
}

/* ========================================
   BENTO GRID (Skills)
======================================== */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.bento-card {
    background: var(--surface-container);
    border: 1px solid rgba(58, 73, 74, 0.3);
    border-radius: 16px;
    padding: 28px;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.bento-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.bento-card:hover {
    border-color: rgba(0, 220, 229, 0.3);
    box-shadow: 0 0 30px rgba(0, 220, 229, 0.08);
    transform: translateY(-4px);
}

.bento-card.visible:hover {
    transform: translateY(-4px);
}

.bento-large {
    grid-column: span 1;
    grid-row: span 2;
    background: linear-gradient(145deg, var(--surface-container), rgba(0, 220, 229, 0.04));
}

.bento-icon-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.bento-icon {
    color: var(--primary-dim);
    font-size: 2rem !important;
}

.bento-tag {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--secondary-dim);
    background: rgba(139, 220, 0, 0.08);
    border: 1px solid rgba(139, 220, 0, 0.2);
    padding: 3px 10px;
    border-radius: 4px;
    letter-spacing: 2px;
}

.bento-title {
    font-family: var(--font-headline);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.bento-desc {
    font-size: 0.88rem;
    color: var(--on-surface-variant);
    line-height: 1.6;
    margin-bottom: 16px;
}

.bento-tech-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 16px;
}

.tech-chip {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    padding: 4px 10px;
    border-radius: 4px;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.chip-primary {
    background: rgba(0, 220, 229, 0.1);
    color: var(--primary-dim);
    border: 1px solid rgba(0, 220, 229, 0.15);
}

.chip-secondary {
    background: rgba(0, 220, 229, 0.05);
    color: rgba(0, 220, 229, 0.7);
    border: 1px solid rgba(0, 220, 229, 0.1);
}

.chip-tertiary {
    background: rgba(0, 220, 229, 0.03);
    color: rgba(0, 220, 229, 0.5);
    border: 1px solid rgba(0, 220, 229, 0.08);
}

.chip-green {
    background: rgba(139, 220, 0, 0.08);
    color: var(--secondary-dim);
    border: 1px solid rgba(139, 220, 0, 0.15);
}

.chip-yellow {
    background: rgba(255, 219, 63, 0.08);
    color: var(--tertiary-container);
    border: 1px solid rgba(255, 219, 63, 0.15);
}

.bento-meter {
    height: 4px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 2px;
    overflow: hidden;
}

.meter-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-dim), var(--secondary-dim));
    border-radius: 2px;
    width: 0;
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Evolution Panel */
.evolution-panel {
    background: var(--surface-container);
    border: 1px solid rgba(58, 73, 74, 0.3);
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 40px;
}

.evolution-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 16px;
}

.evolution-title {
    font-family: var(--font-headline);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.5px;
}

.evolution-sub {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.evolution-legend {
    display: flex;
    gap: 20px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    color: var(--on-surface-variant);
}

.legend-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.dot-cyan { background: var(--primary-dim); }
.dot-green { background: var(--secondary-dim); }
.dot-yellow { background: var(--tertiary-container); }

.chart-container {
    width: 100%;
    overflow: hidden;
}

.chart-container canvas {
    width: 100% !important;
    height: 200px !important;
}

/* Mission Panel */
.mission-panel {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 48px;
    align-items: center;
    background: var(--surface-container);
    border: 1px solid rgba(58, 73, 74, 0.3);
    border-radius: 16px;
    padding: 40px;
}

.mission-title {
    font-family: var(--font-headline);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.mission-text {
    color: var(--on-surface-variant);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 12px;
}

.text-highlight {
    color: var(--primary-dim);
    font-weight: 600;
}

.mission-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}

.mission-tag {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    padding: 6px 14px;
    background: rgba(0, 220, 229, 0.06);
    border: 1px solid rgba(0, 220, 229, 0.12);
    border-radius: 4px;
    color: var(--primary-dim);
    letter-spacing: 0.5px;
}

.mission-tag.tag-active {
    background: rgba(139, 220, 0, 0.08);
    border-color: rgba(139, 220, 0, 0.2);
    color: var(--secondary-dim);
}

.mission-avatar {
    text-align: center;
}

.avatar-img {
    width: 200px;
    height: 200px;
    border-radius: 12px;
    object-fit: cover;
    border: 2px solid var(--outline-variant);
    margin-bottom: 12px;
}

.avatar-label {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.avatar-name {
    font-family: var(--font-headline);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--primary);
}

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

/* ========================================
   PROJECTS
======================================== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 48px;
}

.project-card {
    background: var(--surface-container);
    border: 1px solid rgba(58, 73, 74, 0.3);
    border-radius: 16px;
    padding: 28px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(20px);
}

.project-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.project-card:hover {
    border-color: rgba(0, 220, 229, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 0 30px rgba(0, 220, 229, 0.06);
}

.project-card.visible:hover {
    transform: translateY(-4px);
}

.project-featured {
    grid-column: span 1;
    grid-row: span 2;
    background: linear-gradient(160deg, var(--surface-container), rgba(0, 220, 229, 0.03));
    border-color: rgba(0, 220, 229, 0.15);
}

.project-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    color: var(--text-muted);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--outline-variant);
}

.status-indicator.active {
    background: var(--secondary-dim);
    box-shadow: 0 0 8px rgba(139, 220, 0, 0.4);
}

.project-name {
    font-family: var(--font-headline);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.project-desc {
    font-size: 0.88rem;
    color: var(--on-surface-variant);
    line-height: 1.6;
    margin-bottom: 16px;
    flex: 1;
}

.project-metrics {
    display: flex;
    gap: 24px;
    margin-bottom: 20px;
    padding: 16px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
}

.metric {
    display: flex;
    flex-direction: column;
}

.metric-value {
    font-family: var(--font-headline);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-dim);
}

.metric-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.project-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 16px;
}

.project-stack span {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    padding: 3px 10px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 4px;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

.project-actions {
    display: flex;
    gap: 12px;
    margin-top: auto;
}

.project-link {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-headline);
    font-size: 0.82rem;
    color: var(--primary-dim);
    padding: 8px 16px;
    border: 1px solid rgba(0, 220, 229, 0.15);
    border-radius: 6px;
    transition: all 0.2s;
}

.project-link:hover {
    background: rgba(0, 220, 229, 0.06);
    border-color: rgba(0, 220, 229, 0.3);
}

.project-link .material-symbols-outlined {
    font-size: 16px;
}

/* Concept CTA */
.concept-cta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px;
    background: linear-gradient(135deg, rgba(0, 220, 229, 0.06), rgba(139, 220, 0, 0.04));
    border: 1px solid rgba(0, 220, 229, 0.12);
    border-radius: 16px;
}

.concept-title {
    font-family: var(--font-headline);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -1px;
    margin-bottom: 4px;
}

.concept-desc {
    color: var(--on-surface-variant);
    font-size: 0.95rem;
}

/* ========================================
   TIMELINE (Experience)
======================================== */
.timeline {
    max-width: 900px;
    position: relative;
}

.timeline-item {
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 24px;
    margin-bottom: 0;
    opacity: 0;
    transform: translateY(20px);
}

.timeline-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.timeline-marker {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.marker-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--surface-container-high);
    border: 2px solid var(--outline-variant);
    flex-shrink: 0;
    z-index: 1;
    transition: all 0.3s;
}

.marker-dot.active {
    background: var(--primary-dim);
    border-color: var(--primary-dim);
    box-shadow: 0 0 12px rgba(0, 220, 229, 0.4);
}

.marker-line {
    width: 2px;
    flex: 1;
    background: linear-gradient(to bottom, var(--outline-variant), transparent);
    min-height: 40px;
}

.timeline-content {
    background: var(--surface-container);
    border: 1px solid rgba(58, 73, 74, 0.3);
    border-radius: 12px;
    padding: 28px;
    margin-bottom: 24px;
    transition: all 0.3s;
}

.timeline-content:hover {
    border-color: rgba(0, 220, 229, 0.2);
    box-shadow: 0 0 20px rgba(0, 220, 229, 0.05);
}

.timeline-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.timeline-date {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--primary-dim);
    letter-spacing: 1px;
    font-weight: 600;
}

.timeline-status-badge {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    padding: 2px 8px;
    background: rgba(139, 220, 0, 0.1);
    border: 1px solid rgba(139, 220, 0, 0.2);
    color: var(--secondary-dim);
    border-radius: 3px;
    letter-spacing: 2px;
}

.timeline-role {
    font-family: var(--font-headline);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.5px;
    margin-bottom: 4px;
}

.timeline-company {
    font-family: var(--font-mono);
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.timeline-details {
    list-style: none;
    margin-bottom: 16px;
}

.timeline-details li {
    display: flex;
    gap: 12px;
    font-size: 0.9rem;
    color: var(--on-surface-variant);
    line-height: 1.6;
    margin-bottom: 8px;
}

.detail-arrow {
    color: var(--secondary-dim);
    font-family: var(--font-mono);
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 2px;
}

.timeline-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.timeline-tags span {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    padding: 3px 10px;
    background: rgba(0, 220, 229, 0.06);
    border: 1px solid rgba(0, 220, 229, 0.1);
    border-radius: 4px;
    color: var(--primary-dim);
    letter-spacing: 0.5px;
}

/* ========================================
   CONTACT
======================================== */
.contact-cards-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.contact-card-v2 {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 24px 32px;
    background: var(--surface-container);
    border: 1px solid rgba(58, 73, 74, 0.3);
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow: hidden;
    cursor: pointer;
}

.contact-card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(0, 220, 229, 0.08), transparent 60%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.contact-card-v2:hover .contact-card-glow {
    opacity: 1;
}

.contact-card-v2:hover {
    border-color: rgba(0, 220, 229, 0.4);
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 220, 229, 0.1), 0 0 40px rgba(0, 220, 229, 0.05);
}

.contact-card-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 220, 229, 0.08);
    border: 1px solid rgba(0, 220, 229, 0.12);
    border-radius: 16px;
    color: var(--primary-dim);
    margin-bottom: 20px;
    transition: all 0.4s ease;
}

.contact-card-v2:hover .contact-card-icon {
    background: rgba(0, 220, 229, 0.15);
    border-color: rgba(0, 220, 229, 0.3);
    box-shadow: 0 0 24px rgba(0, 220, 229, 0.2);
    transform: scale(1.1);
}

.contact-card-label {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    color: var(--text-muted);
    letter-spacing: 3px;
    margin-bottom: 8px;
}

.contact-card-value {
    font-family: var(--font-headline);
    font-size: 0.95rem;
    color: var(--primary);
    font-weight: 600;
    letter-spacing: -0.3px;
    margin-bottom: 16px;
    word-break: break-all;
}

.contact-card-arrow {
    font-size: 18px;
    color: var(--outline);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translate(-4px, 4px);
}

.contact-card-v2:hover .contact-card-arrow {
    opacity: 1;
    color: var(--primary-dim);
    transform: translate(0, 0);
}

/* Documentation Panel */
.doc-panel {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.doc-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.doc-item .material-symbols-outlined {
    font-size: 18px;
    color: var(--outline);
}

.doc-item strong {
    color: var(--primary-dim);
    font-family: var(--font-mono);
    font-size: 0.78rem;
    letter-spacing: 0.5px;
}

/* ========================================
   FOOTER
======================================== */
.footer {
    padding: 40px 0;
    border-top: 1px solid rgba(58, 73, 74, 0.2);
    background: var(--surface-container-lowest);
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-brand {
    font-family: var(--font-headline);
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.5px;
}

.footer-links {
    display: flex;
    gap: 16px;
}

.footer-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface-container);
    border: 1px solid rgba(58, 73, 74, 0.3);
    border-radius: 8px;
    color: var(--on-surface-variant);
    font-size: 1rem;
    transition: all 0.2s;
}

.footer-links a:hover {
    color: var(--primary-dim);
    border-color: rgba(0, 220, 229, 0.3);
    background: rgba(0, 220, 229, 0.06);
    transform: translateY(-2px);
}

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

.text-cyan { color: var(--primary-dim); }
.text-green { color: var(--secondary-dim); }

/* ========================================
   ANIMATIONS
======================================== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-content > * {
    animation: fadeInUp 0.7s ease-out both;
}

.hero-content > *:nth-child(1) { animation-delay: 0.1s; }
.hero-content > *:nth-child(2) { animation-delay: 0.2s; }
.hero-content > *:nth-child(3) { animation-delay: 0.3s; }
.hero-content > *:nth-child(4) { animation-delay: 0.4s; }

.terminal-window {
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

/* ========================================
   RESPONSIVE
======================================== */
/* ========================================
   RESPONSIVE — Mobile First
======================================== */

/* --- Base: Mobile (default, no media query) --- */
.container { padding: 0 16px; }

.section { padding: 60px 0; }

.nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(16, 20, 26, 0.95);
    backdrop-filter: blur(20px);
    padding: 16px 20px;
    gap: 8px;
    border-bottom: 1px solid rgba(58, 73, 74, 0.3);
}

.nav-links.active { display: flex; }
.nav-toggle { display: flex; }
.nav-resume-btn { display: none; }

.hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 32px 16px;
}

.hero-title {
    font-size: 2.2rem;
}

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

.bento-grid,
.projects-grid {
    grid-template-columns: 1fr;
}

.bento-large {
    grid-column: span 1;
    grid-row: span 1;
}

.project-featured {
    grid-column: span 1;
    grid-row: span 1;
}

.mission-panel {
    grid-template-columns: 1fr;
    padding: 24px;
    gap: 24px;
}

.mission-avatar {
    display: flex;
    align-items: center;
    gap: 16px;
}

.avatar-img {
    width: 100px;
    height: 100px;
}

.contact-cards-row {
    grid-template-columns: 1fr;
    max-width: 100%;
}

.contact-card-v2 {
    padding: 28px 20px 24px;
}

.timeline-item {
    grid-template-columns: 24px 1fr;
    gap: 12px;
}

.marker-dot {
    width: 12px;
    height: 12px;
}

.timeline-content {
    padding: 20px;
}

.timeline-role {
    font-size: 1.1rem;
}

.doc-panel {
    flex-direction: column;
    gap: 12px;
}

.footer-content {
    flex-direction: column;
    text-align: center;
}

.evolution-panel {
    padding: 20px;
}

.evolution-header {
    flex-direction: column;
    gap: 12px;
}

.scroll-indicator {
    display: none;
}

.section-title {
    font-size: 1.8rem;
}

.nav-container {
    padding: 0 16px;
}

.terminal-body {
    padding: 16px;
    font-size: 0.78rem;
}

.btn-primary,
.btn-outline {
    padding: 12px 24px;
    font-size: 0.85rem;
}

.project-card {
    padding: 20px;
}

.bento-card {
    padding: 20px;
}

/* --- Tablet: 769px and up --- */
@media (min-width: 769px) {
    .container { padding: 0 32px; }

    .section { padding: 100px 0; }

    .nav-links {
        display: flex;
        position: static;
        flex-direction: row;
        background: none;
        backdrop-filter: none;
        padding: 0;
        gap: 32px;
        border-bottom: none;
    }

    .nav-toggle { display: none; }
    .nav-resume-btn { display: flex; }
    .nav-container { padding: 0 32px; }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 60px 32px;
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .hero-desc {
        font-size: 1.1rem;
    }

    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .bento-large {
        grid-row: span 1;
    }

    .project-featured {
        grid-row: span 1;
    }

    .mission-panel {
        padding: 32px;
        gap: 32px;
    }

    .mission-avatar {
        display: flex;
        align-items: center;
        gap: 20px;
    }

    .avatar-img {
        width: 120px;
        height: 120px;
    }

    .contact-cards-row {
        grid-template-columns: repeat(3, 1fr);
        max-width: 900px;
    }

    .contact-card-v2 {
        padding: 40px 24px 32px;
    }

    .timeline-item {
        grid-template-columns: 40px 1fr;
        gap: 24px;
    }

    .marker-dot {
        width: 16px;
        height: 16px;
    }

    .timeline-content {
        padding: 28px;
    }

    .timeline-role {
        font-size: 1.3rem;
    }

    .doc-panel {
        flex-direction: row;
        gap: 48px;
    }

    .footer-content {
        flex-direction: row;
        text-align: left;
    }

    .evolution-panel {
        padding: 28px;
    }

    .evolution-header {
        flex-direction: row;
    }

    .scroll-indicator {
        display: flex;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .terminal-body {
        padding: 24px;
        font-size: 0.85rem;
    }

    .btn-primary,
    .btn-outline {
        padding: 16px 32px;
        font-size: 0.9rem;
    }

    .project-card {
        padding: 28px;
    }

    .bento-card {
        padding: 28px;
    }
}

/* --- Desktop: 1025px and up --- */
@media (min-width: 1025px) {
    .hero-grid {
        grid-template-columns: 7fr 5fr;
        gap: 48px;
        padding: 80px 32px;
    }

    .bento-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .bento-large {
        grid-row: span 2;
    }

    .projects-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .project-featured {
        grid-row: span 2;
    }

    .mission-panel {
        grid-template-columns: 1fr auto;
        gap: 48px;
        padding: 40px;
    }

    .mission-avatar {
        display: block;
        text-align: center;
    }

    .avatar-img {
        width: 200px;
        height: 200px;
    }
}
