:root {
    --bg-color: #0a0a0a;
    --bg-alt: #0f0f0f;
    --bg-stripe: #0d0d14;
    --text-color: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.6);
    --accent-color: #7657ff;
    --accent-hover: #6344e0;
    --accent-glow: rgba(118, 87, 255, 0.3);
    --border-color: rgba(255, 255, 255, 0.08);
    --secondary-bg: rgba(255, 255, 255, 0.07);
    --font-main: 'Titillium Web', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    line-height: 1.6;
}

/* ── Canvas ──────────────────────────────────────────────────────────────── */
canvas#globe-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* ── Header ──────────────────────────────────────────────────────────────── */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 3rem;
    background: rgba(10, 10, 10, 0.7);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border-color);
}

.logo {
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: -0.02em;
    color: var(--text-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    width: 28px;
    height: 28px;
    max-width: 28px;
    max-height: 28px;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
}

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

header nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s;
}

header nav a:hover {
    color: var(--text-color);
}

.login-link {
    font-weight: 600;
}

/* ── Hero ────────────────────────────────────────────────────────────────── */
#hero {
    position: relative;
    z-index: 10;
    height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    padding: 0 3rem;
    padding-top: 70px; /* header offset */
}

.hero-split {
    display: flex;
    align-items: center;
    gap: 4rem;
    width: 100%;
    max-width: 1160px;
    margin: 0 auto;
}

.hero-content {
    flex: 1;
    min-width: 0;
}

.hero-content h1 {
    font-size: 3.75rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
    background: linear-gradient(140deg, #ffffff 35%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content p {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 520px;
    line-height: 1.75;
}

.actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.hero-illustration {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
}

.hero-illustration img {
    width: 100%;
    max-width: 540px;
    height: auto;
    display: block;
}

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    font-family: var(--font-main);
    text-decoration: none;
}

.btn-primary {
    background-color: var(--accent-color);
    color: #fff;
    box-shadow: 0 0 24px var(--accent-glow);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 0 36px var(--accent-glow);
}

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

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

.btn-large {
    padding: 1rem 2.75rem;
    font-size: 1.1rem;
}

/* ── Layout Utilities ────────────────────────────────────────────────────── */
.container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

.section-eyebrow {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent-color);
    margin-bottom: 0.75rem;
}

.section-sub {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 560px;
    margin: 0.75rem auto 3rem;
    line-height: 1.75;
}

/* ── Sections ────────────────────────────────────────────────────────────── */
.section {
    position: relative;
    z-index: 10;
    background-color: var(--bg-color);
    padding: 6rem 0;
}

.section-alt {
    background-color: var(--bg-alt);
}

.section-stripe {
    background-color: var(--bg-stripe);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.section h2,
.cta-band h2 {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin-bottom: 1.25rem;
}

/* ── Feature Strip (Section 2) ───────────────────────────────────────────── */
.feature-strip {
    padding: 3.5rem 0;
    border-top: 1px solid var(--border-color);
    margin-top: -80px;
    position: relative;
    z-index: 11;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
}

.feature-card {
    background: var(--secondary-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem 1.25rem;
    transition: border-color 0.2s, background 0.2s;
}

.feature-card:hover {
    border-color: rgba(118, 87, 255, 0.45);
    background: rgba(118, 87, 255, 0.07);
}

.feature-icon {
    width: 34px;
    height: 34px;
    color: var(--accent-color);
    margin-bottom: 0.875rem;
}

.feature-icon svg {
    width: 100%;
    height: 100%;
}

.feature-card h3 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
    letter-spacing: -0.01em;
}

.feature-card p {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.55;
}

/* ── Pain Grid (Section 3) ───────────────────────────────────────────────── */
.pain-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
    text-align: left;
}

.pain-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    transition: border-color 0.2s;
}

.pain-card:hover {
    border-color: rgba(118, 87, 255, 0.4);
}

.pain-icon {
    width: 38px;
    height: 38px;
    color: var(--accent-color);
    margin-bottom: 1.25rem;
}

.pain-icon svg {
    width: 100%;
    height: 100%;
}

.pain-card h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}

.pain-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ── Split Sections (4–9) ────────────────────────────────────────────────── */
.split-section {
    display: flex;
    gap: 5rem;
    align-items: center;
}

.split-text {
    flex: 1;
}

.split-text > p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 1.75rem;
}

.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.feature-list li {
    font-size: 0.95rem;
    color: var(--text-muted);
    padding-left: 1.25rem;
    position: relative;
}

.feature-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--accent-color);
}

/* ── Illustration Placeholder ────────────────────────────────────────────── */
.split-illustration {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.illustration {
    width: 100%;
    max-width: 520px;
    min-height: 360px;
    border-radius: 16px;
    background: rgba(118, 87, 255, 0.05);
    border: 1.5px dashed rgba(118, 87, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.illustration img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

/* ── CTA Band ────────────────────────────────────────────────────────────── */
.cta-band {
    position: relative;
    z-index: 10;
    background: linear-gradient(135deg, #100b1f 0%, #0a0a0a 60%);
    border-top: 1px solid rgba(118, 87, 255, 0.2);
    padding: 7rem 0;
}

.cta-band p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
}

/* ── Footer ──────────────────────────────────────────────────────────────── */
footer {
    position: relative;
    z-index: 10;
    background-color: #070709;
    border-top: 1px solid var(--border-color);
    padding: 2rem 0;
}

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

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

.footer-nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer-nav a:hover {
    color: var(--text-color);
}

/* ── Scroll Reveal ───────────────────────────────────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .feature-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    header {
        padding: 1.25rem 1.5rem;
    }

    #hero {
        height: auto;
        min-height: calc(100vh - 60px);
        padding: 6rem 1.5rem 2rem;
    }

    .hero-split {
        flex-direction: column;
        gap: 2.5rem;
        text-align: center;
    }

    .actions {
        justify-content: center;
    }

    .hero-illustration {
        width: 100%;
    }

    .feature-strip {
        margin-top: 0;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1rem;
        max-width: 100%;
    }

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

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

    .split-section {
        flex-direction: column;
        gap: 3rem;
    }

    .split-illustration {
        order: -1;
    }

    .section {
        padding: 4rem 0;
    }

    .section h2,
    .cta-band h2 {
        font-size: 1.9rem;
    }

    .cta-band {
        padding: 5rem 0;
    }

    .footer-inner {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}

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

    .actions {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }
}
