:root {
    --bg-deep:        #05080F;
    --bg-surface:     #0F172A;
    --text-primary:   #F8FAFC;
    --text-secondary: #94A3B8;
    --accent:         #9BB8FF;
    --accent-muted:   #6E85B7;
    --data-blue:      #7FB2FF;
    --warning-orange: #D6A756;
    --border-color:   rgba(255, 255, 255, 0.12);
    --glass-bg:       rgba(15, 23, 42, 0.85);
    --font-main: 'Inter', system-ui, -apple-system, sans-serif;
}

body {
    font-family: var(--font-main);
    background-color: #070D18;
    background-image: 
        radial-gradient(circle at 80% 20%, rgba(155, 184, 255, 0.04) 0%, transparent 40%),
        radial-gradient(circle at 20% 80%, rgba(107, 159, 228, 0.03) 0%, transparent 40%);
    background-attachment: fixed;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.012) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.012) 1px, transparent 1px);
    background-size: 72px 72px;
    z-index: 0;
    pointer-events: none;
}

section, header, footer { position: relative; z-index: 1; }

.section-divider {
    background: linear-gradient(90deg, transparent, rgba(155,184,255,0.15) 50%, transparent);
    height: 1px;
    border: none;
    margin: 0;
    opacity: 0.8;
}

.bg-graphite { background-color: #070B14; }
.bg-surface { background-color: #0F172A; }

h1, h2, h3, h4, h5, h6 {
    font-weight: 500;
    letter-spacing: -0.03em;
}

.text-accent      { color: var(--accent); }
.text-data-blue   { color: var(--data-blue); }
.text-warning     { color: var(--warning-orange); }

.navbar-custom {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    background: #05080F;
    transition: all 0.4s ease;
    border-bottom: 1px solid rgba(155, 184, 255, 0.1);
}

.navbar-custom.scrolled {
    background: var(--glass-bg);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border-color);
}

.btn-primary-cyan {
    background: #C7D8FF;
    color: #0A0F1C;
    border: none;
    padding: 0.85rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary-cyan:hover {
    background: #DCE7FF;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(143,184,255,0.15);
}

.hero-title {
    font-size: clamp(3.2rem, 6.5vw, 5.8rem);
    font-weight: 800;
    letter-spacing: -3px;
    line-height: 0.95;
    color: var(--text-primary);
    margin: 0 0 1.5rem 0;
}

.text-gradient-ice {
    background: linear-gradient(135deg, #9BB8FF 0%, #7FB2FF 50%, #BCCFFF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 15px rgba(155, 184, 255, 0.3));
}

.glass-card {
    background: rgba(15, 23, 42, 0.3);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 8px;
    padding: 20px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.glass-card:hover {
    background: rgba(15, 23, 42, 0.5);
    border-color: rgba(94, 234, 212, 0.2);
    transform: translateY(-4px);
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(155, 184, 255, 0.08);
    border: 1px solid rgba(155, 184, 255, 0.2);
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--accent);
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.status-dot {
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--accent);
    animation: pulseStatus 2s infinite;
}

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

.hero-metrics-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 60px;
}

.metric-box {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(15, 23, 42, 0.9); 
    border: 1px solid rgba(155, 184, 255, 0.2);
    padding: 10px 15px; /* Reduced for better fit */
    border-radius: 12px;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
    transition: transform 0.3s ease;
}

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

.metric-val {
    font-size: 1.25rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    margin-bottom: 3px;
}

.metric-lab {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1.2px;
}

/* ── Elite AI Analysis Animations ──────── */
.ai-scanner-light {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(155, 184, 255, 0.05), transparent);
    animation: scannerSlide 4s linear infinite;
    pointer-events: none;
}

@keyframes scannerSlide {
    0% { left: -100%; }
    100% { left: 200%; }
}

.call-pulse-icon-elite {
    background: rgba(155, 184, 255, 0.1);
    border: 1px solid rgba(155, 184, 255, 0.2);
    border-radius: 50%;
    padding: 10px;
    animation: elitePulse 2s infinite;
}

@keyframes elitePulse {
    0% { box-shadow: 0 0 0 0 rgba(155, 184, 255, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(155, 184, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(155, 184, 255, 0); }
}

.typewriter-text {
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    border-right: 2px solid var(--accent);
    animation: typewriter 3s steps(40) infinite alternate, blink 0.75s step-end infinite;
}

@keyframes typewriter {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink {
    from, to { border-color: transparent; }
    50% { border-color: var(--accent); }
}

.waveform-bar-elite {
    width: 3px;
    background: var(--accent);
    border-radius: 10px;
    animation: eliteWave 0.5s ease-in-out infinite alternate;
}

@keyframes eliteWave {
    from { transform: scaleY(1); opacity: 0.5; }
    to { transform: scaleY(1.8); opacity: 1; }
}

.outcome-check {
    width: 20px;
    height: 20px;
    background: rgba(155, 184, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(155, 184, 255, 0.2);
}

/* -- Form Inputs Override -------- */
.form-control, .form-select, .form-control:focus, .form-select:focus {
    background-color: #000 !important;
    color: #fff !important;
    border: 1px solid rgba(155, 184, 255, 0.2) !important;
    box-shadow: none !important;
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.3) !important;
}

option {
    background: #000 !important;
    color: #fff !important;
}

/* -- Mobile Optimization -------- */
@media (max-width: 991px) {
    .hero-title {
        font-size: 3rem !important;
        line-height: 1.1 !important;
    }
    
    .hero-metrics-strip {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
        margin-top: 40px !important;
    }
    
    .section-padding {
        padding: 60px 0 !important;
    }
    
    .truck-container.fixed-visible {
        transform: scale(0.7);
        bottom: 20px !important;
        left: 20px !important;
    }
    
    .chat-popup {
        width: calc(100vw - 40px) !important;
        left: 20px !important;
        right: 20px !important;
        bottom: 100px !important;
    }
}
