:root {
    --bg: #07070d;
    --bg-2: #0e0f18;
    --card: rgba(255, 255, 255, 0.045);
    --card-strong: rgba(255, 255, 255, 0.07);
    --line: rgba(255, 255, 255, 0.08);
    --text: #f5f4fb;
    --muted: #9aa0b8;
    --brand: #8b7cff;
    --brand-2: #5eead4;
    --glow: rgba(139, 124, 255, 0.35);
    --radius: 22px;
    --max: 1160px;
    --header: 78px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    font-family: Outfit, system-ui, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

body.has-cursor { cursor: none; }
body.has-cursor a,
body.has-cursor button,
body.has-cursor input,
body.has-cursor select,
body.has-cursor textarea { cursor: none; }

h1, h2, h3, .brand-copy strong {
    font-family: Syne, Outfit, sans-serif;
    letter-spacing: -0.04em;
    line-height: 1.08;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }

.container {
    width: min(calc(100% - 40px), var(--max));
    margin: 0 auto;
}

.cursor {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    width: 14px;
    height: 14px;
    pointer-events: none;
    mix-blend-mode: difference;
    transform: translate(-50%, -50%);
}

.cursor span {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #fff;
    transition: transform 0.25s ease;
}

.cursor.is-hover span { transform: scale(3.4); }
.cursor.is-click span { transform: scale(0.6); }

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0;
    z-index: 80;
    background: linear-gradient(90deg, var(--brand), var(--brand-2));
}

.page-veil {
    position: fixed;
    inset: 0;
    z-index: 90;
    background: #050509;
    transform: scaleY(1);
    transform-origin: top;
    transition: transform 0.7s cubic-bezier(0.76, 0, 0.24, 1);
    pointer-events: none;
}

body.is-ready .page-veil {
    transform: scaleY(0);
    transform-origin: bottom;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(18px);
    background: rgba(7, 7, 13, 0.72);
    border-bottom: 1px solid transparent;
    transition: 0.3s ease;
}

.site-header.is-scrolled {
    border-bottom-color: var(--line);
    background: rgba(7, 7, 13, 0.9);
}

.header-inner {
    min-height: var(--header);
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 20px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-mark svg { width: 40px; height: 40px; }
.brand-mark-sm svg { width: 32px; height: 32px; }
.brand-copy { display: flex; flex-direction: column; line-height: 1.1; }
.brand-copy strong { font-size: 18px; }
.brand-copy small { color: var(--muted); font-size: 12px; }

.site-nav {
    display: flex;
    justify-content: center;
    gap: 6px;
}

.nav-link {
    padding: 8px 16px;
    border-radius: 999px;
    color: var(--muted);
    font-weight: 500;
    transition: 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
    color: var(--text);
    background: rgba(139, 124, 255, 0.16);
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: transparent;
}

.nav-toggle span {
    display: block;
    height: 2px;
    margin: 6px 8px;
    background: #fff;
    transition: 0.25s ease;
}

.btn {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid transparent;
    border-radius: 999px;
    padding: 12px 20px;
    font-weight: 600;
    transition: transform 0.2s ease, background 0.2s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #8b7cff, #6d63f2);
    color: #fff;
    box-shadow: 0 10px 30px var(--glow);
}

.btn-ghost {
    border-color: var(--line);
    background: rgba(255, 255, 255, 0.04);
}

.btn-outline {
    border-color: var(--line);
    background: transparent;
}

.btn:hover { transform: translateY(-2px); }
.btn .ripple {
    position: absolute;
    border-radius: 50%;
    transform: scale(0);
    animation: ripple 0.6s linear;
    background: rgba(255, 255, 255, 0.35);
    pointer-events: none;
}

@keyframes ripple {
    to { transform: scale(14); opacity: 0; }
}

.hero {
    position: relative;
    padding: 72px 0 40px;
    overflow: hidden;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    pointer-events: none;
    animation: float 10s ease-in-out infinite;
}

.orb-a { width: 340px; height: 340px; background: rgba(139, 124, 255, 0.28); top: -80px; left: -40px; }
.orb-b { width: 260px; height: 260px; background: rgba(94, 234, 212, 0.16); right: 8%; top: 20%; animation-delay: -3s; }
.orb-c { width: 180px; height: 180px; background: rgba(244, 114, 182, 0.16); left: 38%; bottom: 0; animation-delay: -6s; }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-24px); }
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 48px;
    align-items: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: #c4bfff;
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--brand-2);
    box-shadow: 0 0 0 0 rgba(94, 234, 212, 0.6);
    animation: pulse 1.8s infinite;
}

@keyframes pulse {
    70% { box-shadow: 0 0 0 10px transparent; }
}

h1 {
    margin: 18px 0 16px;
    font-size: clamp(36px, 5.4vw, 68px);
}

.lede, .copy p, .hero p {
    color: var(--muted);
    font-size: 17px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 36px;
}

.stat {
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--card);
}

.stat b {
    display: block;
    font-size: 28px;
    font-family: Syne, sans-serif;
}

.stat span { color: var(--muted); font-size: 13px; }

.visual {
    position: relative;
}

.glass {
    background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
    border: 1px solid var(--line);
    border-radius: 28px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
    overflow: hidden;
    transform-style: preserve-3d;
}

.chrome {
    display: flex;
    gap: 6px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--line);
}

.dot { width: 9px; height: 9px; border-radius: 50%; background: #3f4254; }
.dash-body { display: grid; grid-template-columns: 128px 1fr; min-height: 320px; }
.side { padding: 14px; color: var(--muted); font-size: 13px; border-right: 1px solid var(--line); }
.side div { padding: 9px 10px; border-radius: 10px; margin-bottom: 4px; transition: 0.2s ease; }
.side .on, .side div:hover { background: rgba(139, 124, 255, 0.18); color: #fff; }
.main { padding: 16px; }
.metric-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.metric { background: rgba(0,0,0,0.25); border-radius: 12px; padding: 10px; }
.metric b { display: block; }
.metric span { color: var(--muted); font-size: 11px; }
.bars { display: flex; align-items: flex-end; gap: 8px; height: 96px; margin: 16px 0; }
.bars i {
    flex: 1;
    border-radius: 6px 6px 0 0;
    background: linear-gradient(180deg, #c4b5fd, #8b7cff);
    transform-origin: bottom;
    animation: grow 1.2s ease both;
}
@keyframes grow { from { transform: scaleY(0.2); } }

.marquee {
    overflow: hidden;
    border-block: 1px solid var(--line);
    padding: 16px 0;
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
    display: flex;
    gap: 42px;
    width: max-content;
    animation: marquee 22s linear infinite;
    color: var(--muted);
    font-family: Syne, sans-serif;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 13px;
}

.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

.section { padding: 88px 0; }
.section-head { max-width: 720px; margin-bottom: 36px; }
.section-head h2 { margin: 12px 0; font-size: clamp(28px, 4vw, 48px); }
.section-head p { color: var(--muted); }

.split {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 40px;
    align-items: start;
}

.feature-grid,
.plan-grid,
.about-grid {
    display: grid;
    gap: 16px;
}

.feature-grid { grid-template-columns: repeat(2, 1fr); }
.plan-grid { grid-template-columns: repeat(4, 1fr); }
.about-grid { grid-template-columns: 1fr; }

.card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 22px;
    transition: transform 0.35s ease, border-color 0.35s ease, background 0.35s ease;
}

.card:hover,
.card.is-active {
    transform: translateY(-8px);
    border-color: rgba(139, 124, 255, 0.45);
    background: var(--card-strong);
}

.icon {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: rgba(139, 124, 255, 0.14);
    color: #c4bfff;
    margin-bottom: 16px;
}

.card h3 { margin: 0 0 8px; font-size: 20px; }
.card p { margin: 0; color: var(--muted); }
.card-top { display: flex; justify-content: space-between; align-items: start; }

.pill {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(94, 234, 212, 0.14);
    color: var(--brand-2);
}

.tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}

.tab {
    border: 1px solid var(--line);
    background: transparent;
    color: var(--muted);
    border-radius: 999px;
    padding: 8px 14px;
}

.tab.is-active {
    color: #fff;
    background: rgba(139, 124, 255, 0.2);
    border-color: transparent;
}

.panel { display: none; }
.panel.is-active { display: block; animation: fadeUp 0.45s ease; }

.cta {
    display: grid;
    grid-template-columns: 1.4fr auto;
    gap: 24px;
    align-items: center;
    padding: 40px;
    border-radius: 32px;
    background:
        radial-gradient(circle at 90% 20%, rgba(139, 124, 255, 0.25), transparent 30%),
        linear-gradient(160deg, #121326, #0b0c16);
    border: 1px solid var(--line);
}

.cta h2 { margin: 8px 0 12px; font-size: clamp(28px, 3vw, 42px); }
.cta p { color: var(--muted); }
.cta-actions { display: grid; gap: 10px; min-width: 180px; }

.plan {
    position: relative;
    cursor: pointer;
}

.plan.featured { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand) inset, 0 20px 50px var(--glow); }
.popular {
    position: absolute;
    top: -12px;
    right: 16px;
    background: var(--brand);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    padding: 5px 8px;
    border-radius: 999px;
}

.price { display: flex; align-items: baseline; gap: 4px; margin: 12px 0 18px; }
.price b { font-size: 40px; font-family: Syne, sans-serif; }
.price span { color: var(--muted); }
.plan ul { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 10px; }
.plan li { display: flex; gap: 8px; color: #d6d8e6; font-size: 14px; }
.plan li svg { color: var(--brand-2); flex: 0 0 16px; margin-top: 3px; }
.kicker { color: var(--muted); font-size: 13px; }

.faq-item {
    overflow: hidden;
    margin-bottom: 12px;
}

.faq-item button {
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    text-align: left;
    background: transparent;
    border: 0;
    color: #fff;
    font-size: 18px;
    font-family: Syne, sans-serif;
    padding: 0;
}

.faq-item .answer {
    max-height: 0;
    overflow: hidden;
    color: var(--muted);
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.is-open .answer { max-height: 180px; padding-top: 12px; }
.chevron { transition: transform 0.3s ease; }
.faq-item.is-open .chevron { transform: rotate(45deg); }

.form {
    display: grid;
    gap: 14px;
}

.field { display: grid; gap: 6px; }
.field label { font-size: 13px; color: #d8dbe8; }
.field input,
.field select,
.field textarea {
    width: 100%;
    border: 1px solid var(--line);
    background: rgba(255,255,255,0.03);
    border-radius: 14px;
    padding: 12px 14px;
    outline: none;
    transition: 0.2s ease;
}

.field textarea { min-height: 120px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 4px rgba(139, 124, 255, 0.18);
}

.alert { padding: 12px 14px; border-radius: 12px; }
.alert-ok { background: rgba(16, 185, 129, 0.14); color: #6ee7b7; }
.alert-err { background: rgba(239, 68, 68, 0.14); color: #fca5a5; }

.contact-list { display: grid; gap: 12px; margin-top: 24px; }
.contact-list button,
.contact-list a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--muted);
    background: transparent;
    border: 0;
    padding: 0;
    text-align: left;
}

.copy-chip { font-size: 11px; color: var(--brand-2); opacity: 0; transition: 0.2s ease; }
.is-copied .copy-chip { opacity: 1; }

.page-hero { padding: 56px 0 20px; }
.legal { padding-bottom: 80px; }
.legal p, .legal li { color: var(--muted); }

.site-footer { border-top: 1px solid var(--line); }
.footer-inner {
    min-height: 92px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.footer-links { display: flex; gap: 22px; color: var(--muted); }

.to-top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: rgba(7, 7, 13, 0.8);
    color: #fff;
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
    transition: 0.25s ease;
    z-index: 40;
}

.to-top::before {
    content: "";
    width: 10px;
    height: 10px;
    border-left: 2px solid #fff;
    border-top: 2px solid #fff;
    transform: rotate(45deg) translate(2px, 2px);
}

.to-top.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: none;
}

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-in {
    opacity: 1;
    transform: none;
}

.stagger > .reveal:nth-child(2) { transition-delay: 0.08s; }
.stagger > .reveal:nth-child(3) { transition-delay: 0.16s; }
.stagger > .reveal:nth-child(4) { transition-delay: 0.24s; }
.stagger > .reveal:nth-child(5) { transition-delay: 0.32s; }
.stagger > .reveal:nth-child(6) { transition-delay: 0.4s; }
.stagger > .reveal:nth-child(7) { transition-delay: 0.48s; }

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: none; }
}

@media (max-width: 1024px) {
    .hero-grid, .split, .cta, .plan-grid { grid-template-columns: 1fr; }
    .feature-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
    .header-inner { grid-template-columns: 1fr auto auto; }
    .nav-toggle { display: block; }
    .site-nav {
        display: none;
        position: absolute;
        inset: var(--header) 0 auto;
        background: #0b0c14;
        border-bottom: 1px solid var(--line);
        flex-direction: column;
        padding: 12px 20px 18px;
    }
    .site-nav.is-open { display: flex; }
    .feature-grid, .stats, .metric-row, .dash-body { grid-template-columns: 1fr; }
    .cta { padding: 28px 22px; }
    .footer-inner { flex-direction: column; padding: 24px 0; align-items: flex-start; }
    body.has-cursor, body.has-cursor a, body.has-cursor button { cursor: auto; }
    .cursor { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
    .reveal { opacity: 1; transform: none; }
    .page-veil { display: none; }
}
