/* ============================================
   Take the Wheel — Landing Page Styles
   ============================================ */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #0a0a0f;
    color: #e0e0e0;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---- Navigation ---- */

nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-links a {
    color: #999;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: #fff;
}

.nav-cta {
    background: linear-gradient(135deg, #6c5ce7, #a855f7);
    color: #fff !important;
    padding: 8px 18px;
    border-radius: 8px;
    font-weight: 600 !important;
    transition: opacity 0.2s !important;
}

.nav-cta:hover {
    opacity: 0.9;
}

/* ---- Hero ---- */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 120px 24px 80px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% 30%, rgba(108, 92, 231, 0.12), transparent),
        radial-gradient(ellipse 60% 50% at 80% 70%, rgba(168, 85, 247, 0.08), transparent),
        radial-gradient(ellipse 50% 40% at 20% 80%, rgba(59, 130, 246, 0.06), transparent);
    pointer-events: none;
}

.hero-content {
    position: relative;
    text-align: center;
    max-width: 800px;
}

.hero h1 {
    font-size: clamp(2.8rem, 7vw, 5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: #fff;
    margin-bottom: 24px;
}

.hero-sub {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    color: #999;
    max-width: 640px;
    margin: 0 auto 24px;
    line-height: 1.7;
}

.hero-verticals {
    display: flex;
    flex-direction: column;
    gap: 18px;
    max-width: 600px;
    margin: 0 auto 48px;
}

.vertical-link {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px 32px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 18px;
    text-decoration: none;
    color: #fff;
    font-size: 1.35rem;
    font-weight: 700;
    transition: all 0.2s;
    text-align: left;
    letter-spacing: -0.01em;
}

.vertical-link:hover {
    background: rgba(108, 92, 231, 0.12);
    border-color: rgba(108, 92, 231, 0.4);
    transform: translateX(6px);
    color: #fff;
    box-shadow: 0 0 24px rgba(108, 92, 231, 0.08);
}

.vertical-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.vertical-arrow {
    margin-left: auto;
    color: #666;
    font-size: 1.5rem;
    font-weight: 300;
    transition: color 0.2s;
}

.vertical-link:hover .vertical-arrow {
    color: #a855f7;
}

.hero-tagline {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.01em;
}

/* ---- Shared Section Styles ---- */

.section-sub {
    font-size: 1.05rem;
    color: #888;
    max-width: 640px;
    line-height: 1.7;
    margin-bottom: 48px;
}

section h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

/* ---- Vertical Sections ---- */

.vertical-section {
    padding: 100px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.vertical-section.alt {
    background: rgba(255, 255, 255, 0.015);
}

.vertical-section-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
}

.vertical-section-header .vs-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.vertical-section-header .vs-number {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    color: #6c5ce7;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 4px;
}

.vertical-section-header h2 {
    margin-bottom: 0;
}

.vs-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    max-width: 800px;
}

.vs-detail {
    padding: 24px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    transition: border-color 0.2s;
}

.vs-detail:hover {
    border-color: rgba(108, 92, 231, 0.25);
}

.vs-detail h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 8px;
}

.vs-detail p {
    font-size: 0.92rem;
    color: #888;
    line-height: 1.7;
}

/* ---- Math Table ---- */

.math-table {
    max-width: 700px;
    margin: 0 auto 32px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    overflow: hidden;
}

.math-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 0;
    padding: 16px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    font-size: 0.9rem;
    align-items: center;
}

.math-row:last-child {
    border-bottom: none;
}

.math-header {
    background: rgba(255, 255, 255, 0.03);
    font-weight: 600;
    color: #888;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.math-item {
    color: #ccc;
}

.math-siloed {
    color: #f87171;
    font-size: 0.85rem;
}

.math-integrated {
    color: #34d399;
    font-size: 0.85rem;
}

.math-savings {
    color: #fff;
    font-weight: 600;
    text-align: right;
}

.math-total {
    background: rgba(108, 92, 231, 0.06);
    border-top: 1px solid rgba(108, 92, 231, 0.2);
}

.math-total .math-item {
    font-weight: 700;
    color: #fff;
}

.math-total .math-savings {
    font-size: 1.1rem;
    background: linear-gradient(135deg, #6c5ce7, #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.math-note {
    font-size: 0.82rem;
    color: #555;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
    text-align: center;
}

/* ---- Signup Section ---- */

.signup {
    padding: 100px 0;
    background: rgba(255, 255, 255, 0.015);
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    text-align: center;
}

.signup h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.signup-text {
    font-size: 1.05rem;
    color: #999;
    max-width: 560px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.signup-form {
    display: flex;
    gap: 12px;
    max-width: 480px;
    margin: 0 auto;
    flex-wrap: wrap;
    justify-content: center;
}

.signup-form input {
    flex: 1;
    min-width: 240px;
    padding: 14px 20px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
    font-size: 1rem;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s;
}

.signup-form input:focus {
    border-color: rgba(108, 92, 231, 0.5);
}

.signup-form input::placeholder {
    color: #666;
}

.form-message {
    margin-top: 16px;
    font-size: 0.9rem;
    min-height: 1.4em;
}

.form-message.success {
    color: #34d399;
}

.form-message.error {
    color: #f87171;
}

.privacy-note {
    margin-top: 12px;
    font-size: 0.8rem;
    color: #555;
}

/* ---- Footer ---- */

footer {
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-tagline {
    font-size: 0.85rem;
    color: #555;
}

/* ---- Responsive ---- */

@media (max-width: 640px) {
    .nav-links a:not(.nav-cta) {
        display: none;
    }

    .signup-form {
        flex-direction: column;
    }

    .signup-form input {
        min-width: auto;
    }

    .math-row {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        font-size: 0.82rem;
    }

    .math-header {
        display: none;
    }

    .math-item {
        grid-column: 1 / -1;
        font-weight: 600;
    }

    .math-siloed::before {
        content: "Siloed: ";
        color: #666;
    }

    .math-integrated::before {
        content: "Integrated: ";
        color: #666;
    }

    .math-savings {
        grid-column: 1 / -1;
        text-align: left;
    }

    .vertical-section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .vs-details {
        grid-template-columns: 1fr;
    }
}
