:root {
  --bg: #030a18;
  --bg-2: #081125;
  --card: #0f172c;
  --line: #1c2742;
  --text: #eef1f8;
  --muted: #8b93a8;
  --blue: #2f8cff;
  --red: #ff2d55;
  --teal: #3fd0c4;
  --peach: #f0956a;
  --radius: 20px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  font-family: "Poppins", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }

/* ---------- Header ---------- */
header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(3, 10, 24, .85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
header .wrap { display: flex; align-items: center; height: 64px; gap: 16px; }
.brand { flex: none; }
.brand img { height: 34px; width: auto; }
nav { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; flex: 1; min-width: 0; justify-content: flex-end; }
nav::-webkit-scrollbar { display: none; }
nav a {
  font-size: 13px; font-weight: 600; color: var(--muted);
  padding: 8px 12px; border-radius: 999px; white-space: nowrap;
  transition: color .2s, background .2s;
}
nav a:hover { color: var(--text); background: var(--card); }

.lang-toggle {
  flex: none; display: inline-flex; padding: 3px; gap: 2px;
  background: var(--card); border: 1px solid var(--line); border-radius: 999px;
  cursor: pointer; font: inherit;
}
.lang-toggle span {
  font-size: 12px; font-weight: 700; color: var(--muted);
  padding: 5px 10px; border-radius: 999px; transition: background .2s, color .2s;
}
html[lang="en"] .lang-toggle [data-lang="en"],
html[lang="zh-CN"] .lang-toggle [data-lang="zh"] {
  background: linear-gradient(135deg, var(--blue), var(--red)); color: #fff;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: inherit; font-weight: 700; font-size: 15px; letter-spacing: .3px;
  padding: 14px 26px; border-radius: 999px; border: 0; cursor: pointer;
  transition: transform .15s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-primary {
  background: linear-gradient(135deg, var(--blue), #6a5cff 55%, var(--red));
  color: #fff;
  box-shadow: 0 8px 30px -8px rgba(47, 140, 255, .6);
}
.btn-primary:hover { box-shadow: 0 12px 36px -8px rgba(255, 45, 85, .6); }
.btn-ghost { background: var(--card); color: var(--text); border: 1px solid var(--line); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 56px 0 72px; text-align: center; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto; height: 120%;
  background:
    radial-gradient(40% 50% at 30% 30%, rgba(47, 140, 255, .22), transparent 70%),
    radial-gradient(40% 50% at 70% 35%, rgba(255, 45, 85, .18), transparent 70%);
  pointer-events: none;
}
.hero > * { position: relative; }
.hero-logo { width: min(680px, 100%); margin: 0 auto 20px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase;
  color: var(--teal); background: rgba(63, 208, 196, .1);
  border: 1px solid rgba(63, 208, 196, .3);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 10px var(--teal); }
.hero h1 { font-size: clamp(28px, 5vw, 46px); font-weight: 800; line-height: 1.15; margin-bottom: 14px; }
.hero h1 .grad { background: linear-gradient(90deg, var(--blue), var(--red)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { color: var(--muted); max-width: 560px; margin: 0 auto 30px; }
.hero-ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 48px; }
.quick a {
  background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  padding: 18px 16px; text-align: left; transition: border-color .2s, transform .2s;
}
.quick a:hover { border-color: var(--blue); transform: translateY(-3px); }
.quick b { display: block; font-size: 15px; }
.quick span { font-size: 13px; color: var(--muted); }
.quick em { font-style: normal; font-weight: 700; color: var(--teal); }

/* ---------- Product sections ---------- */
.product { padding: 80px 0; border-top: 1px solid var(--line); }
.product.alt { background: var(--bg-2); }
.product-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.product.flip .media { order: 2; }

.media {
  position: relative; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); aspect-ratio: 4 / 3;
  background: var(--card);
}
.media img { width: 100%; height: 100%; object-fit: cover; }
.placeholder {
  position: absolute; inset: 0; display: grid; place-items: center; text-align: center;
  background:
    radial-gradient(60% 60% at 50% 45%, var(--glow, rgba(47,140,255,.25)), transparent 70%),
    var(--card);
}
.placeholder .device {
  width: 110px; height: 190px; border-radius: 26px; margin: 0 auto 18px;
  background: linear-gradient(160deg, var(--d1, #2f8cff), var(--d2, #1a2a55));
  box-shadow: 0 20px 50px -10px var(--glow, rgba(47,140,255,.5)), inset 0 2px 0 rgba(255,255,255,.25);
  position: relative;
}
.placeholder .device::before {
  content: ""; position: absolute; top: -18px; left: 50%; translate: -50% 0;
  width: 46px; height: 24px; border-radius: 10px 10px 4px 4px; background: #111;
}
.placeholder .device::after {
  content: attr(data-label); position: absolute; inset: auto 0 34px;
  font-size: 13px; font-weight: 800; letter-spacing: 1px; color: rgba(255,255,255,.9);
}
.placeholder small { color: var(--muted); font-size: 12px; letter-spacing: 1px; text-transform: uppercase; }

.tag {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--muted); margin-bottom: 8px;
}
.product h2 { font-size: clamp(32px, 5vw, 52px); font-weight: 800; line-height: 1.05; margin-bottom: 14px; }
.product h2 .accent { color: var(--accent, var(--teal)); }
.product h2 sub { font-size: .4em; font-weight: 500; color: var(--muted); vertical-align: baseline; margin-left: 4px; }
.lead { color: var(--muted); margin-bottom: 24px; }

.features { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 26px; list-style: none; }
.features li { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.features i {
  font-style: normal; width: 32px; height: 32px; flex: none; display: grid; place-items: center;
  border-radius: 9px; background: rgba(63, 208, 196, .12); color: var(--accent, var(--teal)); font-size: 14px; font-weight: 700;
}

.price-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  padding: 18px 20px; margin-bottom: 24px;
}
.price-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.price-row + .price-row { border-top: 1px dashed var(--line); margin-top: 12px; padding-top: 12px; }
.price-row span { color: var(--muted); font-size: 14px; }
.price { font-size: 28px; font-weight: 800; }
.price small { font-size: 14px; font-weight: 600; color: var(--muted); margin-right: 2px; }
.price-row.sub .price { font-size: 20px; color: var(--accent, var(--teal)); }
.promo {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 12px;
  font-size: 13px; font-weight: 700; color: #fff;
  background: linear-gradient(90deg, var(--red), var(--peach));
  padding: 6px 12px; border-radius: 999px;
}

.flavours { margin-top: 56px; }
.flavours-head { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 1px solid var(--line); padding-bottom: 12px; margin-bottom: 8px; }
.flavours-head h3 { font-size: 22px; }
.flavours-head span { color: var(--muted); font-size: 14px; }
.flavour-list { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 24px; }
.flavour-list li {
  display: flex; align-items: center; gap: 12px; padding: 12px 0; font-size: 15px;
  border-bottom: 1px dashed var(--line);
}
.flavour-list li::before { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--c); flex: none; }
.badge { font-size: 10px; font-weight: 700; letter-spacing: 1px; padding: 2px 7px; border-radius: 5px; white-space: nowrap; }
.badge + .badge { margin-left: -6px; }
.badge-new { color: #1a0c06; background: var(--peach); }
.badge-hot { color: #fff; background: var(--red); }
.badge-low { color: #2a1f00; background: #f3c94b; }
.flavour-list li.flavour-none { grid-column: 1 / -1; color: var(--muted); }
.flavour-list li.flavour-none::before { display: none; }

/* ---------- Flavour chart poster ---------- */
.poster { margin-top: 28px; }
.poster button {
  display: block; width: 100%; padding: 0; border: 1px solid var(--line); border-radius: 16px;
  overflow: hidden; background: none; cursor: zoom-in; transition: border-color .2s;
}
.poster button:hover { border-color: var(--accent, var(--blue)); }
.poster img { width: 100%; height: auto; }
.poster figcaption { text-align: center; color: var(--muted); font-size: 13px; margin-top: 10px; }

.zoom {
  margin: auto; padding: 0; border: 0; background: none;
  max-width: min(1280px, 96vw); max-height: 92vh; cursor: zoom-out;
}
.zoom::backdrop { background: rgba(3, 10, 24, .92); }
.zoom img { width: 100%; height: auto; max-height: 92vh; object-fit: contain; border-radius: 12px; }
.zoom-close {
  position: fixed; top: 16px; right: 16px; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--card); color: var(--text); font-size: 16px; cursor: pointer;
}

/* ---------- Price list ---------- */
.pricelist { padding: 80px 0; border-top: 1px solid var(--line); background: var(--bg-2); }
.pricelist h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; margin-bottom: 6px; }
.pricelist-sub { color: var(--muted); margin-bottom: 28px; }
.price-table { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--card); }
.pt-row {
  display: grid; grid-template-columns: 1.4fr .7fr 1.6fr 1fr; gap: 16px; align-items: center;
  padding: 16px 20px; border-top: 1px solid var(--line); transition: background .2s;
}
.pt-row:first-child { border-top: 0; }
a.pt-row:hover { background: rgba(47, 140, 255, .06); }
.pt-head { font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); background: rgba(255,255,255,.02); }
.pt-row b small { display: block; font-size: 11px; font-weight: 600; letter-spacing: 1px; color: var(--muted); }
.pt-price { font-size: 20px; font-weight: 800; }
.pt-offer { color: var(--teal); font-weight: 600; font-size: 14px; }
.pt-muted { color: var(--muted); font-size: 14px; }

/* ---------- CTA band ---------- */
.cta-band { padding: 80px 0; text-align: center; border-top: 1px solid var(--line); }
.cta-band h2 { font-size: clamp(26px, 4vw, 38px); font-weight: 800; margin-bottom: 10px; }
.cta-band p { color: var(--muted); margin-bottom: 28px; }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--line); padding: 32px 0 110px; color: var(--muted); font-size: 13px; text-align: center; }
.warning {
  border: 2px solid #c9a227; color: #f3d36b; background: rgba(201, 162, 39, .08);
  border-radius: 12px; padding: 14px 18px; margin-bottom: 18px; font-weight: 600; font-size: 14px;
}

/* ---------- Floating Telegram ---------- */
.float-tg {
  position: fixed; right: 16px; bottom: 16px; z-index: 60;
  box-shadow: 0 10px 30px -6px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255,255,255,.08);
}

/* ---------- Age gate ---------- */
.gate {
  position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px;
  background: rgba(3, 10, 24, .94); backdrop-filter: blur(10px);
}
.gate[hidden] { display: none; }
.gate-box {
  position: relative;
  width: min(420px, 100%); text-align: center; background: var(--card);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 24px;
}
.gate-box .lang-toggle { position: absolute; top: 14px; right: 14px; }
.gate-box img { width: 220px; margin: 12px auto 16px; }
.gate-box h2 { font-size: 22px; margin-bottom: 8px; }
.gate-box p { color: var(--muted); font-size: 14px; margin-bottom: 22px; }
.gate-actions { display: grid; gap: 10px; }
.gate-deny { display: none; color: var(--red); font-weight: 600; margin-top: 16px; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .product-grid { grid-template-columns: 1fr; gap: 28px; }
  .product.flip .media { order: 0; }
  .quick { grid-template-columns: 1fr 1fr; }
  .flavour-list { grid-template-columns: 1fr 1fr; }
  .product { padding: 56px 0; }
  .pricelist { padding: 56px 0; }
  /* Price table becomes stacked cards: name + price on top, offer + flavours below */
  .pt-head { display: none; }
  .pt-row { grid-template-columns: 1fr auto; gap: 4px 12px; }
  .pt-offer, .pt-row > .pt-muted:last-child { grid-column: 1 / -1; }
  .pt-row > .pt-muted:nth-child(3) { display: none; }
}
@media (max-width: 620px) {
  /* Nav scrolls sideways between logo and toggle; flex-end would make the first links unreachable */
  header .wrap { gap: 10px; }
  nav { justify-content: flex-start; }
  nav a { padding: 6px 9px; font-size: 12px; }
}
@media (max-width: 520px) {
  .brand img { height: 24px; }
  .features { grid-template-columns: 1fr; }
  .flavour-list { grid-template-columns: 1fr; }
  .hero { padding-top: 32px; }
}
.price.price-ask { font-size: 15px; font-weight: 600; color: var(--accent, var(--teal)); }
