/* AIWorkplace store — one stylesheet, no framework.
   Dark, high-contrast, built around a single accent gradient and generous
   spacing. Everything is a class; no inline layout in the markup. */

:root {
  --bg: #070a10;
  --bg-2: #0b0f18;
  --surface: #10151f;
  --surface-2: #151c29;
  --surface-3: #1b2435;
  --border: #222c3f;
  --border-strong: #2e3b54;
  --text: #e9eefc;
  --text-soft: #c6d0e6;
  --muted: #93a1bd;
  --muted-2: #6e7c97;
  --accent: #7c9cff;
  --accent-2: #a78bfa;
  --accent-3: #2dd4bf;
  --success: #3ddc97;
  --danger: #ff6b81;
  --warning: #f5b942;
  --radius: 16px;
  --radius-sm: 11px;
  --shadow: 0 24px 60px rgba(0, 0, 0, .5);
  --shadow-sm: 0 8px 24px rgba(0, 0, 0, .3);
  --shell: min(1200px, 100% - 48px);
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(900px 500px at 12% -10%, rgba(124, 156, 255, .16), transparent 60%),
    radial-gradient(800px 500px at 92% 0%, rgba(167, 139, 250, .12), transparent 55%),
    var(--bg);
  color: var(--text);
  font: 15px/1.6 "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { margin: 0 0 10px; line-height: 1.18; letter-spacing: -.02em; }
h1 { font-size: clamp(30px, 4vw, 46px); }
h2 { font-size: clamp(23px, 2.5vw, 32px); }
h3 { font-size: 18px; }
h4 { font-size: 14px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
p { margin: 0 0 12px; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
code, .address {
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: .86em;
  background: #0a0f19;
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 2px 6px;
  color: #d7e2ff;
  overflow-wrap: anywhere;
}
img { max-width: 100%; }
hr { border: 0; border-top: 1px solid var(--border); }

.shell { width: var(--shell); margin: 0 auto; }
.page { flex: 1; padding: 26px 0 72px; }
.page-wide { --shell: min(1320px, 100% - 48px); }
.muted { color: var(--muted); }
.small, small { font-size: 12px; }
.center { text-align: center; }
.lead { font-size: 17px; color: var(--text-soft); max-width: 66ch; }
.eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent-3);
  margin-bottom: 10px;
}
.section { margin: 56px 0; }
.section-head { max-width: 720px; margin-bottom: 24px; }
.section-head h2 { margin-bottom: 10px; }
.section-head-inline {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; flex-wrap: wrap; margin-bottom: 12px;
}
.section-head-inline h2 { margin: 0; }
.page-head { margin-top: 24px; }
.page-head h1 { margin-bottom: 12px; }

.skip-link {
  position: absolute; left: -9999px; top: 10px; z-index: 100;
  background: var(--surface-2); padding: 10px 14px; border-radius: 8px;
}
.skip-link:focus { left: 16px; }

/* ---------------- top bar ---------------- */
.topbar {
  position: sticky; top: 0; z-index: 40;
  background: rgba(7, 10, 16, .82);
  border-bottom: 1px solid rgba(46, 59, 84, .55);
  backdrop-filter: blur(14px);
}
.topbar-inner { display: flex; align-items: center; gap: 22px; padding: 13px 0; }
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 17px; letter-spacing: -.02em; color: var(--text);
}
.brand:hover { text-decoration: none; }
.brand img { border-radius: 8px; }
.nav { display: flex; gap: 3px; align-items: center; }
.nav-link {
  padding: 8px 11px; border-radius: 9px; color: var(--muted);
  font-weight: 550; font-size: 14px; white-space: nowrap;
}
.nav-link:hover { background: var(--surface); color: var(--text); text-decoration: none; }
.nav-link.is-active { color: var(--text); background: var(--surface-2); }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 7px; }
.cart-link .badge { margin-left: 6px; }
.nav-toggle, .nav-burger { display: none; }

/* ---------------- buttons ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 15px; border-radius: 10px;
  border: 1px solid var(--border-strong);
  background: var(--surface-2);
  color: var(--text); font: inherit; font-weight: 650; font-size: 14px;
  cursor: pointer; white-space: nowrap;
  transition: transform .12s ease, filter .15s ease, border-color .15s ease;
}
.btn:hover { border-color: #3b4c6b; filter: brightness(1.08); text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-color: transparent; color: #0a0e18;
  box-shadow: 0 10px 26px rgba(124, 156, 255, .28);
}
.btn-primary:hover { filter: brightness(1.06); }
.btn-ghost { background: transparent; }
.btn-danger { background: #2a1219; border-color: #6a2b38; color: #ffc9d2; }
.btn-lg { padding: 13px 21px; border-radius: 12px; font-size: 15px; }
.btn-sm, .btn-small { padding: 6px 10px; font-size: 12.5px; border-radius: 8px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.button-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }

.badge {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 20px; padding: 1px 7px; border-radius: 999px;
  background: var(--surface-3); border: 1px solid var(--border-strong);
  color: var(--text-soft); font-size: 11px; font-weight: 700;
}
.badge-danger { background: #2a1219; border-color: #6a2b38; color: #ffc9d2; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 11px; border-radius: 999px;
  border: 1px solid #2d3d5e; background: #121a2c;
  color: #b9c8ef; font-size: 12px; font-weight: 650;
}
.dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--success); box-shadow: 0 0 0 4px rgba(61, 220, 151, .13);
}

/* ---------------- layout helpers ---------------- */
.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 44px; align-items: center; }

.card {
  background: linear-gradient(180deg, rgba(21, 28, 41, .92), rgba(12, 17, 26, .95));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}
.card-accent {
  border-color: #3d4f86;
  background:
    radial-gradient(600px 200px at 80% -20%, rgba(124, 156, 255, .18), transparent 70%),
    linear-gradient(180deg, #151d30, #0d1220);
}
.card h3 { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.card h4 { margin-top: 16px; }
.note { border-color: #2c3a55; }

/* ---------------- flash ---------------- */
.flash {
  margin: 16px 0 0; padding: 12px 15px; border-radius: 11px;
  border: 1px solid var(--border); background: var(--surface);
  font-weight: 550;
}
.flash-success { border-color: #23664a; background: #0f271d; color: #b8f2d3; }
.flash-danger { border-color: #6a2b36; background: #2a1218; color: #ffc9d2; }
.flash-warning { border-color: #6a5423; background: #241d10; color: #f7e2b0; }
.flash-info { border-color: #2b3f6a; background: #101a2e; color: #c2d2f5; }

/* ---------------- hero ---------------- */
.hero {
  display: grid; grid-template-columns: 1.08fr .92fr; gap: 46px;
  align-items: center; padding: 52px 0 16px;
}
.hero h1 { margin: 18px 0 16px; font-size: clamp(38px, 5.6vw, 64px); letter-spacing: -.04em; }
.hero .lead { font-size: 18px; max-width: 54ch; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; margin: 24px 0 16px; }
.hero-trust { display: flex; gap: 16px; flex-wrap: wrap; color: var(--muted); font-size: 12.5px; }
.hero-stats { display: flex; gap: 34px; flex-wrap: wrap; margin-top: 30px; }
.hero-stats div { display: flex; flex-direction: column; gap: 1px; }
.hero-stats strong { font-size: 26px; letter-spacing: -.03em; color: #fff; }
.hero-stats span { color: var(--muted); font-size: 12.5px; }
.hero-art { position: relative; min-height: 360px; }
.glow {
  position: absolute; inset: 8% 4% auto auto; width: 74%; height: 74%;
  background: conic-gradient(from 140deg, rgba(124, 156, 255, .35), rgba(167, 139, 250, .3),
    rgba(45, 212, 191, .25), rgba(124, 156, 255, .35));
  filter: blur(52px); opacity: .6; border-radius: 50%;
}
.browser-card {
  position: relative; background: #0c111b; border: 1px solid #2a3750;
  border-radius: 18px; overflow: hidden; box-shadow: var(--shadow);
  transform: rotate(-1.2deg);
}
.browser-bar {
  display: flex; align-items: center; gap: 6px; padding: 11px 14px;
  border-bottom: 1px solid #1e2839; background: #0a0f18;
}
.browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: #33405a; }
.browser-bar span { margin-left: 8px; color: var(--muted); font-size: 12px; }
.live-dot { margin-left: auto; font-style: normal; font-size: 10px; color: var(--success); }
.browser-body { padding: 20px; display: grid; gap: 11px; }
.shimmer {
  height: 13px; border-radius: 7px;
  background: linear-gradient(90deg, #1b2740, #2a3c62, #1b2740);
  background-size: 200% 100%; animation: shimmer 4s linear infinite;
}
.shimmer.short { width: 62%; }
@keyframes shimmer { to { background-position: -200% 0; } }
.rows { display: grid; gap: 8px; margin: 6px 0; }
.rows span { height: 34px; border-radius: 9px; background: #0c1422; border: 1px solid #1c2638; }
.badge-line { display: flex; gap: 7px; flex-wrap: wrap; }
.badge-line em {
  font-style: normal; font-size: 10.5px; padding: 3px 8px; border-radius: 999px;
  background: #141f36; border: 1px solid #293a5d; color: #b9c8ef;
}
.float-card {
  position: absolute; right: -10px; bottom: -18px; min-width: 168px;
  background: #0e1625; border: 1px solid #2c3d60; border-radius: 13px;
  padding: 11px 14px; box-shadow: var(--shadow); display: grid; gap: 2px;
}
.float-card span { font-size: 11px; color: var(--muted); }
.float-card strong { font-size: 20px; letter-spacing: -.02em; }
.float-card small { font-size: 11px; color: var(--success); }
.float-card-two { right: auto; left: -18px; bottom: auto; top: -16px; }

/* ---------------- platform strip ---------------- */
.logo-strip {
  margin: 38px 0 10px; padding: 20px;
  border: 1px solid var(--border); border-radius: var(--radius);
  background: rgba(13, 18, 28, .6);
}
.logo-strip-label {
  display: block; font-size: 11px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted-2); margin-bottom: 12px;
}
.platform-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  gap: 7px;
}
.platform {
  display: flex; align-items: center; gap: 8px; padding: 8px 10px;
  border: 1px solid var(--border); border-radius: 9px;
  background: var(--surface); font-size: 12.5px; font-weight: 550;
  flex-wrap: wrap;
}
.platform img { border-radius: 5px; background: #f4f6fb; flex: none; }
.platform em { flex-basis: 100%; font-style: normal; font-size: 10px; color: var(--muted-2); padding-left: 30px; }

/* ---------------- products ---------------- */
.product-grid { align-items: stretch; }
.product-card { display: flex; flex-direction: column; gap: 12px; }
.product-head { display: flex; gap: 12px; align-items: flex-start; }
.product-head h3 { margin: 0; }
.product-head p { margin: 3px 0 0; font-size: 12.5px; }
.prod-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; flex: none; border-radius: 11px;
  background: linear-gradient(135deg, rgba(124, 156, 255, .22), rgba(167, 139, 250, .16));
  border: 1px solid #35456a; color: #bcd0ff;
}
.price-line { display: flex; align-items: baseline; gap: 6px; margin-top: 2px; }
.price-line .from { font-size: 28px; font-weight: 800; letter-spacing: -.03em; color: #fff; }
.price-line small { color: var(--muted); font-size: 13px; }
.price-note { color: var(--muted); font-size: 12px; margin: -4px 0 0; }
.ticks { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 6px; }
.ticks li { position: relative; padding-left: 20px; color: var(--text-soft); font-size: 13px; }
.ticks li::before {
  content: "✓"; position: absolute; left: 0; color: var(--success); font-weight: 800;
}
.buy-form { margin-top: auto; display: grid; gap: 9px; }
.buy-form .field { margin: 0; }
.product-grid-compact .price-line .from { font-size: 24px; }

/* ---------------- forms ---------------- */
.form { display: grid; gap: 11px; margin-top: 12px; }
.form label, .field {
  display: grid; gap: 5px; font-size: 12.5px; color: var(--text-soft); font-weight: 550;
}
input, select, textarea {
  width: 100%; padding: 10px 12px; border-radius: 9px;
  border: 1px solid var(--border-strong); background: #0a1019;
  color: var(--text); font: inherit; font-size: 14px;
}
input::placeholder, textarea::placeholder { color: var(--muted-2); }
input:focus, select:focus, textarea:focus {
  outline: 2px solid rgba(124, 156, 255, .45); border-color: #4a66a8;
}
input[disabled] { opacity: .6; }
textarea { resize: vertical; min-height: 70px; }
.inline { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.input-small { width: 96px; padding: 6px 8px; font-size: 13px; }
.check { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); width: auto; }
.check input { width: auto; }
.checkbox-row { display: flex; gap: 18px; flex-wrap: wrap; padding: 4px 0; }
.add-price { margin-top: 12px; }

/* ---------------- tables ---------------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: 13px; }
.table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.table th, .table td {
  text-align: left; padding: 11px 13px; border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.table th {
  color: var(--muted); font-size: 11px; text-transform: uppercase;
  letter-spacing: .08em; background: rgba(16, 21, 31, .8);
}
.table tbody tr:last-child td { border-bottom: 0; }
.table tbody tr:hover { background: rgba(124, 156, 255, .04); }
.table.compact th, .table.compact td { padding: 7px 9px; }
.table .price, .price { font-weight: 750; color: #fff; white-space: nowrap; }
.price small { margin-left: 3px; color: var(--muted); font-weight: 500; }
.cell-sub { display: block; color: var(--muted-2); font-size: 11.5px; margin-top: 2px; }
.row-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.row-highlight td { background: rgba(124, 156, 255, .06); }

/* ---------------- pricing ---------------- */
.price-table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: 14px; }
.price-table td span { display: block; color: var(--muted); font-size: 12px; }
.price-table td { font-size: 14px; }
.price-detail .table { margin: 12px 0; }
.price-detail form { margin-top: 12px; }

/* ---------------- video ---------------- */
.video-section { padding: 36px; border: 1px solid var(--border); border-radius: 20px;
  background: linear-gradient(160deg, #0e1524, #080c14); }
.video-section .section-head { max-width: 680px; }
.video-frame { margin-top: 20px; border-radius: 16px; overflow: hidden; border: 1px solid #2c3b57; box-shadow: var(--shadow); }
.video-facade {
  position: relative; display: block; width: 100%; aspect-ratio: 16 / 9;
  background: #0a0f19; border: 0; padding: 0; cursor: pointer; overflow: hidden;
  color: var(--text);
}
.video-facade img { width: 100%; height: 100%; object-fit: cover; opacity: .78; transition: opacity .2s, transform .4s; }
.video-facade:hover img { opacity: .92; transform: scale(1.015); }
.video-facade .play {
  position: absolute; inset: 0; margin: auto; width: 76px; height: 76px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; background: rgba(124, 156, 255, .92); color: #070a10;
  box-shadow: 0 10px 40px rgba(124, 156, 255, .5);
}
.video-facade .video-caption {
  position: absolute; left: 18px; bottom: 16px; font-weight: 700; font-size: 15px;
  text-shadow: 0 2px 10px #000;
}
.video-facade .video-sub { position: absolute; left: 18px; bottom: 40px; color: #c6d0e6; font-size: 12px; }
.video-player { position: relative; background: #05080e; }
.video-player video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #05080e; }
.video-embed { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; }
.video-placeholder {
  display: flex; align-items: center; justify-content: center;
  background:
    radial-gradient(600px 300px at 70% 10%, rgba(124, 156, 255, .28), transparent 60%),
    radial-gradient(500px 300px at 20% 90%, rgba(45, 212, 191, .18), transparent 60%),
    #0a0f19;
}
.video-orbit {
  position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%;
  border: 1px dashed rgba(124, 156, 255, .35); animation: spin 30s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.video-placeholder .play { position: static; margin: 0; }
.video-placeholder { display: grid; place-items: center; align-content: center; gap: 12px; }
.video-placeholder .video-caption { position: static; font-size: 22px; }
.video-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 16px; }
.video-actions .muted { font-size: 12.5px; }

/* ---------------- screenshots ---------------- */
.shot-panel { padding: 8px; overflow: hidden; }
.shot-panel img { border-radius: 10px; display: block; width: 100%; }
.shot-fallback { padding: 10px; color: var(--muted); font-size: 12px; }
.shot-grid { align-items: start; }
.shot { margin: 0; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; background: var(--surface); }
.shot img { display: block; width: 100%; }
.shot figcaption { padding: 9px 12px; font-size: 12px; color: var(--muted); border-top: 1px solid var(--border); }

/* ---------------- steps / cta ---------------- */
.steps { align-items: stretch; }
.step { position: relative; padding-top: 22px; }
.step-no {
  position: absolute; top: -14px; left: 18px; width: 30px; height: 30px;
  display: grid; place-items: center; border-radius: 9px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #0a0e18; font-weight: 800; font-size: 14px;
}
.step h3 { font-size: 15px; }
.step p { color: var(--muted); font-size: 13px; margin: 0; }
.cta {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 32px; border: 1px solid #33456d; border-radius: var(--radius);
  background:
    radial-gradient(700px 260px at 15% 0%, rgba(124, 156, 255, .2), transparent 70%),
    linear-gradient(120deg, #121c31, #0b111c);
  flex-wrap: wrap;
}
.cta h2 { margin: 0 0 6px; }
.cta p { margin: 0; color: var(--muted); }
.cta-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------------- FAQ ---------------- */
.faq { display: grid; gap: 8px; }
.faq-item {
  border: 1px solid var(--border); border-radius: 11px; background: var(--surface);
  padding: 14px 16px;
}
.faq-item summary { cursor: pointer; font-weight: 650; }
.faq-item[open] summary { color: var(--accent); }
.faq-item div { color: var(--muted); padding-top: 9px; font-size: 13.5px; }

/* ---------------- auth ---------------- */
.auth { display: flex; justify-content: center; padding: 54px 0; }
.auth-card { width: min(440px, 100%); padding: 28px; }
.auth-card h1 { font-size: 28px; }
.auth p.center { margin: 14px 0 0; }

/* ---------------- checkout / cart ---------------- */
.checkout-steps, .order-timeline {
  display: flex; gap: 10px; list-style: none; padding: 0; margin: 18px 0;
  flex-wrap: wrap;
}
.checkout-steps li, .order-timeline li {
  display: flex; align-items: center; gap: 8px; color: var(--muted);
  font-size: 12.5px; font-weight: 600;
}
.checkout-steps li span, .order-timeline li span {
  width: 24px; height: 24px; display: grid; place-items: center;
  border-radius: 50%; border: 1px solid var(--border-strong);
  background: var(--surface); font-size: 11px; color: var(--muted);
}
.checkout-steps li.done, .order-timeline li.done { color: var(--text-soft); }
.checkout-steps li.done span, .order-timeline li.done span {
  background: rgba(61, 220, 151, .14); border-color: #23664a; color: var(--success);
}
.checkout-steps li.current span { border-color: var(--accent); color: var(--accent); }

.checkout-layout, .payment-layout {
  display: grid; grid-template-columns: 1.25fr .75fr; gap: 18px; align-items: start;
}
.totals { display: grid; gap: 7px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--border); }
.totals > div { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 13.5px; }
.totals .grand { color: var(--text); font-size: 16px; padding-top: 8px; border-top: 1px dashed var(--border); }
.totals .grand strong { font-size: 22px; letter-spacing: -.02em; }
.asset-grid { display: grid; gap: 8px; margin: 10px 0; }
.asset-card {
  display: flex; align-items: center; gap: 12px; padding: 12px;
  border: 1px solid var(--border); border-radius: 11px; background: var(--surface);
  cursor: pointer;
}
.asset-card input { width: auto; margin: 0; accent-color: var(--accent); }
.asset-card:has(input:checked) { border-color: #4a66a8; background: #142038; }
.asset-mark {
  width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px;
  background: rgba(124, 156, 255, .13); border: 1px solid #33456d;
  font-size: 11px; font-weight: 800; color: #c9d8ff;
}
.asset-card strong { display: block; font-size: 14px; }
.asset-card small { color: var(--muted); font-size: 11.5px; }
.checkout-form h3 { margin-bottom: 6px; }

/* ---------------- payment ---------------- */
.pay-card { display: grid; gap: 14px; }
.pay-head { display: flex; align-items: center; gap: 12px; }
.pay-head h3 { margin: 0; }
.pay-head p { margin: 1px 0 0; font-size: 12px; }
.coin {
  width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px;
  font-weight: 800; font-size: 12px; border: 1px solid #3a4c74;
  background: rgba(124, 156, 255, .14);
}
.pay-head .status { margin-left: auto; }
.pay-amount, .pay-address {
  display: grid; gap: 6px; padding: 14px; border-radius: 12px;
  background: #0a1019; border: 1px solid var(--border);
}
.pay-amount strong { font-size: 26px; letter-spacing: -.02em; }
.pay-amount .btn, .pay-address .btn { justify-self: start; }
.pay-address .address { font-size: 13px; word-break: break-all; }
.qr-box {
  width: 200px; max-width: 100%; margin: 0 auto; padding: 12px;
  background: #fff; border-radius: 12px;
}
.qr-box svg { display: block; width: 100%; height: auto; }
.qr-missing { background: var(--surface); color: var(--muted); text-align: center; font-size: 12px; }
.notice {
  padding: 13px 15px; border-radius: 11px; border: 1px solid #3a4c74;
  background: #101a2e; color: #c2d2f5; font-size: 13.5px;
}
.notice-success { border-color: #23664a; background: #0f271d; color: #b8f2d3; }
.notice-warning { border-color: #6a5423; background: #241d10; color: #f7e2b0; }
.notice-danger { border-color: #6a2b36; background: #2a1218; color: #ffc9d2; }
.countdown { margin: 0; font-size: 13px; color: var(--warning); }
.countdown strong { font-variant-numeric: tabular-nums; }
.license-line {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding: 13px 15px; margin-top: 14px; border-radius: 11px;
  background: #0a1019; border: 1px solid var(--border);
}
.license-line code { font-size: 14px; letter-spacing: .04em; }

/* ---------------- status ---------------- */
.status {
  display: inline-block; padding: 3px 9px; border-radius: 999px;
  font-size: 11px; font-weight: 750; text-transform: capitalize;
  border: 1px solid var(--border-strong); background: var(--surface-3); color: var(--muted);
}
.status-active, .status-confirmed, .status-published { background: #0f271d; border-color: #23664a; color: #8ff0c1; }
.status-pending, .status-submitted { background: #241d10; border-color: #6a5423; color: #f7e2b0; }
.status-held, .status-expired { background: #2a1d12; border-color: #7a4322; color: #ffc89a; }
.status-cancelled, .status-banned { background: #2a1218; border-color: #6a2b36; color: #ffc9d2; }

/* ---------------- account ---------------- */
.account-grid { display: grid; grid-template-columns: 1.4fr .6fr; gap: 18px; }
.account-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.account-head h3 { margin: 0; }
.account-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.plan-chips { display: flex; gap: 7px; flex-wrap: wrap; margin: 12px 0; }
.plan-chip {
  padding: 5px 10px; border-radius: 999px; font-size: 12px; font-weight: 600;
  background: rgba(124, 156, 255, .1); border: 1px solid #33456d; color: #c9d8ff;
}
.metric-stack { display: grid; gap: 14px; align-content: start; }
.metric { display: grid; gap: 1px; }
.metric span { font-size: 11.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .07em; }
.metric strong { font-size: 22px; letter-spacing: -.02em; }
.metric small { color: var(--muted-2); }
.license-card { margin: 16px 0; }
.empty-state { text-align: center; padding: 36px; }

/* ---------------- download ---------------- */
.download-card { padding: 26px; }
.download-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 22px; flex-wrap: wrap; }
.download-head h2 { margin: 2px 0 4px; }
.hash code { font-size: 11px; }
.install-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 24px; }
.install-steps > div {
  padding: 14px; border: 1px solid var(--border); border-radius: 11px; background: var(--surface);
}
.install-steps span {
  display: inline-grid; place-items: center; width: 24px; height: 24px;
  border-radius: 7px; background: rgba(124, 156, 255, .16); color: var(--accent);
  font-size: 11px; font-weight: 800; margin-bottom: 8px;
}
.install-steps h4 { margin: 0 0 4px; text-transform: none; letter-spacing: 0; font-size: 13px; color: var(--text); }
.install-steps p { margin: 0; color: var(--muted); font-size: 12px; }

/* ---------------- legal / error ---------------- */
.legal { max-width: 820px; }
.legal p { color: var(--text-soft); }
.error-page { text-align: center; padding: 70px 0; }
.error-page .hero-actions { justify-content: center; }

/* ---------------- admin ---------------- */
.admin-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.admin-head h1, .admin-head h2 { margin: 0; display: flex; align-items: center; gap: 10px; }
.admin-head-actions { display: flex; gap: 7px; }
.tabs { display: flex; gap: 5px; flex-wrap: wrap; margin: 18px 0 22px; border-bottom: 1px solid var(--border); padding-bottom: 10px; }
.tab {
  padding: 8px 12px; border-radius: 9px; color: var(--muted); font-size: 13px;
  font-weight: 600; border: 1px solid transparent;
}
.tab:hover { color: var(--text); background: var(--surface); text-decoration: none; }
.tab.is-active { color: var(--text); background: var(--surface-2); border-color: var(--border-strong); }
.kpis { margin-bottom: 14px; }
.kpi { display: grid; gap: 3px; padding: 16px 18px; }
.kpi span { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.kpi strong { font-size: 27px; letter-spacing: -.03em; }
.kpi small { color: var(--muted-2); font-size: 11.5px; }
.kpi-accent { border-color: #3d4f86; background: linear-gradient(160deg, #17213a, #0c1220); }
.admin-columns { display: grid; grid-template-columns: 1.45fr .55fr; gap: 16px; align-items: start; }
.chip-row { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 16px; }
.chip {
  padding: 6px 11px; border-radius: 999px; border: 1px solid var(--border);
  background: var(--surface); color: var(--muted); font-size: 12.5px; font-weight: 600;
}
.chip span { color: var(--muted-2); margin-left: 5px; }
.chip.is-active { border-color: #4a66a8; background: #142038; color: var(--text); }
.chip:hover { text-decoration: none; color: var(--text); }
.add-price { margin-top: 12px; }

/* ---------------- footer ---------------- */
.footer { border-top: 1px solid var(--border); background: #060910; margin-top: 40px; }
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 30px; padding: 36px 0 26px;
}
.footer h4 { margin-bottom: 10px; }
.footer a { display: block; color: var(--muted); font-size: 13px; padding: 3px 0; }
.footer a:hover { color: var(--text); }
.footer-brand p { color: var(--muted); font-size: 13px; max-width: 34ch; }
.footer .coins { color: var(--accent-3); font-size: 12px; font-weight: 650; }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 16px 0 26px; border-top: 1px solid var(--border);
  color: var(--muted-2); font-size: 12px;
}

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

@media (max-width: 1080px) {
  .hero { grid-template-columns: 1fr; gap: 30px; }
  .hero-art { min-height: 320px; max-width: 560px; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .checkout-layout, .payment-layout, .account-grid, .admin-columns { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 26px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .install-steps { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  :root { --shell: calc(100% - 28px); }
  .page { padding-top: 18px; }
  .topbar-inner { gap: 12px; flex-wrap: wrap; padding: 11px 0; }
  .nav { display: none; order: 3; flex-basis: 100%; flex-direction: column; align-items: stretch; }
  .nav-toggle:checked ~ .nav { display: flex; }
  .nav-burger {
    display: inline-flex; width: 38px; height: 36px; margin-left: auto;
    align-items: center; justify-content: center; border: 1px solid var(--border);
    border-radius: 9px; cursor: pointer;
  }
  .nav-burger span, .nav-burger span::before, .nav-burger span::after {
    content: ""; display: block; width: 16px; height: 2px; background: var(--text);
    position: relative;
  }
  .nav-burger span::before { position: absolute; top: -5px; }
  .nav-burger span::after { position: absolute; top: 5px; }
  .nav-actions { margin-left: 0; }
  .nav-actions .nav-link { display: none; }
  .grid-2, .grid-3, .grid-4, .product-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 24px; }
  .hero h1 { font-size: 38px; }
  .hero-stats { gap: 20px; }
  .float-card, .float-card-two { display: none; }
  .video-section { padding: 20px; }
  .video-facade .play { width: 60px; height: 60px; }
  .cta { padding: 22px; }
  .footer-grid { grid-template-columns: 1fr; gap: 18px; }
  .table th, .table td { padding: 9px 10px; }
  .auth { padding: 24px 0; }
  .download-head { flex-direction: column; }
}

.edit-copy { margin: 4px 0 10px; }
.edit-copy summary { cursor: pointer; color: var(--accent); font-size: 12px; font-weight: 600; }
.edit-copy[open] summary { margin-bottom: 8px; }

