/*
    Radbin — marketing site
    Copyright (c) 2026 Pouya Eti. All rights reserved.

    One stylesheet for every page. Dark by default (the plugin's own palette,
    so the site and the panel read as one product); any section can switch to
    the light theme with `.light`, which re-points the same tokens. Nothing
    here needs a build step — plain CSS, served as is.
*/

/* ============================================================
   TOKENS
   ============================================================ */
:root {
    --bg:        #0B0B0F;
    --bg-2:      #0F0F15;
    --surface:   #15151D;
    --surface-2: #1C1C26;
    --surface-3: #262633;
    --line:      rgba(255, 255, 255, 0.08);
    --line-2:    rgba(255, 255, 255, 0.14);

    --ink:       #F4F4F8;
    --ink-2:     #B8B8C7;
    --ink-3:     #7F7F90;

    --accent:    #7C6BF5;
    --accent-2:  #35C8E0;
    --accent-3:  #F0A33C;
    --good:      #3DBE86;
    --accent-soft: rgba(124, 107, 245, 0.16);
    --accent-line: rgba(124, 107, 245, 0.45);

    --grad:      linear-gradient(90deg, #7C6BF5 0%, #5C8BF0 55%, #35C8E0 100%);
    --grad-135:  linear-gradient(135deg, #8B7BFF 0%, #6553F0 50%, #28B3D1 100%);

    --r-sm: 10px;
    --r-md: 16px;
    --r-lg: 24px;
    --r-xl: 32px;

    --max: 1180px;
    --gutter: clamp(18px, 4vw, 40px);

    --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    --mono: "SF Mono", Menlo, Consolas, "Courier New", monospace;

    --shadow-lg: 0 30px 80px rgba(0, 0, 0, 0.55);
    --shadow-md: 0 14px 40px rgba(0, 0, 0, 0.4);
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* A light section: the same names, the other palette. */
.light {
    --bg:        #F5F4FA;
    --bg-2:      #FFFFFF;
    --surface:   #FFFFFF;
    --surface-2: #F0EFF6;
    --surface-3: #E6E4F0;
    --line:      rgba(20, 18, 31, 0.08);
    --line-2:    rgba(20, 18, 31, 0.14);
    --ink:       #14121F;
    --ink-2:     #4A4859;
    --ink-3:     #7B7A8A;
    --accent-soft: rgba(124, 107, 245, 0.12);
    --accent-line: rgba(124, 107, 245, 0.35);
    --shadow-lg: 0 30px 80px rgba(40, 30, 90, 0.16);
    --shadow-md: 0 14px 40px rgba(40, 30, 90, 0.12);
    background: var(--bg);
    color: var(--ink);
    color-scheme: light;
}

/* ============================================================
   BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
svg { max-width: 100%; }
/* inline icons inside text-bearing controls */
.btn svg, .proof-item svg, .eyebrow svg, .badge svg, .pill svg, .float svg { width: 18px; height: 18px; flex: 0 0 auto; }
.badge svg { width: 14px; height: 14px; }
.eyebrow svg { width: 16px; height: 16px; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
p { margin: 0; }
::selection { background: rgba(124, 107, 245, 0.35); }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.wrap.narrow { max-width: 820px; }
.section { padding-block: clamp(64px, 9vw, 120px); position: relative; }
.section.tight { padding-block: clamp(40px, 6vw, 72px); }

.eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--accent-2);
}
.eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 1px; background: var(--grad); }
.light .eyebrow { color: #5B49E8; }

.h-xl { font-size: clamp(34px, 4.7vw, 62px); }
.h-lg { font-size: clamp(30px, 4.4vw, 52px); }
.h-md { font-size: clamp(24px, 3vw, 34px); }
.h-sm { font-size: 20px; letter-spacing: -0.01em; }
.lead { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.55; color: var(--ink-2); }
.muted { color: var(--ink-2); }
.dim { color: var(--ink-3); }
.center { text-align: center; }
.grad-text {
    background: var(--grad);
    -webkit-background-clip: text; background-clip: text;
    color: transparent;
}
.section-head { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.section-head .h-lg { margin: 14px 0 16px; }
.section-head.left { text-align: left; margin-left: 0; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    height: 48px; padding: 0 22px;
    border-radius: 12px;
    font-weight: 700; font-size: 15px;
    white-space: nowrap;
    transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s, border-color .2s;
    position: relative; overflow: hidden;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
    color: #fff;
    background: var(--grad);
    box-shadow: 0 10px 30px rgba(101, 83, 240, 0.35), inset 0 1px 0 rgba(255,255,255,0.22);
}
.btn-primary:hover { box-shadow: 0 14px 38px rgba(101, 83, 240, 0.5), inset 0 1px 0 rgba(255,255,255,0.22); transform: translateY(-1px); }
.btn-primary::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.18) 50%, transparent 100%);
    transform: translateX(-120%); transition: transform .6s var(--ease);
}
.btn-primary:hover::after { transform: translateX(120%); }
.btn-ghost {
    color: var(--ink);
    background: var(--surface-2);
    border: 1px solid var(--line-2);
}
.btn-ghost:hover { border-color: var(--accent-line); background: var(--surface-3); }
.btn-white { color: #14121F; background: #fff; box-shadow: 0 10px 30px rgba(0,0,0,0.25); }
.btn-white:hover { transform: translateY(-1px); }
.btn-lg { height: 56px; padding: 0 30px; font-size: 16px; border-radius: 14px; }
.btn-sm { height: 38px; padding: 0 16px; font-size: 14px; border-radius: 10px; }
.btn .ico { width: 18px; height: 18px; }
.btn-note { display: block; margin-top: 12px; font-size: 13px; color: var(--ink-3); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
    position: sticky; top: 0; z-index: 50;
    backdrop-filter: blur(16px) saturate(140%);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
    background: rgba(11, 11, 15, 0.72);
    border-bottom: 1px solid var(--line);
}
.nav-in { display: flex; align-items: center; height: 68px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; letter-spacing: -0.02em; color: #F4F4F8; }
.brand-mark {
    width: 30px; height: 30px; border-radius: 9px;
    background: var(--grad-135);
    display: grid; place-items: center;
    box-shadow: 0 4px 14px rgba(101, 83, 240, 0.45), inset 0 1px 0 rgba(255,255,255,0.3);
}
.brand-mark svg { width: 16px; height: 16px; }
.brand-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--accent-2); margin-left: -6px; align-self: flex-end; margin-bottom: 8px; }
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-links a { padding: 8px 12px; border-radius: 8px; font-size: 14px; font-weight: 600; color: #B8B8C7; transition: color .15s, background .15s; }
.nav-links a:hover { color: #F4F4F8; background: rgba(255,255,255,0.06); }
.nav-cta { display: flex; align-items: center; gap: 8px; margin-left: 8px; }
.nav-login { color: #F4F4F8 !important; }
.nav-burger { display: none; width: 42px; height: 42px; border-radius: 10px; align-items: center; justify-content: center; margin-left: auto; color: #F4F4F8; }
.nav-burger span { display: block; width: 20px; height: 2px; background: currentColor; border-radius: 1px; position: relative; }
.nav-burger span::before, .nav-burger span::after { content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: currentColor; border-radius: 1px; }
.nav-burger span::before { top: -6px; } .nav-burger span::after { top: 6px; }
.nav-mobile { display: none; }

@media (max-width: 860px) {
    .nav-links, .nav-cta { display: none; }
    .nav-burger { display: flex; }
    .nav-mobile.open { display: block; border-top: 1px solid var(--line); padding: 10px var(--gutter) 18px; background: rgba(11,11,15,0.96); }
    .nav-mobile a { display: block; padding: 12px 6px; font-weight: 600; color: #F4F4F8; border-bottom: 1px solid var(--line); }
    .nav-mobile .btn { margin-top: 12px; width: 100%; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; overflow: hidden; padding: clamp(56px, 8vw, 110px) 0 clamp(40px, 6vw, 80px); }
.hero-bg { position: absolute; inset: -20% -10% 0; pointer-events: none; z-index: 0; }
.hero-bg .orb {
    position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55;
    animation: drift 18s ease-in-out infinite alternate;
}
.hero-bg .o1 { width: 62vw; height: 62vw; max-width: 780px; max-height: 780px; left: -12%; top: -10%; background: radial-gradient(circle, rgba(124,107,245,0.55), rgba(124,107,245,0) 65%); }
.hero-bg .o2 { width: 48vw; height: 48vw; max-width: 640px; max-height: 640px; right: -10%; top: 10%; background: radial-gradient(circle, rgba(53,200,224,0.45), rgba(53,200,224,0) 65%); animation-delay: -6s; animation-duration: 22s; }
.hero-bg .o3 { width: 40vw; height: 40vw; max-width: 520px; max-height: 520px; left: 35%; top: 45%; background: radial-gradient(circle, rgba(240,163,60,0.22), rgba(240,163,60,0) 65%); animation-delay: -12s; animation-duration: 26s; }
.hero-bg .grid {
    position: absolute; inset: 0;
    background-image: linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse at 50% 30%, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at 50% 30%, black 20%, transparent 70%);
}
@keyframes drift { from { transform: translate3d(0,0,0) scale(1); } to { transform: translate3d(6%, 8%, 0) scale(1.08); } }
.hero .wrap { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero h1 { margin: 18px 0 20px; }
.hero .lead { max-width: 560px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; align-items: center; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 14px 26px; margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--line); }
.proof-item { display: flex; align-items: center; gap: 9px; font-size: 13.5px; color: var(--ink-2); }
.proof-item strong { color: var(--ink); font-weight: 700; }
.proof-item .ico { width: 18px; height: 18px; color: var(--accent-2); flex: 0 0 auto; }
.pill {
    display: inline-flex; align-items: center; gap: 8px;
    height: 32px; padding: 0 12px 0 6px; border-radius: 16px;
    font-size: 13px; font-weight: 600; color: var(--ink-2);
    background: var(--surface-2); border: 1px solid var(--line-2);
}
.pill .tag { height: 22px; padding: 0 9px; border-radius: 11px; display: inline-flex; align-items: center; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #fff; background: var(--grad); }
.pill .live { width: 7px; height: 7px; border-radius: 50%; background: var(--good); box-shadow: 0 0 0 4px rgba(61,190,134,0.18); }

@media (max-width: 960px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero .lead { max-width: none; }
}

/* ============================================================
   BEFORE / AFTER
   ============================================================ */
.ba {
    position: relative; overflow: hidden; border-radius: var(--r-lg);
    aspect-ratio: 3 / 4; background: var(--surface);
    border: 1px solid var(--line-2);
    box-shadow: var(--shadow-lg);
    user-select: none; -webkit-user-select: none; touch-action: none;
    cursor: ew-resize;
}
.ba.wide { aspect-ratio: 4 / 3; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba img.after { clip-path: inset(0 0 0 var(--split, 50%)); }
.ba .handle {
    position: absolute; top: 0; bottom: 0; left: var(--split, 50%);
    width: 2px; background: rgba(255,255,255,0.9); transform: translateX(-1px);
    box-shadow: 0 0 0 1px rgba(0,0,0,0.25), 0 0 24px rgba(255,255,255,0.35);
}
.ba .knob {
    position: absolute; top: 50%; left: 50%;
    width: 46px; height: 46px; margin: -23px 0 0 -23px;
    border-radius: 50%; background: #fff; color: #14121F;
    display: grid; place-items: center;
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}
.ba .knob svg { width: 20px; height: 20px; }
.ba .lbl {
    position: absolute; top: 14px; z-index: 2;
    height: 28px; padding: 0 12px; border-radius: 14px;
    display: inline-flex; align-items: center;
    font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
    color: #fff; background: rgba(10,10,16,0.62); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.14);
}
.ba .lbl.before { left: 14px; }
.ba .lbl.after { right: 14px; background: linear-gradient(90deg, #7C6BF5, #35C8E0); backdrop-filter: none; -webkit-backdrop-filter: none; border-color: rgba(255,255,255,0.3); }
.ba .cap {
    position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 2;
    padding: 10px 14px; border-radius: 12px;
    font-size: 13px; font-weight: 600; color: #fff;
    background: rgba(10,10,16,0.6); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.12);
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.ba .cap .cr { font-size: 12px; color: var(--accent-2); font-weight: 700; white-space: nowrap; }
.ba-hint { text-align: center; font-size: 13px; color: var(--ink-3); margin-top: 12px; }

/* hero: the slider sits inside a soft "device" frame */
.hero-visual { position: relative; }
.hero-visual .ba { transform: rotate(-1.2deg); }
.hero-visual .float {
    position: absolute; z-index: 3;
    padding: 10px 14px; border-radius: 14px;
    background: rgba(21,21,29,0.9); border: 1px solid var(--line-2);
    box-shadow: var(--shadow-md); backdrop-filter: blur(10px);
    font-size: 13px; font-weight: 600; color: var(--ink);
    display: flex; align-items: center; gap: 10px;
    animation: bob 6s ease-in-out infinite;
}
.hero-visual .f1 { left: -18px; top: 12%; }
.hero-visual .f2 { right: -14px; bottom: 16%; animation-delay: -3s; }
.hero-visual .float .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--good); box-shadow: 0 0 0 4px rgba(61,190,134,0.2); }
.hero-visual .float .chip { height: 22px; padding: 0 8px; border-radius: 6px; background: var(--accent-soft); color: #C4BBFF; font-size: 11px; font-weight: 800; display: inline-flex; align-items: center; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (max-width: 960px) { .hero-visual .f1 { left: 8px; } .hero-visual .f2 { right: 8px; } .hero-visual .ba { transform: none; } }

/* ============================================================
   LOGO / TRUST STRIP
   ============================================================ */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); }
.strip-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 40px; padding: 22px 0; font-size: 14px; color: var(--ink-3); }
.strip-in strong { color: var(--ink-2); }
.strip-in .sep { width: 4px; height: 4px; border-radius: 50%; background: var(--ink-3); opacity: .5; }

/* ============================================================
   MARQUEE (recipes)
   ============================================================ */
.marquee { overflow: hidden; position: relative; padding: 8px 0; }
.marquee::before, .marquee::after {
    content: ""; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 2; pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.marquee::after { right: 0; background: linear-gradient(270deg, var(--bg), transparent); }
.marquee-track { display: flex; gap: 14px; width: max-content; animation: scroll 60s linear infinite; }
.marquee.reverse .marquee-track { animation-direction: reverse; animation-duration: 70s; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.recipe-card {
    flex: 0 0 auto; width: 150px;
    border-radius: 16px; overflow: hidden;
    background: var(--surface); border: 1px solid var(--line-2);
    transition: transform .25s var(--ease), border-color .25s;
}
.recipe-card:hover { transform: translateY(-4px) scale(1.02); border-color: var(--accent-line); }
.recipe-card img { width: 150px; height: 150px; object-fit: cover; }
.recipe-card .n { padding: 9px 10px 10px; font-size: 12px; font-weight: 700; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.recipe-card .n span { display: block; font-size: 10.5px; font-weight: 600; color: var(--ink-3); margin-top: 1px; }

/* ============================================================
   CARDS / GRIDS
   ============================================================ */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; } }

.card {
    position: relative; padding: 26px; border-radius: var(--r-lg);
    background: var(--surface); border: 1px solid var(--line);
    transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}
.card:hover { transform: translateY(-4px); border-color: var(--accent-line); box-shadow: var(--shadow-md); }
.card .ico-box {
    width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 18px;
    background: var(--accent-soft); color: var(--accent-2); border: 1px solid var(--accent-line);
}
.light .card .ico-box { color: #5B49E8; }
.card .ico-box svg { width: 22px; height: 22px; }
.card h3 { font-size: 19px; margin-bottom: 8px; }
.card p { color: var(--ink-2); font-size: 15px; }
.card .meta { margin-top: 16px; display: flex; gap: 8px; flex-wrap: wrap; }
.chip { height: 26px; padding: 0 10px; border-radius: 8px; display: inline-flex; align-items: center; font-size: 12px; font-weight: 700; background: var(--surface-2); color: var(--ink-2); border: 1px solid var(--line); }
.chip.acc { background: var(--accent-soft); color: #C4BBFF; border-color: var(--accent-line); }
.light .chip.acc { color: #5B49E8; }
.card.feature { padding: 0; overflow: hidden; }
.card.feature .body { padding: 24px 26px 26px; }
.card.feature .media { aspect-ratio: 16 / 10; background: var(--surface-2); position: relative; overflow: hidden; }
.card.feature .media img { width: 100%; height: 100%; object-fit: cover; }
.card .num { position: absolute; top: 20px; right: 22px; font-family: var(--mono); font-size: 12px; color: var(--ink-3); }

/* bento */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.bento > * { grid-column: span 2; }
.bento .span-3 { grid-column: span 3; }
.bento .span-4 { grid-column: span 4; }
.bento .span-6 { grid-column: span 6; }
@media (max-width: 960px) { .bento > *, .bento .span-3, .bento .span-4 { grid-column: span 3; } }
@media (max-width: 600px) { .bento > *, .bento .span-3, .bento .span-4, .bento .span-6 { grid-column: span 6; } }

/* ============================================================
   THE PANEL MOCK — a picture of the plugin, drawn in HTML
   ============================================================ */
.panel {
    width: 100%; max-width: 360px; margin: 0 auto;
    border-radius: 18px; overflow: hidden;
    background: #0B0B0F; color: #F4F4F8;
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: var(--shadow-lg), 0 0 0 1px rgba(0,0,0,0.5);
    font-size: 12px; text-align: left;
}
.panel .p-top { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; background: #17171F; border-bottom: 1px solid rgba(255,255,255,0.08); }
.panel .p-brand { font-weight: 800; font-size: 14px; }
.panel .p-brand small { display: block; font-weight: 500; font-size: 9.5px; color: #858593; }
.panel .p-meter { display: flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 13px; background: #20202A; border: 1px solid rgba(255,255,255,0.1); font-weight: 700; font-size: 11px; }
.panel .p-meter i { width: 9px; height: 9px; border-radius: 50%; background: #F0C560; display: inline-block; }
.panel .p-tabs { display: flex; gap: 14px; padding: 0 14px; border-bottom: 1px solid rgba(255,255,255,0.08); background: #17171F; }
.panel .p-tabs span { padding: 10px 0 9px; font-weight: 600; color: #858593; border-bottom: 2px solid transparent; }
.panel .p-tabs span.on { color: #F4F4F8; border-color: #7C6BF5; }
.panel .p-body { padding: 14px; display: grid; gap: 12px; }
.panel .p-k { font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #858593; margin-bottom: 6px; }
.panel .p-row { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px; border-radius: 10px; background: #17171F; border: 1px solid rgba(255,255,255,0.08); }
.panel .p-row.on { border-color: rgba(124,107,245,0.5); background: rgba(124,107,245,0.12); }
.panel .p-row b { font-weight: 700; font-size: 12.5px; }
.panel .p-row small { display: block; color: #858593; font-size: 10.5px; margin-top: 1px; }
.panel .p-row .cr { font-size: 11px; font-weight: 700; color: #C4BBFF; }
.panel .p-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.panel .p-chip { height: 24px; padding: 0 9px; border-radius: 7px; display: inline-flex; align-items: center; font-size: 11px; font-weight: 600; background: #20202A; border: 1px solid rgba(255,255,255,0.1); color: #B6B6C4; }
.panel .p-chip.on { background: rgba(124,107,245,0.18); border-color: rgba(124,107,245,0.5); color: #C4BBFF; }
.panel .p-foot { padding: 12px 14px 14px; border-top: 1px solid rgba(255,255,255,0.08); background: #0F0F15; }
.panel .p-cost { display: flex; justify-content: space-between; font-size: 11px; color: #858593; margin-bottom: 8px; }
.panel .p-cost b { color: #F4F4F8; }
.panel .p-go { height: 38px; border-radius: 10px; display: grid; place-items: center; font-weight: 800; color: #fff; background: var(--grad); box-shadow: 0 6px 18px rgba(101,83,240,0.4); }
.panel .p-prog { height: 4px; border-radius: 2px; background: #20202A; overflow: hidden; margin-top: 10px; }
.panel .p-prog i { display: block; height: 100%; width: 62%; background: var(--grad); border-radius: 2px; animation: prog 3.2s ease-in-out infinite; }
@keyframes prog { 0% { width: 8%; } 70% { width: 88%; } 100% { width: 8%; } }

/* ============================================================
   STEPS
   ============================================================ */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step { position: relative; padding: 28px 26px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.step .n { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; font-size: 15px; color: #fff; background: var(--grad); box-shadow: 0 8px 20px rgba(101,83,240,0.35); margin-bottom: 18px; }
.step h3 { font-size: 19px; margin-bottom: 8px; }
.step p { color: var(--ink-2); font-size: 15px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.quote {
    padding: 26px; border-radius: var(--r-lg);
    background: var(--surface); border: 1px solid var(--line);
    display: flex; flex-direction: column; gap: 16px;
}
.quote .stars { color: #F0C560; letter-spacing: 2px; font-size: 14px; }
.quote p { font-size: 16px; line-height: 1.6; color: var(--ink); }
.quote .who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.quote .av { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 14px; color: #fff; background: var(--grad-135); }
.quote .who b { display: block; font-size: 14px; }
.quote .who span { font-size: 12.5px; color: var(--ink-3); }

/* ============================================================
   PRICING
   ============================================================ */
.toggle { display: inline-flex; align-items: center; gap: 4px; padding: 4px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line-2); }
.toggle button { height: 38px; padding: 0 18px; border-radius: 10px; font-weight: 700; font-size: 14px; color: var(--ink-2); transition: all .2s; }
.toggle button.on { background: var(--surface-3); color: var(--ink); box-shadow: 0 2px 8px rgba(0,0,0,0.25); }
.light .toggle button.on { background: #fff; }
.toggle .save { margin-left: 6px; height: 22px; padding: 0 8px; border-radius: 11px; font-size: 11px; font-weight: 800; color: #14121F; background: #FFD338; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; margin-top: 40px; }
@media (max-width: 960px) { .plans { grid-template-columns: 1fr; max-width: 460px; margin-left: auto; margin-right: auto; } }
.plan {
    position: relative; display: flex; flex-direction: column;
    padding: 30px 28px; border-radius: var(--r-xl);
    background: var(--surface); border: 1px solid var(--line-2);
    transition: transform .3s var(--ease), box-shadow .3s;
}
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.plan.hot {
    background: linear-gradient(180deg, rgba(124,107,245,0.14), rgba(124,107,245,0.02)), var(--surface);
    border-color: rgba(124,107,245,0.55);
    box-shadow: 0 0 0 1px rgba(124,107,245,0.25), 0 30px 70px rgba(80,60,200,0.25);
}
.plan .badge { position: absolute; top: -14px; left: 28px; height: 28px; padding: 0 12px; border-radius: 14px; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; font-size: 11.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #fff; background: var(--grad); box-shadow: 0 6px 18px rgba(101,83,240,0.4); }
.plan .name { font-size: 14px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.plan .price { display: flex; align-items: baseline; gap: 6px; margin: 14px 0 4px; }
.plan .price .cur { font-size: 22px; font-weight: 700; color: var(--ink-2); align-self: flex-start; margin-top: 8px; }
.plan .price .n { font-size: 52px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.plan .price .per { font-size: 14px; color: var(--ink-3); }
.plan .bill { font-size: 13px; color: var(--ink-3); min-height: 20px; }
.plan .credits { margin: 20px 0 6px; padding: 14px 16px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.plan .credits b { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.plan .credits span { font-size: 12.5px; color: var(--ink-3); text-align: right; line-height: 1.35; }
.plan .worth { font-size: 13px; color: var(--ink-2); margin: 6px 0 18px; }
.plan ul { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 10px; }
.plan li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--ink-2); }
.plan li svg { width: 18px; height: 18px; flex: 0 0 auto; color: var(--accent-2); margin-top: 2px; }
.light .plan li svg { color: #5B49E8; }
.plan .btn { margin-top: auto; width: 100%; }
.plan .fine { margin-top: 12px; font-size: 12px; color: var(--ink-3); text-align: center; }
.packs { margin-top: 28px; padding: 22px 26px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.packs .t { font-weight: 700; }
.packs .t small { display: block; font-weight: 500; color: var(--ink-3); font-size: 13px; }
.packs .opts { display: flex; flex-wrap: wrap; gap: 10px; margin-left: auto; }
.packs a { display: inline-flex; flex-direction: column; align-items: center; padding: 10px 16px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line-2); font-weight: 800; font-size: 15px; transition: border-color .2s, transform .2s; }
.packs a small { font-size: 12px; font-weight: 600; color: var(--ink-3); }
.packs a:hover { border-color: var(--accent-line); transform: translateY(-2px); }
.calc { margin-top: 20px; font-size: 14px; color: var(--ink-3); text-align: center; }

/* credits explainer */
.credit-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.credit-table th, .credit-table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); }
.credit-table th { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); font-weight: 700; }
.credit-table td.n { text-align: right; font-weight: 800; white-space: nowrap; }
.credit-table tr:last-child td { border-bottom: 0; }

/* ============================================================
   FAQ
   ============================================================ */
.faq { display: grid; gap: 10px; max-width: 820px; margin: 0 auto; }
.faq details { border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.faq details[open] { border-color: var(--accent-line); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 22px; font-weight: 700; font-size: 16px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; font-weight: 400; color: var(--ink-3); transition: transform .25s; flex: 0 0 auto; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .a { padding: 0 22px 20px; color: var(--ink-2); font-size: 15px; line-height: 1.65; }
.faq .a a { color: var(--accent-2); font-weight: 600; }
.light .faq .a a { color: #5B49E8; }

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band { position: relative; overflow: hidden; border-radius: var(--r-xl); padding: clamp(40px, 6vw, 72px); text-align: center; background: #14121F; border: 1px solid rgba(124,107,245,0.35); }
.cta-band::before { content: ""; position: absolute; inset: -40%; background: radial-gradient(circle at 30% 30%, rgba(124,107,245,0.45), transparent 45%), radial-gradient(circle at 75% 70%, rgba(53,200,224,0.35), transparent 45%); filter: blur(40px); animation: drift 20s ease-in-out infinite alternate; }
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; }
.cta-band .lead { color: #C9C6DA; margin: 14px auto 28px; max-width: 620px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { border-top: 1px solid var(--line); padding: 56px 0 32px; background: var(--bg-2); color: var(--ink-2); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer h4 { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 14px; font-weight: 700; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer a { color: var(--ink-2); font-size: 14.5px; transition: color .15s; }
.footer a:hover { color: var(--ink); }
.footer .blurb { font-size: 14px; color: var(--ink-3); max-width: 320px; margin-top: 12px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-3); }

/* ============================================================
   DOCUMENT PAGES (legal, guides, blog posts)
   ============================================================ */
.doc-hero { padding: clamp(44px, 6vw, 80px) 0 clamp(24px, 3vw, 40px); position: relative; overflow: hidden; }
.doc-hero .h-lg { margin: 14px 0 12px; }
.doc { max-width: 780px; margin: 0 auto; padding-bottom: clamp(64px, 9vw, 120px); }
.doc h2 { font-size: 26px; margin: 48px 0 14px; letter-spacing: -0.02em; }
.doc h3 { font-size: 19px; margin: 30px 0 10px; }
.doc p, .doc li { color: var(--ink-2); font-size: 16px; line-height: 1.7; }
.doc p { margin: 0 0 16px; }
.doc ul, .doc ol { margin: 0 0 18px; padding-left: 22px; }
.doc li { margin-bottom: 6px; }
.doc a { color: var(--accent-2); font-weight: 600; }
.doc strong { color: var(--ink); }
.doc hr { border: 0; border-top: 1px solid var(--line); margin: 40px 0; }
.doc .callout { padding: 18px 22px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--accent-line); margin: 22px 0; }
.doc .callout p { margin: 0; }
.doc img { border-radius: var(--r-md); border: 1px solid var(--line); margin: 18px 0; }
.doc code { font-family: var(--mono); font-size: 14px; padding: 2px 6px; border-radius: 6px; background: var(--surface-2); border: 1px solid var(--line); }
.doc-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 13.5px; color: var(--ink-3); }
.toc { padding: 20px 22px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); margin-bottom: 36px; }
.toc b { display: block; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 10px; }
.toc ol { margin: 0; padding-left: 20px; columns: 2; }
.toc li { margin-bottom: 4px; font-size: 14.5px; }
@media (max-width: 600px) { .toc ol { columns: 1; } }
.doc-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.doc-nav a { height: 34px; padding: 0 14px; border-radius: 17px; display: inline-flex; align-items: center; font-size: 13.5px; font-weight: 600; background: var(--surface); border: 1px solid var(--line-2); color: var(--ink-2); }
.doc-nav a.on, .doc-nav a:hover { border-color: var(--accent-line); color: var(--ink); }

/* post cards (blog / guides index) */
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 960px) { .posts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .posts { grid-template-columns: 1fr; } }
.post { display: flex; flex-direction: column; border-radius: var(--r-lg); overflow: hidden; background: var(--surface); border: 1px solid var(--line); transition: transform .3s var(--ease), border-color .3s; }
.post:hover { transform: translateY(-4px); border-color: var(--accent-line); }
.post .thumb { aspect-ratio: 16 / 9; background: var(--grad-135); position: relative; overflow: hidden; }
.post .thumb img { width: 100%; height: 100%; object-fit: cover; }
.post .thumb .k { position: absolute; left: 14px; bottom: 12px; height: 24px; padding: 0 9px; border-radius: 12px; display: inline-flex; align-items: center; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #fff; background: rgba(10,10,16,0.6); backdrop-filter: blur(8px); }
.post .body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.post h3 { font-size: 18px; }
.post p { color: var(--ink-2); font-size: 14.5px; }
.post .meta { margin-top: auto; padding-top: 10px; font-size: 12.5px; color: var(--ink-3); }

/* ============================================================
   REVEAL ON SCROLL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    .hero-bg .orb, .marquee-track, .cta-band::before, .hero-visual .float, .panel .p-prog i { animation: none !important; }
    html { scroll-behavior: auto; }
}

/* utilities */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 40px; }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.row.center { justify-content: center; }
