/* Scanalytics - Light-Led Premium Experience with Dark Accents */

:root {
    --color-primary: #0A9B9B;
    --color-primary-light: #0CC;
    --color-primary-glow: rgba(10, 155, 155, 0.15);
    --color-accent: #00E5CC;
    
    /* Light theme base */
    --color-bg: #F8FAFA;
    --color-bg-subtle: #EFF4F4;
    --color-surface: #FFFFFF;
    --color-surface-elevated: #FFFFFF;
    
    /* Dark accents */
    --color-dark: #0A1214;
    --color-darker: #050A0C;
    --color-dark-soft: #1A2428;
    --color-dark-muted: #2A3438;
    
    /* Text on light */
    --color-text: #0A1214;
    --color-text-secondary: #4A5568;
    --color-text-muted: #8A9AA8;
    
    /* Text on dark */
    --color-text-on-dark: #FFFFFF;
    --color-text-on-dark-dim: rgba(255, 255, 255, 0.8);
    --color-text-on-dark-muted: rgba(255, 255, 255, 0.5);
    
    /* Borders */
    --color-border: rgba(10, 18, 20, 0.08);
    --color-border-dark: rgba(255, 255, 255, 0.1);
    
    --font-display: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

::selection {
    background: var(--color-primary);
    color: white;
}

/* Dark accent utility */
.dark-accent {
    background: var(--color-dark);
    color: var(--color-text-on-dark);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 48px;
}

/* Loader */
.loader {
    position: fixed;
    inset: 0;
    background: var(--color-bg);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s var(--ease-out-expo), visibility 0.6s;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-inner {
    text-align: center;
}

.loader-hexagons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    margin: 0 auto 24px;
}

.hex-row {
    display: flex;
    gap: 6px;
}

.hex {
    width: 24px;
    height: 28px;
    background: var(--color-primary);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    animation: hexPulse 1.5s ease-in-out infinite;
}

/* Staggered animation delays for honeycomb effect */
.hex-row:nth-child(1) .hex:nth-child(1) { animation-delay: 0s; }
.hex-row:nth-child(1) .hex:nth-child(2) { animation-delay: 0.1s; }
.hex-row:nth-child(2) .hex:nth-child(1) { animation-delay: 0.15s; }
.hex-row:nth-child(2) .hex:nth-child(2) { animation-delay: 0.25s; }
.hex-row:nth-child(2) .hex:nth-child(3) { animation-delay: 0.35s; }
.hex-row:nth-child(3) .hex:nth-child(1) { animation-delay: 0.3s; }
.hex-row:nth-child(3) .hex:nth-child(2) { animation-delay: 0.4s; }

@keyframes hexPulse {
    0%, 100% { opacity: 0.25; transform: scale(0.85); }
    50% { opacity: 1; transform: scale(1); }
}

.loader-text {
    font-family: var(--font-display);
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-text-secondary);
    margin-bottom: 16px;
}

.loader-progress {
    width: 120px;
    height: 2px;
    background: rgba(10, 155, 155, 0.2);
    border-radius: 1px;
    overflow: hidden;
    margin: 0 auto;
}

.loader-progress span {
    display: block;
    height: 100%;
    background: var(--color-primary);
    width: 0%;
    animation: loaderProgress 2s var(--ease-out-expo) forwards;
}

@keyframes loaderProgress {
    to { width: 100%; }
}

/* Navigation - Dark accented pills on light */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 24px 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.4s var(--ease-out-quart);
}

.nav.scrolled {
    padding: 16px 48px;
    background: rgba(248, 250, 250, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border);
}

.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.nav-logo-img {
    height: 70px;
    width: auto;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-logo:hover .nav-logo-img {
    opacity: 0.85;
    transform: scale(1.02);
}

/* Dark pill nav container */
.nav-center {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px;
    background: var(--color-dark);
    border-radius: 100px;
}

.nav-center a {
    text-decoration: none;
    color: var(--color-text-on-dark-dim);
    font-size: 13px;
    font-weight: 500;
    padding: 10px 20px;
    border-radius: 100px;
    transition: all 0.3s ease;
}

.nav-center a:hover {
    color: var(--color-text-on-dark);
    background: rgba(255, 255, 255, 0.1);
}

.nav-center a.active {
    background: var(--color-text-on-dark);
    color: var(--color-dark);
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--color-dark);
    color: var(--color-text-on-dark);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border-radius: 100px;
    transition: all 0.3s ease;
}

.nav-cta:hover {
    background: var(--color-dark-soft);
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(10, 18, 20, 0.2);
}

.nav-cta svg {
    transition: transform 0.3s ease;
}

.nav-cta:hover svg {
    transform: translateX(4px);
}

/* Light Nav Theme */
.nav.nav-light .nav-center {
    background: rgba(248, 250, 250, 0.95);
    border: 1px solid var(--color-border);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.nav.nav-light .nav-center a {
    color: var(--color-text-secondary);
}

.nav.nav-light .nav-center a:hover {
    color: var(--color-text);
    background: rgba(0, 0, 0, 0.04);
}

.nav.nav-light .nav-center a.active {
    background: var(--color-primary);
    color: #ffffff;
}

.nav.nav-light .nav-cta {
    background: var(--color-primary);
    color: #ffffff;
}

.nav.nav-light .nav-cta:hover {
    background: var(--color-accent);
    box-shadow: 0 10px 40px rgba(10, 155, 155, 0.25);
}

.nav-menu {
    display: none;
    flex-direction: column;
    gap: 6px;
    padding: 12px;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-menu span {
    width: 24px;
    height: 2px;
    background: var(--color-dark);
    transition: all 0.3s ease;
}

.nav-menu.active span:first-child {
    transform: rotate(45deg) translate(3px, 3px);
}

.nav-menu.active span:last-child {
    transform: rotate(-45deg) translate(3px, -3px);
}

/* Mobile Nav */
.mobile-nav {
    position: fixed;
    inset: 0;
    background: var(--color-darker);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s var(--ease-out-expo);
}

.mobile-nav.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.mobile-nav-content a {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 500;
    color: var(--color-text-on-dark);
    text-decoration: none;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s var(--ease-out-expo);
}

.mobile-nav.active .mobile-nav-content a {
    opacity: 1;
    transform: translateY(0);
}

.mobile-nav-content a:nth-child(1) { transition-delay: 0.1s; }
.mobile-nav-content a:nth-child(2) { transition-delay: 0.15s; }
.mobile-nav-content a:nth-child(3) { transition-delay: 0.2s; }
.mobile-nav-content a:nth-child(4) { transition-delay: 0.25s; }
.mobile-nav-content a:nth-child(5) { transition-delay: 0.3s; }

.mobile-cta {
    padding: 16px 40px;
    background: var(--color-primary);
    border-radius: 100px;
    font-size: 18px !important;
}

/* Hero - Scroll-Driven Animation */
.hero-scroll {
    position: relative;
    height: 600vh; /* 6 stages worth of scroll */
    background: var(--color-bg);
}

.hero-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.hero-scroll.scrolled-past .hero-bg {
    position: absolute;
    top: 0;
    height: 100vh;
}

.hero-bg-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 50% 120%, rgba(10, 155, 155, 0.08), transparent),
        radial-gradient(ellipse 60% 40% at 80% 20%, rgba(10, 155, 155, 0.05), transparent),
        linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-subtle) 100%);
    z-index: 1;
}

#heroCanvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0.4;
}

/* Hero Scroll Container - Pinned */
.hero-scroll-container {
    position: sticky;
    top: 0;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
}

/* Stage Text Content */
.hero-stage {
    position: absolute;
    top: 120px; /* Fixed - must clear nav */
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: flex-start; /* Anchor to top, never overflow into nav */
    padding: 0 48px 150px;
    padding-top: 40px; /* Space below nav */
    box-sizing: border-box;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s var(--ease-out-expo), visibility 0.6s;
    z-index: 10;
}

/* Adjust hero stage when announcement banner is present */
body.has-banner .hero-stage {
    top: 165px; /* Fixed - must clear nav + banner */
}

.hero-stage.active {
    opacity: 1;
    visibility: visible;
}

.hero-stage.stage-intro {
    z-index: 11;
}

.stage-text {
    max-width: 500px;
}

.stage-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: 16px;
    padding: 8px 16px;
    background: rgba(10, 155, 155, 0.1);
    border-radius: 100px;
}

.stage-text h2 {
    font-family: var(--font-display);
    font-size: clamp(40px, 6vw, 64px);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--color-dark);
}

.stage-text p {
    font-size: 18px;
    line-height: 1.7;
    color: var(--color-text-secondary);
    max-width: 450px;
}

/* Sensor Animation Container */
.sensor-animation-container {
    position: absolute;
    top: 50%;
    right: 5%;
    transform: translateY(-50%);
    width: 55%;
    max-width: 800px;
    aspect-ratio: 1;
    z-index: 5;
    perspective: 1500px;
}

.sensor-hero {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform-style: preserve-3d;
    transition: transform 0.1s linear, opacity 0.4s ease, visibility 0.4s;
    z-index: 0;
}

.sensor-hero.fading {
    opacity: 0.3;
    transition: opacity 0.5s ease;
}

.sensor-hero.hidden {
    opacity: 0 !important;
    visibility: hidden !important;
    transition: opacity 0.3s ease, visibility 0.3s !important;
}

/* Exploded View (Stage 2) */
.sensor-exploded {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-left: 15%;
    opacity: 0;
    visibility: hidden;
    transform: rotateX(50deg) rotateY(-10deg) rotateZ(0deg);
    transform-style: preserve-3d;
    perspective: 2000px;
    transition: opacity 0.5s ease, visibility 0.5s;
    z-index: 1;
}

.sensor-exploded.visible {
    opacity: 1;
    visibility: visible;
}

.exploded-layer {
    position: absolute;
    width: 40%;
    transition: transform 0.7s var(--ease-out-expo), opacity 0.4s ease;
    transform-style: preserve-3d;
}

.exploded-layer img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
}

/* Layer positioning - collapsed state (sandwich together) */
.exploded-layer.layer-top {
    z-index: 3;
    transform: translateY(-5px) translateZ(2px);
}

.exploded-layer.layer-middle {
    z-index: 2;
    transform: translateY(0) translateZ(0);
}

.exploded-layer.layer-bottom {
    z-index: 1;
    transform: translateY(5px) translateZ(-2px);
}

/* Layer positioning - entering state (layers coming in from off-screen) */
.exploded-layer.layer-top.entering {
    transform: translateY(-300px) translateZ(100px);
    opacity: 0.7;
}

.exploded-layer.layer-bottom.entering {
    transform: translateY(300px) translateZ(-100px);
    opacity: 0.7;
}

/* Layer positioning - exploded state - full separation */
.sensor-exploded.exploded .exploded-layer.layer-top {
    transform: translateY(-140px) translateZ(60px);
    opacity: 1;
}

.sensor-exploded.exploded .exploded-layer.layer-middle {
    transform: translateY(0) translateZ(0);
}

.sensor-exploded.exploded .exploded-layer.layer-bottom {
    transform: translateY(140px) translateZ(-60px);
    opacity: 1;
}

/* Blue Foam Layer (Top) */
.foam-layer {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    transform-style: preserve-3d;
}

.foam-surface {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #4A7DB8 0%, #3D6A9E 50%, #2D5A8E 100%);
    border-radius: 12px;
    box-shadow:
        0 8px 32px rgba(45, 90, 142, 0.4),
        inset 0 2px 4px rgba(255, 255, 255, 0.2),
        inset 0 -2px 4px rgba(0, 0, 0, 0.1);
}

/* Foam texture overlay */
.foam-surface::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(255,255,255,0.1) 1px, transparent 1px),
        radial-gradient(circle at 60% 70%, rgba(255,255,255,0.08) 1px, transparent 1px),
        radial-gradient(circle at 80% 20%, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 20px 20px, 30px 30px, 25px 25px;
    border-radius: 12px;
    opacity: 0.6;
}

.foam-edge {
    position: absolute;
    bottom: -8px;
    left: 4px;
    right: 4px;
    height: 12px;
    background: linear-gradient(180deg, #2D5A8E 0%, #1E4A7E 100%);
    border-radius: 0 0 8px 8px;
    transform: rotateX(-90deg) translateZ(6px);
    transform-origin: top;
}

/* Nonwoven Scrim Layer (Bottom) */
.scrim-layer {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    transform-style: preserve-3d;
}

.scrim-surface {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #E8E8E8 0%, #D0D0D0 50%, #B8B8B8 100%);
    border-radius: 12px;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.2),
        inset 0 2px 4px rgba(255, 255, 255, 0.5),
        inset 0 -2px 4px rgba(0, 0, 0, 0.05);
}

/* Woven texture for scrim */
.scrim-surface::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0,0,0,0.03) 2px, rgba(0,0,0,0.03) 4px),
        repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(0,0,0,0.03) 2px, rgba(0,0,0,0.03) 4px);
    border-radius: 12px;
}

/* Fibrous texture overlay */
.scrim-surface::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    border-radius: 12px;
    opacity: 0.08;
    mix-blend-mode: multiply;
}

.scrim-edge {
    position: absolute;
    bottom: -8px;
    left: 4px;
    right: 4px;
    height: 12px;
    background: linear-gradient(180deg, #A8A8A8 0%, #909090 100%);
    border-radius: 0 0 8px 8px;
    transform: rotateX(-90deg) translateZ(6px);
    transform-origin: top;
}

/* Middle layer (sensor) styling */
.exploded-layer.layer-middle img {
    filter: drop-shadow(0 15px 40px rgba(0, 0, 0, 0.35));
}

/* Layer labels container - positioned between text and diagram */
.layer-labels-container {
    position: absolute;
    left: 42%;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease 0.3s, visibility 0.4s;
    z-index: 10;
}

.layer-labels-container.visible {
    opacity: 1;
    visibility: visible;
}

.layer-label {
    display: flex;
    align-items: center;
    gap: 0;
}

.label-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: left;
    background: #ffffff;
    padding: 10px 14px;
    border-radius: 8px;
    border: 2px solid var(--color-primary);
    box-shadow:
        0 4px 16px rgba(10, 155, 155, 0.3),
        0 8px 32px rgba(0, 0, 0, 0.12);
}

.label-text {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--color-primary);
    white-space: nowrap;
}

.label-desc {
    font-size: 9px;
    color: #555555;
    white-space: nowrap;
}

/* Connector lines from labels to layers */
.label-line {
    width: 60px;
    height: 2px;
    background: var(--color-primary);
    position: relative;
    flex-shrink: 0;
}

.line-dot {
    position: absolute;
    right: -4px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: var(--color-primary);
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(10, 155, 155, 0.6);
}

/* Adjust line lengths for each label to reach the layers */
.label-for-top .label-line {
    width: 80px;
}

.label-for-middle .label-line {
    width: 60px;
}

.label-for-bottom .label-line {
    width: 40px;
}

.sensor-img {
    width: 70%;
    height: auto;
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.4)) drop-shadow(0 0 80px rgba(10, 155, 155, 0.25));
    transform-style: preserve-3d;
    opacity: 0;
    animation: sensorReveal 1.2s var(--ease-out-expo) 0.5s forwards;
}

@keyframes sensorReveal {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(40px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.sensor-glow-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(10, 155, 155, 0.2) 0%, transparent 60%);
    z-index: -1;
    opacity: 0.5;
    pointer-events: none;
}

/* Tiled Sensors (Stage 3) */
.sensor-tiles {
    position: absolute;
    inset: 10%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 12px;
    padding: 5%;
    opacity: 0;
    visibility: hidden;
    transform: rotateX(65deg) translateY(10%) translateX(-15%);
    transform-style: preserve-3d;
    pointer-events: none;
    transition: opacity 0.4s var(--ease-out-expo), visibility 0.4s;
    z-index: 1;
}

.sensor-tiles.visible {
    opacity: 1;
    visibility: visible;
}

/* Tiles fade out completely when data overlay is active */
.sensor-tiles.visible.background {
    opacity: 0;
    transition: opacity 0.6s ease;
}

.sensor-tile {
    position: relative;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: translateZ(-50px) scale(0.7);
    transition: all 0.6s var(--ease-out-expo);
    transition-delay: var(--delay, 0s);
}

.sensor-tile.visible {
    opacity: 1;
    transform: translateZ(0) scale(1);
}

.sensor-tile img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 5px 20px rgba(0, 0, 0, 0.25)) drop-shadow(0 0 40px rgba(10, 155, 155, 0.15));
}

.sensor-tile::after {
    content: '';
    position: absolute;
    inset: 5%;
    border: 1px solid rgba(10, 155, 155, 0.3);
    border-radius: 4px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.sensor-tile.visible::after {
    opacity: 1;
}

/* Data Overlay (Stage 4) */
.data-overlay {
    position: absolute;
    inset: 10%;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.4s var(--ease-out-expo), visibility 0.4s;
    transform: rotateX(65deg) translateY(10%) translateX(-15%);
    transform-style: preserve-3d;
    z-index: 2; /* Above tiles */
}

.data-overlay.visible {
    opacity: 1;
    visibility: visible;
}

.data-pulses {
    position: absolute;
    inset: 5%;
    z-index: 10;
}

.data-pulse-dot {
    position: absolute;
    width: 16px;
    height: 16px;
    background: var(--color-accent);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: dataPulseDot 2s ease-out infinite;
    box-shadow: 0 0 20px var(--color-accent), 0 0 40px rgba(0, 229, 204, 0.5);
}

.data-pulse-dot::before,
.data-pulse-dot::after {
    content: '';
    position: absolute;
    inset: -8px;
    border: 2px solid var(--color-accent);
    border-radius: 50%;
    animation: dataPulseRing 2s ease-out infinite;
}

.data-pulse-dot::after {
    animation-delay: 0.5s;
}

@keyframes dataPulseDot {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
    50% { transform: translate(-50%, -50%) scale(1.3); opacity: 0.7; }
}

@keyframes dataPulseRing {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(4); opacity: 0; }
}

.data-heatmap {
    position: absolute;
    inset: 5%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(4, 1fr);
    gap: 8px;
    z-index: 5;
}

.heat-cell {
    background: linear-gradient(135deg,
        rgba(10, 155, 155, calc(var(--heat, 0.3) * 0.8)),
        rgba(0, 229, 204, calc(var(--heat, 0.3) * 0.6))
    );
    border-radius: 6px;
    border: 1px solid rgba(10, 155, 155, 0.3);
    animation: heatPulse 3s ease-in-out infinite;
    animation-delay: var(--delay, 0s);
    box-shadow: inset 0 0 20px rgba(10, 155, 155, calc(var(--heat, 0.3) * 0.3));
}

@keyframes heatPulse {
    0%, 100% { opacity: 0.7; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.02); }
}

.data-flows {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 8;
}

.data-flow-line {
    position: absolute;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--color-accent), var(--color-primary), transparent);
    animation: flowLine 3s linear infinite;
    border-radius: 2px;
    box-shadow: 0 0 10px var(--color-accent);
}

@keyframes flowLine {
    0% { transform: translateX(-100%); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateX(300%); opacity: 0; }
}

/* Hero Dashboard (Stage 6) */
.hero-dashboard {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-right: 80px; /* Offset from right to avoid progress indicator */
    padding-left: 0;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.5) translateY(40px) translateX(-5%);
    transition: opacity 0.6s var(--ease-out-expo), transform 0.6s var(--ease-out-expo), visibility 0.6s;
    pointer-events: none;
}

.hero-dashboard.visible {
    opacity: 1;
    visibility: visible;
    transform: scale(0.75) translateY(0) translateX(-5%);
}

.dashboard-browser {
    width: 100%;
    max-width: 1400px;
    max-height: 700px;
    background: var(--color-dark);
    border-radius: 16px;
    overflow: hidden;
    box-shadow:
        0 50px 100px rgba(10, 18, 20, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.1);
}

.browser-bar {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 16px;
    background: var(--color-dark-soft);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.browser-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.browser-dots span:nth-child(1) { background: #FF5F57; }
.browser-dots span:nth-child(2) { background: #FEBC2E; }
.browser-dots span:nth-child(3) { background: #28C840; }

.browser-url {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    font-size: 12px;
    color: var(--color-text-on-dark-muted);
}

.browser-url svg {
    opacity: 0.5;
}

.dashboard-content {
    padding: 20px;
    background: linear-gradient(180deg, var(--color-dark) 0%, #0d1a1c 100%);
}

/* Dashboard Stats Row */
.dash-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 16px;
}

.dash-stat-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.dash-stat-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(10, 155, 155, 0.3);
}

.stat-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    flex-shrink: 0;
}

.stat-icon svg {
    width: 24px;
    height: 24px;
}

.stat-icon.energy {
    background: rgba(0, 229, 204, 0.15);
    color: var(--color-accent);
}

.stat-icon.occupancy {
    background: rgba(10, 155, 155, 0.15);
    color: var(--color-primary);
}

.stat-icon.alerts {
    background: rgba(255, 107, 107, 0.15);
    color: #FF6B6B;
}

.stat-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.stat-info .stat-label {
    font-size: 11px;
    color: var(--color-text-on-dark-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-info .stat-number {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    color: var(--color-text-on-dark);
}

.stat-info .stat-trend {
    font-size: 11px;
    color: var(--color-text-on-dark-muted);
}

.stat-info .stat-trend.up {
    color: var(--color-accent);
}

.stat-info .stat-trend.warning {
    color: #FF6B6B;
}

/* Dashboard Main Grid */
.dash-main-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    grid-template-rows: auto auto;
    gap: 16px;
}

.dash-panel {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 16px;
    transition: all 0.3s ease;
}

.dash-panel:hover {
    border-color: rgba(10, 155, 155, 0.2);
}

.panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.panel-header h4 {
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text-on-dark);
}

.live-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.live-badge .pulse {
    width: 6px;
    height: 6px;
    background: var(--color-accent);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

.panel-select {
    padding: 4px 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    font-size: 11px;
    color: var(--color-text-on-dark-muted);
    outline: none;
}

/* Heatmap Panel */
.heatmap-panel {
    grid-row: span 2;
}

.floor-heatmap-viz {
    height: 200px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.heatmap-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(4, 1fr);
    gap: 4px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    padding: 8px;
}

.heatmap-cell {
    background: rgba(10, 155, 155, var(--heat, 0.2));
    border-radius: 3px;
    transition: all 0.5s ease;
}

.heatmap-legend {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 10px;
    color: var(--color-text-on-dark-muted);
}

.legend-gradient {
    flex: 1;
    height: 6px;
    background: linear-gradient(90deg, rgba(10, 155, 155, 0.1), rgba(10, 155, 155, 0.4), var(--color-primary), var(--color-accent));
    border-radius: 3px;
}

/* Path Reconstruction Visualization */
.floor-path-viz {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.path-reconstruction {
    flex: 1;
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    padding: 4px;
}

/* Trail paths left behind by dots */
.trail-path {
    filter: drop-shadow(0 0 4px currentColor);
    opacity: 0.85;
}

/* Moving dots */
.path-dot {
    filter: drop-shadow(0 0 8px currentColor);
}

/* Path legend */
.path-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    font-size: 10px;
    color: var(--color-text-on-dark-muted);
}

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

.path-color {
    width: 16px;
    height: 4px;
    border-radius: 2px;
}

/* Path Insights Panel */
.path-insights {
    display: flex;
    gap: 12px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.insight-item {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: rgba(10, 155, 155, 0.08);
    border-radius: 8px;
    border: 1px solid rgba(10, 155, 155, 0.15);
    transition: all 0.3s ease;
}

.insight-item:hover {
    background: rgba(10, 155, 155, 0.15);
    border-color: rgba(10, 155, 155, 0.3);
    transform: translateY(-2px);
}

.insight-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(10, 155, 155, 0.2);
    border-radius: 8px;
    color: var(--color-accent);
}

.insight-icon.hot {
    background: rgba(255, 107, 107, 0.2);
    color: #FF6B6B;
}

.insight-icon.peak {
    background: rgba(168, 85, 247, 0.2);
    color: #A855F7;
}

.insight-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.insight-label {
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-text-on-dark-muted);
}

.insight-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text-on-dark);
}

.insight-value small {
    font-size: 10px;
    font-weight: 400;
    color: var(--color-text-on-dark-muted);
    margin-left: 2px;
}

/* Energy Chart Panel */
.energy-chart {
    position: relative;
    height: 100px;
    padding: 10px 0;
}

.chart-bars {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    height: 70px;
    gap: 6px;
    padding-bottom: 20px;
}

.chart-bar {
    flex: 1;
    min-width: 20px;
    height: var(--height, 50%);
    background: linear-gradient(180deg, var(--color-primary), rgba(10, 155, 155, 0.3));
    border-radius: 4px 4px 0 0;
    position: relative;
    transition: all 0.3s ease;
}

.chart-bar:hover {
    filter: brightness(1.2);
}

.chart-bar.active {
    background: linear-gradient(180deg, var(--color-accent), var(--color-primary));
    box-shadow: 0 0 20px rgba(0, 229, 204, 0.3);
}

.chart-bar.future {
    opacity: 0.4;
    background: linear-gradient(180deg, rgba(10, 155, 155, 0.5), rgba(10, 155, 155, 0.2));
}

.chart-bar span {
    position: absolute;
    bottom: -18px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 9px;
    color: var(--color-text-on-dark-muted);
    white-space: nowrap;
}

.chart-baseline {
    position: absolute;
    bottom: 50px;
    left: 0;
    right: 0;
    border-top: 1px dashed rgba(255, 255, 255, 0.2);
}

.baseline-label {
    position: absolute;
    right: 0;
    top: -10px;
    font-size: 9px;
    color: var(--color-text-on-dark-muted);
}

/* Zone Controls Panel */
.zone-controls {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.zone-control {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
}

.control-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.zone-name {
    font-size: 12px;
    font-weight: 500;
    color: var(--color-text-on-dark);
}

.zone-status {
    font-size: 10px;
    color: var(--color-text-on-dark-muted);
}

.zone-status.occupied {
    color: var(--color-accent);
}

.zone-status.empty {
    color: var(--color-text-on-dark-muted);
}

.control-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.temp {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text-on-dark);
}

.toggle {
    width: 36px;
    height: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    position: relative;
    transition: all 0.3s ease;
}

.toggle::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 16px;
    height: 16px;
    background: var(--color-text-on-dark-muted);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.toggle.active {
    background: var(--color-primary);
}

.toggle.active::after {
    left: 18px;
    background: white;
}

/* Activity Panel */
.activity-panel {
    grid-column: span 2;
}

.activity-feed {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
}

.activity-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.activity-dot.alert {
    background: #FF6B6B;
    box-shadow: 0 0 10px rgba(255, 107, 107, 0.5);
}

.activity-dot.success {
    background: var(--color-accent);
}

.activity-dot.info {
    background: var(--color-primary);
}

.activity-text {
    flex: 1;
    font-size: 12px;
    color: var(--color-text-on-dark-dim);
}

.activity-time {
    font-size: 10px;
    color: var(--color-text-on-dark-muted);
}

/* Hero Scroll Progress Indicator */
.hero-scroll-progress {
    position: fixed;
    right: 48px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.hero-scroll-progress.visible {
    opacity: 1;
}

.progress-track {
    width: 2px;
    height: 120px;
    background: rgba(10, 18, 20, 0.1);
    border-radius: 1px;
    overflow: hidden;
}

.progress-track .progress-fill {
    width: 100%;
    height: 0%;
    background: var(--color-primary);
    border-radius: 1px;
    transition: height 0.3s ease;
}

.progress-stages {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 16px;
}

.progress-dot {
    position: relative;
    width: 12px;
    height: 12px;
    background: rgba(10, 18, 20, 0.1);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.progress-dot::before {
    content: '';
    position: absolute;
    inset: 3px;
    background: var(--color-primary);
    border-radius: 50%;
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s ease;
}

.progress-dot.active::before,
.progress-dot.passed::before {
    opacity: 1;
    transform: scale(1);
}

.progress-dot.active {
    background: rgba(10, 155, 155, 0.2);
}

.progress-dot span {
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--color-text-muted);
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.progress-dot.active span {
    opacity: 1;
    color: var(--color-primary);
}

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

@keyframes fadeIn {
    to { opacity: 1; }
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 10;
    padding: 0 48px;
    max-width: 800px;
}

.hero-tag {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 32px;
    opacity: 0;
    animation: fadeUp 0.8s var(--ease-out-expo) 0.3s forwards;
}

.doe-logo {
    height: 40px;
    width: auto;
    background: transparent;
}

.tag-line {
    width: 40px;
    height: 1px;
    background: var(--color-dark);
}

.hero-tag span:last-child {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-text-secondary);
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(48px, 8vw, 96px);
    font-weight: 700;
    line-height: 1.05;
    margin-bottom: 32px;
}

.title-line {
    display: block;
    overflow: hidden;
}

.title-line span {
    display: block;
    opacity: 0;
    transform: translateY(100%);
    animation: slideUp 1s var(--ease-out-expo) forwards;
}

.title-line:nth-child(1) span { animation-delay: 0.4s; }
.title-line:nth-child(2) span { animation-delay: 0.5s; }
.title-line:nth-child(3) span { animation-delay: 0.6s; }

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

@keyframes slideUp {
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeUp {
    to { opacity: 1; transform: translateY(0); }
}

.hero-desc {
    font-size: 18px;
    line-height: 1.7;
    color: var(--color-text-secondary);
    max-width: 560px;
    margin-bottom: 48px;
    opacity: 0;
    animation: fadeUp 0.8s var(--ease-out-expo) 0.7s forwards;
}

.hero-actions {
    display: flex;
    gap: 24px;
    opacity: 0;
    animation: fadeUp 0.8s var(--ease-out-expo) 0.8s forwards;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 32px;
    background: var(--color-dark);
    color: var(--color-text-on-dark);
    text-decoration: none;
    font-weight: 500;
    border-radius: 100px;
    transition: all 0.4s var(--ease-out-quart);
}

.btn-primary:hover {
    background: var(--color-dark-soft);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(10, 18, 20, 0.25);
}

.btn-primary svg {
    transition: transform 0.3s ease;
}

.btn-primary:hover svg {
    transform: translateX(4px);
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    padding: 18px 32px;
    color: var(--color-text);
    text-decoration: none;
    font-weight: 500;
    border: 1px solid var(--color-border);
    border-radius: 100px;
    transition: all 0.3s ease;
}

.btn-ghost:hover {
    background: var(--color-surface);
    border-color: var(--color-text-muted);
}

/* Hero Stats */
.hero-stats {
    position: absolute;
    bottom: 48px;
    left: 48px;
    right: 48px;
    display: flex;
    align-items: center;
    gap: 48px;
    z-index: 10;
    opacity: 0;
    animation: fadeUp 0.8s var(--ease-out-expo) 1s forwards;
}

.stat {
    display: flex;
    align-items: baseline;
    gap: 4px;
    flex-wrap: wrap;
}

.stat-value {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 700;
    color: var(--color-primary);
}

.stat-value-text {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 500;
    color: var(--color-text-muted);
    margin-right: 4px;
}

.stat-value-static {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 700;
    color: var(--color-primary);
}

.stat-unit {
    font-size: 24px;
    color: var(--color-primary);
    font-weight: 500;
}

.stat-label {
    width: 100%;
    font-size: 12px;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}

.stat-divider {
    width: 1px;
    height: 48px;
    background: rgba(10, 18, 20, 0.1);
}

/* Height-based responsive: reduce content on short viewports */
@media (max-height: 850px) {
    .hero-stage {
        padding-top: 24px;
        padding-bottom: 120px;
    }

    .hero-title {
        font-size: clamp(40px, 7vw, 72px);
        margin-bottom: 20px;
    }

    .hero-tag {
        margin-bottom: 20px;
    }

    .hero-desc {
        margin-bottom: 32px;
        font-size: 16px;
    }

    .hero-stats {
        bottom: 32px;
    }

    .stat-value {
        font-size: 36px;
    }
}

@media (max-height: 750px) {
    .hero-stage {
        padding-top: 16px;
        padding-bottom: 100px;
    }

    .hero-title {
        font-size: clamp(32px, 6vw, 56px);
        margin-bottom: 16px;
    }

    .hero-tag {
        margin-bottom: 16px;
    }

    .doe-logo {
        height: 32px;
    }

    .hero-desc {
        margin-bottom: 24px;
        font-size: 15px;
        line-height: 1.5;
    }

    .hero-actions {
        gap: 16px;
    }

    .btn-primary {
        padding: 14px 24px;
        font-size: 13px;
    }

    .btn-ghost {
        padding: 14px 20px;
        font-size: 13px;
    }

    .hero-stats {
        bottom: 24px;
        gap: 24px;
    }

    .stat-value {
        font-size: 28px;
    }

    .stat-divider {
        height: 32px;
    }
}

@media (max-height: 650px) {
    .hero-stage {
        padding-top: 8px;
        padding-bottom: 80px;
    }

    .hero-title {
        font-size: clamp(28px, 5vw, 44px);
        margin-bottom: 12px;
    }

    .hero-tag {
        margin-bottom: 12px;
        gap: 8px;
    }

    .doe-logo {
        height: 28px;
    }

    .hero-tag span:last-child {
        font-size: 10px;
    }

    .hero-desc {
        display: none; /* Hide description on very short screens */
    }

    .hero-actions {
        gap: 12px;
    }

    .btn-primary {
        padding: 12px 20px;
        font-size: 12px;
    }

    .btn-ghost {
        display: none; /* Hide secondary CTA */
    }

    .hero-stats {
        bottom: 16px;
        gap: 16px;
    }

    .stat-value {
        font-size: 24px;
    }

    .stat-unit {
        font-size: 16px;
    }

    .stat-label {
        font-size: 10px;
    }

    .stat-divider {
        display: none;
    }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 48px;
    right: 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    z-index: 10;
    opacity: 0;
    animation: fadeUp 0.8s var(--ease-out-expo) 1.2s forwards;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(180deg, var(--color-dark), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 1; transform: scaleY(1); }
    50% { opacity: 0.5; transform: scaleY(0.8); }
}

.scroll-indicator span {
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-text-muted);
    writing-mode: vertical-rl;
}

/* Experience Section */
.experience {
    position: relative;
    background: var(--color-bg-subtle);
}

.experience::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='800' height='600' viewBox='0 0 800 600'%3E%3Cg fill='none' stroke='%230A9B9B' stroke-width='1.5' opacity='0.07'%3E%3C!-- Central chip/processor --%3E%3Crect x='350' y='250' width='100' height='100' rx='8'/%3E%3Crect x='365' y='265' width='70' height='70' rx='4'/%3E%3C!-- Top traces radiating out --%3E%3Cpath d='M370 250v-30h-50v-40h-80'/%3E%3Cpath d='M390 250v-50h-30v-30h-120v-20'/%3E%3Cpath d='M410 250v-50h30v-50h60v-30'/%3E%3Cpath d='M430 250v-30h70v-60h90'/%3E%3Cpath d='M380 250v-80h-100v-50'/%3E%3Cpath d='M420 250v-80h80v-70'/%3E%3C!-- Bottom traces --%3E%3Cpath d='M370 350v30h-60v50h-100'/%3E%3Cpath d='M390 350v50h-40v40h-150'/%3E%3Cpath d='M410 350v50h50v60h120'/%3E%3Cpath d='M430 350v30h80v80h60'/%3E%3Cpath d='M380 350v70h-80v60'/%3E%3Cpath d='M420 350v70h100v50'/%3E%3C!-- Left traces --%3E%3Cpath d='M350 270h-40v-60h-70v-50h-60'/%3E%3Cpath d='M350 290h-60v40h-80v60'/%3E%3Cpath d='M350 310h-50v80h-100v40'/%3E%3Cpath d='M350 330h-30v50h-90v70'/%3E%3C!-- Right traces --%3E%3Cpath d='M450 270h40v-80h90v-40h80'/%3E%3Cpath d='M450 290h70v-50h100'/%3E%3Cpath d='M450 310h50v60h80v90'/%3E%3Cpath d='M450 330h30v40h100v60'/%3E%3C!-- Diagonal connector traces --%3E%3Cpath d='M240 120h40v50h-30v40'/%3E%3Cpath d='M560 150h50v-40h70'/%3E%3Cpath d='M200 390h-40v60h50'/%3E%3Cpath d='M630 430h50v50h40'/%3E%3C!-- Additional parallel traces --%3E%3Cpath d='M100 200h60v80h40'/%3E%3Cpath d='M700 180h-50v100h-40'/%3E%3Cpath d='M120 400h80v-40h50'/%3E%3Cpath d='M680 420h-60v-60h-30'/%3E%3C/g%3E%3Cg fill='%230A9B9B' opacity='0.09'%3E%3C!-- Pin connectors on chip --%3E%3Ccircle cx='370' cy='250' r='3'/%3E%3Ccircle cx='390' cy='250' r='3'/%3E%3Ccircle cx='410' cy='250' r='3'/%3E%3Ccircle cx='430' cy='250' r='3'/%3E%3Ccircle cx='370' cy='350' r='3'/%3E%3Ccircle cx='390' cy='350' r='3'/%3E%3Ccircle cx='410' cy='350' r='3'/%3E%3Ccircle cx='430' cy='350' r='3'/%3E%3Ccircle cx='350' cy='270' r='3'/%3E%3Ccircle cx='350' cy='290' r='3'/%3E%3Ccircle cx='350' cy='310' r='3'/%3E%3Ccircle cx='350' cy='330' r='3'/%3E%3Ccircle cx='450' cy='270' r='3'/%3E%3Ccircle cx='450' cy='290' r='3'/%3E%3Ccircle cx='450' cy='310' r='3'/%3E%3Ccircle cx='450' cy='330' r='3'/%3E%3C!-- End nodes --%3E%3Ccircle cx='140' cy='120' r='4'/%3E%3Ccircle cx='240' cy='150' r='3'/%3E%3Ccircle cx='500' cy='120' r='4'/%3E%3Ccircle cx='590' cy='150' r='3'/%3E%3Ccircle cx='680' cy='150' r='4'/%3E%3Ccircle cx='100' cy='200' r='3'/%3E%3Ccircle cx='700' cy='180' r='3'/%3E%3Ccircle cx='150' cy='280' r='4'/%3E%3Ccircle cx='650' cy='240' r='4'/%3E%3Ccircle cx='210' cy='430' r='4'/%3E%3Ccircle cx='200' cy='500' r='3'/%3E%3Ccircle cx='300' cy='530' r='4'/%3E%3Ccircle cx='630' cy='480' r='4'/%3E%3Ccircle cx='720' cy='530' r='3'/%3E%3Ccircle cx='620' cy='560' r='4'/%3E%3Ccircle cx='120' cy='400' r='3'/%3E%3Ccircle cx='680' cy='420' r='3'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 800px 600px;
    background-position: center;
    pointer-events: none;
    z-index: 0;
}

.exp-container {
    position: relative;
    z-index: 1;
}

.exp-stage {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 80px;
    padding: 120px 48px;
    opacity: 0;
    transform: translateY(60px);
    transition: all 0.8s var(--ease-out-expo);
}

.exp-stage.active {
    opacity: 1;
    transform: translateY(0);
}

.exp-stage:nth-child(even) {
    direction: rtl;
}

.exp-stage:nth-child(even) > * {
    direction: ltr;
}

.exp-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.exp-content {
    max-width: 520px;
}

.exp-number {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text-on-dark);
    margin-bottom: 24px;
    padding: 8px 16px;
    background: var(--color-dark);
    border-radius: 100px;
}

.exp-content h2 {
    font-family: var(--font-display);
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--color-dark);
}

.exp-content p {
    font-size: 17px;
    line-height: 1.8;
    color: var(--color-text-secondary);
    margin-bottom: 40px;
}

.exp-specs {
    display: flex;
    gap: 40px;
}

.spec {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.spec-value {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    color: var(--color-primary);
}

.spec-label {
    font-size: 13px;
    color: var(--color-text-muted);
}

/* Pinned Scroll Stage */
.exp-stage-pinned {
    position: relative;
    height: 200vh; /* Scroll distance for 2-panel transition */
}

.exp-stage-pinned.modular-pinned,
.exp-stage-pinned.marketplace-pinned,
.exp-stage-pinned.partners-pinned {
    height: 300vh; /* Scroll distance for 3-panel transition */
}

.pinned-wrapper {
    position: sticky;
    top: 0;
    height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 80px;
    padding: 120px 48px;
    overflow: hidden;
}

.pinned-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 80px;
    padding: 120px 48px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.pinned-slide.active {
    opacity: 1;
    visibility: visible;
}

.pinned-slide .exp-content {
    transform: translateY(30px);
    opacity: 0;
    transition: transform 0.6s ease 0.2s, opacity 0.6s ease 0.2s;
}

.pinned-slide.active .exp-content {
    transform: translateY(0);
    opacity: 1;
}

.pinned-slide .exp-visual {
    transform: scale(0.9);
    opacity: 0;
    transition: transform 0.6s ease, opacity 0.6s ease;
}

.pinned-slide.active .exp-visual {
    transform: scale(1);
    opacity: 1;
}

/* Pinned progress indicator */
.pinned-progress {
    position: fixed;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 100px;
    background: rgba(10, 155, 155, 0.2);
    border-radius: 2px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 100;
}

.pinned-progress.visible {
    opacity: 1;
}

.pinned-progress-fill {
    width: 100%;
    height: 0%;
    background: var(--color-primary);
    border-radius: 2px;
    transition: height 0.1s ease;
}

/* Paths Visualization */
.paths-visualization {
    position: relative;
    width: 100%;
    max-width: 500px;
    aspect-ratio: 1;
}

.paths-container {
    width: 100%;
    height: 100%;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(10, 155, 155, 0.1);
}

.paths-svg {
    width: 100%;
    height: 100%;
}

.exp-trail-path {
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 0 4px rgba(10, 155, 155, 0.5));
}

.exp-path-dot {
    filter: drop-shadow(0 0 6px rgba(10, 155, 155, 0.6));
}

.dwell-indicator {
    transition: opacity 0.3s ease;
}

.dwell-indicator.visible {
    opacity: 1 !important;
}

.dwell-ring {
    transform-origin: center;
    transition: stroke-dashoffset 0.1s linear;
}

/* Modular Image Container */
.modular-image-container {
    position: relative;
    width: 100%;
    max-width: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modular-img {
    width: 100%;
    height: auto;
}

/* Floor Plan Visualization */
.floorplan-container {
    position: relative;
    width: 100%;
    max-width: 500px;
    aspect-ratio: 4/3;
}

.floorplan-svg {
    width: 100%;
    height: 100%;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(10, 155, 155, 0.1);
}

.sensor-zone {
    animation: sensorPulse 2s ease-in-out infinite;
}

.sensor-zone:nth-child(2) {
    animation-delay: 0.3s;
}

.sensor-zone:nth-child(3) {
    animation-delay: 0.6s;
}

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

.floorplan-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80%;
    height: 80%;
    transform: translate(-50%, -50%);
    background: radial-gradient(ellipse at center, rgba(10, 155, 155, 0.08), transparent 70%);
    pointer-events: none;
}

.floorplan-glow.full-glow {
    background: radial-gradient(ellipse at center, rgba(10, 155, 155, 0.15), transparent 70%);
}

.coverage-path {
    filter: drop-shadow(0 0 4px rgba(0, 229, 204, 0.6));
}

#fullCoverageDot {
    filter: drop-shadow(0 0 6px rgba(0, 229, 204, 0.8));
}

/* Application Marketplace */
.app-marketplace {
    width: 100%;
    max-width: 520px;
}

.marketplace-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.app-card {
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.app-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(10, 155, 155, 0.15);
    border-color: var(--color-primary);
}

.app-icon {
    width: 48px;
    height: 48px;
    color: var(--color-primary);
}

.app-icon svg {
    width: 100%;
    height: 100%;
}

.app-name {
    font-size: 12px;
    font-weight: 600;
    color: var(--color-text);
    line-height: 1.3;
}

.app-toggle {
    width: 36px;
    height: 20px;
    background: #e0e0e0;
    border-radius: 10px;
    position: relative;
    transition: background 0.3s ease;
}

.app-toggle::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 16px;
    height: 16px;
    background: #ffffff;
    border-radius: 50%;
    transition: transform 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.app-toggle.active {
    background: var(--color-primary);
}

.app-toggle.active::after {
    transform: translateX(16px);
}

/* App Showcase Cards (Panels 2 & 3) */
.app-showcase {
    display: flex;
    gap: 24px;
    width: 100%;
    max-width: 560px;
}

.showcase-card {
    flex: 1;
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: 20px;
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
    transition: all 0.3s ease;
}

.showcase-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(10, 155, 155, 0.15);
}

.showcase-card.featured {
    border-color: var(--color-primary);
    box-shadow: 0 8px 32px rgba(10, 155, 155, 0.12);
}

.segment-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-primary);
    color: #ffffff;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 12px;
    border-radius: 12px;
}

.showcase-card {
    position: relative;
}

.showcase-icon {
    width: 72px;
    height: 72px;
    color: var(--color-primary);
    margin-bottom: 8px;
}

.showcase-icon svg {
    width: 100%;
    height: 100%;
}

.showcase-card h4 {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    color: var(--color-dark);
    margin: 0;
}

.showcase-card p {
    font-size: 13px;
    line-height: 1.6;
    color: var(--color-text-secondary);
    margin: 0;
}

.showcase-stat {
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid var(--color-border);
    width: 100%;
}

.showcase-stat .stat-value {
    display: block;
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1;
}

.showcase-stat .stat-desc {
    font-size: 11px;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Enterprise Partners & Flooring Compatibility */
.flooring-showcase {
    width: 100%;
    max-width: 560px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    position: relative;
}

.flooring-image-container {
    position: relative;
    width: 100%;
    border-radius: 24px;
    overflow: hidden;
    box-shadow:
        0 25px 80px rgba(10, 155, 155, 0.2),
        0 10px 40px rgba(0, 0, 0, 0.1);
}

.flooring-glow {
    position: absolute;
    inset: -50%;
    background: radial-gradient(ellipse at center, rgba(10, 155, 155, 0.15), transparent 60%);
    z-index: -1;
    animation: flooringGlowPulse 4s ease-in-out infinite;
}

@keyframes flooringGlowPulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.05); }
}

.flooring-hero-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s ease;
}

.flooring-image-container:hover .flooring-hero-image {
    transform: scale(1.02);
}

.flooring-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(10, 155, 155, 0.05) 0%,
        transparent 50%,
        rgba(10, 155, 155, 0.08) 100%
    );
    pointer-events: none;
}

.flooring-scan-line {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg,
        transparent,
        rgba(10, 155, 155, 0.8),
        rgba(0, 229, 204, 1),
        rgba(10, 155, 155, 0.8),
        transparent
    );
    box-shadow:
        0 0 20px rgba(10, 155, 155, 0.6),
        0 0 40px rgba(10, 155, 155, 0.4);
    animation: scanLine 3s ease-in-out infinite;
    opacity: 0.8;
}

@keyframes scanLine {
    0%, 100% { top: 0; opacity: 0; }
    10% { opacity: 0.8; }
    90% { opacity: 0.8; }
    100% { top: 100%; opacity: 0; }
}

.flooring-labels {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.flooring-label {
    position: absolute;
    left: var(--label-x);
    top: var(--label-y);
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0;
    transform: translateX(-10px);
    animation: labelFadeIn 0.6s ease forwards;
    animation-delay: calc(var(--label-y) * 0.01s + 0.5s);
}

@keyframes labelFadeIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.label-dot {
    width: 10px;
    height: 10px;
    background: var(--color-primary);
    border-radius: 50%;
    box-shadow:
        0 0 0 3px rgba(10, 155, 155, 0.3),
        0 0 12px rgba(10, 155, 155, 0.5);
    animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 3px rgba(10, 155, 155, 0.3), 0 0 12px rgba(10, 155, 155, 0.5); }
    50% { transform: scale(1.2); box-shadow: 0 0 0 5px rgba(10, 155, 155, 0.2), 0 0 20px rgba(10, 155, 155, 0.6); }
}

.flooring-label .label-text {
    background: #ffffff !important;
    backdrop-filter: blur(8px);
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    color: #1a1a1a !important;
    white-space: nowrap;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    border: 2px solid #ffffff !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.flooring-label.sensor-label .label-dot {
    background: var(--color-accent);
    box-shadow:
        0 0 0 3px rgba(0, 229, 204, 0.3),
        0 0 12px rgba(0, 229, 204, 0.6);
}

.flooring-label.sensor-label .label-text {
    background: var(--color-primary) !important;
    color: #ffffff !important;
    border-color: var(--color-primary) !important;
}

.compatibility-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 24px;
    background: linear-gradient(135deg, rgba(10, 155, 155, 0.1), rgba(0, 229, 204, 0.08));
    border: 1px solid rgba(10, 155, 155, 0.25);
    border-radius: 100px;
    backdrop-filter: blur(8px);
    animation: badgeGlow 3s ease-in-out infinite;
}

@keyframes badgeGlow {
    0%, 100% { box-shadow: 0 0 20px rgba(10, 155, 155, 0.1); }
    50% { box-shadow: 0 0 30px rgba(10, 155, 155, 0.25); }
}

.compatibility-badge svg {
    width: 22px;
    height: 22px;
    color: var(--color-primary);
    flex-shrink: 0;
}

.compatibility-badge span {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-primary);
    letter-spacing: 0.3px;
}

/* Partners Showcase */
.partners-showcase {
    width: 100%;
    max-width: 560px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    text-align: center;
}

.partners-intro {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text-secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.partner-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 64px;
    flex-wrap: wrap;
}

.partner-logo {
    padding: 24px 32px;
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.partner-logo:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(10, 155, 155, 0.12);
}

.partner-logo img {
    height: 48px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    filter: grayscale(0%);
    transition: filter 0.3s ease;
}

.partners-description {
    font-size: 15px;
    color: var(--color-text-secondary);
    max-width: 400px;
    line-height: 1.6;
}

/* Scale Visualization */
.scale-visualization {
    width: 100%;
    max-width: 560px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.scale-stats {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
    justify-content: center;
}

.scale-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 28px 24px;
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: 20px;
    min-width: 150px;
    transition: all 0.3s ease;
}

.scale-stat:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(10, 155, 155, 0.15);
    border-color: var(--color-primary);
}

.scale-number {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1;
}

.scale-unit {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 600;
    color: var(--color-primary);
    margin-left: 2px;
}

.scale-label {
    font-size: 12px;
    color: var(--color-text-secondary);
    margin-top: 8px;
    max-width: 120px;
    line-height: 1.4;
}

.made-in-usa {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 28px;
    background: rgba(10, 155, 155, 0.06);
    border: 1px solid rgba(10, 155, 155, 0.15);
    border-radius: 100px;
}

.made-in-usa svg {
    width: 24px;
    height: 24px;
    color: var(--color-primary);
}

.made-in-usa span {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text);
}

/* Open API & Sensor Fusion Section */
.api-visualization {
    width: 100%;
    max-width: 620px;
    aspect-ratio: 1/1;
    position: relative;
}

.api-scene {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1000px;
    padding: 70px 24px;
}

.api-glow {
    position: absolute;
    inset: -30%;
    background: radial-gradient(ellipse at center, rgba(10, 155, 155, 0.12), transparent 60%);
    animation: apiGlowPulse 4s ease-in-out infinite;
}

@keyframes apiGlowPulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.05); }
}

/* Terminal Window */
.api-terminal {
    width: 400px;
    background: #1e1e2e;
    border-radius: 14px;
    overflow: hidden;
    box-shadow:
        0 25px 80px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    transform: rotateX(3deg) rotateY(-3deg);
    transition: transform 0.4s ease;
    z-index: 10;
}

.api-terminal:hover {
    transform: rotateX(1deg) rotateY(-1deg) scale(1.02);
}

.terminal-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 18px;
    background: #2d2d3d;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.terminal-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
}

.terminal-dot.red { background: #ff5f56; }
.terminal-dot.yellow { background: #ffbd2e; }
.terminal-dot.green { background: #27ca40; }

.terminal-title {
    margin-left: auto;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    font-family: monospace;
}

.terminal-body {
    padding: 20px;
}

.code-block {
    margin: 0;
    font-family: 'SF Mono', 'Fira Code', monospace;
    font-size: 13px;
    line-height: 1.7;
    color: #e0e0e0;
}

.code-keyword { color: #c792ea; font-weight: 600; }
.code-string { color: #c3e88d; }
.code-comment { color: #546e7a; }
.code-key { color: #89ddff; }
.code-number { color: #f78c6c; }

/* Floating API Cards */
.api-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow:
        0 8px 30px rgba(0, 0, 0, 0.12),
        0 0 0 1px rgba(10, 155, 155, 0.1);
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text);
    transition: all 0.3s ease;
    z-index: 15;
    white-space: nowrap;
}

.api-card:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow:
        0 16px 48px rgba(10, 155, 155, 0.2),
        0 0 0 2px var(--color-primary);
}

.card-icon-small {
    width: 22px;
    height: 22px;
    color: var(--color-primary);
    flex-shrink: 0;
}

.card-icon-small svg {
    width: 100%;
    height: 100%;
}

/* Card positions - floating around terminal */
.card-webhooks {
    top: 0%;
    left: 0%;
    animation: floatCard 6s ease-in-out infinite;
    background: linear-gradient(135deg, #a855f7, #7c3aed);
    color: #ffffff;
}
.card-webhooks .card-icon-small { color: #ffffff; }

.card-rest {
    top: 0%;
    right: 0%;
    animation: floatCard 6s ease-in-out infinite 1s;
    background: linear-gradient(135deg, #10b981, #059669);
    color: #ffffff;
}
.card-rest .card-icon-small { color: #ffffff; }

.card-stream {
    bottom: 5%;
    left: 0%;
    animation: floatCard 6s ease-in-out infinite 2s;
}

.card-sdk {
    bottom: 5%;
    right: 0%;
    animation: floatCard 6s ease-in-out infinite 3s;
}

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

/* Connection Lines */
.api-connections {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.conn-line {
    stroke: var(--color-primary);
    stroke-width: 1.5;
    stroke-dasharray: 4 4;
    opacity: 0.4;
    fill: none;
}

/* Data Particles - hidden for cleaner look */
.data-particles {
    display: none;
}

/* Sensor Fusion Visualization */
.sensor-fusion-viz {
    width: 100%;
    max-width: 650px;
    aspect-ratio: 4/3;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Central Fusion Hub */
.fusion-hub {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    z-index: 10;
}

.hub-core {
    position: relative;
    width: 120px;
    height: 120px;
}

.hub-ring {
    position: absolute;
    inset: 0;
    border: 2px solid var(--color-primary);
    border-radius: 50%;
    opacity: 0.3;
}

.hub-ring.ring-1 {
    animation: hubRingPulse 3s ease-out infinite;
}

.hub-ring.ring-2 {
    animation: hubRingPulse 3s ease-out infinite 1s;
}

.hub-ring.ring-3 {
    animation: hubRingPulse 3s ease-out infinite 2s;
}

@keyframes hubRingPulse {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(2.5); opacity: 0; }
}

.hub-center {
    position: absolute;
    inset: 15px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 0 30px rgba(10, 155, 155, 0.4),
        0 10px 40px rgba(10, 155, 155, 0.3);
}

.hub-center svg {
    width: 44px;
    height: 44px;
    color: #ffffff;
}

.hub-label {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-primary);
    background: rgba(10, 155, 155, 0.1);
    padding: 10px 20px;
    border-radius: 24px;
}

/* Orbiting Sensor Nodes */
.sensor-orbit {
    position: absolute;
    inset: 0;
}

.sensor-node {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.sensor-node:hover {
    transform: scale(1.1);
}

.sensor-icon {
    width: 56px;
    height: 56px;
    background: #ffffff;
    border: 2px solid var(--color-border);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-secondary);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.sensor-node:hover .sensor-icon {
    border-color: var(--color-primary);
    color: var(--color-primary);
    box-shadow: 0 8px 32px rgba(10, 155, 155, 0.2);
}

.sensor-node.active .sensor-icon {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #ffffff;
    box-shadow: 0 8px 32px rgba(10, 155, 155, 0.3);
}

.sensor-icon svg {
    width: 28px;
    height: 28px;
}

.sensor-node span {
    font-size: 11px;
    font-weight: 600;
    color: var(--color-text-secondary);
    text-align: center;
    white-space: nowrap;
}

/* Sensor node positions */
.node-floor { top: 50%; left: 2%; transform: translateY(-50%); }
.node-ble { top: 10%; left: 15%; }
.node-wifi { top: 5%; left: 50%; transform: translateX(-50%); }
.node-camera { top: 10%; right: 15%; }
.node-badge { top: 50%; right: 2%; transform: translateY(-50%); }
.node-hvac { bottom: 10%; left: 50%; transform: translateX(-50%); }

/* Data streams flowing to center */
.data-stream {
    position: absolute;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary), transparent);
    opacity: 0;
    animation: streamFlow 2s ease-in-out infinite;
}

.node-floor .data-stream { top: 50%; right: -45px; transform: translateY(-50%); }
.node-ble .data-stream { bottom: -10px; right: -30px; transform: rotate(45deg); }
.node-wifi .data-stream { bottom: -20px; left: 50%; transform: translateX(-50%) rotate(90deg); }
.node-camera .data-stream { bottom: -10px; left: -30px; transform: rotate(-45deg); }
.node-badge .data-stream { top: 50%; left: -45px; transform: translateY(-50%) rotate(180deg); }
.node-hvac .data-stream { top: -20px; left: 50%; transform: translateX(-50%) rotate(-90deg); }

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

.node-floor .data-stream { animation-delay: 0s; }
.node-ble .data-stream { animation-delay: 0.3s; }
.node-wifi .data-stream { animation-delay: 0.6s; }
.node-camera .data-stream { animation-delay: 0.9s; }
.node-badge .data-stream { animation-delay: 1.2s; }
.node-hvac .data-stream { animation-delay: 1.5s; }

/* Output Arrow */
.fusion-output {
    position: absolute;
    bottom: 5%;
    right: 10%;
    display: flex;
    align-items: center;
    gap: 12px;
}

.output-arrow {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--color-accent), var(--color-primary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 229, 204, 0.4);
    animation: arrowPulse 2s ease-in-out infinite;
}

.output-arrow svg {
    width: 20px;
    height: 20px;
}

@keyframes arrowPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 4px 20px rgba(0, 229, 204, 0.4); }
    50% { transform: scale(1.1); box-shadow: 0 8px 30px rgba(0, 229, 204, 0.6); }
}

.fusion-output span {
    font-size: 12px;
    font-weight: 600;
    color: var(--color-primary);
}

.dwell-zone {
    animation: dwellPulse 2s ease-in-out infinite;
}

@keyframes dwellPulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.paths-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80%;
    height: 80%;
    transform: translate(-50%, -50%);
    background: radial-gradient(ellipse at center, rgba(10, 155, 155, 0.1), transparent 70%);
    pointer-events: none;
}

/* Stage 1: Sensor Grid */
.sensor-macro-3d {
    position: relative;
    width: 100%;
    max-width: 500px;
    aspect-ratio: 1;
    perspective: 1000px;
}

.sensor-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
    padding: 24px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 24px;
    transform: rotateX(10deg) rotateY(-10deg);
    transform-style: preserve-3d;
    box-shadow: 0 20px 60px rgba(10, 155, 155, 0.1);
}

.sensor-cell {
    aspect-ratio: 1;
    background: linear-gradient(135deg, rgba(10, 155, 155, 0.08), rgba(10, 155, 155, 0.03));
    border: 1px solid rgba(10, 155, 155, 0.25);
    border-radius: 8px;
    position: relative;
    transition: all 0.3s ease;
}

.sensor-cell::before {
    content: '';
    position: absolute;
    top: 4px;
    left: 4px;
    width: 6px;
    height: 6px;
    background: var(--color-primary);
    border-radius: 50%;
    opacity: 0.6;
}

.sensor-cell::after {
    content: '';
    position: absolute;
    inset: 6px;
    border: 1px solid rgba(10, 155, 155, 0.15);
    border-radius: 4px;
}

.sensor-cell.active {
    background: rgba(10, 155, 155, 0.3);
    box-shadow: 0 0 20px var(--color-primary-glow);
}

.sensor-cell.active::before {
    opacity: 1;
    animation: nodePulse 1s ease-in-out infinite;
}

@keyframes nodePulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.5; }
}

.sensor-glow {
    position: absolute;
    inset: -50px;
    background: radial-gradient(circle at center, var(--color-primary-glow), transparent 70%);
    opacity: 0.5;
    z-index: -1;
    animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.1); }
}

/* Stage 2: Assembly */
.assembly-view {
    width: 100%;
    max-width: 600px;
    aspect-ratio: 1.2;
    position: relative;
    perspective: 1200px;
}

.assembly-tiles {
    position: absolute;
    inset: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 20px;
    transform-style: preserve-3d;
}

.assembly-tile {
    width: calc(33.333% - 6px);
    aspect-ratio: 1.5;
    background: linear-gradient(135deg, rgba(10, 155, 155, 0.15), rgba(10, 155, 155, 0.05));
    border: 1px solid rgba(10, 155, 155, 0.3);
    border-radius: 8px;
    position: relative;
    transform: translateZ(calc(var(--z) * 30px)) rotateX(calc(var(--rx) * 1deg)) rotateY(calc(var(--ry) * 1deg));
    transition: all 0.8s var(--ease-out-expo);
    transition-delay: calc(var(--i) * 0.05s);
}

.assembly-tile::before {
    content: '';
    position: absolute;
    inset: 4px;
    background: 
        repeating-linear-gradient(90deg, rgba(10, 155, 155, 0.1) 0px, transparent 1px, transparent 8px),
        repeating-linear-gradient(0deg, rgba(10, 155, 155, 0.1) 0px, transparent 1px, transparent 8px);
}

.exp-stage.active .assembly-tile {
    transform: translateZ(0) rotateX(0) rotateY(0);
}

/* Stage 3: Floor Render */
.floor-render-container {
    position: relative;
    width: 100%;
    max-width: 650px;
}

.floor-render-img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.4);
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
    transition: transform 0.6s var(--ease-out-expo);
}

.exp-stage.active .floor-render-img {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.floor-render-labels {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.render-label {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.5s var(--ease-out-expo);
}

.exp-stage.active .render-label {
    opacity: 1;
    transform: translateX(0);
}

.label-carpet {
    top: 12%;
    right: 5%;
    flex-direction: row-reverse;
    transition-delay: 0.2s;
}

.label-pad {
    top: 35%;
    right: 8%;
    flex-direction: row-reverse;
    transition-delay: 0.4s;
}

.label-sensor {
    top: 55%;
    right: 10%;
    flex-direction: row-reverse;
    transition-delay: 0.6s;
}

.label-subfloor {
    top: 78%;
    right: 12%;
    flex-direction: row-reverse;
    transition-delay: 0.8s;
}

.label-line {
    width: 40px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-primary));
}

.label-carpet .label-line,
.label-pad .label-line,
.label-sensor .label-line,
.label-subfloor .label-line {
    background: linear-gradient(90deg, var(--color-primary), transparent);
}

.label-text {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-primary);
    white-space: nowrap;
}

/* Stage 4: Building View */
.building-view {
    width: 100%;
    max-width: 500px;
    position: relative;
}

.building-floors {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.b-floor {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 16px;
    position: relative;
    transition: all 0.5s var(--ease-out-expo);
}

.b-floor:hover {
    border-color: var(--color-primary);
    box-shadow: 0 0 30px rgba(10, 155, 155, 0.2);
}

.floor-label {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 11px;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.floor-rooms {
    display: flex;
    gap: 8px;
}

.room {
    flex: var(--size);
    height: 40px;
    background: rgba(10, 155, 155, calc(var(--heat) * 0.4));
    border: 1px solid rgba(10, 155, 155, 0.3);
    border-radius: 6px;
    transition: all 0.3s ease;
}

.room.active {
    animation: roomPulse 2s ease-in-out infinite;
    animation-delay: calc(var(--heat) * -1s);
}

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

.building-data {
    position: absolute;
    right: -60px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.data-pulse {
    width: 40px;
    height: 40px;
    border: 2px solid var(--color-primary);
    border-radius: 50%;
    animation: dataPulse 2s ease-out infinite;
    animation-delay: var(--delay, 0s);
}

@keyframes dataPulse {
    0% { transform: scale(0.5); opacity: 1; }
    100% { transform: scale(2); opacity: 0; }
}

/* Stage 5: Data Viz */
.data-viz {
    width: 100%;
    max-width: 380px;
    aspect-ratio: 1;
    position: relative;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 24px;
    overflow: hidden;
}

.viz-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
    padding: 24px;
    height: 100%;
}

.viz-cell {
    background: rgba(10, 155, 155, 0.1);
    border-radius: 8px;
    transition: all 0.5s ease;
}

.viz-cell[data-value="high"] { background: rgba(10, 155, 155, 0.4); }
.viz-cell[data-value="med"] { background: rgba(10, 155, 155, 0.25); }
.viz-cell[data-value="low"] { background: rgba(10, 155, 155, 0.1); }

.exp-stage.active .viz-cell {
    animation: vizPulse 3s ease-in-out infinite;
}

.viz-cell:nth-child(odd) { animation-delay: -0.5s; }
.viz-cell:nth-child(3n) { animation-delay: -1s; }

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

.viz-overlay {
    position: absolute;
    inset: 24px;
    pointer-events: none;
}

.contour-svg {
    width: 100%;
    height: 100%;
}

.contour {
    fill: none;
    stroke: var(--color-primary);
    stroke-width: 2;
    stroke-dasharray: 400;
    stroke-dashoffset: 400;
    transition: stroke-dashoffset 2s var(--ease-out-expo);
}

.exp-stage.active .contour {
    stroke-dashoffset: 0;
}

.c1 { stroke-opacity: 0.8; filter: url(#glow); }
.c2 { stroke-opacity: 0.5; transition-delay: 0.2s; }
.c3 { stroke-opacity: 0.3; transition-delay: 0.4s; }

.node {
    fill: var(--color-accent);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.exp-stage.active .node {
    opacity: 1;
    animation: nodeFloat 3s ease-in-out infinite;
}

.n1 { animation-delay: 0s; }
.n2 { animation-delay: 0.5s; }
.n3 { animation-delay: 1s; }
.n4 { animation-delay: 1.5s; }

@keyframes nodeFloat {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(5px, -5px); }
}

.viz-metrics {
    position: absolute;
    bottom: 24px;
    left: 24px;
    display: flex;
    gap: 24px;
}

.metric {
    text-align: center;
}

.metric-ring {
    width: 60px;
    height: 60px;
    position: relative;
    margin-bottom: 8px;
}

.metric-ring svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.ring-bg {
    fill: none;
    stroke: var(--color-border);
    stroke-width: 3;
}

.ring-fill {
    fill: none;
    stroke: var(--color-primary);
    stroke-width: 3;
    stroke-linecap: round;
    transition: stroke-dasharray 1s var(--ease-out-expo);
}

.ring-fill.accent {
    stroke: var(--color-accent);
}

.metric-ring span {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
}

.metric-label {
    font-size: 11px;
    color: var(--color-text-muted);
}

/* Experience Progress */
.exp-progress {
    position: fixed;
    left: 48px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    display: none;
}

.progress-bar {
    width: 2px;
    height: 200px;
    background: var(--color-border);
    border-radius: 1px;
    margin-bottom: 16px;
}

.progress-fill {
    width: 100%;
    height: 0%;
    background: var(--color-primary);
    border-radius: 1px;
    transition: height 0.3s ease;
}

.progress-labels {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.progress-labels span {
    font-size: 10px;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.progress-labels span.active {
    color: var(--color-primary);
}

/* Solutions Section */
.solutions {
    padding: 120px 0;
    background: var(--color-dark);
    overflow: hidden;
}

.solutions-header {
    margin-bottom: 64px;
}

.section-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: 16px;
}

.solutions-header h2 {
    font-family: var(--font-display);
    font-size: clamp(40px, 6vw, 64px);
    font-weight: 700;
    line-height: 1.1;
    color: var(--color-text-on-dark);
}

.solutions-track {
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 40px 0 60px;
    margin: 0;
}

.solutions-track::-webkit-scrollbar {
    display: none;
}

.solutions-cards {
    display: flex;
    gap: 32px;
    padding: 0 48px;
    width: max-content;
    align-items: center;
}

.solution-card {
    width: 380px;
    min-width: 380px;
    padding: 48px;
    background: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    position: relative;
    overflow: hidden;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                box-shadow 0.5s ease,
                opacity 0.5s ease;
    color: var(--color-text);
    flex-shrink: 0;
    opacity: 0.4;
    transform: scale(0.85) translateY(20px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.solution-card.active {
    opacity: 1;
    transform: scale(1) translateY(0);
    box-shadow: 0 25px 80px rgba(10, 155, 155, 0.2);
}

.solution-card.adjacent {
    opacity: 0.7;
    transform: scale(0.92) translateY(10px);
}

.solution-card:hover {
    opacity: 1 !important;
    transform: scale(1.02) translateY(-5px) !important;
    box-shadow: 0 35px 100px rgba(10, 155, 155, 0.35);
    border-color: var(--color-primary);
}

.card-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle at top right, var(--accent), transparent 70%);
    opacity: 0.1;
    transition: opacity 0.4s ease;
}

.solution-card:hover .card-bg {
    opacity: 0.2;
}

.card-icon {
    width: 64px;
    height: 64px;
    color: var(--color-primary);
    margin-bottom: 32px;
}

.card-icon svg {
    width: 100%;
    height: 100%;
}

.card-number {
    position: absolute;
    top: 48px;
    right: 48px;
    font-family: var(--font-display);
    font-size: 14px;
    color: var(--color-text-muted);
}

.solution-card h3 {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--color-dark);
}

.solution-card p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--color-text-secondary);
    margin-bottom: 32px;
}

.card-stat {
    padding-top: 24px;
    border-top: 1px solid var(--color-border);
}

.stat-big {
    display: block;
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 700;
    color: var(--color-accent);
    line-height: 1;
    margin-bottom: 4px;
}

.card-stat span:last-child {
    font-size: 13px;
    color: var(--color-text-muted);
}

/* Platform Section */
.platform {
    position: relative;
    padding: 120px 0;
    background: var(--color-bg);
    overflow: hidden;
}

.platform-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.platform-grid-bg {
    position: absolute;
    inset: -50%;
    background-image: 
        linear-gradient(rgba(10, 155, 155, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(10, 155, 155, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    transform: perspective(500px) rotateX(60deg);
    animation: gridScroll 20s linear infinite;
}

@keyframes gridScroll {
    0% { background-position: 0 0; }
    100% { background-position: 0 60px; }
}

.platform-header {
    text-align: center;
    margin-bottom: 64px;
    position: relative;
    z-index: 1;
}

.platform-header h2 {
    font-family: var(--font-display);
    font-size: clamp(40px, 6vw, 64px);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--color-dark);
}

.platform-header p {
    font-size: 18px;
    color: var(--color-text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.platform-showcase {
    position: relative;
    z-index: 1;
    margin-bottom: 64px;
}

.dashboard-window {
    background: var(--color-dark);
    border: 1px solid var(--color-border-dark);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(10, 18, 20, 0.25);
}

.window-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--color-dark-soft);
    border-bottom: 1px solid var(--color-border-dark);
}

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

.window-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.window-dots span:nth-child(1) { background: #FF5F57; }
.window-dots span:nth-child(2) { background: #FEBC2E; }
.window-dots span:nth-child(3) { background: #28C840; }

.window-title {
    font-size: 12px;
    color: var(--color-text-on-dark-muted);
}

.dashboard-ui {
    display: flex;
    min-height: 500px;
}

.dash-sidebar {
    width: 64px;
    background: var(--color-dark-soft);
    border-right: 1px solid var(--color-border-dark);
    padding: 16px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.dash-logo {
    color: var(--color-primary);
    margin-bottom: 16px;
}

.dash-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.nav-item {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: var(--color-text-on-dark-muted);
    transition: all 0.3s ease;
    cursor: pointer;
}

.nav-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--color-text-on-dark);
}

.nav-item.active {
    background: var(--color-primary);
    color: white;
}

.dash-main {
    flex: 1;
    padding: 24px;
}

.dash-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.dash-search {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    background: var(--color-surface-light);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    color: var(--color-text-muted);
    font-size: 13px;
}

.dash-user {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: var(--color-text-dim);
}

.user-avatar {
    width: 32px;
    height: 32px;
    background: var(--color-primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
}

.dash-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 16px;
    margin-bottom: 24px;
}

.dash-card {
    background: var(--color-surface-light);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 20px;
}

.dash-card.big {
    grid-row: span 2;
}

.dash-card.floor-map {
    grid-column: span 2;
}

.card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 12px;
    color: var(--color-text-muted);
}

.live-dot {
    width: 6px;
    height: 6px;
    background: var(--color-accent);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

.card-value {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 4px;
}

.card-value.small {
    font-size: 28px;
}

.card-sub {
    font-size: 12px;
    color: var(--color-text-muted);
}

.card-sub.green {
    color: var(--color-accent);
}

.mini-chart {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    height: 60px;
    margin-top: 16px;
}

.mini-chart .chart-bar {
    flex: 1;
    height: var(--h);
    background: rgba(10, 155, 155, 0.3);
    border-radius: 4px;
    transition: background 0.3s ease;
}

.mini-chart .chart-bar.active {
    background: var(--color-primary);
}

.heatmap {
    position: relative;
    height: 120px;
    background: rgba(10, 155, 155, 0.05);
    border-radius: 8px;
    overflow: hidden;
}

.heat-zone {
    position: absolute;
    left: var(--x);
    top: var(--y);
    width: var(--size);
    height: var(--size);
    background: radial-gradient(circle, rgba(10, 155, 155, var(--intensity)), transparent 70%);
    transform: translate(-50%, -50%);
    animation: heatPulse 3s ease-in-out infinite;
}

.heat-zone:nth-child(odd) {
    animation-delay: -1s;
}

@keyframes heatPulse {
    0%, 100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.6; transform: translate(-50%, -50%) scale(1.1); }
}

.dash-alerts {
    background: rgba(255, 107, 107, 0.1);
    border: 1px solid rgba(255, 107, 107, 0.2);
    border-radius: 8px;
    padding: 12px 16px;
}

.alert {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
}

.alert-dot {
    width: 6px;
    height: 6px;
    background: #FF6B6B;
    border-radius: 50%;
    animation: pulse 1s ease-in-out infinite;
}

.alert-time {
    margin-left: auto;
    color: var(--color-text-muted);
    font-size: 11px;
}

.platform-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    position: relative;
    z-index: 1;
}

.pf-item {
    text-align: center;
    padding: 32px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.pf-item:hover {
    border-color: var(--color-primary);
    transform: translateY(-4px);
}

.pf-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 16px;
    color: var(--color-primary);
}

.pf-icon svg {
    width: 100%;
    height: 100%;
}

.pf-item h4 {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.pf-item p {
    font-size: 13px;
    color: var(--color-text-muted);
}

/* About Section */
.about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
}

.about-visual {
    position: relative;
    overflow: hidden;
}

.about-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, var(--color-dark), transparent);
}

.about-content {
    display: flex;
    align-items: center;
    padding: 80px;
    background: var(--color-dark);
}

.about-content h2 {
    font-family: var(--font-display);
    font-size: clamp(36px, 5vw, 52px);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 24px;
}

.about-content > .container > p {
    font-size: 17px;
    line-height: 1.8;
    color: var(--color-text-dim);
    margin-bottom: 48px;
}

.trust-badges {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}

.badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 24px 32px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.badge:hover {
    border-color: var(--color-primary);
    transform: translateY(-4px);
}

.badge-icon {
    width: 40px;
    height: 40px;
    color: var(--color-primary);
}

.badge-icon svg {
    width: 100%;
    height: 100%;
}

.us-flag {
    font-size: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.badge span {
    font-size: 13px;
    font-weight: 500;
    color: var(--color-text-dim);
}

/* ==========================================
   USE CASES SECTION
   ========================================== */

.use-cases {
    padding: 120px 0;
    background: var(--color-bg-subtle);
    position: relative;
    overflow: hidden;
}

/* Circuit board background - matches Experience section */
.use-cases::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='800' height='600' viewBox='0 0 800 600'%3E%3Cg fill='none' stroke='%230A9B9B' stroke-width='1.5' opacity='0.07'%3E%3C!-- Central chip/processor --%3E%3Crect x='350' y='250' width='100' height='100' rx='8'/%3E%3Crect x='365' y='265' width='70' height='70' rx='4'/%3E%3C!-- Top traces radiating out --%3E%3Cpath d='M370 250v-30h-50v-40h-80'/%3E%3Cpath d='M390 250v-50h-30v-30h-120v-20'/%3E%3Cpath d='M410 250v-50h30v-50h60v-30'/%3E%3Cpath d='M430 250v-30h70v-60h90'/%3E%3Cpath d='M380 250v-80h-100v-50'/%3E%3Cpath d='M420 250v-80h80v-70'/%3E%3C!-- Bottom traces --%3E%3Cpath d='M370 350v30h-60v50h-100'/%3E%3Cpath d='M390 350v50h-40v40h-150'/%3E%3Cpath d='M410 350v50h50v60h120'/%3E%3Cpath d='M430 350v30h80v80h60'/%3E%3Cpath d='M380 350v70h-80v60'/%3E%3Cpath d='M420 350v70h100v50'/%3E%3C!-- Left traces --%3E%3Cpath d='M350 270h-40v-60h-70v-50h-60'/%3E%3Cpath d='M350 290h-60v40h-80v60'/%3E%3Cpath d='M350 310h-50v80h-100v40'/%3E%3Cpath d='M350 330h-30v50h-90v70'/%3E%3C!-- Right traces --%3E%3Cpath d='M450 270h40v-80h90v-40h80'/%3E%3Cpath d='M450 290h70v-50h100'/%3E%3Cpath d='M450 310h50v60h80v90'/%3E%3Cpath d='M450 330h30v40h100v60'/%3E%3C!-- Diagonal connector traces --%3E%3Cpath d='M240 120h40v50h-30v40'/%3E%3Cpath d='M560 150h50v-40h70'/%3E%3Cpath d='M200 390h-40v60h50'/%3E%3Cpath d='M630 430h50v50h40'/%3E%3C!-- Additional parallel traces --%3E%3Cpath d='M100 200h60v80h40'/%3E%3Cpath d='M700 180h-50v100h-40'/%3E%3Cpath d='M120 400h80v-40h50'/%3E%3Cpath d='M680 420h-60v-60h-30'/%3E%3C/g%3E%3Cg fill='%230A9B9B' opacity='0.09'%3E%3C!-- Pin connectors on chip --%3E%3Ccircle cx='370' cy='250' r='3'/%3E%3Ccircle cx='390' cy='250' r='3'/%3E%3Ccircle cx='410' cy='250' r='3'/%3E%3Ccircle cx='430' cy='250' r='3'/%3E%3Ccircle cx='370' cy='350' r='3'/%3E%3Ccircle cx='390' cy='350' r='3'/%3E%3Ccircle cx='410' cy='350' r='3'/%3E%3Ccircle cx='430' cy='350' r='3'/%3E%3Ccircle cx='350' cy='270' r='3'/%3E%3Ccircle cx='350' cy='290' r='3'/%3E%3Ccircle cx='350' cy='310' r='3'/%3E%3Ccircle cx='350' cy='330' r='3'/%3E%3Ccircle cx='450' cy='270' r='3'/%3E%3Ccircle cx='450' cy='290' r='3'/%3E%3Ccircle cx='450' cy='310' r='3'/%3E%3Ccircle cx='450' cy='330' r='3'/%3E%3C!-- End nodes --%3E%3Ccircle cx='140' cy='120' r='4'/%3E%3Ccircle cx='240' cy='150' r='3'/%3E%3Ccircle cx='500' cy='120' r='4'/%3E%3Ccircle cx='590' cy='150' r='3'/%3E%3Ccircle cx='680' cy='150' r='4'/%3E%3Ccircle cx='100' cy='200' r='3'/%3E%3Ccircle cx='700' cy='180' r='3'/%3E%3Ccircle cx='150' cy='280' r='4'/%3E%3Ccircle cx='650' cy='240' r='4'/%3E%3Ccircle cx='210' cy='430' r='4'/%3E%3Ccircle cx='200' cy='500' r='3'/%3E%3Ccircle cx='300' cy='530' r='4'/%3E%3Ccircle cx='630' cy='480' r='4'/%3E%3Ccircle cx='720' cy='530' r='3'/%3E%3Ccircle cx='620' cy='560' r='4'/%3E%3Ccircle cx='120' cy='400' r='3'/%3E%3Ccircle cx='680' cy='420' r='3'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 800px 600px;
    background-position: center;
    pointer-events: none;
    z-index: 0;
}

.use-cases-header {
    text-align: center;
    margin-bottom: 48px;
    position: relative;
    z-index: 1;
}

.use-cases-header h2 {
    font-family: var(--font-display);
    font-size: clamp(40px, 6vw, 64px);
    font-weight: 700;
    line-height: 1.1;
    color: var(--color-dark);
    margin-bottom: 16px;
}

.use-cases-header p {
    font-size: 18px;
    color: var(--color-text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Tab Navigation */
.use-cases-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 56px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.use-case-tab {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 100px;
    font-size: 15px;
    font-weight: 500;
    color: var(--color-text-secondary);
    cursor: pointer;
    transition: all 0.3s var(--ease-out-expo);
}

.use-case-tab svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    transition: all 0.3s ease;
}

.use-case-tab:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    background: var(--color-surface);
}

.use-case-tab.active {
    background: var(--color-dark);
    border-color: var(--color-dark);
    color: var(--color-surface);
}

.use-case-tab.active svg {
    stroke: var(--color-primary);
}

/* Tab Content */
.use-cases-content {
    position: relative;
    z-index: 1;
}

.use-case-panel {
    display: none;
    grid-template-columns: 1.4fr 0.6fr;
    gap: 48px;
    align-items: center;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.use-case-panel.active {
    display: grid;
    opacity: 1;
    transform: translateY(0);
}

/* Video Container */
.use-case-video {
    position: relative;
}

.video-container {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    background: var(--color-surface);
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--color-border);
    box-shadow:
        0 25px 80px rgba(10, 18, 20, 0.08),
        0 10px 30px rgba(10, 18, 20, 0.04);
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-container video.contain {
    object-fit: contain;
}

.video-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    color: var(--color-text-muted);
    background: var(--color-bg-subtle);
}

.video-placeholder svg {
    width: 48px;
    height: 48px;
    stroke: var(--color-primary);
    opacity: 0.4;
}

.video-placeholder span {
    font-size: 14px;
    color: var(--color-text-muted);
}

/* Hide placeholder when video has a valid source */
.video-container:has(video[src]),
.video-container:has(video source) {
    .video-placeholder {
        display: none;
    }
}

/* Use Case Info */
.use-case-info {
    padding: 16px 0;
}

.use-case-info h3 {
    font-family: var(--font-display);
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 12px;
    line-height: 1.2;
}

.use-case-description {
    font-size: 14px;
    line-height: 1.7;
    color: var(--color-text-secondary);
    margin-bottom: 20px;
}

.use-case-features {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.use-case-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--color-text);
}

.use-case-features li svg {
    width: 16px;
    height: 16px;
    color: var(--color-primary);
    flex-shrink: 0;
}

.use-case-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--color-dark);
    color: var(--color-surface);
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s var(--ease-out-expo);
}

.use-case-cta:hover {
    background: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(10, 155, 155, 0.3);
}

/* Use Cases Responsive */
@media (max-width: 1024px) {
    .use-case-panel {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .use-case-info {
        order: -1;
    }
}

@media (max-width: 768px) {
    .use-cases {
        padding: 80px 0;
    }

    .use-cases-tabs {
        gap: 8px;
    }

    .use-case-tab {
        padding: 12px 16px;
        font-size: 13px;
    }

    .use-case-tab span {
        display: none;
    }

    .use-case-tab svg {
        width: 24px;
        height: 24px;
    }

    .use-case-info h3 {
        font-size: 26px;
    }
}

/* CTA Section */
.cta {
    position: relative;
    padding: 160px 0;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
}

#ctaCanvas {
    width: 100%;
    height: 100%;
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-family: var(--font-display);
    font-size: clamp(40px, 6vw, 64px);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
}

.cta-content > p {
    font-size: 18px;
    color: var(--color-text-dim);
    margin-bottom: 48px;
}

.cta-form {
    display: flex;
    gap: 12px;
    max-width: 500px;
    margin: 0 auto 24px;
}

.cta-input {
    flex: 1;
    padding: 18px 24px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 100px;
    color: var(--color-text);
    font-size: 15px;
    outline: none;
    transition: border-color 0.3s ease;
}

.cta-input::placeholder {
    color: var(--color-text-muted);
}

.cta-input:focus {
    border-color: var(--color-primary);
}

.cta-submit {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 18px 32px;
    background: var(--color-primary);
    border: none;
    border-radius: 100px;
    color: white;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cta-submit:hover {
    background: var(--color-primary-light);
    transform: translateY(-2px);
    box-shadow: 0 10px 40px var(--color-primary-glow);
}

.cta-note {
    font-size: 14px;
    color: var(--color-text-muted);
}

.cta-note a {
    color: var(--color-primary);
    text-decoration: none;
}

.cta-note a:hover {
    text-decoration: underline;
}

/* Footer */
.footer {
    padding: 80px 0 40px;
    background: var(--color-darker);
    border-top: 1px solid var(--color-border);
}

.footer-main {
    display: flex;
    justify-content: space-between;
    margin-bottom: 64px;
}

.footer-brand {
    max-width: 280px;
}

.footer-logo {
    display: inline-block;
    text-decoration: none;
    margin-bottom: 16px;
}

.footer-logo-img {
    height: 36px;
    width: auto;
    transition: opacity 0.3s ease;
}

.footer-logo:hover .footer-logo-img {
    opacity: 0.8;
}

.footer-brand p {
    font-size: 14px;
    color: var(--color-text-muted);
    line-height: 1.6;
}

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

.link-group h4 {
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text);
    margin-bottom: 20px;
}

.link-group a {
    display: block;
    font-size: 14px;
    color: var(--color-text-muted);
    text-decoration: none;
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.link-group a:hover {
    color: var(--color-primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 32px;
    border-top: 1px solid var(--color-border);
}

.footer-bottom p {
    font-size: 13px;
    color: var(--color-text-muted);
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    font-size: 13px;
    color: var(--color-text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: var(--color-primary);
}

/* Responsive */
@media (max-width: 1200px) {
    .container {
        padding: 0 32px;
    }
    
    .nav {
        padding: 20px 32px;
    }
    
    .hero-content {
        padding: 0 32px;
    }
    
    .hero-stats {
        left: 32px;
        right: 32px;
        bottom: 32px;
    }
    
    .platform-features {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1024px) {
    .sensor-animation-container {
        position: relative;
        top: auto;
        right: auto;
        transform: none;
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }

    .hero-scroll-container {
        flex-direction: column;
        justify-content: center;
    }

    .hero-stage {
        top: 100px; /* Fixed - must clear nav */
        flex-direction: column;
        text-align: center;
        padding: 24px 32px 120px;
    }

    body.has-banner .hero-stage {
        top: 145px; /* Fixed - must clear nav + banner */
    }

    .hero-content,
    .stage-text {
        text-align: center;
        max-width: 100%;
    }

    .stage-text {
        position: relative;
        z-index: 20;
        background: rgba(248, 250, 250, 0.9);
        padding: 24px;
        border-radius: 16px;
        margin-bottom: 24px;
    }

    .hero-scroll-progress {
        right: 24px;
    }

    .progress-dot span {
        display: none;
    }

    .exp-stage {
        grid-template-columns: 1fr;
        gap: 48px;
        padding: 80px 32px;
    }
    
    .exp-stage:nth-child(even) {
        direction: ltr;
    }
    
    .exp-visual {
        order: 1;
    }
    
    .exp-content {
        order: 2;
        max-width: 100%;
    }
    
    .about {
        grid-template-columns: 1fr;
    }
    
    .about-visual {
        height: 50vh;
    }
    
    .about-content {
        padding: 48px 32px;
    }
    
    .footer-main {
        flex-direction: column;
        gap: 48px;
    }

    .footer-links {
        gap: 48px;
        flex-wrap: wrap;
    }

    /* Dashboard in hero - tablet: compact preview */
    .hero-dashboard {
        display: block;
        max-width: 340px;
        margin: 0 auto;
    }

    .hero-dashboard .dashboard-browser {
        max-width: 100%;
        max-height: 260px;
        overflow: hidden;
        border-radius: 12px;
        transform: none;
    }

    .hero-dashboard .dash-main-grid {
        display: none;
    }

    .hero-dashboard .dash-stats-row {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .hero-dashboard .dash-stat-card {
        padding: 10px 12px;
        gap: 10px;
    }

    .hero-dashboard .stat-icon {
        width: 32px;
        height: 32px;
    }

    .hero-dashboard .stat-info .stat-number {
        font-size: 16px;
    }

    .hero-dashboard .stat-info .stat-label {
        font-size: 10px;
    }

    .hero-dashboard .stat-info .stat-trend {
        font-size: 9px;
    }

    .hero-dashboard .browser-bar {
        padding: 10px 14px;
    }

    .hero-dashboard .browser-dots span {
        width: 10px;
        height: 10px;
    }

    .hero-dashboard .browser-url {
        font-size: 11px;
        padding: 6px 10px;
    }

    .hero-dashboard .dashboard-content {
        padding: 12px;
    }
}

@media (max-width: 768px) {
    .nav-center {
        display: none;
    }

    .nav-cta {
        display: none;
    }

    .nav-menu {
        display: flex;
    }

    .hero-title {
        font-size: clamp(36px, 10vw, 56px);
    }

    .hero-scroll {
        height: 500vh; /* Shorter on mobile - 6 stages */
    }

    .sensor-exploded {
        transform: rotateX(45deg) rotateY(-5deg) rotateZ(0deg);
    }

    .layer-label {
        display: none;
    }

    .exploded-layer {
        width: 65%;
    }

    .sensor-exploded.exploded .exploded-layer.layer-top {
        transform: translateY(-120px) translateZ(50px);
    }

    .sensor-exploded.exploded .exploded-layer.layer-bottom {
        transform: translateY(120px) translateZ(-50px);
    }

    .connector-line {
        height: 90px;
    }

    .connector-line:first-child {
        margin-bottom: 40px;
    }

    .connector-line:last-child {
        margin-top: 40px;
    }

    .sensor-animation-container {
        width: 90%;
        max-width: 350px;
    }

    .sensor-img {
        width: 80%;
    }

    .hero-scroll-progress {
        display: none;
    }

    .nav-logo-img {
        height: 50px;
    }

    .hero-stage {
        top: 70px; /* Fixed - must clear mobile nav */
        padding: 12px 24px 160px; /* Increased bottom padding for stats */
    }

    body.has-banner .hero-stage {
        top: 115px; /* Fixed - must clear nav + banner */
    }

    .hero-content {
        max-width: 100%;
        position: relative;
        z-index: 15;
    }

    .hero-tag {
        margin-bottom: 12px;
    }

    .doe-logo {
        height: 32px;
    }

    .hero-tag span:last-child {
        font-size: 10px;
    }

    .hero-desc {
        font-size: 14px;
        line-height: 1.5;
        margin-bottom: 20px;
    }

    .hero-actions {
        display: none;
    }

    .sensor-animation-container {
        position: absolute;
        top: auto;
        bottom: 140px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 5;
    }

    .stage-text h2 {
        font-size: clamp(32px, 8vw, 48px);
    }

    /* Dashboard responsive - in hero stage: compact */
    .hero-dashboard {
        max-width: 300px;
    }

    .hero-dashboard .dashboard-browser {
        max-height: 220px;
    }

    .hero-dashboard .dash-stat-card {
        padding: 8px 10px;
    }

    .hero-dashboard .stat-icon {
        width: 28px;
        height: 28px;
    }

    .hero-dashboard .stat-info .stat-number {
        font-size: 14px;
    }

    .hero-dashboard .stat-info .stat-label {
        font-size: 9px;
    }

    .dashboard-browser {
        max-width: 100%;
        border-radius: 12px;
    }

    .dash-stats-row {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .dash-stat-card {
        padding: 10px;
        gap: 10px;
    }

    .stat-icon {
        width: 36px;
        height: 36px;
    }

    .stat-info .stat-number {
        font-size: 18px;
    }

    .stat-info .stat-label {
        font-size: 10px;
    }

    .stat-info .stat-trend {
        font-size: 10px;
    }

    .dash-main-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .dash-panel {
        padding: 12px;
    }

    .panel-header h4 {
        font-size: 12px;
    }

    .heatmap-panel {
        grid-row: span 1;
    }

    .activity-panel {
        grid-column: span 1;
    }

    .floor-heatmap-viz,
    .floor-path-viz {
        height: 120px;
    }

    .path-legend,
    .path-insights {
        display: none;
    }

    /* Experience sections mobile */
    .exp-stage {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 60px 24px;
        min-height: auto;
    }

    .exp-stage:nth-child(even) {
        direction: ltr;
    }

    .exp-visual {
        order: 1;
        max-width: 280px;
        margin: 0 auto;
    }

    .exp-content {
        order: 2;
        max-width: 100%;
        text-align: center;
    }

    .exp-content h2 {
        font-size: clamp(28px, 7vw, 40px);
    }

    .exp-content p {
        font-size: 15px;
        line-height: 1.7;
        margin-bottom: 24px;
    }

    .exp-number {
        font-size: 12px;
        padding: 6px 12px;
        margin-bottom: 16px;
    }

    .exp-specs {
        justify-content: center;
        gap: 32px;
    }

    .spec-value {
        font-size: 24px;
    }

    .spec-label {
        font-size: 11px;
    }

    /* Pinned scroll sections mobile */
    .exp-stage-pinned {
        height: auto;
        min-height: auto;
    }

    .exp-stage-pinned.modular-pinned,
    .exp-stage-pinned.marketplace-pinned,
    .exp-stage-pinned.partners-pinned {
        height: auto;
    }

    .pinned-wrapper {
        position: relative;
        height: auto;
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 60px 24px;
    }

    .pinned-slide {
        position: relative;
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 40px 24px;
        opacity: 1;
        visibility: visible;
    }

    .pinned-slide .exp-content,
    .pinned-slide .exp-visual {
        transform: none;
        opacity: 1;
    }

    .pinned-slide .exp-visual {
        order: 1;
        max-width: 280px;
        margin: 0 auto;
    }

    .pinned-slide .exp-content {
        order: 2;
        text-align: center;
    }

    /* App marketplace grid - mobile */
    .app-marketplace {
        max-width: 100%;
        width: 100%;
    }

    .marketplace-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .app-card {
        padding: 16px 12px;
        gap: 8px;
    }

    .app-icon {
        width: 36px;
        height: 36px;
    }

    .app-name {
        font-size: 11px;
    }

    .app-toggle {
        width: 32px;
        height: 18px;
    }

    .app-toggle::after {
        width: 14px;
        height: 14px;
    }

    /* Allow marketplace visual to be wider */
    .marketplace-pinned .pinned-slide .exp-visual {
        max-width: 320px;
    }

    /* Application showcase cards - mobile */
    .app-showcase {
        flex-direction: column;
        gap: 16px;
        max-width: 100%;
    }

    .showcase-card {
        padding: 24px 20px;
        gap: 12px;
    }

    .showcase-icon {
        width: 56px;
        height: 56px;
    }

    .showcase-card h4 {
        font-size: 16px;
    }

    .showcase-card p {
        font-size: 12px;
    }

    .showcase-stat .stat-value {
        font-size: 28px;
    }

    .segment-badge {
        font-size: 9px;
        padding: 3px 10px;
    }

    /* API Terminal - mobile */
    .api-visualization {
        max-width: 100%;
        aspect-ratio: auto;
        min-height: 300px;
    }

    .api-scene {
        padding: 40px 16px;
    }

    .api-terminal {
        width: 100%;
        max-width: 300px;
        transform: none;
    }

    .api-terminal:hover {
        transform: none;
    }

    .terminal-header {
        padding: 10px 14px;
    }

    .terminal-dot {
        width: 10px;
        height: 10px;
    }

    .terminal-title {
        font-size: 10px;
    }

    .terminal-body {
        padding: 14px;
    }

    .code-block {
        font-size: 10px;
        line-height: 1.5;
    }

    .api-card {
        display: none;
    }

    /* Fusion Hub - mobile: simplify by hiding orbiting nodes */
    .sensor-fusion-viz {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 200px;
    }

    .fusion-hub {
        position: relative;
    }

    .hub-core {
        width: 100px;
        height: 100px;
    }

    .hub-center svg {
        width: 40px;
        height: 40px;
    }

    .hub-label {
        font-size: 11px;
        padding: 8px 16px;
    }

    /* Hide complex orbital elements on mobile */
    .sensor-orbit {
        display: none !important;
    }

    .fusion-output {
        display: none !important;
    }

    .data-stream {
        display: none !important;
    }

    .hero-stats {
        position: absolute;
        bottom: 16px;
        left: 16px;
        right: 16px;
        flex-wrap: wrap;
        gap: 12px 16px;
    }

    .stat-divider {
        display: none;
    }

    .stat {
        flex: 1 1 calc(50% - 8px);
        min-width: 0;
    }

    .stat-value {
        font-size: 28px;
    }

    .stat-value-static {
        font-size: 24px;
    }

    .stat-unit {
        font-size: 16px;
    }

    .stat-label {
        font-size: 10px;
    }

    .scroll-indicator {
        display: none;
    }
    
    .solutions-cards {
        flex-direction: column;
        width: 100%;
    }
    
    .solution-card {
        width: 100%;
    }
    
    .dashboard-ui {
        flex-direction: column;
    }
    
    .dash-sidebar {
        width: 100%;
        flex-direction: row;
        justify-content: center;
        border-right: none;
        border-bottom: 1px solid var(--color-border);
        padding: 12px;
    }
    
    .dash-logo {
        margin-bottom: 0;
        margin-right: 16px;
    }
    
    .dash-nav {
        flex-direction: row;
    }
    
    .dash-grid {
        grid-template-columns: 1fr;
    }
    
    .dash-card.big,
    .dash-card.floor-map {
        grid-column: span 1;
        grid-row: span 1;
    }
    
    .platform-features {
        grid-template-columns: 1fr;
    }
    
    .trust-badges {
        justify-content: center;
    }
    
    .cta-form {
        flex-direction: column;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .nav {
        padding: 12px 16px;
    }

    .nav-logo-img {
        height: 44px;
    }

    .hero-content {
        padding: 0 16px;
    }

    .hero-stage {
        top: 60px;
        padding: 8px 16px 140px;
    }

    body.has-banner .hero-stage {
        top: 105px;
    }

    .hero-title {
        font-size: clamp(28px, 9vw, 40px);
    }

    .hero-desc {
        font-size: 13px;
        line-height: 1.5;
        margin-bottom: 16px;
    }

    .hero-tag {
        margin-bottom: 10px;
    }

    .doe-logo {
        height: 26px;
    }

    .hero-tag span:last-child {
        font-size: 9px;
    }

    .sensor-animation-container {
        bottom: 120px;
        max-width: 260px;
    }

    .hero-stats {
        bottom: 12px;
        left: 12px;
        right: 12px;
        gap: 8px 12px;
    }

    .stat {
        flex: 1 1 calc(50% - 6px);
    }

    .stat-value {
        font-size: 24px;
    }

    .stat-value-static {
        font-size: 20px;
    }

    .stat-unit {
        font-size: 14px;
    }

    .stat-label {
        font-size: 9px;
        letter-spacing: 0.5px;
    }

    .sensor-animation-container {
        max-width: 280px;
    }

    .stage-text {
        padding: 16px;
    }

    .stage-text h2 {
        font-size: clamp(24px, 7vw, 36px);
    }

    .stage-text p {
        font-size: 14px;
    }

    .exp-specs {
        flex-direction: column;
        gap: 24px;
    }

    /* Experience sections - extra small */
    .exp-stage {
        padding: 48px 16px;
        gap: 24px;
    }

    .exp-visual {
        max-width: 220px;
    }

    .exp-content h2 {
        font-size: clamp(24px, 8vw, 32px);
    }

    .exp-content p {
        font-size: 14px;
    }


    /* Pinned sections - extra small */
    .pinned-wrapper {
        padding: 48px 16px;
        gap: 24px;
    }

    .pinned-slide {
        padding: 32px 16px;
        gap: 24px;
    }

    .pinned-slide .exp-visual {
        max-width: 200px;
    }

    /* App marketplace - extra small */
    .marketplace-grid {
        gap: 8px;
    }

    .app-card {
        padding: 12px 8px;
        gap: 6px;
        border-radius: 12px;
    }

    .app-icon {
        width: 28px;
        height: 28px;
    }

    .app-name {
        font-size: 10px;
    }

    .app-toggle {
        width: 28px;
        height: 16px;
    }

    .app-toggle::after {
        width: 12px;
        height: 12px;
    }

    /* Allow marketplace visual to be wider */
    .marketplace-pinned .pinned-slide .exp-visual {
        max-width: 280px;
    }

    /* Application showcase - extra small */
    .showcase-card {
        padding: 20px 16px;
    }

    .showcase-icon {
        width: 48px;
        height: 48px;
    }

    .showcase-card h4 {
        font-size: 15px;
    }

    .showcase-stat .stat-value {
        font-size: 24px;
    }

    /* API Terminal - extra small */
    .api-terminal {
        max-width: 260px;
    }

    .terminal-body {
        padding: 10px;
    }

    .code-block {
        font-size: 9px;
    }

    /* Fusion Hub - extra small */
    .hub-core {
        width: 80px;
        height: 80px;
    }

    .hub-center svg {
        width: 32px;
        height: 32px;
    }

    .hub-label {
        font-size: 10px;
        padding: 6px 12px;
    }

    .footer-links {
        flex-direction: column;
        gap: 32px;
    }
}

/* Platform Dashboard Animated Scenes */
.platform-scenes {
    position: relative;
    width: 100%;
    height: 800px;
    overflow: hidden;
    background: linear-gradient(135deg, #f8fafa 0%, #eef3f3 100%);
}

.platform-scene {
    position: absolute;
    inset: 0;
    display: flex;
    opacity: 0;
    visibility: hidden;
    transform: translateX(20px);
    transition: opacity 0.6s ease, transform 0.6s ease, visibility 0.6s;
}

.platform-scene.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* Scene Sidebar */
.scene-sidebar {
    width: 140px;
    background: #1a2332;
    border-right: 1px solid #2d3748;
    padding: 16px 8px;
    flex-shrink: 0;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sidebar-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 8px;
    color: #8a9aa8;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.sidebar-item svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.sidebar-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
}

.sidebar-item.active {
    background: rgba(10, 155, 155, 0.15);
    color: var(--color-primary);
}

/* Scene Main Content */
.scene-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.scene-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
}

.scene-topbar h3 {
    font-size: 16px;
    font-weight: 600;
    color: #1a2332;
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.building-label {
    font-size: 12px;
    color: #6b7280;
    padding: 4px 10px;
    background: #f3f4f6;
    border-radius: 4px;
}

.user-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--color-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 600;
}

/* Overview Content */
.overview-content {
    flex: 1;
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: #f8fafa;
}

.stat-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.stat-card {
    background: #fff;
    border-radius: 12px;
    padding: 16px;
    display: flex;
    gap: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stat-card.clickable {
    cursor: pointer;
}

.stat-card.clickable:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.stat-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-icon svg {
    width: 20px;
    height: 20px;
}

.stat-icon.green {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.stat-icon.teal {
    background: rgba(10, 155, 155, 0.1);
    color: var(--color-primary);
}

.stat-icon.orange {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.stat-icon.pulse-icon {
    animation: pulse-icon 2s ease-in-out infinite;
}

@keyframes pulse-icon {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.stat-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.stat-label {
    font-size: 11px;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-value {
    font-size: 24px;
    font-weight: 700;
    color: #1a2332;
    line-height: 1;
}

.stat-value.alert-val {
    color: #f59e0b;
}

.stat-trend {
    font-size: 11px;
    color: #6b7280;
}

.stat-trend.green {
    color: #10b981;
}

.stat-trend.orange {
    color: #f59e0b;
}

/* Overview Bottom */
.overview-bottom {
    flex: 1;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 12px;
}

.floor-preview {
    background: #1a2332;
    border-radius: 12px;
    overflow: hidden;
}

.preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    font-size: 12px;
    color: #fff;
    border-bottom: 1px solid #2d3748;
}

.live-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    color: #10b981;
}

.pulse-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10b981;
    animation: pulse-live 1.5s ease-in-out infinite;
}

@keyframes pulse-live {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

.floor-map-mini {
    padding: 8px;
}

.floor-map-mini svg {
    width: 100%;
    height: auto;
}

.alert-zone {
    animation: alert-flash 1.5s ease-in-out infinite;
}

@keyframes alert-flash {
    0%, 100% { fill: #7f1d1d; }
    50% { fill: #991b1b; }
}

/* Animated dots */
.dot-animate {
    animation: dot-move 3s ease-in-out infinite;
}

.dot-animate.d1 { animation-delay: 0s; }
.dot-animate.d2 { animation-delay: 0.5s; }
.dot-animate.d3 { animation-delay: 1s; }
.dot-animate.d4 { animation-delay: 0.3s; }

@keyframes dot-move {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(8px, -5px); }
    50% { transform: translate(15px, 3px); }
    75% { transform: translate(5px, 8px); }
}

/* Activity Feed Mini */
.activity-feed-mini {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.feed-header {
    padding: 10px 14px;
    font-size: 12px;
    font-weight: 600;
    color: #1a2332;
    border-bottom: 1px solid #e5e7eb;
}

.feed-items {
    padding: 8px;
}

.feed-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 8px;
    transition: background 0.2s ease;
}

.feed-item:hover {
    background: #f8fafa;
}

.feed-item.alert-item {
    background: rgba(239, 68, 68, 0.05);
    animation: feed-alert-pulse 2s ease-in-out infinite;
}

@keyframes feed-alert-pulse {
    0%, 100% { background: rgba(239, 68, 68, 0.05); }
    50% { background: rgba(239, 68, 68, 0.1); }
}

.feed-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.feed-dot.red { background: #ef4444; }
.feed-dot.green { background: #10b981; }
.feed-dot.blue { background: #3b82f6; }

.feed-text {
    flex: 1;
    font-size: 12px;
    color: #374151;
}

.feed-time {
    font-size: 10px;
    color: #9ca3af;
}

/* Energy Content */
.energy-content {
    flex: 1;
    padding: 16px 20px;
    display: flex;
    gap: 16px;
    background: #f8fafa;
}

.savings-pill {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 20px;
    color: #10b981;
    font-size: 12px;
    font-weight: 500;
}

.savings-pill svg {
    width: 14px;
    height: 14px;
}

.platform-scenes .energy-chart {
    flex: 1.5;
    background: #fff;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.platform-scenes .chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.platform-scenes .chart-header h4 {
    font-size: 13px;
    font-weight: 600;
    color: #1a2332;
}

.platform-scenes .chart-legend {
    display: flex;
    gap: 12px;
}

.platform-scenes .legend-item {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 10px;
    color: #6b7280;
}

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

.platform-scenes .legend-dot.baseline { background: #d1d5db; }
.platform-scenes .legend-dot.actual { background: var(--color-primary); }

.platform-scenes .chart-container {
    height: 180px;
    position: relative;
}

.platform-scenes .chart-container svg {
    width: 100%;
    height: 100%;
}

.energy-line-baseline {
    stroke-dasharray: 4, 4;
}

.energy-line-actual {
    stroke-dasharray: 500;
    stroke-dashoffset: 500;
    animation: draw-energy-line 2s ease-out forwards;
}

@keyframes draw-energy-line {
    to { stroke-dashoffset: 0; }
}

.energy-zones {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.zone-card {
    background: #fff;
    border-radius: 10px;
    padding: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.zone-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.zone-header h5 {
    font-size: 12px;
    font-weight: 600;
    color: #1a2332;
}

.zone-status {
    font-size: 9px;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 500;
}

.zone-status.active {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.zone-status.standby {
    background: rgba(156, 163, 175, 0.1);
    color: #9ca3af;
}

.zone-metrics {
    display: flex;
    gap: 12px;
}

.zone-metric {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.zone-metric span:first-child {
    font-size: 9px;
    color: #9ca3af;
    text-transform: uppercase;
}

.zone-metric span:last-child {
    font-size: 14px;
    font-weight: 600;
    color: #1a2332;
}

/* Security Content */
.security-content {
    flex: 1;
    padding: 16px 20px;
    display: flex;
    gap: 16px;
    background: #f8fafa;
}

.alert-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(239, 68, 68, 0.1);
    border-radius: 20px;
    color: #ef4444;
    font-size: 12px;
    font-weight: 500;
    animation: alert-badge-pulse 1.5s ease-in-out infinite;
}

@keyframes alert-badge-pulse {
    0%, 100% { background: rgba(239, 68, 68, 0.1); }
    50% { background: rgba(239, 68, 68, 0.2); }
}

.alert-badge svg {
    width: 14px;
    height: 14px;
}

.alert-details {
    flex: 1;
    background: #fff;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    border-left: 4px solid #ef4444;
}

.alert-details-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.alert-type {
    display: flex;
    align-items: center;
    gap: 8px;
}

.alert-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(239, 68, 68, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ef4444;
}

.alert-icon svg {
    width: 18px;
    height: 18px;
}

.alert-info h4 {
    font-size: 14px;
    font-weight: 600;
    color: #1a2332;
}

.alert-info span {
    font-size: 11px;
    color: #6b7280;
}

.alert-timestamp {
    font-size: 11px;
    color: #9ca3af;
    text-align: right;
}

.alert-desc {
    font-size: 12px;
    color: #374151;
    line-height: 1.5;
    margin-bottom: 12px;
    padding: 10px;
    background: #fef2f2;
    border-radius: 8px;
}

.alert-actions {
    display: flex;
    gap: 8px;
}

.alert-btn {
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.alert-btn.primary {
    background: #ef4444;
    color: #fff;
}

.alert-btn.primary:hover {
    background: #dc2626;
}

.alert-btn.secondary {
    background: #f3f4f6;
    color: #374151;
}

.alert-btn.secondary:hover {
    background: #e5e7eb;
}

/* Alert Floorplan */
.alert-floorplan {
    flex: 1;
    background: #1a2332;
    border-radius: 12px;
    overflow: hidden;
}

.floorplan-header {
    padding: 10px 14px;
    font-size: 12px;
    color: #fff;
    border-bottom: 1px solid #2d3748;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.floor-label {
    display: flex;
    align-items: center;
    gap: 6px;
}

.floor-label svg {
    width: 14px;
    height: 14px;
}

.replay-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 10px;
    color: var(--color-primary);
    background: rgba(10, 155, 155, 0.1);
    padding: 4px 8px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
}

.replay-btn svg {
    width: 12px;
    height: 12px;
}

.floorplan-visual {
    padding: 16px;
}

.floorplan-visual svg {
    width: 100%;
    height: auto;
}

/* Intrusion path animation */
.intrusion-path {
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
    animation: draw-intrusion-path 2s ease-out forwards;
}

@keyframes draw-intrusion-path {
    to { stroke-dashoffset: 0; }
}

.intruder-dot {
    animation: intruder-move 2s ease-out forwards;
}

@keyframes intruder-move {
    0% { opacity: 0; }
    20% { opacity: 1; }
    100% { opacity: 1; }
}

.alert-pulse-ring {
    animation: alert-ring-pulse 1.5s ease-out infinite;
    transform-origin: center;
}

@keyframes alert-ring-pulse {
    0% { transform: scale(0.8); opacity: 0.8; }
    100% { transform: scale(2); opacity: 0; }
}

/* Event Timeline */
.event-timeline {
    flex: 0.8;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.timeline-header {
    padding: 10px 14px;
    font-size: 12px;
    font-weight: 600;
    color: #1a2332;
    border-bottom: 1px solid #e5e7eb;
}

.timeline-items {
    padding: 12px;
}

.timeline-item {
    display: flex;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid #f3f4f6;
}

.timeline-item:last-child {
    border-bottom: none;
}

.timeline-time {
    font-size: 10px;
    color: #9ca3af;
    width: 50px;
    flex-shrink: 0;
}

.timeline-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.timeline-content strong {
    font-size: 11px;
    font-weight: 600;
    color: #1a2332;
}

.timeline-content span {
    font-size: 10px;
    color: #6b7280;
}

/* Occupancy Content */
.occupancy-content {
    flex: 1;
    padding: 16px 20px;
    display: flex;
    gap: 16px;
    background: #f8fafa;
}

.capacity-pill {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(10, 155, 155, 0.1);
    border-radius: 20px;
    color: var(--color-primary);
    font-size: 12px;
    font-weight: 500;
}

.capacity-pill svg {
    width: 14px;
    height: 14px;
}

.heatmap-container {
    flex: 1.5;
    background: #1a2332;
    border-radius: 12px;
    overflow: hidden;
}

.heatmap-header {
    padding: 10px 14px;
    font-size: 12px;
    color: #fff;
    border-bottom: 1px solid #2d3748;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.heatmap-scale {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    color: #9ca3af;
}

.scale-gradient {
    width: 60px;
    height: 6px;
    border-radius: 3px;
    background: linear-gradient(90deg, #1e3a5f 0%, #0A9B9B 50%, #f59e0b 100%);
}

.heatmap-grid-dark {
    padding: 16px;
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    grid-template-rows: repeat(6, 1fr);
    gap: 4px;
}

.heatmap-cell {
    aspect-ratio: 1;
    border-radius: 4px;
    transition: all 0.3s ease;
    animation: cell-fade-in 0.5s ease-out forwards;
    opacity: 0;
}

.heatmap-cell:nth-child(1) { animation-delay: 0.02s; }
.heatmap-cell:nth-child(2) { animation-delay: 0.04s; }
.heatmap-cell:nth-child(3) { animation-delay: 0.06s; }
.heatmap-cell:nth-child(4) { animation-delay: 0.08s; }
.heatmap-cell:nth-child(5) { animation-delay: 0.1s; }
.heatmap-cell:nth-child(6) { animation-delay: 0.12s; }
.heatmap-cell:nth-child(7) { animation-delay: 0.14s; }
.heatmap-cell:nth-child(8) { animation-delay: 0.16s; }
.heatmap-cell:nth-child(9) { animation-delay: 0.18s; }
.heatmap-cell:nth-child(10) { animation-delay: 0.2s; }
.heatmap-cell:nth-child(11) { animation-delay: 0.22s; }
.heatmap-cell:nth-child(12) { animation-delay: 0.24s; }
.heatmap-cell:nth-child(n+13) { animation-delay: 0.26s; }

@keyframes cell-fade-in {
    to { opacity: 1; }
}

.heatmap-cell.low { background: #1e3a5f; }
.heatmap-cell.medium { background: #0A9B9B; }
.heatmap-cell.high { background: #f59e0b; }
.heatmap-cell.empty { background: #2d3748; }

/* Occupancy Insights */
.occupancy-insights {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.insight-card {
    background: #fff;
    border-radius: 10px;
    padding: 14px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.insight-card h5 {
    font-size: 12px;
    font-weight: 600;
    color: #1a2332;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.insight-card h5 svg {
    width: 14px;
    height: 14px;
    color: var(--color-primary);
}

.insight-value {
    font-size: 22px;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1;
}

.insight-label {
    font-size: 10px;
    color: #6b7280;
    margin-top: 4px;
}

.hot-zones {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 6px;
}

.hot-zone {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 10px;
    background: #f8fafa;
    border-radius: 6px;
    font-size: 11px;
}

.hot-zone span:first-child {
    color: #374151;
}

.hot-zone span:last-child {
    font-weight: 600;
    color: #f59e0b;
}

.prediction-text {
    font-size: 12px;
    color: #374151;
    line-height: 1.5;
    margin-top: 6px;
}

.prediction-text strong {
    color: var(--color-primary);
}

/* Scene Progress Dots */
.scene-progress {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    background: #f8fafa;
    border-top: 1px solid #e5e7eb;
}

.progress-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #d1d5db;
    cursor: pointer;
    transition: all 0.3s ease;
}

.progress-dot:hover {
    background: #9ca3af;
}

.progress-dot.active {
    background: var(--color-primary);
    transform: scale(1.25);
}

/* Energy Scene - Additional Styles */
.chart-area {
    background: #f8fafa;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 10px;
}

.chart-area svg {
    width: 100%;
    height: 120px;
}

.chart-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    font-size: 10px;
    color: #9ca3af;
}

.chart-period {
    font-size: 11px;
    color: #9ca3af;
}

.energy-path {
    stroke-dasharray: 500;
    stroke-dashoffset: 500;
    animation: draw-energy-line 2s ease-out forwards;
}

.leg-baseline,
.leg-actual {
    display: inline-block;
    width: 12px;
    height: 3px;
    margin-right: 6px;
    border-radius: 2px;
    vertical-align: middle;
}

.leg-baseline {
    background: #6b7280;
}

.leg-actual {
    background: #10b981;
}

.platform-scenes .zone-controls {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.platform-scenes .zone-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    background: #fff;
    border-radius: 8px;
    font-size: 12px;
    transition: all 0.2s ease;
}

.platform-scenes .zone-row:hover {
    background: #f0f4f4;
}

.platform-scenes .zone-name {
    flex: 1;
    font-weight: 500;
    color: #1a2332;
}

.zone-people {
    color: var(--color-primary);
    margin-right: 16px;
}

.zone-temp {
    color: #6b7280;
    margin-right: 16px;
}

.zone-badge {
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 500;
}

.zone-badge.active {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.zone-badge.reduced {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.zone-badge.standby {
    background: rgba(156, 163, 175, 0.1);
    color: #9ca3af;
}

/* Security Scene - Additional Styles */
.scene-sidebar.alert-mode {
    border-right-color: rgba(239, 68, 68, 0.3);
}

.sidebar-item.alert-active {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

.sidebar-item .alert-badge {
    background: #ef4444;
    color: #fff;
    font-size: 9px;
    padding: 2px 6px;
    border-radius: 10px;
    margin-left: auto;
}

.scene-main.alert-main-bg {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
}

.scene-topbar.alert-topbar {
    background: #fef2f2;
    border-bottom-color: #fecaca;
}

.alert-header-content {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ef4444;
    font-weight: 600;
    font-size: 14px;
}

.alert-header-content svg {
    width: 20px;
    height: 20px;
}

.alert-time-badge {
    font-size: 11px;
    color: #9ca3af;
}

.alert-detail-card {
    background: #fff;
    border-radius: 12px;
    padding: 16px;
    border-left: 4px solid #ef4444;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.alert-info {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.alert-icon-big {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(239, 68, 68, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ef4444;
}

.alert-icon-big svg {
    width: 24px;
    height: 24px;
}

.alert-text h4 {
    font-size: 15px;
    font-weight: 600;
    color: #1a2332;
}

.alert-text p {
    font-size: 12px;
    color: #6b7280;
}

.alert-details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.alert-details-grid .detail {
    padding: 8px 10px;
    background: #f8fafa;
    border-radius: 6px;
}

.detail-label {
    display: block;
    font-size: 9px;
    color: #9ca3af;
    text-transform: uppercase;
    margin-bottom: 2px;
}

.detail-val {
    font-size: 12px;
    font-weight: 500;
    color: #1a2332;
}

.detail-val.high {
    color: #ef4444;
}

.security-visual {
    display: flex;
    gap: 12px;
    flex: 1;
}

.security-floorplan {
    flex: 1;
    background: #1a2332;
    border-radius: 10px;
    padding: 12px;
}

.security-floorplan svg {
    width: 100%;
    height: auto;
}

.server-room-pulse {
    animation: room-pulse 1.5s ease-in-out infinite;
}

@keyframes room-pulse {
    0%, 100% { fill: #2d1215; }
    50% { fill: #3f1518; }
}

.entry-pulse-anim {
    animation: entry-pulse 1s ease-out infinite;
}

@keyframes entry-pulse {
    0% { opacity: 1; transform: scale(1); }
    100% { opacity: 0; transform: scale(2); }
}

.intrusion-path-anim {
    stroke-dasharray: 150;
    stroke-dashoffset: 150;
    animation: draw-path 2s ease-out forwards;
}

@keyframes draw-path {
    to { stroke-dashoffset: 0; }
}

.security-content .event-timeline {
    flex: 0.8;
    background: #fff;
    border-radius: 10px;
    padding: 12px;
}

.timeline-title {
    font-size: 11px;
    font-weight: 600;
    color: #1a2332;
    margin-bottom: 10px;
}

.tl-item {
    display: flex;
    gap: 10px;
    padding: 6px 0;
    font-size: 11px;
    border-bottom: 1px solid #f3f4f6;
}

.tl-item:last-child {
    border-bottom: none;
}

.tl-time {
    color: #9ca3af;
    width: 50px;
}

.tl-event {
    color: #374151;
}

.tl-item.alert-tl .tl-event {
    color: #ef4444;
    font-weight: 500;
}

.security-content .alert-actions {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.action-btn-dark {
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.action-btn-dark.primary {
    background: #ef4444;
    color: #fff;
}

.action-btn-dark.primary:hover {
    background: #dc2626;
}

.action-btn-dark.secondary {
    background: #f59e0b;
    color: #fff;
}

.action-btn-dark.secondary:hover {
    background: #d97706;
}

.action-btn-dark.tertiary {
    background: #e5e7eb;
    color: #374151;
}

.action-btn-dark.tertiary:hover {
    background: #d1d5db;
}

/* Occupancy Scene - Additional Styles */
.live-count {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.count-val {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-primary);
}

.count-label {
    font-size: 12px;
    color: #6b7280;
}

.heatmap-section {
    flex: 1;
    background: #1a2332;
    border-radius: 12px;
    padding: 14px;
}

.heatmap-section .heatmap-header {
    font-size: 12px;
    color: #fff;
    margin-bottom: 12px;
}

.heatmap-section .heatmap-grid-dark {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 8px;
    padding: 0;
}

.heat-cell {
    background: #2d3748;
    border-radius: 8px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    transition: all 0.3s ease;
    animation: cell-pop 0.4s ease-out forwards;
    opacity: 0;
    transform: scale(0.9);
}

.heat-cell:nth-child(1) { animation-delay: 0.1s; }
.heat-cell:nth-child(2) { animation-delay: 0.15s; }
.heat-cell:nth-child(3) { animation-delay: 0.2s; }
.heat-cell:nth-child(4) { animation-delay: 0.25s; }
.heat-cell:nth-child(5) { animation-delay: 0.3s; }
.heat-cell:nth-child(6) { animation-delay: 0.35s; }

@keyframes cell-pop {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.heat-cell.high {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.heat-cell.medium {
    background: linear-gradient(135deg, var(--color-primary) 0%, #078787 100%);
}

.heat-cell.low {
    background: #374151;
}

.heat-cell.empty {
    background: #1f2937;
}

.heat-count {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
}

.heat-name {
    font-size: 9px;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 2px;
}

.heatmap-legend-dark {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 12px;
    font-size: 10px;
    color: #9ca3af;
}

.heatmap-legend-dark i {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 3px;
    margin-right: 4px;
    vertical-align: middle;
}

.heatmap-legend-dark i.empty { background: #1f2937; }
.heatmap-legend-dark i.low { background: #374151; }
.heatmap-legend-dark i.medium { background: var(--color-primary); }
.heatmap-legend-dark i.high { background: #f59e0b; }

.insights-row {
    display: flex;
    gap: 10px;
    margin-top: 12px;
}

.insights-row .insight-card {
    flex: 1;
    background: #fff;
    border-radius: 10px;
    padding: 12px;
    text-align: center;
}

.insights-row .insight-label {
    font-size: 10px;
    color: #9ca3af;
    text-transform: uppercase;
    display: block;
    margin-bottom: 4px;
}

.insights-row .insight-val {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-primary);
    display: block;
}

.insights-row .insight-sub {
    font-size: 10px;
    color: #6b7280;
    display: block;
    margin-top: 2px;
}

/* ==========================================
   Standalone Pages (Resources, etc.)
   ========================================== */

.page-body {
    min-height: 100vh;
}

.page-body .nav {
    position: fixed;
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
}

.page-body .nav .nav-center {
    background: var(--color-bg-subtle);
}

.page-body .nav .nav-center a {
    color: var(--color-text-secondary);
}

.page-body .nav .nav-center a:hover {
    color: var(--color-text);
    background: rgba(10, 155, 155, 0.1);
}

.page-body .nav .nav-center a.active {
    color: var(--color-primary);
    background: var(--color-surface);
}

.page-body .nav .nav-cta {
    background: var(--color-primary);
    color: white;
}

.page-body .nav .nav-menu span {
    background: var(--color-text);
}

.page-main {
    position: relative;
}

.page-hero {
    padding: 160px 0 80px;
    background: var(--color-bg-subtle);
    position: relative;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='800' height='600' viewBox='0 0 800 600'%3E%3Cg fill='none' stroke='%230A9B9B' stroke-width='1.5' opacity='0.07'%3E%3Crect x='350' y='250' width='100' height='100' rx='8'/%3E%3Crect x='365' y='265' width='70' height='70' rx='4'/%3E%3Cpath d='M370 250v-30h-50v-40h-80'/%3E%3Cpath d='M390 250v-50h-30v-30h-120v-20'/%3E%3Cpath d='M410 250v-50h30v-50h60v-30'/%3E%3Cpath d='M430 250v-30h70v-60h90'/%3E%3Cpath d='M380 250v-80h-100v-50'/%3E%3Cpath d='M420 250v-80h80v-70'/%3E%3Cpath d='M370 350v30h-60v50h-100'/%3E%3Cpath d='M390 350v50h-40v40h-150'/%3E%3Cpath d='M410 350v50h50v60h120'/%3E%3Cpath d='M430 350v30h80v80h60'/%3E%3Cpath d='M380 350v70h-80v60'/%3E%3Cpath d='M420 350v70h100v50'/%3E%3Cpath d='M350 270h-40v-60h-70v-50h-60'/%3E%3Cpath d='M350 290h-60v40h-80v60'/%3E%3Cpath d='M350 310h-50v80h-100v40'/%3E%3Cpath d='M350 330h-30v50h-90v70'/%3E%3Cpath d='M450 270h40v-80h90v-40h80'/%3E%3Cpath d='M450 290h70v-50h100'/%3E%3Cpath d='M450 310h50v60h80v90'/%3E%3Cpath d='M450 330h30v40h100v60'/%3E%3Cpath d='M240 120h40v50h-30v40'/%3E%3Cpath d='M560 150h50v-40h70'/%3E%3Cpath d='M200 390h-40v60h50'/%3E%3Cpath d='M630 430h50v50h40'/%3E%3Cpath d='M100 200h60v80h40'/%3E%3Cpath d='M700 180h-50v100h-40'/%3E%3Cpath d='M120 400h80v-40h50'/%3E%3Cpath d='M680 420h-60v-60h-30'/%3E%3C/g%3E%3Cg fill='%230A9B9B' opacity='0.09'%3E%3Ccircle cx='370' cy='250' r='3'/%3E%3Ccircle cx='390' cy='250' r='3'/%3E%3Ccircle cx='410' cy='250' r='3'/%3E%3Ccircle cx='430' cy='250' r='3'/%3E%3Ccircle cx='370' cy='350' r='3'/%3E%3Ccircle cx='390' cy='350' r='3'/%3E%3Ccircle cx='410' cy='350' r='3'/%3E%3Ccircle cx='430' cy='350' r='3'/%3E%3Ccircle cx='350' cy='270' r='3'/%3E%3Ccircle cx='350' cy='290' r='3'/%3E%3Ccircle cx='350' cy='310' r='3'/%3E%3Ccircle cx='350' cy='330' r='3'/%3E%3Ccircle cx='450' cy='270' r='3'/%3E%3Ccircle cx='450' cy='290' r='3'/%3E%3Ccircle cx='450' cy='310' r='3'/%3E%3Ccircle cx='450' cy='330' r='3'/%3E%3Ccircle cx='140' cy='120' r='4'/%3E%3Ccircle cx='240' cy='150' r='3'/%3E%3Ccircle cx='500' cy='120' r='4'/%3E%3Ccircle cx='590' cy='150' r='3'/%3E%3Ccircle cx='680' cy='150' r='4'/%3E%3Ccircle cx='100' cy='200' r='3'/%3E%3Ccircle cx='700' cy='180' r='3'/%3E%3Ccircle cx='150' cy='280' r='4'/%3E%3Ccircle cx='650' cy='240' r='4'/%3E%3Ccircle cx='210' cy='430' r='4'/%3E%3Ccircle cx='200' cy='500' r='3'/%3E%3Ccircle cx='300' cy='530' r='4'/%3E%3Ccircle cx='630' cy='480' r='4'/%3E%3Ccircle cx='720' cy='530' r='3'/%3E%3Ccircle cx='620' cy='560' r='4'/%3E%3Ccircle cx='120' cy='400' r='3'/%3E%3Ccircle cx='680' cy='420' r='3'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 800px 600px;
    background-position: center;
    pointer-events: none;
    z-index: 0;
}

.page-hero .container {
    position: relative;
    z-index: 1;
}

.page-title {
    font-family: var(--font-display);
    font-size: clamp(40px, 6vw, 64px);
    font-weight: 700;
    line-height: 1.1;
    color: var(--color-dark);
    margin-bottom: 20px;
}

.page-subtitle {
    font-size: 18px;
    color: var(--color-text-secondary);
    max-width: 560px;
    line-height: 1.7;
}

.page-content {
    padding: 80px 0 120px;
    background: var(--color-bg-subtle);
    position: relative;
}

.page-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='800' height='600' viewBox='0 0 800 600'%3E%3Cg fill='none' stroke='%230A9B9B' stroke-width='1.5' opacity='0.04'%3E%3Crect x='350' y='250' width='100' height='100' rx='8'/%3E%3Crect x='365' y='265' width='70' height='70' rx='4'/%3E%3Cpath d='M370 250v-30h-50v-40h-80'/%3E%3Cpath d='M390 250v-50h-30v-30h-120v-20'/%3E%3Cpath d='M410 250v-50h30v-50h60v-30'/%3E%3Cpath d='M430 250v-30h70v-60h90'/%3E%3Cpath d='M380 250v-80h-100v-50'/%3E%3Cpath d='M420 250v-80h80v-70'/%3E%3Cpath d='M370 350v30h-60v50h-100'/%3E%3Cpath d='M390 350v50h-40v40h-150'/%3E%3Cpath d='M410 350v50h50v60h120'/%3E%3Cpath d='M430 350v30h80v80h60'/%3E%3Cpath d='M380 350v70h-80v60'/%3E%3Cpath d='M420 350v70h100v50'/%3E%3Cpath d='M350 270h-40v-60h-70v-50h-60'/%3E%3Cpath d='M350 290h-60v40h-80v60'/%3E%3Cpath d='M350 310h-50v80h-100v40'/%3E%3Cpath d='M350 330h-30v50h-90v70'/%3E%3Cpath d='M450 270h40v-80h90v-40h80'/%3E%3Cpath d='M450 290h70v-50h100'/%3E%3Cpath d='M450 310h50v60h80v90'/%3E%3Cpath d='M450 330h30v40h100v60'/%3E%3C/g%3E%3Cg fill='%230A9B9B' opacity='0.05'%3E%3Ccircle cx='370' cy='250' r='3'/%3E%3Ccircle cx='390' cy='250' r='3'/%3E%3Ccircle cx='410' cy='250' r='3'/%3E%3Ccircle cx='430' cy='250' r='3'/%3E%3Ccircle cx='370' cy='350' r='3'/%3E%3Ccircle cx='390' cy='350' r='3'/%3E%3Ccircle cx='410' cy='350' r='3'/%3E%3Ccircle cx='430' cy='350' r='3'/%3E%3Ccircle cx='350' cy='270' r='3'/%3E%3Ccircle cx='350' cy='290' r='3'/%3E%3Ccircle cx='350' cy='310' r='3'/%3E%3Ccircle cx='350' cy='330' r='3'/%3E%3Ccircle cx='450' cy='270' r='3'/%3E%3Ccircle cx='450' cy='290' r='3'/%3E%3Ccircle cx='450' cy='310' r='3'/%3E%3Ccircle cx='450' cy='330' r='3'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 800px 600px;
    background-position: center;
    pointer-events: none;
    z-index: 0;
}

.page-content .container {
    position: relative;
    z-index: 1;
}

/* Resources - Two Column Split Layout */
.resources-split {
    display: grid;
    grid-template-columns: 1fr 1px 1fr;
    gap: 0;
    min-height: 400px;
}

.resources-split .divider {
    background: var(--color-border);
}

.resource-section {
    padding: 60px;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    transition: background 0.4s var(--ease-out-expo);
}

.resource-section:hover {
    background: var(--color-surface);
}

.resource-visual {
    height: 200px;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.resource-visual svg {
    width: 100%;
    height: 100%;
    max-width: 280px;
}

.resource-section .label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: 16px;
}

.resource-section h2 {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 16px;
    line-height: 1.2;
}

.resource-section p {
    font-size: 16px;
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 400px;
}

.resource-section .action {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 600;
    color: var(--color-dark);
    margin-top: auto;
    transition: color 0.3s ease, gap 0.3s var(--ease-out-expo);
}

.resource-section .action svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s var(--ease-out-expo);
}

.resource-section:hover .action {
    color: var(--color-primary);
}

.resource-section:hover .action svg {
    transform: translateX(6px);
}

/* About Page Sections */
.about-statement {
    max-width: 800px;
    margin: 0 auto 80px;
    text-align: center;
}

.statement-text {
    font-size: 22px;
    line-height: 1.7;
    color: var(--color-text-secondary);
}

/* Origin Story */
.about-origin {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 100px;
    padding: 60px;
    background: var(--color-bg-subtle);
    border-radius: 24px;
}

.origin-content {
    max-width: 480px;
}

.origin-content h2 {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 24px;
    line-height: 1.2;
}

.origin-content p {
    font-size: 17px;
    line-height: 1.7;
    color: var(--color-text-secondary);
    margin-bottom: 16px;
}

.origin-content p:last-of-type {
    margin-bottom: 0;
}

.origin-answer {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 600;
    color: var(--color-primary);
    margin-top: 24px;
}

.origin-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.origin-visual svg {
    width: 100%;
    max-width: 320px;
    height: auto;
}

.about-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 100px;
}

.about-block {
    padding: 40px;
    background: var(--color-surface);
    border-radius: 16px;
    border: 1px solid var(--color-border);
}

.about-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: 20px;
}

.about-block h2 {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 16px;
    line-height: 1.2;
}

.about-block p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text-secondary);
}

.about-validation {
    background: var(--color-bg-subtle);
    border-radius: 20px;
    padding: 60px;
    margin-bottom: 100px;
}

.validation-header {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 48px;
}

.validation-header .about-label {
    color: var(--color-primary);
    margin-bottom: 0;
}

.validation-logo img {
    height: 48px;
    width: auto;
    opacity: 0.9;
}

.validation-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.stat-item {
    text-align: left;
}

.stat-value {
    display: block;
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1;
    margin-bottom: 12px;
}

.stat-desc {
    font-size: 15px;
    line-height: 1.6;
    color: var(--color-text-secondary);
}

.about-partners {
    text-align: center;
    margin-bottom: 100px;
}

.partners-intro {
    font-size: 18px;
    color: var(--color-text-secondary);
    margin-bottom: 40px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.partners-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 80px;
}

.partners-logos img {
    height: 40px;
    width: auto;
    opacity: 0.7;
    filter: grayscale(100%);
    transition: all 0.3s ease;
}

.partners-logos img:hover {
    opacity: 1;
    filter: grayscale(0%);
}

.about-vision {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    padding-bottom: 40px;
}

.about-vision h2 {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 20px;
    line-height: 1.2;
}

.about-vision p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--color-text-secondary);
}

/* Why Floors Section */
.about-why-floors {
    margin-bottom: 100px;
}

.about-why-floors h2 {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 16px;
    line-height: 1.2;
}

.why-floors-intro {
    font-size: 18px;
    color: var(--color-text-secondary);
    margin-bottom: 56px;
    max-width: 600px;
}

.why-floors-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
}

.why-floors-item {
    text-align: center;
}

.why-floors-visual {
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
}

.why-floors-visual svg {
    width: 100%;
    height: 100%;
    max-width: 200px;
}

.why-floors-item h3 {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 12px;
}

.why-floors-item p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--color-text-secondary);
    max-width: 320px;
    margin: 0 auto;
}

/* AI Data Layer Section */
.about-data-layer {
    margin-bottom: 100px;
    padding: 60px;
    background: var(--color-dark);
    border-radius: 24px;
}

.about-data-layer .about-label {
    color: var(--color-primary-light);
}

.about-data-layer h2 {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 600;
    color: var(--color-text-on-dark);
    margin-bottom: 16px;
    line-height: 1.2;
}

.data-layer-intro {
    font-size: 18px;
    color: var(--color-text-on-dark-dim);
    margin-bottom: 56px;
    max-width: 600px;
}

.data-layer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
}

.data-layer-item {
    text-align: center;
}

.data-layer-visual {
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
}

.data-layer-visual svg {
    width: 100%;
    height: 100%;
    max-width: 280px;
}

.data-layer-item h3 {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 600;
    color: var(--color-text-on-dark);
    margin-bottom: 12px;
}

.data-layer-item p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--color-text-on-dark-dim);
    max-width: 320px;
    margin: 0 auto;
}

/* Roadmap Section */
.about-roadmap {
    padding-bottom: 40px;
}

.about-roadmap h2 {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 16px;
    line-height: 1.2;
}

.roadmap-intro {
    font-size: 18px;
    color: var(--color-text-secondary);
    margin-bottom: 48px;
    max-width: 600px;
}

.roadmap-phases {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.phase-item {
    position: relative;
}

.phase-number {
    display: block;
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 700;
    color: var(--color-primary);
    opacity: 0.2;
    line-height: 1;
    margin-bottom: 16px;
}

.phase-item h3 {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 12px;
}

.phase-item p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--color-text-secondary);
}

/* Contact Page */
.contact-emails {
    margin-bottom: 100px;
}

.contact-email-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.contact-email-item {
    display: block;
    text-align: center;
    padding: 48px 32px;
    background: var(--color-bg-subtle);
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-email-item:hover {
    background: var(--color-surface);
    box-shadow: 0 8px 32px rgba(10, 155, 155, 0.1);
    transform: translateY(-4px);
}

.contact-email-visual {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
}

.contact-email-visual svg {
    width: 100%;
    height: 100%;
}

.contact-label {
    display: block;
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: 8px;
}

.contact-email-address {
    display: block;
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 12px;
}

.contact-email-item p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--color-text-secondary);
    margin: 0 0 20px 0;
}

.contact-email-address {
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-email-address:hover {
    color: var(--color-primary);
}

.copy-email-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: transparent;
    border: 1.5px solid var(--color-primary);
    border-radius: 8px;
    color: var(--color-primary);
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.copy-email-btn:hover {
    background: var(--color-primary);
    color: white;
}

.copy-email-btn svg {
    width: 16px;
    height: 16px;
}

.copy-email-btn.copied {
    background: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
}

/* Contact Locations */
.contact-locations {
    text-align: center;
    margin-bottom: 100px;
}

.contact-locations h2 {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 48px;
}

.contact-locations-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
}

.contact-location-item {
    padding: 48px;
    background: var(--color-bg-subtle);
    border-radius: 20px;
    text-align: center;
}

.contact-location-visual {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 32px;
}

.contact-location-visual svg {
    width: 100%;
    height: 100%;
    max-width: 280px;
}

.contact-location-item h3 {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 16px;
}

.location-address {
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text-secondary);
    margin: 0;
}

/* News & Events Page - Editorial Layout */
.news-filters {
    display: flex;
    gap: 8px;
    margin-bottom: 60px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--color-border);
}

.news-filter {
    padding: 10px 20px;
    background: transparent;
    border: none;
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text-muted);
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.news-filter:hover {
    color: var(--color-text);
    background: var(--color-bg-subtle);
}

.news-filter.active {
    color: var(--color-primary);
    background: rgba(10, 155, 155, 0.1);
}

/* Featured Article */
.news-featured {
    margin-bottom: 80px;
    padding-bottom: 80px;
    border-bottom: 1px solid var(--color-border);
}

.news-date {
    display: block;
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--color-text-muted);
    margin-bottom: 12px;
}

.news-tag {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.news-tag-press {
    color: #0A9B9B;
    background: rgba(10, 155, 155, 0.1);
}

.news-tag-event {
    color: #7C3AED;
    background: rgba(124, 58, 237, 0.1);
}

.news-tag-blog {
    color: #EA580C;
    background: rgba(234, 88, 12, 0.1);
}

.news-featured-title {
    font-family: var(--font-display);
    font-size: 42px;
    font-weight: 600;
    line-height: 1.2;
    color: var(--color-text);
    margin-bottom: 24px;
    max-width: 900px;
}

.news-featured-excerpt {
    font-size: 18px;
    line-height: 1.7;
    color: var(--color-text-secondary);
    margin-bottom: 32px;
    max-width: 700px;
}

.news-read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 500;
    color: var(--color-primary);
    text-decoration: none;
    transition: gap 0.2s ease;
}

.news-read-more:hover {
    gap: 12px;
}

.news-read-more svg {
    transition: transform 0.2s ease;
}

.news-read-more:hover svg {
    transform: translateX(2px);
}

/* News Feed - Editorial List */
.news-feed {
    display: flex;
    flex-direction: column;
}

.news-item {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 48px;
    padding: 40px 0;
    border-bottom: 1px solid var(--color-border);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    align-items: center;
}

.news-item:hover {
    background: linear-gradient(90deg, transparent, var(--color-bg-subtle) 20%, var(--color-bg-subtle) 80%, transparent);
    margin: 0 -48px;
    padding-left: 48px;
    padding-right: 48px;
}

.news-item-text {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.news-item-image {
    position: relative;
    width: 280px;
    height: 180px;
    border-radius: 12px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(10, 155, 155, 0.08) 0%, rgba(0, 229, 204, 0.04) 100%);
    flex-shrink: 0;
}

.news-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.news-item:hover .news-item-image img {
    transform: scale(1.05);
}

.news-item:first-child {
    padding-top: 0;
}

.news-item-meta {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.news-item-meta .news-date {
    margin-bottom: 0;
}

.news-item-meta .news-tag {
    margin-bottom: 0;
    align-self: flex-start;
}

.news-item-content {
    display: flex;
    flex-direction: column;
}

.news-item-title {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--color-text);
    margin-bottom: 12px;
    transition: color 0.2s ease;
}

.news-item:hover .news-item-title {
    color: var(--color-primary);
}

.news-item-excerpt {
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text-secondary);
    margin: 0;
}

.news-item-location {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    font-size: 14px;
    color: var(--color-text-muted);
}

.news-item-location::before {
    content: '';
    width: 12px;
    height: 12px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238A9AA8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'%3E%3C/path%3E%3Ccircle cx='12' cy='10' r='3'%3E%3C/circle%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

/* Hidden items during filter */
.news-item.hidden,
.news-featured.hidden {
    display: none;
}

/* Page responsive */
@media (max-width: 1024px) {
    .resources-split {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .resources-split .divider {
        height: 1px;
        width: 100%;
    }

    .resource-section {
        padding: 48px 32px;
    }

    .resource-visual {
        height: 160px;
        margin-bottom: 32px;
    }

    .resource-section h2 {
        font-size: 28px;
    }

    .about-origin {
        grid-template-columns: 1fr;
        gap: 48px;
        padding: 48px 40px;
    }

    .origin-visual {
        order: -1;
    }

    .about-split {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .validation-stats {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .partners-logos {
        gap: 40px;
    }

    .why-floors-grid {
        grid-template-columns: 1fr;
        gap: 56px;
    }

    .roadmap-phases {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .data-layer-grid {
        grid-template-columns: 1fr;
        gap: 56px;
    }

    .about-data-layer {
        padding: 48px 40px;
    }

    .contact-email-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .contact-locations-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .news-item {
        grid-template-columns: 1fr 220px;
        gap: 32px;
    }

    .news-item-image {
        width: 220px;
        height: 140px;
    }

    .news-featured-title {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .page-hero {
        padding: 120px 0 60px;
    }

    .page-title {
        font-size: 32px;
    }

    .page-subtitle {
        font-size: 16px;
    }

    .page-content {
        padding: 60px 0 80px;
    }

    .resource-section {
        padding: 40px 24px;
    }

    .resource-section h2 {
        font-size: 24px;
    }

    .resource-section p {
        font-size: 15px;
    }

    .about-statement {
        margin-bottom: 60px;
    }

    .statement-text {
        font-size: 18px;
    }

    .about-origin {
        padding: 40px 24px;
        margin-bottom: 60px;
        gap: 40px;
    }

    .origin-content h2 {
        font-size: 28px;
    }

    .origin-content p {
        font-size: 15px;
    }

    .origin-answer {
        font-size: 24px;
    }

    .about-split {
        margin-bottom: 60px;
    }

    .about-block {
        padding: 28px;
    }

    .about-block h2 {
        font-size: 24px;
    }

    .about-validation {
        padding: 40px 28px;
        margin-bottom: 60px;
    }

    .stat-value {
        font-size: 36px;
    }

    .about-partners {
        margin-bottom: 60px;
    }

    .partners-logos {
        flex-direction: column;
        gap: 32px;
    }

    .partners-logos img {
        height: 32px;
    }

    .about-vision h2 {
        font-size: 28px;
    }

    .about-vision p {
        font-size: 16px;
    }

    .about-why-floors {
        margin-bottom: 60px;
    }

    .about-why-floors h2 {
        font-size: 28px;
    }

    .why-floors-visual {
        height: 140px;
    }

    .why-floors-item h3 {
        font-size: 20px;
    }

    .about-roadmap h2 {
        font-size: 28px;
    }

    .phase-number {
        font-size: 36px;
    }

    .phase-item h3 {
        font-size: 20px;
    }

    .about-data-layer {
        padding: 40px 24px;
        margin-bottom: 60px;
    }

    .about-data-layer h2 {
        font-size: 28px;
    }

    .data-layer-intro {
        font-size: 16px;
    }

    .data-layer-visual {
        height: 180px;
    }

    .data-layer-item h3 {
        font-size: 20px;
    }

    .contact-emails {
        margin-bottom: 60px;
    }

    .contact-email-item {
        padding: 32px 24px;
    }

    .contact-email-address {
        font-size: 16px;
    }

    .contact-locations {
        margin-bottom: 60px;
    }

    .contact-locations h2 {
        font-size: 28px;
    }

    .contact-location-item {
        padding: 32px 24px;
    }

    .contact-location-visual {
        height: 140px;
    }

    .contact-location-item h3 {
        font-size: 20px;
    }

    .news-filters {
        flex-wrap: wrap;
        gap: 6px;
        margin-bottom: 40px;
    }

    .news-filter {
        padding: 8px 16px;
        font-size: 13px;
    }

    .news-featured {
        margin-bottom: 48px;
        padding-bottom: 48px;
    }

    .news-featured-title {
        font-size: 28px;
    }

    .news-featured-excerpt {
        font-size: 16px;
    }

    .news-item {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 32px 0;
    }

    .news-item-text {
        order: 2;
    }

    .news-item-image {
        order: 1;
        width: 100%;
        height: 200px;
        border-radius: 10px;
    }

    .news-item:hover {
        margin: 0;
        padding-left: 0;
        padding-right: 0;
        background: transparent;
    }

    .news-item:hover .news-item-image img {
        transform: scale(1);
    }

    .news-item-meta {
        flex-direction: row;
        align-items: center;
        gap: 16px;
    }

    .news-item-title {
        font-size: 20px;
    }

    .news-item-excerpt {
        font-size: 15px;
    }
}

/* ========================================
   Announcement Banner
   ======================================== */

.announcement-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    background: linear-gradient(135deg, #0A1214 0%, #1a2a2e 100%);
    padding: 12px 0;
    border-bottom: 1px solid rgba(10, 155, 155, 0.3);
}

.announcement-banner .container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.announcement-text {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #FFFFFF;
}

.announcement-link {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #00E5CC;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.announcement-link::after {
    content: '→';
    transition: transform 0.3s ease;
}

.announcement-link:hover {
    color: #FFFFFF;
}

.announcement-link:hover::after {
    transform: translateX(4px);
}

/* Adjust nav position when banner is present */
.nav.has-banner {
    top: 45px;
}

.post-main.has-banner {
    padding-top: 125px;
}

.page-main.has-banner {
    padding-top: 45px;
}

/* Hero adjustment for banner */
body.has-banner .hero {
    padding-top: 45px;
}

@media (max-width: 768px) {
    .announcement-banner {
        padding: 10px 0;
    }

    .announcement-text {
        font-size: 13px;
    }

    .announcement-link {
        font-size: 13px;
    }

    .nav.has-banner {
        top: 40px;
    }

    .post-main.has-banner {
        padding-top: 120px;
    }
}

/* ========================================
   Acquisition Logos Section
   ======================================== */

.post-acquisition-logos {
    padding: 48px 0;
    background: linear-gradient(135deg, rgba(10, 155, 155, 0.04) 0%, rgba(0, 229, 204, 0.02) 100%);
    border-top: 1px solid rgba(10, 155, 155, 0.1);
    border-bottom: 1px solid rgba(10, 155, 155, 0.1);
}

.acquisition-logos-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
}

.acquisition-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.acquisition-logo img {
    max-height: 160px;
    max-width: 400px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.acquisition-logo:last-of-type img {
    max-height: 80px;
    max-width: 200px;
}

.acquisition-plus {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 32px;
    font-weight: 300;
    color: #0A9B9B;
}

.quote-attribution {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: rgba(10, 18, 20, 0.6);
    margin-top: -20px;
    margin-bottom: 32px;
}

@media (max-width: 768px) {
    .acquisition-logos-wrapper {
        gap: 24px;
    }

    .acquisition-logo img {
        max-height: 120px;
        max-width: 280px;
    }

    .acquisition-logo:last-of-type img {
        max-height: 60px;
        max-width: 140px;
    }

    .acquisition-plus {
        font-size: 24px;
    }
}

/* ========================================
   News Post Template Styles
   ======================================== */

/* Post Body */
.post-body {
    background: #F8FAFA;
}

.post-main {
    position: relative;
    z-index: 1;
    padding-top: 80px;
}

/* Post Article */
.post-article {
    position: relative;
}

/* Post Header */
.post-header {
    padding: 80px 0 48px;
    position: relative;
}

.post-header .container {
    max-width: 1000px;
}

.post-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #0A9B9B;
    text-decoration: none;
    margin-bottom: 32px;
    transition: all 0.3s ease;
}

.post-back:hover {
    color: #0A1214;
    gap: 12px;
}

.post-back svg {
    transition: transform 0.3s ease;
}

.post-back:hover svg {
    transform: translateX(-4px);
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.post-tag {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 20px;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.post-tag-press {
    background: rgba(10, 155, 155, 0.12);
    color: #0A9B9B;
}

.post-tag-event {
    background: rgba(99, 102, 241, 0.12);
    color: #6366f1;
}

.post-tag-blog {
    background: rgba(245, 158, 11, 0.12);
    color: #d97706;
}

.post-date {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: rgba(10, 18, 20, 0.6);
}

.post-author {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: rgba(10, 18, 20, 0.6);
}

.post-author::before {
    content: "•";
    margin-right: 12px;
    color: rgba(10, 18, 20, 0.3);
}

.post-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 600;
    line-height: 1.15;
    color: #0A1214;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.post-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    line-height: 1.7;
    color: rgba(10, 18, 20, 0.7);
    max-width: 700px;
}

/* Featured Image */
.post-featured-image {
    padding: 0 0 48px;
}

.post-featured-image .container {
    max-width: 1100px;
}

.post-image-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(10, 155, 155, 0.08) 0%, rgba(0, 229, 204, 0.04) 100%);
    border: 1px solid rgba(10, 155, 155, 0.1);
}

.post-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

.post-image-placeholder {
    aspect-ratio: 16 / 9;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    color: rgba(10, 155, 155, 0.4);
}

.post-image-placeholder .placeholder-icon {
    width: 80px;
    height: 80px;
}

.post-image-placeholder span {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
}

/* Post Body Content */
.post-body-content {
    padding: 48px 0 80px;
    background: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.8) 100%);
}

.post-body-content .container {
    max-width: 1000px;
}

.post-content {
    position: relative;
}

.post-content > p {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    line-height: 1.85;
    color: rgba(10, 18, 20, 0.85);
    margin-bottom: 24px;
}

/* Post Lead Text */
.post-lead-text {
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    line-height: 1.8;
    color: #0A1214;
    font-weight: 400;
    margin-bottom: 32px;
}

/* Post Headings */
.post-content h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 28px;
    font-weight: 600;
    color: #0A1214;
    margin: 48px 0 20px;
    letter-spacing: -0.01em;
}

.post-content h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #0A1214;
    margin: 32px 0 12px;
}

/* Post Quote/Blockquote */
.post-content blockquote {
    position: relative;
    padding: 24px 32px;
    margin: 32px 0;
    background: #FFFFFF;
    border-left: 4px solid #0A9B9B;
    border-radius: 0 8px 8px 0;
}

.post-content blockquote p {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 19px;
    line-height: 1.7;
    color: #0A1214;
    font-style: italic;
    margin: 0;
}

/* Technical Essay Styles */
.post-subtitle-large {
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    font-style: italic;
    color: rgba(10, 18, 20, 0.6);
    margin-top: -16px;
}

.post-abstract {
    background: var(--color-bg);
    border-left: 4px solid var(--color-primary);
    padding: 24px 28px;
    margin: 32px 0;
    border-radius: 0 12px 12px 0;
}

.post-abstract p {
    margin: 0;
    font-size: 15px;
    line-height: 1.7;
    color: var(--color-text-secondary);
}

/* Formula Boxes */
.formula-box {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 24px 32px;
    margin: 28px 0;
    text-align: center;
}

.formula-box.formula-box-highlight {
    background: linear-gradient(135deg, rgba(10, 155, 155, 0.06) 0%, rgba(10, 155, 155, 0.02) 100%);
    border: 2px solid var(--color-primary);
    border-left: 4px solid var(--color-primary);
}

.formula-box .formula {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 22px;
    line-height: 1.6;
    color: var(--color-text);
    letter-spacing: 0.5px;
}

.formula-box .formula sub,
.formula-box .formula sup {
    font-size: 14px;
}

.formula-box .formula-caption {
    margin-top: 12px;
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--color-text-muted);
    font-style: italic;
}

.post-divider {
    border: none;
    text-align: center;
    margin: 48px 0;
    height: auto;
}

.post-divider::before {
    content: "* * *";
    color: var(--color-primary);
    font-size: 18px;
    letter-spacing: 8px;
}

.post-callout {
    padding: 24px 28px;
    margin: 32px 0;
    border-radius: 12px;
}

.post-callout h4 {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 600;
    margin: 0 0 12px 0;
    color: var(--color-text);
}

.post-callout p {
    margin: 0 0 12px 0;
    font-size: 15px;
    line-height: 1.7;
}

.post-callout p:last-child {
    margin-bottom: 0;
}

.post-callout-warning {
    background: #FFF8E6;
    border-left: 4px solid #E67E22;
}

.post-callout-warning h4 {
    color: #D35400;
}

.post-callout-success {
    background: #E8F5E9;
    border-left: 4px solid #2E7D32;
}

.post-callout-success h4 {
    color: #1B5E20;
}

.post-tag-technical {
    background: rgba(245, 158, 11, 0.12);
    color: #d97706;
}

.post-content h3 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
    color: var(--color-text);
    margin-top: 40px;
    margin-bottom: 16px;
}

.post-content ol,
.post-content ul {
    padding-left: 24px;
    margin-bottom: 24px;
    font-family: var(--font-body);
    font-size: 18px;
    line-height: 1.75;
    color: var(--color-body);
}

.post-content ol li,
.post-content ul li {
    margin-bottom: 12px;
    padding-left: 8px;
}

.post-content ul {
    list-style-type: disc;
}

.post-content ul li::marker {
    color: var(--color-primary);
}

/* Post Figures */
.post-figure {
    margin: 40px 0;
    padding: 0;
}

.post-figure img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    border: 1px solid var(--color-border);
    background: #ffffff;
}

.post-figure figcaption {
    margin-top: 16px;
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 1.6;
    color: var(--color-text-secondary);
    text-align: center;
    font-style: italic;
}

/* Post Footer */
.post-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 48px;
    margin-top: 56px;
    border-top: 1px solid rgba(10, 155, 155, 0.12);
}

.post-share {
    display: flex;
    align-items: center;
    gap: 20px;
}

.share-label {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: rgba(10, 18, 20, 0.6);
}

.share-buttons {
    display: flex;
    gap: 8px;
}

.share-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    border: 1px solid rgba(10, 155, 155, 0.15);
    border-radius: 10px;
    color: #0A1214;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.share-btn:hover {
    background: #0A9B9B;
    color: white;
    border-color: #0A9B9B;
}

.share-btn svg {
    width: 18px;
    height: 18px;
}

.post-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #0A9B9B;
    text-decoration: none;
    transition: all 0.3s ease;
}

.post-nav-link:hover {
    color: #0A1214;
    gap: 12px;
}

.post-nav-link svg {
    transition: transform 0.3s ease;
}

.post-nav-link:hover svg {
    transform: translateX(-4px);
}

/* Post Responsive Styles */
@media (max-width: 768px) {
    .post-header {
        padding: 60px 0 32px;
    }

    .post-title {
        font-size: 28px;
    }

    .post-lead-text {
        font-size: 18px;
    }

    .post-content > p {
        font-size: 16px;
    }

    .post-content h2 {
        font-size: 24px;
        margin: 36px 0 16px;
    }

    .post-content h3 {
        font-size: 18px;
        margin: 24px 0 10px;
    }

    .post-content blockquote {
        padding: 20px 24px;
        margin: 24px 0;
    }

    .post-content blockquote p {
        font-size: 17px;
    }

    .post-footer {
        flex-direction: column;
        gap: 24px;
        align-items: flex-start;
    }

    .post-body-content {
        padding: 32px 0 60px;
    }
}

@media (max-width: 480px) {
    .post-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .post-title {
        font-size: 24px;
    }

    .post-share {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}

/* ===========================================
   SALES MODAL
   =========================================== */

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px;
    max-width: 520px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.25);
    transform: translateY(20px) scale(0.95);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-container {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border: none;
    background: var(--color-bg);
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-secondary);
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: var(--color-primary);
    color: #ffffff;
}

.modal-close svg {
    width: 20px;
    height: 20px;
}

.modal-header {
    margin-bottom: 32px;
}

.modal-header h2 {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 8px;
}

.modal-header p {
    font-size: 15px;
    color: var(--color-text-secondary);
    line-height: 1.5;
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text);
}

.form-group input,
.form-group textarea {
    padding: 14px 16px;
    border: 1.5px solid var(--color-border);
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--color-text);
    background: #ffffff;
    transition: all 0.2s ease;
    resize: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--color-text-tertiary);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(10, 155, 155, 0.1);
}

.modal-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    background: var(--color-primary);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 8px;
}

.modal-submit:hover {
    background: var(--color-accent);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(10, 155, 155, 0.3);
}

.modal-submit svg {
    transition: transform 0.2s ease;
}

.modal-submit:hover svg {
    transform: translateX(4px);
}

/* Sales card form hint */
.contact-form-hint {
    font-size: 13px;
    color: var(--color-primary);
    opacity: 0.7;
    margin-top: -4px;
    transition: opacity 0.2s ease;
}

.contact-email-item.clickable:hover .contact-form-hint {
    opacity: 1;
}

/* Sales card clickable state */
.contact-email-item.clickable {
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-email-item.clickable:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(10, 155, 155, 0.15);
}

.contact-email-item.clickable:hover .contact-email-visual svg circle,
.contact-email-item.clickable:hover .contact-email-visual svg path,
.contact-email-item.clickable:hover .contact-email-visual svg rect,
.contact-email-item.clickable:hover .contact-email-visual svg line {
    stroke: var(--color-accent);
}

/* Modal Responsive */
@media (max-width: 600px) {
    .modal-container {
        padding: 28px 24px;
        border-radius: 16px;
    }

    .modal-header h2 {
        font-size: 24px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .modal-submit {
        width: 100%;
    }
}

/* ===========================================
   LAB / RESEARCH SECTION
   =========================================== */

.lab-hero {
    padding: 140px 0 60px;
    background: linear-gradient(180deg, var(--color-bg) 0%, #ffffff 100%);
}

body.has-banner .lab-hero {
    padding-top: 180px;
}

.lab-hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.lab-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(10, 155, 155, 0.1);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 500;
    color: var(--color-primary);
    margin-bottom: 20px;
}

.lab-badge svg {
    width: 16px;
    height: 16px;
}

.lab-title {
    font-family: var(--font-display);
    font-size: 56px;
    font-weight: 600;
    color: var(--color-text);
    line-height: 1.1;
    margin-bottom: 20px;
}

.lab-subtitle {
    font-size: 18px;
    color: var(--color-text-secondary);
    line-height: 1.6;
    max-width: 480px;
}

.lab-hero-visual {
    display: flex;
    justify-content: center;
}

.lab-hero-svg {
    width: 100%;
    max-width: 400px;
    height: auto;
}

/* Lab Partners */
.lab-partners {
    padding: 40px 0;
    border-bottom: 1px solid var(--color-border);
}

.lab-partners .container {
    display: flex;
    align-items: center;
    gap: 40px;
}

.lab-partners-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text-tertiary);
    white-space: nowrap;
}

.lab-partners-logos {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.lab-partner {
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.lab-partner:hover {
    opacity: 1;
}

.lab-partner img {
    height: 32px;
    width: auto;
}

.partner-text {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    color: var(--color-text-secondary);
}

/* Lab Content */
.lab-content {
    padding: 60px 0 100px;
}

.lab-filters {
    display: flex;
    gap: 8px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.lab-filter {
    padding: 10px 20px;
    background: none;
    border: 1px solid var(--color-border);
    border-radius: 100px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
}

.lab-filter:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.lab-filter.active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #ffffff;
}

/* Lab Featured */
.lab-featured {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    padding: 48px;
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: 20px;
    margin-bottom: 40px;
    align-items: center;
}

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

.lab-tag {
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.lab-tag-paper {
    background: rgba(10, 155, 155, 0.1);
    color: var(--color-primary);
}

.lab-tag-case-study {
    background: rgba(99, 102, 241, 0.1);
    color: #6366f1;
}

.lab-tag-technical {
    background: rgba(245, 158, 11, 0.1);
    color: #d97706;
}

.lab-tag-methodology {
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
}

.lab-date {
    font-size: 13px;
    color: var(--color-text-tertiary);
}

.lab-featured-title {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 600;
    color: var(--color-text);
    line-height: 1.3;
    margin-bottom: 16px;
}

.lab-featured-excerpt {
    font-size: 16px;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-bottom: 24px;
}

.lab-featured-stats {
    display: flex;
    gap: 32px;
    margin-bottom: 24px;
}

.lab-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.lab-stat-value {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 600;
    color: var(--color-primary);
}

.lab-stat-label {
    font-size: 12px;
    color: var(--color-text-tertiary);
}

.lab-read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 600;
    color: var(--color-primary);
    text-decoration: none;
    transition: gap 0.2s ease;
}

.lab-read-more:hover {
    gap: 12px;
}

.lab-featured-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--color-bg);
    border-radius: 12px;
    padding: 20px;
}

.lab-featured-visual svg {
    width: 100%;
    max-width: 300px;
    height: auto;
}

/* Lab Grid */
.lab-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 60px;
}

.lab-item {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.3s ease;
}

.lab-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    border-color: var(--color-primary);
}

.lab-item-visual {
    aspect-ratio: 16/9;
    overflow: hidden;
}

.lab-item-visual svg {
    width: 100%;
    height: 100%;
}

.lab-item-content {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

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

.lab-item-title {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 600;
    color: var(--color-text);
    line-height: 1.4;
    margin-bottom: 8px;
}

.lab-item-excerpt {
    font-size: 14px;
    color: var(--color-text-secondary);
    line-height: 1.5;
}

/* Developer CTA */
.lab-dev-cta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 32px 40px;
    background: var(--color-dark);
    border-radius: 16px;
}

.lab-dev-cta-content h3 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 4px;
}

.lab-dev-cta-content p {
    font-size: 14px;
    color: var(--color-text-on-dark-dim);
}

.lab-dev-cta-links {
    display: flex;
    gap: 16px;
}

.lab-dev-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.2s ease;
}

.lab-dev-link:hover {
    background: rgba(255, 255, 255, 0.2);
}

.lab-dev-link svg {
    width: 18px;
    height: 18px;
}

/* Lab Responsive */
@media (max-width: 1024px) {
    .lab-hero .container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .lab-title {
        font-size: 42px;
    }

    .lab-hero-visual {
        order: -1;
    }

    .lab-featured {
        grid-template-columns: 1fr;
        gap: 32px;
    }

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

@media (max-width: 768px) {
    .lab-hero {
        padding: 100px 0 40px;
    }

    .lab-title {
        font-size: 32px;
    }

    .lab-partners .container {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .lab-featured {
        padding: 24px;
    }

    .lab-featured-title {
        font-size: 22px;
    }

    .lab-featured-stats {
        flex-wrap: wrap;
        gap: 20px;
    }

    .lab-grid {
        grid-template-columns: 1fr;
    }

    .lab-dev-cta {
        flex-direction: column;
        gap: 24px;
        text-align: center;
        padding: 28px 24px;
    }

    .lab-dev-cta-links {
        flex-direction: column;
        width: 100%;
    }

    .lab-dev-link {
        justify-content: center;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .loader {
        display: none;
    }
}
