/* ==========================================================================
   AETHEL // NEURAL DYNAMICS - Core Design System & Futuristic Styles
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:ital,wght@0,300;0,400;0,600;0,700;1,400&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
    /* Color Palette */
    --bg-base: #04050a;
    --bg-surface: #080a14;
    --bg-card: rgba(12, 16, 32, 0.65);
    --bg-card-hover: rgba(18, 24, 48, 0.85);
    --bg-glass: rgba(255, 255, 255, 0.03);
    
    /* Neon Accents */
    --cyan: #00f0ff;
    --cyan-glow: rgba(0, 240, 255, 0.35);
    --violet: #8a2be2;
    --violet-glow: rgba(138, 43, 226, 0.35);
    --pink: #ff007f;
    --pink-glow: rgba(255, 0, 127, 0.35);
    --mint: #00ffa3;
    --mint-glow: rgba(0, 255, 163, 0.35);
    --amber: #ffb800;

    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --text-accent: #00f0ff;

    /* Borders & Lines */
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-bright: rgba(0, 240, 255, 0.3);
    --border-glow: 0 0 15px rgba(0, 240, 255, 0.2);

    /* Fonts */
    --font-heading: 'Space Grotesk', -apple-system, sans-serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    /* Dimensions & Spacing */
    --nav-height: 72px;
    --container-max: 1280px;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --radius-full: 9999px;

    /* Transitions */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-base);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
}

body {
    background-color: var(--bg-base);
    position: relative;
    min-height: 100vh;
    overflow-x: hidden;
    cursor: default;
    background-image: 
        radial-gradient(circle at 50% 0%, rgba(0, 240, 255, 0.06) 0%, transparent 60%),
        radial-gradient(circle at 80% 50%, rgba(138, 43, 226, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(255, 0, 127, 0.04) 0%, transparent 50%);
    background-attachment: fixed;
}

/* Cyber Grid Lines overlay */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-size: 60px 60px;
    background-image: 
        linear-gradient(to right, rgba(255, 255, 255, 0.015) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    pointer-events: none;
    z-index: 1;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 7px;
}
::-webkit-scrollbar-track {
    background: var(--bg-base);
}
::-webkit-scrollbar-thumb {
    background: rgba(0, 240, 255, 0.25);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 240, 255, 0.6);
}

/* ==========================================================================
   Custom Fluid Magnetic Cursor
   ========================================================================== */
.cursor-dot {
    position: fixed;
    top: -4px;
    left: -4px;
    width: 8px;
    height: 8px;
    background: var(--cyan);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    box-shadow: 0 0 10px var(--cyan);
    transition: transform 0.04s linear;
}

.cursor-ring {
    position: fixed;
    top: -20px;
    left: -20px;
    width: 40px;
    height: 40px;
    border: 1.5px solid rgba(0, 240, 255, 0.5);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transition: width 0.25s var(--ease-out), height 0.25s var(--ease-out), border-color 0.25s ease, background-color 0.25s ease;
}

.cursor-ring.cursor-expanded {
    width: 60px;
    height: 60px;
    top: -30px;
    left: -30px;
    border-color: var(--pink);
    background-color: rgba(255, 0, 127, 0.06);
}

.cursor-ring.cursor-clicked {
    transform: scale(0.8);
    border-color: var(--mint);
}

/* ==========================================================================
   Canvas Layer
   ========================================================================== */
#neural-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: auto;
}

/* ==========================================================================
   Header & HUD Navigation
   ========================================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    z-index: 1000;
    background: rgba(4, 5, 10, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-subtle);
}

.brand-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--text-primary);
}

.brand-symbol {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--cyan), var(--violet));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 16px var(--cyan-glow);
    animation: pulseLogo 3s infinite alternate;
}

.brand-symbol svg {
    width: 18px;
    height: 18px;
    stroke: #ffffff;
}

.brand-text {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.brand-text span {
    color: var(--cyan);
}

/* Nav Center Links */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 1.75rem;
    list-style: none;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    transition: color 0.2s ease, transform 0.2s ease;
    display: inline-block;
}

.nav-link:hover {
    color: var(--cyan);
    transform: translateY(-1px);
}

/* HUD Controls Right */
.hud-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.hud-tag {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    padding: 0.3rem 0.65rem;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-subtle);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.hud-tag.status-optimal {
    color: var(--mint);
    border-color: rgba(0, 255, 163, 0.3);
    background: rgba(0, 255, 163, 0.06);
}

.hud-tag.status-degraded {
    color: var(--amber);
    border-color: rgba(255, 184, 0, 0.3);
}

.hud-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
    padding: 0.45rem 0.9rem;
    border-radius: var(--radius-sm);
    font-family: var(--font-mono);
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.hud-btn:hover {
    border-color: var(--cyan);
    background: rgba(0, 240, 255, 0.1);
    box-shadow: 0 0 12px var(--cyan-glow);
}

.hud-btn.muted {
    opacity: 0.6;
    border-color: var(--border-subtle);
}

.btn-primary {
    background: linear-gradient(135deg, var(--cyan), var(--violet));
    color: #ffffff;
    border: none;
    padding: 0.6rem 1.3rem;
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 0 18px var(--cyan-glow);
    transition: transform 0.2s var(--ease-spring), box-shadow 0.2s ease;
}

.btn-primary:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 0 25px rgba(0, 240, 255, 0.6);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-bright);
    color: var(--text-primary);
    padding: 0.6rem 1.3rem;
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(0, 240, 255, 0.08);
    border-color: var(--cyan);
    box-shadow: 0 0 15px var(--cyan-glow);
    transform: translateY(-2px);
}

/* ==========================================================================
   Main Content Container
   ========================================================================== */
.main-wrapper {
    position: relative;
    z-index: 10;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-container {
    padding: 7rem 0;
    position: relative;
}

/* Section Header */
.section-header {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 4rem auto;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--cyan);
    background: rgba(0, 240, 255, 0.08);
    border: 1px solid rgba(0, 240, 255, 0.25);
    padding: 0.35rem 0.9rem;
    border-radius: var(--radius-full);
    margin-bottom: 1.25rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 1.25rem;
}

.text-gradient {
    background: linear-gradient(135deg, #ffffff 30%, var(--cyan) 75%, var(--violet) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-alt {
    background: linear-gradient(135deg, var(--cyan) 0%, var(--mint) 50%, var(--pink) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-desc {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.7;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: calc(var(--nav-height) + 2rem);
    position: relative;
}

.hero-badge-container {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-status-pill {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    color: var(--mint);
    background: rgba(0, 255, 163, 0.08);
    border: 1px solid rgba(0, 255, 163, 0.3);
    padding: 0.4rem 1rem;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-mode-pill {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    color: var(--cyan);
    background: rgba(0, 240, 255, 0.08);
    border: 1px solid rgba(0, 240, 255, 0.3);
    padding: 0.4rem 1rem;
    border-radius: var(--radius-full);
}

.pulse-dot {
    width: 7px;
    height: 7px;
    background: var(--mint);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--mint);
    animation: blink 1.8s infinite;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.8rem, 6.5vw, 5.2rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.03em;
    max-width: 950px;
    margin-bottom: 1.75rem;
}

.hero-subtitle {
    font-size: clamp(1.05rem, 2vw, 1.3rem);
    color: var(--text-secondary);
    max-width: 680px;
    margin-bottom: 2.75rem;
    font-weight: 400;
}

.hero-cta-group {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 3.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

/* Hero Canvas Preset Controller */
.hero-canvas-controls {
    background: rgba(12, 16, 32, 0.75);
    border: 1px solid var(--border-subtle);
    backdrop-filter: blur(16px);
    border-radius: var(--radius-full);
    padding: 0.4rem 0.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-bottom: 3rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.particle-mode-btn, .particle-action-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    padding: 0.45rem 1rem;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all 0.2s ease;
}

.particle-mode-btn:hover, .particle-action-btn:hover {
    color: var(--text-primary);
}

.particle-mode-btn.active {
    background: linear-gradient(135deg, var(--cyan), var(--violet));
    color: #ffffff;
    box-shadow: 0 0 12px var(--cyan-glow);
}

.particle-action-btn:hover {
    background: rgba(0, 240, 255, 0.15);
    color: var(--cyan);
    box-shadow: 0 0 12px var(--cyan-glow);
}

/* Hero Telemetry Metrics Row */
.hero-metrics-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    width: 100%;
    max-width: 1050px;
    margin-top: 1rem;
}

.metric-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 1.25rem 1rem;
    text-align: center;
    backdrop-filter: blur(12px);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.metric-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-bright);
    box-shadow: 0 8px 24px rgba(0, 240, 255, 0.1);
}

.metric-val {
    font-family: var(--font-heading);
    font-size: 1.85rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.metric-label {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
}

/* ==========================================================================
   Interactive AI Studio Playground Section
   ========================================================================== */
.playground-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border-bright);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), var(--border-glow);
    padding: 2.5rem;
    backdrop-filter: blur(20px);
}

.playground-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.75rem;
    flex-wrap: wrap;
    gap: 1rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--border-subtle);
}

.playground-badge {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--cyan);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.playground-presets {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.prompt-preset-chip {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    padding: 0.35rem 0.8rem;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all 0.2s ease;
}

.prompt-preset-chip:hover, .prompt-preset-chip.active {
    background: rgba(0, 240, 255, 0.12);
    border-color: var(--cyan);
    color: var(--text-primary);
}

.playground-input-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.ai-input {
    flex: 1;
    background: rgba(4, 5, 10, 0.8);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    padding: 1rem 1.25rem;
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ai-input:focus {
    border-color: var(--cyan);
    box-shadow: 0 0 15px var(--cyan-glow);
}

.playground-console {
    background: #020307;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    font-family: var(--font-mono);
    font-size: 0.88rem;
    color: var(--cyan);
    min-height: 220px;
    max-height: 350px;
    overflow-y: auto;
    position: relative;
    white-space: pre-wrap;
    line-height: 1.7;
    box-shadow: inset 0 2px 10px rgba(0,0,0,0.8);
}

.console-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.75rem;
    color: var(--text-muted);
}

.cursor-blink {
    animation: blink 0.8s infinite;
    color: var(--cyan);
}

/* ==========================================================================
   3D Tilt Bento Grid Showcase
   ========================================================================== */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 1.75rem;
}

.bento-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 2rem;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(16px);
    transition: transform 0.15s ease-out, border-color 0.25s ease, box-shadow 0.25s ease;
    transform-style: preserve-3d;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.bento-card.col-span-2 {
    grid-column: span 2;
}

.bento-card:hover {
    border-color: var(--border-bright);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 25px rgba(0, 240, 255, 0.15);
}

.card-glare {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.25s ease;
    border-radius: inherit;
}

.bento-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.25rem;
}

.bento-icon-box {
    width: 44px;
    height: 44px;
    background: rgba(0, 240, 255, 0.08);
    border: 1px solid rgba(0, 240, 255, 0.2);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cyan);
}

.bento-icon-box.violet {
    background: rgba(138, 43, 226, 0.08);
    border-color: rgba(138, 43, 226, 0.2);
    color: var(--violet);
}

.bento-icon-box.pink {
    background: rgba(255, 0, 127, 0.08);
    border-color: rgba(255, 0, 127, 0.2);
    color: var(--pink);
}

.bento-icon-box.mint {
    background: rgba(0, 255, 163, 0.08);
    border-color: rgba(0, 255, 163, 0.2);
    color: var(--mint);
}

.status-badge {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    padding: 0.25rem 0.65rem;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-subtle);
}

.status-badge.success {
    color: var(--mint);
    background: rgba(0, 255, 163, 0.08);
    border-color: rgba(0, 255, 163, 0.3);
}

.status-badge.warning {
    color: var(--amber);
    background: rgba(255, 184, 0, 0.08);
    border-color: rgba(255, 184, 0, 0.3);
}

.bento-title {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 700;
    margin-bottom: 0.65rem;
}

.bento-desc {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Bento Canvas Micro-Widgets */
.widget-canvas-container {
    width: 100%;
    height: 160px;
    background: rgba(4, 5, 10, 0.75);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    position: relative;
    overflow: hidden;
    margin-top: auto;
}

.widget-canvas-container canvas {
    width: 100%;
    height: 100%;
    display: block;
}

/* Synthesizer Touch Pads */
.synth-pad-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
    margin-top: auto;
}

.synth-pad-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 1.25rem 0.5rem;
    text-align: center;
    color: var(--text-primary);
    cursor: pointer;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    transition: all 0.15s ease;
}

.synth-pad-btn:hover {
    background: rgba(0, 240, 255, 0.1);
    border-color: var(--cyan);
    box-shadow: 0 0 12px var(--cyan-glow);
    transform: translateY(-2px);
}

.synth-pad-btn.active-pulse {
    background: var(--cyan);
    color: #000000;
    box-shadow: 0 0 20px var(--cyan);
    transform: scale(0.96);
}

/* Edge Pinger Node List */
.edge-node-list {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-top: auto;
}

.edge-node-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(4, 5, 10, 0.6);
    border: 1px solid var(--border-subtle);
    padding: 0.5rem 0.85rem;
    border-radius: var(--radius-sm);
    font-family: var(--font-mono);
    font-size: 0.8rem;
}

.node-name {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.node-latency {
    color: var(--mint);
    font-weight: 600;
}

.pulse-dot.pinging {
    background: var(--cyan);
    box-shadow: 0 0 12px var(--cyan);
    animation: ping 0.5s infinite;
}

/* Biometric Scanner */
.biometric-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(4, 5, 10, 0.7);
    border: 1px dashed var(--border-bright);
    border-radius: var(--radius-md);
    cursor: pointer;
    user-select: none;
    margin-top: auto;
}

.biometric-scanner-ring {
    width: 60px;
    height: 60px;
    border: 2px solid var(--cyan);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cyan);
    position: relative;
    transition: all 0.3s ease;
}

.biometric-scanner-ring.scanning {
    border-color: var(--pink);
    color: var(--pink);
    box-shadow: 0 0 25px var(--pink);
    animation: spinRing 1s linear infinite;
}

.biometric-scanner-ring.verified {
    border-color: var(--mint);
    color: var(--mint);
    box-shadow: 0 0 25px var(--mint);
}

.scan-status {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.scan-status.verified {
    color: var(--mint);
    font-weight: 700;
}

/* Transpiler Output Box */
.transpile-box {
    background: #030408;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 1rem;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--cyan);
    line-height: 1.6;
    margin-bottom: 1rem;
    white-space: pre-wrap;
    min-height: 110px;
}

/* ==========================================================================
   Interactive Case Studies / Work Deck
   ========================================================================== */
.case-filters {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.case-filter-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-full);
    font-family: var(--font-mono);
    font-size: 0.82rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.case-filter-btn:hover, .case-filter-btn.active {
    background: linear-gradient(135deg, var(--cyan), var(--violet));
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 0 15px var(--cyan-glow);
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.project-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 2.25rem;
    backdrop-filter: blur(16px);
    transition: all 0.25s var(--ease-out);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.project-card:hover {
    border-color: var(--border-bright);
    transform: translateY(-6px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6), 0 0 25px rgba(0, 240, 255, 0.15);
}

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

.project-category {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    color: var(--cyan);
    text-transform: uppercase;
}

.project-card-title {
    font-family: var(--font-heading);
    font-size: 1.65rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.project-card-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.65;
    margin-bottom: 2rem;
}

.project-card-metrics {
    display: flex;
    gap: 1.5rem;
    border-top: 1px solid var(--border-subtle);
    padding-top: 1.25rem;
}

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

.proj-metric-val {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--mint);
}

.proj-metric-lbl {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

/* ==========================================================================
   Interactive Compute & ROI Scale Calculator
   ========================================================================== */
.calc-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border-bright);
    border-radius: var(--radius-lg);
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), var(--border-glow);
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3.5rem;
    backdrop-filter: blur(20px);
}

.calc-preset-row {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.calc-preset-btn {
    flex: 1;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    padding: 0.6rem 0.5rem;
    border-radius: var(--radius-sm);
    font-family: var(--font-mono);
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.calc-preset-btn:hover, .calc-preset-btn.active {
    background: rgba(0, 240, 255, 0.12);
    border-color: var(--cyan);
    color: var(--text-primary);
}

.slider-group {
    margin-bottom: 2rem;
}

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

.slider-label {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
}

.slider-readout {
    font-family: var(--font-mono);
    font-size: 0.95rem;
    color: var(--cyan);
    font-weight: 700;
}

/* Custom Neon Range Slider */
input[type=range] {
    -webkit-appearance: none;
    width: 100%;
    background: rgba(255, 255, 255, 0.08);
    height: 6px;
    border-radius: 3px;
    outline: none;
}

input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--cyan);
    cursor: pointer;
    box-shadow: 0 0 12px var(--cyan);
    transition: transform 0.1s ease, box-shadow 0.1s ease;
}

input[type=range]::-webkit-slider-thumb:hover {
    transform: scale(1.25);
    box-shadow: 0 0 20px var(--cyan);
}

.calc-results-panel {
    background: rgba(4, 5, 10, 0.85);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 2.25rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1.5rem;
}

.calc-result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding-bottom: 1rem;
}

.calc-result-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.calc-res-label {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.calc-res-val {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--mint);
}

/* ==========================================================================
   Holographic Project Launcher / Contact Terminal
   ========================================================================== */
.launcher-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border-bright);
    border-radius: var(--radius-lg);
    padding: 3.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), var(--border-glow);
    max-width: 860px;
    margin: 0 auto;
    backdrop-filter: blur(20px);
}

.chip-selector-group {
    margin-bottom: 2rem;
}

.chip-label {
    font-family: var(--font-mono);
    font-size: 0.82rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.85rem;
    display: block;
}

.chip-grid {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.chip-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    padding: 0.65rem 1.25rem;
    border-radius: var(--radius-full);
    font-size: 0.88rem;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.chip-item:hover, .chip-item.selected {
    background: rgba(0, 240, 255, 0.12);
    border-color: var(--cyan);
    color: #ffffff;
    box-shadow: 0 0 12px var(--cyan-glow);
}

.form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-control {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-control label {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

.form-input, .form-textarea {
    background: rgba(4, 5, 10, 0.8);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    padding: 0.9rem 1.1rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input:focus, .form-textarea:focus {
    border-color: var(--cyan);
    box-shadow: 0 0 15px var(--cyan-glow);
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
    margin-bottom: 2rem;
}

.success-state-box {
    display: none;
    text-align: center;
    padding: 3rem 1.5rem;
}

.success-icon-circle {
    width: 72px;
    height: 72px;
    background: rgba(0, 255, 163, 0.1);
    border: 2px solid var(--mint);
    border-radius: 50%;
    margin: 0 auto 1.5rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--mint);
    box-shadow: 0 0 30px var(--mint-glow);
}

/* ==========================================================================
   Footer & System Telemetry
   ========================================================================== */
.site-footer {
    border-top: 1px solid var(--border-subtle);
    background: rgba(2, 3, 6, 0.85);
    padding: 4rem 2rem 2rem 2rem;
    position: relative;
    z-index: 10;
    backdrop-filter: blur(16px);
}

.footer-top {
    max-width: var(--container-max);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--border-subtle);
    flex-wrap: wrap;
    gap: 2rem;
}

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

.footer-bottom {
    max-width: var(--container-max);
    margin: 2rem auto 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    flex-wrap: wrap;
    gap: 1rem;
}

/* ==========================================================================
   Modals & Overlays
   ========================================================================== */
.modal-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.modal-wrapper.active {
    display: flex;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(16px);
}

.modal-content {
    position: relative;
    background: var(--bg-surface);
    border: 1px solid var(--border-bright);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    max-width: 680px;
    width: 100%;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.8), var(--border-glow);
    z-index: 1;
    animation: modalPop 0.25s var(--ease-spring);
}

.modal-close-btn {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.modal-close-btn:hover {
    background: var(--pink);
    border-color: var(--pink);
}

.shortcut-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1.5rem;
}

.shortcut-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    padding: 0.6rem 0.9rem;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
}

kbd {
    background: rgba(0, 240, 255, 0.15);
    border: 1px solid var(--cyan);
    color: var(--cyan);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
}

/* ==========================================================================
   Keyframes & Animations
   ========================================================================== */
@keyframes pulseLogo {
    0% { box-shadow: 0 0 12px var(--cyan-glow); }
    100% { box-shadow: 0 0 24px var(--violet-glow); }
}

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

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

@keyframes modalPop {
    0% { transform: scale(0.92); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

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

.spinner-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: spinRing 0.8s linear infinite;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .bento-card.col-span-2 {
        grid-column: span 2;
    }
    .calc-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .hero-metrics-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    .bento-grid {
        grid-template-columns: 1fr;
    }
    .bento-card.col-span-2 {
        grid-column: span 1;
    }
    .project-grid {
        grid-template-columns: 1fr;
    }
    .form-grid-2 {
        grid-template-columns: 1fr;
    }
    .hero-metrics-row {
        grid-template-columns: repeat(2, 1fr);
    }
    .playground-input-group {
        flex-direction: column;
    }
    .section-title {
        font-size: 2.2rem;
    }
    .shortcut-list {
        grid-template-columns: 1fr;
    }
}
