/* ==========================================================================
   AI WORLD APPS — MASTER STYLESHEET
   Derived strictly from DESIGN.md (Google Design.md Architecture)
   Pure CSS3. Zero framework dependencies. High performance & accessibility.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. DESIGN TOKENS (CSS CUSTOM PROPERTIES)
   -------------------------------------------------------------------------- */
:root {
    /* Base Surfaces */
    --bg-void:        #050816;
    --bg-deep:        #070B19;
    --bg-surface:     #0A1022;
    --bg-elevated:    #0F172E;
    --bg-glass:       rgba(7, 11, 25, 0.78);
    --bg-glass-card:  rgba(13, 20, 42, 0.65);
    --bg-card-hover:  rgba(18, 28, 58, 0.85);

    /* Structural Lines & Borders */
    --border-subtle:  rgba(255, 255, 255, 0.08);
    --border-medium:  rgba(0, 229, 255, 0.22);
    --border-strong:  rgba(77, 124, 254, 0.45);
    --border-glow:    rgba(0, 229, 255, 0.50);

    /* Accent Palette */
    --accent-cyan:    #00E5FF;
    --accent-blue:    #4D7CFE;
    --accent-violet:  #8B5CF6;
    --accent-magenta: #D946EF;
    --on-accent:      #04060F;

    /* Semantic Status */
    --status-live:    #10B981;
    --status-beta:    #F59E0B;
    --status-lab:     #8B5CF6;

    /* Typography */
    --font-display:   "Space Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-body:      "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-mono:      ui-monospace, "SF Mono", Monaco, "Cascadia Code", "JetBrains Mono", Consolas, monospace;

    /* Typography Scale (Fluid Clamps) */
    --fs-hero:        clamp(2.75rem, 6.5vw, 5.25rem);
    --fs-section:     clamp(2.1rem, 4.2vw, 3.5rem);
    --fs-subhead:     clamp(1.4rem, 2.5vw, 2.25rem);
    --fs-quote:       clamp(1.75rem, 3.8vw, 3.25rem);
    --fs-card-title:  1.375rem;
    --fs-body-lead:   clamp(1.05rem, 1.25vw, 1.25rem);
    --fs-body:        1rem;
    --fs-body-sm:     0.875rem;
    --fs-mono:        0.75rem;
    --fs-badge:       0.6875rem;

    /* Spatial System */
    --space-2xs:      4px;
    --space-xs:       8px;
    --space-sm:       12px;
    --space-md:       16px;
    --space-lg:       24px;
    --space-xl:       32px;
    --space-2xl:      48px;
    --space-3xl:      64px;
    --space-4xl:      96px;
    --space-5xl:      128px;

    --container-max:  1280px;
    --container-pad:  clamp(18px, 4vw, 36px);

    /* Radii */
    --radius-sm:      6px;
    --radius-md:      12px;
    --radius-lg:      20px;
    --radius-xl:      28px;
    --radius-pill:    9999px;

    /* Shadows & Glows */
    --shadow-ambient: 0 10px 30px -10px rgba(0, 0, 0, 0.6);
    --glow-cyan:      0 0 35px -8px rgba(0, 229, 255, 0.35);
    --glow-blue:      0 0 35px -8px rgba(77, 124, 254, 0.35);
    --glow-violet:    0 0 35px -8px rgba(139, 92, 246, 0.35);

    /* Animation Timing */
    --ease-expo:      cubic-bezier(0.16, 1, 0.3, 1);
    --ease-smooth:    cubic-bezier(0.4, 0, 0.2, 1);
    --t-fast:         180ms var(--ease-expo);
    --t-normal:       320ms var(--ease-expo);
    --t-slow:         600ms var(--ease-expo);
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    color-scheme: dark;
}

body.universe-body {
    background-color: var(--bg-void);
    color: #F8FAFC;
    font-family: var(--font-body);
    font-size: var(--fs-body);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

img, svg, canvas {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--t-fast);
}

button {
    font: inherit;
    cursor: pointer;
    background: none;
    border: none;
    outline: none;
}

ul, ol {
    list-style: none;
}

::selection {
    background-color: var(--accent-cyan);
    color: var(--on-accent);
}

/* --------------------------------------------------------------------------
   3. ACCESSIBILITY & SKIP LINK
   -------------------------------------------------------------------------- */
.skip-link {
    position: absolute;
    top: -60px;
    left: 20px;
    background: var(--accent-cyan);
    color: var(--on-accent);
    padding: 10px 18px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    z-index: 9999;
    transition: top var(--t-fast);
}

.skip-link:focus {
    top: 20px;
    outline: 2px solid #FFFFFF;
}

:focus-visible {
    outline: 2px solid var(--accent-cyan);
    outline-offset: 3px;
}

/* --------------------------------------------------------------------------
   4. ATMOSPHERIC BACKGROUND SYSTEM
   -------------------------------------------------------------------------- */
.ambient-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 0;
}

.space-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image:
        linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(circle at 50% 30%, black 20%, transparent 80%);
    -webkit-mask-image: radial-gradient(circle at 50% 30%, black 20%, transparent 80%);
    pointer-events: none;
    z-index: 1;
}

.space-aurora {
    position: fixed;
    top: -20vh;
    left: 10vw;
    width: 80vw;
    height: 70vh;
    background: radial-gradient(ellipse at center, rgba(0, 229, 255, 0.06) 0%, rgba(77, 124, 254, 0.04) 40%, transparent 75%);
    filter: blur(80px);
    pointer-events: none;
    z-index: 1;
    animation: auroraDrift 20s ease-in-out infinite alternate;
}

@keyframes auroraDrift {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(4vw, 3vh) scale(1.08); }
    100% { transform: translate(-3vw, 5vh) scale(0.95); }
}

/* --------------------------------------------------------------------------
   5. LAYOUT & CONTAINERS
   -------------------------------------------------------------------------- */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--container-pad);
    padding-right: var(--container-pad);
    position: relative;
    z-index: 2;
}

.section {
    padding-top: var(--space-4xl);
    padding-bottom: var(--space-4xl);
    position: relative;
}

.site-main {
    position: relative;
    z-index: 2;
}

/* Section Headers */
.section-head {
    margin-bottom: var(--space-3xl);
}

.section-head.text-center {
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-head-split {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: var(--space-2xl);
    flex-wrap: wrap;
    margin-top: var(--space-sm);
}

.section-title {
    font-family: var(--font-display);
    font-size: var(--fs-section);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.025em;
    color: #F8FAFC;
    margin-top: var(--space-sm);
}

.section-lead {
    font-size: var(--fs-body-lead);
    color: #94A3B8;
    margin-top: var(--space-md);
    line-height: 1.6;
}

.section-lead-right {
    max-width: 480px;
    font-size: var(--fs-body);
    color: #94A3B8;
    line-height: 1.6;
}

/* --------------------------------------------------------------------------
   6. TYPOGRAPHY & GRADIENT UTILITIES
   -------------------------------------------------------------------------- */
.gradient-headline {
    background: linear-gradient(135deg, #00E5FF 0%, #4D7CFE 50%, #D946EF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.gradient-text {
    background: linear-gradient(135deg, #00E5FF 10%, #8B5CF6 90%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.text-glow {
    filter: drop-shadow(0 0 24px rgba(0, 229, 255, 0.45));
}

/* --------------------------------------------------------------------------
   7. BADGES & STATUS PILLS
   -------------------------------------------------------------------------- */
.badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    font-family: var(--font-mono);
    font-size: var(--fs-badge);
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.badge-accent {
    background: rgba(0, 229, 255, 0.08);
    border: 1px solid rgba(0, 229, 255, 0.28);
    color: var(--accent-cyan);
}

.badge-subtle {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    color: #94A3B8;
}

.badge-concept {
    background: rgba(139, 92, 246, 0.12);
    border: 1px solid rgba(139, 92, 246, 0.32);
    color: #C084FC;
    padding: 4px 10px;
    font-size: 0.65rem;
}

.badge-pulse {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: var(--accent-cyan);
    box-shadow: 0 0 10px var(--accent-cyan);
    animation: pulseGlow 2.2s infinite ease-in-out;
}

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

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 8px;
    border-radius: var(--radius-pill);
    font-size: var(--fs-mono);
    font-family: var(--font-mono);
    font-weight: 500;
    letter-spacing: 0.05em;
}

.status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.status-live {
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #34D399;
}
.status-live .status-dot {
    background: #10B981;
    box-shadow: 0 0 8px #10B981;
}

.status-beta {
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: #FBBF24;
}
.status-beta .status-dot {
    background: #F59E0B;
}

.status-lab {
    background: rgba(139, 92, 246, 0.12);
    border: 1px solid rgba(139, 92, 246, 0.3);
    color: #C084FC;
}
.status-lab .status-dot {
    background: #8B5CF6;
}

/* --------------------------------------------------------------------------
   8. BUTTONS & INTERACTIVE ELEMENTS
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    font-family: var(--font-body);
    font-weight: 600;
    border-radius: var(--radius-pill);
    transition: all var(--t-fast);
    position: relative;
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--accent-cyan);
    color: var(--on-accent);
    padding: 12px 24px;
    font-size: var(--fs-body);
    box-shadow: 0 4px 20px -4px rgba(0, 229, 255, 0.4);
}

.btn-primary:hover {
    background-color: #FFFFFF;
    color: var(--on-accent);
    box-shadow: 0 6px 28px -2px rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    color: #F8FAFC;
    padding: 12px 24px;
    font-size: var(--fs-body);
    backdrop-filter: blur(8px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 8px 16px;
    font-size: var(--fs-body-sm);
}

.btn-lg {
    padding: 15px 30px;
    font-size: 1.05rem;
}

.btn-block {
    width: 100%;
}

.btn-icon-right {
    transition: transform var(--t-fast);
}

.btn:hover .btn-icon-right {
    transform: translateX(3px);
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: var(--fs-body-sm);
    font-weight: 600;
    color: var(--accent-cyan);
    transition: gap var(--t-fast);
}

.link-arrow:hover {
    gap: 10px;
    color: #FFFFFF;
}

/* --------------------------------------------------------------------------
   9. FLOATING FROSTED GLASS NAVBAR
   -------------------------------------------------------------------------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding-top: var(--space-md);
    padding-bottom: var(--space-md);
    transition: background-color var(--t-normal), backdrop-filter var(--t-normal), border-color var(--t-normal), padding var(--t-normal);
    border-bottom: 1px solid transparent;
}

.site-header.scrolled {
    background-color: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom-color: var(--border-subtle);
    padding-top: 10px;
    padding-bottom: 10px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.nav-container {
    width: 100%;
    max-width: var(--container-max);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--container-pad);
    padding-right: var(--container-pad);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Brand Logo */
.brand-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: #FFFFFF;
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: 0.06em;
    font-size: 1.05rem;
}

.brand-icon-wrap {
    color: var(--accent-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 0 10px rgba(0, 229, 255, 0.5));
}

.brand-text {
    letter-spacing: 0.1em;
}

/* Desktop Nav Links */
.desktop-nav .nav-list {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.nav-link {
    font-size: var(--fs-body-sm);
    font-weight: 500;
    color: #94A3B8;
    position: relative;
    padding: 6px 0;
}

.nav-link:hover,
.nav-link.active {
    color: #F8FAFC;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-cyan);
    transition: width var(--t-fast);
}

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

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

/* Mobile Hamburger */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
}

.hamburger-bar {
    width: 20px;
    height: 2px;
    background-color: #F8FAFC;
    transition: transform var(--t-fast), opacity var(--t-fast);
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.mobile-menu-toggle[aria-expanded="true"] .hamburger-bar:nth-child(2) {
    opacity: 0;
}
.mobile-menu-toggle[aria-expanded="true"] .hamburger-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Drawer */
.mobile-nav {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    height: calc(100vh - 60px);
    background: var(--bg-deep);
    backdrop-filter: blur(24px);
    padding: var(--space-xl) var(--container-pad);
    border-top: 1px solid var(--border-subtle);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--t-normal), opacity var(--t-normal);
    z-index: 99;
}

.mobile-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.mobile-nav-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
}

.mobile-nav-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.mobile-nav-link {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: #F8FAFC;
}

.mobile-nav-footer {
    padding-top: var(--space-xl);
    border-top: 1px solid var(--border-subtle);
}

/* --------------------------------------------------------------------------
   10. HERO SECTION & SIGNATURE AI CORE
   -------------------------------------------------------------------------- */
.section-hero {
    min-height: 94vh;
    display: flex;
    align-items: center;
    padding-top: calc(80px + var(--space-3xl));
    padding-bottom: var(--space-4xl);
}

.hero-container {
    display: grid;
    grid-template-columns: 1.15fr 0.95fr;
    align-items: center;
    gap: var(--space-3xl);
}

.hero-badge-wrap {
    margin-bottom: var(--space-lg);
}

.hero-title {
    font-family: var(--font-display);
    font-size: var(--fs-hero);
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: -0.035em;
    color: #FFFFFF;
    margin-bottom: var(--space-lg);
}

.hero-desc {
    font-size: var(--fs-body-lead);
    color: #94A3B8;
    max-width: 540px;
    line-height: 1.65;
    margin-bottom: var(--space-2xl);
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    flex-wrap: wrap;
    margin-bottom: var(--space-3xl);
}

.hero-telemetry {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-mono);
    font-size: var(--fs-mono);
    color: #64748B;
    padding-top: var(--space-md);
    border-top: 1px solid var(--border-subtle);
    max-width: 520px;
}

.telemetry-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.telemetry-dot.live {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--status-live);
    box-shadow: 0 0 8px var(--status-live);
}

.telemetry-val {
    color: #F8FAFC;
    font-weight: 600;
}

.telemetry-divider {
    color: #334155;
}

/* AI Core Stage Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* 3D Gimbal Orbital Rings */
.ai-core-stage {
    position: relative;
    width: 440px;
    height: 440px;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1200px;
    transform-style: preserve-3d;
}

.core-orbit {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    transform-style: preserve-3d;
}

.ring-outer {
    width: 410px;
    height: 410px;
    border: 1px dashed rgba(0, 229, 255, 0.4);
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.15), inset 0 0 15px rgba(0, 229, 255, 0.1);
    animation: orbit3DOuter 28s linear infinite;
}

.ring-middle {
    width: 320px;
    height: 320px;
    border: 1.5px solid rgba(77, 124, 254, 0.35);
    border-left-color: var(--accent-cyan);
    border-right-color: var(--accent-violet);
    box-shadow: 0 0 20px rgba(77, 124, 254, 0.2);
    animation: orbit3DMiddle 20s linear infinite reverse;
}

.ring-inner {
    width: 240px;
    height: 240px;
    border: 1px dashed rgba(217, 70, 239, 0.45);
    border-top-color: var(--accent-magenta);
    box-shadow: 0 0 15px rgba(217, 70, 239, 0.15);
    animation: orbit3DInner 16s linear infinite;
}

@keyframes orbit3DOuter {
    from { transform: rotateX(65deg) rotateY(15deg) rotateZ(0deg); }
    to { transform: rotateX(65deg) rotateY(15deg) rotateZ(360deg); }
}

@keyframes orbit3DMiddle {
    from { transform: rotateX(50deg) rotateY(-35deg) rotateZ(0deg); }
    to { transform: rotateX(50deg) rotateY(-35deg) rotateZ(360deg); }
}

@keyframes orbit3DInner {
    from { transform: rotateX(25deg) rotateY(55deg) rotateZ(0deg); }
    to { transform: rotateX(25deg) rotateY(55deg) rotateZ(360deg); }
}

/* Nucleus Canvas & Center Gem */
.core-nucleus-wrap {
    position: relative;
    width: 280px;
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.core-canvas {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 380px;
    height: 380px;
    pointer-events: none;
}

.core-center-gem {
    position: relative;
    z-index: 3;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #00E5FF, #4D7CFE 60%, #050816 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    box-shadow: 0 0 45px rgba(0, 229, 255, 0.65), inset 0 0 15px rgba(255, 255, 255, 0.4);
    animation: gemFloat 4s ease-in-out infinite alternate;
}

@keyframes gemFloat {
    0% { transform: translateY(-4px); }
    100% { transform: translateY(4px); }
}

/* Floating Telemetry Chips */
.chip {
    position: absolute;
    background: rgba(10, 16, 34, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-medium);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-family: var(--font-mono);
    font-size: var(--fs-mono);
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
    z-index: 4;
    transition: transform var(--t-fast);
}

.chip:hover {
    transform: scale(1.05);
    border-color: var(--accent-cyan);
}

.chip-status {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--accent-cyan);
    box-shadow: 0 0 6px var(--accent-cyan);
}

.chip-key {
    color: #94A3B8;
}

.chip-val {
    color: #F8FAFC;
    font-weight: 600;
}

.chip-top-right {
    top: 15px;
    right: -10px;
}

.chip-bottom-left {
    bottom: 25px;
    left: -20px;
}

.chip-bottom-right {
    bottom: 35px;
    right: 10px;
}

/* Crosshair Markers */
.crosshair {
    position: absolute;
    color: rgba(255, 255, 255, 0.15);
    font-family: var(--font-mono);
    font-size: 14px;
    pointer-events: none;
}
.ch-tl { top: 0; left: 0; }
.ch-tr { top: 0; right: 0; }
.ch-bl { bottom: 0; left: 0; }
.ch-br { bottom: 0; right: 0; }

/* --------------------------------------------------------------------------
   11. ECOSYSTEM SECTION (MATRIX & CARDS)
   -------------------------------------------------------------------------- */
.ecosystem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.card-ecosystem {
    background: var(--bg-glass-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    position: relative;
    overflow: hidden;
    transition: transform var(--t-fast), border-color var(--t-fast), box-shadow var(--t-fast);
}

.card-ecosystem:hover {
    transform: translateY(-6px);
    border-color: var(--border-medium);
    box-shadow: 0 12px 35px -8px rgba(0, 0, 0, 0.6), var(--glow-cyan);
}

.card-ecosystem.accent-blue:hover {
    border-color: rgba(77, 124, 254, 0.4);
    box-shadow: 0 12px 35px -8px rgba(0, 0, 0, 0.6), var(--glow-blue);
}

.card-ecosystem.accent-violet:hover {
    border-color: rgba(139, 92, 246, 0.4);
    box-shadow: 0 12px 35px -8px rgba(0, 0, 0, 0.6), var(--glow-violet);
}

.card-ecosystem.accent-magenta:hover {
    border-color: rgba(217, 70, 239, 0.4);
    box-shadow: 0 12px 35px -8px rgba(0, 0, 0, 0.6), 0 0 35px -8px rgba(217, 70, 239, 0.35);
}

.card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-lg);
}

.card-index {
    font-family: var(--font-mono);
    font-size: var(--fs-mono);
    color: #64748B;
    font-weight: 600;
}

.card-icon-box {
    width: 54px;
    height: 54px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-cyan);
    margin-bottom: var(--space-md);
    transition: background-color var(--t-fast), transform var(--t-fast);
}

.accent-blue .card-icon-box { color: var(--accent-blue); }
.accent-violet .card-icon-box { color: var(--accent-violet); }
.accent-magenta .card-icon-box { color: var(--accent-magenta); }

.card-ecosystem:hover .card-icon-box {
    background: rgba(255, 255, 255, 0.08);
    transform: scale(1.06);
}

.card-title {
    font-family: var(--font-display);
    font-size: var(--fs-card-title);
    font-weight: 600;
    color: #F8FAFC;
    margin-bottom: var(--space-xs);
}

.card-desc {
    color: #94A3B8;
    font-size: var(--fs-body-sm);
    line-height: 1.6;
    margin-bottom: var(--space-xl);
}

.card-footer-telemetry {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-md);
    border-top: 1px solid var(--border-subtle);
    font-family: var(--font-mono);
    font-size: var(--fs-mono);
    color: #64748B;
}

.card-action-cue {
    color: var(--accent-cyan);
    font-size: 1.1rem;
    transition: transform var(--t-fast);
}

.card-ecosystem:hover .card-action-cue {
    transform: translateX(4px);
    color: #FFFFFF;
}

/* --------------------------------------------------------------------------
   12. FEATURED APPLICATIONS (ASYMMETRIC PRODUCT GRID)
   -------------------------------------------------------------------------- */
.apps-editorial-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: var(--space-xl);
}

.app-card {
    background: var(--bg-glass-card);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    position: relative;
    overflow: hidden;
    transition: border-color var(--t-fast), box-shadow var(--t-fast);
}

.app-card:hover {
    border-color: var(--border-medium);
    box-shadow: 0 16px 45px -10px rgba(0, 0, 0, 0.7);
}

/* 1. Heroic Large Card (Atlas OS) */
.app-heroic {
    grid-column: span 12;
}

.app-card-layout {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
}

.app-card-header {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
}

.app-category {
    font-family: var(--font-mono);
    font-size: var(--fs-mono);
    color: var(--accent-cyan);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.app-name {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    font-weight: 700;
    color: #F8FAFC;
    line-height: 1.15;
    margin-bottom: var(--space-xs);
}

.app-tagline {
    font-size: 1.1rem;
    color: #E2E8F0;
    font-weight: 500;
    margin-bottom: var(--space-md);
}

.app-desc {
    color: #94A3B8;
    font-size: var(--fs-body);
    line-height: 1.6;
    margin-bottom: var(--space-xl);
}

.caps-label {
    display: block;
    font-family: var(--font-mono);
    font-size: var(--fs-mono);
    color: #64748B;
    margin-bottom: var(--space-xs);
}

.caps-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
    margin-bottom: var(--space-xl);
}

.cap-tag {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-size: var(--fs-mono);
    color: #CBD5E1;
}

/* Workbench Simulated Console */
.preview-console {
    background: #04060F;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
}

.console-top-bar {
    background: #080D1E;
    padding: 10px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.console-dots {
    display: flex;
    gap: 6px;
}

.console-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.dot-r { background: #EF4444; }
.dot-y { background: #F59E0B; }
.dot-g { background: #10B981; }

.console-title {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: #64748B;
}

.console-chip {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    background: rgba(0, 229, 255, 0.12);
    color: var(--accent-cyan);
    padding: 2px 6px;
    border-radius: var(--radius-sm);
}

.console-body {
    padding: var(--space-md);
    font-family: var(--font-mono);
    font-size: 0.8rem;
}

.console-line {
    margin-bottom: 8px;
}
.line-dim { color: #64748B; }
.line-active { color: var(--accent-cyan); }

.console-card-matrix {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-sm);
    margin: var(--space-md) 0;
}

.sub-matrix-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 10px;
    border-radius: var(--radius-sm);
}

.sub-matrix-card.active {
    border-color: rgba(0, 229, 255, 0.3);
    background: rgba(0, 229, 255, 0.04);
}

.smc-label {
    display: block;
    font-size: 0.65rem;
    color: #64748B;
}

.smc-val {
    display: block;
    font-size: 0.75rem;
    color: #F8FAFC;
    font-weight: 600;
}

.console-stream {
    height: 4px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 2px;
    overflow: hidden;
}

.stream-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-blue));
    border-radius: 2px;
    animation: streamFlow 2.5s infinite ease-in-out;
}

@keyframes streamFlow {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* 2 & 3. Standard Cards (Relay & Prism) */
.app-standard {
    grid-column: span 6;
    display: flex;
    flex-direction: column;
}

.app-standard .app-name {
    font-size: 1.85rem;
}

.mini-flow-visual {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 0, 0, 0.4);
    padding: 12px;
    border-radius: var(--radius-sm);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    margin: var(--space-md) 0;
}

.flow-node {
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.06);
    color: #94A3B8;
}

.flow-node.highlight {
    background: rgba(77, 124, 254, 0.2);
    border: 1px solid rgba(77, 124, 254, 0.4);
    color: #93C5FD;
}

.flow-connector {
    color: #475569;
}

.mini-prism-visual {
    display: flex;
    height: 12px;
    gap: 4px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin: var(--space-md) 0;
}

.prism-band { flex: 1; border-radius: 2px; }
.band-1 { background: var(--accent-cyan); opacity: 0.7; }
.band-2 { background: var(--accent-violet); opacity: 0.8; }
.band-3 { background: var(--accent-magenta); opacity: 0.9; }

.app-footer {
    margin-top: auto;
    padding-top: var(--space-md);
}

/* 4. Panoramic Card (Signal) */
.app-panoramic {
    grid-column: span 12;
}

.app-panoramic-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: var(--space-2xl);
    align-items: center;
}

.data-query-preview {
    background: #04060F;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
}

.query-bubble {
    background: rgba(217, 70, 239, 0.08);
    border: 1px solid rgba(217, 70, 239, 0.25);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: #F5D0FE;
    margin-bottom: var(--space-md);
}

.query-response-chips {
    display: flex;
    gap: var(--space-sm);
}

.resp-chip {
    flex: 1;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    font-family: var(--font-mono);
}

.resp-chip.active {
    border-color: rgba(0, 229, 255, 0.3);
    background: rgba(0, 229, 255, 0.05);
}

.rc-label {
    display: block;
    font-size: 0.65rem;
    color: #64748B;
}

.rc-val {
    display: block;
    font-size: 0.75rem;
    color: #F8FAFC;
    font-weight: 600;
}

/* --------------------------------------------------------------------------
   13. AI NETWORK VISUALIZATION SECTION
   -------------------------------------------------------------------------- */
.section-network {
    overflow: hidden;
}

.network-stage-container {
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
}

.network-stage {
    position: relative;
    width: 100%;
    padding-bottom: 60%; /* Aspect ratio 900x540 */
    background: radial-gradient(circle at center, rgba(10, 16, 34, 0.9) 0%, rgba(5, 8, 22, 0.95) 75%);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 20px 50px -15px rgba(0, 0, 0, 0.8);
}

.network-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.svg-orbit-ring {
    fill: none;
    stroke: rgba(255, 255, 255, 0.04);
    stroke-dasharray: 4 6;
}

.synapse-path {
    fill: none;
    stroke-width: 1.5;
    stroke-dasharray: 4 4;
    transition: stroke-width var(--t-fast), stroke var(--t-fast);
}

.pulse-particle {
    fill: #00E5FF;
    filter: drop-shadow(0 0 6px #00E5FF);
}
.pulse-auto { fill: #4D7CFE; filter: drop-shadow(0 0 6px #4D7CFE); }
.pulse-creat { fill: #8B5CF6; filter: drop-shadow(0 0 6px #8B5CF6); }
.pulse-biz { fill: #D946EF; filter: drop-shadow(0 0 6px #D946EF); }

/* Central Node */
.network-center-node {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 110px;
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
}

.center-core-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 229, 255, 0.3) 0%, transparent 70%);
    animation: coreAuraPulse 4s infinite alternate;
}

.center-core-ring {
    position: absolute;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 1px dashed var(--accent-cyan);
    animation: orbitRotateOuter 20s linear infinite;
}

.center-core-inner {
    position: relative;
    z-index: 2;
    text-align: center;
    background: #0A1022;
    border: 1px solid rgba(0, 229, 255, 0.5);
    border-radius: 50%;
    width: 72px;
    height: 72px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.4);
}

.core-tag {
    font-family: var(--font-mono);
    font-size: 0.55rem;
    color: var(--accent-cyan);
    letter-spacing: 0.1em;
}

.core-name {
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 700;
    color: #F8FAFC;
}

/* 6 Peripheral Node Cards */
.node-cards-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    pointer-events: none;
}

.network-node-card {
    position: absolute;
    pointer-events: auto;
    width: 160px;
    background: rgba(10, 16, 34, 0.88);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 10px 12px;
    transition: transform var(--t-fast), border-color var(--t-fast), box-shadow var(--t-fast);
    cursor: pointer;
}

.network-node-card:hover {
    transform: scale(1.08);
    border-color: var(--accent-cyan);
    box-shadow: 0 8px 24px -4px rgba(0, 229, 255, 0.4);
}

.pos-tl { top: 12%; left: 8%; }
.pos-tr { top: 12%; right: 8%; }
.pos-mr { top: 44%; right: 3%; }
.pos-br { bottom: 12%; right: 8%; }
.pos-bl { bottom: 12%; left: 8%; }
.pos-ml { top: 44%; left: 3%; }

.node-badge-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

.node-code {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: #64748B;
}

.node-signal-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--accent-cyan);
    box-shadow: 0 0 6px var(--accent-cyan);
}

.node-title {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 600;
    color: #F8FAFC;
    margin-bottom: 2px;
}

.node-desc {
    font-size: 0.68rem;
    color: #94A3B8;
    line-height: 1.35;
}

/* --------------------------------------------------------------------------
   14. HOW IT WORKS (TIMELINE)
   -------------------------------------------------------------------------- */
.timeline-container {
    position: relative;
    margin-top: var(--space-2xl);
}

.timeline-track {
    position: absolute;
    top: 28px;
    left: 40px;
    right: 40px;
    height: 2px;
    background: rgba(255, 255, 255, 0.08);
    z-index: 1;
}

.timeline-progress-bar {
    height: 100%;
    width: 100%;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-blue), var(--accent-violet));
    opacity: 0.45;
}

.timeline-steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--space-md);
    position: relative;
    z-index: 2;
}

.timeline-step {
    display: flex;
    flex-direction: column;
}

.step-indicator {
    position: relative;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #0A1022;
    border: 2px solid var(--border-medium);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-lg);
    transition: transform var(--t-fast), border-color var(--t-fast);
}

.step-num {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--accent-cyan);
}

.step-card {
    background: var(--bg-glass-card);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    height: 100%;
    transition: transform var(--t-fast), border-color var(--t-fast);
}

.timeline-step:hover .step-indicator {
    transform: scale(1.1);
    border-color: var(--accent-cyan);
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.5);
}

.timeline-step:hover .step-card {
    transform: translateY(-4px);
    border-color: var(--border-medium);
}

.step-eyebrow {
    font-family: var(--font-mono);
    font-size: var(--fs-mono);
    color: #64748B;
    text-transform: uppercase;
    display: block;
    margin-bottom: 4px;
}

.step-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: #F8FAFC;
    margin-bottom: var(--space-xs);
}

.step-desc {
    font-size: var(--fs-body-sm);
    color: #94A3B8;
    line-height: 1.55;
}

/* --------------------------------------------------------------------------
   15. PHILOSOPHY & PILLARS
   -------------------------------------------------------------------------- */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

.pillar-card {
    background: var(--bg-glass-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    display: flex;
    flex-direction: column;
    transition: border-color var(--t-fast), transform var(--t-fast);
}

.pillar-card:hover {
    border-color: var(--border-medium);
    transform: translateY(-4px);
}

.pillar-num-wrap {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.pillar-num {
    font-family: var(--font-mono);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent-cyan);
}

.pillar-line {
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
}

.pillar-title {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 600;
    color: #F8FAFC;
    margin-bottom: var(--space-xs);
}

.pillar-statement {
    font-size: var(--fs-body-sm);
    font-weight: 500;
    color: #CBD5E1;
    margin-bottom: var(--space-sm);
}

.pillar-detail {
    font-size: 0.85rem;
    color: #94A3B8;
    line-height: 1.6;
}

/* --------------------------------------------------------------------------
   16. LARGE TYPOGRAPHIC MOMENT
   -------------------------------------------------------------------------- */
.section-statement {
    padding-top: var(--space-5xl);
    padding-bottom: var(--space-5xl);
    position: relative;
    text-align: center;
}

.statement-ambient-light {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70vw;
    height: 50vh;
    background: radial-gradient(circle, rgba(77, 124, 254, 0.08) 0%, rgba(0, 229, 255, 0.05) 50%, transparent 75%);
    filter: blur(60px);
    pointer-events: none;
}

.cinematic-quote {
    font-family: var(--font-display);
    font-size: var(--fs-quote);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: #F8FAFC;
    max-width: 1000px;
    margin: 0 auto var(--space-2xl);
}

.statement-caption {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    font-family: var(--font-mono);
    font-size: var(--fs-mono);
    color: #64748B;
    flex-wrap: wrap;
}

.statement-badge {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    color: var(--accent-cyan);
}

/* --------------------------------------------------------------------------
   17. TRUST & TECHNICAL SIGNALS
   -------------------------------------------------------------------------- */
.signals-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

.signal-card {
    background: var(--bg-glass-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    transition: transform var(--t-fast), border-color var(--t-fast);
}

.signal-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-medium);
}

.signal-icon-wrap {
    color: var(--accent-cyan);
    margin-bottom: var(--space-md);
}

.signal-tag {
    display: block;
    font-family: var(--font-mono);
    font-size: var(--fs-mono);
    color: #64748B;
    letter-spacing: 0.1em;
    margin-bottom: 4px;
}

.signal-headline {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: #F8FAFC;
    margin-bottom: var(--space-xs);
}

.signal-desc {
    font-size: var(--fs-body-sm);
    color: #94A3B8;
    line-height: 1.6;
}

/* --------------------------------------------------------------------------
   18. FINAL CALL TO ACTION (CTA)
   -------------------------------------------------------------------------- */
.section-cta {
    position: relative;
    padding-top: var(--space-4xl);
    padding-bottom: var(--space-5xl);
}

.cta-ambient-glow {
    position: absolute;
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 229, 255, 0.15) 0%, rgba(139, 92, 246, 0.1) 50%, transparent 75%);
    filter: blur(80px);
    pointer-events: none;
}

.cta-card {
    background: radial-gradient(circle at 50% 0%, rgba(15, 23, 46, 0.85) 0%, rgba(7, 11, 25, 0.95) 100%);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-xl);
    padding: var(--space-4xl) var(--space-2xl);
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8), var(--glow-cyan);
}

.cta-backdrop-rings {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.cta-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1px dashed rgba(0, 229, 255, 0.15);
}

.ring-l { width: 700px; height: 700px; }
.ring-m { width: 500px; height: 500px; border-color: rgba(77, 124, 254, 0.2); }
.ring-s { width: 300px; height: 300px; border-color: rgba(217, 70, 239, 0.2); }

.cta-title {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 4.5vw, 3.75rem);
    font-weight: 700;
    color: #FFFFFF;
    line-height: 1.1;
    margin-top: var(--space-md);
    margin-bottom: var(--space-md);
}

.cta-desc {
    font-size: var(--fs-body-lead);
    color: #94A3B8;
    max-width: 620px;
    margin: 0 auto var(--space-2xl);
    line-height: 1.65;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    flex-wrap: wrap;
    margin-bottom: var(--space-2xl);
}

.cta-footnote {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: var(--fs-mono);
    color: #64748B;
}

.footnote-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--accent-cyan);
}

/* --------------------------------------------------------------------------
   19. GLOBAL FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
    background-color: #03050C;
    border-top: 1px solid var(--border-subtle);
    padding-top: var(--space-4xl);
    padding-bottom: var(--space-2xl);
    position: relative;
    z-index: 2;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: var(--space-2xl);
    margin-bottom: var(--space-3xl);
}

.footer-logo {
    margin-bottom: var(--space-md);
}

.footer-tagline {
    font-size: var(--fs-body-sm);
    color: #94A3B8;
    max-width: 320px;
    line-height: 1.6;
    margin-bottom: var(--space-lg);
}

.footer-domain-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-family: var(--font-mono);
    font-size: var(--fs-mono);
    color: #CBD5E1;
}

.domain-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--status-live);
}

.footer-heading {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 600;
    color: #F8FAFC;
    letter-spacing: 0.04em;
    margin-bottom: var(--space-lg);
}

.footer-links li {
    margin-bottom: var(--space-sm);
}

.footer-link {
    font-size: var(--fs-body-sm);
    color: #94A3B8;
}

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

.footer-telemetry-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    font-family: var(--font-mono);
    font-size: 0.72rem;
}

.ft-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}
.ft-row:last-child { margin-bottom: 0; }
.ft-label { color: #64748B; }
.ft-val { color: #CBD5E1; }
.ft-val.live { color: #34D399; font-weight: 600; }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-xl);
    border-top: 1px solid var(--border-subtle);
    font-size: var(--fs-body-sm);
    color: #64748B;
}

.back-to-top {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    color: #94A3B8;
    font-size: var(--fs-mono);
    font-family: var(--font-mono);
    transition: all var(--t-fast);
}

.back-to-top:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
    border-color: rgba(255, 255, 255, 0.2);
}

/* --------------------------------------------------------------------------
   20. RESPONSIVE DESIGN (BREAKPOINTS)
   -------------------------------------------------------------------------- */
@media (max-width: 1200px) {
    .apps-editorial-grid {
        grid-template-columns: 1fr;
    }
    .app-heroic, .app-standard, .app-panoramic {
        grid-column: span 1;
    }
    .app-card-layout, .app-panoramic-layout {
        grid-template-columns: 1fr;
    }
    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-actions {
        justify-content: center;
    }
    .hero-telemetry {
        margin: 0 auto;
        justify-content: center;
    }
    .ecosystem-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .timeline-steps {
        display: flex;
        flex-direction: column;
        gap: var(--space-xl);
        position: relative;
        padding-left: var(--space-2xl);
    }
    .timeline-track {
        display: none;
    }
    .timeline-steps::before {
        content: '';
        position: absolute;
        top: 28px;
        bottom: 28px;
        left: 27px;
        width: 2px;
        background: linear-gradient(180deg, var(--accent-cyan), var(--accent-blue), var(--accent-violet));
        opacity: 0.5;
    }
    .timeline-step {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        gap: var(--space-lg);
    }
    .step-indicator {
        margin-bottom: 0;
        flex-shrink: 0;
        z-index: 2;
    }
    .step-card {
        flex: 1;
    }
    .pillars-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .signals-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }
    .mobile-menu-toggle {
        display: flex;
    }
    .mobile-nav {
        display: block;
        top: 0;
        height: 100vh;
        padding-top: 90px;
    }
    .btn-header {
        display: none;
    }
    .ecosystem-grid {
        grid-template-columns: 1fr;
    }
    .pillars-grid {
        grid-template-columns: 1fr;
    }
    .signals-grid {
        grid-template-columns: 1fr;
    }
    .footer-top {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        gap: var(--space-md);
        text-align: center;
    }
    .ai-core-stage {
        width: 320px;
        height: 320px;
    }
    .ring-outer { width: 290px; height: 290px; }
    .ring-middle { width: 230px; height: 230px; }
    .ring-inner { width: 170px; height: 170px; }
    .core-nucleus-wrap { width: 180px; height: 180px; }
    .chip { font-size: 0.65rem; padding: 4px 8px; }
    .network-stage {
        padding-bottom: 95%; /* Taller for mobile */
    }
    .network-node-card {
        width: 130px;
        padding: 6px 8px;
    }
    .node-title { font-size: 0.75rem; }
    .node-desc { display: none; }
}

@media (max-width: 480px) {
    .section {
        padding-top: var(--space-2xl);
        padding-bottom: var(--space-2xl);
    }
    .cta-card {
        padding: var(--space-2xl) var(--space-md);
    }
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    .hero-actions .btn {
        width: 100%;
    }
}

/* --------------------------------------------------------------------------
   21. REDUCED MOTION PROTOCOL
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .space-aurora {
        animation: none;
    }
    .ring-outer, .ring-middle, .ring-inner, .center-core-ring {
        animation: none;
    }
    .pulse-particle {
        display: none;
    }
}
