:root {
    --bg-deep-navy: #0A0F1C;
    --bg-slate: #1E293B;
    --bg-card: rgba(30, 41, 59, 0.6);
    --text-main: #F8FAFC;
    --text-muted: #94A3B8;
    
    --accent-red: #EF4444;
    --accent-orange: #F97316;
    --accent-yellow: #EAB308;
    --accent-green: #22C55E;
    --accent-blue: #3B82F6;
    --accent-purple: #A855F7;
    
    --font-sans: 'Inter', sans-serif;
    --font-display: 'Outfit', sans-serif;
}

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

body {
    background-color: var(--bg-deep-navy);
    color: var(--text-main);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Data Stream Background */
.data-stream-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    background: radial-gradient(circle at center, rgba(30, 41, 59, 0.4) 0%, var(--bg-deep-navy) 100%);
}

.data-line {
    position: absolute;
    top: -100px;
    width: 2px;
    height: 200px;
    background: linear-gradient(to bottom, transparent, var(--color), transparent);
    opacity: 0.3;
    animation: drop linear infinite;
}

@keyframes drop {
    0% { transform: translateY(-100px); }
    100% { transform: translateY(120vh); }
}

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

/* Typography */
.headline {
    font-family: var(--font-display);
    font-size: clamp(3rem, 5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-purple), var(--accent-red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subheadline {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: var(--text-muted);
    max-width: 800px;
    margin-bottom: 3rem;
}

.highlight {
    color: var(--text-main);
    font-weight: 600;
    border-bottom: 2px solid var(--accent-blue);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 1rem;
}

.section-desc {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
}

/* Utility classes */
.text-red { color: var(--accent-red); }
.text-blue { color: var(--accent-blue); }
.text-center { text-align: center; }
.max-w-md { max-width: 800px; margin-left: auto; margin-right: auto; }

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 100;
    transition: background 0.3s ease, backdrop-filter 0.3s ease, border-color 0.3s ease;
}

.navbar.scrolled {
    background: rgba(10, 15, 28, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.05em;
}

.logo-accent {
    color: var(--accent-blue);
}

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

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

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

.nav-cta {
    padding: 0.5rem 1.2rem;
    border: 1px solid var(--accent-blue);
    border-radius: 999px;
}

.nav-cta:hover {
    background: rgba(59, 130, 246, 0.1);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border: none;
    font-family: var(--font-sans);
}

.btn-primary {
    background: var(--text-main);
    color: var(--bg-deep-navy);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255,255,255,0.1);
}

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

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.w-full {
    width: 100%;
}

/* Layout */
section {
    padding: 8rem 0;
    position: relative;
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 320px;
}

.hero-ctas {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

/* Problem Section */
.problem-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.problem-stats-overlay {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 80%;
    z-index: 10;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateX(10px);
}

.border-red { border-left: 4px solid var(--accent-red); }
.border-orange { border-left: 4px solid var(--accent-orange); }

.stat-value {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.border-red .stat-value { color: var(--accent-red); }
.border-orange .stat-value { color: var(--accent-orange); }

/* Solution Section */
.solution-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.horizon-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: transform 0.4s ease, border-color 0.4s ease;
}

.horizon-card:hover {
    transform: translateY(-10px);
}

.horizon-card.border-blue:hover { border-color: rgba(59, 130, 246, 0.5); }
.horizon-card.border-purple:hover { border-color: rgba(168, 85, 247, 0.5); }
.horizon-card.border-green:hover { border-color: rgba(34, 197, 94, 0.5); }

.horizon-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.horizon-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.horizon-desc {
    color: var(--text-muted);
    font-size: 1rem;
}

.card-glow {
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.3;
    transition: opacity 0.4s ease;
}

.horizon-card:hover .card-glow { opacity: 0.6; }
.blue-glow { background: var(--accent-blue); }
.purple-glow { background: var(--accent-purple); }
.green-glow { background: var(--accent-green); }

/* Validation Section */
.validation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
    margin-bottom: 4rem;
}

.val-item {
    text-align: center;
    padding: 2rem;
    background: rgba(255,255,255,0.02);
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.05);
}

.val-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.val-title {
    font-family: var(--font-display);
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

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

.callout-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.callout {
    background: var(--bg-card);
    padding: 3rem;
    border-radius: 16px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.05);
}

.callout.border-yellow { border-bottom: 4px solid var(--accent-yellow); }
.callout.border-green { border-bottom: 4px solid var(--accent-green); }

.callout-value {
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.border-yellow .callout-value { color: var(--accent-yellow); }
.border-green .callout-value { color: var(--accent-green); }
.text-purple { color: var(--accent-purple); }

.callout-label {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.callout-sub {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Footer CTA */
.footer {
    background: #050810;
    padding-bottom: 2rem;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 4rem;
    margin-top: 4rem;
}

.footer-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
    background: linear-gradient(90deg, var(--text-main), var(--text-muted));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.contact-form {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.05);
}

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

.form-group input {
    width: 100%;
    padding: 1rem 1.5rem;
    background: rgba(0,0,0,0.2);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    color: var(--text-main);
    font-family: var(--font-sans);
    font-size: 1rem;
    transition: border-color 0.3s ease, outline 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--accent-blue);
    background: rgba(0,0,0,0.4);
}

.footer-bottom {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 2rem;
}

/* Animations */
.slide-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in {
    opacity: 0;
    transition: opacity 1s ease;
}

.fade-in.visible {
    opacity: 1;
}

/* Mobile scrollable nav strip — hidden on desktop */
.mobile-nav-strip {
    display: none;
}

/* Hamburger button */
.hamburger-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 201;
    flex-shrink: 0;
}
.hamburger-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-main);
    border-radius: 2px;
    transition: all 0.3s ease;
}
.hamburger-btn.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger-btn.open span:nth-child(2) { opacity: 0; }
.hamburger-btn.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile nav overlay */
.mobile-nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 15, 28, 0.98);
    z-index: 150;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.6rem;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.mobile-nav-overlay.open { display: flex; }
.mobile-nav-overlay a {
    color: var(--text-main);
    text-decoration: none;
    font-size: 1.4rem;
    font-weight: 600;
    font-family: var(--font-display);
    transition: color 0.2s;
}
.mobile-nav-overlay a:hover { color: var(--accent-blue); }
.mobile-nav-divider {
    width: 40px;
    height: 1px;
    background: rgba(255,255,255,0.1);
}
.mobile-nav-close {
    position: absolute;
    top: 1.2rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    padding: 0.25rem 0.5rem;
}

/* Responsive */
@media (max-width: 992px) {
    .problem-grid, .footer-container, .hero-container, .validation-layout {
        grid-template-columns: 1fr !important;
        gap: 2rem;
    }

    .callout-grid {
        grid-template-columns: 1fr 1fr !important;
    }

    .hero {
        padding-top: 250px;
    }

    .nav-center {
        max-width: 220px;
    }
}

@media (max-width: 768px) {
    /* ── Navbar: show logo + scrollable pill strip, hide everything else ── */
    .navbar { padding: 0.4rem 0 0 !important; }
    .nav-links { display: none !important; }
    .nav-center { display: none !important; }
    .hamburger-btn { display: none !important; }
    .mobile-nav-overlay { display: none !important; }
    .logo img { height: 56px !important; }

    /* Scrollable pill strip */
    .mobile-nav-strip {
        display: flex !important;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        gap: 0.4rem;
        padding: 0.45rem 1rem;
        width: 100%;
        border-top: 1px solid rgba(255,255,255,0.06);
    }
    .mobile-nav-strip::-webkit-scrollbar { display: none; }
    .mobile-nav-strip a {
        flex-shrink: 0;
        color: var(--text-main);
        text-decoration: none;
        font-size: 0.78rem;
        font-weight: 600;
        padding: 0.3rem 0.75rem;
        border: 1px solid rgba(255,255,255,0.14);
        border-radius: 20px;
        white-space: nowrap;
        font-family: var(--font-sans);
        transition: color 0.2s, border-color 0.2s, background 0.2s;
    }
    .mobile-nav-strip a:hover,
    .mobile-nav-strip a:active {
        color: var(--accent-blue);
        border-color: rgba(59,130,246,0.5);
        background: rgba(59,130,246,0.07);
    }

    /* ── Layout ── */
    .hero {
        padding-top: 155px;
        min-height: auto;
        padding-bottom: 2rem;
    }
    .hero-ctas { flex-direction: column; }
    .btn { width: 100%; text-align: center; }
    section { padding: 4rem 0; }

    /* ── Grids ── */
    .callout-grid { grid-template-columns: 1fr !important; }
    .services-card-grid { grid-template-columns: 1fr !important; }
    .founders-card-grid { grid-template-columns: 1fr !important; }
    .footer-container { grid-template-columns: 1fr !important; }

    /* ── Components ── */
    .problem-stats-overlay { position: static; width: 100%; margin-top: 2rem; }
    .stat-card { padding: 1.2rem; }
    .callout { padding: 1.2rem; }
    .horizon-card { padding: 1.5rem; }
    .contact-form { padding: 1.5rem; }
    .container { padding: 0 1rem; }
}


/* Live Slider Value Badge */
.live-val {
    float: right;
    background: rgba(59, 130, 246, 0.2);
    color: var(--accent-blue);
    padding: 0.1rem 0.6rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9rem;
}
