﻿/* ===========================================
   Theme: Tech Portfolio - Luting He
   Dark / Cyber Blue / Premium
   =========================================== */

/* --- Reset & Base --- */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }
body {
    font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
    background:#08080f;
    color:#d0d0e0;
    overflow-x:hidden;
    line-height:1.7;
    -webkit-font-smoothing:antialiased;
}

::selection { background:rgba(0,212,255,0.3); color:#fff; }
::-webkit-scrollbar { width:6px; }
::-webkit-scrollbar-track { background:#0a0a12; }
::-webkit-scrollbar-thumb { background:rgba(0,212,255,0.3); border-radius:3px; }
::-webkit-scrollbar-thumb:hover { background:rgba(0,212,255,0.5); }

/* --- CSS Variables --- */
:root {
    --bg-primary:#08080f;
    --bg-secondary:#0c0c18;
    --bg-card:#111122;
    --bg-card-hover:#16162a;
    --accent-primary:#00d4ff;
    --accent-secondary:#7c3aed;
    --accent-glow:rgba(0,212,255,0.15);
    --text-primary:#e0e0f0;
    --text-secondary:#9898b0;
    --text-muted:#5a5a78;
    --border-color:rgba(0,212,255,0.08);
    --border-glow:rgba(0,212,255,0.2);
    --font-mono:'JetBrains Mono','Fira Code',monospace;
    --font-display:'Space Grotesk','Inter',sans-serif;
    --container-width:1700px;
    --nav-height:68px;
}

/* --- Particle Canvas --- */
#particleCanvas {
    position:fixed; top:0; left:0; width:100vw; height:100vh;
    z-index:0; pointer-events:none; opacity:0.4;
}

/* --- Container --- */
.container {
    max-width:var(--container-width);
    margin:0 auto;
    padding:0 40px;
    position:relative;
    z-index:1;
}

/* --- Navigation --- */
.navbar {
    position:fixed; top:0; left:0; right:0;
    height:var(--nav-height);
    z-index:1000;
    transition:all 0.4s cubic-bezier(0.16,1,0.3,1);
    background:transparent;
}
.navbar.scrolled {
    background:rgba(8,8,15,0.85);
    backdrop-filter:blur(24px) saturate(1.4);
    border-bottom:1px solid var(--border-color);
    box-shadow:0 1px 40px rgba(0,0,0,0.5);
}
.nav-inner {
    max-width:var(--container-width);
    margin:0 auto;
    padding:0 40px;
    height:100%;
    display:flex;
    align-items:center;
    justify-content:space-between;
}
.nav-logo {
    font-family:var(--font-display);
    font-size:1.5rem;
    font-weight:700;
    color:var(--text-primary);
    text-decoration:none;
    letter-spacing:-0.5px;
}
.accent-dot { color:var(--accent-primary); }
.nav-links {
    display:flex;
    list-style:none;
    gap:4px;
    align-items:center;
}
.nav-link {
    font-size:0.82rem;
    font-weight:500;
    color:var(--text-secondary);
    text-decoration:none;
    padding:8px 14px;
    border-radius:8px;
    transition:all 0.25s ease;
    letter-spacing:0.3px;
    position:relative;
}
.nav-link:hover { color:var(--text-primary); background:rgba(255,255,255,0.04); }
.nav-link.active { color:var(--accent-primary); }
.contact-btn {
    background:linear-gradient(135deg,var(--accent-primary),#0099cc);
    color:#08080f !important;
    font-weight:600;
    padding:8px 20px;
    border-radius:8px;
    margin-left:8px;
}
.contact-btn:hover { background:linear-gradient(135deg,#33ddff,#00bbee); transform:translateY(-1px); }

/* Nav Toggle (Mobile) */
.nav-toggle {
    display:none;
    flex-direction:column;
    gap:5px;
    background:none;
    border:none;
    cursor:pointer;
    padding:4px;
}
.nav-toggle span {
    display:block;
    width:24px; height:2px;
    background:var(--text-primary);
    border-radius:2px;
    transition:all 0.3s ease;
}

/* --- Reveal Animations --- */
.reveal {
    opacity:0;
    transform:translateY(30px);
    transition:all 0.7s cubic-bezier(0.16,1,0.3,1);
}
.reveal.visible {
    opacity:1;
    transform:translateY(0);
}
.reveal-delay-1 { transition-delay:0.1s; }
.reveal-delay-2 { transition-delay:0.2s; }
.reveal-delay-3 { transition-delay:0.3s; }
.reveal-delay-4 { transition-delay:0.4s; }

/* --- Hero Section --- */
.hero {
    min-height:100vh;
    display:flex;
    align-items:center;
    justify-content:center;
    position:relative;
    padding:120px 40px 80px;
    overflow:hidden;
}
.hero-grid-bg {
    position:absolute;
    inset:0;
    background:
        linear-gradient(rgba(0,212,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,212,255,0.03) 1px, transparent 1px);
    background-size:60px 60px;
    mask-image:radial-gradient(ellipse at 50% 40%, black 20%, transparent 70%);
    -webkit-mask-image:radial-gradient(ellipse at 50% 40%, black 20%, transparent 70%);
}
.hero::before {
    content:'';
    position:absolute;
    top:-30%; left:-20%;
    width:80%; height:80%;
    background:radial-gradient(ellipse at center, rgba(0,212,255,0.06), transparent 70%);
    pointer-events:none;
}
.hero::after {
    content:'';
    position:absolute;
    bottom:-30%; right:-20%;
    width:80%; height:80%;
    background:radial-gradient(ellipse at center, rgba(124,58,237,0.05), transparent 70%);
    pointer-events:none;
}
.hero-content {
    text-align:center;
    position:relative;
    z-index:1;
    max-width:900px;
}
.hero-badge {
    display:inline-block;
    font-family:var(--font-mono);
    font-size:0.8rem;
    color:var(--accent-primary);
    border:1px solid rgba(0,212,255,0.2);
    padding:6px 18px;
    border-radius:20px;
    margin-bottom:28px;
    letter-spacing:1px;
    background:rgba(0,212,255,0.04);
}
.hero-title {
    font-family:var(--font-display);
    font-size:4.2rem;
    font-weight:800;
    color:var(--text-primary);
    line-height:1.1;
    margin-bottom:8px;
    letter-spacing:-1.5px;
}
.hero-subtitle {
    display:block;
    font-size:1.5rem;
    font-weight:400;
    color:var(--text-muted);
    letter-spacing:2px;
    margin-top:4px;
}
.hero-tagline {
    font-size:1.15rem;
    color:var(--accent-primary);
    margin:20px 0 12px;
    font-family:var(--font-mono);
    min-height:1.8em;
}
.typing-text { color:var(--accent-primary); }
.cursor-blink {
    color:var(--accent-primary);
    animation:blink 0.8s step-end infinite;
}
@keyframes blink { 50% { opacity:0; } }
.hero-desc {
    font-size:1.05rem;
    color:var(--text-secondary);
    line-height:1.8;
    margin-bottom:36px;
}
.hero-actions {
    display:flex;
    gap:16px;
    justify-content:center;
    margin-bottom:50px;
}
.btn-primary, .btn-outline {
    display:inline-flex;
    align-items:center;
    gap:8px;
    padding:14px 32px;
    border-radius:10px;
    font-size:0.95rem;
    font-weight:600;
    text-decoration:none;
    transition:all 0.3s cubic-bezier(0.16,1,0.3,1);
    cursor:pointer;
    border:none;
}
.btn-primary {
    background:linear-gradient(135deg,var(--accent-primary),#0099cc);
    color:#08080f;
}
.btn-primary:hover {
    transform:translateY(-2px);
    box-shadow:0 8px 30px rgba(0,212,255,0.3);
}
.btn-outline {
    border:1.5px solid rgba(255,255,255,0.15);
    color:var(--text-primary);
    background:transparent;
}
.btn-outline:hover {
    border-color:var(--accent-primary);
    background:rgba(0,212,255,0.06);
    transform:translateY(-2px);
}
.hero-stats {
    display:flex;
    align-items:center;
    justify-content:center;
    gap:0;
    padding:24px 0;
}
.stat-item {
    display:flex;
    flex-direction:column;
    align-items:center;
    padding:0 32px;
}
.stat-num {
    font-family:var(--font-display);
    font-size:1.8rem;
    font-weight:700;
    color:var(--text-primary);
}
.stat-label {
    font-size:0.8rem;
    color:var(--text-muted);
    margin-top:2px;
    letter-spacing:0.5px;
}
.stat-divider {
    width:1px;
    height:40px;
    background:linear-gradient(to bottom, transparent, var(--border-color), transparent);
}
.scroll-indicator {
    position:absolute;
    bottom:30px;
    left:50%;
    transform:translateX(-50%);
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:8px;
    color:var(--text-muted);
    font-size:0.7rem;
    letter-spacing:2px;
    font-family:var(--font-mono);
}
.scroll-line {
    width:1px;
    height:30px;
    background:linear-gradient(to bottom, var(--text-muted), transparent);
    animation:scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
    0%,100% { opacity:0.3; transform:scaleY(1); }
    50% { opacity:0.8; transform:scaleY(0.6); }
}

/* --- Section Common --- */
.section {
    padding:110px 0;
    position:relative;
}
.section-dark {
    background:var(--bg-secondary);
}
.section-header {
    text-align:center;
    margin-bottom:60px;
}
.section-number {
    font-family:var(--font-mono);
    font-size:0.85rem;
    color:var(--accent-primary);
    letter-spacing:3px;
    display:block;
    margin-bottom:10px;
}
.section-header h2 {
    font-family:var(--font-display);
    font-size:2.8rem;
    font-weight:700;
    color:var(--text-primary);
    letter-spacing:-1px;
    margin-bottom:8px;
}
.section-sub {
    font-size:1rem;
    color:var(--text-muted);
    letter-spacing:2px;
    font-weight:400;
}
.section-desc {
    text-align:center;
    color:var(--text-secondary);
    max-width:700px;
    margin:0 auto 50px;
    font-size:0.95rem;
}

/* --- About Section --- */
.about-grid {
    display:grid;
    grid-template-columns:1.2fr 1fr;
    gap:60px;
    align-items:start;
}
.about-text p {
    margin-bottom:20px;
    font-size:1rem;
    line-height:1.9;
    color:var(--text-secondary);
}
.highlight-text {
    color:var(--accent-primary);
    font-weight:500;
}
.info-card {
    background:var(--bg-card);
    border:1px solid var(--border-color);
    border-radius:16px;
    padding:28px 32px;
    backdrop-filter:blur(10px);
}
.info-row {
    display:flex;
    justify-content:space-between;
    padding:12px 0;
    border-bottom:1px solid rgba(255,255,255,0.04);
}
.info-row:last-child { border-bottom:none; }
.info-label {
    color:var(--text-muted);
    font-size:0.85rem;
    font-weight:500;
}
.info-value {
    color:var(--text-primary);
    font-size:0.9rem;
    font-weight:500;
}
.tag-value {
    color:var(--accent-primary);
    font-family:var(--font-mono);
    font-size:0.82rem;
}

/* --- Competency Section --- */
.competency-grid {
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:24px;
}
.comp-card {
    background:var(--bg-card);
    border:1px solid var(--border-color);
    border-radius:16px;
    padding:32px;
    transition:all 0.4s cubic-bezier(0.16,1,0.3,1);
    position:relative;
    overflow:hidden;
}
.comp-card::before {
    content:'';
    position:absolute;
    top:0; left:0; right:0;
    height:2px;
    background:linear-gradient(90deg, transparent, var(--accent-primary), transparent);
    opacity:0;
    transition:opacity 0.4s ease;
}
.comp-card:hover {
    border-color:rgba(0,212,255,0.15);
    transform:translateY(-4px);
    box-shadow:0 20px 60px rgba(0,0,0,0.3), 0 0 40px rgba(0,212,255,0.03);
}
.comp-card:hover::before { opacity:1; }
.comp-icon {
    width:48px; height:48px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:12px;
    background:rgba(0,212,255,0.06);
    color:var(--accent-primary);
    margin-bottom:16px;
}
.comp-card h3 {
    font-size:1.05rem;
    font-weight:600;
    color:var(--text-primary);
    margin-bottom:12px;
}
.comp-evidence p {
    font-size:0.85rem;
    color:var(--text-secondary);
    line-height:1.7;
    margin-bottom:16px;
}
.comp-evidence strong { color:var(--text-primary); }
.comp-reference {
    background:rgba(124,58,237,0.04);
    border:1px solid rgba(124,58,237,0.1);
    border-radius:10px;
    padding:14px;
    margin-top:4px;
}
.ref-badge {
    font-family:var(--font-mono);
    font-size:0.7rem;
    color:var(--accent-secondary);
    letter-spacing:1px;
    display:block;
    margin-bottom:6px;
}
.comp-reference p {
    font-size:0.8rem;
    color:var(--text-secondary);
    line-height:1.6;
}

/* --- Timeline (Experience) --- */
.timeline {
    position:relative;
    max-width:900px;
    margin:0 auto;
    padding-left:40px;
}
.timeline::before {
    content:'';
    position:absolute;
    left:14px;
    top:0;
    bottom:0;
    width:1.5px;
    background:linear-gradient(to bottom, var(--accent-primary), var(--accent-secondary), transparent);
}
.timeline-item {
    position:relative;
    margin-bottom:50px;
}
.timeline-item:last-child { margin-bottom:0; }
.timeline-dot {
    position:absolute;
    left:-40px;
    top:8px;
    width:12px; height:12px;
    border-radius:50%;
    background:var(--accent-primary);
    border:3px solid var(--bg-primary);
    box-shadow:0 0 20px rgba(0,212,255,0.3);
}
.timeline-date {
    font-family:var(--font-mono);
    font-size:0.8rem;
    color:var(--accent-primary);
    margin-bottom:10px;
    letter-spacing:1px;
}
.timeline-card {
    background:var(--bg-card);
    border:1px solid var(--border-color);
    border-radius:16px;
    padding:32px;
    transition:all 0.3s ease;
}
.timeline-card:hover {
    border-color:rgba(0,212,255,0.12);
    box-shadow:0 12px 40px rgba(0,0,0,0.2);
}
.timeline-card-header {
    margin-bottom:16px;
}
.timeline-card-header h3 {
    font-size:1.15rem;
    font-weight:600;
    color:var(--text-primary);
}
.company {
    font-size:0.85rem;
    color:var(--accent-primary);
    font-weight:500;
}
.timeline-details {
    list-style:none;
}
.timeline-details li {
    padding:6px 0;
    font-size:0.9rem;
    color:var(--text-secondary);
    line-height:1.7;
    padding-left:18px;
    position:relative;
}
.timeline-details li::before {
    content:'';
    position:absolute;
    left:0;
    top:14px;
    width:6px; height:6px;
    border-radius:50%;
    background:var(--accent-secondary);
    opacity:0.5;
}
.timeline-tags {
    display:flex;
    gap:8px;
    flex-wrap:wrap;
    margin-top:14px;
}
.timeline-tags span {
    font-size:0.72rem;
    padding:4px 12px;
    border-radius:6px;
    background:rgba(0,212,255,0.06);
    color:var(--accent-primary);
    border:1px solid rgba(0,212,255,0.1);
    font-family:var(--font-mono);
}

/* --- Projects Grid --- */
.projects-grid {
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:28px;
}
.project-card {
    background:var(--bg-card);
    border:1px solid var(--border-color);
    border-radius:16px;
    padding:36px 32px;
    position:relative;
    overflow:hidden;
    transition:all 0.4s cubic-bezier(0.16,1,0.3,1);
}
.project-card-glow {
    position:absolute;
    top:-50%; right:-50%;
    width:100%; height:100%;
    background:radial-gradient(circle, rgba(0,212,255,0.04), transparent 70%);
    transition:all 0.6s ease;
    pointer-events:none;
}
.project-card:hover {
    transform:translateY(-6px);
    border-color:rgba(0,212,255,0.15);
    box-shadow:0 24px 60px rgba(0,0,0,0.3);
}
.project-card:hover .project-card-glow {
    opacity:0.6;
    transform:scale(1.5);
}
.project-number {
    font-family:var(--font-display);
    font-size:3rem;
    font-weight:800;
    color:rgba(0,212,255,0.06);
    position:absolute;
    top:16px;
    right:24px;
    line-height:1;
    pointer-events:none;
}
.project-card h3 {
    font-size:1.05rem;
    font-weight:600;
    color:var(--text-primary);
    line-height:1.4;
    margin-bottom:6px;
    min-height:2.8em;
}
.project-role {
    font-size:0.78rem;
    color:var(--accent-primary);
    font-family:var(--font-mono);
    margin-bottom:14px;
}
.project-summary {
    font-size:0.85rem;
    color:var(--text-secondary);
    line-height:1.7;
    margin-bottom:14px;
}
.project-details {
    list-style:none;
    margin-bottom:16px;
}
.project-details li {
    font-size:0.82rem;
    color:var(--text-muted);
    padding:4px 0;
    padding-left:16px;
    position:relative;
    line-height:1.6;
}
.project-details li::before {
    content:'›';
    position:absolute;
    left:0;
    color:var(--accent-primary);
    font-weight:700;
}
.project-tags {
    display:flex;
    gap:6px;
    flex-wrap:wrap;
}
.project-tags span {
    font-size:0.7rem;
    padding:3px 10px;
    border-radius:5px;
    background:rgba(0,212,255,0.05);
    color:var(--text-muted);
    border:1px solid rgba(255,255,255,0.06);
    font-family:var(--font-mono);
}

/* --- Data Analysis --- */
.data-grid {
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:24px;
}
.data-card {
    background:var(--bg-card);
    border:1px solid var(--border-color);
    border-radius:16px;
    padding:28px;
    transition:all 0.3s ease;
}
.data-card:hover {
    border-color:rgba(0,212,255,0.12);
    box-shadow:0 12px 40px rgba(0,0,0,0.15);
}
.data-card-header {
    display:flex;
    align-items:center;
    gap:12px;
    margin-bottom:20px;
}
.data-icon {
    width:40px; height:40px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:10px;
    background:rgba(0,212,255,0.06);
    color:var(--accent-primary);
}
.data-card-header h3 {
    font-size:0.95rem;
    font-weight:600;
    color:var(--text-primary);
}
.data-card p {
    font-size:0.85rem;
    color:var(--text-secondary);
    line-height:1.7;
    margin-top:16px;
}
.data-visual {
    margin-bottom:8px;
}
/* Bar chart */
.bar-chart {
    display:flex;
    justify-content:space-around;
    align-items:flex-end;
    height:120px;
    padding:10px 0;
}
.bar {
    width:50px;
    height:var(--h);
    background:linear-gradient(to top, rgba(0,212,255,0.2), rgba(0,212,255,0.5));
    border-radius:4px 4px 0 0;
    position:relative;
    transition:height 1s cubic-bezier(0.16,1,0.3,1);
}
.bar span {
    position:absolute;
    bottom:-24px;
    left:50%;
    transform:translateX(-50%);
    font-size:0.7rem;
    color:var(--text-muted);
    white-space:nowrap;
    font-family:var(--font-mono);
}
/* Metric display */
.metric-display {
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:12px;
    padding:16px 0;
}
.metric-item {
    text-align:center;
    padding:12px 8px;
    border-radius:10px;
    background:rgba(0,212,255,0.03);
    border:1px solid rgba(0,212,255,0.06);
}
.metric-value {
    display:block;
    font-family:var(--font-display);
    font-size:1.2rem;
    font-weight:700;
    color:var(--accent-primary);
}
.metric-label {
    display:block;
    font-size:0.72rem;
    color:var(--text-muted);
    margin-top:4px;
}
/* Line chart */
.line-chart-placeholder {
    padding:12px 0;
}
.line-chart-svg { width:100%; height:80px; }
.chart-legend {
    display:flex;
    gap:20px;
    justify-content:center;
    margin-top:8px;
    font-size:0.72rem;
    color:var(--text-muted);
    font-family:var(--font-mono);
}
.legend-line {
    display:inline-block;
    width:16px; height:2px;
    margin-right:6px;
    vertical-align:middle;
}
.legend-line.solid { background:var(--accent-primary); }
.legend-line.dashed { background:var(--accent-secondary); }

/* --- Insight Section --- */
.insight-text {
    max-width:900px;
    margin:0 auto;
}
.insight-text h3 {
    font-size:1.5rem;
    font-weight:600;
    color:var(--text-primary);
    margin-bottom:24px;
    text-align:center;
}
.insight-text p {
    font-size:0.95rem;
    color:var(--text-secondary);
    line-height:1.9;
    margin-bottom:18px;
}
.insight-cards {
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:24px;
    margin-top:50px;
}
.insight-card {
    background:var(--bg-card);
    border:1px solid var(--border-color);
    border-radius:16px;
    padding:32px;
    text-align:center;
    transition:all 0.3s ease;
}
.insight-card:hover {
    transform:translateY(-4px);
    border-color:rgba(0,212,255,0.12);
}
.insight-card-icon {
    width:56px; height:56px;
    margin:0 auto 16px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:14px;
    background:rgba(0,212,255,0.06);
    color:var(--accent-primary);
}
.insight-card h4 {
    font-size:1rem;
    font-weight:600;
    color:var(--text-primary);
    margin-bottom:10px;
}
.insight-card p {
    font-size:0.85rem;
    color:var(--text-secondary);
    line-height:1.7;
}

/* --- English Section --- */
.english-card {
    background:var(--bg-card);
    border:1px solid var(--border-color);
    border-radius:16px;
    padding:36px;
    max-width:900px;
    margin:0 auto;
}
.english-card-header {
    display:flex;
    align-items:center;
    gap:12px;
    margin-bottom:24px;
}
.lang-tag {
    font-family:var(--font-mono);
    font-size:0.8rem;
    font-weight:600;
    color:var(--accent-primary);
    background:rgba(0,212,255,0.08);
    padding:4px 12px;
    border-radius:6px;
}
.lang-label {
    font-size:0.95rem;
    color:var(--text-primary);
    font-weight:500;
}
.english-text {
    font-size:0.92rem;
    color:var(--text-secondary);
    line-height:1.85;
    margin-bottom:16px;
}
.english-text:last-child { margin-bottom:0; }
.english-badges {
    display:flex;
    gap:16px;
    justify-content:center;
    margin-top:28px;
    flex-wrap:wrap;
}
.badge-item {
    background:var(--bg-card);
    border:1px solid var(--border-color);
    border-radius:12px;
    padding:16px 24px;
    text-align:center;
    min-width:140px;
}
.badge-label {
    display:block;
    font-family:var(--font-mono);
    font-size:0.82rem;
    font-weight:600;
    color:var(--accent-primary);
    margin-bottom:4px;
}
.badge-desc {
    display:block;
    font-size:0.78rem;
    color:var(--text-muted);
}

/* --- Contact Section --- */
.contact-content {
    text-align:center;
}
.contact-grid {
    display:flex;
    justify-content:center;
    gap:32px;
    flex-wrap:wrap;
    margin-bottom:40px;
}
.contact-item {
    display:flex;
    align-items:center;
    gap:12px;
    padding:16px 24px;
    background:var(--bg-card);
    border:1px solid var(--border-color);
    border-radius:12px;
    transition:all 0.3s ease;
}
.contact-item:hover {
    border-color:rgba(0,212,255,0.15);
    transform:translateY(-2px);
}
.contact-icon {
    width:40px; height:40px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:10px;
    background:rgba(0,212,255,0.06);
    color:var(--accent-primary);
    flex-shrink:0;
}
.contact-link {
    font-size:0.9rem;
    color:var(--text-primary);
    text-decoration:none;
    font-weight:500;
}
.contact-link:hover { color:var(--accent-primary); }
.contact-label {
    font-size:0.72rem;
    color:var(--text-muted);
    font-family:var(--font-mono);
    margin-left:4px;
}
.contact-cta {
    margin-bottom:40px;
}
.contact-cta p {
    font-size:0.95rem;
    color:var(--text-secondary);
    margin-bottom:20px;
}
.contact-footer {
    padding-top:30px;
    border-top:1px solid var(--border-color);
}
.contact-footer p {
    font-size:0.78rem;
    color:var(--text-muted);
    font-family:var(--font-mono);
}

/* --- Responsive --- */
@media (max-width: 1400px) {
    .competency-grid { grid-template-columns:repeat(2,1fr); }
    .projects-grid { grid-template-columns:repeat(2,1fr); }
    .data-grid { grid-template-columns:repeat(2,1fr); }
}
@media (max-width: 1024px) {
    .container { padding:0 24px; }
    .hero-title { font-size:3rem; }
    .about-grid { grid-template-columns:1fr; gap:40px; }
    .competency-grid { grid-template-columns:1fr; }
    .projects-grid { grid-template-columns:1fr; }
    .data-grid { grid-template-columns:1fr; }
    .insight-cards { grid-template-columns:1fr; }
    .nav-links { display:none; }
    .nav-links.open {
        display:flex;
        flex-direction:column;
        position:fixed;
        top:var(--nav-height);
        left:0; right:0;
        background:rgba(8,8,15,0.98);
        backdrop-filter:blur(20px);
        padding:20px;
        gap:8px;
        border-bottom:1px solid var(--border-color);
    }
    .nav-toggle { display:flex; }
    .contact-btn { margin-left:0; }
    .hero-stats { flex-wrap:wrap; gap:12px; }
    .stat-divider { display:none; }
    .stat-item { padding:8px 16px; }
    .timeline { padding-left:30px; }
    .timeline-dot { left:-30px; }
    .section-header h2 { font-size:2.2rem; }
    .english-badges { flex-direction:column; align-items:center; }
    .contact-grid { flex-direction:column; align-items:center; }
}
@media (max-width: 600px) {
    .hero { padding:100px 20px 60px; }
    .hero-title { font-size:2.2rem; }
    .hero-subtitle { font-size:1.1rem; }
    .hero-actions { flex-direction:column; align-items:center; }
    .section { padding:70px 0; }
    .section-header h2 { font-size:1.8rem; }
    .nav-inner { padding:0 20px; }
    .container { padding:0 16px; }
    .timeline-card { padding:20px; }
}
/* --- Benchmark (Industry Case Studies) --- */
.benchmark-grid {
    display:flex;
    flex-direction:column;
    gap:16px;
    margin-top:40px;
}
.benchmark-card {
    background:var(--bg-card);
    border:1px solid var(--border-color);
    border-radius:16px;
    overflow:hidden;
    transition:all 0.3s ease;
}
.benchmark-card:hover {
    border-color:rgba(0,212,255,0.12);
}
.benchmark-header {
    display:flex;
    align-items:center;
    gap:16px;
    padding:24px 28px;
    cursor:pointer;
    user-select:none;
    transition:background 0.3s ease;
}
.benchmark-header:hover {
    background:rgba(0,212,255,0.02);
}
.benchmark-icon {
    width:44px; height:44px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:12px;
    background:rgba(0,212,255,0.06);
    color:var(--accent-primary);
    flex-shrink:0;
}
.benchmark-title {
    flex:1;
    min-width:0;
}
.benchmark-title h3 {
    font-size:1rem;
    font-weight:600;
    color:var(--text-primary);
    margin-bottom:4px;
}
.benchmark-companies {
    font-size:0.75rem;
    color:var(--text-muted);
    font-family:var(--font-mono);
    letter-spacing:0.3px;
}
.benchmark-arrow {
    color:var(--text-muted);
    transition:transform 0.4s cubic-bezier(0.16,1,0.3,1);
    flex-shrink:0;
}
.benchmark-card.active .benchmark-arrow {
    transform:rotate(180deg);
    color:var(--accent-primary);
}
.benchmark-body {
    max-height:0;
    overflow:hidden;
    transition:max-height 0.5s cubic-bezier(0.16,1,0.3,1), padding 0.4s ease, opacity 0.3s ease;
    opacity:0;
    padding:0 28px;
}
.benchmark-card.active .benchmark-body {
    max-height:3000px;
    opacity:1;
    padding:0 28px 28px;
}
.benchmark-mapping {
    padding:16px 20px;
    border-radius:12px;
    margin-bottom:20px;
    background:rgba(0,212,255,0.03);
    border-left:3px solid rgba(0,212,255,0.2);
}
.benchmark-mapping.reflection {
    background:rgba(124,58,237,0.04);
    border-left-color:rgba(124,58,237,0.3);
    margin-bottom:0;
    margin-top:8px;
}
.benchmark-mapping p {
    font-size:0.85rem;
    color:var(--text-secondary);
    line-height:1.7;
    margin-top:10px;
}
.bm-tag {
    display:inline-block;
    font-family:var(--font-mono);
    font-size:0.7rem;
    font-weight:600;
    letter-spacing:0.5px;
    padding:4px 10px;
    border-radius:6px;
    text-transform:uppercase;
}
.bm-tag.personal {
    color:#00d4ff;
    background:rgba(0,212,255,0.08);
}
.bm-tag.reflection {
    color:#a78bfa;
    background:rgba(124,58,237,0.08);
}
.benchmark-cases {
    display:flex;
    flex-direction:column;
    gap:16px;
    margin-bottom:20px;
}
.bm-case {
    padding:18px 20px;
    background:rgba(255,255,255,0.02);
    border-radius:10px;
    border-left:2px solid var(--border-color);
    transition:border-color 0.3s ease;
}
.bm-case:hover {
    border-left-color:rgba(0,212,255,0.15);
}
.bm-case-header {
    display:flex;
    align-items:baseline;
    gap:10px;
    margin-bottom:10px;
    flex-wrap:wrap;
}
.bm-company {
    font-size:0.85rem;
    font-weight:600;
    color:var(--accent-primary);
}
.bm-tagline {
    font-size:0.78rem;
    color:var(--text-secondary);
    font-style:italic;
}
.bm-case p {
    font-size:0.83rem;
    color:var(--text-secondary);
    line-height:1.8;
}
.bm-case strong {
    color:var(--text-primary);
}
.bm-case em {
    color:var(--accent-primary);
    font-style:normal;
}
.bm-key, .bm-match {
    display:flex;
    align-items:flex-start;
    gap:8px;
    margin-top:10px;
    padding:8px 12px;
    border-radius:8px;
    font-size:0.8rem;
    color:var(--text-secondary);
    line-height:1.6;
}
.bm-key {
    background:rgba(0,212,255,0.04);
}
.bm-match {
    background:rgba(255,200,50,0.04);
}
.bm-key-label {
    font-family:var(--font-mono);
    font-size:0.68rem;
    color:var(--accent-primary);
    white-space:nowrap;
    font-weight:500;
    padding:2px 8px;
    border-radius:4px;
    background:rgba(0,212,255,0.06);
    flex-shrink:0;
    margin-top:2px;
}
@media (max-width: 1024px) {
    .benchmark-header {
        padding:20px 20px;
    }
    .benchmark-body, .benchmark-card.active .benchmark-body {
        padding:0 20px;
    }
    .benchmark-card.active .benchmark-body {
        padding:0 20px 20px;
    }
    .bm-key, .bm-match {
        flex-direction:column;
    }
}
@media (max-width: 600px) {
    .benchmark-header {
        flex-wrap:wrap;
        gap:10px;
        padding:16px;
    }
    .benchmark-icon {
        width:36px; height:36px;
    }
    .benchmark-icon svg {
        width:18px; height:18px;
    }
    .benchmark-title h3 {
        font-size:0.9rem;
    }
    .benchmark-body, .benchmark-card.active .benchmark-body {
        padding:0 16px;
    }
    .benchmark-card.active .benchmark-body {
        padding:0 16px 16px;
    }
    .bm-case {
        padding:14px 16px;
    }
    .bm-case-header {
        flex-direction:column;
        align-items:flex-start;
        gap:4px;
    }
}
