/* Demo v2 — refined dark, minimal SaaS. Design-system preview for approval. */
:root {
  --bg: #0a0f1c; --bg-soft: #0e1524; --card: #121a2b; --card-hover: #16203200;
  --line: rgba(148, 163, 184, .12); --line-strong: rgba(148, 163, 184, .22);
  --text: #e6ebf4; --text2: #94a3b8; --muted: #64748b;
  --accent: #6d8cff; --accent-ink: #0b1120; --ok: #34d399; --warn: #fbbf24; --danger: #f87171;
  --brand: linear-gradient(90deg, #8b5cf6, #34d399, #60a5fa);
  --r: 12px; --r-lg: 16px;
  --shadow: 0 1px 0 rgba(255,255,255,.03) inset, 0 10px 30px rgba(0,0,0,.35);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 68px; }
body {
  margin: 0; color: var(--text); -webkit-font-smoothing: antialiased;
  font: 15px/1.55 Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background:
    radial-gradient(1200px 500px at 70% -10%, rgba(109, 140, 255, .10), transparent 60%),
    radial-gradient(900px 400px at 10% 0%, rgba(52, 211, 153, .06), transparent 55%),
    var(--bg);
  overflow-x: clip; display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh;
}
main { flex: 1; }
a { color: var(--accent); text-decoration: none; }
img { max-width: 100%; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; margin: 0; }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--text2); }
.small { font-size: .84rem; }
.gradient { background: var(--brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
code { font: .85em ui-monospace, SFMono-Regular, Menlo, monospace; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; }

/* ── Top bar ── */
.topbar { position: sticky; top: 0; z-index: 50; background: rgba(10, 15, 28, .75); backdrop-filter: blur(14px) saturate(1.3); border-bottom: 1px solid var(--line); }
.topbar-row { display: flex; align-items: center; gap: 2px; height: 58px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; letter-spacing: -.01em; }
.brand img { border-radius: 9px; }
.brand span { display: none; }

.topnav { display: flex; gap: 2px; margin-left: auto; }
.topnav a, .topbar-right a { display: inline-flex; align-items: center; gap: 6px; color: var(--text2); font-size: .88rem; font-weight: 600; padding: 7px 10px; border-radius: 9px; white-space: nowrap; }
.topnav a:hover, .topbar-right a:hover { color: var(--text); background: rgba(148,163,184,.09); }
.topnav a b { color: var(--accent); font-variant-numeric: tabular-nums; }
.topbar-right a.accent { color: var(--accent); }
@media (max-width: 760px) { .topnav a span, .topbar-right a span { display: none; } .topnav a i, .topbar-right a i { font-size: 1.1rem; } }
.topbar-right { display: flex; align-items: center; gap: 2px; }
.topbar-right details { position: relative; }
.topbar-right details > summary { display: inline-flex; align-items: center; gap: 6px; padding: 7px 10px; border-radius: 9px; color: var(--text2); cursor: pointer; font-size: .88rem; font-weight: 600; list-style: none; white-space: nowrap; }
.topbar-right details > summary::-webkit-details-marker { display: none; }
.topbar-right details > summary:hover, .topnav a[aria-current="page"] { color: var(--text); background: rgba(148,163,184,.09); }
.topbar-right details > summary.accent { color: var(--accent); }
.topbar-menu { position: absolute; top: calc(100% + 7px); right: 0; z-index: 60; min-width: 180px; padding: 6px; border: 1px solid var(--line-strong); border-radius: 11px; background: rgba(18,26,43,.98); box-shadow: 0 14px 35px rgba(0,0,0,.4); }
.topbar-menu a, .topbar-menu form button { display: flex; align-items: center; gap: 9px; width: 100%; padding: 9px 10px; border: 0; border-radius: 7px; color: var(--text2); background: transparent; font: inherit; font-size: .82rem; text-align: left; white-space: nowrap; cursor: pointer; }
.topbar-menu a:hover, .topbar-menu form button:hover, .topbar-menu a[aria-current="true"] { color: var(--text); background: rgba(148,163,184,.09); }
.topbar-menu form { margin: 0; border-top: 1px solid var(--line); padding-top: 5px; }
.topbar-menu form button { color: #fca5a5; }
.topbar-menu form button:hover { background: rgba(248,113,113,.1); }
@media (max-width: 760px) { .topbar-right details > summary span { display: none; } .topbar-right details > summary i { font-size: 1.1rem; } }
.avatar { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--card); border: 1px solid var(--line-strong); color: var(--text2); }

/* ── Buttons ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 600; font-size: .92rem;
  border: 1px solid var(--line-strong); border-radius: 10px; padding: 9px 16px; cursor: pointer; color: var(--text); background: transparent; transition: .15s; }
.btn:hover { border-color: var(--text2); }
.btn-primary { background: var(--accent); border-color: transparent; color: #fff; }
.btn-primary:hover { filter: brightness(1.1); border-color: transparent; }
.btn-ghost { color: var(--text2); }
.btn-ghost:hover { color: var(--text); }
.btn-sm { padding: 6px 12px; font-size: .85rem; border-radius: 9px; }
.btn-danger { background: rgba(248,113,113,.12); border-color: rgba(248,113,113,.35); color: #fca5a5; }

/* ── Hero ── */
.hero { padding: 10px 0 40px; }
.eyebrow { display: flex; width: fit-content; align-items: center; gap: 10px; font-size: 1.15rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  color: var(--accent); background: rgba(109,140,255,.1); border: 1px solid rgba(109,140,255,.25); border-radius: 999px; padding: 10px 22px; margin: 0 auto; }
.hero h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); font-weight: 750; margin: 18px 0 10px; max-width: 22ch; }
.hero p.sub { color: var(--text2); font-size: 1.05rem; max-width: 56ch; margin: 0 0 22px; }
.hero-center, .hero-center h1 { text-align: center; }
.hero-center h1 { margin-left: auto; margin-right: auto; }
.hero-center { padding-bottom: 0; }
.hero-center + section { padding-top: clamp(16px, 2.5vw, 28px); }


/* ── Sections ── */
section { padding: 34px 0; }
.section-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 10px; margin-bottom: 18px; text-align: center; }
.section-head h2 { font-size: 1.35rem; font-weight: 700; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 10px; }
.section-head h2 i { color: var(--accent); font-size: 1.15rem; }


/* ── Card grid ── */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
@media (max-width: 640px) { .grid { grid-template-columns: 1fr; } }

.card { position: relative; display: flex; flex-direction: column; background: linear-gradient(180deg, var(--card), #101728);
  border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px; box-shadow: var(--shadow); transition: border-color .15s, transform .15s; }
a.card:hover, .card:hover { border-color: var(--line-strong); }
a.card { color: inherit; }
a.card:hover { transform: translateY(-2px); }

.ic-head { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 12px; }
.item-icon { width: 48px; height: 48px; flex: none; border-radius: 12px; display: grid; place-items: center; font-weight: 800; font-size: 1.05rem; color: #fff;
  border: 1px solid rgba(255,255,255,.12); box-shadow: 0 4px 14px rgba(0,0,0,.35); overflow: hidden; }
.item-icon img { width: 100%; height: 100%; object-fit: cover; }
.ti-blue { background: linear-gradient(135deg, #3b82f6, #1d4ed8); } .ti-violet { background: linear-gradient(135deg, #8b5cf6, #6d28d9); }
.ti-green { background: linear-gradient(135deg, #10b981, #047857); } .ti-amber { background: linear-gradient(135deg, #f59e0b, #b45309); }
.ti-pink { background: linear-gradient(135deg, #ec4899, #be185d); } .ti-slate { background: linear-gradient(135deg, #475569, #1e293b); }
.ic-head-t { min-width: 0; }
.ic-head-t h3 { font-size: 1.02rem; font-weight: 650; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ic-cat { font-size: .8rem; color: var(--muted); margin-top: 3px; }
.ic-desc { color: var(--text2); font-size: .88rem; margin: 0 0 14px; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ic-foot { display: flex; flex-wrap: wrap; gap: 7px; margin-top: auto; }

.badge { font-size: .76rem; font-weight: 650; border-radius: 999px; padding: 3px 10px; border: 1px solid var(--line); color: var(--text2); display: inline-flex; align-items: center; gap: 5px; }
.badge-free { color: #6ee7b7; border-color: rgba(52,211,153,.35); background: rgba(52,211,153,.08); }
.badge-price { color: #c7d2fe; border-color: rgba(129,140,248,.4); background: rgba(129,140,248,.09); }

/* ── CTA band ── */
.cta { margin: 20px 0 10px; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center;
  background: linear-gradient(120deg, rgba(139,92,246,.12), rgba(52,211,153,.07) 55%, rgba(96,165,250,.1)), var(--card); }
.cta h3 { font-size: 1.15rem; margin: 0; }
.cta h3 i { color: var(--accent); margin-right: 6px; }
.cta p { margin: 0; color: var(--text2); font-size: .9rem; }
.cta .btn { margin-top: 6px; }
.cta .btn-primary { background: var(--accent); border-color: transparent; }
.cta .btn-primary:hover { filter: brightness(1.1); }

/* ── Item page ── */
.crumbs { padding: 20px 0 0; font-size: .85rem; color: var(--muted); }
.item-hero { display: grid; grid-template-columns: 1fr 320px; gap: 20px; padding: 26px 0 10px; }
@media (max-width: 860px) { .item-hero { grid-template-columns: 1fr; } }
.item-title { display: flex; gap: 16px; align-items: center; margin-bottom: 16px; }
.item-title .item-icon { width: 64px; height: 64px; border-radius: 16px; font-size: 1.4rem; }
.item-title h1 { font-size: 1.7rem; font-weight: 750; }
.buy-card { position: sticky; top: 76px; align-self: start; }
.price-line { display: flex; align-items: baseline; gap: 8px; margin-bottom: 14px; }
.price { font-size: 1.9rem; font-weight: 750; letter-spacing: -.02em; }
.price-per { color: var(--muted); font-size: .9rem; }
.buy-card .btn { width: 100%; }
.buy-meta { margin: 14px 0 0; padding: 0; list-style: none; color: var(--text2); font-size: .85rem; display: grid; gap: 8px; }
.buy-meta i { color: var(--ok); margin-right: 6px; }

.desc h3, .item-section h3 { font-size: 1rem; margin: 0 0 10px; color: var(--text2); font-weight: 650; text-transform: uppercase; letter-spacing: .05em; font-size: .8rem; }
.desc p { color: var(--text2); font-size: .95rem; }

.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.gallery .shot { aspect-ratio: 16/10; border-radius: 10px; border: 1px solid var(--line); background: linear-gradient(140deg, #1a2440, #101728);
  display: grid; place-items: center; color: var(--muted); font-size: .8rem; }

/* ── Free product page ── */
.free-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 28px; align-items: start; padding: 26px 0 10px; }
.free-title { display: flex; align-items: center; gap: 16px; }
.free-title .item-icon { width: 68px; height: 68px; border-radius: 18px; font-size: 1.65rem; }
.free-title img.item-icon, .paid-title img.item-icon, .ic-head img.item-icon { display: block; object-fit: cover; }
.free-kicker { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; margin-top: 7px; }
.free-platform { color: var(--text2); font-size: .8rem; }
.free-title h1 { font-size: clamp(1.65rem, 3vw, 2.2rem); font-weight: 760; }
.free-tagline { color: var(--text2); margin: 5px 0 0; font-size: .96rem; }
.free-intro { color: var(--text2); font-size: 1.02rem; max-width: 66ch; margin: 22px 0; }
.free-feature-row { display: flex; flex-wrap: wrap; gap: 9px; }
.free-feature-row > div { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 10px; color: var(--text2); background: rgba(18,26,43,.7); font-size: .82rem; }
.free-feature-row i { color: #a5b4fc; }
.free-preview-section, .free-details { margin-top: 22px; }
.free-section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.free-overline { display: block; color: var(--accent); font-size: .72rem; text-transform: uppercase; font-weight: 700; letter-spacing: .11em; margin-bottom: 5px; }
.free-section-heading h2 { font-size: 1.25rem; }
.free-preview-label { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: .76rem; white-space: nowrap; }
.real-gallery { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); align-items: start; gap: 12px; }
.real-shot { min-width: 0; align-self: start; display: flex; flex-direction: column; align-items: center; gap: 9px; margin: 0; padding: 11px; border: 1px solid var(--line); border-radius: 12px; background: linear-gradient(160deg,rgba(255,255,255,.035),rgba(18,26,43,.86)); }
.real-shot img { display: block; width: auto; height: auto; max-width: 100%; max-height: 340px; object-fit: contain; border-radius: 7px; }
.real-shot figcaption { align-self: flex-start; color: var(--text2); font-size: .74rem; }
.real-shot-wide { grid-column: 1 / -1; }
.real-shot-wide img { width: auto; height: auto; max-width: 100%; max-height: 340px; object-fit: contain; }
.free-details > p { color: var(--text2); max-width: 70ch; margin: 0 0 17px; }
.free-detail-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }
.free-detail { padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: rgba(18,26,43,.66); }
.free-detail > span { color: #a5b4fc; font-size: 1.05rem; }
.free-detail h3 { font-size: .88rem; margin: 9px 0 6px; }
.free-detail p { color: var(--text2); font-size: .77rem; line-height: 1.5; margin: 0; }
.free-access { position: sticky; top: 76px; padding: 20px; border-color: rgba(52,211,153,.23); background: linear-gradient(155deg, rgba(52,211,153,.07), transparent 35%), linear-gradient(180deg,var(--card),#101728); }
.free-access-head { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.free-access-head .badge { flex: none; margin-left: auto; margin-top: 3px; }
.free-access-icon { width: 39px; height: 39px; display: grid; place-items: center; border-radius: 11px; color: #6ee7b7; background: rgba(52,211,153,.11); font-size: 1.05rem; }
.free-access-title { min-width: 0; flex: 1; }
.free-access-title h2 { font-size: 1.15rem; margin: 0; }
.free-access-title p { color: var(--text2); font-size: .8rem; margin: 4px 0 0; }
.free-access-actions { display: grid; gap: 8px; padding-top: 14px; border-top: 1px solid var(--line); }
.free-access .btn { width: 100%; min-height: 42px; }
.free-access .btn-primary { background: #10b981; }
.btn-secondary { color: var(--text); background: rgba(255,255,255,.025); }
.btn-secondary:hover { background: rgba(255,255,255,.06); }
.free-access-note { display: flex; align-items: center; gap: 9px; margin: 14px 0 0; padding: 11px; border-radius: 9px; background: rgba(52,211,153,.07); color: #6ee7b7; font-size: .79rem; }
.free-access-note > i { font-size: 1rem; }
.free-access-note small { color: var(--text2); font-size: .72rem; }
.free-facts { margin: 0; }
.free-facts > div { display: flex; justify-content: space-between; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); font-size: .73rem; }
.free-facts dt { color: var(--muted); }
.free-facts dd { margin: 0; color: var(--text2); text-align: right; }
.free-source { display: flex; align-items: center; gap: 9px; margin-top: 13px; padding-top: 13px; border-top: 1px solid var(--line); color: var(--text2); font-size: .73rem; text-decoration: none; }
.free-source:hover { color: var(--text); }
.free-source > i:first-child { color: var(--accent); }
.free-source > i:last-child { margin-left: auto; color: var(--muted); }
.free-source small { display: block; color: var(--muted); margin-top: 3px; font-size: .68rem; }
@media (max-width: 860px) {
  .free-layout { grid-template-columns: minmax(0,1fr); gap: 14px; }
  .free-main { display: contents; }
  .free-main > .free-title { order: 1; }
  .free-access { position: static; order: 2; }
  .free-main > *:not(.free-title) { order: 3; }
  .free-layout .item-desc-section, .free-layout .free-preview-section, .free-layout .free-details { margin: 0; }
}
@media (max-width: 640px) {
  .free-layout { padding-top: 18px; }
  .free-title { gap: 12px; align-items: flex-start; }
  .free-title .item-icon { width: 56px; height: 56px; border-radius: 15px; font-size: 1.35rem; }
  .free-title h1 { font-size: 1.55rem; }
  .free-tagline { font-size: .84rem; }
  .free-intro { font-size: .94rem; margin: 18px 0; }
  .free-feature-row { display: grid; grid-template-columns: 1fr 1fr; }
  .free-feature-row > div { font-size: .74rem; }
  .free-feature-row > div:last-child { grid-column: auto; }
  .free-section-heading h2 { font-size: 1.1rem; }
  .real-gallery { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
  .real-shot { padding: 7px; }
  .real-shot img, .real-shot-wide img { max-height: 270px; }
  .real-shot figcaption { font-size: .67rem; }
  .free-detail-grid { grid-template-columns: 1fr; }
  .free-detail { display: grid; grid-template-columns: 25px 1fr; column-gap: 8px; }
  .free-detail > span { grid-row: span 2; padding-top: 2px; }
  .free-detail h3 { margin: 0 0 4px; }
}

/* ── Paid service page ── */
.paid-layout { display: grid; grid-template-columns: minmax(0,1fr) 330px; gap: 28px; align-items: start; padding: 26px 0 10px; }
.paid-title { display: flex; align-items: center; gap: 16px; }
.paid-title .item-icon { width: 68px; height: 68px; border-radius: 18px; font-size: 1.55rem; }
.paid-title h1 { font-size: clamp(1.65rem, 3vw, 2.2rem); font-weight: 760; }
.paid-title-break { display: none; }
.paid-kicker { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; margin-top: 8px; }
.paid-availability { display: inline-flex; align-items: center; gap: 6px; color: var(--ok); font-size: .77rem; }
.paid-availability i { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 10px rgba(52,211,153,.55); }
.paid-tagline { color: var(--text2); margin: 5px 0 0; font-size: .96rem; }
.paid-intro { color: var(--text2); font-size: 1.02rem; max-width: 66ch; margin: 22px 0; }
.paid-feature-row { display: flex; flex-wrap: wrap; gap: 9px; }
.paid-feature-row > div { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 10px; color: var(--text2); background: rgba(18,26,43,.7); font-size: .82rem; }
.paid-feature-row i { color: #a5b4fc; }
.paid-preview-section, .paid-details { margin-top: 22px; }
.bot-preview { display: grid; grid-template-columns: minmax(0,1.3fr) minmax(170px,.7fr); gap: 12px; padding: 14px; border: 1px solid var(--line-strong); border-radius: 16px; background: radial-gradient(ellipse at 20% 0,rgba(109,140,255,.13),transparent 60%),#0c1220; box-shadow: var(--shadow); }
.bot-window { overflow: hidden; min-width: 0; border: 1px solid rgba(255,255,255,.1); border-radius: 11px; background: #111a28; }
.bot-window-head { height: 48px; display: flex; align-items: center; gap: 9px; padding: 0 12px; border-bottom: 1px solid rgba(255,255,255,.07); background: #141f30; }
.bot-avatar { flex: none; width: 29px; height: 29px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: linear-gradient(135deg,#60a5fa,#2563eb); }
.bot-window-head > span:nth-child(2) { min-width: 0; color: #e1e8f2; font-size: .7rem; line-height: 1.25; }
.bot-window-head small { display: block; color: #8492a7; font-size: .59rem; }
.bot-window-head > i:last-child { margin-left: auto; color: #8c9ab0; }
.bot-chat { min-height: 275px; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 13px; background: radial-gradient(ellipse at 50% 5%,rgba(42,63,87,.38),transparent 70%),#0e1723; }
.bot-date { align-self: center; padding: 3px 8px; border-radius: 8px; color: #a5b4c7; background: rgba(101,124,148,.2); font-size: .53rem; letter-spacing: .08em; }
.chat-message { max-width: 94%; padding: 8px 10px 6px; border-radius: 10px; color: #dce5f2; font-size: .64rem; line-height: 1.4; box-shadow: 0 3px 8px rgba(0,0,0,.12); }
.chat-message small { display: block; color: #8799ad; text-align: right; font-size: .5rem; margin-top: 4px; }
.chat-user { background: #26384a; border-bottom-left-radius: 3px; }
.chat-user-short { align-self: flex-end; background: #174a55; border-bottom-right-radius: 3px; }
.chat-bot { display: grid; gap: 5px; background: #1b2935; border-bottom-left-radius: 3px; }
.chat-bot b { color: #f0f4fa; font-size: .67rem; }
.chat-bot span { padding: 5px 7px; border: 1px solid rgba(96,165,250,.2); border-radius: 5px; color: #aad0ff; background: rgba(59,130,246,.08); }
.chat-file { display: flex; align-items: center; gap: 8px; width: 90%; padding: 8px; border-radius: 8px; color: #e4ecf7; background: #1b2935; font-size: .62rem; }
.chat-file > span:first-child { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 6px; color: white; background: linear-gradient(135deg,#3479b9,#172c4c); font-size: 1.1rem; }
.chat-file > span:nth-child(2) { min-width: 0; }
.chat-file b, .chat-file small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chat-file small { color: #8291a5; font-size: .53rem; margin-top: 3px; }
.chat-file > i:last-child { margin-left: auto; color: #7cb4ff; }
.bot-chat-status { align-self: center; color: #8da0b5; font-size: .55rem; }
.bot-chat-status i { color: #52c5b2; }
.bot-chat-input { height: 39px; display: flex; align-items: center; gap: 11px; padding: 0 12px; color: #748399; border-top: 1px solid rgba(255,255,255,.06); font-size: .68rem; }
.bot-chat-input span { flex: 1; }
.bot-steps { display: grid; align-content: center; gap: 7px; }
.bot-steps > div { position: relative; display: grid; grid-template-columns: 27px 1fr; column-gap: 7px; padding: 12px 10px; border: 1px solid rgba(255,255,255,.07); border-radius: 9px; background: rgba(18,26,43,.72); }
.bot-steps > div > span { grid-row: span 2; color: #64748b; font-size: .62rem; font-variant-numeric: tabular-nums; padding-top: 2px; }
.bot-steps > div > i { display: none; }
.bot-steps b { color: #dbe4f1; font-size: .7rem; }
.bot-steps small { color: #7f8ea3; font-size: .59rem; margin-top: 3px; }
.paid-details > p { color: var(--text2); max-width: 70ch; margin: 0 0 17px; }
.paid-detail-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.paid-detail { padding: 15px; border: 1px solid var(--line); border-radius: 12px; background: rgba(18,26,43,.66); }
.paid-detail > span { color: #a5b4fc; font-size: 1.05rem; }
.paid-detail h3 { font-size: .87rem; margin: 9px 0 6px; }
.paid-detail p { color: var(--text2); font-size: .77rem; line-height: 1.5; margin: 0; }
.paid-note { display: flex; gap: 8px; align-items: flex-start; margin-top: 14px; color: var(--muted); font-size: .76rem; }
.paid-note i { color: var(--accent); }
.paid-purchase { position: sticky; top: 76px; padding: 20px; border-color: rgba(109,140,255,.3); background: radial-gradient(ellipse at 100% 0,rgba(109,140,255,.16),transparent 45%),linear-gradient(180deg,var(--card),#101728); }
.purchase-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.purchase-label { color: #c7d2fe; font-size: .75rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.purchase-label i { color: #a5b4fc; margin-right: 4px; }
.purchase-status { padding: 4px 7px; border-radius: 999px; color: #6ee7b7; background: rgba(52,211,153,.09); font-size: .63rem; white-space: nowrap; }
.purchase-price { display: flex; align-items: baseline; gap: 7px; margin-top: 19px; }
.purchase-price > span { font-size: 2.65rem; line-height: 1; letter-spacing: -.06em; font-weight: 780; }
.purchase-price small { color: var(--text2); font-size: .88rem; }
.purchase-caption { color: var(--text2); font-size: .83rem; margin: 8px 0 16px; }
.purchase-cta { width: 100%; min-height: 46px; background: linear-gradient(105deg,#6d8cff,#5473eb); box-shadow: 0 7px 20px rgba(75,105,225,.24); }
.paid-purchase > .purchase-cta { margin-top: 14px; }
.purchase-telegram { width: 100%; min-height: 42px; margin-top: 8px; }
.purchase-divider { height: 1px; background: var(--line); margin: 18px 0 14px; }
.purchase-login { display: grid; gap: 6px; padding: 12px; border: 1px solid var(--line); border-radius: 10px; background: rgba(18,26,43,.65); }
.purchase-login b { color: #c7d2fe; font-size: .78rem; }
.purchase-login b i { margin-right: 4px; }
.purchase-login span { color: var(--text2); font-size: .74rem; line-height: 1.45; }
.purchase-login-copy { display: grid; gap: 3px; }
.purchase-demo-note { margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--line); color: var(--muted); font-size: .66rem; line-height: 1.45; }
.purchase-demo-note i { color: var(--accent); margin-right: 4px; }
.modern-item-page { padding-bottom: 10px; }
.item-side-actions { display: grid; gap: 8px; margin-top: 14px; padding-top: 13px; border-top: 1px solid var(--line); }
.item-side-actions .btn, .item-access-action { width: 100%; }
.item-buy-form { display: grid; gap: 8px; margin-top: 12px; }
.item-buy-form label { margin: 6px 0 0; }
.item-buy-form .choice { margin-top: 2px; }
.item-buy-form .choice label { margin: 0; }
.item-buy-form .total { padding-top: 12px; border-top: 1px solid var(--line); }
.item-buy-form .purchase-cta { margin: 0; }
.item-media { margin-top: 32px; }
@media (max-width: 860px) {
  .paid-layout { grid-template-columns: minmax(0,1fr); gap: 14px; }
  .paid-main { display: contents; }
  .paid-main > .paid-title { order: 1; }
  .paid-purchase { position: static; order: 2; }
  .paid-main > *:not(.paid-title) { order: 3; }
  .paid-layout .item-desc-section, .paid-layout .paid-preview-section, .paid-layout .paid-details { margin: 0; }
}
@media (max-width: 640px) {
  .paid-layout { padding-top: 18px; }
  .paid-title { gap: 12px; align-items: flex-start; }
  .paid-title .item-icon { width: 56px; height: 56px; border-radius: 15px; font-size: 1.3rem; }
  .paid-title img.item-icon { width: 56px; height: 56px; }
  .paid-title h1 { font-size: 1.55rem; }
  .paid-title-break { display: block; }
  .paid-tagline { font-size: .83rem; }
  .paid-kicker { gap: 6px; }
  .paid-kicker .badge { font-size: .68rem; padding: 3px 7px; }
  .paid-availability { font-size: .69rem; }
  .paid-intro { font-size: .94rem; margin: 18px 0; }
  .paid-feature-row { display: grid; grid-template-columns: 1fr 1fr; }
  .paid-feature-row > div { font-size: .74rem; }
  .paid-feature-row > div:last-child { grid-column: 1 / -1; }
  .bot-preview { grid-template-columns: 1fr; padding: 10px; }
  .bot-chat { min-height: 245px; }
  .bot-steps { grid-template-columns: 1fr 1fr 1fr; gap: 5px; }
  .bot-steps > div { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; padding: 9px 7px; }
  .bot-steps > div > span { display: none; }
  .bot-steps > div > i { display: block; color: #a5b4fc; font-size: .9rem; }
  .bot-steps b { font-size: .62rem; }
  .bot-steps small { font-size: .52rem; line-height: 1.35; }
  .paid-detail-grid { grid-template-columns: 1fr; }
  .paid-detail { display: grid; grid-template-columns: 25px 1fr; column-gap: 8px; }
  .paid-detail > span { grid-row: span 2; padding-top: 2px; }
  .paid-detail h3 { margin: 0 0 4px; }
  .purchase-price { margin-top: 14px; }
}

/* ── Project request page ── */
.project-hero { padding-bottom: 8px; }
.project-hero h1 { max-width: 24ch; }
.project-hero p.sub { margin: 0 auto; }
.project-form > section { padding: 26px 0; }
.project-section-head { display: grid; gap: 7px; margin-bottom: 20px; }
.project-section-head h2 { font-size: 1.35rem; }
.project-section-head p { margin: 0; color: var(--text2); font-size: .88rem; }
.project-type-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; min-width: 0; margin: 0; padding: 0; border: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.project-choice { position: relative; min-width: 0; display: grid; grid-template-columns: 42px minmax(0,1fr) 17px; align-items: start; gap: 10px; padding: 16px 14px; border: 1px solid var(--line); border-radius: 14px; color: var(--text); background: linear-gradient(180deg,var(--card),#101728); box-shadow: var(--shadow); cursor: pointer; transition: border-color .15s, background .15s, transform .15s; }
.project-choice:hover { border-color: var(--line-strong); transform: translateY(-1px); }
.project-choice:has(input:checked) { border-color: rgba(109,140,255,.65); background: linear-gradient(145deg,rgba(109,140,255,.13),rgba(18,26,43,.96) 70%); box-shadow: 0 0 0 1px rgba(109,140,255,.13),var(--shadow); }
.project-choice:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }
.project-choice input { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
.project-choice-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 11px; color: #fff; font-size: 1.05rem; }
.project-choice-copy { min-width: 0; display: grid; gap: 5px; }
.project-choice-copy b { font-size: .86rem; line-height: 1.3; }
.project-choice-copy small { color: var(--text2); font-size: .73rem; line-height: 1.4; }
.project-check { color: var(--accent); font-size: .95rem; opacity: .14; margin-top: 2px; }
.project-choice:has(input:checked) .project-check { opacity: 1; }
.project-choice-other { grid-column: 1 / -1; border-style: dashed; background: rgba(18,26,43,.52); }
.project-request-layout { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: 16px; align-items: start; }
.project-form-card { display: grid; gap: 16px; padding: clamp(18px,3vw,26px); }
.project-fields-two { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.project-field { min-width: 0; }
.project-field label { display: block; margin-bottom: 7px; color: var(--text2); font-size: .8rem; font-weight: 650; }
.project-field label > span { color: #fca5a5; }
.project-field label small { color: var(--muted); font-size: .72rem; font-weight: 400; margin-left: 4px; }
.project-field input:not([type="hidden"]), .project-field textarea, .project-field select { display: block; width: 100%; min-height: 43px; padding: 10px 12px; border: 1px solid var(--line-strong); border-radius: 9px; outline: 0; color: var(--text); background: rgba(8,13,24,.65); font: inherit; font-size: .87rem; }
.project-field textarea { min-height: 130px; resize: vertical; line-height: 1.5; }
.project-field input::placeholder, .project-field textarea::placeholder { color: #627089; }
.project-field input:focus, .project-field textarea:focus, .project-field select:focus { border-color: rgba(109,140,255,.75); box-shadow: 0 0 0 3px rgba(109,140,255,.13); }
.project-input-prefix { position: relative; }
.project-input-prefix > span { position: absolute; z-index: 1; top: 50%; left: 12px; transform: translateY(-50%); color: var(--text2); font-size: .88rem; }
.project-input-prefix input { padding-left: 31px !important; }
.project-timeline-input { display: grid; grid-template-columns: minmax(0,1fr) 92px; gap: 8px; }
.project-select-wrap { position: relative; min-width: 0; }
.project-select-wrap::after { content: ""; position: absolute; top: 50%; right: 11px; width: 6px; height: 6px; border-right: 1.5px solid var(--text2); border-bottom: 1.5px solid var(--text2); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.project-select-wrap select { padding: 10px 27px 10px 10px; -webkit-appearance: none; -moz-appearance: none; appearance: none; color-scheme: dark; cursor: pointer; }
.project-field-hint { display: block; margin-top: 6px; color: var(--muted); font-size: .69rem; line-height: 1.4; }
.project-submit { width: 100%; min-height: 46px; }
.project-form-note { margin: -5px 0 0; color: var(--muted); font-size: .72rem; text-align: center; }
.project-form-note i { color: var(--accent); margin-right: 4px; }
.project-demo-message { display: flex; gap: 8px; align-items: flex-start; padding: 11px 12px; border: 1px solid rgba(109,140,255,.25); border-radius: 9px; color: #c7d2fe; background: rgba(109,140,255,.08); font-size: .8rem; }
.project-demo-message[hidden] { display: none; }
.project-next { position: sticky; top: 76px; padding: 21px; }
.project-next-icon { width: 40px; height: 40px; display: grid; place-items: center; margin-bottom: 17px; border-radius: 11px; color: #a5b4fc; background: rgba(109,140,255,.12); font-size: 1.05rem; }
.project-next > h3 { margin: 0 0 17px; font-size: 1.08rem; }
.project-next ol { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.project-next li { display: grid; grid-template-columns: 24px 1fr; gap: 9px; }
.project-next li > span { width: 23px; height: 23px; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: 50%; color: var(--accent); font-size: .68rem; }
.project-next li b { display: block; color: var(--text); font-size: .77rem; }
.project-next li small { display: block; margin-top: 3px; color: var(--text2); font-size: .71rem; line-height: 1.45; }
.project-response { display: flex; align-items: center; gap: 9px; margin-top: 20px; padding: 12px; border: 1px solid rgba(52,211,153,.18); border-radius: 9px; color: var(--ok); background: rgba(52,211,153,.06); font-size: .72rem; }
.project-response > span { color: var(--text2); }
.project-response strong { display: block; color: #6ee7b7; font-size: .8rem; margin-top: 2px; }
@media (max-width: 960px) {
  .project-type-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .project-request-layout { grid-template-columns: minmax(0,1fr) 260px; }
}
@media (max-width: 760px) {
  .project-request-layout { grid-template-columns: 1fr; }
  .project-next { position: static; }
}
@media (max-width: 560px) {
  .project-hero { padding-top: 18px; }
  .project-hero h1 { font-size: clamp(1.8rem,8vw,2.35rem); }
  .project-hero p.sub { font-size: .9rem; }
  .project-form > section { padding: 20px 0; }
  .project-type-grid { grid-template-columns: 1fr; gap: 9px; }
  .project-choice { grid-template-columns: 38px minmax(0,1fr) 17px; gap: 9px; padding: 12px; }
  .project-choice-icon { width: 38px; height: 38px; font-size: .98rem; }
  .project-fields-two { grid-template-columns: 1fr; gap: 16px; }
  .project-form-card { gap: 15px; }
  .project-submit { box-shadow: 0 8px 22px rgba(0,0,0,.25); }
  .project-section-head h2 { font-size: 1.2rem; }
}

/* ── Account ── */
.account-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; padding: 30px 0 22px; }
.account-overline { display: block; margin-bottom: 6px; color: var(--accent); font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.account-overline i { margin-right: 5px; }
.account-heading h1 { font-size: clamp(1.8rem,4vw,2.5rem); font-weight: 760; }
.account-heading p { margin: 7px 0 0; color: var(--text2); font-size: .92rem; }
.account-logout { flex: 0 0 auto; white-space: nowrap; }
.account-dashboard { display: grid; grid-template-columns: 280px minmax(0,1fr); gap: 18px; align-items: start; padding-bottom: 10px; }
.account-profile { position: relative; overflow: hidden; padding: 22px; background: radial-gradient(ellipse at 85% 0,rgba(109,140,255,.2),transparent 45%),linear-gradient(180deg,var(--card),#101728); }
.account-profile-glow { position: absolute; top: -60px; right: -62px; width: 160px; height: 160px; border-radius: 50%; border: 1px solid rgba(165,180,252,.13); box-shadow: 0 0 0 16px rgba(109,140,255,.025),0 0 0 34px rgba(109,140,255,.02); pointer-events: none; }
.account-avatar { position: relative; z-index: 1; width: 58px; height: 58px; display: grid; place-items: center; margin-bottom: 17px; border: 1px solid rgba(255,255,255,.2); border-radius: 18px; color: #fff; background: linear-gradient(140deg,#718cff,#8b5cf6 60%,#39bd9c); box-shadow: 0 8px 24px rgba(82,105,220,.26); font-size: 1.45rem; font-weight: 750; }
.account-profile-label { color: var(--text2); font-size: .73rem; }
.account-profile h2 { margin-top: 4px; font-size: 1.35rem; }
.account-connected { display: inline-flex; align-items: center; gap: 7px; margin-top: 10px; color: #6ee7b7; font-size: .72rem; }
.account-connected i { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 9px rgba(52,211,153,.55); }
.account-facts { display: grid; gap: 13px; margin: 21px 0 0; padding-top: 17px; border-top: 1px solid var(--line); }
.account-facts dt { margin-bottom: 4px; color: var(--muted); font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; }
.account-facts dd { margin: 0; color: var(--text); font-size: .84rem; }
.account-profile-link { display: flex; align-items: center; gap: 8px; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--text2); font-size: .78rem; }
.account-profile-link:hover { color: var(--text); }
.account-profile-link i { color: var(--accent); }
.account-content { min-width: 0; }
.account-metrics { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin-bottom: 25px; }
.account-metric { display: grid; grid-template-columns: 1fr auto; gap: 5px 12px; padding: 15px 17px; border: 1px solid var(--line); border-radius: 13px; background: linear-gradient(145deg,rgba(18,26,43,.92),rgba(16,23,40,.8)); }
.account-metric > span { display: flex; align-items: center; gap: 7px; color: var(--text2); font-size: .76rem; }
.account-metric > span i { color: var(--accent); }
.account-metric > b { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-size: 1.45rem; font-variant-numeric: tabular-nums; }
.account-metric > small { color: var(--muted); font-size: .69rem; }
.account-section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.account-section-heading .account-overline { margin: 0 0 4px; }
.account-section-heading h2 { font-size: 1.25rem; }
.account-count { padding: 5px 9px; border: 1px solid rgba(52,211,153,.23); border-radius: 999px; color: #6ee7b7; background: rgba(52,211,153,.06); font-size: .7rem; white-space: nowrap; }
.account-order { min-width: 0; margin-bottom: 11px; padding: 17px; border: 1px solid var(--line); border-radius: 14px; background: linear-gradient(160deg,rgba(18,26,43,.92),rgba(16,23,40,.82)); }
.account-order-primary { border-color: rgba(109,140,255,.28); box-shadow: 0 1px 0 rgba(255,255,255,.025) inset,0 10px 30px rgba(0,0,0,.2); }
.account-order-main { display: flex; align-items: flex-start; gap: 13px; min-width: 0; }
.account-order-main > .badge { flex: none; margin-left: auto; margin-top: 2px; }
.account-product-icon { flex: none; width: 50px; height: 50px; object-fit: cover; border: 1px solid var(--line-strong); border-radius: 13px; }
.account-gift-icon, .account-refund-icon { display: grid; place-items: center; color: #fff; background: linear-gradient(140deg,#718cff,#8b5cf6); font-size: 1.15rem; }
.account-refund-icon { color: var(--text2); background: #222b3b; }
.account-order-title { min-width: 0; }
.account-order-kicker { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; margin-bottom: 5px; }
.account-order-kicker .badge { font-size: .67rem; }
.account-order-kicker .badge i { margin-right: 2px; }
.account-order-category { color: var(--muted); font-size: .7rem; }
.account-order-meta { display: flex; flex-wrap: wrap; gap: 2px 6px; align-items: baseline; margin-top: 4px; color: var(--text2); font-size: .75rem; }
.account-order-meta .account-order-category::after { content: '·'; margin-left: 6px; }
.account-order-title { min-width: 0; flex: 1; }
.account-order-title h3 { font-size: .97rem; line-height: 1.3; }
.account-order-title p { margin: 4px 0 0; color: var(--text2); font-size: .75rem; }
.account-order-details { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 0; margin-top: 15px; padding: 12px 0 2px; border-top: 1px solid var(--line); }
.account-order-details > div { display: grid; gap: 4px; min-width: 0; padding: 0 12px; border-right: 1px solid rgba(255,255,255,.06); }
.account-order-details > div:first-child { padding-left: 0; }
.account-order-details > div:last-child { border-right: 0; padding-right: 0; }
.account-order-details span { color: var(--muted); font-size: .58rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; }
.account-order-details code, .account-order-details b { width: fit-content; max-width: 100%; overflow-wrap: anywhere; color: var(--text); font-size: .76rem; font-weight: 600; }
.account-order-actions { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 13px; padding-top: 13px; border-top: 1px solid var(--line); justify-content: flex-end; }
.account-history { margin-top: 18px; border-top: 1px solid var(--line); }
.account-history summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 15px 2px; color: var(--text2); cursor: pointer; list-style: none; font-size: .8rem; }
.account-history summary::-webkit-details-marker { display: none; }
.account-history summary > span:first-child { display: flex; align-items: center; gap: 8px; color: var(--text); font-weight: 650; }
.account-history summary > span:first-child i { color: var(--accent); }
.account-history summary::after { content: ""; width: 7px; height: 7px; margin-left: 1px; border-right: 1.5px solid var(--text2); border-bottom: 1.5px solid var(--text2); transform: rotate(45deg) translateY(-2px); transition: transform .15s; }
.account-history[open] summary::after { transform: rotate(225deg) translate(-2px,-1px); }
.account-history .account-order { margin-top: 2px; }
.account-order-refunded { opacity: .78; }
.account-wrap { padding-bottom: 12px; }
.account-login-card { max-width: 560px; margin: 18px auto 40px; padding: clamp(20px,4vw,30px); text-align: center; }
.account-login-card h1 { font-size: clamp(1.4rem,3vw,1.75rem); font-weight: 750; }
.account-login-card > p { max-width: 42ch; margin: 7px auto 16px; color: var(--text2); font-size: .84rem; }
.account-login-box { padding: 13px; border: 1px solid var(--line); border-radius: 12px; background: rgba(8,13,24,.35); }
.account-login-box .tg-login { display: grid; grid-template-columns: minmax(0,1fr); grid-template-rows: auto auto auto; align-items: center; justify-items: center; gap: 10px; }
.account-login-box .tg-login-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 20px; border: 0; border-radius: 10px; color: #fff; background: #229ed9; font: inherit; font-weight: 650; text-decoration: none; }
.account-login-box .tg-login-btn:hover { filter: brightness(1.08); }
.account-login-box .tg-login > .tg-login-btn { grid-column: 1; grid-row: 2; width: min(100%,280px); }
.account-login-box .tg-login-qr { grid-column: 1; grid-row: 1; }
.account-login-box .tg-login-qr svg { width: min(200px,55vw); height: auto; padding: 7px; border: 1px solid var(--line-strong); border-radius: 10px; }
.account-login-box .tg-login-hint { grid-column: 1; grid-row: 3; align-self: start; max-width: 32ch; color: var(--text2); font-size: .75rem; line-height: 1.45; text-align: center; }
.account-order-pending { border-color: rgba(251,191,36,.3); background: linear-gradient(155deg,rgba(251,191,36,.05),rgba(16,23,40,.88)); }
.account-order-hint { margin: 13px 0 0; color: var(--text2); font-size: .75rem; }
.account-empty { display: grid; justify-items: center; gap: 9px; padding: 30px 18px; text-align: center; }
.account-empty > span { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; color: var(--accent); background: rgba(109,140,255,.1); }
.account-empty h3 { font-size: 1rem; }
.account-empty p { margin: 0 0 4px; color: var(--text2); font-size: .82rem; }
@media (max-width: 860px) {
  .account-dashboard { grid-template-columns: 1fr; }
  .account-profile { display: grid; grid-template-columns: 58px minmax(0,1fr); column-gap: 14px; align-items: center; }
  .account-avatar { grid-row: 1 / span 3; margin: 0; }
  .account-profile-label, .account-profile h2, .account-connected { grid-column: 2; }
  .account-profile-label { align-self: end; }
  .account-profile h2 { align-self: center; margin: 0; }
  .account-connected { align-self: start; margin-top: 0; }
  .account-facts { grid-column: 1 / -1; grid-template-columns: repeat(2,minmax(0,1fr)); margin-top: 17px; }
  .account-profile-link { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .account-heading { align-items: flex-start; padding: 20px 0 17px; }
  .account-heading h1 { font-size: 1.75rem; }
  .account-heading p { max-width: 34ch; font-size: .83rem; }
  .account-logout { min-height: 36px; padding: 8px; font-size: .78rem; white-space: nowrap; }
  .account-logout i { font-size: 1rem; }
  .account-dashboard { gap: 14px; }
  .account-profile { padding: 17px; }
  .account-metrics { gap: 8px; margin-bottom: 21px; }
  .account-metric { padding: 12px; gap: 4px 7px; }
  .account-metric > span { align-items: flex-start; font-size: .67rem; }
  .account-metric > b { font-size: 1.25rem; }
  .account-metric > small { font-size: .62rem; }
  .account-section-heading h2 { font-size: 1.08rem; }
  .account-order { padding: 13px; }
  .account-order-main { gap: 10px; }
  .account-product-icon { width: 43px; height: 43px; border-radius: 11px; }
  .account-order-title h3 { font-size: .86rem; }
  .account-order-title p { font-size: .7rem; }
  .account-order-details { grid-template-columns: repeat(2,minmax(0,1fr)); row-gap: 10px; }
  .account-order-details > div:nth-child(odd) { padding-left: 0; }
  .account-order-details > div:nth-child(2n) { border-right: 0; padding-right: 0; }
  .account-order-actions { display: grid; grid-template-columns: 1fr; }
  .account-order-actions .btn { width: 100%; }
}

/* ── Footer ── */
.footer { border-top: 1px solid var(--line); margin-top: 50px; padding: 26px 0; color: var(--text2); font-size: .88rem; }
.footer .wrap { display: flex; flex-direction: column; flex-wrap: wrap; gap: 16px; align-items: center; }
.footer-links { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.footer-contact { display: inline-flex; align-items: center; gap: 5px; color: var(--muted); font-size: .76rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.footer-contact i { color: var(--accent); font-size: .9rem; }
.footer-privacy { margin-left: 4px; padding-left: 14px; border-left: 1px solid var(--line); }
.footer-links a { color: var(--text2); }
.footer-links a:hover { color: var(--text); }
.social { display: flex; gap: 6px; }
.social a { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 9px; color: var(--text2); }
.social a:hover { color: var(--text); border-color: var(--line-strong); }

/* Shared PHP components retained by the modern templates. */
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.btn-block { width: 100%; }
.btn-ok { color: #062116; background: var(--ok); border-color: transparent; }
.btn-ok:hover { filter: brightness(1.06); }
.btn-brand { color: #101322; background: var(--brand); border-color: transparent; }
label { display: block; margin: 10px 0 4px; color: var(--text2); font-size: .88rem; }
input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]), select, textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--line-strong); border-radius: 9px; outline: 0; color: var(--text); background: rgba(8,13,24,.65); font: inherit; }
input:focus, select:focus, textarea:focus { border-color: rgba(109,140,255,.75); box-shadow: 0 0 0 3px rgba(109,140,255,.13); }
.choice { display: flex; flex-wrap: wrap; gap: 8px; }
.choice label { display: flex; flex: 1 1 140px; align-items: center; gap: 8px; margin: 0; padding: 9px 10px; border: 1px solid var(--line); border-radius: 9px; color: var(--text); background: rgba(8,13,24,.45); cursor: pointer; font-size: .78rem; }
.choice input { width: auto; accent-color: var(--accent); }
.choice label:has(input:checked) { border-color: rgba(109,140,255,.65); background: rgba(109,140,255,.08); }
.status-active { color: #6ee7b7; border-color: rgba(52,211,153,.3); background: rgba(52,211,153,.08); }
.status-pending { color: #fcd34d; border-color: rgba(251,191,36,.3); background: rgba(251,191,36,.08); }
.status-expired, .status-cancelled, .status-refunded { color: #fca5a5; border-color: rgba(248,113,113,.25); background: rgba(248,113,113,.07); }
.alert { margin: 14px 0; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: 10px; }
.alert-ok { border-color: rgba(52,211,153,.35); color: #6ee7b7; background: rgba(52,211,153,.08); }
.alert-error { border-color: rgba(248,113,113,.35); color: #fca5a5; background: rgba(248,113,113,.08); }
.alert-info { border-color: rgba(109,140,255,.35); color: #c7d2fe; background: rgba(109,140,255,.08); }
.item-icon.icon-contain { object-fit: contain; padding: 8px; }
.item-icon-bi { display: grid; place-items: center; color: #a5b4fc; font-size: 1.35rem; }
.item-desc-section { margin: 18px 0; }
.item-desc-section .free-section-heading { margin-bottom: 10px; }
.item-desc-section .paid-intro, .item-desc-section .free-intro { margin: 0; }
.description { margin: 0; color: var(--text2); white-space: pre-line; line-height: 1.65; }
.prose { max-width: 800px; padding-bottom: 24px; }
.prose h1 { margin-bottom: 6px; font-size: clamp(1.75rem,4vw,2.25rem); }
.prose h2 { margin: 26px 0 8px; font-size: 1.12rem; }
.prose p, .prose li { color: var(--text2); font-size: .92rem; }
.prose p { margin: 0 0 12px; }
.prose ul { display: grid; gap: 7px; padding-left: 1.25rem; margin: 8px 0 14px; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.total { display: flex; justify-content: space-between; gap: 12px; margin: 14px 0; font-size: 1rem; font-weight: 700; }
.lightbox { position: fixed; inset: 0; z-index: 70; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(2,6,23,.94); backdrop-filter: blur(8px); }
.lightbox[hidden] { display: none; }
.lb-stage { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; max-height: 90vh; }
.lb-image-wrap { position: relative; display: inline-flex; max-width: 90vw; max-height: calc(82vh - 56px); touch-action: pan-y; }
.lb-img { width: auto; height: auto; max-width: min(90vw,1000px); max-height: calc(82vh - 56px); object-fit: contain; border-radius: 12px; box-shadow: 0 20px 60px rgba(0,0,0,.7); }
.lb-side-nav { position: absolute; top: 0; bottom: 0; z-index: 2; width: 24%; padding: 0; border: 0; opacity: 0; background: transparent; cursor: pointer; }
.lb-side-nav-prev { left: 0; }
.lb-side-nav-next { right: 0; }
.lb-side-nav:focus-visible { opacity: 1; outline: 2px solid #c7d2fe; outline-offset: -3px; background: rgba(109,140,255,.12); }
.lb-footer { position: relative; display: flex; align-items: center; justify-content: center; align-self: stretch; min-height: 36px; }
.lb-footer-info { display: grid; justify-items: center; gap: 2px; }
.lb-count { color: var(--text2); text-align: center; font-size: .72rem; font-variant-numeric: tabular-nums; }
.lb-swipe-hint { display: none; margin: 0; color: var(--muted); font-size: .64rem; text-align: center; }
.lb-close-bottom { position: absolute; right: 0; top: 50%; transform: translateY(-50%); z-index: 3; width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: 10px; color: #fff; background: rgba(10,15,28,.78); backdrop-filter: blur(5px); cursor: pointer; }
.lb-close-bottom:hover, .lb-close-bottom:focus-visible { color: #fff; border-color: rgba(165,180,252,.55); background: #202b43; }
@media (max-width: 560px) { .lb-swipe-hint { display: flex; } }
.video { position: relative; display: block; overflow: hidden; aspect-ratio: 16/9; border-radius: 12px; background: #000; cursor: pointer; }
.video img { width: 100%; height: 100%; object-fit: cover; opacity: .82; }
.video > i { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 3rem; }
.video iframe, .video-file { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-file { aspect-ratio: 16/9; border-radius: 12px; background: #000; }
.modal { position: fixed; inset: 0; z-index: 80; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(2,6,23,.72); backdrop-filter: blur(5px); }
.modal[hidden] { display: none; }
.modal-card { position: relative; width: min(420px,100%); padding: 22px; box-shadow: 0 20px 60px rgba(0,0,0,.65); }
.modal-x { position: absolute; top: 8px; right: 8px; width: 34px; height: 34px; display: grid; place-items: center; border: 0; border-radius: 8px; color: var(--text2); background: transparent; cursor: pointer; }
.modal-x:hover { color: var(--text); background: rgba(148,163,184,.09); }
.modal-msg { margin: 0 0 16px; padding-right: 32px; }
.modal-field { margin: 0 0 16px; }
.modal-field[hidden] { display: none !important; }
.modal-field input { max-width: 150px; margin-top: 6px; }

/* ── Consent / toast ── */
.consent { position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 60;
  background: rgba(18, 26, 43, .95); backdrop-filter: blur(12px); border: 1px solid var(--line-strong); border-radius: 14px; padding: 16px;
  box-shadow: 0 18px 50px rgba(0,0,0,.5); font-size: .85rem; width: min(460px, calc(100vw - 24px)); }
.consent p { margin: 0 0 12px; color: var(--text2); line-height: 1.5; }
.consent p i { color: var(--accent); margin-right: 6px; }
.consent-btns { display: flex; gap: 8px; justify-content: flex-end; }
.consent[hidden] { display: none; }
