:root {
    --ink: #0b1020;
    --muted: #5b6478;
    --line: rgba(15, 23, 42, 0.08);
    --paper: #f6f4fb;
    --violet: #6d28d9;
    --violet-2: #7c3aed;
    --violet-deep: #4c1d95;
    --mint: #14b8a6;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body.landing-body {
    margin: 0;
    color: var(--ink);
    background: #fff;
    font-family: Inter, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
    font-synthesis: none;
    overflow-x: hidden;
}

.lp-container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }

.lp-nav {
    position: sticky;
    top: 0;
    z-index: 50;
    transition: background 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}

.lp-nav.is-scrolled {
    background: rgba(255, 255, 255, 0.86);
    backdrop-filter: blur(18px);
    box-shadow: 0 1px 0 var(--line);
}

.lp-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 76px;
    gap: 20px;
}

.lp-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--ink);
    font-weight: 800;
    font-size: 1.15rem;
}

.lp-mark {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(135deg, var(--violet) 0%, #2563eb 100%);
}

.lp-links { display: flex; align-items: center; gap: 28px; }

.lp-links a {
    color: #2d3648;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
}

.lp-links a:hover { color: var(--violet); }

.lp-nav-actions { display: flex; align-items: center; gap: 12px; }

.lp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 999px;
    padding: 12px 20px;
    font-weight: 700;
    font-size: 0.92rem;
    text-decoration: none;
    border: 0;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.lp-btn:hover { transform: translateY(-1px); }

.lp-btn-ghost { color: var(--ink); background: transparent; }

.lp-btn-outline {
    color: var(--ink);
    background: #fff;
    border: 1px solid #d9dce6;
}

.lp-btn-primary {
    color: #fff;
    background: var(--violet);
    box-shadow: 0 10px 24px rgba(109, 40, 217, 0.22);
}

.lp-btn-primary:hover { background: var(--violet-2); }

.lp-btn-lg { padding: 15px 26px; font-size: 1rem; }

.lp-hero {
    position: relative;
    padding: 72px 0 40px;
    overflow: hidden;
}

.lp-hero-bg {
    position: absolute;
    inset: -20% -10% auto;
    height: 620px;
    background:
        radial-gradient(circle at 15% 20%, rgba(124, 58, 237, 0.16), transparent 28%),
        radial-gradient(circle at 85% 10%, rgba(37, 99, 235, 0.14), transparent 26%),
        radial-gradient(circle at 50% 80%, rgba(20, 184, 166, 0.1), transparent 30%);
    pointer-events: none;
    animation: mesh 12s ease-in-out infinite alternate;
}

@keyframes mesh {
    from { transform: translate3d(0, 0, 0) scale(1); }
    to { transform: translate3d(0, -18px, 0) scale(1.04); }
}

.lp-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 999px;
    background: #efe7ff;
    color: var(--violet-deep);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.lp-hero h1 {
    margin: 22px 0 16px;
    max-width: 860px;
    font-size: clamp(2.4rem, 5.4vw, 4.4rem);
    line-height: 1.08;
    letter-spacing: -0.03em;
    font-weight: 750;
}

.lp-hero h1 em {
    font-style: normal;
    background: linear-gradient(90deg, var(--violet), #2563eb);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.lp-lead {
    max-width: 640px;
    color: var(--muted);
    font-size: 1.15rem;
    line-height: 1.6;
}

.lp-hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 28px; }

.lp-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 28px;
}

.lp-stat {
    padding: 18px 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid var(--line);
}

.lp-stat strong { display: block; font-size: 1.6rem; letter-spacing: -0.04em; }

.lp-stat span { color: var(--muted); font-size: 0.85rem; font-weight: 600; }

.lp-marquee-wrap {
    padding: 28px 0 8px;
    border-top: 1px solid var(--line);
}

.lp-marquee-label {
    text-align: center;
    font-size: 0.75rem;
    letter-spacing: 0.16em;
    font-weight: 800;
    color: #8b93a7;
    margin-bottom: 18px;
}

.lp-marquee {
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.lp-marquee-track {
    display: flex;
    gap: 48px;
    width: max-content;
    animation: marquee 28s linear infinite;
}

.lp-chip {
    color: #6b7288;
    font-weight: 800;
    white-space: nowrap;
    font-size: 0.95rem;
}

@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.lp-section { padding: 88px 0; }

.lp-section.alt { background: var(--paper); }

.lp-section.dark {
    background: #0b1020;
    color: #fff;
}

.lp-eyebrow {
    color: var(--violet);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.dark .lp-eyebrow { color: #c4b5fd; }

.lp-title {
    margin: 10px 0 16px;
    font-size: clamp(1.9rem, 3.6vw, 3rem);
    letter-spacing: -0.03em;
    font-weight: 750;
    line-height: 1.05;
    max-width: 760px;
}

.lp-copy { color: var(--muted); max-width: 620px; line-height: 1.7; }

.dark .lp-copy { color: #b7bfd0; }

.lp-bento {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 16px;
    margin-top: 40px;
}

.lp-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 28px;
    min-height: 220px;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.lp-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 50px rgba(15, 23, 42, 0.08);
}

.lp-card.wide { grid-column: 1 / 2; grid-row: 1 / 3; background: linear-gradient(180deg, #fff, #f4efff); }

.lp-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: #efe7ff;
    color: var(--violet);
    margin-bottom: 18px;
}

.lp-card h3 { margin: 0 0 8px; font-size: 1.25rem; }

.lp-card p { margin: 0; color: var(--muted); line-height: 1.6; }

.lp-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 28px 0 22px;
}

.lp-tab {
    border: 0;
    background: #ece8f8;
    color: #3f3358;
    border-radius: 999px;
    padding: 10px 16px;
    font-weight: 700;
    cursor: pointer;
}

.lp-tab.is-active { background: var(--violet); color: #fff; }

.lp-panel { display: none; }
.lp-panel.is-active { display: block; }

.lp-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: center;
}

.lp-preview {
    border-radius: 28px;
    min-height: 340px;
    padding: 24px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02)),
        radial-gradient(circle at 20% 20%, rgba(124, 58, 237, 0.35), transparent 30%),
        #141a2e;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 30px 80px rgba(0,0,0,0.25);
}

.lp-preview-row {
    display: flex;
    justify-content: space-between;
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(255,255,255,0.06);
    margin-bottom: 10px;
    color: #d7dcef;
}

.lp-updates { display: grid; gap: 16px; margin-top: 36px; }

.lp-update {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 20px;
    padding: 22px 24px;
    background: #fff;
    border-radius: 20px;
    border: 1px solid var(--line);
}

.lp-update time { color: var(--violet); font-weight: 800; font-size: 0.85rem; }

.lp-pricing {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 36px;
}

.lp-plan {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 28px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    min-height: 420px;
}

.lp-plan.featured {
    background: #0b1020;
    color: #fff;
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(11, 16, 32, 0.2);
}

.lp-plan .price { font-size: 2.4rem; letter-spacing: -0.05em; margin: 12px 0; }

.lp-plan ul { padding: 0; margin: 0 0 24px; list-style: none; color: var(--muted); flex: 1; }

.lp-plan.featured ul { color: #c5ccdc; }

.lp-plan li { padding: 8px 0; }

.lp-cta-band {
    text-align: center;
    padding: 80px 24px;
    border-radius: 32px;
    background: linear-gradient(135deg, #4c1d95, #6d28d9 45%, #2563eb);
    color: #fff;
}

.lp-cta-band h2 { font-size: clamp(2rem, 4vw, 3.2rem); letter-spacing: -0.04em; margin: 0 0 12px; }

.lp-footer {
    padding: 56px 0 28px;
    background: #0b1020;
    color: #c5ccdc;
}

.lp-footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 24px;
}

.lp-footer a { color: #c5ccdc; text-decoration: none; display: block; margin: 8px 0; }

.lp-footer a:hover { color: #fff; }

.reveal {
    opacity: 1;
    transform: none;
}

.reveal.is-pending {
    opacity: 0;
    transform: translateY(28px);
}

.reveal.is-in {
    opacity: 1;
    transform: none;
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes rise {
    to { opacity: 1; transform: none; }
}

.lp-faq { display: grid; gap: 12px; margin-top: 32px; max-width: 820px; }

.lp-faq details {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 16px 20px;
}

.lp-faq summary {
    cursor: pointer;
    font-weight: 800;
    list-style: none;
}

.lp-faq summary::-webkit-details-marker { display: none; }

.lp-faq p { color: var(--muted); margin: 10px 0 0; line-height: 1.65; }

.lp-contact-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    align-items: center;
    margin-top: 18px;
    font-weight: 700;
}

.lp-contact-bar a { color: var(--violet); text-decoration: none; }

@media (max-width: 960px) {
    .lp-links { display: none; }
    .lp-links.is-open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 76px;
        left: 20px;
        right: 20px;
        background: #fff;
        border-radius: 18px;
        padding: 16px;
        box-shadow: 0 20px 50px rgba(0,0,0,0.08);
    }
    .lp-menu-btn { display: block; }
    .lp-stats, .lp-bento, .lp-split, .lp-pricing, .lp-footer-grid, .lp-update { grid-template-columns: 1fr; }
    .lp-card.wide { grid-column: auto; grid-row: auto; }
    .lp-plan.featured { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
    .reveal { opacity: 1; transform: none; }
}
