/* ==========================================================================
   AIARAMBH™ STYLE SYSTEM - CORE DESIGN TOKENS & RESPONSIVE STYLING
   ========================================================================== */

/* 1. Design Tokens (CSS Variables) */
:root {
    /* Color Palette */
    --color-bg-deep: #030611;
    --color-bg-surface: rgba(10, 17, 40, 0.4);
    --color-bg-card: rgba(13, 23, 56, 0.5);
    --color-border: rgba(0, 242, 254, 0.15);
    --color-border-glow: rgba(0, 242, 254, 0.4);
    
    /* Accents & Gradients */
    --color-primary: #00f2fe;
    --color-secondary: #7c3aed;
    --color-accent-blue: #0072ff;
    --color-accent-purple: #a855f7;
    --color-text-primary: #f8fafc;
    --color-text-secondary: #94a3b8;
    --color-text-muted: #64748b;
    
    /* Semantic Colors */
    --color-poison: #e11d48; /* Red/Rose representing toxic air */
    --color-warn: #f59e0b; /* Amber */
    --color-success: #10b981; /* Emerald */
    
    /* Gradients */
    --grad-tech: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent-blue) 100%);
    --grad-purple: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-accent-purple) 100%);
    --grad-poison: linear-gradient(135deg, #f43f5e 0%, #be123c 100%);
    --grad-warn: linear-gradient(135deg, #fbbf24 0%, #b45309 100%);
    --grad-dark-card: linear-gradient(180deg, rgba(13, 23, 56, 0.7) 0%, rgba(5, 9, 24, 0.9) 100%);
    --grad-glow: linear-gradient(90deg, var(--color-primary), var(--color-secondary));

    /* Fonts */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    
    /* Effects & Glassmorphism */
    --glass-bg: rgba(6, 11, 28, 0.65);
    --glass-border: rgba(255, 255, 255, 0.05);
    --glass-border-blue: rgba(0, 242, 254, 0.12);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    --glass-backdrop-filter: blur(16px) saturate(180%);
    
    /* Spacing */
    --container-max: 1200px;
    --nav-height: 80px;
    --transition-speed: 0.3s;
}

/* 2. Global Reset & Scrollbar */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--color-bg-deep);
    color: var(--color-text-primary);
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    background-color: var(--color-bg-deep);
    color: var(--color-text-primary);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--color-bg-deep);
}
::-webkit-scrollbar-thumb {
    background: rgba(0, 242, 254, 0.2);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 242, 254, 0.5);
}

/* Typography elements */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-text-primary);
}

p {
    color: var(--color-text-secondary);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all var(--transition-speed) ease;
}

/* 3. Ambient Background & Grid */
#ambient-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    pointer-events: none;
}

.tech-grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-size: 50px 50px;
    background-image: 
        linear-gradient(to right, rgba(0, 242, 254, 0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(0, 242, 254, 0.03) 1px, transparent 1px);
    pointer-events: none;
    mask-image: radial-gradient(circle at 50% 50%, black, transparent 80%);
}

/* Interactive Mouse Glow Spotlight Overlay */
.mouse-glow-spotlight {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: -1;
    background: radial-gradient(
        600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(0, 242, 254, 0.06) 0%,
        rgba(124, 58, 237, 0.03) 40%,
        transparent 80%
    );
    transition: opacity 0.5s ease;
}

/* 4. Common Layout Utilities */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

section {
    padding: 100px 0;
    position: relative;
}

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

.section-tag {
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 2px;
    color: var(--color-primary);
    background: rgba(0, 242, 254, 0.08);
    padding: 6px 16px;
    border-radius: 20px;
    border: 1px solid rgba(0, 242, 254, 0.15);
    display: inline-block;
    margin-bottom: 15px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

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

/* Text Gradient Utilities */
.text-gradient-poison {
    background: var(--grad-poison);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-tech {
    background: var(--grad-tech);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-warn {
    background: var(--grad-warn);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-family: var(--font-heading);
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    transition: all var(--transition-speed) cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--grad-tech);
    color: #030611;
    box-shadow: 0 0 20px rgba(0, 242, 254, 0.4);
}

.btn-primary:hover {
    box-shadow: 0 0 30px rgba(0, 242, 254, 0.7);
    transform: translateY(-2px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--color-text-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
}

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

.btn-icon {
    width: 18px;
    height: 18px;
    margin-left: 8px;
    transition: transform var(--transition-speed) ease;
}

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

/* 5. Header / Navbar Styles */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background: rgba(3, 6, 17, 0.75);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
    transition: all var(--transition-speed) ease;
}

.navbar.shrink {
    height: 65px;
    background: rgba(3, 6, 17, 0.9);
    border-bottom-color: var(--glass-border-blue);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: var(--container-max);
    height: 100%;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--color-text-primary);
    display: flex;
    align-items: center;
}

.logo-accent {
    background: var(--grad-tech);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-trademark {
    font-size: 0.7rem;
    vertical-align: super;
    margin-left: 2px;
    color: var(--color-primary);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--grad-tech);
    transition: width var(--transition-speed) ease;
}

.nav-link:hover, .nav-link.active {
    color: var(--color-text-primary);
}

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

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: var(--color-text-primary);
    transition: all var(--transition-speed) ease;
}

/* 6. Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: calc(var(--nav-height) + 40px);
    padding-bottom: 60px;
    overflow: hidden;
}

.hero-container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: calc(100vh - var(--nav-height) - 100px);
}

.hero-content {
    max-width: 800px;
    margin-top: 40px;
}

.badge-container {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 242, 254, 0.05);
    border: 1px solid rgba(0, 242, 254, 0.15);
    border-radius: 30px;
    padding: 6px 16px;
    margin-bottom: 24px;
}

.pulse-indicator {
    width: 8px;
    height: 8px;
    background-color: var(--color-primary);
    border-radius: 50%;
    position: relative;
}

.pulse-indicator::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-primary);
    border-radius: 50%;
    animation: pulse 1.8s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(3); opacity: 0; }
}

.badge-text {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--color-primary);
    font-family: var(--font-heading);
}

@keyframes title-pulse {
    0% { text-shadow: 0 0 10px rgba(0, 242, 254, 0.15); }
    100% { text-shadow: 0 0 25px rgba(0, 242, 254, 0.4), 0 0 10px rgba(124, 58, 237, 0.2); }
}

.hero-title {
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -1.5px;
    animation: title-pulse 4s infinite alternate ease-in-out;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 40px;
    line-height: 1.6;
    max-width: 650px;
}

/* Trust Signals Banner */
.trust-signals-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 80px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 40px;
}

.trust-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border-blue);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: var(--glass-shadow);
    backdrop-filter: var(--glass-backdrop-filter);
    transition: all var(--transition-speed) ease;
}

.trust-card:hover {
    border-color: var(--color-primary);
    box-shadow: 0 4px 20px rgba(0, 242, 254, 0.15);
    transform: translateY(-2px);
}

.trust-icon {
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 50%;
}

.trust-info {
    display: flex;
    flex-direction: column;
}

.trust-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    color: var(--color-text-primary);
}

.trust-desc {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin-top: 2px;
}

/* 7. Problem Section */
.problem-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1.2fr;
    gap: 25px;
}

.problem-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 35px;
    box-shadow: var(--glass-shadow);
    backdrop-filter: var(--glass-backdrop-filter);
    transition: all var(--transition-speed) ease;
    display: flex;
    flex-direction: column;
}

.problem-card:hover {
    border-color: rgba(255, 255, 255, 0.12);
    transform: translateY(-4px);
}

.stat-card {
    justify-content: space-between;
}

.stat-header {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.stat-number {
    font-size: 4rem;
    font-weight: 800;
    font-family: var(--font-heading);
    line-height: 1;
}

.stat-label {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--color-text-primary);
    margin-top: 5px;
}

.card-text {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

/* Mini AQI Chart */
.mini-chart-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 20px;
}

.bar-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.bar-label {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    font-weight: 500;
}

.bar-track {
    height: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.bar-fill {
    height: 100%;
    border-radius: 4px;
}

.bar-fill.who-limit {
    background: var(--color-success);
}

.bar-fill.india-avg {
    background: var(--grad-poison);
}

.bar-value {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    align-self: flex-end;
    margin-top: 2px;
}

.stat-points {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.stat-points li {
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--color-text-secondary);
}

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

.accent-dot.purple { background-color: var(--color-secondary); }
.accent-dot.blue { background-color: var(--color-primary); }

/* Failure Card Styles */
.failure-card .card-title {
    font-size: 1.5rem;
    margin-bottom: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 15px;
}

.failure-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.failure-item {
    display: flex;
    gap: 16px;
}

.failure-icon {
    width: 24px;
    height: 24px;
    background: rgba(225, 29, 72, 0.1);
    color: var(--color-poison);
    border: 1px solid rgba(225, 29, 72, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
    flex-shrink: 0;
}

.failure-content h4 {
    font-size: 1.05rem;
    margin-bottom: 4px;
}

.failure-content p {
    font-size: 0.88rem;
    line-height: 1.5;
}

/* 8. Solution Section & Platform Simulator */
.simulator-wrapper {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border-blue);
    border-radius: 20px;
    box-shadow: var(--glass-shadow);
    backdrop-filter: var(--glass-backdrop-filter);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Simulator Tabs */
.simulator-tabs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(3, 6, 17, 0.4);
}

.sim-tab {
    background: transparent;
    border: none;
    color: var(--color-text-muted);
    padding: 20px 15px;
    cursor: pointer;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    transition: all var(--transition-speed) ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    position: relative;
}

.sim-tab:hover {
    color: var(--color-text-primary);
    background: rgba(255, 255, 255, 0.02);
}

.sim-tab.active {
    color: var(--color-primary);
    background: rgba(0, 242, 254, 0.03);
}

.tab-indicator {
    width: 6px;
    height: 6px;
    background: transparent;
    border-radius: 50%;
    transition: all var(--transition-speed) ease;
}

.sim-tab.active .tab-indicator {
    background: var(--color-primary);
    box-shadow: 0 0 10px var(--color-primary);
}

.sim-tab::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--grad-tech);
    transition: width var(--transition-speed) ease;
}

.sim-tab.active::after {
    width: 100%;
}

/* Simulator Panel Layout */
.simulator-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    height: 480px;
}

.sim-viewport {
    background: #02050b;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    padding: 25px;
    position: relative;
    overflow: hidden;
}

.sim-screen {
    width: 100%;
    height: 100%;
    position: relative;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.03);
    overflow: hidden;
}

.sim-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-heading);
    color: var(--color-primary);
    font-size: 1rem;
    letter-spacing: 1px;
}

/* Simulator Sidebar */
.sim-sidebar {
    padding: 30px;
    background: rgba(5, 9, 24, 0.3);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.sim-sidebar-title {
    font-size: 1.15rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-text-primary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 12px;
    margin-bottom: 20px;
}

.sim-metrics-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex-grow: 1;
}

.sim-metric-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px dotted rgba(255, 255, 255, 0.08);
    padding-bottom: 8px;
}

.sim-metric-label {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
}

.sim-metric-value {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    color: var(--color-primary);
}

.sim-system-status {
    display: flex;
    align-items: center;
    gap: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 20px;
}

.status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.status-indicator.online {
    background-color: var(--color-success);
    box-shadow: 0 0 10px var(--color-success);
    animation: status-blink 1.5s infinite alternate;
}

@keyframes status-blink {
    0% { opacity: 0.4; }
    100% { opacity: 1; }
}

#sim-status-text {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    font-weight: 500;
}

/* 9. Visual Mockups inside Simulator */
.sim-grid-map {
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(10, 25, 60, 0.4) 0%, rgba(2, 5, 11, 0.8) 100%);
    position: relative;
}

/* SVG Map Overlay */
.map-canvas-mock {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.map-city-grid {
    stroke: rgba(0, 242, 254, 0.05);
    stroke-width: 1;
}

.map-plume {
    opacity: 0.55;
    filter: blur(15px);
    mix-blend-mode: screen;
    animation: shift-plume 8s infinite alternate ease-in-out;
}

@keyframes shift-plume {
    0% { transform: scale(1) translate(0px, 0px); }
    100% { transform: scale(1.15) translate(20px, -10px); }
}

.map-marker {
    cursor: pointer;
    transition: r var(--transition-speed) ease;
}

.map-marker:hover {
    r: 10;
}

.sim-overlay-hud {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: rgba(3, 6, 17, 0.85);
    border: 1px solid rgba(0, 242, 254, 0.15);
    border-radius: 6px;
    padding: 10px 14px;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    backdrop-filter: blur(4px);
}

.sim-hud-line {
    margin-bottom: 4px;
}
.sim-hud-line:last-child { margin-bottom: 0; }

.sim-hud-title {
    color: var(--color-text-muted);
}
.sim-hud-val {
    color: var(--color-primary);
    font-weight: 700;
}

/* IoT mesh visualizer */
.sim-iot-view {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.iot-mesh-net {
    position: absolute;
    width: 80%;
    height: 80%;
}

.iot-node-g {
    cursor: pointer;
}

.iot-pulse-ring {
    animation: iot-pulse 2s infinite;
    transform-origin: center;
}

@keyframes iot-pulse {
    0% { transform: scale(0.6); opacity: 0.8; }
    100% { transform: scale(2.2); opacity: 0; }
}

/* Robotic drone simulation screen */
.sim-drone-hud {
    width: 100%;
    height: 100%;
    position: relative;
    border: 1px solid rgba(0, 242, 254, 0.1);
    box-sizing: border-box;
}

.drone-crosshair {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    border: 1px solid rgba(0, 242, 254, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.drone-crosshair::before {
    content: '';
    position: absolute;
    width: 140px;
    height: 1px;
    background: rgba(0, 242, 254, 0.2);
}

.drone-crosshair::after {
    content: '';
    position: absolute;
    height: 140px;
    width: 1px;
    background: rgba(0, 242, 254, 0.2);
}

.drone-telemetry-panel {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(3, 6, 17, 0.85);
    border: 1px solid rgba(168, 85, 247, 0.25);
    border-radius: 6px;
    padding: 10px 14px;
    font-size: 0.75rem;
    font-family: var(--font-heading);
}

.drone-stream-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.drone-scanner-beam {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: rgba(0, 242, 254, 0.5);
    box-shadow: 0 0 10px rgba(0, 242, 254, 0.8);
    animation: scan-drone 4s infinite linear;
}

@keyframes scan-drone {
    0% { top: 0%; }
    50% { top: 100%; }
    100% { top: 0%; }
}

/* AI Engine charting */
.sim-ai-chart-screen {
    width: 100%;
    height: 100%;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.chart-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chart-title {
    font-size: 0.85rem;
    text-transform: uppercase;
    color: var(--color-text-secondary);
}

.chart-legend {
    display: flex;
    gap: 15px;
    font-size: 0.75rem;
}

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

.legend-color {
    width: 10px;
    height: 3px;
    border-radius: 2px;
}

.legend-color.actual { background-color: var(--color-poison); }
.legend-color.predicted { background-color: var(--color-primary); }

.chart-svg-container {
    flex-grow: 1;
    margin-top: 15px;
    position: relative;
}

.chart-y-axis {
    stroke: rgba(255, 255, 255, 0.08);
    stroke-width: 1;
    stroke-dasharray: 4;
}

.chart-line {
    fill: none;
    stroke-width: 2.5;
    stroke-linecap: round;
}

.chart-line.actual-line {
    stroke: var(--color-poison);
}

.chart-line.predict-line {
    stroke: var(--color-primary);
    stroke-dasharray: 4 2;
    animation: draw-chart 2s ease-out forwards;
}

@keyframes draw-chart {
    0% { stroke-dashoffset: 200; }
    100% { stroke-dashoffset: 0; }
}

/* 10. Roadmap Section */
.roadmap-timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.roadmap-timeline::before {
    content: '';
    position: absolute;
    left: 40px;
    top: 10px;
    bottom: 10px;
    width: 2px;
    background: linear-gradient(180deg, var(--color-primary) 0%, var(--color-secondary) 50%, rgba(255, 255, 255, 0.05) 100%);
}

.roadmap-stage {
    position: relative;
    padding-left: 90px;
    margin-bottom: 50px;
}

.roadmap-stage:last-child {
    margin-bottom: 0;
}

.stage-num {
    position: absolute;
    left: 15px;
    top: 0;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--color-bg-deep);
    border: 2px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--color-primary);
    z-index: 2;
    transition: all var(--transition-speed) ease;
}

.roadmap-stage:hover .stage-num {
    border-color: var(--color-primary);
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.4);
    transform: scale(1.05);
}

/* Active current stage highlights */
#roadmap-step-1 .stage-num {
    border-color: var(--color-primary);
    box-shadow: 0 0 10px rgba(0, 242, 254, 0.2);
}

.stage-content {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 30px;
    box-shadow: var(--glass-shadow);
    backdrop-filter: var(--glass-backdrop-filter);
    transition: all var(--transition-speed) ease;
}

.roadmap-stage:hover .stage-content {
    border-color: var(--glass-border-blue);
    background: rgba(13, 23, 56, 0.45);
}

#roadmap-step-1 .stage-content {
    border-color: rgba(0, 242, 254, 0.25);
    background: rgba(13, 23, 56, 0.55);
}

.stage-tag {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-primary);
    margin-bottom: 8px;
    display: inline-block;
}

.stage-title {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.stage-desc {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    margin-bottom: 20px;
    line-height: 1.5;
}

.stage-bullet-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.stage-bullet-list li {
    font-size: 0.88rem;
    color: var(--color-text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.stage-bullet-list li::before {
    content: '→';
    color: var(--color-primary);
    font-weight: bold;
}

/* 11. Business Model Section */
.business-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.business-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 40px 30px;
    box-shadow: var(--glass-shadow);
    backdrop-filter: var(--glass-backdrop-filter);
    transition: all var(--transition-speed) ease;
    display: flex;
    flex-direction: column;
}

.business-card:hover {
    border-color: rgba(0, 242, 254, 0.2);
    transform: translateY(-5px);
}

.business-icon-wrapper {
    width: 56px;
    height: 56px;
    background: rgba(0, 242, 254, 0.06);
    border: 1px solid rgba(0, 242, 254, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: var(--color-primary);
}

.business-card:hover .business-icon-wrapper {
    background: rgba(0, 242, 254, 0.12);
    border-color: var(--color-primary);
    color: #fff;
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.25);
}

.business-icon {
    width: 28px;
    height: 28px;
}

.business-card-title {
    font-size: 1.35rem;
    margin-bottom: 15px;
}

.business-card-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--color-text-secondary);
    margin-bottom: 30px;
    flex-grow: 1;
}

.business-value-stat {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.value-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-text-muted);
}

.value-amount {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--color-primary);
}

/* CSR Card Highlight */
.CSR-card {
    border-color: rgba(168, 85, 247, 0.2);
}
.CSR-card .business-icon-wrapper {
    background: rgba(168, 85, 247, 0.06);
    border-color: rgba(168, 85, 247, 0.25);
    color: var(--color-accent-purple);
}
.CSR-card:hover {
    border-color: rgba(168, 85, 247, 0.4);
}
.CSR-card:hover .business-icon-wrapper {
    background: rgba(168, 85, 247, 0.15);
    border-color: var(--color-accent-purple);
    color: #fff;
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.25);
}
.CSR-card .value-amount {
    color: var(--color-accent-purple);
}

/* 12. Founder Section */
.founder-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border-blue);
    border-radius: 24px;
    padding: 50px;
    box-shadow: var(--glass-shadow);
    backdrop-filter: var(--glass-backdrop-filter);
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 50px;
    align-items: center;
}

.founder-image-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 1 / 1.15;
    background: #02050b;
}

.founder-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform var(--transition-speed) ease;
}

.founder-card:hover .founder-image {
    transform: scale(1.03);
}

.image-tech-border {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 1px solid rgba(0, 242, 254, 0.2);
    pointer-events: none;
    border-radius: 8px;
    transition: border var(--transition-speed) ease;
}

.founder-card:hover .image-tech-border {
    border-color: var(--color-primary);
}

.founder-info {
    display: flex;
    flex-direction: column;
}

.founder-name {
    font-size: 2.5rem;
    margin-top: 5px;
    margin-bottom: 5px;
}

.founder-title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    color: var(--color-primary);
    font-weight: 600;
    margin-bottom: 25px;
}

.founder-bio {
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 25px;
    color: var(--color-text-secondary);
}

.founder-quote {
    font-style: italic;
    border-left: 3px solid var(--color-primary);
    padding-left: 20px;
    margin-bottom: 30px;
    color: var(--color-text-primary);
    font-size: 1.1rem;
    line-height: 1.5;
}

.founder-links {
    display: flex;
    gap: 20px;
}

.founder-link-email {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--color-text-primary);
    font-weight: 600;
    font-family: var(--font-heading);
}

.founder-link-email:hover {
    color: var(--color-primary);
}

.founder-link-linkedin {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--color-text-primary);
    font-weight: 600;
    font-family: var(--font-heading);
}

.founder-link-linkedin:hover {
    color: var(--color-accent-purple);
}

.link-icon {
    width: 18px;
    height: 18px;
}

/* 13. Contact Section */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.contact-header {
    display: flex;
    flex-direction: column;
}

.contact-header .section-tag {
    align-self: flex-start;
}

.contact-header .section-title {
    font-size: 2.8rem;
    margin-top: 10px;
    margin-bottom: 20px;
}

.contact-header .section-desc {
    font-size: 1.15rem;
    line-height: 1.6;
    margin-bottom: 40px;
}

.contact-direct {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
}

.contact-direct p {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-text-muted);
    margin-bottom: 5px;
}

.direct-email {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--color-primary);
}

.direct-email:hover {
    color: #fff;
    text-shadow: 0 0 15px rgba(0, 242, 254, 0.5);
}

/* Glassmorphic Form */
.contact-form-wrapper {
    position: relative;
    width: 100%;
}

.glass-form {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--glass-shadow);
    backdrop-filter: var(--glass-backdrop-filter);
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: all var(--transition-speed) ease;
}

.glass-form:focus-within {
    border-color: var(--glass-border-blue);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--color-text-primary);
}

.form-group input, .form-group textarea {
    background: rgba(3, 6, 17, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 14px 16px;
    color: #fff;
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: all var(--transition-speed) ease;
}

.form-group input::placeholder, .form-group textarea::placeholder {
    color: var(--color-text-muted);
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    background: rgba(3, 6, 17, 0.6);
    box-shadow: 0 0 12px rgba(0, 242, 254, 0.15);
}

.btn-submit {
    width: 100%;
    margin-top: 10px;
}

/* Form Success State */
.form-success-message {
    background: var(--glass-bg);
    border: 1px solid rgba(16, 185, 129, 0.25);
    border-radius: 20px;
    padding: 50px 40px;
    box-shadow: var(--glass-shadow);
    backdrop-filter: var(--glass-backdrop-filter);
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    animation: zoom-in 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes zoom-in {
    0% { transform: scale(0.9); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.success-icon {
    width: 64px;
    height: 64px;
    background: rgba(16, 185, 129, 0.1);
    color: var(--color-success);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.success-icon svg {
    width: 32px;
    height: 32px;
}

.form-success-message h3 {
    font-size: 1.8rem;
    margin-bottom: 12px;
}

.form-success-message p {
    color: var(--color-text-secondary);
    font-size: 1.05rem;
    margin-bottom: 30px;
    max-width: 350px;
    line-height: 1.5;
}

/* 14. Footer */
.footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 60px 0;
    background: #02040b;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-logo {
    font-size: 1.3rem;
}

.footer-tagline {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.footer-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

/* 15. Scroll Reveal Transitions */
.scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.9s cubic-bezier(0.25, 1, 0.5, 1), transform 0.9s cubic-bezier(0.25, 1, 0.5, 1);
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* 16. Media Queries & Responsiveness */

/* Large Tablets & Desktop scaling */
@media (max-width: 1024px) {
    .problem-grid {
        grid-template-columns: 1fr 1fr;
    }
    .problem-card.failure-card {
        grid-column: span 2;
    }
    .simulator-content {
        grid-template-columns: 1fr;
        height: auto;
    }
    .sim-viewport {
        height: 360px;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    .sim-sidebar {
        height: auto;
        padding: 25px;
    }
    .sim-metrics-grid {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 15px;
        margin-bottom: 20px;
    }
    .sim-metric-row {
        flex: 1 1 40%;
        border-bottom: none;
        background: rgba(255, 255, 255, 0.02);
        padding: 10px 15px;
        border-radius: 8px;
        border: 1px solid rgba(255, 255, 255, 0.04);
    }
    .business-grid {
        grid-template-columns: 1fr;
    }
    .founder-card {
        grid-template-columns: 1fr;
        gap: 35px;
        padding: 40px 30px;
    }
    .founder-image-wrapper {
        max-width: 320px;
        margin: 0 auto;
    }
    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* Mobile & Small Tablets */
@media (max-width: 768px) {
    html {
        font-size: 15px;
    }
    section {
        padding: 60px 0;
    }
    .hero-title {
        font-size: 2.8rem;
    }
    .section-title {
        font-size: 2rem;
    }
    .mobile-menu-toggle {
        display: flex;
    }
    .nav-links {
        position: fixed;
        top: var(--nav-height);
        left: 100%;
        width: 100%;
        height: calc(100vh - var(--nav-height));
        background: #030611;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3rem;
        transition: left var(--transition-speed) ease;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
    }
    .nav-links.active {
        left: 0;
    }
    .mobile-menu-toggle.active .bar:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }
    .mobile-menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    .mobile-menu-toggle.active .bar:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }
    .nav-actions {
        display: none;
    }
    .trust-signals-container {
        grid-template-columns: 1fr;
        margin-top: 50px;
    }
    .problem-grid {
        grid-template-columns: 1fr;
    }
    .problem-card.failure-card {
        grid-column: span 1;
    }
    .simulator-tabs {
        grid-template-columns: repeat(2, 1fr);
    }
    .stage-bullet-list {
        grid-template-columns: 1fr;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
    .footer-container {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    .footer-meta {
        align-items: center;
    }
    .direct-email {
        font-size: 1.4rem;
    }
    .roadmap-timeline::before {
        left: 20px;
    }
    .roadmap-stage {
        padding-left: 55px;
    }
    .stage-num {
        left: 0px;
        width: 40px;
        height: 40px;
        font-size: 0.95rem;
    }
}
