/* ============================================================
   SMART FLUE GAS WHR INTELLIGENCE PORTAL
   Premium Dark Industrial SaaS Theme
   ============================================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;600&display=swap');

/* ---------- CSS Custom Properties ---------- */
:root {
    /* Background layers */
    --bg-primary: #06090f;
    --bg-secondary: #0c1117;
    --bg-card: #111820;
    --bg-card-hover: #161e28;
    --bg-input: #0d1219;
    --bg-overlay: rgba(6, 9, 15, 0.85);

    /* Accent palette */
    --accent-cyan: #fbbf24;
    --accent-blue: #ff8c00;
    --accent-green: #00ff88;
    --accent-orange: #ff8c00;
    --accent-red: #ff4757;
    --accent-purple: #ff4757;
    --accent-yellow: #fbbf24;

    /* Gradients */
    --gradient-hero: linear-gradient(135deg, #fbbf24 0%, #ff8c00 50%, #ff4757 100%);
    --accent-gradient: linear-gradient(135deg, #fbbf24 0%, #ff8c00 100%);
    --gradient-card: linear-gradient(145deg, rgba(251, 191, 36, 0.06) 0%, rgba(255, 140, 0, 0.03) 100%);
    --gradient-glow: radial-gradient(ellipse at 50% 0%, rgba(251, 191, 36, 0.15) 0%, transparent 60%);
    --gradient-dark: linear-gradient(180deg, #06090f 0%, #0c1117 100%);

    /* Text */
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --text-accent: #fbbf24;

    /* Borders */
    --border-subtle: rgba(148, 163, 184, 0.08);
    --border-medium: rgba(148, 163, 184, 0.15);
    --border-accent: rgba(251, 191, 36, 0.3);

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 30px rgba(251, 191, 36, 0.2);
    --shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, 0.37);

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;

    /* Radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);
    --ease-out: cubic-bezier(0.4, 0, 0.2, 1);

    /* Font */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background: var(--bg-primary);
}

body {
    font-family: var(--font-primary);
    background: transparent;
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: var(--accent-cyan);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--accent-blue);
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-cyan);
    border-radius: 3px;
}

/* ---------- Layout Helpers ---------- */
.container,
.sim-container,
.dash-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

@media (max-width: 768px) {

    .container,
    .sim-container,
    .dash-container {
        padding: 0 1.25rem;
    }
}

/* --- Global Icon Hover Effect --- */
[data-lucide] {
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), color 0.3s ease, filter 0.3s ease;
}

/* Base hover state for the icon itself */
[data-lucide]:hover {
    transform: scale(1.18);
    color: #ffffff;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.4));
}

/* Trigger animation when hovering over parent containers (the "Areas") */
.btn:hover [data-lucide],
.feature-card:hover [data-lucide],
.stat-item:hover [data-lucide],
.nav-brand:hover [data-lucide],
.metric-card:hover [data-lucide],
.chart-card:hover [data-lucide],
.recommendation-card:hover [data-lucide],
.climate-item:hover [data-lucide],
.tooltip-trigger:hover [data-lucide],
.hero-badge:hover [data-lucide],
.nav-brand-icon:hover [data-lucide] {
    transform: scale(1.18);
    color: #ffffff;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.4));
}

/* Enhanced contrast for icons on accent backgrounds */
.btn-primary:hover [data-lucide],
.btn-success:hover [data-lucide],
.nav-brand-icon:hover [data-lucide] {
    filter: brightness(1.2) drop-shadow(0 0 10px rgba(255, 255, 255, 0.6));
}

/* ---------- Animated Background Particles ---------- */
.bg-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.bg-particles span {
    position: absolute;
    display: block;
    width: 3px;
    height: 3px;
    background: var(--accent-cyan);
    border-radius: 50%;
    opacity: 0;
    animation: particle-float 15s infinite;
}

.bg-particles span:nth-child(1) {
    left: 10%;
    animation-delay: 0s;
    animation-duration: 12s;
}

.bg-particles span:nth-child(2) {
    left: 25%;
    animation-delay: 2s;
    animation-duration: 14s;
}

.bg-particles span:nth-child(3) {
    left: 40%;
    animation-delay: 4s;
    animation-duration: 11s;
}

.bg-particles span:nth-child(4) {
    left: 55%;
    animation-delay: 1s;
    animation-duration: 16s;
}

.bg-particles span:nth-child(5) {
    left: 70%;
    animation-delay: 3s;
    animation-duration: 13s;
}

.bg-particles span:nth-child(6) {
    left: 85%;
    animation-delay: 5s;
    animation-duration: 15s;
}

.bg-particles span:nth-child(7) {
    left: 15%;
    animation-delay: 6s;
    animation-duration: 10s;
}

.bg-particles span:nth-child(8) {
    left: 50%;
    animation-delay: 7s;
    animation-duration: 17s;
}

.bg-particles span:nth-child(9) {
    left: 65%;
    animation-delay: 2.5s;
    animation-duration: 12s;
}

.bg-particles span:nth-child(10) {
    left: 90%;
    animation-delay: 4.5s;
    animation-duration: 14s;
}

@keyframes particle-float {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }

    10% {
        opacity: 0.6;
    }

    90% {
        opacity: 0.6;
    }

    100% {
        transform: translateY(-10vh) scale(1);
        opacity: 0;
    }
}

/* ---------- Hero Slider Background ---------- */
.hero-slider {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: var(--bg-primary);
    overflow: hidden;
}

.hero-slider .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.05);
    transition: opacity 1.4s ease-in-out, transform 8s ease-out;
    z-index: 0;
    will-change: opacity, transform;
}

.hero-slider .slide-1 {
    background-image: linear-gradient(rgba(6, 9, 15, 0.7), rgba(6, 9, 15, 0.7)), url('../public/image_1.jpg');
}

.slide-2 {
    background-image: linear-gradient(rgba(6, 9, 15, 0.7), rgba(6, 9, 15, 0.7)), url('../public/image_2.png');
}

.slide-3 {
    background-image: linear-gradient(rgba(6, 9, 15, 0.7), rgba(6, 9, 15, 0.7)), url('../public/image_3.png');
}

.slide-4 {
    background-image: linear-gradient(rgba(6, 9, 15, 0.7), rgba(6, 9, 15, 0.7)), url('../public/image_4.png');
}

.slide-5 {
    background-image: linear-gradient(rgba(6, 9, 15, 0.7), rgba(6, 9, 15, 0.7)), url('../public/image_5.png');
}

.slide-6 {
    background-image: linear-gradient(rgba(6, 9, 15, 0.7), rgba(6, 9, 15, 0.7)), url('../public/image_6.png');
}

.slide-7 {
    background-image: linear-gradient(rgba(6, 9, 15, 0.7), rgba(6, 9, 15, 0.7)), url('../public/image_7.png');
}

.slide-8 {
    background-image: linear-gradient(rgba(6, 9, 15, 0.7), rgba(6, 9, 15, 0.7)), url('../public/image_8.png');
}

.slide-9 {
    background-image: linear-gradient(rgba(6, 9, 15, 0.7), rgba(6, 9, 15, 0.7)), url('../public/image_9.png');
}

.slide-10 {
    background-image: linear-gradient(rgba(6, 9, 15, 0.7), rgba(6, 9, 15, 0.7)), url('../public/image_10.jpeg');
}

.slide.active {
    opacity: 1;
    transform: scale(1);
    z-index: 2;
}

.hero-slider .slide.exit {
    opacity: 0;
    transform: scale(1.02);
    z-index: 1;
    transition: opacity 1.4s ease-in-out;
}

/* ---------- Three.js Canvas ---------- */
#three-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    opacity: 0.4;
}

/* ---------- Glow Orbs (ambient lighting) ---------- */
.glow-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.12;
    pointer-events: none;
    z-index: 0;
    animation: orb-drift 20s ease-in-out infinite alternate;
}

.glow-orb-1 {
    width: 400px;
    height: 400px;
    background: var(--accent-cyan);
    top: -100px;
    right: -100px;
}

.glow-orb-2 {
    width: 350px;
    height: 350px;
    background: var(--accent-purple);
    bottom: -50px;
    left: -100px;
    animation-delay: -10s;
}

.glow-orb-3 {
    width: 300px;
    height: 300px;
    background: var(--accent-green);
    top: 50%;
    left: 50%;
    animation-delay: -5s;
}

@keyframes orb-drift {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(30px, -30px);
    }
}

/* ---------- Navigation ---------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(6, 9, 15, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 0 2rem;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.4s ease;
}

.menu-toggle {
    display: none;
    cursor: pointer;
    color: var(--text-primary);
    font-size: 1.5rem;
    z-index: 1001;
    transition: transform 0.3s;
}

.menu-toggle:hover {
    transform: scale(1.1);
    color: var(--accent-cyan);
}

.navbar.scrolled {
    background: rgba(6, 9, 15, 0.9);
    height: 64px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-primary);
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition-base);
}

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

.nav-brand:hover .nav-brand-icon {
    box-shadow: 0 0 16px rgba(0, 212, 255, 0.5);
}

.nav-brand-icon {
    width: 36px;
    height: 36px;
    background: var(--gradient-hero);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.02em;
    position: relative;
    padding: 0.25rem 0;
    transition: color var(--transition-fast);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-cyan);
    transition: width var(--transition-base);
}

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

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

.nav-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--accent-green);
    font-family: var(--font-mono);
}

.nav-status-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-green);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(0, 255, 136, 0.4);
    }

    50% {
        opacity: 0.8;
        box-shadow: 0 0 0 6px rgba(0, 255, 136, 0);
    }
}

/* ---------- Main Content ---------- */
.main-content {
    position: relative;
    z-index: 5;
    padding-top: 64px;
}

/* ---------- HERO SECTION ---------- */
.hero {
    min-height: calc(100vh - 64px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 2rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: var(--gradient-glow);
    pointer-events: none;
}

.hero-content {
    max-width: 850px;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(251, 191, 36, 0.08);
    border: 1px solid rgba(251, 191, 36, 0.2);
    color: var(--accent-cyan);
    padding: 0.4rem 1rem;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    animation: fadeInDown 0.8s ease-out;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

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

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-cta-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

/* ---------- BUTTONS ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.95rem;
    font-family: var(--font-primary);
    cursor: pointer;
    border: none;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-hero);
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

.btn-primary:hover {
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(251, 191, 36, 0.4);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-medium);
}

.btn-secondary:hover {
    color: #fff !important;
    border-color: var(--accent-cyan);
    background: rgba(0, 212, 255, 0.05);
    transform: translateY(-2px);
}

.btn-success {
    background: linear-gradient(135deg, #00ff88, #00cc6a);
    color: #06090f;
    box-shadow: 0 4px 15px rgba(0, 255, 136, 0.3);
}

.btn-success:hover {
    color: #06090f !important;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.5);
}

.btn-lg {
    padding: 1rem 2.25rem;
    font-size: 1.05rem;
    border-radius: var(--radius-lg);
}

.btn-sm {
    padding: 0.5rem 1.25rem;
    font-size: 0.85rem;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

/* ---------- STATS STRIP ---------- */
.stats-strip {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    background: var(--bg-card);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    overflow: hidden;
}

@media (max-width: 480px) {
    .stat-number {
        font-size: 1.75rem;
    }

    .stat-label {
        font-size: 0.7rem;
    }
}

@media (min-width: 768px) {
    .stats-strip {
        grid-template-columns: repeat(4, 1fr);
    }
}

.stat-icon {
    font-size: 1.5rem;
    color: var(--accent-cyan);
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    font-family: var(--font-mono);
    line-height: 1.2;
}

.stat-number.green {
    color: var(--accent-green);
}

.stat-number.orange {
    color: var(--accent-orange);
}

.stat-number.purple {
    color: var(--accent-purple);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 0.5rem;
    font-weight: 600;
}

.stat-item {
    padding: 2.5rem 1.5rem;
    text-align: center;
    transition: background var(--transition-base);
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.02);
}

/* ---------- SECTION LAYOUTS ---------- */
.section {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
    background: var(--bg-primary);
}

@media (max-width: 768px) {
    .section {
        padding: 4rem 0;
    }
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
}

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

.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 1.75rem;
    }
}

/* ---------- FEATURE CARDS ---------- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    background: rgba(17, 24, 32, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-glass);
}

.feature-card:hover {
    border-color: var(--accent-cyan);
    transform: translateY(-8px);
    box-shadow: var(--shadow-glow);
    background: rgba(22, 30, 40, 0.8);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
    background: rgba(251, 191, 36, 0.1);
}

.feature-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ---------- SIMULATION FORM ---------- */
.sim-page {
    min-height: 100vh;
    padding-top: 64px;
}

.sim-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.sim-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.sim-header h1 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

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

.form-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
}

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

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

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-label .unit {
    color: var(--text-muted);
    font-weight: 400;
    font-size: 0.8rem;
}

.tooltip-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    background: rgba(251, 191, 36, 0.15);
    border-radius: 50%;
    font-size: 0.65rem;
    color: var(--accent-cyan);
    cursor: help;
    position: relative;
    flex-shrink: 0;
}

.tooltip-trigger .tooltip-text {
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg-card);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-sm);
    padding: 0.75rem 1rem;
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--text-primary);
    white-space: normal;
    width: 240px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-fast);
    z-index: 100;
    pointer-events: none;
    line-height: 1.5;
}

.tooltip-trigger .tooltip-text .formula {
    display: block;
    margin-top: 0.5rem;
    padding: 0.4rem 0.6rem;
    background: rgba(251, 191, 36, 0.08);
    border-radius: var(--radius-sm);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--accent-cyan);
}

.tooltip-trigger:hover .tooltip-text {
    opacity: 1;
    visibility: visible;
}

.form-input,
.form-select {
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--bg-input);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: var(--font-primary);
    font-size: 0.95rem;
    transition: all var(--transition-fast);
    outline: none;
}

.form-input:focus,
.form-select:focus {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.1);
}

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

.form-input.invalid {
    border-color: var(--accent-red);
    box-shadow: 0 0 0 3px rgba(255, 71, 87, 0.1);
}

.form-input.valid {
    border-color: var(--accent-green);
}

.form-select {
    appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2394a3b8' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.form-select option {
    background: var(--bg-card);
    color: var(--text-primary);
}

.validation-msg {
    font-size: 0.75rem;
    color: var(--accent-red);
    min-height: 1rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    justify-content: center;
}

/* ---------- DASHBOARD ---------- */
.dash-page {
    min-height: 100vh;
    padding-top: 64px;
    background: var(--gradient-dark);
}

.dash-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 2rem;
}

.dash-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.dash-header h1 {
    font-size: 1.75rem;
    font-weight: 800;
}

.dash-actions {
    display: flex;
    gap: 0.75rem;
}

/* AI Insight Banner */
.ai-insight-banner {
    background: var(--gradient-card);
    border: 1px solid var(--border-accent);
    border-radius: var(--radius-lg);
    padding: 1.5rem 2rem;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.ai-insight-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-hero);
}

.ai-insight-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent-cyan);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
}

.ai-insight-text {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    font-style: italic;
}

/* Dew point warning banner */
.warning-banner {
    background: rgba(255, 71, 87, 0.08);
    border: 1px solid rgba(255, 71, 87, 0.3);
    border-radius: var(--radius-lg);
    padding: 1.25rem 1.5rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    animation: fadeInDown 0.5s ease;
}

.warning-banner-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.warning-banner-text {
    font-size: 0.9rem;
    color: var(--accent-red);
    line-height: 1.6;
}

.warning-banner.hidden {
    display: none;
}

/* Metric Cards */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.metric-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
    transition: all var(--transition-base);
}

.metric-card:hover {
    border-color: var(--border-accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.metric-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.metric-card.heat::after {
    background: linear-gradient(90deg, #ff6b35, #ff8c00);
}

.metric-card.steam::after {
    background: linear-gradient(90deg, #3b82f6, #00d4ff);
}

.metric-card.savings::after {
    background: linear-gradient(90deg, #fbbf24, #f59e0b);
}

.metric-card.payback::after {
    background: linear-gradient(90deg, #a855f7, #7c3aed);
}

.metric-card.co2::after {
    background: linear-gradient(90deg, #00ff88, #00cc6a);
}

.metric-card.eff::after {
    background: linear-gradient(90deg, #00d4ff, #3b82f6);
}

.metric-icon {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.metric-value {
    font-size: 1.75rem;
    font-weight: 800;
    font-family: var(--font-mono);
    color: var(--text-primary);
    line-height: 1.2;
}

.metric-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-top: 0.25rem;
    font-weight: 600;
}

/* Chart Cards */
.charts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.chart-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    transition: all var(--transition-base);
}

.chart-card:hover {
    border-color: var(--border-accent);
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(251, 191, 36, 0.1);
}

.chart-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.chart-canvas-wrapper {
    position: relative;
    width: 100%;
    height: 280px;
}

.chart-canvas-wrapper canvas {
    width: 100% !important;
    height: 100% !important;
}

/* Recommendation Card */
.recommendation-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin-bottom: 2rem;
    transition: all var(--transition-base);
}

.recommendation-card:hover {
    border-color: var(--accent-cyan);
    transform: translateY(-3px);
    box-shadow: 0 6px 24px rgba(251, 191, 36, 0.12);
}

.recommendation-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.rec-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.rec-item {
    background: rgba(251, 191, 36, 0.04);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 1rem 1.25rem;
}

.rec-item-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.rec-item-value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--accent-cyan);
}

/* Scenario Table */
.scenario-section {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin-bottom: 2rem;
    overflow-x: auto;
}

.scenario-section h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.scenario-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.scenario-table thead th {
    background: rgba(251, 191, 36, 0.06);
    padding: 0.75rem 1rem;
    text-align: left;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-medium);
    white-space: nowrap;
}

.scenario-table tbody td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border-subtle);
    color: var(--text-primary);
    white-space: nowrap;
}

.scenario-table tbody tr:hover {
    background: rgba(251, 191, 36, 0.03);
}

.scenario-table tbody tr:last-child td {
    border-bottom: none;
}

.scenario-label {
    font-weight: 600;
}

.scenario-best {
    color: var(--accent-green);
    font-weight: 700;
}

/* Sensitivity Sliders */
.sensitivity-section {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin-bottom: 2rem;
}

.sensitivity-section h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

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

.slider-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.slider-value {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent-cyan);
}

.range-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: var(--bg-input);
    outline: none;
    transition: background var(--transition-fast);
}

.range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--accent-cyan);
    cursor: pointer;
    box-shadow: 0 0 10px rgba(251, 191, 36, 0.4);
    transition: transform var(--transition-fast);
}

.range-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.range-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--accent-cyan);
    cursor: pointer;
    border: none;
    box-shadow: 0 0 10px rgba(251, 191, 36, 0.4);
}

.sensitivity-results {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-subtle);
}

.sens-result-item {
    text-align: center;
}

.sens-result-value {
    font-family: var(--font-mono);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--accent-green);
}

.sens-result-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 0.25rem;
}

/* Climate Impact */
.climate-section {
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.04), rgba(251, 191, 36, 0.04));
    border: 1px solid rgba(0, 255, 136, 0.15);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin-bottom: 2rem;
}

.climate-section h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--accent-green);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.climate-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.climate-item {
    text-align: center;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--radius-md);
    border: 1px solid rgba(0, 255, 136, 0.1);
    transition: all var(--transition-base);
}

.climate-item:hover {
    transform: translateY(-5px);
    border-color: var(--accent-green);
    box-shadow: 0 8px 24px rgba(0, 255, 136, 0.12);
    background: rgba(0, 0, 0, 0.3);
}

.climate-item-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

.climate-item-value {
    font-family: var(--font-mono);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--accent-green);
    line-height: 1.2;
}

.climate-item-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: 0.25rem;
    font-weight: 500;
}

/* ---------- FOOTER ---------- */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-subtle);
    padding: 2rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

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

/* ---------- LOADING / SPINNER ---------- */
.loading-overlay {
    position: fixed;
    inset: 0;
    background: var(--bg-overlay);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-base);
}

.loading-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 3px solid var(--border-subtle);
    border-top-color: var(--accent-cyan);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.loading-text {
    margin-top: 1rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ---------- ANIMATIONS ---------- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

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

@keyframes countUp {
    from {
        opacity: 0;
        transform: scale(0.5);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* --- Scroll-triggered animation base --- */
.animate-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.animate-in.visible {
    opacity: 1;
    transform: translateY(0) rotate(0) scale(1);
}

.animate-in.scroll-out {
    opacity: 0;
    transform: translateY(-30px);
    transition: opacity 0.5s ease-in, transform 0.5s ease-in;
}

/* Direction variants */
.animate-in.from-left {
    transform: translateX(-60px);
}

.animate-in.from-left.visible {
    transform: translateX(0);
}

.animate-in.from-left.scroll-out {
    transform: translateX(60px);
}

.animate-in.from-right {
    transform: translateX(60px);
}

.animate-in.from-right.visible {
    transform: translateX(0);
}

.animate-in.from-right.scroll-out {
    transform: translateX(-60px);
}

.animate-in.scale-up {
    transform: scale(0.85);
}

.animate-in.scale-up.visible {
    transform: scale(1);
}

.animate-in.scale-up.scroll-out {
    transform: scale(0.9);
}

.animate-in.fade-only {
    transform: none;
}

.animate-in.fade-only.visible {
    transform: none;
}

.animate-in.fade-only.scroll-out {
    transform: none;
}

.animate-delay-1 {
    transition-delay: 0.1s;
}

.animate-delay-2 {
    transition-delay: 0.2s;
}

.animate-delay-3 {
    transition-delay: 0.3s;
}

.animate-delay-4 {
    transition-delay: 0.4s;
}

.animate-delay-5 {
    transition-delay: 0.5s;
}

.animate-delay-6 {
    transition-delay: 0.6s;
}

/* --- Section-level scroll animations --- */
.section-animate {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.section-animate.in-view {
    opacity: 1;
    transform: translateY(0);
}

.section-animate.out-view {
    opacity: 0;
    transform: translateY(-40px);
    transition: opacity 0.5s ease-in, transform 0.5s ease-in;
}

/* --- Background image overlay for sections --- */
.section-bg {
    position: relative;
    overflow: hidden;
}

.section-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.06;
    z-index: 0;
    pointer-events: none;
    transition: opacity 0.6s ease;
}

.section-bg.in-view::before {
    opacity: 0.08;
}

.section-bg>* {
    position: relative;
    z-index: 1;
}

.section-bg-features::before {
    background-image: linear-gradient(rgba(17, 24, 32, 0.8), rgba(17, 24, 32, 0.8)), url('../public/image_2.png');
}

.section-bg-process::before {
    background-image: linear-gradient(rgba(17, 24, 32, 0.8), rgba(17, 24, 32, 0.8)), url('../public/image_5.png');
}

.section-bg-engineering::before {
    background-image: linear-gradient(rgba(17, 24, 32, 0.8), rgba(17, 24, 32, 0.8)), url('../public/image_9.png');
}

.section-bg-cta::before {
    background-image: linear-gradient(rgba(17, 24, 32, 0.8), rgba(17, 24, 32, 0.8)), url('../public/image_7.png');
}

/* ---------- UTILITIES ---------- */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

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

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

.gradient-text {
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-orange));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

.v-middle {
    vertical-align: middle;
}

.mr-2 {
    margin-right: 10px;
}

.mb-1 {
    margin-bottom: 0.5rem;
}

.mb-2 {
    margin-bottom: 1rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

.mt-8 {
    margin-top: 4rem;
}

.fs-sm {
    font-size: 0.85rem;
}

.fs-lg {
    font-size: 1.5rem;
}

.fs-xl {
    font-size: 2rem;
}

.fs-huge {
    font-size: 4rem;
}

.w-14 {
    width: 14px;
    height: 14px;
}

.w-18 {
    width: 18px;
    height: 18px;
}

.w-40 {
    width: 40px;
    height: 40px;
}

.w-80 {
    width: 80px;
    height: 80px;
}

.p-4 {
    padding: 1rem;
}

.p-6 {
    padding: 1.5rem;
}

.p-12 {
    padding: 3rem;
}

.p-empty {
    padding: 6rem 2rem;
}

.bg-soft {
    background: rgba(255, 255, 255, 0.01);
}

.full-width {
    width: 100%;
    max-width: 100% !important;
}

.grid-cols-auto {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.col-span-full {
    grid-column: 1 / -1;
}

.mt-1 {
    margin-top: 0.5rem;
}

.mb-8 {
    margin-bottom: 4rem;
}

.m-0 {
    margin: 0;
}

.relative {
    position: relative;
}

.z-5 {
    z-index: 5;
}

.bg-primary {
    background: var(--bg-primary);
}

.font-mono {
    font-family: var(--font-mono);
}

.var-radius-xl {
    border-radius: var(--radius-xl);
}

.delay-150 {
    transition-delay: 0.15s !important;
}

.delay-300 {
    transition-delay: 0.3s !important;
}

.delay-450 {
    transition-delay: 0.45s !important;
}

.icon-cyan {
    color: var(--accent-cyan);
}

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

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {

    .container,
    .dash-container {
        padding: 0 2rem;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 0 1rem;
    }

    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: -100%;
        width: 250px;
        height: 100vh;
        background: rgba(6, 9, 15, 0.98);
        backdrop-filter: blur(20px);
        padding: 80px 2rem 2rem;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        border-left: 1px solid var(--border-medium);
        z-index: 1000;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        font-size: 1.1rem;
        padding: 1rem 0;
        display: block;
    }

    .nav-status {
        display: none;
    }

    .hero h1 {
        font-size: 2rem;
        padding: 0 1rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        padding: 0 1rem;
        margin-bottom: 2rem;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .charts-grid {
        grid-template-columns: 1fr;
    }

    .sensitivity-results {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .climate-grid {
        grid-template-columns: 1fr 1fr;
    }

    .dash-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .rec-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .metrics-grid {
        grid-template-columns: 1fr;
    }

    .climate-grid {
        grid-template-columns: 1fr;
    }

    .stats-strip {
        grid-template-columns: 1fr 1fr;
    }
}

/* ---------- PROCESS GRID ---------- */
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    padding: 1rem 0;
}

.process-step {
    padding: 2.5rem 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
    position: relative;
    transition: transform 0.3s;
}

@media (max-width: 768px) {
    .process-step {
        padding: 1.5rem;
    }
}

.process-step:hover {
    transform: translateY(-5px);
    border-color: var(--accent-cyan);
    box-shadow: 0 8px 28px rgba(251, 191, 36, 0.1);
    background: rgba(255, 255, 255, 0.06);
}

.step-number {
    font-size: 3rem;
    font-weight: 900;
    color: #1a202c;
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    line-height: 1;
}

.process-step h4 {
    margin-bottom: 1rem;
    color: var(--accent-cyan);
    font-size: 1.1rem;
}

.process-step p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* ---------- SPLIT LAYOUT ---------- */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

@media (max-width: 968px) {
    .split-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.feature-list {
    list-style: none;
    margin-top: 1.5rem;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.feature-list i.accent {
    color: var(--accent-green);
    width: 20px;
    height: 20px;
}

.glass-box {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    font-family: var(--font-mono);
    box-shadow: var(--shadow-glass);
    transition: all var(--transition-base);
}

.glass-box:hover {
    border-color: var(--accent-cyan);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(251, 191, 36, 0.12);
}

.glass-box pre {
    color: var(--accent-cyan);
    font-size: 1rem;
    line-height: 1.8;
}

/* ---------- ANIMATION OVERRIDES ---------- */
/* (handled by .animate-delay-N above) */