/* ═══════════════════════════════════════
   KARON LABS — OBSIDIAN DARK PREMIUM
   Design: ARCHON (Antigravity)
   A/B Test Variant vs Claude Terminal
   ═══════════════════════════════════════ */

:root {
    --bg: #06060a;
    --bg-2: #0c0c12;
    --bg-card: rgba(14, 14, 22, 0.7);
    --bg-card-hover: rgba(20, 20, 32, 0.8);
    --text: #e4e4ec;
    --text-2: #a0a0b8;
    --text-3: #9090a8;
    --accent: #7c3aed;
    --accent-2: #6366f1;
    --accent-3: #a78bfa;
    --accent-glow: rgba(124, 58, 237, 0.15);
    --accent-glow-2: rgba(99, 102, 241, 0.12);
    --rust: #ef6547;
    --java: #f5a623;
    --python: #4da6ff;
    --green: #22d3a7;
    --red: #f45;
    --border: rgba(255, 255, 255, 0.09);
    --border-2: rgba(255, 255, 255, 0.1);
    --glass: rgba(255, 255, 255, 0.03);
    --radius: 16px;
    --radius-sm: 10px;
    --radius-xs: 6px;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --mono: 'JetBrains Mono', 'Fira Code', monospace;
    --shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 8px 48px rgba(0, 0, 0, 0.4);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: var(--accent-3);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: #c4b5fd;
}

code {
    font-family: var(--mono);
    background: rgba(124, 58, 237, 0.1);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.85em;
    color: var(--accent-3);
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 28px;
}

/* ─── PARTICLES ─── */
#particles {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

/* ─── HERO ENTRY ANIMATIONS ─── */
@keyframes heroFadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.hero-badge {
    animation: heroFadeUp 0.7s ease 0.1s both;
}

.hero-title {
    animation: heroFadeUp 0.8s ease 0.25s both;
}

.hero-sub {
    animation: heroFadeUp 0.8s ease 0.4s both;
}

.hero-stats {
    animation: heroFadeUp 0.8s ease 0.55s both;
}

.hero-cta {
    animation: heroFadeUp 0.8s ease 0.7s both;
}

/* ─── REVEAL ANIMATIONS ─── */
[data-reveal] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delays */
[data-reveal][data-delay="1"] {
    transition-delay: 0.1s;
}

[data-reveal][data-delay="2"] {
    transition-delay: 0.2s;
}

[data-reveal][data-delay="3"] {
    transition-delay: 0.3s;
}

[data-reveal][data-delay="4"] {
    transition-delay: 0.4s;
}

[data-reveal][data-delay="5"] {
    transition-delay: 0.5s;
}

[data-reveal][data-delay="6"] {
    transition-delay: 0.6s;
}

/* ─── NAV ─── */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(6, 6, 10, 0.75);
    backdrop-filter: blur(24px) saturate(1.4);
    -webkit-backdrop-filter: blur(24px) saturate(1.4);
    border-bottom: 1px solid var(--border);
    transition: background var(--transition);
}

.nav.scrolled {
    background: rgba(6, 6, 10, 0.92);
}

.nav-inner {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 28px;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text);
    text-decoration: none;
}

.logo:hover {
    color: var(--text);
}

.logo-icon {
    display: flex;
}

.logo-text {
    font-weight: 800;
    font-size: 15px;
    letter-spacing: 2.5px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    color: var(--text-2);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.3px;
    transition: color var(--transition);
}

.nav-links a:hover {
    color: var(--text);
}

/* ─── NAV DIVIDER ─── */
.nav-divider {
    width: 1px;
    height: 20px;
    background: linear-gradient(180deg, transparent, rgba(124, 58, 237, 0.4), transparent);
    flex-shrink: 0;
}

/* ─── NAV API SPARKLE LINK ─── */
.nav-api-sparkle {
    position: relative;
    font-weight: 800 !important;
    font-size: 15px !important;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: transparent !important;
    background: linear-gradient(90deg, #00d4ff, #7c3aed, #22d3a7, #00d4ff);
    background-size: 300% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    animation: nav-shimmer 3s linear infinite;
    filter: drop-shadow(0 0 6px rgba(0, 212, 255, 0.4));
    transition: filter 0.3s ease;
}
.nav-api-sparkle:hover {
    filter: drop-shadow(0 0 12px rgba(0, 212, 255, 0.7)) drop-shadow(0 0 24px rgba(124, 58, 237, 0.5));
    color: transparent !important;
}
.nav-api-sparkle::before {
    content: '';
    position: absolute;
    inset: -4px -8px;
    background: radial-gradient(ellipse at center, rgba(0, 212, 255, 0.12) 0%, transparent 70%);
    border-radius: 8px;
    z-index: -1;
    animation: nav-pulse 2s ease-in-out infinite;
}
.nav-api-sparkle::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    transform: translate(-50%, -50%);
    background:
        radial-gradient(1px 1px at 20% 30%, #00d4ff, transparent),
        radial-gradient(1px 1px at 80% 20%, #7c3aed, transparent),
        radial-gradient(1px 1px at 50% 70%, #22d3a7, transparent),
        radial-gradient(1px 1px at 10% 80%, #a78bfa, transparent),
        radial-gradient(1px 1px at 90% 60%, #00d4ff, transparent),
        radial-gradient(1.5px 1.5px at 40% 10%, #fff, transparent),
        radial-gradient(1px 1px at 70% 90%, #7c3aed, transparent);
    animation: nav-sparkle-drift 4s ease-in-out infinite;
    opacity: 0.8;
    pointer-events: none;
}
@keyframes nav-shimmer {
    0%   { background-position: 0% 50%; }
    100% { background-position: 300% 50%; }
}
@keyframes nav-pulse {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50%      { opacity: 0.6; transform: scale(1.15); }
}
@keyframes nav-sparkle-drift {
    0%, 100% { transform: translate(-50%, -50%) rotate(0deg) scale(1); opacity: 0.6; }
    25%      { transform: translate(-50%, -50%) rotate(90deg) scale(1.2); opacity: 1; }
    50%      { transform: translate(-50%, -50%) rotate(180deg) scale(0.9); opacity: 0.4; }
    75%      { transform: translate(-50%, -50%) rotate(270deg) scale(1.1); opacity: 0.9; }
}

.nav-cta {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: var(--radius-xs);
    font-size: 13px !important;
    font-weight: 600 !important;
    transition: all var(--transition);
}

.nav-cta:hover {
    background: var(--accent-glow);
    border-color: rgba(124, 58, 237, 0.3);
    color: var(--text) !important;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-2);
    border-radius: 2px;
    transition: all var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ─── HERO ─── */
.hero {
    position: relative;
    padding: 180px 0 80px;
    z-index: 1;
    overflow: hidden;
}

.hero-orb {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 700px;
    height: 700px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.12) 0%, transparent 70%);
    filter: blur(80px);
    pointer-events: none;
    animation: orbFloat 12s ease-in-out infinite;
}

.hero-orb-2 {
    position: absolute;
    bottom: -30%;
    left: -15%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.08) 0%, transparent 70%);
    filter: blur(100px);
    pointer-events: none;
    animation: orbFloat 16s ease-in-out infinite reverse;
}

@keyframes orbFloat {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(-30px, 20px);
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--accent-3);
    padding: 9px 22px;
    border: 1px solid rgba(167, 139, 250, 0.45);
    border-radius: 100px;
    margin-bottom: 36px;
    background: rgba(124, 58, 237, 0.12);
    box-shadow: 0 0 20px rgba(124, 58, 237, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.hero-badge::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-3);
    box-shadow: 0 0 8px var(--accent-3);
    animation: dotPulse 2s ease-in-out infinite;
}


.hero-title {
    font-size: clamp(40px, 6.5vw, 72px);
    font-weight: 900;
    line-height: 1.08;
    margin-bottom: 28px;
    letter-spacing: -1.5px;
}

.hero-line {
    display: block;
}

.gradient-text {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-3) 50%, #c4b5fd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-sub {
    color: var(--text-2);
    font-size: 16px;
    max-width: 620px;
    line-height: 1.8;
    margin-bottom: 52px;
}

.hero-sub strong {
    color: var(--accent-3);
    font-weight: 600;
}

/* ─── STAT CARDS ─── */
.hero-stats {
    display: flex;
    gap: 16px;
    margin-bottom: 52px;
    flex-wrap: wrap;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 20px 28px;
    min-width: 140px;
    backdrop-filter: blur(12px);
    transition: all var(--transition);
}

.stat-card:hover {
    border-color: var(--border-2);
    background: var(--bg-card-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.stat-value {
    display: block;
    font-size: 32px;
    font-weight: 800;
    font-family: var(--mono);
    color: var(--text);
    line-height: 1.2;
}

.stat-label {
    font-size: 12px;
    color: var(--text-3);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-top: 4px;
}

/* ─── BUTTONS ─── */
.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    font-weight: 600;
    font-size: 15px;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    cursor: pointer;
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #fff;
    box-shadow: 0 0 24px var(--accent-glow), 0 4px 16px rgba(0, 0, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 40px rgba(124, 58, 237, 0.3), 0 8px 24px rgba(0, 0, 0, 0.4);
    color: #fff;
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text);
    border: 1px solid var(--border-2);
    font-weight: 700;
}

.btn-ghost:hover {
    border-color: rgba(255, 255, 255, 0.2);
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

/* ─── SECTIONS ─── */
.section {
    padding: 120px 0;
    position: relative;
    z-index: 1;
}

.section-alt {
}

.section-header {
    margin-bottom: 56px;
}

.section-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 4px;
    color: var(--accent-3);
    text-shadow: 0 0 8px rgba(167, 139, 250, 0.4);
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.5px;
    margin-bottom: 12px;
}

.section-sub {
    color: var(--text-2);
    font-size: 17px;
    max-width: 580px;
    line-height: 1.7;
}

/* ─── PROJECT CARDS ─── */
.project-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.project-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    transition: all var(--transition);
    overflow: hidden;
    backdrop-filter: blur(12px);
}

.project-card:hover {
    border-color: var(--border-2);
    background: var(--bg-card-hover);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.project-card.featured {
    grid-column: 1 / -1;
    border-color: rgba(124, 58, 237, 0.2);
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.05), var(--bg-card));
}

.project-card.featured:hover {
    border-color: rgba(124, 58, 237, 0.35);
}

.card-glow {
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0;
    transition: opacity var(--transition);
}

.project-card.featured:hover .card-glow {
    opacity: 1;
}

.card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.badge {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.2px;
    padding: 5px 12px;
    border-radius: var(--radius-xs);
    text-transform: uppercase;
}

.badge-rust {
    background: rgba(239, 101, 71, 0.12);
    color: var(--rust);
}

.badge-java {
    background: rgba(245, 166, 35, 0.12);
    color: var(--java);
}

.badge-python {
    background: rgba(77, 166, 255, 0.12);
    color: var(--python);
}

.status-live {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.2px;
    color: var(--green);
    text-transform: uppercase;
}

.pulse-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--green);
    animation: pulse 2s ease-in-out infinite;
    box-shadow: 0 0 8px rgba(34, 211, 167, 0.4);
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(0.85);
    }
}

.card-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
}

.card-desc {
    color: var(--text-2);
    font-size: 14.5px;
    line-height: 1.65;
    margin-bottom: 24px;
}

.card-metrics {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
}

.metric-val {
    display: block;
    font-size: 18px;
    font-weight: 700;
    font-family: var(--mono);
    color: var(--text);
}

.metric-key {
    font-size: 11px;
    color: var(--text-3);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-top: 2px;
}

/* ─── JOURNEY CHART ─── */
.journey-chart-wrap {
    margin-bottom: 60px;
}

.journey-chart-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 32px;
    backdrop-filter: blur(12px);
    transition: border-color var(--transition);
}

.journey-chart-card:hover {
    border-color: rgba(124, 58, 237, 0.25);
}

.chart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 8px;
}

.chart-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: 0.3px;
}

.chart-badge {
    font-size: 11px;
    font-weight: 600;
    color: var(--accent-3);
    background: rgba(124, 58, 237, 0.1);
    border: 1px solid rgba(167, 139, 250, 0.2);
    border-radius: 100px;
    padding: 3px 12px;
    letter-spacing: 0.3px;
}

.chart-area {
    width: 100%;
    overflow: hidden;
    margin-bottom: 24px;
}

.chart-area svg {
    width: 100%;
    height: auto;
    display: block;
}

/* Line draw animation */
#loc-line-path {
    stroke-dasharray: 800;
    stroke-dashoffset: 800;
    transition: stroke-dashoffset 1.8s cubic-bezier(0.4, 0, 0.2, 1);
}

#loc-fill-path {
    transition: opacity 1.2s ease 0.6s;
}

.chart-animated #loc-line-path {
    stroke-dashoffset: 0;
}

.chart-animated #loc-fill-path {
    opacity: 1;
}

.chart-stats {
    display: flex;
    gap: 0;
    border-top: 1px solid var(--border);
    padding-top: 20px;
}

.chart-stat {
    flex: 1;
    text-align: center;
    padding: 0 8px;
    border-right: 1px solid var(--border);
}

.chart-stat:last-child {
    border-right: none;
}

.cs-val {
    display: block;
    font-size: 20px;
    font-weight: 800;
    font-family: var(--mono);
    color: var(--text);
    line-height: 1.2;
}

.cs-key {
    display: block;
    font-size: 11px;
    color: var(--text-3);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}

@media (max-width: 480px) {
    .chart-stats {
        flex-wrap: wrap;
    }

    .chart-stat {
        flex: 1 1 50%;
        border-right: none;
        padding: 8px 0;
        border-bottom: 1px solid var(--border);
    }

    .chart-stat:nth-child(odd) {
        border-right: 1px solid var(--border);
    }
}

/* ─── TIMELINE ─── */
.timeline {
    position: relative;
    padding-left: 48px;
    margin-top: 16px;
}

.timeline-track {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent), rgba(124, 58, 237, 0.1));
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 48px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: -53px;
    top: 6px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 16px var(--accent-glow), 0 0 4px var(--accent);
    border: 2px solid var(--bg);
    animation: dotPulse 2.5s ease-in-out infinite;
}

@keyframes dotPulse {

    0%,
    100% {
        box-shadow: 0 0 8px var(--accent-glow), 0 0 4px var(--accent);
    }

    50% {
        box-shadow: 0 0 24px rgba(124, 58, 237, 0.5), 0 0 8px var(--accent);
    }
}

.timeline-marker {
    font-family: var(--mono);
    font-size: 14px;
    font-weight: 800;
    color: var(--accent-3);
    letter-spacing: 1.5px;
    text-shadow: 0 0 8px rgba(167, 139, 250, 0.4);
    margin-bottom: 8px;
}

.timeline-body h4 {
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 6px;
}

.timeline-body p {
    color: var(--text-2);
    font-size: 15px;
    line-height: 1.65;
    max-width: 540px;
}

/* ─── AI STACK ─── */
.stack-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.stack-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(12px);
}

.stack-card:hover {
    border-color: var(--border-2);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.stack-card.stack-primary {
    border-color: rgba(124, 58, 237, 0.3);
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.08), var(--bg-card));
}

.stack-card.stack-primary:hover {
    border-color: rgba(124, 58, 237, 0.5);
    box-shadow: 0 0 32px rgba(124, 58, 237, 0.1);
}

.stack-card.stack-danger {
    border-color: rgba(255, 68, 85, 0.2);
    background: linear-gradient(135deg, rgba(255, 68, 85, 0.04), var(--bg-card));
}

.stack-card.stack-danger:hover {
    border-color: rgba(255, 68, 85, 0.35);
}

.stack-rank {
    font-family: var(--mono);
    font-size: 12px;
    font-weight: 700;
    color: var(--text-3);
    margin-bottom: 12px;
}

.stack-primary .stack-rank {
    color: var(--accent-3);
}

.stack-danger .stack-rank {
    color: var(--red);
}

.stack-name {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 4px;
}

.stack-role {
    display: inline-block;
    font-size: 11px;
    color: var(--accent);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 14px;
}

.stack-danger .stack-role {
    color: var(--red);
}

.stack-detail {
    font-size: 13.5px;
    color: var(--text-2);
    line-height: 1.6;
}

/* ─── CONTACT ─── */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-title {
    font-size: 36px;
    font-weight: 900;
    margin-bottom: 4px;
    letter-spacing: -0.5px;
}

.contact-hangul {
    color: var(--text-3);
    font-size: 17px;
    margin-bottom: 28px;
}

.contact-philosophy {
    color: var(--text-2);
    font-size: 16px;
    line-height: 1.7;
    font-style: italic;
    border-left: 2px solid var(--accent);
    padding-left: 20px;
}

.contact-right {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-top: 8px;
}

.contact-row {
    display: flex;
    align-items: baseline;
    gap: 24px;
}

.contact-key {
    font-size: 12px;
    color: var(--text-3);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    min-width: 110px;
    font-weight: 600;
}

.contact-val {
    font-size: 15px;
    color: var(--text);
}

.contact-link {
    color: var(--accent-3);
    transition: color var(--transition);
    text-underline-offset: 3px;
}

.contact-link:hover {
    color: #c4b5fd;
    text-decoration: underline;
    text-decoration-color: rgba(196, 181, 253, 0.4);
}

/* ─── FOOTER ─── */
.footer {
    border-top: 1px solid var(--border);
    position: relative;
    z-index: 1;
}

.footer-inner {
    padding: 28px;
    text-align: center;
    font-size: 13px;
    color: var(--text-3);
}

.footer-inner a {
    color: var(--text-2);
    text-decoration: underline;
    text-decoration-color: rgba(160, 160, 184, 0.3);
}

.footer-inner a:hover {
    color: var(--text);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
    .stack-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: fixed;
        top: 68px;
        left: 0;
        right: 0;
        background: rgba(6, 6, 10, 0.97);
        backdrop-filter: blur(24px);
        flex-direction: column;
        padding: 24px 28px 32px;
        gap: 20px;
        border-bottom: 1px solid var(--border);
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a {
        font-size: 16px;
    }

    .nav-divider {
        width: 100%;
        height: 1px;
        background: linear-gradient(90deg, transparent, rgba(124, 58, 237, 0.3), transparent);
    }

    .nav-api-sparkle {
        font-size: 17px !important;
    }

    .nav-api-sparkle::after {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero {
        padding: 140px 0 80px;
    }

    .hero-stats {
        gap: 12px;
    }

    .stat-card {
        min-width: 120px;
        padding: 16px 20px;
    }

    .stat-value {
        font-size: 26px;
    }

    .project-grid {
        grid-template-columns: 1fr;
    }

    .project-card.featured {
        grid-column: 1;
    }

    .section {
        padding: 80px 0;
    }

    .timeline {
        padding-left: 36px;
    }

    .timeline-dot {
        left: -41px;
    }

    .btn-trophy {
        display: none !important;
    }
}

@media (max-width: 480px) {
    .stack-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 120px 0 60px;
    }

    .hero-title {
        letter-spacing: -0.5px;
    }

    .hero-sub {
        font-size: 16px;
    }

    .stat-card {
        min-width: 100%;
    }

    .hero-stats {
        flex-direction: column;
    }

    .contact-row {
        flex-direction: column;
        gap: 4px;
    }

    .hero-badge {
        font-size: 0.65rem;
        letter-spacing: 1.5px;
        padding: 6px 14px;
    }

    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        width: 100%;
        justify-content: center;
        padding: 13px 20px;
        font-size: 14px;
        box-sizing: border-box;
    }
}

/* ─── ARCHON TYPOGRAPHY ─── */
.archon-log-text {
  font-family: "JetBrains Mono", monospace;
  font-weight: 700;
  color: #00ffaa;
}

.archon-panic-text {
  font-family: "VT323", monospace;
  font-size: 1.5rem;
  color: #ff3366;
  text-transform: uppercase;
}

/* ─── NO-JS FOIC GUARD ─── */
.no-js [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
}