/* =========================================================================
   Doinpower Creators — Core Stylesheet
   Light SaaS redesign. Honest application flow (no fake scanner, no fabricated
   metrics, no deceptive auth funnel). Shared by index.html and dashboard/index.html.
   ========================================================================= */

/* Layout: single-column editorial landing, generous vertical rhythm,
   one accent (indigo) on a warm-neutral grey. */
:root {
  --bg: #fbfbfd;
  --surface: #ffffff;
  --surface-2: #f4f4f8;
  --fg: #15161c;
  --muted: #5c5e6e;
  --faint: #8b8d9c;
  --border: #e7e7ef;
  --accent: #4f46e5;
  --accent-ink: #3a32c2;
  --accent-soft: #eef0ff;
  --ok: #0f9d6e;
  --danger: #e1483c;
  --shadow: 0 1px 2px rgba(20,22,40,.04), 0 12px 32px -12px rgba(20,22,40,.12);
  --shadow-lg: 0 2px 6px rgba(20,22,40,.05), 0 28px 60px -20px rgba(28,25,90,.22);
  --radius: 18px;
  --maxw: 1080px;
  --font-display: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, sans-serif;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0d0e14;
    --surface: #15161f;
    --surface-2: #1b1d28;
    --fg: #f1f1f6;
    --muted: #a6a8ba;
    --faint: #74768a;
    --border: #272a39;
    --accent: #8b84ff;
    --accent-ink: #a7a1ff;
    --accent-soft: #1d1e35;
    --ok: #3dd1a0;
    --danger: #ff6b5e;
    --shadow: 0 1px 2px rgba(0,0,0,.4), 0 12px 32px -12px rgba(0,0,0,.6);
    --shadow-lg: 0 2px 6px rgba(0,0,0,.5), 0 28px 60px -20px rgba(0,0,0,.7);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0d0e14;
  --surface: #15161f;
  --surface-2: #1b1d28;
  --fg: #f1f1f6;
  --muted: #a6a8ba;
  --faint: #74768a;
  --border: #272a39;
  --accent: #8b84ff;
  --accent-ink: #a7a1ff;
  --accent-soft: #1d1e35;
  --ok: #3dd1a0;
  --danger: #ff6b5e;
  --shadow: 0 1px 2px rgba(0,0,0,.4), 0 12px 32px -12px rgba(0,0,0,.6);
  --shadow-lg: 0 2px 6px rgba(0,0,0,.5), 0 28px 60px -20px rgba(0,0,0,.7);
  color-scheme: dark;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; }
h1, h2, h3 { font-family: var(--font-display); text-wrap: balance; letter-spacing: -0.02em; line-height: 1.1; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-ink); }

/* ── Buttons ─────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 15px;
  border-radius: 999px; padding: 13px 24px;
  cursor: pointer; border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  font-family: var(--font-body);
}
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 6px 18px -6px var(--accent); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 10px 26px -8px var(--accent); }
.btn-ghost { background: var(--surface); color: var(--fg); border-color: var(--border); }
.btn-ghost:hover { background: var(--surface-2); }

/* ── Header ──────────────────────────────────────────────────────────── */
header.nav {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
/* Offsets in-page anchor targets so the sticky header never covers the
   section heading, and keeps #top flush with the real top of the page. */
#services, #process, #faq, #apply, #commercial, #production, #packaging, #protection, #localization, #comparison { scroll-margin-top: calc(82px + env(safe-area-inset-top, 0px)); }
#top { scroll-margin-top: 0; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 66px; }
/* Logo lockup — chosen concept "A. Header lockup": Signal mark (flat
   indigo tile) + lowercase wordmark, single line, no icon gradient. */
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-logo { display: inline-flex; align-items: center; gap: 10px; }
.brand-logo b { font-family: var(--font-display); font-size: 21px; font-weight: 800; letter-spacing: -0.03em; text-transform: lowercase; color: var(--fg); line-height: 1; }
.brand-sep { width: 1px; height: 15px; background: color-mix(in srgb, var(--fg) 22%, transparent); display: inline-block; }
.brand-tag { font-family: var(--font-display); font-size: 12px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: color-mix(in srgb, var(--fg) 62%, transparent); line-height: 1; }
.brand .mark { width: 32px; height: 32px; border-radius: 9px; background: var(--accent); display: grid; place-items: center; color: #fff; box-shadow: var(--shadow); flex: none; }
.brand b { font-family: var(--font-display); font-size: 19px; font-weight: 800; letter-spacing: -0.02em; text-transform: none; color: var(--fg); }
.brand small { display: block; font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--faint); font-weight: 700; margin-top: -2px; }
.nav-links { display: flex; gap: 30px; font-size: 14.5px; font-weight: 500; color: var(--muted); }
.nav-links a:hover { color: var(--fg); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
@media (max-width: 760px) { .nav-links { display: none; } }

/* ── Hero ────────────────────────────────────────────────────────────── */
.hero { padding-block: 84px 72px; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(620px 420px at 78% -8%, var(--accent-soft), transparent 70%); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; position: relative; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); font-size: 12.5px; font-weight: 600; color: var(--muted); box-shadow: var(--shadow); }
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }
h1.hero-title { font-size: clamp(34px, 5vw, 56px); font-weight: 800; margin-top: 22px; }
h1.hero-title .accent { color: var(--accent); }
.hero p.lede { font-size: clamp(16px, 2vw, 19px); color: var(--muted); max-width: 32ch; margin-top: 20px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-note { margin-top: 16px; font-size: 13px; color: var(--faint); }

/* Hero channel-link field (single input + submit) */
.channel-bar { display: flex; align-items: center; gap: 8px; margin-top: 30px; width: 100%; max-width: 540px; background: var(--surface); border: 1.5px solid var(--border); border-radius: 999px; padding: 7px 7px 7px 18px; box-shadow: var(--shadow); transition: border-color .15s ease, box-shadow .15s ease; }
.channel-bar:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 16%, transparent); }
.channel-bar input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--fg); font: inherit; font-size: 16px; padding: 10px 2px; }
.channel-bar input::placeholder { color: var(--faint); }
.channel-bar .btn { flex: none; padding: 11px 22px; touch-action: manipulation; }
@media (max-width: 520px) {
  .channel-bar { flex-wrap: wrap; border-radius: 20px; padding: 12px; }
  .channel-bar input { flex: 1 1 100%; font-size: 16px; padding: 8px 6px; }
  .channel-bar .btn { flex: 1 1 100%; justify-content: center; min-height: 48px; }
}
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; gap: 40px; } .hero { padding-block: 56px 48px; } }

/* hero side panel: honest "what you get" card, no fabricated metrics */
.panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-lg); }
.panel h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--faint); font-weight: 700; margin-bottom: 4px; }
.panel ul { list-style: none; margin-top: 14px; display: grid; gap: 12px; }
.panel li { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; }
.panel li .ic { flex: none; width: 26px; height: 26px; border-radius: 8px; background: var(--accent-soft); color: var(--accent-ink); display: grid; place-items: center; }
.panel li b { display: block; font-weight: 600; }
.panel li span { color: var(--muted); font-size: 13px; }

/* ── Section shells ──────────────────────────────────────────────────── */
section.block { padding-block: 72px; }
.section-head { max-width: 46ch; margin-bottom: 42px; }
.section-head h2 { font-size: clamp(26px, 3.4vw, 36px); font-weight: 800; margin-top: 10px; }
.section-head p { color: var(--muted); margin-top: 12px; font-size: 16px; }
.tint { background: var(--surface-2); border-block: 1px solid var(--border); }

/* ── Services ────────────────────────────────────────────────────────── */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); transition: transform .18s ease, border-color .18s ease; }
.card:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--accent) 40%, var(--border)); }
.card .ic { width: 46px; height: 46px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-ink); display: grid; place-items: center; margin-bottom: 16px; }
.card h3 { font-size: 18px; font-weight: 700; }
.card p { color: var(--muted); font-size: 14.5px; margin-top: 8px; }
@media (max-width: 680px) { .cards { grid-template-columns: 1fr; } }

/* ── Process ─────────────────────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow); position: relative; }
.step .num { width: 38px; height: 38px; border-radius: 10px; background: var(--accent); color: #fff; font-family: var(--font-display); font-weight: 800; display: grid; place-items: center; font-size: 16px; margin-bottom: 16px; }
.step h3 { font-size: 17px; font-weight: 700; }
.step p { color: var(--muted); font-size: 14px; margin-top: 8px; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* ── Application form ────────────────────────────────────────────────── */
.apply-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.apply-aside h2 { font-size: clamp(26px, 3.4vw, 34px); font-weight: 800; margin-top: 10px; }
.apply-aside > p { color: var(--muted); margin-top: 12px; }
.apply-aside ul { list-style: none; margin-top: 18px; display: grid; gap: 14px; }
.apply-aside li { display: flex; gap: 12px; font-size: 14.5px; color: var(--muted); }
.apply-aside li .ic { flex: none; color: var(--ok); margin-top: 2px; }
.form-card { background: var(--surface); border: 1px solid var(--border); border-radius: 22px; padding: 30px; box-shadow: var(--shadow-lg); }
.field { display: grid; gap: 7px; margin-bottom: 16px; }
.field label { font-size: 13px; font-weight: 600; color: var(--muted); }
.field input, .field select, .field textarea { font: inherit; font-size: 15px; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--border); background: var(--bg); color: var(--fg); outline: none; transition: border-color .15s ease, box-shadow .15s ease; width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 16%, transparent); }
.field textarea { resize: vertical; min-height: 92px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-error { color: var(--danger); font-size: 13px; margin-top: 10px; }
@media (max-width: 820px) { .apply-grid { grid-template-columns: 1fr; gap: 28px; } .form-row { grid-template-columns: 1fr; } }

/* ── FAQ ─────────────────────────────────────────────────────────────── */
/* Page header for the standalone FAQ page */
.page-head { padding-block: 64px 8px; }
.page-head h1 { font-size: clamp(30px, 4.4vw, 46px); font-weight: 800; margin-top: 10px; }
.page-head p { color: var(--muted); margin-top: 14px; font-size: 17px; max-width: 54ch; }

/* Grouped FAQ: a labelled category followed by its questions */
.faq-groups { display: grid; gap: 40px; max-width: 820px; }
.faq-group > h2 { font-size: 20px; font-weight: 700; margin-bottom: 14px; display: flex; align-items: center; gap: 12px; }
.faq-group > h2 .tag { font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-ink); background: var(--accent-soft); border-radius: 999px; padding: 4px 10px; }

/* CTA band at the bottom of the FAQ page */
.cta-band { background: var(--surface); border: 1px solid var(--border); border-radius: 22px; box-shadow: var(--shadow-lg); padding: 36px; display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
.cta-band h2 { font-size: 24px; font-weight: 800; }
.cta-band p { color: var(--muted); margin-top: 6px; font-size: 15px; }

.faq { display: grid; gap: 12px; max-width: 760px; }
details { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 4px 20px; }
details summary { list-style: none; cursor: pointer; font-weight: 600; font-size: 15.5px; padding: 16px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; color: var(--accent); font-size: 22px; font-weight: 400; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { color: var(--muted); font-size: 14.5px; padding-bottom: 18px; }

/* ── Footer ──────────────────────────────────────────────────────────── */
footer.site-footer, footer.foot { border-top: 1px solid var(--border); padding-block: 36px; }
.foot-inner { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between; }
.foot-links { display: flex; flex-wrap: wrap; gap: 22px; font-size: 13.5px; color: var(--muted); }
.foot-links a:hover { color: var(--fg); }

/* ── "Application received" page (dashboard/index.html) ─────────────── */
.confirm-page { min-height: 70vh; display: grid; place-items: center; padding-block: 60px; }
.confirm-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: start; }
.confirm-card { max-width: 560px; margin-inline: auto; background: var(--surface); border: 1px solid var(--border); border-radius: 24px; padding: 40px; box-shadow: var(--shadow-lg); text-align: center; }
@media (max-width: 860px) { .confirm-grid { grid-template-columns: 1fr; } }

/* "While you wait" side panel next to the confirmation card */
.confirm-aside { max-width: 400px; margin-inline: auto; width: 100%; }
.confirm-aside ul { list-style: none; margin-top: 14px; display: grid; gap: 4px; }
.confirm-aside .link-row { display: flex; gap: 12px; align-items: flex-start; padding: 10px 8px; margin-inline: -8px; border-radius: 12px; text-decoration: none; color: inherit; transition: background .15s ease; }
.confirm-aside .link-row:hover { background: var(--surface-2); }
.confirm-aside .link-row .ic { flex: none; width: 26px; height: 26px; border-radius: 8px; background: var(--accent-soft); color: var(--accent-ink); display: grid; place-items: center; }
.confirm-aside .link-row b { display: block; font-weight: 600; font-size: 14.5px; }
.confirm-aside .link-row span.desc { color: var(--muted); font-size: 13px; }
.confirm-aside .link-row .arrow { margin-left: auto; align-self: center; color: var(--faint); flex: none; }
.confirm-card .check { width: 64px; height: 64px; border-radius: 50%; background: color-mix(in srgb, var(--ok) 16%, transparent); color: var(--ok); display: grid; place-items: center; margin: 0 auto 20px; }
.confirm-card h1 { font-size: 28px; font-weight: 800; }
.confirm-card .echo { font-weight: 600; color: var(--accent-ink); }
.confirm-card > p { color: var(--muted); margin-top: 12px; }
.next { text-align: left; margin-top: 26px; display: grid; gap: 12px; }
.next .row { display: flex; gap: 14px; align-items: flex-start; background: var(--surface-2); border: 1px solid var(--border); border-radius: 14px; padding: 14px 16px; }
.next .row .n { flex: none; width: 26px; height: 26px; border-radius: 8px; background: var(--accent); color: #fff; font-weight: 700; font-size: 13px; display: grid; place-items: center; }
.next .row b { font-size: 14.5px; }
.next .row p { color: var(--muted); font-size: 13px; margin-top: 2px; }

.offer-overlay { position: fixed; inset: 0; z-index: 1100; display: flex; justify-content: center; align-items: center; padding: 16px; overflow-y: auto; -webkit-overflow-scrolling: touch; visibility: hidden; opacity: 0; transition: opacity .24s ease, visibility .24s ease; }
.offer-overlay.is-open { visibility: visible; opacity: 1; }
.offer-overlay::before { content: ""; position: fixed; inset: 0; background: rgba(13, 14, 20, 0.65); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.offer-card { position: relative; width: 100%; max-width: 440px; max-height: calc(100vh - 32px); overflow-y: auto; -webkit-overflow-scrolling: touch; background: var(--surface); border: 1px solid var(--border); border-radius: 22px; padding: 30px 24px 24px; box-shadow: var(--shadow-lg); text-align: center; transform: translateY(14px) scale(.97); transition: transform .28s cubic-bezier(.16,1,.3,1); margin: auto; }
.offer-overlay.is-open .offer-card { transform: none; }
.offer-badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 700; }
.offer-card h2 { font-size: 21px; font-weight: 800; margin-top: 14px; }
.offer-card .offer-sub { color: var(--muted); font-size: 13.5px; margin-top: 8px; }
.offer-chan { display: flex; align-items: center; gap: 12px; background: var(--surface-2); border: 1px solid var(--border); border-radius: 14px; padding: 12px 14px; margin-top: 18px; text-align: left; }
.offer-chan img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; flex: none; background: var(--bg); }
.offer-chan .name { font-weight: 700; font-size: 14px; }
.offer-chan .subs { margin-left: auto; font-size: 12px; color: var(--muted); background: var(--bg); border: 1px solid var(--border); border-radius: 999px; padding: 4px 10px; white-space: nowrap; }
.offer-list { margin-top: 16px; display: grid; gap: 10px; text-align: left; }
.offer-item { display: flex; gap: 12px; align-items: flex-start; border: 1px solid var(--border); border-radius: 14px; padding: 12px 14px; }
.offer-item .ic { flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; color: var(--accent-ink); background: var(--accent-soft); margin-top: 1px; }
.offer-item b { display: block; font-size: 13.5px; }
.offer-item p { color: var(--muted); font-size: 12.5px; margin-top: 2px; }
.offer-card .btn-primary { width: 100%; justify-content: center; margin-top: 20px; }
.offer-card .btn-text { margin-top: 10px; font-size: 12.5px; color: var(--faint); background: none; border: none; cursor: pointer; font-family: inherit; }
.offer-demo-note { margin-top: 14px; font-size: 11px; color: var(--faint); border-top: 1px dashed var(--border); padding-top: 10px; }

/* Channel stats card on the confirmation page (real YouTube Data API) */
.chan { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 24px; }
.chan-avatar { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; background: var(--surface-2); border: 1px solid var(--border); }
.chan-name { font-family: var(--font-display); font-weight: 800; font-size: 18px; }
.chan-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; width: 100%; margin-top: 4px; }
.chan-stats .stat { background: var(--surface-2); border: 1px solid var(--border); border-radius: 14px; padding: 14px 8px; }
.chan-stats .stat-val { display: block; font-family: var(--font-display); font-weight: 800; font-size: 20px; font-variant-numeric: tabular-nums; }
.chan-stats .stat-lbl { display: block; color: var(--muted); font-size: 11.5px; margin-top: 3px; }
.chan-loading { margin-top: 24px; color: var(--muted); font-size: 13.5px; display: flex; flex-direction: column; align-items: center; }
.chan-loading .loader-spinner { width: 34px; height: 34px; margin: 0 0 10px; }
.chan-error { margin-top: 18px; color: var(--danger); font-size: 13px; background: color-mix(in srgb, var(--danger) 10%, transparent); border: 1px solid color-mix(in srgb, var(--danger) 30%, transparent); border-radius: 12px; padding: 12px 14px; }

/* === SLOT FOR YOUR OWN CONTENT ON PAGE 2 ===
   Drop your own block into #custom-slot later (e.g. a client portal).
   It is an empty container by default — no login buttons of any kind. */
#custom-slot { margin-top: 24px; }
#custom-slot:empty { display: none; }

.loader-overlay { position: fixed; inset: 0; z-index: 1050; display: flex; justify-content: center; align-items: center; padding: 16px; overflow-y: auto; -webkit-overflow-scrolling: touch; visibility: hidden; opacity: 0; transition: opacity .24s ease, visibility .24s ease; }
.loader-overlay.is-open { visibility: visible; opacity: 1; }
.loader-overlay::before { content: ""; position: fixed; inset: 0; background: rgba(13, 14, 20, 0.6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.loader-card { position: relative; width: 100%; max-width: 380px; background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 34px 28px; box-shadow: var(--shadow-lg); text-align: center; transform: translateY(12px) scale(.97); transition: transform .28s cubic-bezier(.16,1,.3,1); margin: auto; }
.loader-overlay.is-open .loader-card { transform: none; }
.loader-spinner { width: 46px; height: 46px; margin: 0 auto 18px; border-radius: 50%; border: 3px solid var(--border); border-top-color: var(--accent); animation: loaderspin .8s linear infinite; }
.loader-card h3 { font-size: 17px; font-weight: 700; }
.loader-card p { color: var(--muted); font-size: 13.5px; margin-top: 6px; }
@keyframes loaderspin { to { transform: rotate(360deg); } }

/* Checklist-style loader (steps + progress bar), used by the submit modal */
.loader-card.is-checklist { max-width: 380px; text-align: left; padding: 30px 26px 26px; }
.loader-pulse { width: 44px; height: 44px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; position: relative; }
.loader-pulse::before, .loader-pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid var(--accent); animation: loaderpulse 1.8s cubic-bezier(.16,1,.3,1) infinite; }
.loader-pulse::after { animation-delay: .9s; }
.loader-pulse span { width: 11px; height: 11px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px color-mix(in srgb, var(--accent) 60%, transparent); }
@keyframes loaderpulse { 0% { transform: scale(.3); opacity: .8; } 100% { transform: scale(1.15); opacity: 0; } }
.loader-card.is-checklist h3 { text-align: center; font-size: 17px; }
.loader-sub { text-align: center; font-size: 12.5px; color: var(--muted); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; min-height: 18px; margin-top: 4px; }

.loader-steps { list-style: none; margin: 18px 0 16px; display: grid; gap: 3px; }
.loader-step { display: flex; align-items: center; gap: 11px; padding: 7px 2px; font-size: 13px; color: var(--faint); opacity: .5; transition: opacity .2s ease, color .2s ease; }
.loader-step-dot { position: relative; width: 19px; height: 19px; flex: none; border-radius: 50%; border: 1.5px solid var(--border); background: var(--bg); transition: all .2s ease; }
.loader-step-label { flex: 1; font-weight: 500; }

.loader-step.is-active { opacity: 1; color: var(--fg); }
.loader-step.is-active .loader-step-dot { border-color: var(--accent); }
.loader-step.is-active .loader-step-dot::after { content: ""; position: absolute; inset: 2px; border-radius: 50%; border: 2px solid color-mix(in srgb, var(--accent) 25%, transparent); border-top-color: var(--accent); animation: loaderspin .7s linear infinite; }

.loader-step.is-done { opacity: 1; color: var(--fg); }
.loader-step.is-done .loader-step-dot { border-color: var(--ok); background: var(--ok); }
.loader-step.is-done .loader-step-dot::after { content: ""; position: absolute; inset: 0; background: no-repeat center/10px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.6l4.6 4.4L19 7'/%3E%3C/svg%3E"); }

.loader-progress-row { display: flex; align-items: center; justify-content: space-between; font-size: 11.5px; font-weight: 600; color: var(--faint); margin-bottom: 6px; }
.loader-progress-row span:last-child { color: var(--accent-ink); font-variant-numeric: tabular-nums; }
.loader-track { width: 100%; height: 5px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.loader-bar { height: 100%; width: 0%; border-radius: 999px; background: linear-gradient(90deg, var(--accent), var(--accent-ink)); transition: width .25s ease; }

@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; scroll-behavior: auto !important; } .loader-spinner { border-top-color: var(--accent); } }

/* ── About Page Styles ──────────────────────────────────────────────── */
.about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 36px;
}
.about-stat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 20px;
  box-shadow: var(--shadow);
  text-align: center;
}
.about-stat-val {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(24px, 3.2vw, 32px);
  color: var(--accent-ink);
  letter-spacing: -0.02em;
}
.about-stat-lbl {
  display: block;
  color: var(--muted);
  font-size: 13px;
  margin-top: 6px;
  font-weight: 500;
}

.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.about-story p {
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.65;
  margin-top: 14px;
}

.infra-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.infra-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  box-shadow: var(--shadow);
  transition: transform .18s ease, border-color .18s ease;
}
.infra-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--accent) 40%, var(--border));
}
.infra-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 8px;
}
.infra-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 999px;
  text-transform: uppercase;
}
.infra-tag.commercial { color: var(--accent-ink); background: var(--accent-soft); }
.infra-tag.production { color: #3b82f6; background: rgba(59,130,246,0.12); }
.infra-tag.protection { color: #ec4899; background: rgba(236,72,153,0.12); }
.infra-tag.scale { color: #f59e0b; background: rgba(245,158,11,0.12); }

.infra-metric {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
}
.infra-metric.commercial { color: var(--ok); background: rgba(16,185,129,0.1); }
.infra-metric.production { color: #3b82f6; background: rgba(59,130,246,0.1); }
.infra-metric.protection { color: #ec4899; background: rgba(236,72,153,0.1); }
.infra-metric.scale { color: #f59e0b; background: rgba(245,158,11,0.1); }

.infra-card h3 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 8px;
}
.infra-card p {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.6;
}

.brands-strip {
  margin-top: 40px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 24px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
}
.brands-strip-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--faint);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.brands-strip-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  color: var(--muted);
  font-size: 14.5px;
  font-weight: 700;
}

.about-cta {
  background: linear-gradient(135deg, var(--surface), var(--surface-2));
  border: 1px solid color-mix(in srgb, var(--accent) 30%, var(--border));
  border-radius: 24px;
  padding: 48px 36px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  margin-top: 40px;
}
.about-cta h2 {
  font-size: clamp(24px, 3.5vw, 34px);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.about-cta p {
  color: var(--muted);
  font-size: 16px;
  max-width: 58ch;
  margin: 12px auto 26px;
  line-height: 1.6;
}

@media (max-width: 820px) {
  .about-stats { grid-template-columns: repeat(2, 1fr); }
  .about-split { grid-template-columns: 1fr; gap: 28px; }
  .infra-grid { grid-template-columns: 1fr; }
  .brands-strip { flex-direction: column; align-items: flex-start; padding: 20px; }
  .brands-strip-list { gap: 14px; }
}

@media (max-width: 480px) {
  .about-stats { grid-template-columns: 1fr; }
  .about-cta { padding: 32px 20px; }
}

/* ── Services Page Styles ───────────────────────────────────────────── */
.services-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.services-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  transition: all .18s ease;
}
.services-tab:hover {
  background: var(--surface-2);
  color: var(--fg);
  border-color: color-mix(in srgb, var(--accent) 40%, var(--border));
}

.service-card-deep {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 38px 34px;
  box-shadow: var(--shadow);
  margin-bottom: 28px;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 36px;
  align-items: center;
  transition: border-color .18s ease;
}
.service-card-deep:hover {
  border-color: color-mix(in srgb, var(--accent) 35%, var(--border));
}
.service-card-deep.reverse {
  grid-template-columns: .8fr 1.2fr;
}
.service-card-deep.reverse > div:first-child {
  order: 2;
}
.service-card-deep.reverse > div:last-child {
  order: 1;
}

.service-deliverables {
  list-style: none;
  margin: 20px 0 0;
  display: grid;
  gap: 12px;
}
.service-deliverable {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.5;
}
.service-deliverable b {
  color: var(--fg);
}
.service-deliverable .check-ic {
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.12);
  color: var(--ok);
  display: grid;
  place-items: center;
  margin-top: 1px;
}

.service-callout-box {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  text-align: center;
  box-shadow: var(--shadow);
}
.service-callout-stat {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 42px);
  font-weight: 800;
  color: var(--accent-ink);
  letter-spacing: -0.02em;
  display: block;
}
.service-callout-lbl {
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 600;
  margin-top: 6px;
  display: block;
}
.service-callout-note {
  font-size: 12.5px;
  color: var(--faint);
  margin-top: 14px;
  line-height: 1.5;
  border-top: 1px solid var(--border);
  padding-top: 12px;
}

/* Comparison Table */
.compare-section {
  background: var(--surface-2);
  border-block: 1px solid var(--border);
  padding-block: 72px;
}
.compare-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-top: 36px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow);
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14px;
  min-width: 600px;
}
.compare-table th {
  padding: 18px 24px;
  font-weight: 700;
  border-bottom: 1px solid var(--border);
  color: var(--fg);
}
.compare-table th.highlight {
  color: var(--accent-ink);
  background: rgba(99, 102, 241, 0.05);
}
.compare-table td {
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
}
.compare-table tr:last-child td {
  border-bottom: none;
}
.compare-table td.highlight {
  color: var(--fg);
  font-weight: 600;
  background: rgba(99, 102, 241, 0.05);
}

@media (max-width: 860px) {
  .service-card-deep {
    grid-template-columns: 1fr !important;
    padding: 28px 22px;
    gap: 24px;
  }
  .service-card-deep.reverse > div:first-child { order: 1; }
  .service-card-deep.reverse > div:last-child { order: 2; }
}

/* ── Landing Page Services Showcase ────────────────────────────────── */
.home-services-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 36px;
}
.home-services-head .section-head {
  margin-bottom: 0;
  max-width: 580px;
}
.home-services-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-ink);
  background: var(--accent-soft);
  padding: 10px 20px;
  border-radius: 999px;
  text-decoration: none;
  transition: all .18s ease;
  border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent);
}
.home-services-link:hover {
  background: color-mix(in srgb, var(--accent) 22%, transparent);
  transform: translateX(3px);
}

.home-pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.home-pillar {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 30px 28px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform .18s ease, border-color .18s ease;
}
.home-pillar:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--accent) 35%, var(--border));
}
.home-pillar-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}
.home-pillar-ic {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent-ink);
  display: grid;
  place-items: center;
}
.home-pillar-badge {
  font-size: 12.5px;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 999px;
  letter-spacing: -0.01em;
}
.home-pillar-badge.green {
  background: rgba(16, 185, 129, 0.12);
  color: var(--ok);
}
.home-pillar-badge.blue {
  background: var(--accent-soft);
  color: var(--accent-ink);
}
.home-pillar-badge.purple {
  background: rgba(168, 85, 247, 0.12);
  color: #a855f7;
}
.home-pillar-badge.amber {
  background: rgba(245, 158, 11, 0.12);
  color: #f59e0b;
}

.home-pillar h3 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 8px;
}
.home-pillar p {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.55;
  flex: 1;
}
.home-pillar-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.home-pillar-tag {
  font-size: 12px;
  font-weight: 600;
  color: var(--faint);
  background: var(--surface-2);
  padding: 4px 10px;
  border-radius: 8px;
  border: 1px solid var(--border);
}

/* Transformation benchmarks strip */
.benchmarks-strip {
  margin-top: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  box-shadow: var(--shadow);
}
.benchmark-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.benchmark-niche {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent-ink);
}
.benchmark-stat {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--fg);
  letter-spacing: -0.02em;
}
.benchmark-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.45;
}

@media (max-width: 860px) {
  .home-pillars { grid-template-columns: 1fr; }
  .benchmarks-strip { grid-template-columns: 1fr; gap: 18px; }
  .benchmark-item:not(:last-child) {
    padding-bottom: 18px;
    border-bottom: 1px solid var(--border);
  }
}

/* ── Live Creator Cockpit (Hero Panel) ──────────────────────────────── */
.creator-cockpit {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 24px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  overflow: hidden;
}
.creator-cockpit::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 18%, transparent), transparent 70%);
  pointer-events: none;
}

/* Header */
.cockpit-header {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.cockpit-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.cockpit-eyebrow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--faint);
}
.cockpit-channel {
  display: flex;
  align-items: center;
  gap: 12px;
}
.cockpit-avatar-wrap {
  position: relative;
  width: 42px;
  height: 42px;
  flex: none;
}
.cockpit-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--border);
  display: block;
}
.cockpit-verified-badge {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  border: 2px solid var(--surface);
}
.cockpit-channel-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.cockpit-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--fg);
  line-height: 1.25;
}
.cockpit-handle {
  font-size: 12px;
  color: var(--muted);
}
.cockpit-live-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .05em;
  color: var(--ok);
  flex: none;
  white-space: nowrap;
}

@media (max-width: 480px) {
  .creator-cockpit {
    padding: 18px 16px;
    gap: 14px;
  }
  .cockpit-stat-box {
    padding: 10px 12px;
  }
  .cockpit-deal-card {
    padding: 12px 14px;
  }
}
.cockpit-pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 8px var(--ok);
  animation: cockpitPulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
@keyframes cockpitPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .4; transform: scale(.85); }
}

/* Metric 2x2 Grid */
.cockpit-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.cockpit-stat-box {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  transition: border-color .15s ease;
}
.cockpit-stat-box:hover {
  border-color: color-mix(in srgb, var(--accent) 30%, var(--border));
}
.cockpit-stat-lbl {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .04em;
}
.cockpit-stat-val {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.cockpit-stat-val.text-green { color: var(--ok); }
.cockpit-stat-val.text-indigo { color: var(--accent-ink); }
.cockpit-stat-val.text-purple { color: #a855f7; }
.cockpit-stat-val.text-amber { color: #f59e0b; }
.cockpit-stat-trend {
  font-size: 11px;
  color: var(--faint);
  margin-top: 1px;
}

/* Active Deal Card */
.cockpit-deal-card {
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 7%, var(--surface-2)), var(--surface-2));
  border: 1px solid color-mix(in srgb, var(--accent) 25%, var(--border));
  border-radius: 16px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.cockpit-deal-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.cockpit-deal-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  color: var(--accent-ink);
  text-transform: uppercase;
  letter-spacing: .04em;
}
.cockpit-deal-amount {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 800;
  color: var(--fg);
  letter-spacing: -0.01em;
}
.cockpit-deal-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--fg);
  line-height: 1.35;
}
.cockpit-deal-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  font-size: 11.5px;
  color: var(--muted);
  margin-top: 2px;
}
.cockpit-deal-meta b {
  color: var(--fg);
}

/* Footer status bar */
.cockpit-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 4px;
}
.cockpit-status-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: var(--muted);
}
.cockpit-status-item b {
  color: var(--fg);
}
.cockpit-status-dot.green {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 6px var(--ok);
  flex: none;
}
.cockpit-more-link {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-ink);
  text-decoration: none;
  transition: transform .15s ease;
  white-space: nowrap;
}
.cockpit-more-link:hover {
  transform: translateX(2px);
}

/* ── Cookie Policy Banner ───────────────────────────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: min(440px, calc(100vw - 32px));
  background: color-mix(in srgb, var(--surface) 95%, #0e0f14);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 22px 24px;
  box-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.05);
  z-index: 99999;
  display: flex;
  flex-direction: column;
  gap: 14px;
  opacity: 0;
  transform: translateY(24px) scale(0.97);
  pointer-events: none;
  transition: opacity .32s cubic-bezier(0.16, 1, 0.3, 1), transform .32s cubic-bezier(0.16, 1, 0.3, 1);
}
.cookie-banner.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.cookie-banner.is-closing {
  opacity: 0;
  transform: translateY(16px) scale(0.97);
  pointer-events: none;
}

.cookie-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.cookie-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}
.cookie-ic {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent-ink);
  display: grid;
  place-items: center;
  flex: none;
}
.cookie-title {
  font-family: var(--font-display);
  font-size: 15.5px;
  font-weight: 700;
  color: var(--fg);
  line-height: 1.25;
}
.cookie-close {
  background: transparent;
  border: 0;
  color: var(--muted);
  cursor: pointer;
  padding: 4px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  transition: color .15s ease, background .15s ease;
  flex: none;
}
.cookie-close:hover {
  color: var(--fg);
  background: var(--surface-2);
}

.cookie-desc {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}
.cookie-desc a {
  color: var(--accent-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}
.cookie-btn-primary {
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 700;
  border-radius: 999px;
  border: none;
  background: var(--accent);
  color: #fff;
  cursor: pointer;
  transition: background .15s ease, transform .15s ease, box-shadow .15s ease;
}
.cookie-btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}
.cookie-btn-secondary {
  padding: 8px 15px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--muted);
  cursor: pointer;
  transition: all .15s ease;
}
.cookie-btn-secondary:hover {
  background: var(--surface-2);
  color: var(--fg);
  border-color: color-mix(in srgb, var(--accent) 30%, var(--border));
}

.cookie-btn-settings {
  padding: 8px 15px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 999px;
  border: 1px solid rgba(168, 85, 247, 0.45);
  background: rgba(168, 85, 247, 0.1);
  color: #d8b4fe;
  cursor: pointer;
  transition: all .18s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.cookie-btn-settings:hover {
  background: rgba(168, 85, 247, 0.22);
  color: #ffffff;
  border-color: #c084fc;
  box-shadow: 0 0 16px rgba(168, 85, 247, 0.3);
  transform: translateY(-1px);
}

/* =========================================================================
   Privacy Preference Center Modal (Doinpower Creators)
   ========================================================================= */
.cookie-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: rgba(15, 17, 24, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}
.cookie-modal-backdrop.is-active {
  opacity: 1;
  pointer-events: auto;
}

.cookie-modal-card {
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(0, 0, 0, 0.04);
  border-radius: 16px;
  width: 100%;
  max-width: 620px;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: var(--fg);
  transform: scale(0.96) translateY(14px);
  transition: transform .25s cubic-bezier(0.16, 1, 0.3, 1);
}
.cookie-modal-backdrop.is-active .cookie-modal-card {
  transform: scale(1) translateY(0);
}

.cookie-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.cookie-modal-close {
  background: transparent;
  border: none;
  color: var(--muted);
  cursor: pointer;
  padding: 6px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  transition: all .15s ease;
}
.cookie-modal-close:hover {
  color: var(--fg);
  background: var(--surface-2);
}

.cookie-modal-body {
  padding: 24px 26px;
  overflow-y: auto;
  flex: 1;
}
.cookie-modal-body::-webkit-scrollbar {
  width: 6px;
}
.cookie-modal-body::-webkit-scrollbar-track {
  background: transparent;
}
.cookie-modal-body::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 999px;
}

.cookie-modal-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--fg);
  margin: 0 0 12px 0;
  letter-spacing: -0.015em;
}

.cookie-modal-desc {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0 0 18px 0;
}

.cookie-modal-allow-all {
  display: inline-block;
  padding: 10px 24px;
  font-size: 13px;
  font-weight: 700;
  background: var(--fg);
  color: var(--bg);
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all .15s ease;
  margin-bottom: 24px;
}
.cookie-modal-allow-all:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.cookie-modal-section-title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--fg);
  margin: 0 0 12px 0;
  letter-spacing: -0.01em;
}

.cookie-accordion {
  display: flex;
  flex-direction: column;
}

.cookie-acc-item {
  border-top: 1px solid var(--border);
  transition: background .15s ease;
}
.cookie-acc-item:last-child {
  border-bottom: 1px solid var(--border);
}

.cookie-acc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 4px;
  gap: 12px;
}

.cookie-acc-trigger {
  background: none;
  border: none;
  color: var(--fg);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  flex: 1;
  padding: 0;
  transition: color .15s ease;
}
.cookie-acc-trigger:hover {
  color: var(--accent);
}

.cookie-acc-icon {
  font-size: 18px;
  font-weight: 700;
  width: 16px;
  height: 16px;
  color: var(--accent);
  display: grid;
  place-items: center;
  flex: none;
  line-height: 1;
  transition: transform .2s ease;
}

.cookie-acc-label {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--fg);
}

.cookie-acc-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.cookie-acc-item.is-open .cookie-acc-content {
  grid-template-rows: 1fr;
}
.cookie-acc-inner {
  overflow: hidden;
}
.cookie-acc-inner p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
  padding: 0 4px 16px 28px;
  margin: 0;
}

/* Always Active Badge */
.cookie-status-badge {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent);
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

/* iOS Style Switch */
.cookie-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
  margin: 0;
  cursor: pointer;
}
.cookie-switch input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}
.cookie-switch-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: var(--border);
  border: 1px solid var(--border);
  border-radius: 999px;
  transition: all .25s cubic-bezier(0.4, 0, 0.2, 1);
}
.cookie-switch-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 2px;
  bottom: 2px;
  background-color: #fff;
  border-radius: 50%;
  transition: all .25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.22);
}
.cookie-switch input:checked + .cookie-switch-slider {
  background-color: var(--accent);
  border-color: var(--accent);
}
.cookie-switch input:checked + .cookie-switch-slider:before {
  transform: translateX(20px);
}

/* Modal Footer */
.cookie-modal-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--border);
  background: var(--surface-2);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cookie-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}
.cookie-modal-btn-reject {
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 700;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--fg);
  cursor: pointer;
  transition: all .15s ease;
}
.cookie-modal-btn-reject:hover {
  background: var(--surface-2);
  border-color: var(--fg);
}
.cookie-modal-btn-confirm {
  padding: 10px 22px;
  font-size: 13px;
  font-weight: 700;
  border-radius: 6px;
  border: none;
  background: var(--fg);
  color: var(--bg);
  cursor: pointer;
  transition: all .15s ease;
}
.cookie-modal-btn-confirm:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.cookie-modal-powered {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  font-size: 11px;
  color: var(--faint);
  padding-top: 2px;
}
.cookie-brand-stamp {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--muted);
  font-weight: 600;
}
.cookie-brand-stamp svg {
  color: var(--accent);
}

@media (max-width: 520px) {
  .cookie-banner {
    bottom: 16px;
    right: 16px;
    left: 16px;
    width: auto;
    padding: 18px 20px;
  }
  .cookie-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .cookie-btn-primary, .cookie-btn-secondary, .cookie-btn-settings {
    text-align: center;
    justify-content: center;
    width: 100%;
  }
  .cookie-modal-card {
    max-height: 94vh;
    border-radius: 14px;
  }
  .cookie-modal-header, .cookie-modal-body, .cookie-modal-footer {
    padding-left: 18px;
    padding-right: 18px;
  }
  .cookie-modal-actions {
    flex-direction: column;
  }
  .cookie-modal-btn-reject, .cookie-modal-btn-confirm, .cookie-modal-allow-all {
    width: 100%;
    text-align: center;
  }
  .cookie-modal-powered {
    justify-content: center;
  }
}

/* =========================================================================
   Privacy & Legal Pages Layout (Doinpower Creators)
   ========================================================================= */
.legal-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 48px;
  align-items: start;
}
.legal-sidebar {
  position: sticky;
  top: 96px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow: var(--shadow);
}
.legal-sidebar-title {
  font-family: var(--font-display);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 8px;
}
.legal-sidebar a {
  font-size: 13.5px;
  color: var(--muted);
  padding: 8px 12px;
  border-radius: 8px;
  transition: all .15s ease;
  line-height: 1.4;
  text-decoration: none;
  font-weight: 500;
}
.legal-sidebar a:hover {
  color: var(--fg);
  background: var(--surface-2);
}
.legal-sidebar a.is-active {
  color: var(--accent-ink);
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  font-weight: 600;
}
.legal-content {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 820px;
}
.legal-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 8px;
}
.legal-summary-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.legal-summary-card .ic {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: var(--accent);
  display: grid;
  place-items: center;
  margin-bottom: 4px;
}
.legal-summary-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--fg);
  margin: 0;
}
.legal-summary-card p {
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
  margin: 0;
}

.legal-section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 36px;
  box-shadow: var(--shadow);
  scroll-margin-top: 100px;
}
.legal-section h2 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 16px 0;
  color: var(--fg);
  letter-spacing: -0.015em;
  display: flex;
  align-items: center;
  gap: 12px;
}
.legal-section h3 {
  font-size: 15px;
  font-weight: 700;
  margin: 22px 0 8px 0;
  color: var(--fg);
}
.legal-section p {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--muted);
  margin: 0 0 14px 0;
}
.legal-section p:last-child {
  margin-bottom: 0;
}
.legal-section ul {
  padding-left: 22px;
  margin: 0 0 16px 0;
}
.legal-section li {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 8px;
}
.legal-section li b {
  color: var(--fg);
}
.legal-highlight-box {
  background: var(--surface-2);
  border-left: 3px solid var(--accent);
  border-radius: 0 8px 8px 0;
  padding: 16px 20px;
  margin: 18px 0;
}
.legal-highlight-box p {
  margin: 0;
  color: var(--fg);
  font-size: 13.5px;
  line-height: 1.55;
}
.legal-badge-pill {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: var(--accent-ink);
}

@media (max-width: 920px) {
  .legal-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .legal-sidebar {
    display: none;
  }
  .legal-section {
    padding: 24px 22px;
  }
}

