/* Fonts (OFL, self-hosted): Plus Jakarta Sans for text, Sora for headings,
   JetBrains Mono for numbers and codes. */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/fonts/jetbrains-mono-vietnamese.woff2) format("woff2");
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/fonts/jetbrains-mono-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/fonts/jetbrains-mono-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(/fonts/plus-jakarta-sans-vietnamese.woff2) format("woff2");
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(/fonts/plus-jakarta-sans-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(/fonts/plus-jakarta-sans-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url(/fonts/sora-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url(/fonts/sora-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #070b14;
  --panel: #0c1322;
  --panel-2: #101a2e;
  --line: rgba(56, 220, 230, .22);
  --line-strong: rgba(56, 220, 230, .55);
  --cyan: #2de2e6;
  --cyan-2: #22b8cf;
  --pink: #ff4fa3;
  --violet: #8b5cf6;
  --text: #e6edf7;
  --muted: #8b9ab3;
  --ok: #34d399;
  --warn: #fbbf24;
  --bad: #f87171;
  --radius: 16px;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  font-family: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  background: radial-gradient(1200px 600px at 15% -10%, rgba(45, 226, 230, .12), transparent 60%),
              radial-gradient(900px 500px at 95% 0%, rgba(255, 79, 163, .10), transparent 60%),
              var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.5;
}
.bg-grid {
  position: fixed; inset: 0; pointer-events: none; z-index: -1;
  background-image: linear-gradient(rgba(45, 226, 230, .04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(45, 226, 230, .04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at top, #000 30%, transparent 75%);
}
a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; }
.hidden { display: none !important; }

/* Navigation: one model on every page.
   Desktop: sticky top bar. Phone (<900px): top bar = brand + menu,
   bottom tab bar for the 4 main destinations, drawer for everything. */
.topbar {
  position: sticky; top: 0; z-index: 40;
  background: rgba(7, 11, 20, .82); backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.topbar-inner {
  width: min(1240px, 100%); margin: 0 auto; height: 64px;
  display: flex; align-items: center; gap: 20px;
  padding: 0 clamp(16px, 4vw, 32px);
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); flex: none; }
.brand:hover { text-decoration: none; }
.brand-logo { width: 36px; height: 36px; border-radius: 10px; box-shadow: 0 0 16px rgba(111, 211, 255, .35); }
.brand-name { font: 800 18px "Sora", "Plus Jakarta Sans", sans-serif; letter-spacing: -.01em; white-space: nowrap; }

.primary-nav { display: flex; align-items: center; gap: 4px; flex: 1; justify-content: center; }
.pnav {
  position: relative; padding: 8px 14px; border-radius: 10px;
  color: #c3cde0; font-size: 15px; font-weight: 600;
  transition: color .15s ease, background-color .15s ease;
}
.pnav:hover { color: var(--text); background: rgba(45, 226, 230, .06); text-decoration: none; }
.pnav.active { color: var(--cyan); }
.pnav.active::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: -13px; height: 2px; border-radius: 2px;
  background: var(--cyan); box-shadow: 0 0 10px var(--cyan);
}

.utility-nav { display: flex; align-items: center; gap: 6px; flex: none; }
.unav {
  position: relative; display: inline-flex; align-items: center; gap: 8px;
  height: 38px; padding: 0 12px; border-radius: 10px;
  color: #c3cde0; font-size: 14px; font-weight: 600; border: 1px solid transparent;
  transition: color .15s ease, border-color .15s ease, background-color .15s ease;
}
.unav:hover { color: var(--text); background: rgba(45, 226, 230, .06); text-decoration: none; }
.unav.active { color: var(--cyan); border-color: rgba(45, 226, 230, .45); background: rgba(45, 226, 230, .08); }
.unav svg, .dnav svg, .tab svg, .menu-btn svg {
  width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round; flex: none;
}
.count {
  min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px;
  display: inline-grid; place-items: center;
  font: 700 11px "JetBrains Mono", monospace; color: #04121a; background: var(--cyan);
}
.unav .count { position: absolute; top: 2px; right: 2px; transform: translate(40%, -30%); }
.support-cta {
  height: 38px; display: inline-flex; align-items: center; padding: 0 16px; margin-left: 6px; border-radius: 10px;
  font-size: 14px; font-weight: 700; color: var(--text);
  border: 1px solid var(--pink); box-shadow: 0 0 14px rgba(255, 79, 163, .28);
  transition: background-color .15s ease, box-shadow .15s ease;
}
.support-cta:hover, .support-cta.active { text-decoration: none; background: rgba(255, 79, 163, .12); box-shadow: 0 0 20px rgba(255, 79, 163, .4); }
.menu-btn {
  display: none; width: 40px; height: 40px; border-radius: 10px; cursor: pointer;
  place-items: center; color: var(--text); background: transparent; border: 1px solid var(--line);
}

a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid var(--cyan); outline-offset: 2px;
}

/* Drawer (phone) */
.drawer {
  position: fixed; inset: 0 0 0 auto; z-index: 60; width: min(320px, 86vw);
  display: flex; flex-direction: column; gap: 8px; padding: 16px;
  background: #0a1020; border-left: 1px solid var(--line);
  box-shadow: -20px 0 50px rgba(0, 0, 0, .5);
  transform: translateX(105%); transition: transform .2s ease;
  overflow-y: auto;
}
body.menu-open .drawer { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 4px 4px 12px; border-bottom: 1px solid var(--line); }
.drawer-nav { display: flex; flex-direction: column; gap: 2px; }
.dnav {
  display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 12px;
  color: #c3cde0; font-size: 15px; font-weight: 600; border: 1px solid transparent;
}
.dnav:hover { color: var(--text); background: rgba(45, 226, 230, .06); text-decoration: none; }
.dnav.active { color: var(--cyan); background: rgba(45, 226, 230, .08); border-color: rgba(45, 226, 230, .4); }
.dnav .count { margin-left: auto; }
.drawer-sep { margin: 10px 12px 4px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.drawer-foot { margin: auto 0 0; padding: 12px; font-size: 12px; color: var(--muted); border-top: 1px solid var(--line); }
.drawer-backdrop { position: fixed; inset: 0; z-index: 55; background: rgba(2, 6, 14, .6); backdrop-filter: blur(2px); }

/* Bottom tab bar (phone) */
.tabbar {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
  padding: 6px 8px calc(6px + env(safe-area-inset-bottom));
  background: rgba(8, 13, 25, .94); backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  grid-template-columns: repeat(5, 1fr);
}
.tab {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 3px;
  min-height: 48px; padding: 6px 2px; border-radius: 12px;
  color: var(--muted); font: 600 11px "Plus Jakarta Sans", sans-serif;
  background: transparent; border: 0; cursor: pointer;
}
.tab:hover { text-decoration: none; color: var(--text); }
.tab.active { color: var(--cyan); }
.tab.active svg { filter: drop-shadow(0 0 6px rgba(45, 226, 230, .7)); }
.tab .count { position: absolute; top: 2px; left: 54%; }

/* Inner-page header */
.page-head { margin: 4px 0 24px; }
.crumbs { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--cyan); text-decoration: none; }
.page-head h1 { margin: 0; font-size: clamp(26px, 3.4vw, 36px); }
.page-head p { margin: 6px 0 0; color: var(--muted); max-width: 680px; }

@media (max-width: 1100px) {
  .unav-label { display: none; }
  .unav { padding: 0 10px; }
}
@media (max-width: 900px) {
  .topbar-inner { height: 58px; gap: 12px; }
  .primary-nav, .utility-nav .unav, .support-cta { display: none; }
  .utility-nav { margin-left: auto; }
  .menu-btn { display: inline-grid; }
  .tabbar { display: grid; }
  body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  .toast { bottom: calc(84px + env(safe-area-inset-bottom)); }
}

.container { width: min(1240px, 100%); margin: 0 auto; padding: 28px clamp(16px, 4vw, 32px) 64px; }
.center-note { text-align: center; color: var(--muted); padding: 80px 0; }

/* Hero */
.hero { padding: 36px 0 18px; }
.chip-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.chip {
  font-size: 12px; padding: 4px 10px; border-radius: 999px;
  border: 1px solid var(--line); color: var(--muted); background: rgba(16, 26, 46, .7);
}
.chip.hot { border-color: rgba(255, 79, 163, .6); color: #ffc2de; }
.hero h1 {
  font-size: clamp(30px, 5vw, 52px); line-height: 1.1; margin: 0 0 12px; font-weight: 800;
  background: linear-gradient(90deg, #fff, var(--cyan) 55%, var(--pink));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p { color: var(--muted); font-size: 17px; max-width: 680px; margin: 0 0 22px; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; margin-top: 8px; }

/* Panels */
.glow {
  background: linear-gradient(180deg, rgba(16, 26, 46, .92), rgba(12, 19, 34, .92));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 0 0 1px rgba(45, 226, 230, .05) inset, 0 0 24px rgba(45, 226, 230, .06);
}
.stat { padding: 16px 18px; }
.stat .label { color: var(--muted); font-size: 13px; }
.stat .value { font-size: 22px; font-weight: 800; color: var(--cyan); margin-top: 4px; }

.section { margin-top: 44px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.section-head h2 { margin: 0; font-size: 24px; }
.section-head .sub { color: var(--muted); font-size: 14px; }
.kicker { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--cyan); margin-bottom: 6px; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.card {
  padding: 20px; display: flex; flex-direction: column; gap: 10px;
  transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.card:hover { transform: translateY(-2px); border-color: var(--line-strong); box-shadow: 0 0 28px rgba(45, 226, 230, .16); }
.card.featured { border-color: rgba(255, 79, 163, .55); box-shadow: 0 0 28px rgba(255, 79, 163, .14); }
.card h3 { margin: 0; font-size: 18px; }
.card .desc { color: var(--muted); font-size: 14px; white-space: pre-line; flex: 1; }
.price { font-size: 26px; font-weight: 800; }
.price small { font-size: 13px; color: var(--muted); font-weight: 500; }
.badge {
  align-self: flex-start; font-size: 12px; padding: 3px 9px; border-radius: 999px;
  background: rgba(45, 226, 230, .12); color: var(--cyan); border: 1px solid rgba(45, 226, 230, .35);
}
.badge.pink { background: rgba(255, 79, 163, .12); color: #ff9cca; border-color: rgba(255, 79, 163, .4); }
.badge.muted { background: rgba(139, 154, 179, .1); color: var(--muted); border-color: rgba(139, 154, 179, .3); }
.models { display: flex; flex-wrap: wrap; gap: 6px; }
.model { font-size: 11px; padding: 2px 8px; border-radius: 6px; background: rgba(139, 92, 246, .14); color: #c4b5fd; }
.meta { display: flex; gap: 12px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.empty { color: var(--muted); padding: 24px; text-align: center; }

/* Buttons & inputs */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 18px; border-radius: 12px; border: 1px solid transparent;
  font: inherit; font-weight: 700; cursor: pointer; color: #04121a;
  background: linear-gradient(90deg, var(--cyan), var(--cyan-2));
  box-shadow: 0 0 18px rgba(45, 226, 230, .35);
}
.btn:hover { filter: brightness(1.08); }
.btn:disabled { opacity: .5; cursor: not-allowed; filter: none; }
.btn.ghost { background: transparent; color: var(--text); border-color: var(--line-strong); box-shadow: none; }
.btn.pink { background: linear-gradient(90deg, var(--pink), #ff7ab8); box-shadow: 0 0 18px rgba(255, 79, 163, .35); }
.btn.small { padding: 6px 12px; font-size: 13px; border-radius: 10px; }
.btn.block { width: 100%; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 13px; color: var(--muted); }
.field .hint { font-size: 12px; color: var(--muted); }
input[type=email], input[type=number] {
  width: 100%; padding: 11px 12px; border-radius: 10px; font: inherit; color: var(--text);
  background: #0a1120; border: 1px solid var(--line);
}
input:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(45, 226, 230, .15); }
.methods { display: grid; gap: 8px; }
.method {
  display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 12px; cursor: pointer;
  border: 1px solid var(--line); background: #0a1120;
}
.method:has(input:checked) { border-color: var(--cyan); box-shadow: 0 0 14px rgba(45, 226, 230, .2); }
.method input { accent-color: var(--cyan); }
.method .m-title { font-weight: 700; }
.method .m-sub { font-size: 12px; color: var(--muted); }
.qty { display: flex; align-items: center; gap: 8px; }
.qty input { width: 90px; text-align: center; }
.summary { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-top: 1px dashed var(--line); margin-top: 6px; }
.error { color: var(--bad); font-size: 14px; min-height: 20px; margin: 6px 0; }

/* Modal */
.modal { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 16px; background: rgba(2, 6, 14, .7); backdrop-filter: blur(4px); }
.modal-card { width: min(480px, 100%); max-height: 92vh; overflow: auto; padding: 22px; position: relative; }
.modal-title { margin: 0 0 14px; font-size: 20px; }
.icon-btn { background: transparent; border: 0; color: var(--muted); font-size: 18px; cursor: pointer; }
.close-btn { position: absolute; top: 12px; right: 12px; }

/* Order page */
.order-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 18px; margin-top: 18px; }
@media (max-width: 860px) { .order-wrap { grid-template-columns: 1fr; } }
.panel { padding: 20px; }
.panel h3 { margin: 0 0 12px; font-size: 17px; }
.status { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; padding: 6px 12px; border-radius: 999px; font-size: 14px; }
.status.wait { background: rgba(251, 191, 36, .12); color: var(--warn); border: 1px solid rgba(251, 191, 36, .4); }
.status.ok { background: rgba(52, 211, 153, .12); color: var(--ok); border: 1px solid rgba(52, 211, 153, .4); }
.status.bad { background: rgba(248, 113, 113, .12); color: var(--bad); border: 1px solid rgba(248, 113, 113, .4); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 10px currentColor; }
.qr-box { display: grid; place-items: center; padding: 14px; background: #fff; border-radius: 14px; margin: 0 auto 14px; width: min(300px, 100%); }
.qr-box img { width: 100%; height: auto; display: block; }
.rows { display: grid; gap: 8px; }
.row { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; background: #0a1120; border: 1px solid var(--line); }
.row .k { color: var(--muted); font-size: 13px; }
.row .v { font-weight: 700; word-break: break-all; text-align: right; }
.row .v.mono, .mono { font-family: ui-monospace, "Cascadia Code", Consolas, monospace; }
.row .v-wrap { display: flex; align-items: center; gap: 8px; }
.notice { padding: 12px 14px; border-radius: 12px; font-size: 14px; margin: 12px 0; }
.notice.warn { background: rgba(251, 191, 36, .08); border: 1px solid rgba(251, 191, 36, .35); color: #fde68a; }
.notice.info { background: rgba(45, 226, 230, .07); border: 1px solid rgba(45, 226, 230, .3); color: #bdf6f7; }
.notice.bad { background: rgba(248, 113, 113, .08); border: 1px solid rgba(248, 113, 113, .35); color: #fecaca; }
.countdown { font-family: ui-monospace, Consolas, monospace; font-size: 22px; font-weight: 800; color: var(--warn); }
.secret {
  padding: 12px; border-radius: 10px; background: #050a14; border: 1px solid var(--line-strong);
  font-family: ui-monospace, Consolas, monospace; word-break: break-all; white-space: pre-wrap;
}
.item-list { display: grid; gap: 8px; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }

.toast {
  position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%); z-index: 60;
  padding: 10px 16px; border-radius: 12px; background: var(--panel-2); border: 1px solid var(--line-strong);
  box-shadow: 0 0 18px rgba(45, 226, 230, .25);
}
.footer { color: var(--muted); font-size: 13px; border-top: 1px solid var(--line); background: rgba(7, 11, 20, .6); }
.footer-inner { width: min(1240px, 100%); margin: 0 auto; padding: 26px clamp(16px, 4vw, 32px) 34px; display: flex; flex-wrap: wrap; gap: 18px 32px; align-items: center; justify-content: space-between; }
.footer-brand { display: flex; gap: 12px; align-items: center; }
.footer-brand img { border-radius: 9px; }
.footer-brand b { color: var(--text); font-family: "Sora", sans-serif; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--cyan); text-decoration: none; }

@media (max-width: 560px) {
  .hero h1 { font-size: 30px; }
  .stats { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .stat { padding: 10px 12px; }
  .stat .value { font-size: 17px; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .row { flex-wrap: wrap; }
  .row .v-wrap { width: 100%; justify-content: space-between; }
  .row .v { text-align: left; }
}

/* Sale price */
.price-line { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.was { color: var(--muted); text-decoration: line-through; font-size: 15px; }
.off {
  font-size: 12px; font-weight: 800; padding: 2px 8px; border-radius: 999px;
  background: linear-gradient(90deg, var(--pink), #ff7ab8); color: #1a0410;
  box-shadow: 0 0 12px rgba(255, 79, 163, .4);
}

/* Banner, simple pages */
.banner { padding: 22px 24px; margin-bottom: 22px; display: flex; gap: 18px; align-items: center; }
.banner img { width: 64px; height: 64px; border-radius: 16px; flex: none; }
.banner h2 { margin: 0 0 4px; font-size: 22px; background: linear-gradient(90deg, #fff, var(--cyan) 60%, var(--pink)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.banner p { margin: 0; color: var(--muted); }
.page-grid { display: grid; gap: 16px; }
.two-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
input[type=text] {
  width: 100%; padding: 11px 12px; border-radius: 10px; font: inherit; color: var(--text);
  background: #0a1120; border: 1px solid var(--line);
}
.bar { height: 10px; border-radius: 999px; background: #0a1120; border: 1px solid var(--line); overflow: hidden; }
.bar > span { display: block; height: 100%; background: linear-gradient(90deg, var(--cyan), var(--violet)); }
.order-list { display: grid; gap: 10px; }
.order-item { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; color: var(--text); }
.order-item:hover { text-decoration: none; border-color: var(--line-strong); }
.order-item .t { font-weight: 700; }
.order-item .s { font-size: 13px; color: var(--muted); }
.model-group { margin-bottom: 18px; }
.model-group h3 { margin: 0 0 10px; font-size: 15px; color: var(--cyan); }
.model-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.model-chip { font-size: 13px; padding: 6px 10px; border-radius: 10px; background: #0a1120; border: 1px solid var(--line); }
.model-chip.off { opacity: .45; text-decoration: line-through; }
.code-block { margin: 8px 0 0; padding: 12px; border-radius: 10px; background: #050a14; border: 1px solid var(--line); font-family: ui-monospace, Consolas, monospace; font-size: 13px; white-space: pre-wrap; word-break: break-all; }

/* Model cards */
.ico { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ico-xs { width: 12px; height: 12px; }
.ico-sm { width: 14px; height: 14px; }
.model-toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.filter-tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.ftab {
  font: inherit; font-size: 13px; padding: 6px 12px; border-radius: 10px; cursor: pointer;
  color: var(--muted); background: rgba(16, 26, 46, .7); border: 1px solid var(--line);
}
.ftab:hover { color: var(--text); }
.ftab.active { color: var(--cyan); border-color: rgba(45, 226, 230, .55); box-shadow: 0 0 12px rgba(45, 226, 230, .18); }
.model-search { display: flex; align-items: center; gap: 10px; min-width: 240px; }
.model-search .hint { white-space: nowrap; }
.mgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.mcard { display: flex; flex-direction: column; gap: 14px; padding: 18px; transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease; }
.mcard:hover { border-color: var(--line-strong); box-shadow: 0 0 26px rgba(45, 226, 230, .14); transform: translateY(-2px); }
.mcard-off { opacity: .6; }
.mcard-head { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.mcard-title { min-width: 0; flex: 1; }
.mcard-name { display: flex; align-items: center; gap: 8px; min-width: 0; }
.mcard-name h3 { margin: 0; font-size: 15px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.prov-logo { width: 20px; height: 20px; border-radius: 4px; flex: none; object-fit: contain; }
.prov-letter { display: inline-grid; place-items: center; font-size: 12px; font-weight: 800; background: rgba(255, 255, 255, .1); color: var(--text); }
.slug-chip {
  margin-top: 8px; max-width: 100%; display: inline-flex; align-items: center; gap: 6px; cursor: pointer;
  padding: 4px 8px; border-radius: 7px; font: 11px ui-monospace, "Cascadia Code", Consolas, monospace;
  color: var(--muted); background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .1);
  transition: color .15s ease, border-color .15s ease;
}
.slug-chip:hover { color: var(--cyan); border-color: rgba(45, 226, 230, .4); }
.slug-chip .slug-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.slug-chip .ico { opacity: .5; }
.slug-chip:hover .ico { opacity: 1; }
.mcard-badges { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; flex: none; }
.tag-gold {
  display: inline-flex; align-items: center; gap: 4px; padding: 2px 7px; border-radius: 6px;
  font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: #ffcf3f; background: rgba(255, 207, 63, .1); border: 1px solid rgba(255, 207, 63, .4);
  box-shadow: 0 0 8px rgba(255, 207, 63, .25);
}
.tag-teal { padding: 2px 10px; border-radius: 999px; font-size: 12px; color: #19f5c6; background: rgba(25, 245, 198, .1); border: 1px solid rgba(25, 245, 198, .3); }
.price-grid { display: grid; grid-template-columns: 1fr 1fr; border-radius: 10px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .07); background: rgba(255, 255, 255, .02); }
.pcell { display: flex; flex-direction: column; align-items: center; padding: 9px 4px; }
.pcell + .pcell { border-left: 1px solid rgba(255, 255, 255, .07); }
.plabel { font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.pval { margin-top: 4px; font: 700 14px ui-monospace, "Cascadia Code", Consolas, monospace; font-variant-numeric: tabular-nums; }
.pval.cyan { color: var(--cyan); }
.pval.magenta { color: #ff4fd8; }
.pnote { margin: -6px 0 0; text-align: center; font-size: 12px; color: var(--muted); }
.mcard-foot { margin-top: auto; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .06); display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--muted); }
.mstat, .mmeta { display: inline-flex; align-items: center; gap: 7px; }
.mmeta .ico { color: #5b8def; }
.mdot { width: 8px; height: 8px; border-radius: 50%; background: #19f5c6; box-shadow: 0 0 8px rgba(25, 245, 198, .8); }
.mdot.off { background: var(--muted); box-shadow: none; }

/* Typography */
h1, h2, h3, .price, .banner h2, .stat .value { font-family: "Sora", "Plus Jakarta Sans", "Segoe UI", sans-serif; letter-spacing: -.01em; }
.mono, .row .v.mono, .secret, .code-block, .slug-chip, .pval, .countdown { font-family: "JetBrains Mono", ui-monospace, Consolas, monospace; }

/* ---------- Landing (home) ---------- */
.hero-panel {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 24px; align-items: center;
  padding: clamp(28px, 5vw, 64px); border-radius: 40px; margin-top: 8px;
  background: linear-gradient(135deg, #0e1830 0%, #0a1222 55%, #0b0f1f 100%);
  border: 1px solid var(--line);
  box-shadow: 0 0 60px rgba(45, 226, 230, .08), 0 0 0 1px rgba(45, 226, 230, .06) inset;
}
@media (max-width: 900px) { .hero-panel { grid-template-columns: 1fr; border-radius: 28px; } }
.swoosh { position: absolute; z-index: -1; border-radius: 50%; pointer-events: none; }
.swoosh-a { width: 900px; height: 520px; right: -320px; bottom: -330px; background: radial-gradient(closest-side, rgba(45, 226, 230, .55), rgba(45, 226, 230, .12) 60%, transparent); transform: rotate(-12deg); }
.swoosh-b { width: 520px; height: 300px; right: 120px; bottom: -200px; background: radial-gradient(closest-side, rgba(255, 79, 163, .45), transparent 70%); }
.swoosh-c { width: 700px; height: 380px; left: -240px; top: -220px; background: radial-gradient(closest-side, rgba(139, 92, 246, .45), transparent 70%); }
.hero-title { font-size: clamp(36px, 5.6vw, 64px); line-height: 1.05; margin: 6px 0 16px; font-weight: 800; color: #fff; }
.hero-title .grad { background: linear-gradient(90deg, var(--cyan), #7aa8ff 50%, var(--pink)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { color: #b8c4da; font-size: 17px; max-width: 560px; margin: 0 0 24px; }
.hero-art { display: grid; place-items: center; }

/* Illustrative device */
.device { width: min(460px, 100%); transform: perspective(1200px) rotateY(-14deg) rotateX(6deg); filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .55)); }
.device-screen { border-radius: 22px; padding: 12px; background: #05080f; border: 2px solid #26324a; box-shadow: 0 0 40px rgba(45, 226, 230, .25); }
.device-base { height: 16px; margin: 0 -18px; border-radius: 0 0 22px 22px; background: linear-gradient(#2a3348, #121826); }
.mock-top { display: flex; gap: 6px; padding: 4px 4px 10px; }
.mock-dot { width: 9px; height: 9px; border-radius: 50%; background: #2a3550; }
.mock-body { display: grid; gap: 10px; padding: 14px; border-radius: 14px; background: linear-gradient(180deg, #0f1a2e, #0b1424); }
.mock-card { display: flex; gap: 14px; align-items: center; padding: 12px; border-radius: 12px; background: #0a1120; border: 1px solid var(--line); }
.mock-card.paid { flex-direction: column; align-items: flex-start; gap: 8px; border-color: rgba(52, 211, 153, .45); box-shadow: 0 0 18px rgba(52, 211, 153, .15); }
.mock-qr { display: grid; grid-template-columns: repeat(7, 9px); gap: 2px; padding: 8px; background: #fff; border-radius: 8px; flex: none; }
.mock-qr span { width: 9px; height: 9px; background: #fff; }
.mock-qr span.on { background: #0b1324; }
.mock-lines { display: flex; flex-direction: column; gap: 7px; flex: 1; }
.mock-line { display: block; height: 8px; border-radius: 6px; background: #1d2a44; width: 100%; }
.mock-line.short { width: 60%; }
.mock-amount { font: 800 18px "JetBrains Mono", monospace; color: var(--cyan); }
.mock-pill { align-self: flex-start; font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 999px; }
.mock-pill.wait { color: var(--warn); background: rgba(251, 191, 36, .12); border: 1px solid rgba(251, 191, 36, .4); }
.mock-pill.ok { color: var(--ok); background: rgba(52, 211, 153, .12); border: 1px solid rgba(52, 211, 153, .4); }
.mock-key { font: 600 13px "JetBrains Mono", monospace; color: #dbe7ff; padding: 8px 10px; border-radius: 8px; background: #050a14; border: 1px solid var(--line-strong); width: 100%; }

.strip { margin-top: 22px; grid-template-columns: repeat(4, 1fr); }
@media (max-width: 700px) { .strip { grid-template-columns: repeat(2, 1fr); } }
.strip .stat { text-align: center; }
.strip .value { font-size: 26px; }

.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.tile {
  position: relative; overflow: hidden; isolation: isolate; min-height: 210px;
  padding: 24px; border-radius: 28px;
  background: linear-gradient(180deg, #121c32, #0b1324);
  border: 1px solid var(--line);
}
.tile h3 { margin: 14px 0 8px; font-size: 18px; }
.tile p { margin: 0; color: var(--muted); font-size: 14px; }
.tile-icon { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; color: #04121a; background: linear-gradient(135deg, var(--cyan), #7aa8ff); box-shadow: 0 0 18px rgba(45, 226, 230, .4); }
.tile-icon .ico { width: 22px; height: 22px; }
.tile-swoosh { position: absolute; z-index: -1; width: 340px; height: 190px; right: -120px; bottom: -120px; border-radius: 50%; background: radial-gradient(closest-side, rgba(45, 226, 230, .35), transparent 70%); }
.tile:nth-child(2) .tile-swoosh { background: radial-gradient(closest-side, rgba(255, 79, 163, .3), transparent 70%); }
.tile:nth-child(3) .tile-swoosh { background: radial-gradient(closest-side, rgba(139, 92, 246, .35), transparent 70%); }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.step { padding: 22px; border-radius: 24px; }
.step h3 { margin: 12px 0 6px; }
.step p { margin: 0; color: var(--muted); font-size: 14px; }
.step-n { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; font: 800 18px "Sora", sans-serif; color: var(--cyan); border: 1px solid rgba(45, 226, 230, .5); box-shadow: 0 0 14px rgba(45, 226, 230, .25) inset; }

.providers { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; padding: 20px 26px; border-radius: 24px; }
.prov-title { color: var(--muted); font-size: 14px; }
.prov-row { display: flex; flex-wrap: wrap; gap: 18px 28px; }
.prov-item { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: #dbe3f2; }

.cta-panel {
  position: relative; overflow: hidden; isolation: isolate; margin-top: 44px;
  display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between;
  padding: clamp(24px, 4vw, 44px); border-radius: 36px;
  background: linear-gradient(120deg, #0f1b33, #121032);
  border: 1px solid rgba(139, 92, 246, .35);
}
.cta-panel h2 { margin: 0 0 6px; font-size: clamp(24px, 3vw, 34px); }
.cta-panel p { margin: 0; color: #b8c4da; }

/* Usage guide on a paid API order */
.guide-card {
  margin-top: 16px; padding: 18px; border-radius: 18px; display: grid; gap: 12px;
  background: linear-gradient(180deg, rgba(45, 226, 230, .08), rgba(139, 92, 246, .06));
  border: 1px solid rgba(45, 226, 230, .45); box-shadow: 0 0 24px rgba(45, 226, 230, .12);
}
.guide-head { display: flex; gap: 14px; align-items: center; }
.guide-head h3 { margin: 0 0 2px; }
.guide-head p { margin: 0; color: var(--muted); font-size: 14px; }
.guide-tools { display: flex; flex-wrap: wrap; gap: 6px; }

/* Long machine strings: label on top, value on its own line */
.row.stack { flex-direction: column; align-items: stretch; gap: 6px; }
.row.stack .v-wrap { width: 100%; justify-content: space-between; gap: 10px; }
.row.stack .v { text-align: left; font-size: 14px; word-break: normal; overflow-wrap: anywhere; color: #e8f6ff; }
