/* ============ RESET / BASE ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --bg: #050505;
    --bg-alt: #0a0a0a;
    --card: #0d0d0d;
    --card-bd: rgba(255,255,255,.08);
    --txt: #e8e8e8;
    --muted: #8a8a8a;
    --chrome: linear-gradient(180deg, #ffffff 0%, #dcdcdc 28%, #8f8f8f 50%, #f4f4f4 68%, #a9a9a9 100%);
    --serif: 'Cormorant Garamond', Georgia, serif;
    --sans: 'Inter', system-ui, -apple-system, sans-serif;
    --mono: 'SF Mono', 'Cascadia Code', Consolas, monospace;
}

html { scroll-behavior: smooth; }

body {
    background: var(--bg);
    color: var(--txt);
    font-family: var(--sans);
    font-weight: 400;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* grid background */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
    background-size: 48px 48px;
}

/* scanline */
body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    background: repeating-linear-gradient(
        0deg,
        transparent 0px,
        transparent 2px,
        rgba(0,0,0,.11) 3px,
        transparent 4px
    );
    opacity: .5;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

.container { width: min(1180px, 92%); margin-inline: auto; position: relative; z-index: 1; }
.container--narrow { width: min(820px, 92%); }

.chrome-text {
    background: var(--chrome);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

/* ============ GLITCH ============ */
.glitch {
    position: relative;
    display: inline-block;
}
.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    inset: 0;
    background: inherit;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    overflow: hidden;
    opacity: 0;
}
.glitch:hover::before {
    opacity: 1;
    animation: glitch1 .35s steps(2) infinite;
    clip-path: polygon(0 0, 100% 0, 100% 45%, 0 45%);
    transform: translate(-3px, -1px);
    filter: hue-rotate(90deg);
}
.glitch:hover::after {
    opacity: 1;
    animation: glitch2 .35s steps(2) infinite;
    clip-path: polygon(0 55%, 100% 55%, 100% 100%, 0 100%);
    transform: translate(3px, 1px);
    filter: hue-rotate(-90deg);
}
@keyframes glitch1 {
    0% { transform: translate(-3px,-1px); }
    50% { transform: translate(2px,-2px); }
    100% { transform: translate(-1px,1px); }
}
@keyframes glitch2 {
    0% { transform: translate(3px,1px); }
    50% { transform: translate(-2px,2px); }
    100% { transform: translate(1px,-1px); }
}

/* ============ BUTTONS ============ */
.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .95rem 2.2rem;
    border: 1px solid transparent;
    border-radius: 2px;
    font-size: .82rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    transition: .28s ease;
    white-space: nowrap;
    overflow: hidden;
}
.btn::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,.55) 50%, transparent 60%);
    transform: translateX(-120%);
    transition: .55s;
}
.btn:hover::after { transform: translateX(120%); }
.btn--primary {
    background: linear-gradient(180deg, #f2f2f2, #b8b8b8);
    color: #060606;
    box-shadow: 0 0 0 rgba(255,255,255,0);
}
.btn--primary:hover {
    background: linear-gradient(180deg, #ffffff, #d4d4d4);
    box-shadow: 0 6px 30px rgba(255,255,255,.22);
    transform: translateY(-2px);
}
.btn--ghost {
    background: rgba(255,255,255,.02);
    border-color: rgba(255,255,255,.18);
    color: var(--txt);
}
.btn--ghost:hover { border-color: rgba(255,255,255,.55); background: rgba(255,255,255,.06); transform: translateY(-2px); }
.btn--small { padding: .6rem 1.3rem; font-size: .72rem; }
.btn--full { width: 100%; }

/* ============ NAV ============ */
.nav {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 100;
    padding: 1.1rem 0;
    transition: .3s ease;
    background: transparent;
}
.nav.scrolled {
    background: rgba(5,5,5,.85);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--card-bd);
    padding: .7rem 0;
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.nav__logo { font-family: var(--serif); font-size: 1.55rem; font-weight: 600; letter-spacing: .02em; }
.nav__links { display: flex; gap: 2.2rem; }
.nav__links a {
    font-size: .78rem;
    font-weight: 500;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--muted);
    transition: .25s;
}
.nav__links a:hover { color: #fff; }
.nav__burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 6px; }
.nav__burger span { width: 24px; height: 2px; background: #ddd; transition: .3s; }

/* ============ HERO ============ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    padding: 8rem 0 5rem;
    overflow: hidden;
}
.hero__glow {
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 900px;
    height: 700px;
    background: radial-gradient(ellipse at center, rgba(255,255,255,.09) 0%, rgba(255,255,255,.02) 40%, transparent 70%);
    pointer-events: none;
}
.hero__inner { position: relative; z-index: 2; }

.hero__logo { position: relative; display: inline-block; margin-bottom: 1.6rem; }
.hero__wordmark {
    font-family: var(--serif);
    font-size: clamp(3.6rem, 11vw, 8rem);
    font-weight: 600;
    letter-spacing: .01em;
    line-height: 1;
    filter: drop-shadow(0 4px 30px rgba(255,255,255,.22));
}
.hero__swash {
    position: absolute;
    left: -4%;
    bottom: -14px;
    width: 108%;
    height: 34px;
}
.hero__sparkle { position: absolute; fill: #fff; filter: drop-shadow(0 0 6px #fff); }
.hero__sparkle--1 { width: 26px; top: -6px; left: -34px; animation: twinkle 3s ease-in-out infinite; }
.hero__sparkle--2 { width: 14px; top: 34%; right: -40px; animation: twinkle 3s ease-in-out .9s infinite; }
.hero__sparkle--3 { width: 10px; bottom: -2px; left: 8%; animation: twinkle 3s ease-in-out 1.7s infinite; }

@keyframes twinkle {
    0%, 100% { opacity: .25; transform: scale(.75) rotate(0deg); }
    50% { opacity: 1; transform: scale(1.15) rotate(20deg); }
}

.hero__tag {
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .42em;
    text-transform: uppercase;
    color: #cfcfcf;
    margin-bottom: 1.2rem;
}
.hero__tag .dot { color: #6a6a6a; }
.hero__sub { color: var(--muted); font-size: 1.02rem; max-width: 560px; margin: 0 auto 2.4rem; }
.hero__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 4rem; }

.hero__stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.6rem;
    flex-wrap: wrap;
    padding-top: 2.4rem;
    border-top: 1px solid var(--card-bd);
    max-width: 720px;
    margin-inline: auto;
}
.stat { display: flex; flex-direction: column; align-items: center; gap: .2rem; }
.stat__num { font-family: var(--serif); font-size: 2rem; font-weight: 600; }
.stat__lbl { font-size: .68rem; letter-spacing: .28em; text-transform: uppercase; color: var(--muted); }
.stat__sep { width: 1px; height: 42px; background: var(--card-bd); }

/* ============ MARQUEE ============ */
.marquee {
    overflow: hidden;
    border-block: 1px solid var(--card-bd);
    background: var(--bg-alt);
    padding: .9rem 0;
}
.marquee__track {
    display: flex;
    gap: 2.4rem;
    width: max-content;
    animation: scroll 26s linear infinite;
    font-size: .74rem;
    letter-spacing: .34em;
    text-transform: uppercase;
    color: #777;
}
@keyframes scroll { to { transform: translateX(-50%); } }

/* ============ SECTIONS ============ */
.section { padding: 7rem 0; }
.section--alt { background: var(--bg-alt); border-block: 1px solid var(--card-bd); }

.section__head { text-align: center; margin-bottom: 3.8rem; }
.eyebrow {
    display: inline-block;
    font-size: .68rem;
    font-weight: 600;
    letter-spacing: .38em;
    text-transform: uppercase;
    color: #9a9a9a;
    margin-bottom: 1rem;
    padding: .4rem 1rem;
    border: 1px solid var(--card-bd);
    border-radius: 999px;
}
.section__title {
    font-family: var(--serif);
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    font-weight: 600;
    line-height: 1.15;
    margin-bottom: .9rem;
}
.section__desc { color: var(--muted); font-size: .98rem; }

/* ============ FEATURES ============ */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.feature {
    background: var(--card);
    border: 1px solid var(--card-bd);
    border-radius: 4px;
    padding: 2.2rem 1.8rem;
    transition: .3s ease;
    position: relative;
    overflow: hidden;
}
.feature::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.6), transparent);
    opacity: 0;
    transition: .3s;
}
.feature::after {
    content: "";
    position: absolute;
    top: -40%;
    left: -40%;
    width: 180%;
    height: 180%;
    background: radial-gradient(circle at center, rgba(255,255,255,.06), transparent 60%);
    opacity: 0;
    transition: .4s;
    pointer-events: none;
}
.feature:hover { border-color: rgba(255,255,255,.25); transform: translateY(-6px); box-shadow: 0 20px 50px rgba(0,0,0,.5); }
.feature:hover::before { opacity: 1; }
.feature:hover::after { opacity: 1; }
.feature__icon {
    font-family: var(--mono);
    font-size: .72rem;
    font-weight: 700;
    color: #999;
    letter-spacing: .18em;
    text-transform: uppercase;
    margin-bottom: 1.1rem;
    padding: .35rem .7rem;
    display: inline-block;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 2px;
    background: rgba(255,255,255,.03);
    transition: .3s;
}
.feature:hover .feature__icon { color: #fff; border-color: rgba(255,255,255,.45); background: rgba(255,255,255,.08); }
.feature h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: .55rem; letter-spacing: .01em; }
.feature p { color: var(--muted); font-size: .9rem; }

/* ============ PRICING ============ */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; align-items: stretch; }
.plan {
    position: relative;
    background: var(--card);
    border: 1px solid var(--card-bd);
    border-radius: 5px;
    padding: 2.6rem 2rem;
    display: flex;
    flex-direction: column;
    transition: .3s ease;
    overflow: hidden;
}
.plan::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255,255,255,.03), transparent 40%);
    pointer-events: none;
}
.plan:hover { transform: translateY(-6px); border-color: rgba(255,255,255,.25); box-shadow: 0 20px 50px rgba(0,0,0,.5); }
.plan--featured {
    border-color: rgba(255,255,255,.35);
    background: linear-gradient(180deg, #131313, #0b0b0b);
    box-shadow: 0 20px 60px rgba(0,0,0,.6), 0 0 40px rgba(255,255,255,.05);
    animation: featuredPulse 3s ease-in-out infinite;
}
@keyframes featuredPulse {
    0%, 100% { box-shadow: 0 20px 60px rgba(0,0,0,.6), 0 0 30px rgba(255,255,255,.04); }
    50% { box-shadow: 0 20px 60px rgba(0,0,0,.6), 0 0 55px rgba(255,255,255,.1); }
}
.plan__badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(180deg, #f0f0f0, #c0c0c0);
    color: #060606;
    font-size: .62rem;
    font-weight: 700;
    letter-spacing: .22em;
    text-transform: uppercase;
    padding: .4rem 1.1rem;
    border-radius: 999px;
    z-index: 1;
}
.plan__top { text-align: center; padding-bottom: 1.6rem; border-bottom: 1px solid var(--card-bd); margin-bottom: 1.6rem; }
.plan__dur {
    display: block;
    font-size: .74rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: .9rem;
}
.plan__dur i { font-style: normal; color: #555; margin: 0 .3em; }
.plan__price { font-family: var(--serif); font-size: 3.4rem; font-weight: 600; line-height: 1; }
.plan__cur { font-size: 1.6rem; vertical-align: super; margin-right: .1em; color: #aaa; }
.plan__list { list-style: none; display: flex; flex-direction: column; gap: .8rem; margin-bottom: 2rem; flex: 1; }
.plan__list li {
    font-size: .88rem;
    color: #c4c4c4;
    padding-left: 1.4rem;
    position: relative;
}
.plan__list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #fff;
    font-size: .8rem;
}
.plan__btn { width: 100%; }

/* ============ PAYMENTS ============ */
.payments { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-bottom: 3.6rem; }
.pay {
    background: var(--card);
    border: 1px solid var(--card-bd);
    border-radius: 4px;
    padding: 2rem 1.7rem;
    display: flex;
    gap: 1.3rem;
    transition: .3s;
}
.pay:hover { border-color: rgba(255,255,255,.25); }
.pay__num { font-family: var(--serif); font-size: 2.4rem; font-weight: 600; line-height: 1; }
.pay__body { flex: 1; min-width: 0; }
.pay__body h3 { font-size: .92rem; letter-spacing: .16em; }

/* ============ STEPS ============ */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-bottom: 2.8rem; }
.step {
    text-align: center;
    padding: 1.6rem 1rem;
    border: 1px dashed rgba(255,255,255,.14);
    border-radius: 4px;
}
.step__n {
    display: block;
    font-family: var(--serif);
    font-size: 1.5rem;
    margin-bottom: .3rem;
    color: #eee;
}
.step p { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.pay__cta { text-align: center; }

/* ============ VIDEO ============ */
.video-wrap {
    position: relative;
    width: min(880px, 100%);
    margin-inline: auto;
    aspect-ratio: 16 / 9;
    border: 1px solid var(--card-bd);
    border-radius: 6px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 24px 70px rgba(0,0,0,.65), 0 0 40px rgba(255,255,255,.05);
    transition: .3s;
}
.video-wrap:hover { border-color: rgba(255,255,255,.3); box-shadow: 0 24px 80px rgba(0,0,0,.7), 0 0 55px rgba(255,255,255,.09); }
.video-wrap iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/* ============ FAQ ============ */
.faq { display: flex; flex-direction: column; gap: .8rem; }
.faq__item {
    background: var(--card);
    border: 1px solid var(--card-bd);
    border-radius: 4px;
    overflow: hidden;
    transition: .25s;
}
.faq__item[open] { border-color: rgba(255,255,255,.24); }
.faq__item summary {
    list-style: none;
    cursor: pointer;
    padding: 1.25rem 1.5rem;
    font-size: .95rem;
    font-weight: 500;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
    content: "+";
    font-size: 1.3rem;
    color: #888;
    transition: .25s;
    flex-shrink: 0;
}
.faq__item[open] summary::after { transform: rotate(45deg); color: #fff; }
.faq__item p { padding: 0 1.5rem 1.4rem; color: var(--muted); font-size: .9rem; }

/* ============ CTA ============ */
.cta {
    padding: 7rem 0;
    text-align: center;
    background:
        radial-gradient(ellipse at top, rgba(255,255,255,.06), transparent 60%),
        var(--bg);
    border-top: 1px solid var(--card-bd);
}
.cta__title {
    font-family: var(--serif);
    font-size: clamp(2.4rem, 6vw, 4.2rem);
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 1rem;
    filter: drop-shadow(0 2px 20px rgba(255,255,255,.14));
}
.cta__sub { color: var(--muted); margin-bottom: 2.2rem; }

/* ============ FOOTER ============ */
.footer { border-top: 1px solid var(--card-bd); padding: 3rem 0; background: var(--bg-alt); }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.6rem; flex-wrap: wrap; }
.footer__logo { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; }
.footer__links { display: flex; gap: 1.6rem; }
.footer__links a { font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); transition: .25s; }
.footer__links a:hover { color: #fff; }
.footer__copy { font-size: .76rem; color: #666; }

/* ============ FOOTER PARTNER ============ */
.footer__partner {
    display: inline-flex;
    align-items: center;
    opacity: .55;
    transition: .3s;
}
.footer__partner:hover { opacity: 1; }
.footer__partner-logo { height: 34px; width: auto; display: block; }
.footer__partner-img { height: 34px; width: auto; display: block; }

/* ============ SCROLL REVEAL ============ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ============ GRAIN ============ */
.grain {
    position: fixed;
    inset: -50%;
    z-index: 9998;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
    opacity: .028;
    animation: grainShift 8s steps(10) infinite;
}
@keyframes grainShift {
    0%,100% { transform: translate(0,0); }
    20% { transform: translate(-2%,2%); }
    40% { transform: translate(2%,-1%); }
    60% { transform: translate(-1%,-2%); }
    80% { transform: translate(1%,1%); }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 960px) {
    .features, .pricing, .payments { grid-template-columns: 1fr; }
    .steps { grid-template-columns: repeat(2, 1fr); }
    .plan--featured { order: -1; }
}

@media (max-width: 760px) {
    .nav__links {
        position: fixed;
        top: 0;
        right: -100%;
        width: min(300px, 80vw);
        height: 100vh;
        background: #080808;
        border-left: 1px solid var(--card-bd);
        flex-direction: column;
        padding: 5rem 2.2rem;
        gap: 1.8rem;
        transition: .35s ease;
        z-index: 90;
    }
    .nav__links.open { right: 0; }
    .nav__cta { display: none; }
    .nav__burger { display: flex; z-index: 95; }
    .nav__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .nav__burger.open span:nth-child(2) { opacity: 0; }
    .nav__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    .hero__stats { gap: 1.4rem; }
    .stat__sep { display: none; }
    .section { padding: 4.5rem 0; }
    .cta { padding: 4.5rem 0; }
    .footer__inner { flex-direction: column; text-align: center; }
    .hero__sparkle--1 { left: -8px; }
    .hero__sparkle--2 { right: -10px; }
}
