:root {
    --bg-main: #09051a;
    --bg-soft: #120a28;
    --panel: rgba(255, 255, 255, 0.05);
    --panel-strong: rgba(255, 255, 255, 0.08);
    --line: rgba(255, 255, 255, 0.14);
    --text-main: #f7f7ff;
    --text-dim: #b0a8c9;
    --accent: #a2d121;
    --accent-dark: #8fbe17;
    --primary: #5d2dff;
    --primary-dark: #4b1ff0;
    --secondary: #38d0f0;
    --danger: #ff8383;
    --success: #9dff8f;

    --font-head: "Sora", "Avenir Next", "Segoe UI", sans-serif;
    --font-body: "Instrument Sans", "Avenir Next", "Segoe UI", sans-serif;

    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 12px;
    --shadow-lg: 0 22px 54px rgba(0, 0, 0, 0.35);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.25);
    --transition: 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    background-color: #09051a;
    min-height: 100%;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: #09051a;
    background:
        radial-gradient(circle at 12% -12%, rgba(93, 45, 255, 0.2), transparent 38%),
        radial-gradient(circle at 100% 32%, rgba(162, 209, 33, 0.12), transparent 30%),
        linear-gradient(150deg, #09051a 0%, #0b0720 48%, #120a28 100%);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: min(1120px, 100% - 2.5rem);
    margin: 0 auto;
}

.sr-only {
    border: 0;
    clip: rect(0, 0, 0, 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    white-space: nowrap;
}

.bg-orb {
    position: fixed;
    z-index: -1;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.32;
}

.bg-orb-a {
    top: -30vh;
    left: -15vw;
    width: 55vw;
    height: 55vw;
    background: rgba(93, 45, 255, 0.42);
}

.bg-orb-b {
    bottom: -20vh;
    right: -10vw;
    width: 45vw;
    height: 45vw;
    background: rgba(162, 209, 33, 0.28);
}

.navbar {
    position: sticky;
    top: 0;
    z-index: 20;
    padding: 1rem 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(5, 17, 18, 0.86);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(10px);
}

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

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}

.logo {
    width: 42px;
    height: auto;
    border-radius: 10px;
}

.logo-small {
    width: 28px;
    height: auto;
    border-radius: 7px;
}

.brand-name {
    font-family: var(--font-head);
    font-size: 1.14rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

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

.nav-links a:not(.btn) {
    color: var(--text-dim);
    font-weight: 500;
    transition: color var(--transition);
}

.nav-links a:not(.btn):hover {
    color: var(--text-main);
}

.btn {
    border: 0;
    border-radius: 999px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.78rem 1.25rem;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    color: #f8f5ff;
    background: linear-gradient(100deg, var(--primary) 0%, #6f44ff 100%);
    box-shadow: 0 8px 24px rgba(93, 45, 255, 0.45);
}

.btn-primary:hover {
    background: linear-gradient(100deg, var(--primary-dark) 0%, #6032ff 100%);
    transform: translateY(-1px);
}

.hero {
    min-height: 88vh;
    display: grid;
    grid-template-columns: 1.04fr 0.96fr;
    align-items: center;
    gap: 2.4rem;
    padding: 5rem 0 2.4rem;
}

.eyebrow {
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 0.11em;
    font-size: 0.76rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.hero h1 {
    font-family: var(--font-head);
    font-size: clamp(2.35rem, 4.8vw, 4.45rem);
    line-height: 1.05;
    letter-spacing: -0.045em;
    margin-bottom: 1.2rem;
}

.text-accent {
    background: linear-gradient(120deg, #cbc0ff 0%, #6f44ff 85%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    color: var(--text-dim);
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    max-width: 60ch;
    margin-bottom: 1.4rem;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.waitlist-form {
    display: flex;
    gap: 0.55rem;
    border: 1px solid var(--line);
    background: var(--panel);
    border-radius: 999px;
    padding: 0.45rem;
    width: min(100%, 560px);
}

.waitlist-form input {
    flex: 1;
    background: transparent;
    border: 0;
    color: var(--text-main);
    font-size: 0.98rem;
    padding: 0 1rem;
    min-width: 0;
    outline: none;
}

.waitlist-form input::placeholder {
    color: rgba(183, 206, 206, 0.75);
}

.form-message {
    min-height: 1.2rem;
    font-size: 0.89rem;
    margin-top: 0.7rem;
    color: var(--success);
}

.form-message.error {
    color: var(--danger);
}

.hero-card {
    border: 1px solid var(--line);
    background: linear-gradient(160deg, rgba(93, 45, 255, 0.12), rgba(255, 255, 255, 0.02));
    width: min(100%, 380px);
    margin: 0 auto;
    padding: 0.8rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    display: flex;
    justify-content: center;
}

.hero-card picture {
    width: min(100%, 340px);
}

.hero-mockup {
    border-radius: 18px;
    box-shadow: var(--shadow-md);
    width: 100%;
    height: auto;
    aspect-ratio: 1200 / 1922;
    object-fit: contain;
    margin: 0 auto;
}

.split-section,
.feature-section,
.steps-section,
.founder-section,
.faq-section,
.cta-section {
    padding: 5.4rem 0 1rem;
}

.section-header {
    max-width: 720px;
    margin-bottom: 2rem;
}

.section-header h2 {
    font-family: var(--font-head);
    font-size: clamp(1.75rem, 3vw, 2.7rem);
    line-height: 1.12;
    letter-spacing: -0.03em;
    margin-bottom: 0.7rem;
}

.section-header p {
    color: var(--text-dim);
}

.compare-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.compare-card {
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 1.2rem 1.1rem;
    background: var(--panel);
}

.compare-card h3 {
    font-family: var(--font-head);
    margin-bottom: 0.8rem;
    font-size: 1.15rem;
}

.compare-card ul {
    list-style: none;
    display: grid;
    gap: 0.65rem;
}

.compare-card li {
    color: var(--text-dim);
    position: relative;
    padding-left: 1.05rem;
}

.compare-card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.68rem;
    width: 0.42rem;
    height: 0.42rem;
    border-radius: 50%;
}

.compare-card-muted li::before {
    background: rgba(183, 206, 206, 0.6);
}

.compare-card-strong {
    border-color: rgba(198, 255, 58, 0.42);
    background: linear-gradient(165deg, rgba(198, 255, 58, 0.1), rgba(255, 255, 255, 0.02));
}

.compare-card-strong li::before {
    background: var(--accent);
}

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

.feature-card {
    border: 1px solid var(--line);
    background: var(--panel);
    border-radius: var(--radius-md);
    padding: 0.9rem;
    transition: transform var(--transition), border-color var(--transition);
}

.feature-card:hover {
    transform: translateY(-2px);
    border-color: rgba(111, 68, 255, 0.5);
}

.feature-card img {
    border-radius: var(--radius-sm);
    margin: 0 auto 0.9rem;
    width: auto;
    max-width: 100%;
    height: clamp(320px, 33vw, 410px);
    object-fit: contain;
    background: linear-gradient(180deg, rgba(9, 5, 26, 0.78), rgba(18, 10, 40, 0.58));
}

.feature-card h3 {
    font-family: var(--font-head);
    font-size: 1.1rem;
    margin-bottom: 0.4rem;
}

.feature-card p {
    color: var(--text-dim);
    font-size: 0.95rem;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.step-card {
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 1.1rem;
    background: var(--panel);
}

.step-number {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 1.8rem;
    height: 1.8rem;
    border-radius: 50%;
    background: rgba(93, 45, 255, 0.22);
    color: #baa8ff;
    font-weight: 700;
    margin-bottom: 0.7rem;
}

.step-card h3 {
    font-family: var(--font-head);
    margin-bottom: 0.35rem;
    font-size: 1.05rem;
}

.step-card p {
    color: var(--text-dim);
    font-size: 0.94rem;
}

.founder-card {
    border: 1px solid rgba(93, 45, 255, 0.35);
    border-radius: var(--radius-md);
    background: linear-gradient(160deg, rgba(93, 45, 255, 0.12), rgba(255, 255, 255, 0.03));
    padding: 1.4rem;
}

.founder-card h2 {
    font-family: var(--font-head);
    margin-bottom: 0.6rem;
}

.founder-card p {
    color: var(--text-dim);
    max-width: 68ch;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.faq-item {
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 1.1rem;
    background: var(--panel);
}

.faq-item h3 {
    font-family: var(--font-head);
    margin-bottom: 0.4rem;
    font-size: 1.04rem;
}

.faq-item p {
    color: var(--text-dim);
    font-size: 0.94rem;
}

.cta-card {
    border: 1px solid rgba(93, 45, 255, 0.4);
    border-radius: var(--radius-lg);
    background: linear-gradient(150deg, rgba(93, 45, 255, 0.16), rgba(255, 255, 255, 0.03));
    padding: 2.2rem 1.2rem;
    text-align: center;
}

.cta-card h2 {
    font-family: var(--font-head);
    font-size: clamp(1.6rem, 2.8vw, 2.35rem);
    line-height: 1.1;
    margin-bottom: 0.5rem;
}

.cta-card p {
    color: var(--text-dim);
    margin-bottom: 1.1rem;
}

.waitlist-form-compact {
    margin: 0 auto;
}

footer {
    border-top: 1px solid var(--line);
    margin-top: 4.2rem;
    padding: 1.7rem 0 2.2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-weight: 600;
}

.footer-meta {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-dim);
    font-size: 0.88rem;
    flex-wrap: wrap;
}

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

.legal-main {
    padding-top: 7.5rem;
    padding-bottom: 3rem;
}

.legal-card {
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: linear-gradient(160deg, rgba(93, 45, 255, 0.12), rgba(255, 255, 255, 0.03));
    padding: clamp(1.2rem, 3vw, 2.2rem);
    max-width: 900px;
}

.legal-card h1 {
    font-family: var(--font-head);
    font-size: clamp(2rem, 3.8vw, 2.8rem);
    line-height: 1.1;
    margin-bottom: 1rem;
}

.legal-card h2 {
    font-family: var(--font-head);
    font-size: clamp(1.2rem, 2vw, 1.45rem);
    margin-top: 1.4rem;
    margin-bottom: 0.45rem;
}

.legal-card p {
    color: var(--text-dim);
    margin-bottom: 0.75rem;
}

.legal-card a {
    color: var(--text-main);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.legal-card strong {
    color: var(--text-main);
}

.fade-in-up {
    opacity: 1;
    transform: translateY(0);
}

.js .fade-in-up {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.js .fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.14s;
}

.delay-2 {
    transition-delay: 0.28s;
}

@media (max-width: 980px) {
    .hero {
        grid-template-columns: 1fr;
        gap: 1.8rem;
        min-height: auto;
        padding-top: 3.8rem;
    }

    .hero-visual {
        order: 2;
    }

    .hero-content {
        order: 1;
    }

    .feature-grid,
    .steps-grid {
        grid-template-columns: 1fr;
    }

    .faq-grid,
    .compare-grid {
        grid-template-columns: 1fr;
    }

    .feature-card img {
        height: clamp(340px, 72vw, 460px);
    }
}

@media (max-width: 760px) {
    .container {
        width: min(1120px, 100% - 1.2rem);
    }

    .navbar {
        padding: 0.7rem 0;
    }

    .nav-links a:not(.btn) {
        display: none;
    }

    .waitlist-form {
        flex-direction: column;
        border-radius: var(--radius-md);
        background: transparent;
        border: 0;
        padding: 0;
    }

    .waitlist-form input {
        border: 1px solid var(--line);
        background: var(--panel);
        border-radius: 999px;
        padding: 0.85rem 1rem;
    }

    .waitlist-form .btn {
        width: 100%;
    }

    .split-section,
    .feature-section,
    .steps-section,
    .founder-section,
    .faq-section,
    .cta-section {
        padding-top: 3.7rem;
    }

    .legal-main {
        padding-top: 6.2rem;
    }
}
