/* =========================================================================
   Nagovss Digital Products v2 — storefront styles
   Hybrid: phones get an app shell (app bar + tab bar + sheets),
   desktops get a full website shell (header, sidebar filters, footer).
   Breakpoint: 900px. No framework, no build step.
   ========================================================================= */

:root {
  --bg: #F6F7FB;
  --surface: #FFFFFF;
  --surface-2: #F1F3F9;
  --text: #0F172A;
  --text-2: #334155;
  --muted: #64748B;
  --border: #E5E8F0;
  --primary: #4F46E5;
  --primary-2: #4338CA;
  --primary-ink: #FFFFFF;
  --primary-tint: #EEF0FF;
  --accent: #F59E0B;
  --ok: #059669;
  --ok-bg: #ECFDF5;
  --warn: #B45309;
  --warn-bg: #FFFBEB;
  --err: #DC2626;
  --err-bg: #FEF2F2;
  --flash: linear-gradient(135deg, #DB2777, #F97316);
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 4px 16px rgba(15, 23, 42, .06);
  --shadow-lg: 0 10px 40px rgba(15, 23, 42, .12);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-head: 'Plus Jakarta Sans', var(--font);
  --tabbar-h: 64px;
  --appbar-h: 56px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0B1020; --surface: #121933; --surface-2: #1A2242; --text: #E7EAF6; --text-2: #C3C9DE; --muted: #8C95B2;
    --border: #243055; --primary: #818CF8; --primary-2: #6366F1; --primary-ink: #0B1020; --primary-tint: #1E2550;
    --ok-bg: #0C2A22; --warn-bg: #2B210B; --err-bg: #2D1215; --shadow: 0 1px 2px rgba(0,0,0,.3); --shadow-lg: 0 10px 40px rgba(0,0,0,.5);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0B1020; --surface: #121933; --surface-2: #1A2242; --text: #E7EAF6; --text-2: #C3C9DE; --muted: #8C95B2;
  --border: #243055; --primary: #818CF8; --primary-2: #6366F1; --primary-ink: #0B1020; --primary-tint: #1E2550;
  --ok-bg: #0C2A22; --warn-bg: #2B210B; --err-bg: #2D1215; --shadow: 0 1px 2px rgba(0,0,0,.3); --shadow-lg: 0 10px 40px rgba(0,0,0,.5);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 15px/1.6 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
button { font: inherit; color: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
.ic { flex: none; }
.sr-only, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; left: -9999px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 100; background: var(--surface); padding: 8px 12px; border-radius: 8px; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.narrow-lg { max-width: 1080px; }
.section { margin-top: 36px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.center { text-align: center; }
.grow { flex: 1; min-width: 0; }
.upper { text-transform: uppercase; }
.stack > * + * { margin-top: 14px; }
.row-gap { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.row-gap-sm { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.row-between { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 16px 0; }
.link { color: var(--primary); font-weight: 600; background: none; border: 0; padding: 0; }
.link:hover { text-decoration: underline; }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.eyebrow-pill { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: var(--primary-tint); color: var(--primary); margin-bottom: 14px; }
.page-title { font-size: 28px; margin: 8px 0 18px; }
.h2 { font-size: 24px; } .h3 { font-size: 18px; }
.lead { font-size: 18px; color: var(--text-2); }
.lead-sm { color: var(--text-2); margin: 6px 0 14px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 12px; border: 1px solid var(--border);
  background: var(--surface); color: var(--text); font-weight: 600; font-size: 14.5px; transition: transform .12s, background .15s, box-shadow .15s; white-space: nowrap; }
.btn:hover { background: var(--surface-2); }
.btn:active { transform: scale(.98); }
.btn[disabled] { opacity: .5; pointer-events: none; }
.btn-primary { background: var(--primary); border-color: var(--primary); color: var(--primary-ink); box-shadow: 0 6px 18px -6px var(--primary); }
.btn-primary:hover { background: var(--primary-2); }
.btn-ghost { background: transparent; }
.btn-sm { min-height: 36px; padding: 0 12px; font-size: 13.5px; border-radius: 10px; }
.btn-lg { min-height: 52px; padding: 0 24px; font-size: 16px; border-radius: 14px; }
.btn-block { width: 100%; }
.icon-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; border: 0; background: transparent; color: var(--text-2); }
.icon-btn:hover { background: var(--surface-2); }
.icon-btn-lg { width: 48px; height: 48px; border: 1px solid var(--border); background: var(--surface); }
.btn.is-loading { position: relative; color: transparent !important; }
.btn.is-loading::after { content: ''; position: absolute; width: 18px; height: 18px; border: 2px solid currentColor; border-color: var(--primary-ink) transparent var(--primary-ink) transparent; border-radius: 50%; animation: spin .8s linear infinite; }

/* ---------- Forms ---------- */
label { display: block; font-weight: 600; font-size: 13.5px; color: var(--text-2); }
input[type=text], input[type=email], input[type=tel], input[type=number], input[type=search], input[type=password], input[type=url], input[type=date], input[type=datetime-local], select, textarea {
  display: block; width: 100%; margin-top: 6px; min-height: 46px; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--border);
  background: var(--surface); font-size: 16px; font-weight: 400; transition: border-color .15s, box-shadow .15s; }
textarea { min-height: 110px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-tint); }
input[readonly] { background: var(--surface-2); }
.check, .radio { display: flex; align-items: center; gap: 10px; font-weight: 500; padding: 6px 0; cursor: pointer; }
.check input, .radio input { width: 18px; height: 18px; accent-color: var(--primary); margin: 0; }
.err { color: var(--err); font-weight: 500; display: block; margin-top: 4px; }
.inline-form { display: flex; gap: 8px; }
.inline-form input { margin: 0; }
.disclosure summary { cursor: pointer; color: var(--primary); font-weight: 600; font-size: 14px; display: flex; align-items: center; gap: 6px; list-style: none; padding: 4px 0; }
.disclosure summary::-webkit-details-marker { display: none; }
.disclosure[open] > *:not(summary) { margin-top: 12px; }
.otp { text-align: center; font-size: 28px !important; letter-spacing: 12px; font-weight: 700; }

/* ---------- Alerts / chips / status ---------- */
.alert { padding: 12px 16px; border-radius: 12px; font-size: 14px; font-weight: 500; margin: 12px 0; border: 1px solid transparent; }
.alert-success { background: var(--ok-bg); color: var(--ok); border-color: color-mix(in srgb, var(--ok) 20%, transparent); }
.alert-error { background: var(--err-bg); color: var(--err); border-color: color-mix(in srgb, var(--err) 20%, transparent); }
.alert-warn { background: var(--warn-bg); color: var(--warn); }
.toast-inline { max-width: 1200px; margin: 12px auto; }
.chip { display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--surface-2); color: var(--text-2); }
.chip-flash { background: var(--flash); color: #fff; }
.chip-new { background: var(--ok-bg); color: var(--ok); }
.chip-dark { background: #0F172A; color: #fff; }
.chip-glass { background: rgba(255,255,255,.2); color: #fff; backdrop-filter: blur(6px); }
.chip-lg { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); font-size: 14px; font-weight: 600; white-space: nowrap; }
.chip-lg small { color: var(--muted); font-weight: 500; }
.chip-lg.on { background: var(--text); color: var(--bg); border-color: var(--text); }
.chip-lg.on small { color: inherit; opacity: .7; }
.tag { font-size: 12.5px; padding: 4px 10px; border-radius: 8px; background: var(--surface-2); color: var(--text-2); font-weight: 500; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.status { font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--surface-2); color: var(--text-2); white-space: nowrap; }
.s-paid, .s-resolved, .s-closed { background: var(--ok-bg); color: var(--ok); }
.s-pending, .s-requested, .s-new, .s-unpaid { background: var(--warn-bg); color: var(--warn); }
.s-open, .s-contacted { background: var(--primary-tint); color: var(--primary); }
.s-failed, .s-refunded, .s-void, .s-rejected { background: var(--err-bg); color: var(--err); }
.badge { position: absolute; top: -4px; right: -6px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--err); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; line-height: 1; }
.badge[hidden] { display: none; }

/* ---------- Cards ---------- */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
.pad { padding: 18px; } .pad-lg { padding: 26px; }
.ph { display: grid; place-items: center; width: 100%; height: 100%; min-height: 120px; background: linear-gradient(135deg, var(--primary-tint), var(--surface-2)); color: var(--primary); font: 800 28px var(--font-head); }
.ph-xl { min-height: 360px; font-size: 40px; }

/* ---------- Product card ---------- */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.pcard { color: var(--text); position: relative; overflow: hidden; display: flex; flex-direction: column; transition: transform .18s, box-shadow .18s; }
.pcard:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.pcard-img { position: relative; aspect-ratio: 16 / 10; background: var(--surface-2); overflow: hidden; }
.pcard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.pcard:hover .pcard-img img { transform: scale(1.04); }
.pcard-badges { position: absolute; left: 10px; top: 10px; display: flex; gap: 6px; }
.wish { position: absolute; right: 10px; top: 10px; width: 36px; height: 36px; border-radius: 50%; border: 0; display: grid; place-items: center; background: rgba(255,255,255,.92); color: #334155; box-shadow: var(--shadow); }
.wish.on, [data-wish].on { color: #E11D48; }
.wish.on svg, [data-wish].on svg { fill: currentColor; }
.pcard-body { padding: 14px 14px 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.pcard-title { font-weight: 700; font-size: 15.5px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pcard-title:hover { color: var(--primary); }
.pcard-meta { display: flex; gap: 6px; font-size: 12.5px; color: var(--muted); align-items: center; }
.pcard-meta i { font-style: normal; }
.rate { display: inline-flex; align-items: center; gap: 3px; color: var(--accent); font-weight: 700; }
.rate svg { fill: currentColor; }
.pcard-foot { margin-top: auto; padding-top: 10px; display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; }
.add { background: var(--primary); color: var(--primary-ink); border-radius: 12px; }
.add:hover { background: var(--primary-2); }
.add.done { background: var(--ok); }

.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; }
.price .now { font: 800 18px var(--font-head); }
.price .now.flash { background: var(--flash); -webkit-background-clip: text; background-clip: text; color: transparent; }
.price .mrp { color: var(--muted); font-size: 13px; }
.price .off { color: var(--ok); font-weight: 700; font-size: 12.5px; }
.price-lg .now { font-size: 32px; }
.price-lg .mrp { font-size: 16px; }
.price-lg .off { font-size: 14px; padding: 2px 8px; background: var(--ok-bg); border-radius: 6px; }
.gst-note { font-size: 13px; color: var(--muted); margin-top: 2px; }
.stars { display: inline-flex; gap: 1px; color: var(--border); vertical-align: middle; }
.stars .on { color: var(--accent); }
.stars .on svg { fill: currentColor; }

/* ---------- Horizontal scrollers ---------- */
.hscroll { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 1fr); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 14px; scrollbar-width: thin; }
.hscroll > * { scroll-snap-align: start; }
.chips-scroll, .m-filterbar { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 6px; scrollbar-width: none; }
.chips-scroll::-webkit-scrollbar, .m-filterbar::-webkit-scrollbar { display: none; }
.section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.section-head h2 { font-size: 22px; margin: 0; display: flex; align-items: center; gap: 8px; }

/* ---------- Announcement ---------- */
.announce { background: linear-gradient(90deg, var(--primary), #7C3AED); color: #fff; text-align: center; font-size: 13.5px; font-weight: 600; padding: 8px 16px; }

/* =================== DESKTOP SHELL =================== */
.d-header { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--surface) 88%, transparent); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--border); }
.d-header-row { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; font: 800 18px var(--font-head); white-space: nowrap; }
.brand img { border-radius: 10px; }
.d-search { position: relative; flex: 1; max-width: 520px; display: flex; align-items: center; gap: 8px; padding: 0 14px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface-2); color: var(--muted); }
.d-search:focus-within { border-color: var(--primary); background: var(--surface); box-shadow: 0 0 0 4px var(--primary-tint); }
.d-search input { border: 0; background: transparent; box-shadow: none !important; margin: 0; padding: 0; min-height: 44px; font-size: 14.5px; }
.d-nav { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.d-nav > a:not(.btn):not(.cart-btn) { padding: 8px 12px; border-radius: 10px; font-weight: 600; font-size: 14.5px; color: var(--text-2); }
.d-nav > a.on, .d-nav > a:not(.btn):not(.cart-btn):hover { background: var(--surface-2); color: var(--text); }
.cart-btn { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--primary); color: var(--primary-ink); }
.suggest { position: absolute; top: calc(100% + 8px); left: 0; right: 0; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow-lg); overflow: hidden; z-index: 60; color: var(--text); }
.suggest a { display: flex; gap: 12px; align-items: center; padding: 10px 14px; }
.suggest a:hover, .suggest a.on { background: var(--surface-2); }
.suggest img, .suggest .sph { width: 52px; height: 36px; border-radius: 6px; object-fit: cover; background: var(--surface-2); flex: none; }
.suggest b { display: block; font-size: 14px; }
.suggest small { color: var(--muted); }
.suggest .all { justify-content: center; font-weight: 600; color: var(--primary); border-top: 1px solid var(--border); }

.d-footer { margin-top: 64px; background: var(--surface); border-top: 1px solid var(--border); padding: 48px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.footer-grid h4 { font-size: 14px; margin-bottom: 12px; }
.footer-grid a:not(.brand) { display: block; color: var(--muted); padding: 4px 0; font-size: 14px; }
.footer-grid a:hover { color: var(--primary); }
.footer-grid .brand { margin-bottom: 10px; }
.footer-base { display: flex; justify-content: space-between; margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--border); color: var(--muted); font-size: 13px; }
.pay-marks { display: inline-flex; align-items: center; gap: 6px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 48px 0 24px; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: -40% -10% auto auto; width: 700px; height: 700px; background: radial-gradient(circle, color-mix(in srgb, var(--primary) 18%, transparent), transparent 65%); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(30px, 4vw, 50px); font-weight: 800; letter-spacing: -.025em; }
.hero-cta { display: flex; gap: 12px; margin: 24px 0; }
.hero-trust { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--muted); font-size: 13.5px; }
.hero-trust li { display: flex; align-items: center; gap: 6px; }
.hero-trust svg { color: var(--ok); }
.hero-search { display: flex; align-items: center; gap: 8px; padding: 0 14px; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow); color: var(--muted); margin: 18px 0; }
.hero-search input { border: 0; margin: 0; box-shadow: none !important; padding: 0; background: transparent; }

.slider { position: relative; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 16 / 11; background: var(--surface-2); }
.slides { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; }
.slides::-webkit-scrollbar { display: none; }
.slide { position: relative; flex: 0 0 100%; scroll-snap-align: start; }
.slide img, .slide .ph { width: 100%; height: 100%; object-fit: cover; }
.slide-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 22px 20px; background: linear-gradient(transparent, rgba(2, 6, 23, .82)); color: #fff; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.slide-cap strong { font: 800 22px var(--font-head); }
.slide-cap .price .now { color: #fff; }
.slide-cap .mrp { color: #CBD5E1; }
.dots { position: absolute; right: 16px; bottom: 16px; display: flex; gap: 6px; }
.dots button { width: 8px; height: 8px; border-radius: 99px; border: 0; padding: 0; background: rgba(255,255,255,.5); transition: width .2s; }
.dots button.on { width: 22px; background: #fff; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.stats > div { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; text-align: center; }
.stats strong { display: block; font: 800 28px var(--font-head); color: var(--primary); }
.stats span { color: var(--muted); font-size: 13.5px; }
.quote { margin: 0; padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.quote blockquote { margin: 0; color: var(--text-2); }
.quote figcaption { font-size: 13.5px; color: var(--muted); margin-top: auto; }
.quote figcaption a { color: var(--primary); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.steps li { display: flex; gap: 14px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; }
.steps li > span { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--primary-tint); color: var(--primary); font-weight: 800; }
.steps p { margin: 4px 0 0; font-size: 14px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; margin-bottom: 10px; }
.faq summary { padding: 16px 18px; font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { transition: transform .2s; color: var(--muted); }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq p { padding: 0 18px 16px; margin: 0; color: var(--text-2); }

/* ---------- Browse ---------- */
.browse { display: grid; grid-template-columns: 250px 1fr; gap: 28px; margin-top: 24px; }
.filters { position: sticky; top: 92px; align-self: start; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; }
.filters h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin: 16px 0 6px; }
.filters h4:first-of-type { margin-top: 0; }
.filters .radio small { margin-left: auto; color: var(--muted); }
.filters .btn { margin-top: 12px; }
.browse-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.browse-head h1 { font-size: 26px; margin: 0; }
.pager { display: flex; justify-content: center; align-items: center; gap: 14px; margin: 28px 0 8px; }
.crumbs { font-size: 13.5px; color: var(--muted); margin: 18px 0; }
.crumbs a:hover { color: var(--primary); }

/* ---------- Product page ---------- */
.product-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 36px; align-items: start; }
.gallery { position: relative; }
.gallery-main { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; border-radius: 20px; background: var(--surface-2); scrollbar-width: none; aspect-ratio: 16 / 10; border: 1px solid var(--border); }
.gallery-main::-webkit-scrollbar { display: none; }
.gallery-main > * { flex: 0 0 100%; scroll-snap-align: start; object-fit: cover; width: 100%; height: 100%; }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; }
.gallery-thumbs button { flex: none; width: 88px; aspect-ratio: 16/10; border-radius: 10px; overflow: hidden; border: 2px solid transparent; padding: 0; background: var(--surface-2); opacity: .7; }
.gallery-thumbs button.on { border-color: var(--primary); opacity: 1; }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.gallery-count { position: absolute; right: 12px; top: 12px; background: rgba(2,6,23,.6); color: #fff; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 99px; }
.buybox-sticky { position: sticky; top: 96px; background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 24px; box-shadow: var(--shadow); }
.product-title { font-size: 28px; margin: 8px 0; }
.rating-line { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; }
.flash-box { display: flex; align-items: center; gap: 8px; margin: 12px 0; padding: 10px 14px; border-radius: 12px; background: var(--flash); color: #fff; font-weight: 600; }
.flash-box b { font-variant-numeric: tabular-nums; }
.save-note { display: flex; align-items: center; gap: 6px; color: var(--ok); font-weight: 600; font-size: 14px; margin: 10px 0 0; }
.buy-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 20px; }
.demo-btn { margin-top: 10px; }
.perks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; font-size: 14px; color: var(--text-2); }
.perks li { display: flex; align-items: center; gap: 10px; }
.perks svg { color: var(--primary); }
.perks-sm { font-size: 13px; margin-top: 16px; }
.tabs { margin-top: 40px; }
.tab-list { display: flex; gap: 4px; border-bottom: 1px solid var(--border); overflow-x: auto; scrollbar-width: none; }
.tab-list button { background: none; border: 0; padding: 12px 16px; font-weight: 600; color: var(--muted); border-bottom: 2px solid transparent; white-space: nowrap; }
.tab-list button.on { color: var(--primary); border-color: var(--primary); }
.tab-panel { display: none; padding: 22px 0; }
.tab-panel.on { display: block; animation: fade .2s; }
.prose { color: var(--text-2); max-width: 75ch; }
.prose h2 { font-size: 19px; margin-top: 1.6em; color: var(--text); }
.prose a { color: var(--primary); text-decoration: underline; }
.prose ul { padding-left: 20px; }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 24px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; }
.check-list svg { color: var(--ok); margin-top: 3px; }
.list-rows { list-style: none; padding: 0; margin: 0; }
.list-rows li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.list-rows li:last-child { border: 0; }
.list-rows a { font-weight: 600; color: var(--primary); }
.review-summary { display: flex; gap: 32px; align-items: center; margin-bottom: 20px; flex-wrap: wrap; }
.big-rating { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.big-rating strong { font: 800 44px var(--font-head); line-height: 1; }
.bars { flex: 1; min-width: 220px; max-width: 380px; }
.bar-row { display: grid; grid-template-columns: 32px 1fr 28px; gap: 10px; align-items: center; font-size: 13px; }
.bar { height: 8px; background: var(--surface-2); border-radius: 99px; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--accent); border-radius: 99px; }
.review { padding: 16px 0; border-top: 1px solid var(--border); }
.review p { margin: 8px 0 0; color: var(--text-2); }
.verified { display: inline-flex; align-items: center; gap: 3px; font-size: 12px; color: var(--ok); font-weight: 600; margin-left: 6px; }
.reply { margin-top: 10px; padding: 10px 14px; background: var(--surface-2); border-radius: 10px; font-size: 14px; }
.callout { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 20px; padding: 14px 18px; border-radius: 14px; background: var(--primary-tint); color: var(--text-2); }

/* ---------- Cart / checkout ---------- */
.cart-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 22px; align-items: start; }
.cart-item { display: flex; align-items: center; gap: 14px; padding: 12px; }
.cart-item .thumb { width: 96px; flex: none; aspect-ratio: 16/10; border-radius: 10px; overflow: hidden; background: var(--surface-2); }
.cart-item .thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-item .ph { min-height: 0; font-size: 18px; }
.cart-name { display: block; font-weight: 700; margin: 2px 0; }
.summary { position: sticky; top: 96px; }
.summary h3 { margin-bottom: 12px; }
.sum-rows { display: grid; gap: 8px; margin-bottom: 16px; }
.sum-row { display: flex; justify-content: space-between; gap: 12px; font-size: 14.5px; }
.sum-row.ok { color: var(--ok); font-weight: 600; }
.sum-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 12px; margin-top: 4px; border-top: 1px dashed var(--border); }
.sum-total strong { font: 800 24px var(--font-head); }
.saved { display: flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 10px; background: var(--ok-bg); color: var(--ok); font-weight: 600; font-size: 13.5px; }
.mini-items { list-style: none; margin: 0 0 12px; padding: 0 0 12px; border-bottom: 1px solid var(--border); display: grid; gap: 6px; font-size: 14px; }
.mini-items li { display: flex; justify-content: space-between; gap: 10px; }
.progress { list-style: none; display: flex; gap: 6px; padding: 0; margin: 16px 0 20px; }
.progress li { flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px; padding: 9px 6px; border-radius: 10px; background: var(--surface-2); color: var(--muted); font-size: 13px; font-weight: 600; }
.progress li.on { background: var(--primary); color: var(--primary-ink); }
.progress li.done { background: var(--ok-bg); color: var(--ok); }
.pay-methods { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.pay-methods span { font-size: 12px; font-weight: 600; color: var(--muted); padding: 4px 10px; border: 1px solid var(--border); border-radius: 8px; }
.form-error { padding: 12px 14px; border-radius: 12px; background: var(--err-bg); color: var(--err); font-weight: 500; }

/* ---------- Order success / library ---------- */
.success-hero { text-align: center; padding: 28px 0 22px; }
.success-check { width: 84px; height: 84px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; background: var(--ok); color: #fff; box-shadow: 0 0 0 10px var(--ok-bg); animation: pop .5s cubic-bezier(.2, 1.6, .4, 1); }
.dl-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid var(--border); }
.dl-row:first-of-type { border-top: 0; }
.dl-row small { display: block; }
.order-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 16px; }
.order-meta > div { display: flex; flex-direction: column; position: relative; }
.order-meta .icon-btn { position: absolute; right: 0; top: 4px; width: 32px; height: 32px; }
.tiles, .quick-help { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin-top: 16px; }
.tile { display: flex; flex-direction: column; gap: 4px; padding: 16px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); transition: border-color .15s, transform .15s; }
.tile:hover { border-color: var(--primary); transform: translateY(-2px); }
.tile svg { color: var(--primary); margin-bottom: 4px; }
.tile span { font-size: 13px; }
.lib-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.lib-head .page-title { margin-bottom: 0; }
.seg { display: flex; gap: 4px; padding: 4px; margin: 16px 0; background: var(--surface-2); border-radius: 14px; width: fit-content; max-width: 100%; overflow-x: auto; }
.seg a { padding: 8px 16px; border-radius: 10px; font-weight: 600; font-size: 14px; color: var(--muted); white-space: nowrap; }
.seg a.on { background: var(--surface); color: var(--text); box-shadow: var(--shadow); }
.seg small { color: var(--muted); margin-left: 4px; }
.lib-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.lib-item { display: flex; gap: 14px; padding: 14px; align-items: center; flex-wrap: wrap; }
.lib-item .thumb { width: 92px; aspect-ratio: 16/10; border-radius: 10px; overflow: hidden; background: var(--surface-2); flex: none; }
.lib-item .thumb img { width: 100%; height: 100%; object-fit: cover; }
.lib-item .ph { min-height: 0; font-size: 18px; }
.lib-name { display: block; margin: 2px 0; }
.lib-actions { display: flex; gap: 6px; flex-wrap: wrap; width: 100%; }
.order-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.order-row small { display: block; }

/* ---------- Auth / support / earn ---------- */
.auth { display: grid; place-items: center; min-height: 60vh; padding-top: 24px; }
.auth-card { width: 100%; max-width: 440px; text-align: center; }
.auth-card form { text-align: left; }
.auth-ic { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; margin: 0 auto 14px; background: var(--primary-tint); color: var(--primary); }
.page-intro { margin: 8px 0 18px; }
.ticket-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin: 12px 0; }
.thread { display: flex; flex-direction: column; gap: 12px; margin: 16px 0; }
.bubble { max-width: 85%; padding: 12px 16px; border-radius: 18px; background: var(--surface); border: 1px solid var(--border); }
.bubble.me { align-self: flex-end; background: var(--primary-tint); border-color: transparent; border-bottom-right-radius: 6px; }
.bubble.them { border-bottom-left-radius: 6px; }
.bubble-meta { font-size: 12px; color: var(--muted); margin-bottom: 4px; }
.choice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.choice input { position: absolute; opacity: 0; }
.choice span { display: flex; flex-direction: column; gap: 4px; padding: 16px; height: 100%; border: 2px solid var(--border); border-radius: var(--radius); background: var(--surface); cursor: pointer; font-weight: 400; }
.choice span svg { color: var(--primary); }
.choice input:checked + span { border-color: var(--primary); background: var(--primary-tint); }
.choice input:focus-visible + span { outline: 2px solid var(--primary); }
.earn-hero h1 { font-size: clamp(26px, 4vw, 38px); }
.steps-row { margin: 22px 0; }
.join-form { max-width: 560px; }
.link-card { margin-bottom: 16px; }
.copy-field { display: flex; gap: 8px; margin: 8px 0 12px; }
.copy-field input { margin: 0; font-size: 14px; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 16px 0; }
.kpi { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; }
.kpi span { display: block; color: var(--muted); font-size: 13px; }
.kpi b { font: 800 22px var(--font-head); }
.leaderboard { list-style: none; padding: 0; margin: 0; }
.leaderboard li { display: grid; grid-template-columns: 40px 1fr auto; gap: 8px; padding: 9px 10px; border-radius: 10px; }
.leaderboard li.me { background: var(--primary-tint); }
.star-input { display: flex; flex-direction: row-reverse; justify-content: center; gap: 4px; }
.star-input input { position: absolute; opacity: 0; }
.star-input label { color: var(--border); cursor: pointer; transition: transform .1s; }
.star-input label:hover, .star-input label:hover ~ label, .star-input input:checked ~ label { color: var(--accent); }
.star-input label:hover svg, .star-input label:hover ~ label svg, .star-input input:checked ~ label svg { fill: currentColor; }
.state { text-align: center; padding: 56px 16px; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.state .row-gap { justify-content: center; margin-top: 12px; }
.state-ic { width: 72px; height: 72px; border-radius: 22px; display: grid; place-items: center; background: var(--primary-tint); color: var(--primary); margin-bottom: 12px; }
.legal h1 { font-size: 30px; margin-top: 12px; }

/* ---------- Floating bits ---------- */
.wa-fab { position: fixed; right: 20px; bottom: 24px; z-index: 30; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: #25D366; color: #fff; box-shadow: var(--shadow-lg); }
.cookie { position: fixed; left: 50%; transform: translateX(-50%); bottom: 20px; z-index: 70; width: min(560px, calc(100% - 24px)); display: flex; align-items: center; gap: 12px; padding: 12px 14px 12px 18px; border-radius: 16px; background: var(--text); color: var(--bg); box-shadow: var(--shadow-lg); font-size: 13.5px; }
.cookie p { margin: 0; flex: 1; }
.cookie a { text-decoration: underline; }
.toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 90; background: var(--text); color: var(--bg); padding: 12px 18px; border-radius: 14px; font-weight: 600; font-size: 14px; box-shadow: var(--shadow-lg); animation: up .25s; }
.spinner { width: 48px; height: 48px; margin: 0 auto 16px; border: 4px solid var(--primary-tint); border-top-color: var(--primary); border-radius: 50%; animation: spin 1s linear infinite; }

/* Sheets (mobile bottom sheets) */
.sheet { position: fixed; inset: 0; z-index: 80; }
.sheet-backdrop { position: absolute; inset: 0; background: rgba(2, 6, 23, .45); animation: fade .2s; }
.sheet-panel { position: absolute; left: 0; right: 0; bottom: 0; max-height: 86vh; overflow-y: auto; background: var(--surface); border-radius: 22px 22px 0 0; padding: 8px 20px calc(20px + var(--safe-b)); animation: up .25s cubic-bezier(.2, .9, .3, 1); }
.sheet-grip { width: 40px; height: 5px; border-radius: 99px; background: var(--border); margin: 6px auto 14px; }
.sheet-list a, .sheet-list button { display: flex; align-items: center; gap: 14px; width: 100%; padding: 14px 6px; border: 0; background: none; border-bottom: 1px solid var(--border); font-weight: 600; text-align: left; }
.sheet-list svg { color: var(--primary); }
.sheet h3 { font-size: 15px; margin: 14px 0 4px; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes fade { from { opacity: 0; } }
@keyframes up { from { transform: translate(var(--tx, 0), 30px); opacity: 0; } }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }

/* =================== v2.1 — richer storefront =================== */
.kicker { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--primary); margin-bottom: 6px; }
.kicker-light { color: #C7D2FE; }
.link-light { color: #fff; }
.center-head { justify-content: center; text-align: center; }
.center-head h2 { font-size: 28px; max-width: 720px; }
.section-head h2 { font-size: 24px; }
.section-head .link { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.grad { background: linear-gradient(120deg, var(--primary), #DB2777 60%, #F59E0B); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Hero */
.hero { padding: 56px 0 36px; isolation: isolate; }
.hero::before { display: none; }
.hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.hero-bg span { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .45; }
.hero-bg span:nth-child(1) { width: 520px; height: 520px; background: #818CF8; top: -220px; right: -120px; }
.hero-bg span:nth-child(2) { width: 380px; height: 380px; background: #F472B6; top: 120px; right: 28%; opacity: .25; }
.hero-bg span:nth-child(3) { width: 420px; height: 420px; background: #34D399; bottom: -260px; left: -140px; opacity: .2; }
.hero h1 { font-size: clamp(32px, 4.4vw, 56px); line-height: 1.08; }
.hero-search { display: flex; align-items: center; gap: 10px; padding: 6px 6px 6px 16px; margin: 22px 0 12px; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow-lg); color: var(--muted); max-width: 560px; }
.hero-search input { border: 0 !important; margin: 0; padding: 0; background: transparent; box-shadow: none !important; min-height: 46px; }
.hero-search .btn { min-height: 46px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 20px; }
.hero-tags a { font-size: 13px; font-weight: 600; padding: 5px 12px; border-radius: 999px; background: color-mix(in srgb, var(--surface) 70%, transparent); border: 1px solid var(--border); color: var(--text-2); }
.hero-tags a:hover { border-color: var(--primary); color: var(--primary); }
.hero-visual { position: relative; }
.float-card { position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-lg); animation: floaty 6s ease-in-out infinite; }
.float-card b { display: block; font-size: 13.5px; } .float-card small { color: var(--muted); font-size: 12px; }
.fc-1 { left: -28px; bottom: 34px; } .fc-2 { right: -18px; top: 26px; animation-delay: -3s; }
.fc-ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--primary-tint); color: var(--primary); }
.fc-ic.ok { background: var(--ok-bg); color: var(--ok); }
@keyframes floaty { 50% { transform: translateY(-8px); } }

/* Type cards */
.ti { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; color: #fff; flex: none; }
.ti-source_code { background: linear-gradient(135deg, #4F46E5, #7C3AED); }
.ti-prompt_pack { background: linear-gradient(135deg, #DB2777, #F59E0B); }
.ti-template { background: linear-gradient(135deg, #0EA5E9, #10B981); }
.ti-ebook { background: linear-gradient(135deg, #F97316, #EF4444); }
.ti-bundle { background: linear-gradient(135deg, #0F172A, #475569); }
.type-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.type-card { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 20px; border-radius: 20px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); overflow: hidden; transition: transform .18s, box-shadow .18s; }
.type-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.type-card b { font: 700 17px var(--font-head); margin-top: 8px; }
.type-card small { color: var(--muted); display: inline-flex; align-items: center; gap: 4px; font-weight: 600; }
.type-card::after { content: ''; position: absolute; right: -40px; top: -40px; width: 130px; height: 130px; border-radius: 50%; background: var(--primary-tint); opacity: .7; z-index: 0; }
.type-card > * { position: relative; z-index: 1; }

/* Category tiles */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.cat-tile { display: flex; flex-direction: column; gap: 2px; padding: 18px; border-radius: 16px; background: var(--surface); border: 1px solid var(--border); transition: border-color .15s, transform .15s; }
.cat-tile:hover { border-color: var(--primary); transform: translateY(-2px); }
.cat-tile small { color: var(--muted); }
.cat-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--primary-tint); color: var(--primary); margin-bottom: 8px; }

/* Bands */
.deals-band { padding: 26px; border-radius: 26px; background: linear-gradient(135deg, #831843, #C2410C); color: #fff; }
.deals-band h2, .prompts-band h2 { color: #fff; }
.deals-band .hscroll { margin-bottom: -6px; }
.prompts-band { padding: 40px 0 30px; background: radial-gradient(circle at 15% 0%, #312E81 0%, transparent 55%), radial-gradient(circle at 90% 100%, #831843 0%, transparent 50%), #0B1020; color: #E2E8F0; }
.band-sub { color: #A5B4FC; margin: 4px 0 0; }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.why { padding: 22px; border-radius: 18px; background: var(--surface); border: 1px solid var(--border); }
.why h3 { font-size: 17px; margin: 12px 0 6px; }
.why p { color: var(--muted); margin: 0; font-size: 14.5px; }
.why-ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, var(--primary-tint), color-mix(in srgb, var(--primary) 20%, transparent)); color: var(--primary); }
.cta-band { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; align-items: center; padding: 38px; border-radius: 28px; color: #fff;
  background: radial-gradient(circle at 100% 0%, rgba(255,255,255,.18), transparent 40%), linear-gradient(135deg, #4F46E5, #7C3AED 60%, #DB2777); box-shadow: 0 30px 60px -30px #4F46E5; }
.cta-band h2 { color: #fff; font-size: 30px; }
.cta-band p { color: #E0E7FF; }
.cta-list { list-style: none; margin: 0; padding: 20px; border-radius: 18px; background: rgba(255,255,255,.12); display: grid; gap: 10px; font-weight: 600; }
.cta-list li { display: flex; align-items: center; gap: 10px; }
.btn-white { background: #fff; color: #312E81; border-color: #fff; }
.btn-white:hover { background: #EEF2FF; }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn-outline-light:hover { background: rgba(255,255,255,.12); }
.faq-wrap { display: grid; grid-template-columns: 1fr 2fr; gap: 32px; align-items: start; }
.faq-side { position: sticky; top: 100px; }
.rating-pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); font-size: 13.5px; }
.quote { position: relative; }
.quote-ic { position: absolute; right: 16px; top: 14px; color: var(--primary-tint); }
.quote figcaption { display: flex; align-items: center; gap: 10px; }
.quote figcaption span:last-child { display: flex; flex-direction: column; }
.avatar { width: 34px; height: 34px; border-radius: 50%; display: inline-grid; place-items: center; background: linear-gradient(135deg, var(--primary), #DB2777); color: #fff; font-weight: 700; font-size: 14px; flex: none; }
.review .avatar { width: 28px; height: 28px; font-size: 12px; margin-right: 4px; vertical-align: middle; }

/* Newsletter + footer */
.newsletter { margin-top: 64px; }
.newsletter-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 28px 32px; border-radius: 24px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); }
.newsletter h2 { font-size: 22px; margin-bottom: 4px; }
.newsletter p { color: var(--muted); margin: 0; }
.newsletter-form { display: flex; gap: 8px; min-width: min(420px, 100%); }
.newsletter-form input { margin: 0; }
.site-footer { margin-top: 48px; background: var(--surface); border-top: 1px solid var(--border); padding: 48px 0 24px; }
.site-footer .footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.site-footer h4 { font-size: 14px; margin-bottom: 12px; }
.site-footer .footer-grid > div > a:not(.brand), .footer-about p a { display: flex; align-items: center; gap: 6px; color: var(--muted); padding: 4px 0; font-size: 14px; }
.site-footer a:hover { color: var(--primary); }
.footer-about .brand { margin-bottom: 10px; }
.socials { display: flex; gap: 8px; margin: 12px 0; }
.socials a { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--surface-2); color: var(--text-2); }
.socials a:hover { background: var(--primary); color: var(--primary-ink); }
.center-row { justify-content: center; }
.site-footer .footer-base { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--border); color: var(--muted); font-size: 13px; }
.pay-marks i { font-style: normal; font-size: 11.5px; font-weight: 700; padding: 2px 8px; border-radius: 6px; border: 1px solid var(--border); margin-left: 4px; }

/* Desktop mega menu */
.mega { position: relative; }
.mega summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 12px; font-weight: 600; cursor: pointer; border: 1px solid var(--border); background: var(--surface); }
.mega summary::-webkit-details-marker { display: none; }
.mega[open] summary { border-color: var(--primary); color: var(--primary); }
.mega-panel { position: absolute; top: calc(100% + 10px); left: 0; z-index: 60; display: grid; grid-template-columns: 240px 280px 200px; gap: 20px; padding: 20px; border-radius: 20px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-lg); animation: fade .15s; }
.mega h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 10px; }
.mega-type { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 12px; }
.mega-type:hover { background: var(--surface-2); }
.mega-type .ti { width: 36px; height: 36px; border-radius: 11px; }
.mega-cats { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 10px; }
.mega-cats a { padding: 6px 8px; border-radius: 8px; font-size: 14px; }
.mega-cats a:hover { background: var(--surface-2); color: var(--primary); }
.mega-cats small { color: var(--muted); }
.mega-promo { display: flex; flex-direction: column; gap: 4px; justify-content: flex-end; padding: 18px; border-radius: 16px; background: var(--flash); color: #fff; }
.mega-promo span { font-size: 13px; opacity: .9; }
.d-search kbd { font: 600 11px var(--font); padding: 2px 7px; border-radius: 6px; border: 1px solid var(--border); color: var(--muted); }

/* Product cards: type tag + placeholders */
.type-tag { position: absolute; left: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 999px; background: rgba(15,23,42,.72); color: #fff; backdrop-filter: blur(4px); }
.pcard-title { margin: 0; }
.pcard-title a:hover { color: var(--primary); }
.rate small { color: var(--muted); font-weight: 500; }
.chip-off { background: var(--ok); color: #fff; }
.ph { flex-direction: column; gap: 6px; }
.ph span { font: 600 13px var(--font); opacity: .85; }
.ph-prompt_pack { background: linear-gradient(135deg, #831843, #C2410C 55%, #F59E0B); color: #fff; }
.ph-source_code { background: linear-gradient(135deg, #312E81, #4F46E5 60%, #7C3AED); color: #fff; }
.ph-template { background: linear-gradient(135deg, #075985, #0EA5E9 60%, #10B981); color: #fff; }
.ph-ebook { background: linear-gradient(135deg, #9A3412, #F97316); color: #fff; }

/* Product page */
.spec-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 16px; }
.spec-grid > div { display: flex; flex-direction: column; gap: 2px; padding: 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); }
.spec-grid svg { color: var(--primary); margin-bottom: 4px; }
.spec-grid b { font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.spec-grid span { font-size: 12px; color: var(--muted); }
.type-pill { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; padding: 5px 11px; border-radius: 999px; background: var(--primary-tint); color: var(--primary); }
.tp-prompt_pack { background: #FCE7F3; color: #BE185D; }
:root[data-theme="dark"] .tp-prompt_pack { background: #3B0A24; color: #F9A8D4; }
.meta-line { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font-size: 14px; }
.meta-line .muted { display: inline-flex; align-items: center; gap: 4px; }
.secure-note { display: flex; align-items: center; gap: 6px; justify-content: center; margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--border); color: var(--muted); font-size: 12.5px; }
.tag-ai { background: #FCE7F3; color: #BE185D; }
:root[data-theme="dark"] .tag-ai { background: #3B0A24; color: #F9A8D4; }
.prompt-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.prompt-card { border: 1px solid var(--border); border-radius: 16px; background: var(--surface); overflow: hidden; }
.prompt-head { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; background: var(--surface-2); font-weight: 700; font-size: 13px; }
.prompt-card pre { margin: 0; padding: 14px; white-space: pre-wrap; word-break: break-word; font: 14px/1.6 ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--text-2); max-height: 260px; overflow: auto; }
.whats-in { margin-top: 24px; padding: 20px; border-radius: 16px; background: var(--surface); border: 1px solid var(--border); }
.whats-in h3 { font-size: 16px; }
.help-strip { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-top: 16px; padding: 16px 18px; border-radius: 16px; background: var(--surface); border: 1px solid var(--border); }
.help-strip > div { display: flex; align-items: center; gap: 12px; }
.help-strip svg { color: var(--primary); }
.crumbs span { margin: 0 6px; color: var(--border); }
.crumbs span[aria-current] { color: var(--text-2); margin: 0; }
.crumbs-sm { margin: 0 0 4px; font-size: 12.5px; }
.cookie { flex-wrap: wrap; }
.sheet-types { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 8px; }
.sheet-types a { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 14px; background: var(--surface-2); font-weight: 600; font-size: 13.5px; }
.sheet-types .ti { width: 34px; height: 34px; border-radius: 10px; }

@media (max-width: 1100px) {
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .mega-panel { grid-template-columns: 220px 240px; }
  .mega-promo { display: none; }
}
@media (max-width: 900px) {
  .hero { padding: 22px 0 6px; }
  .hero h1 { font-size: 30px; }
  .hero-search { margin: 16px 0 10px; }
  .hero-search .btn { display: none; }
  .hero-tags { margin-bottom: 14px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-right: -16px; }
  .hero-tags a { white-space: nowrap; }
  .type-cards { grid-template-columns: 1fr 1fr; gap: 10px; }
  .type-card { padding: 14px; border-radius: 16px; }
  .type-card b { font-size: 14.5px; }
  .type-card .ti { width: 38px; height: 38px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .cat-tile { padding: 14px; }
  .deals-band { padding: 18px 16px; border-radius: 20px; margin: 0 -4px; }
  .deals-band .hscroll { margin: 0 -16px; padding-left: 16px; }
  .prompts-band { padding: 28px 0 20px; }
  .why-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .why { padding: 16px; }
  .why h3 { font-size: 15px; }
  .why p { font-size: 13px; }
  .cta-band { grid-template-columns: 1fr; padding: 24px 20px; border-radius: 22px; }
  .cta-band h2 { font-size: 23px; }
  .cta-band .btn { flex: 1; }
  .faq-wrap { grid-template-columns: 1fr; gap: 12px; }
  .faq-side { position: static; }
  .faq-side .btn { display: none; }
  .center-head h2, .section-head h2 { font-size: 20px; }
  .section-head { align-items: flex-end; gap: 10px; }
  .newsletter { margin-top: 36px; }
  .newsletter-in { flex-direction: column; align-items: stretch; padding: 20px; }
  .newsletter-form { min-width: 0; }
  .site-footer { margin-top: 24px; padding: 28px 0 20px; }
  .site-footer .footer-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .site-footer .footer-about { grid-column: 1 / -1; }
  .site-footer .footer-base { flex-direction: column; }
  .pay-marks { flex-wrap: wrap; }
  .prompt-list { grid-template-columns: 1fr; }
  .spec-grid { grid-template-columns: repeat(2, 1fr); }
  .type-tag { font-size: 10px; padding: 2px 7px; }
}
@media (max-width: 380px) { .why-grid { grid-template-columns: 1fr; } }

/* =================== v2.2 — expressive marketing layer =================== */
:root { --ink: #070A1A; --neon-1: #6366F1; --neon-2: #D946EF; --neon-3: #F59E0B; --neon-4: #22D3EE; --ease-out: cubic-bezier(.16, 1, .3, 1); }
.muted-2 { color: var(--muted); }
.xh2 { font-size: clamp(26px, 3vw, 38px) !important; letter-spacing: -.02em; line-height: 1.12; }
.xsection { margin-top: 84px; }
.btn-glow { position: relative; color: #fff; border: 0; background: linear-gradient(120deg, var(--neon-1), var(--neon-2) 55%, var(--neon-3)); background-size: 200% 100%; box-shadow: 0 10px 30px -8px rgba(217, 70, 239, .55), inset 0 1px 0 rgba(255,255,255,.25); transition: background-position .5s var(--ease-out), transform .15s, box-shadow .2s; }
.btn-glow:hover { background-position: 100% 0; color: #fff; box-shadow: 0 16px 40px -10px rgba(217, 70, 239, .7); transform: translateY(-1px); }
.btn-glass { color: #fff; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(10px); }
.btn-glass:hover { background: rgba(255,255,255,.16); color: #fff; }
.btn-wa { background: #25D366; border-color: #25D366; color: #fff; }

/* ---------- Hero ---------- */
.home-x .announce { position: relative; z-index: 2; }
.xhero { position: relative; overflow: hidden; background: var(--ink); color: #E2E8F0; padding: 72px 0 0; isolation: isolate; }
.xhero-mesh { position: absolute; inset: -20%; z-index: -2; filter: blur(80px) saturate(1.3); opacity: .9; }
.xhero-mesh i { position: absolute; border-radius: 50%; mix-blend-mode: screen; animation: drift 18s ease-in-out infinite alternate; }
.xhero-mesh i:nth-child(1) { width: 46vw; height: 46vw; left: 50%; top: -6%; background: radial-gradient(circle, var(--neon-1), transparent 65%); }
.xhero-mesh i:nth-child(2) { width: 40vw; height: 40vw; left: 70%; top: 30%; background: radial-gradient(circle, var(--neon-2), transparent 65%); animation-duration: 22s; }
.xhero-mesh i:nth-child(3) { width: 34vw; height: 34vw; left: 4%; top: 50%; background: radial-gradient(circle, var(--neon-4), transparent 65%); opacity: .55; animation-duration: 26s; }
.xhero-mesh i:nth-child(4) { width: 26vw; height: 26vw; left: 36%; top: 64%; background: radial-gradient(circle, var(--neon-3), transparent 65%); opacity: .45; animation-duration: 20s; }
@keyframes drift { to { transform: translate(-6%, 8%) scale(1.15); } }
.xhero-grid-bg { position: absolute; inset: 0; z-index: -1; opacity: .35;
  background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 75%); }
.xhero-in { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; padding-bottom: 64px; }
.xpill { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 5px; border-radius: 999px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); color: #E0E7FF; font-size: 13.5px; font-weight: 600; margin-bottom: 22px; backdrop-filter: blur(8px); transition: background .2s; }
a.xpill:hover { background: rgba(255,255,255,.13); }
.xpill-new { display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 999px; font-size: 11px; font-weight: 800; letter-spacing: .06em; color: #fff; background: linear-gradient(120deg, var(--neon-2), var(--neon-3)); }
.xh1 { font: 800 clamp(38px, 5vw, 66px)/1.03 var(--font-head); letter-spacing: -.035em; color: #fff; margin: 0 0 20px; }
.rotator { display: inline-grid; vertical-align: bottom; }
.rot-word { grid-area: 1 / 1; white-space: nowrap; background: linear-gradient(110deg, #A5B4FC, var(--neon-2) 45%, var(--neon-3)); -webkit-background-clip: text; background-clip: text; color: transparent;
  opacity: 0; transform: translateY(.45em); filter: blur(6px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out), filter .6s var(--ease-out); }
.rot-word.on { opacity: 1; transform: none; filter: none; }
.rot-word.out { opacity: 0; transform: translateY(-.45em); filter: blur(6px); }
.xlead { font-size: clamp(16px, 1.4vw, 19px); color: #CBD5E1; max-width: 560px; margin-bottom: 26px; }
.xsearch { position: relative; display: flex; align-items: center; gap: 10px; max-width: 580px; padding: 6px 6px 6px 18px; border-radius: 18px; color: #94A3B8;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(14px); box-shadow: 0 20px 50px -20px rgba(0,0,0,.6); }
.xsearch:focus-within { border-color: rgba(217,70,239,.7); box-shadow: 0 0 0 4px rgba(217,70,239,.18), 0 20px 50px -20px rgba(0,0,0,.6); }
.xsearch input { border: 0 !important; background: transparent !important; color: #fff; margin: 0; padding: 0; min-height: 48px; box-shadow: none !important; }
.xsearch input::placeholder { color: #94A3B8; }
.xsearch .btn { min-height: 48px; }
.xsearch .suggest { color: var(--text); }
.xcta { display: flex; gap: 12px; flex-wrap: wrap; margin: 22px 0 30px; }
.xproof { list-style: none; padding: 0; margin: 0; display: flex; gap: 32px; }
.xproof li { display: flex; flex-direction: column; }
.xproof b { font: 800 30px var(--font-head); color: #fff; font-variant-numeric: tabular-nums; }
.xproof b small { font-size: 16px; color: #94A3B8; }
.xproof span { font-size: 13px; color: #94A3B8; }
.xproof li + li { padding-left: 32px; border-left: 1px solid rgba(255,255,255,.12); }

.xhero-visual { position: relative; perspective: 1400px; }
.browser { position: relative; border-radius: 16px; overflow: hidden; background: #0F1530; border: 1px solid rgba(255,255,255,.14); box-shadow: 0 40px 90px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.04) inset; }
.xhero-visual .browser { transform: rotateY(-12deg) rotateX(6deg); transform-style: preserve-3d; transition: transform .6s var(--ease-out); }
.xhero-visual:hover .browser { transform: rotateY(-6deg) rotateX(3deg); }
.browser-bar { display: flex; align-items: center; gap: 7px; padding: 10px 12px; background: rgba(255,255,255,.05); border-bottom: 1px solid rgba(255,255,255,.08); }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #F87171; }
.browser-bar i:nth-child(2) { background: #FBBF24; } .browser-bar i:nth-child(3) { background: #34D399; }
.browser-bar span { margin-left: 10px; flex: 1; font-size: 11.5px; color: #94A3B8; padding: 4px 10px; border-radius: 8px; background: rgba(255,255,255,.06); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.browser-body { aspect-ratio: 16 / 10; background: #111833; }
.browser-body img, .browser-body .ph { width: 100%; height: 100%; object-fit: cover; }
.phone { position: absolute; right: -18px; bottom: -34px; width: 30%; aspect-ratio: 9 / 19; border-radius: 26px; padding: 6px; background: #0B0F22; border: 1px solid rgba(255,255,255,.18); box-shadow: 0 30px 60px -20px rgba(0,0,0,.8); overflow: hidden; transform: rotate(4deg); }
.phone img, .phone .ph { width: 100%; height: 100%; object-fit: cover; object-position: left top; border-radius: 20px; }
.phone-notch { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 34%; height: 12px; border-radius: 99px; background: #000; z-index: 2; }
.xfloat { position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px; color: var(--text); background: rgba(255,255,255,.92); backdrop-filter: blur(12px); box-shadow: 0 18px 40px -12px rgba(0,0,0,.5); animation: floaty 6s ease-in-out infinite; }
:root[data-theme="dark"] .xfloat { background: rgba(18,25,51,.92); }
.xfloat b { display: block; font-size: 13px; white-space: nowrap; } .xfloat small { color: var(--muted); font-size: 11.5px; }
.xf1 { left: -34px; top: 18%; } .xf2 { left: 8%; bottom: -26px; animation-delay: -2s; min-width: 190px; } .xf3 { right: -26px; top: -18px; animation-delay: -4s; }
.xf-ic { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; color: #fff; background: var(--neon-1); flex: none; }
.xf-ic.ok { background: #10B981; } .xf-ic.pink { background: var(--neon-2); }
.xbar { height: 6px; border-radius: 99px; background: rgba(100,116,139,.2); overflow: hidden; margin-top: 5px; min-width: 110px; }
.xbar i { display: block; height: 100%; width: 0; border-radius: 99px; background: linear-gradient(90deg, var(--neon-1), var(--neon-2)); animation: fillbar 2.8s var(--ease-out) infinite; }
@keyframes fillbar { 0% { width: 0; } 70%, 100% { width: 100%; } }

.marquee { position: relative; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.xhero .marquee { border-top: 1px solid rgba(255,255,255,.08); padding: 16px 0; background: rgba(255,255,255,.02); }
.marquee-track { display: flex; gap: 40px; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track.still { animation: none; margin: 0 auto; padding: 0 20px; }
.xhero .marquee-track span { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: #94A3B8; white-space: nowrap; font-size: 14.5px; }
.xhero .marquee-track svg { color: var(--neon-2); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Type tiles ---------- */
.xtypes { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; margin-top: -36px; position: relative; z-index: 2; }
.xtype { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 22px; border-radius: 22px; background: var(--surface); border: 1px solid var(--border); box-shadow: 0 20px 40px -24px rgba(15,23,42,.35); overflow: hidden; transition: box-shadow .25s, border-color .25s; transform-style: preserve-3d; }
.xtype::before { content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: linear-gradient(140deg, var(--neon-1), var(--neon-2), var(--neon-3)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .25s; }
.xtype:hover::before { opacity: 1; }
.xtype:hover { box-shadow: 0 30px 60px -28px rgba(99,102,241,.55); }
.xtype b { font: 800 19px var(--font-head); margin-top: 10px; }
.xtype-desc { color: var(--muted); font-size: 14px; flex: 1; }
.xtype-foot { display: flex; justify-content: space-between; align-items: center; font-weight: 700; font-size: 13.5px; color: var(--text-2); margin-top: 6px; }
.xtype .arrow { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); transition: transform .25s var(--ease-out), background .25s, color .25s; }
.xtype:hover .arrow { transform: translateX(4px) rotate(-45deg); background: var(--primary); color: var(--primary-ink); }
.xtype .ti { width: 52px; height: 52px; border-radius: 16px; box-shadow: 0 10px 24px -10px currentColor; }

/* ---------- Spotlight ---------- */
.spot { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center; }
.spot h2 { font: 800 clamp(28px, 3.2vw, 42px)/1.1 var(--font-head); letter-spacing: -.02em; }
.spot-list { list-style: none; padding: 0; margin: 18px 0; display: grid; gap: 10px; }
.spot-list li { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.spot-list li > span { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--ok-bg); color: var(--ok); flex: none; }
.spot-price { margin: 6px 0 20px; }
.spot-visual { position: relative; display: block; perspective: 1200px; }
.spot-glow { position: absolute; inset: 8% 6%; border-radius: 40px; background: linear-gradient(135deg, var(--neon-1), var(--neon-2), var(--neon-3)); filter: blur(60px); opacity: .45; z-index: -1; }
.browser-lg { transition: transform .4s var(--ease-out); }
.spot-badge { position: absolute; top: -18px; right: -12px; width: 92px; height: 92px; border-radius: 50%; display: grid; place-content: center; text-align: center; color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .08em;
  background: conic-gradient(from 0deg, var(--neon-2), var(--neon-3), var(--neon-2)); box-shadow: 0 16px 30px -10px rgba(217,70,239,.7); transform: rotate(12deg); }
.spot-badge b { display: block; font: 800 28px/1 var(--font-head); letter-spacing: -.02em; }

/* ---------- Category tiles (colourful) ---------- */
.cat-tile { position: relative; overflow: hidden; }
.cat-arrow { position: absolute; right: 16px; top: 16px; color: var(--muted); opacity: 0; transform: translateX(-6px); transition: .25s var(--ease-out); }
.cat-tile:hover .cat-arrow { opacity: 1; transform: none; color: var(--primary); }
.ct-0 .cat-ic { background: #EEF2FF; color: #4F46E5; } .ct-1 .cat-ic { background: #FDF2F8; color: #DB2777; } .ct-2 .cat-ic { background: #ECFDF5; color: #059669; }
.ct-3 .cat-ic { background: #FFFBEB; color: #D97706; } .ct-4 .cat-ic { background: #ECFEFF; color: #0891B2; } .ct-5 .cat-ic { background: #F5F3FF; color: #7C3AED; }
:root[data-theme="dark"] .cat-tile .cat-ic { background: var(--surface-2); }

/* ---------- Deals ---------- */
.xdeals { position: relative; overflow: hidden; background: radial-gradient(circle at 90% 0%, rgba(245,158,11,.45), transparent 45%), linear-gradient(135deg, #4C0519, #9F1239 45%, #C2410C); padding: 30px; }
.xdeals-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 18px; }
.xdeals-head h2 { color: #fff; font: 800 clamp(24px, 2.6vw, 34px) var(--font-head); margin: 0; }
.xcount { display: flex; gap: 8px; }
.xcount > div { min-width: 62px; padding: 8px 6px; border-radius: 14px; text-align: center; background: rgba(0,0,0,.25); border: 1px solid rgba(255,255,255,.15); backdrop-filter: blur(6px); }
.xcount b { display: block; font: 800 26px/1.1 var(--font-head); color: #fff; font-variant-numeric: tabular-nums; }
.xcount span { font-size: 10.5px; text-transform: uppercase; letter-spacing: .08em; color: #FED7AA; }

/* ---------- Prompts band with chat demo ---------- */
.xprompts { position: relative; overflow: hidden; padding: 72px 0 44px; }
.xprompts h2 { font: 800 clamp(28px, 3.4vw, 46px)/1.08 var(--font-head); letter-spacing: -.02em; }
.xprompts-top { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; margin-bottom: 34px; }
.xprompts .band-sub { font-size: 17px; margin: 10px 0 24px; color: #C7D2FE; }
.chat-demo { border-radius: 22px; padding: 18px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(12px); box-shadow: 0 30px 70px -30px rgba(0,0,0,.8); }
.chat-head { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #E2E8F0; padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,.08); margin-bottom: 14px; }
.chat-head .muted-2 { color: #94A3B8; margin-left: auto; font-size: 12px; max-width: 55%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chat-dot { width: 8px; height: 8px; border-radius: 50%; background: #34D399; box-shadow: 0 0 0 4px rgba(52,211,153,.2); }
.chat-msg { display: flex; gap: 10px; margin-bottom: 14px; }
.chat-av { flex: none; width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; font-size: 10.5px; font-weight: 800; color: #fff; background: #334155; }
.chat-av.ai { background: linear-gradient(135deg, var(--neon-1), var(--neon-2)); }
.chat-msg p { margin: 0; padding: 12px 14px; border-radius: 4px 16px 16px 16px; background: rgba(255,255,255,.08); color: #F1F5F9; font: 14px/1.6 ui-monospace, SFMono-Regular, Menlo, monospace; min-height: 48px; }
.chat-msg p::after { content: '▍'; animation: blink 1s steps(1) infinite; color: var(--neon-2); }
.chat-msg p.done::after { display: none; }
@keyframes blink { 50% { opacity: 0; } }
.chat-lines { flex: 1; display: grid; gap: 8px; padding: 14px; border-radius: 4px 16px 16px 16px; background: rgba(255,255,255,.05); }
.chat-lines i { height: 9px; border-radius: 99px; background: linear-gradient(90deg, rgba(165,180,252,.35), rgba(244,114,182,.35), rgba(165,180,252,.35)); background-size: 200% 100%; animation: shimmer 1.6s linear infinite; }
.chat-lines i:nth-child(2) { width: 88%; } .chat-lines i:nth-child(3) { width: 94%; } .chat-lines i:nth-child(4) { width: 60%; }
@keyframes shimmer { to { background-position: -200% 0; } }
.chat-cta { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 13.5px; color: #F0ABFC; }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: minmax(190px, auto); gap: 16px; }
.bento-card { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 6px; padding: 26px; border-radius: 24px; background: var(--surface); border: 1px solid var(--border); }
.bento-card h3 { display: flex; align-items: center; gap: 10px; font-size: 19px; margin: 0 0 4px; }
.bento-card h3 svg { color: var(--primary); }
.bento-card p { color: var(--muted); margin: 0 0 12px; }
.b-wide { grid-column: span 2; flex-direction: row; align-items: center; gap: 24px; }
.b-wide > div:first-child { flex: 1; }
.b-tall { grid-row: span 2; }
.b-dark { background: radial-gradient(circle at 100% 0%, rgba(99,102,241,.5), transparent 50%), var(--ink); color: #E2E8F0; border-color: transparent; }
.b-dark h3, .b-dark h3 svg { color: #fff; } .b-dark p { color: #A5B4FC; }
.b-grad { background: linear-gradient(160deg, #4F46E5, #9333EA 55%, #DB2777); color: #fff; border-color: transparent; }
.b-grad h3, .b-grad h3 svg { color: #fff; } .b-grad p { color: #EDE9FE; }
.b-viz { flex: none; }
.b-viz-dl { width: 46%; display: grid; gap: 10px; }
.dl-row-v { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 14px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); }
.dl-row-v > div { flex: 1; } .dl-row-v b { font-size: 13px; color: #fff; }
.fi { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--neon-1); color: #fff; } .fi.pink { background: var(--neon-2); }
.ok-dot { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: #10B981; color: #fff; }
.b-viz-ver { margin-top: auto; display: flex; flex-direction: column; gap: 10px; }
.b-viz-ver span { padding: 12px 16px; border-radius: 14px; background: rgba(255,255,255,.12); font: 700 15px var(--font-head); opacity: .55; }
.b-viz-ver span.on { opacity: 1; background: #fff; color: #6D28D9; box-shadow: 0 14px 30px -12px rgba(0,0,0,.4); }
.b-viz-chat { width: 40%; display: flex; flex-direction: column; gap: 8px; }
.bub { padding: 9px 13px; border-radius: 14px; font-size: 13px; max-width: 90%; }
.bub.them { background: var(--surface-2); border-bottom-left-radius: 4px; }
.bub.me { align-self: flex-end; background: #DCF8C6; color: #14532D; border-bottom-right-radius: 4px; }

/* ---------- Steps ---------- */
.xsteps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; position: relative; }
.xsteps::before { content: ''; position: absolute; top: 46px; left: 16%; right: 16%; height: 2px; background: repeating-linear-gradient(90deg, var(--border) 0 8px, transparent 8px 16px); z-index: 0; }
.xsteps li { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 22px; border-radius: 22px; background: var(--surface); border: 1px solid var(--border); }
.xsteps p { color: var(--muted); margin: 6px 0 0; font-size: 14.5px; }
.xstep-n { position: absolute; top: 14px; right: 18px; font: 800 30px var(--font-head); color: var(--surface-2); }
.xstep-ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 12px; color: #fff; background: linear-gradient(135deg, var(--neon-1), var(--neon-2)); box-shadow: 0 12px 26px -10px rgba(99,102,241,.7); }
.xsteps strong { font: 700 17px var(--font-head); }

/* ---------- Reviews marquee ---------- */
.marquee-reviews { padding: 6px 0 20px; }
.marquee-reviews .marquee-track { gap: 18px; animation-duration: 60s; }
.marquee-reviews .quote { width: 340px; flex: none; }

/* ---------- CTA ---------- */
.xcta-band { position: relative; overflow: hidden; }
.xcta-orbs i { position: absolute; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); }
.xcta-orbs i:nth-child(1) { width: 420px; height: 420px; right: -120px; top: -180px; }
.xcta-orbs i:nth-child(2) { width: 260px; height: 260px; right: -40px; top: -100px; }
.xcta-band > :not(.xcta-orbs) { position: relative; }

/* ---------- Product cards: glow + lift ---------- */
.pcard { transition: transform .3s var(--ease-out), box-shadow .3s, border-color .3s; }
.pcard:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--primary) 35%, var(--border)); box-shadow: 0 24px 50px -24px rgba(79,70,229,.45); }
.pcard .add { transition: transform .2s var(--ease-out), background .2s; }
.pcard:hover .add { transform: scale(1.08) rotate(90deg); }
.pcard-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(120deg, transparent 40%, rgba(255,255,255,.25) 50%, transparent 60%); transform: translateX(-100%); transition: transform .8s var(--ease-out); pointer-events: none; }
.pcard:hover .pcard-img::after { transform: translateX(100%); }

/* ---------- Social proof pop ---------- */
.proof-pop { position: fixed; left: 20px; bottom: 24px; z-index: 65; display: flex; align-items: center; gap: 12px; max-width: 340px; padding: 10px 14px 10px 10px; border-radius: 16px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-lg); animation: popin .5s var(--ease-out); }
.proof-pop img, .proof-pop .pp-ph { width: 52px; height: 52px; border-radius: 12px; object-fit: cover; flex: none; background: linear-gradient(135deg, var(--neon-1), var(--neon-2)); display: grid; place-items: center; color: #fff; }
.proof-pop b { display: block; font-size: 13.5px; line-height: 1.35; }
.proof-pop small { color: var(--muted); font-size: 12px; display: flex; align-items: center; gap: 4px; }
.proof-pop small svg { color: var(--ok); }
.proof-pop .pp-x { position: absolute; top: 4px; right: 4px; width: 22px; height: 22px; border: 0; background: none; color: var(--muted); padding: 0; }
@keyframes popin { from { opacity: 0; transform: translateY(20px) scale(.96); } }

/* ---------- Scroll reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js [data-stagger] > * { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.js [data-stagger].in > * { opacity: 1; transform: none; }
.js [data-stagger].in > *:nth-child(2) { transition-delay: .06s; } .js [data-stagger].in > *:nth-child(3) { transition-delay: .12s; }
.js [data-stagger].in > *:nth-child(4) { transition-delay: .18s; } .js [data-stagger].in > *:nth-child(5) { transition-delay: .24s; }
.js [data-stagger].in > *:nth-child(6) { transition-delay: .3s; } .js [data-stagger].in > *:nth-child(7) { transition-delay: .36s; } .js [data-stagger].in > *:nth-child(8) { transition-delay: .42s; }

/* ---------- Header on dark hero ---------- */
.home-x .d-header { background: color-mix(in srgb, var(--surface) 82%, transparent); }

@media (max-width: 1100px) {
  .xhero-in { gap: 36px; }
  .xf1 { left: -10px; } .xf3 { right: -6px; }
  .bento { grid-template-columns: 1fr 1fr; }
  .b-tall { grid-row: auto; }
}
@media (max-width: 900px) {
  .xsection { margin-top: 48px; }
  .xhero { padding: 26px 0 0; }
  .xhero-in { grid-template-columns: minmax(0, 1fr); gap: 34px; padding-bottom: 54px; }
  .xh1 { font-size: 36px; }
  .rot-word { white-space: normal; }
  .xlead { font-size: 15.5px; margin-bottom: 18px; }
  .xsearch { padding-left: 14px; }
  .xsearch .btn { display: none; }
  .xcta { margin: 16px 0 22px; }
  .xcta .btn { flex: 1; min-height: 48px; padding: 0 14px; font-size: 15px; }
  .xproof { gap: 18px; justify-content: space-between; }
  .xproof li + li { padding-left: 18px; }
  .xproof b { font-size: 24px; }
  .xhero-visual .browser { transform: none; }
  .phone { width: 28%; right: -6px; bottom: -24px; border-radius: 20px; }
  .xf1 { left: -6px; top: auto; bottom: 28%; }
  .xf2 { display: none; }
  .xf3 { right: 18%; top: -16px; }
  .xfloat { padding: 8px 10px; }
  .xtypes { margin-top: -26px; grid-template-columns: 1fr 1fr; gap: 10px; }
  .xtype { padding: 14px; border-radius: 18px; }
  .xtype b { font-size: 15px; margin-top: 6px; }
  .xtype-desc { display: none; }
  .xtype .ti { width: 42px; height: 42px; border-radius: 13px; }
  .xtype .arrow { width: 26px; height: 26px; }
  .spot { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .spot-visual { order: -1; }
  .spot-badge { width: 72px; height: 72px; right: -4px; top: -12px; } .spot-badge b { font-size: 22px; }
  .xdeals { padding: 20px 16px; }
  .xcount > div { min-width: 52px; } .xcount b { font-size: 21px; }
  .xprompts { padding: 44px 0 28px; }
  .xprompts-top { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .bento { grid-template-columns: minmax(0, 1fr); grid-auto-rows: auto; gap: 12px; }
  .b-wide { grid-column: auto; flex-direction: column; align-items: stretch; }
  .b-viz-dl, .b-viz-chat { width: 100%; }
  .bento-card { padding: 20px; }
  .xsteps { grid-template-columns: minmax(0, 1fr); }
  .xsteps::before { display: none; }
  .xsteps li { display: grid; grid-template-columns: 46px 1fr; column-gap: 14px; text-align: left; align-items: start; padding: 18px; }
  .xstep-ic { grid-row: span 2; margin: 0; width: 46px; height: 46px; }
  .xsteps p { margin: 2px 0 0; }
  .marquee-reviews .quote { width: 290px; }
  .proof-pop { left: 12px; right: 12px; max-width: none; bottom: calc(var(--tabbar-h) + 12px + var(--safe-b)); }
  .has-buybar .proof-pop { bottom: calc(var(--tabbar-h) + 86px + var(--safe-b)); }
}
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal], .js [data-stagger] > * { opacity: 1 !important; transform: none !important; }
  .marquee-track { animation: none !important; }
}

/* =================== RESPONSIVE: show one shell =================== */
.only-m { display: none !important; }
@media (max-width: 1100px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .d-nav > a:not(.btn):not(.cart-btn) { display: none; }
}

@media (max-width: 900px) {
  .only-d { display: none !important; }
  .only-m { display: revert !important; }
  .m-appbar.only-m, .m-tabbar.only-m, .buybar.only-m, .m-filterbar.only-m, .hero-search.only-m, .m-searchbar.only-m { display: flex !important; }
  .gallery-count.only-m { display: block !important; }
  body { font-size: 15px; padding-bottom: calc(var(--tabbar-h) + var(--safe-b)); }
  body.has-buybar { padding-bottom: calc(var(--tabbar-h) + 76px + var(--safe-b)); }
  .wrap { padding: 0 16px; }
  .announce { font-size: 12.5px; padding: 6px 12px; }

  /* App bar */
  .m-appbar { position: sticky; top: 0; z-index: 40; height: calc(var(--appbar-h) + var(--safe-t)); padding: var(--safe-t) 8px 0 12px; align-items: center; gap: 4px;
    background: color-mix(in srgb, var(--surface) 90%, transparent); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--border); }
  .m-appbar .brand { font-size: 16.5px; }
  .m-appbar .brand span { max-width: 52vw; overflow: hidden; text-overflow: ellipsis; }
  .m-title { flex: 1; font-size: 17px; margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .m-actions { margin-left: auto; display: flex; }

  /* Tab bar */
  .m-tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; height: calc(var(--tabbar-h) + var(--safe-b)); padding-bottom: var(--safe-b);
    background: color-mix(in srgb, var(--surface) 94%, transparent); backdrop-filter: saturate(1.4) blur(14px); border-top: 1px solid var(--border); justify-content: space-around; }
  .m-tabbar > a, .m-tabbar > button { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; border: 0; background: none; color: var(--muted); font-size: 11px; font-weight: 600; }
  .m-tabbar .on { color: var(--primary); }
  .m-tabbar .on svg { stroke-width: 2.3; }
  .tab-ic { position: relative; display: inline-flex; }

  /* Sticky buy bar above the tab bar */
  .buybar { position: fixed; left: 0; right: 0; bottom: calc(var(--tabbar-h) + var(--safe-b)); z-index: 45; padding: 10px 16px; gap: 10px; align-items: center;
    background: var(--surface); border-top: 1px solid var(--border); box-shadow: 0 -6px 20px rgba(15,23,42,.06); }
  .buybar form { margin: 0; }
  .buybar-price { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
  .buybar-price strong { font: 800 19px var(--font-head); }
  .buybar .price .now { font-size: 18px; }
  .buybar .price .mrp, .buybar .price .off { font-size: 11.5px; }

  .wa-fab { bottom: calc(var(--tabbar-h) + 16px + var(--safe-b)); right: 14px; width: 50px; height: 50px; }
  .has-buybar .wa-fab { bottom: calc(var(--tabbar-h) + 92px + var(--safe-b)); }
  .cookie { bottom: calc(var(--tabbar-h) + 12px + var(--safe-b)); }
  .has-buybar .cookie { bottom: calc(var(--tabbar-h) + 86px + var(--safe-b)); }
  .toast { bottom: calc(var(--tabbar-h) + 20px + var(--safe-b)); }

  /* Layout collapses */
  .hero { padding: 20px 0 4px; }
  .hero::before { width: 380px; height: 380px; }
  .hero-grid, .product-grid, .cart-grid, .browse, .two-col { grid-template-columns: 1fr; gap: 18px; }
  .hero h1 { font-size: 28px; }
  .lead { font-size: 15.5px; }
  .hero-trust { font-size: 12.5px; gap: 6px 14px; }
  .slider { border-radius: 18px; aspect-ratio: 16 / 10; }
  .slide-cap { padding: 40px 16px 14px; }
  .slide-cap strong { font-size: 17px; }
  .section { margin-top: 26px; }
  .section-head h2 { font-size: 19px; }
  .grid, .grid-3 { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .hscroll { grid-auto-columns: 72%; gap: 12px; margin: 0 -16px; padding: 4px 16px 12px; scroll-padding: 0 16px; }
  .reviews-row { grid-auto-columns: 85%; }
  .pcard-body { padding: 10px 10px 12px; }
  .pcard-title { font-size: 14px; }
  .pcard .price .now { font-size: 16px; }
  .pcard .price .mrp { font-size: 11.5px; }
  .pcard .price .off { display: none; }
  .pcard .eyebrow { font-size: 10.5px; }
  .pcard-foot .icon-btn { width: 36px; height: 36px; border-radius: 10px; }
  .wish { width: 32px; height: 32px; top: 8px; right: 8px; }
  .pcard:hover { transform: none; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .stats > div { padding: 14px; }
  .stats strong { font-size: 22px; }
  .steps, .kpis { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .m-searchbar { position: relative; align-items: center; gap: 8px; padding: 0 14px; margin: 12px 0 6px; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; color: var(--muted); }
  .m-searchbar input { border: 0; margin: 0; padding: 0; background: transparent; box-shadow: none !important; }
  .m-filterbar { margin: 6px -16px 0; padding: 4px 16px 8px; }
  .browse { margin-top: 6px; }
  .browse-head h1 { font-size: 20px; }

  /* Product page as an app screen */
  .product { padding-top: 0; }
  .gallery { margin: 0 -16px; }
  .gallery-main { border-radius: 0; border: 0; }
  .gallery-thumbs { display: none; }
  .buybox-sticky { position: static; border: 0; box-shadow: none; padding: 4px 0 0; background: transparent; }
  .product-title { font-size: 22px; }
  .price-lg .now { font-size: 26px; }
  .tabs { margin-top: 24px; }
  .tab-list { margin: 0 -16px; padding: 0 12px; position: sticky; top: calc(var(--appbar-h) + var(--safe-t)); background: var(--bg); z-index: 5; }
  .check-list { grid-template-columns: 1fr; }

  .page-title { font-size: 23px; margin: 14px 0; }
  .summary { position: static; }
  .cart-item .thumb { width: 76px; }
  .progress li { font-size: 0; gap: 0; padding: 10px 4px; }
  .progress li svg { width: 18px; height: 18px; }
  .order-meta { grid-template-columns: 1fr 1fr; }
  .lib-grid { grid-template-columns: 1fr; }
  .lib-item .thumb { width: 76px; }
  .two, .choice-grid { grid-template-columns: 1fr; }
  .pad-lg { padding: 18px; }
  .dl-row { flex-wrap: wrap; }
  .dl-row .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .success-hero h1 { font-size: 24px; }
  .bubble { max-width: 92%; }
  .seg { width: 100%; }
  .seg a { flex: 1; text-align: center; padding: 8px 10px; }
  .page { animation: fade .25s; }
}

@media (max-width: 380px) {
  .grid, .grid-3 { gap: 10px; }
  .m-appbar .brand span { max-width: 44vw; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

@media print {
  .d-header, .m-appbar, .m-tabbar, .d-footer, .buybar, .wa-fab, .cookie { display: none !important; }
}
.hero-grid > *, .product-grid > *, .cart-grid > *, .browse > *, .faq-wrap > *, .cta-band > * { min-width: 0; }
@media (max-width: 900px) { .hero-grid, .product-grid, .cart-grid, .browse, .two-col, .faq-wrap, .cta-band { grid-template-columns: minmax(0, 1fr); } }
[hidden] { display: none !important; }
@media (max-width: 900px) {
  .cookie { flex-direction: column; align-items: stretch; gap: 10px; padding: 14px; }
  .cookie .row-gap-sm { justify-content: flex-end; }
}
.xcta-orbs { position: absolute; inset: 0; pointer-events: none; }

/* =====================================================================
   v3 — commerce, gift cards, content, Q&A, i18n
   ===================================================================== */
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .02em; }
.pill { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; padding: 2px 9px; border-radius: 999px; background: var(--surface-2); color: var(--text-2); }
.pill-accent { background: var(--primary-tint); color: var(--primary); }
.pill-success { background: var(--ok-bg); color: var(--ok); }
.chip-free { background: linear-gradient(120deg, #059669, #10B981); color: #fff; }
.free-price { color: var(--ok) !important; font-weight: 800; }
.big-ok { width: 72px; height: 72px; margin: 0 auto 10px; border-radius: 50%; display: grid; place-items: center; background: var(--ok-bg); color: var(--ok); }
.center { text-align: center; }

/* Announcement bar for a running campaign */
.announce-sale { background: linear-gradient(100deg, #7C3AED, #DB2777 55%, #F97316); color: #fff; }
.announce-sale .wrap { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px 14px; }
.ann-timer { display: inline-flex; align-items: center; gap: 5px; font-variant-numeric: tabular-nums; background: rgba(0,0,0,.18); padding: 2px 10px; border-radius: 999px; }
.ann-code { display: inline-flex; align-items: center; gap: 5px; border: 1px dashed rgba(255,255,255,.7); background: rgba(255,255,255,.12); color: #fff; padding: 2px 10px; border-radius: 8px; font: 700 12.5px/1.6 ui-monospace, Menlo, monospace; letter-spacing: .06em; }

/* Language switch */
.lang-btn { display: inline-grid; place-items: center; min-width: 36px; height: 36px; padding: 0 8px; border-radius: 10px; border: 1px solid var(--border); background: var(--surface); font-weight: 800; font-size: 14px; color: var(--text); }
.lang-btn:hover { border-color: var(--primary); color: var(--primary); }
html[lang="kn-IN"] body { font-family: 'Noto Sans Kannada', var(--font); }

/* Cart: multi-buy nudge, quantity, agency, order bumps */
.nudge { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: var(--radius-sm); background: var(--primary-tint); color: var(--primary); font-weight: 600; font-size: 14px; margin-bottom: 12px; }
.nudge span { flex: 1; }
.nudge.ok { background: var(--ok-bg); color: var(--ok); }
.qty-form { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.qty-form b { min-width: 22px; text-align: center; font-variant-numeric: tabular-nums; }
.qbtn { width: 32px; height: 32px; border-radius: 9px; border: 1px solid var(--border); background: var(--surface); font-size: 18px; font-weight: 700; line-height: 1; }
.qbtn:hover:not(:disabled) { border-color: var(--primary); color: var(--primary); }
.qbtn:disabled { opacity: .4; cursor: not-allowed; }
.agency-hint { display: inline-flex; align-items: flex-start; gap: 8px; font-size: 12.5px; color: var(--text-2); background: var(--surface-2); padding: 6px 10px; border-radius: 9px; }
.buybox .agency-hint { display: flex; margin: 0 0 12px; font-size: 13.5px; padding: 10px 12px; }
.bump { position: relative; display: flex; align-items: center; gap: 14px; padding: 18px 16px 14px; border: 2px dashed var(--accent); background: linear-gradient(0deg, var(--warn-bg), var(--surface)); margin-top: 12px; flex-wrap: wrap; }
.bump .grow { display: flex; flex-direction: column; min-width: 160px; }
.bump-tag { position: absolute; top: -11px; left: 14px; display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; background: var(--accent); color: #111; padding: 2px 9px; border-radius: 999px; }
.bump-price { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.2; }
.bump-price s { color: var(--muted); font-size: 13px; }
.bump-price b { font-size: 18px; color: var(--ok); }
.bump-inline { margin: 8px 0; border-radius: var(--radius-sm); padding: 16px 12px 10px; }
.gift-box summary { color: var(--primary); }
.gift-box[open] { background: var(--primary-tint); }

/* Product page additions */
.owned-note { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 13.5px; color: var(--ok); background: var(--ok-bg); padding: 6px 12px; border-radius: 999px; margin-bottom: 10px; }
.free-form { padding: 14px; border-radius: var(--radius); background: var(--ok-bg); border: 1px solid color-mix(in srgb, var(--ok) 25%, transparent); margin: 6px 0 12px; gap: 10px; }
.free-form input[type=email], .free-form input[type=text], .free-form input[type=tel] { width: 100%; }
.demo-login { margin: 10px 0; padding: 12px; border-radius: var(--radius-sm); border: 1px solid var(--border); background: var(--surface-2); display: grid; gap: 8px; }
.demo-login .cred { display: grid; grid-template-columns: 74px minmax(0, 1fr) auto; align-items: center; gap: 8px; font-size: 13px; }
.demo-login .cred span { color: var(--muted); }
.demo-login code { background: var(--surface); border: 1px solid var(--border); padding: 4px 8px; border-radius: 7px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.demo-login .icon-btn { width: 32px; height: 32px; }
.lite-yt { position: relative; aspect-ratio: 16/9; margin: 18px 0; border-radius: var(--radius); background: #000 center/cover no-repeat; overflow: hidden; cursor: pointer; box-shadow: var(--shadow-lg); }
.lite-yt::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.55)); transition: opacity .2s; }
.lite-yt:hover::before { opacity: .6; }
.lite-yt-play { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; filter: drop-shadow(0 6px 20px rgba(0,0,0,.5)); transition: transform .2s; }
.lite-yt:hover .lite-yt-play { transform: scale(1.08); }
.lite-yt-label { position: absolute; left: 16px; bottom: 12px; color: #fff; font-weight: 700; font-size: 15px; }
.lite-yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.lite-yt.playing::before { display: none; }

/* Frequently bought together */
.fbt-box { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.fbt-items { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; flex: 1 1 520px; min-width: 0; }
.fbt-item { display: flex; align-items: center; gap: 10px; flex: 1 1 180px; min-width: 0; padding: 8px; border-radius: var(--radius-sm); border: 1px solid var(--border); background: var(--surface); }
.fbt-item:hover { border-color: var(--primary); }
.fbt-item img, .fbt-item .ph { width: 72px; height: 48px; object-fit: cover; border-radius: 8px; flex: none; }
.fbt-item .ph { display: grid; place-items: center; min-height: 0; }
.fbt-item > span { display: flex; flex-direction: column; min-width: 0; font-size: 13.5px; line-height: 1.35; }
.fbt-item b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fbt-plus { font-size: 22px; font-weight: 800; color: var(--muted); }
.fbt-buy { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.fbt-buy > div { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.fbt-total { font-size: 22px; font-family: var(--font-head); }

/* Q&A */
.qa-list { display: grid; gap: 14px; margin-bottom: 18px; }
.qa-item { padding: 14px 16px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); display: grid; gap: 10px; }
.qa-q, .qa-a { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 10px; }
.qa-q > div, .qa-a > div { display: flex; flex-direction: column; gap: 2px; }
.qa-badge { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; font-weight: 800; font-size: 13px; background: var(--primary-tint); color: var(--primary); }
.qa-badge-a { background: var(--ok-bg); color: var(--ok); }
.ask-form textarea, .ask-form input { width: 100%; }

/* Changelog timeline */
.cl-month { font-size: 15px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 26px 0 10px; }
.timeline { list-style: none; margin: 0; padding: 0 0 0 22px; position: relative; display: grid; gap: 14px; }
.timeline::before { content: ""; position: absolute; left: 6px; top: 6px; bottom: 6px; width: 2px; background: var(--border); }
.cl-item { position: relative; }
.cl-dot { position: absolute; left: -22px; top: 14px; width: 14px; height: 14px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 4px var(--primary-tint); }
.cl-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 6px; }
.cl-prod { display: inline-flex; align-items: center; gap: 8px; }
.cl-prod img { width: 36px; height: 36px; object-fit: cover; border-radius: 8px; }
.prose.small { font-size: 14px; }
.prose.small p:last-child, .prose.small ul:last-child { margin-bottom: 0; }

/* Blog */
.blog-intro { text-align: left; }
.post-type { display: inline-flex; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; background: var(--primary-tint); color: var(--primary); width: fit-content; }
.pt-guide { background: var(--ok-bg); color: var(--ok); }
.pt-compare { background: #FDF2F8; color: #BE185D; }
.post-cover { aspect-ratio: 1200/630; background: var(--surface-2); overflow: hidden; }
.post-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease-out, ease); }
.post-cover-ph { width: 100%; height: 100%; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, #4F46E5, #7C3AED); }
.post-cover-ph.pt-guide { background: linear-gradient(135deg, #059669, #0EA5E9); color: #fff; }
.post-cover-ph.pt-compare { background: linear-gradient(135deg, #DB2777, #F97316); color: #fff; }
.post-feature { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); background: var(--surface); margin: 18px 0 22px; box-shadow: var(--shadow); }
.post-feature:hover .post-cover img, .post-card:hover .post-cover img { transform: scale(1.04); }
.post-feature-body { padding: 26px; display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.post-feature-body h2 { font-size: clamp(22px, 2.4vw, 30px); margin: 0; }
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.post-card { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); background: var(--surface); transition: transform .2s, box-shadow .2s; }
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.post-card-body { padding: 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.post-card-body h3 { font-size: 17px; margin: 0; }
.post-card-body p { font-size: 14px; margin: 0; flex: 1; }
.post-meta { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); }
.post-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 40px; align-items: start; margin-top: 10px; }
.post { max-width: 760px; min-width: 0; }
.post-head { margin-bottom: 18px; display: grid; gap: 10px; }
.post-head h1 { font-size: clamp(28px, 4vw, 44px); letter-spacing: -.025em; margin: 0; }
.post-lead { font-size: 18px; color: var(--text-2); margin: 0; }
.post-hero { width: 100%; border-radius: var(--radius); margin-bottom: 22px; aspect-ratio: 1200/630; object-fit: cover; }
.post .prose { font-size: 16.5px; line-height: 1.75; }
.prose h2 { font-size: 26px; margin: 1.6em 0 .5em; scroll-margin-top: 90px; }
.prose h3 { font-size: 20px; margin: 1.4em 0 .4em; scroll-margin-top: 90px; }
.prose a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: .3em 0; }
.prose blockquote { margin: 1.2em 0; padding: 12px 18px; border-left: 4px solid var(--primary); background: var(--primary-tint); border-radius: 0 10px 10px 0; color: var(--text-2); }
.prose code { background: var(--surface-2); padding: 1px 6px; border-radius: 6px; font-size: .9em; }
.prose pre { background: #0B1020; color: #E2E8F0; padding: 16px; border-radius: 12px; overflow-x: auto; font-size: 13.5px; line-height: 1.6; }
.prose pre code { background: none; padding: 0; }
.prose img { border-radius: 12px; margin: 1em 0; }
.prose hr { border: 0; border-top: 1px solid var(--border); margin: 2em 0; }
.table-scroll { overflow-x: auto; margin: 1.2em 0; border: 1px solid var(--border); border-radius: 12px; }
.md-table { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 480px; }
.md-table th, .md-table td { padding: 10px 14px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
.md-table th { background: var(--surface-2); font-weight: 700; }
.md-table tr:last-child td { border-bottom: 0; }
.md-table td:first-child { font-weight: 600; }
.post-products { margin: 1.4em 0; }
.post-products .pcard a { text-decoration: none; color: inherit; }
.post-tags { margin: 24px 0 8px; }
.post-share { display: flex; align-items: center; gap: 6px; padding: 16px 0; border-top: 1px solid var(--border); margin-top: 18px; }
.post-side { position: sticky; top: 90px; display: grid; gap: 16px; }
.toc { padding: 16px; font-size: 14px; }
.toc ol { margin: 8px 0 0; padding-left: 18px; display: grid; gap: 6px; }
.toc a { color: var(--text-2); }
.toc a:hover { color: var(--primary); }
details.toc { border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); margin-bottom: 18px; }
details.toc summary { font-weight: 700; cursor: pointer; display: flex; align-items: center; gap: 6px; }
.side-cta .inline-form input { min-width: 0; }
.more-posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }

/* Gift card page */
.mhero { padding: 64px 0 56px; text-align: center; }
.center-col { display: flex; flex-direction: column; align-items: center; text-align: center; }
.center-col .xlead { margin-left: auto; margin-right: auto; }
.gc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin: -30px 0 18px; position: relative; z-index: 2; }
.gc-card { display: grid; gap: 12px; }
.gc-face { aspect-ratio: 1.6; border-radius: 18px; padding: 18px 20px; color: #fff; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; box-shadow: 0 18px 40px rgba(15,23,42,.25); background: linear-gradient(135deg, #4F46E5, #7C3AED); transition: transform .3s var(--ease-out, ease); }
.gc-card:hover .gc-face { transform: translateY(-4px) rotate(-1deg); }
.gc-face::after { content: ""; position: absolute; width: 180px; height: 180px; right: -60px; top: -60px; border-radius: 50%; background: rgba(255,255,255,.14); }
.gc-face span { font-weight: 700; font-size: 14px; opacity: .9; }
.gc-face b { font: 800 34px/1 var(--font-head); letter-spacing: -.02em; }
.gc-face small { text-transform: uppercase; letter-spacing: .14em; font-size: 11px; opacity: .85; }
.gc-1 .gc-face, .gc-face.gc-1 { background: linear-gradient(135deg, #DB2777, #F97316); }
.gc-2 .gc-face { background: linear-gradient(135deg, #059669, #0EA5E9); }
.gc-3 .gc-face { background: linear-gradient(135deg, #0F172A, #4338CA); }
.gc-check { max-width: 520px; margin: 24px auto; }

/* Library / prompt library */
.lib-sub { display: flex; align-items: center; gap: 8px; margin: 26px 0 12px; }
.plib-tools { position: sticky; top: calc(var(--appbar-h) + var(--safe-t)); z-index: 5; background: var(--bg); padding: 8px 0; display: grid; gap: 8px; }
.plib-search { max-width: 560px; }
.lib-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 18px 0 8px; }

/* Home additions */
.home-duo { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 28px; align-items: stretch; }
.home-duo.solo { grid-template-columns: minmax(0, 1fr); }
.post-mini-list { display: grid; gap: 12px; }
.post-mini { display: grid; gap: 4px; padding: 16px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); transition: border-color .15s, transform .15s; }
.post-mini:hover { border-color: var(--primary); transform: translateX(3px); }
.gift-promo { display: flex; flex-direction: column; gap: 18px; padding: 24px; border-radius: 24px; background: linear-gradient(160deg, #FFF7ED, #FDF2F8); border: 1px solid #FBCFE8; color: #0F172A; }
.gift-promo h3 { margin: 0 0 6px; }
.gift-promo .muted { color: #64748B; }
.gift-promo-card { max-width: 280px; transform: rotate(-4deg); }
.gift-promo:hover .gift-promo-card { transform: rotate(0) translateY(-4px); }

/* Affiliate tools */
.aff-chart h3 { margin: 0; }
.aff-bars { display: grid; grid-template-columns: repeat(30, minmax(0, 1fr)); gap: 3px; align-items: end; height: 120px; margin: 14px 0 6px; }
.aff-bar { position: relative; height: 100%; display: flex; align-items: flex-end; }
.aff-bar i { display: block; width: 100%; min-height: 3px; border-radius: 4px 4px 0 0; background: linear-gradient(180deg, var(--primary), color-mix(in srgb, var(--primary) 50%, transparent)); }
.aff-bar b { position: absolute; left: 50%; transform: translateX(-50%); bottom: calc(100% - 18px); width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; font-size: 10px; background: var(--ok); color: #fff; }
.legend { display: inline-block; width: 10px; height: 10px; border-radius: 3px; vertical-align: middle; margin-left: 8px; }
.legend-c { background: var(--primary); }
.legend-s { background: var(--ok); border-radius: 50%; }
.share-texts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.share-texts pre { max-height: 160px; }
.banner-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.banner-item { margin: 0; border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; background: var(--surface); }
.banner-item img { width: 100%; aspect-ratio: 16/10; object-fit: contain; background: var(--surface-2); }
.banner-item figcaption { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 10px; font-size: 13px; }

@media (max-width: 900px) {
  .post-layout { grid-template-columns: minmax(0, 1fr); }
  .post-side { position: static; }
  .post-feature { grid-template-columns: minmax(0, 1fr); }
  .post-feature-body { padding: 18px; }
  .post-grid, .more-posts { grid-template-columns: minmax(0, 1fr); }
  .home-duo { grid-template-columns: minmax(0, 1fr); }
  .fbt-buy { align-items: stretch; width: 100%; }
  .fbt-buy > div { justify-content: flex-start; }
  .fbt-buy .btn { width: 100%; }
  .fbt-plus { display: none; }
  .fbt-item { flex-basis: 100%; }
  .share-texts { grid-template-columns: minmax(0, 1fr); }
  .gc-grid { margin-top: -20px; }
  .mhero { padding: 34px 0 44px; }
  .bump { padding-top: 20px; }
  .bump .btn { width: 100%; }
  .bump-price { flex-direction: row; gap: 8px; align-items: baseline; }
  .aff-bars { height: 90px; gap: 2px; }
  .lang-btn { min-width: 34px; height: 34px; }
}
@media (min-width: 901px) and (max-width: 1100px) {
  .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .post-layout { grid-template-columns: minmax(0, 1fr) 240px; gap: 26px; }
}

/* v3.1 — trust features */
.demo-reset { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; color: var(--muted); padding-top: 4px; border-top: 1px dashed var(--border); }
.demo-reset b { font-variant-numeric: tabular-nums; color: var(--text); }
.video-lang { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--surface-2); margin: 16px 0 -6px; }
.video-lang button { border: 0; background: none; padding: 6px 14px; border-radius: 999px; font-weight: 700; font-size: 13px; color: var(--muted); }
.video-lang button.on { background: var(--surface); color: var(--text); box-shadow: var(--shadow); }
.ft-summary { display: flex; align-items: center; gap: 6px 10px; flex-wrap: wrap; font-size: 14.5px; }
.ft-exts { display: inline-flex; gap: 6px; flex-wrap: wrap; }
.file-tree { margin-top: 10px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); padding: 12px 14px; max-height: 560px; overflow: auto; font: 13.5px/1.7 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.file-tree ul { list-style: none; margin: 0; padding-left: 18px; border-left: 1px dashed var(--border); }
.file-tree > ul { padding-left: 0; border-left: 0; }
.file-tree summary { cursor: pointer; display: flex; align-items: center; gap: 6px; list-style: none; }
.file-tree summary::-webkit-details-marker { display: none; }
.file-tree summary::before { content: '▸'; color: var(--muted); width: 10px; transition: transform .15s; }
.file-tree details[open] > summary::before { transform: rotate(90deg); }
.file-tree summary .ic { color: var(--accent); }
.file-tree small { color: var(--muted); font-size: 11.5px; margin-left: 4px; }
.ft-file { display: flex; align-items: center; gap: 6px; color: var(--text-2); }
.ft-file .ic { color: var(--muted); }
.review-media { display: flex; gap: 10px; flex-wrap: wrap; margin: 8px 0; }
.review-media img { height: 120px; width: auto; border-radius: 10px; border: 1px solid var(--border); object-fit: cover; }
.lite-yt-sm { width: 220px; margin: 0; }
.review-media-strip { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 14px; scrollbar-width: thin; }
.rm-thumb { flex: none; width: 96px; height: 72px; border-radius: 10px; overflow: hidden; border: 1px solid var(--border); background: #000 center/cover; display: grid; place-items: center; color: #fff; }
.rm-thumb img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .file-tree { max-height: 420px; font-size: 12.5px; } .lite-yt-sm { width: 100%; } }
