:root {
  --ink: #070a08;
  --ink-2: #0d1210;
  --cream: #f3efe6;
  --muted: #9aa39a;
  --line: rgba(243, 239, 230, 0.1);
  --line-strong: rgba(201, 169, 97, 0.28);
  --gold: #d4b36a;
  --gold-deep: #b8924a;
  --gold-ink: #141008;
  --soft: #101512;
  --panel: rgba(16, 22, 18, 0.72);
  --shell: 1140px;
  --pad: clamp(20px, 4vw, 48px);
  --font: "Outfit", "Noto Sans SC", "Noto Sans TC", "Noto Sans JP", "Noto Sans KR", "Noto Sans Thai", system-ui, sans-serif;
  --display: "Cormorant Garamond", "Noto Sans SC", "Noto Sans TC", "Noto Sans JP", "Noto Sans KR", "Noto Sans Thai", Georgia, serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h: 68px;
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
}
body {
  margin: 0;
  min-height: 100%;
  font-family: var(--font);
  color: var(--cream);
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(212, 179, 106, 0.07), transparent 55%),
    radial-gradient(900px 500px at -10% 40%, rgba(60, 90, 70, 0.12), transparent 50%),
    var(--ink);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 50;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
ol, ul { list-style: none; margin: 0; padding: 0; }

.shell {
  width: min(100% - var(--pad) * 2, var(--shell));
  margin-inline: auto;
}

/* —— Announcement —— */
.site-announce {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 110;
  background: rgba(18, 26, 20, .96);
  border-bottom: 1px solid var(--line);
  color: var(--cream);
  font-size: .92rem;
  backdrop-filter: blur(12px);
}
.site-announce[hidden] { display: none !important; }
.site-announce-inner {
  width: min(100% - var(--pad) * 2, var(--shell));
  margin-inline: auto;
  padding: 10px 0;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  justify-content: space-between;
}
.site-announce-body { min-width: 0; flex: 1; }
.site-announce-title { font-weight: 700; margin: 0 0 2px; }
.site-announce-text { margin: 0; color: var(--muted); white-space: pre-wrap; line-height: 1.5; }
.site-announce.is-warn { background: rgba(201, 169, 97, .14); }
.site-announce.is-urgent { background: rgba(224, 122, 122, .14); }
.site-announce-close {
  border: 0; background: transparent; color: var(--muted);
  cursor: pointer; font-size: 1.2rem; line-height: 1; padding: 2px 6px;
}
.site-announce-close:hover { color: var(--cream); }
body.has-announce .nav { top: var(--announce-h, 0px); }
body.has-announce {
  scroll-padding-top: calc(var(--nav-h) + var(--announce-h, 0px) + 12px);
}
body.has-announce .hero {
  padding-top: calc(var(--nav-h) + var(--announce-h, 0px) + 32px);
}

/* —— Nav —— */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: background .35s var(--ease), border-color .35s var(--ease), backdrop-filter .35s var(--ease);
  overflow: visible;
}
.nav.is-solid {
  background: rgba(8, 12, 10, 0.78);
  backdrop-filter: blur(18px) saturate(1.2);
  border-bottom-color: var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(100% - var(--pad) * 2, var(--shell));
}
.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-size: 1.28rem;
  font-weight: 600;
  letter-spacing: .01em;
  white-space: nowrap;
  min-width: 0;
}
.nav-brand img {
  width: 30px; height: 30px;
  border-radius: 8px;
  flex: 0 0 auto;
  box-shadow: 0 0 0 1px rgba(212, 179, 106, .25);
}
.nav-brand span { overflow: hidden; text-overflow: ellipsis; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px 16px;
  font-size: .9rem;
  color: var(--muted);
  overflow: visible;
  flex: 0 0 auto;
  font-weight: 500;
}
.nav-links > a:not(.nav-cta) {
  padding: 6px 2px;
  transition: color .2s var(--ease);
  position: relative;
}
.nav-links > a:not(.nav-cta):hover { color: var(--cream); }
.nav-links > a:not(.nav-cta):not(.nav-support)::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: scaleX(0);
  transition: transform .28s var(--ease);
}
.nav-links > a:not(.nav-cta):not(.nav-support):hover::after { transform: scaleX(1); }
.nav-support {
  color: var(--cream);
  font-weight: 500;
  opacity: .9;
}
.nav-support:hover { opacity: 1; color: var(--gold); }
.nav-cta {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, #e0c07a, var(--gold-deep));
  color: var(--gold-ink) !important;
  font-weight: 650;
  font-size: .86rem;
  letter-spacing: .01em;
  box-shadow: 0 8px 24px rgba(184, 146, 74, .22);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), filter .2s var(--ease);
}
.nav-cta:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(184, 146, 74, .3);
}

/* —— Language —— */
.lang-dd { position: relative; z-index: 50; }
.lang-dd-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 10px 0 5px;
  border: 1px solid rgba(243, 238, 228, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--cream);
  cursor: pointer;
  font-size: .84rem;
  font-weight: 600;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.lang-dd-toggle:hover,
.lang-dd.is-open .lang-dd-toggle {
  border-color: rgba(212, 179, 106, 0.4);
  background: rgba(255, 255, 255, 0.05);
}
.lang-flag-wrap {
  display: inline-grid;
  place-items: center;
  width: 28px; height: 24px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.25);
  flex: 0 0 auto;
}
.lang-flag {
  width: 20px; height: 14px;
  object-fit: cover;
  border-radius: 2px;
  display: block;
}
#lang-dd-label { white-space: nowrap; }
.lang-dd-caret {
  color: var(--muted);
  flex: 0 0 auto;
  transition: transform .2s var(--ease), color .2s var(--ease);
}
.lang-dd.is-open .lang-dd-caret {
  transform: rotate(180deg);
  color: var(--gold);
}
.lang-dd-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 200;
  min-width: 188px;
  max-height: min(70vh, 420px);
  overflow-y: auto;
  margin: 0;
  padding: 6px;
  display: none;
  background: rgba(14, 20, 16, .96);
  border: 1px solid rgba(243, 238, 228, 0.12);
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(16px);
}
.lang-dd.is-open .lang-dd-menu { display: block; }
.lang-dd-menu[hidden] { display: none !important; }
.lang-dd-menu li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 10px;
  cursor: pointer;
  color: var(--cream);
  font-size: .88rem;
  white-space: nowrap;
}
.lang-dd-menu li:hover { background: rgba(243, 238, 228, 0.06); }
.lang-dd-menu li.is-active {
  background: rgba(212, 179, 106, 0.14);
  color: var(--gold);
  font-weight: 600;
}
.lang-check { opacity: 0; color: var(--gold); }
.lang-dd-menu li.is-active .lang-check { opacity: 1; }

html[data-lang="zh-TW"] body { font-family: "Outfit", "Noto Sans TC", "Noto Sans SC", system-ui, sans-serif; }
html[data-lang="ja"] body { font-family: "Outfit", "Noto Sans JP", "Noto Sans SC", system-ui, sans-serif; }
html[data-lang="ko"] body { font-family: "Outfit", "Noto Sans KR", "Noto Sans SC", system-ui, sans-serif; }
html[data-lang="th"] body { font-family: "Outfit", "Noto Sans Thai", "Noto Sans SC", system-ui, sans-serif; }
html[data-lang="vi"] body { font-family: "Outfit", "Noto Sans SC", system-ui, sans-serif; }
html[data-lang="id"] body { font-family: "Outfit", "Noto Sans SC", system-ui, sans-serif; }
html[data-lang="es"] body { font-family: "Outfit", "Noto Sans SC", system-ui, sans-serif; }
html[data-lang="en"] .hero-brand {
  font-size: clamp(2.8rem, 7vw, 5rem);
  line-height: 1.02;
  max-width: 14ch;
}

/* —— Hero —— */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 40px) 0 72px;
  isolation: isolate;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -3;
  background-color: #0c110e;
  background-image:
    linear-gradient(108deg,
      rgba(7, 10, 8, .94) 0%,
      rgba(7, 10, 8, .82) 32%,
      rgba(7, 10, 8, .35) 58%,
      rgba(7, 10, 8, .55) 100%),
    var(--hero-phone, url("../img/hero-zh-CN.svg?v=15"));
  background-position: center, right center;
  background-size: auto, cover;
  background-repeat: no-repeat;
  transform: scale(1.02);
  animation: heroDrift 18s ease-in-out infinite alternate;
}
.hero-veil {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 55% 50% at 18% 55%, rgba(212, 179, 106, .1), transparent 70%),
    linear-gradient(180deg, transparent 60%, rgba(7, 10, 8, .55) 100%);
  pointer-events: none;
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  z-index: -1;
  opacity: .55;
}
.hero-orb-a {
  width: 280px; height: 280px;
  left: -40px; top: 18%;
  background: rgba(212, 179, 106, .18);
  animation: orbFloat 10s var(--ease) infinite alternate;
}
.hero-orb-b {
  width: 220px; height: 220px;
  left: 36%; bottom: 8%;
  background: rgba(70, 110, 85, .2);
  animation: orbFloat 12s var(--ease) .8s infinite alternate-reverse;
}
html[data-lang="zh-CN"] { --hero-phone: url("../img/hero-zh-CN.svg?v=15"); }
html[data-lang="zh-TW"] { --hero-phone: url("../img/hero-zh-TW.svg?v=15"); }
html[data-lang="en"] { --hero-phone: url("../img/hero-en.svg?v=15"); }
html[data-lang="ja"] { --hero-phone: url("../img/hero-ja.svg?v=15"); }
html[data-lang="ko"] { --hero-phone: url("../img/hero-ko.svg?v=15"); }
html[data-lang="th"] { --hero-phone: url("../img/hero-th.svg?v=15"); }
html[data-lang="vi"] { --hero-phone: url("../img/hero-vi.svg?v=15"); }
html[data-lang="id"] { --hero-phone: url("../img/hero-id.svg?v=15"); }
html[data-lang="es"] { --hero-phone: url("../img/hero-es.svg?v=15"); }

.hero-inner {
  width: min(100% - var(--pad) * 2, var(--shell));
  margin-inline: auto;
}
.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 580px;
}
.hero-eyebrow,
.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: .76rem;
  font-weight: 650;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  transform: translateY(14px);
  animation: rise .75s var(--ease) .02s forwards;
}
.hero-eyebrow::before {
  content: "";
  width: 28px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.hero-brand {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(3.4rem, 9vw, 5.8rem);
  line-height: .94;
  letter-spacing: -.02em;
  margin: 0 0 16px;
  background: linear-gradient(115deg, #f7f1e4 0%, #efd59a 28%, #c9a55a 48%, #efd59a 68%, #f7f1e4 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0;
  transform: translateY(22px);
  animation:
    rise .85s var(--ease) .08s forwards,
    brandShimmer 9s ease-in-out 1s infinite;
}
/* JS 拆字前先隐藏，避免整词闪一下再拆开 */
.hero-brand[data-split-chars]:not(.is-split) {
  opacity: 0;
  animation: none;
}
.hero-brand.is-split {
  opacity: 1;
  transform: none;
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  color: inherit;
  animation: none;
}
.hero-brand .char,
.hero-brand .word {
  display: inline-block;
  background: linear-gradient(115deg, #f7f1e4 0%, #efd59a 28%, #c9a55a 48%, #efd59a 68%, #f7f1e4 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0;
  transform: translate3d(0, 0.38em, 0);
  filter: blur(5px);
  will-change: transform, opacity, filter;
  animation:
    charIn .72s var(--ease) forwards,
    brandShimmer 9s ease-in-out infinite;
  animation-delay:
    calc(0.1s + var(--i, 0) * 0.055s),
    1.15s;
}
.hero-brand .word {
  white-space: nowrap;
}
.hero-rule {
  display: block;
  width: 72px;
  height: 1px;
  margin: 0 0 20px;
  background: linear-gradient(90deg, var(--gold), transparent);
  opacity: 0;
  transform: scaleX(.4);
  transform-origin: left;
  animation: ruleIn .8s var(--ease) .18s forwards;
}
.hero-lead {
  max-width: 30rem;
  font-size: clamp(1.05rem, 1.8vw, 1.18rem);
  color: #c2c9c0;
  margin: 0 0 30px;
  line-height: 1.75;
  font-weight: 400;
  opacity: 0;
  transform: translateY(16px);
  animation: rise .8s var(--ease) .22s forwards;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  opacity: 0;
  transform: translateY(16px);
  animation: rise .8s var(--ease) .3s forwards;
}
.hero-ver {
  margin: 20px 0 0;
  font-size: .86rem;
  letter-spacing: .02em;
  opacity: 0;
  transform: translateY(12px);
  animation: rise .8s var(--ease) .38s forwards;
}
.hero-ver strong {
  color: var(--gold);
  font-weight: 650;
}
.muted { color: var(--muted); }
.small { font-size: .88rem; line-height: 1.55; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .01em;
  transition: background .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease), filter .25s var(--ease);
}
.btn-primary {
  background: linear-gradient(135deg, #e4c888, var(--gold-deep));
  color: var(--gold-ink);
  box-shadow: 0 10px 30px rgba(184, 146, 74, .28);
}
.btn-primary:hover {
  filter: brightness(1.05);
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(184, 146, 74, .36);
}
.btn-ghost {
  border-color: rgba(243, 238, 228, 0.16);
  background: rgba(255, 255, 255, 0.02);
  color: var(--cream);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  border-color: rgba(212, 179, 106, 0.5);
  color: var(--gold);
  background: rgba(212, 179, 106, 0.06);
  transform: translateY(-1px);
}

/* —— Sections —— */
.section {
  position: relative;
  padding: clamp(80px, 12vh, 124px) 0;
}
.section-head {
  max-width: 560px;
  margin-bottom: clamp(32px, 5vh, 52px);
}
.section-head h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2.15rem, 4.2vw, 3.1rem);
  line-height: 1.12;
  letter-spacing: -.015em;
  margin: 0 0 14px;
}
.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

/* —— Download —— */
.download-band {
  border-top: 1px solid var(--line);
  background:
    radial-gradient(800px 320px at 12% 30%, rgba(212, 179, 106, 0.09), transparent 70%),
    linear-gradient(180deg, #0c110e, var(--soft));
}
.dl-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 18px;
}
.dl-panel {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px 26px 24px;
  background: linear-gradient(160deg, rgba(255,255,255,.04), rgba(255,255,255,.01));
  backdrop-filter: blur(10px);
  overflow: hidden;
  transition: border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
}
.dl-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 179, 106, .45), transparent);
}
.dl-panel:hover {
  border-color: rgba(212, 179, 106, .28);
  transform: translateY(-3px);
  box-shadow: 0 22px 50px rgba(0, 0, 0, .28);
}
.dl-panel.soft { background: rgba(243, 239, 230, 0.025); }
.dl-panel-top h3 {
  font-family: var(--display);
  font-size: 1.55rem;
  font-weight: 600;
  margin: 0 0 6px;
}
.dl-panel-top p { margin: 0 0 20px; }
.dl-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}
.btn-soon {
  gap: 8px;
  cursor: not-allowed;
  border-color: rgba(243, 238, 228, 0.1);
  background: rgba(255, 255, 255, 0.02);
  color: var(--muted);
  opacity: .85;
}
.btn-soon small {
  font-size: .68rem;
  font-weight: 650;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: .85;
  border: 1px solid rgba(212, 179, 106, .28);
  border-radius: 999px;
  padding: 2px 7px;
  line-height: 1.2;
}
.meta {
  margin: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
.meta.compact { margin-top: 4px; }
.meta div {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 12px;
  align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.meta div:last-child { border-bottom: 0; }
.meta dt {
  margin: 0;
  color: var(--muted);
  font-size: .84rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.meta dd {
  margin: 0;
  font-weight: 600;
}

/* —— Highlights —— */
.hl-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 32px;
}
.hl {
  position: relative;
  border-top: 1px solid var(--line-strong);
  padding: 22px 2px 10px;
  min-width: 0;
  transition: transform .3s var(--ease);
}
.hl:hover { transform: translateY(-4px); }
.hl-num {
  display: block;
  color: var(--gold);
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: .08em;
  margin-bottom: 14px;
}
.hl h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.4rem;
  margin: 0 0 10px;
  letter-spacing: -.01em;
}
.hl p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
  max-width: 36ch;
  font-size: .98rem;
}

/* —— Compare paths —— */
.compare-band {
  background:
    radial-gradient(700px 280px at 85% 20%, rgba(212, 179, 106, 0.06), transparent 65%),
    var(--soft);
  border-block: 1px solid var(--line);
}
.cmp-paths {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px 48px;
  align-items: start;
}
.cmp-path {
  border-top: 1px solid var(--line-strong);
  padding-top: 22px;
  min-width: 0;
  transition: transform .3s var(--ease);
}
.cmp-path:hover { transform: translateY(-3px); }
.cmp-path.is-open {
  border-top-color: rgba(212, 179, 106, .55);
}
.cmp-path-label {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 650;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.cmp-path.is-open .cmp-path-label { color: var(--gold); }
.cmp-path h3 {
  margin: 0 0 10px;
  font-family: var(--display);
  font-size: clamp(1.45rem, 2.4vw, 1.85rem);
  font-weight: 600;
  letter-spacing: -.01em;
  line-height: 1.25;
}
.cmp-path-lead {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: .98rem;
  line-height: 1.7;
  max-width: 42ch;
}
.cmp-list {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.cmp-list li {
  position: relative;
  padding-left: 1.15em;
  color: var(--cream);
  font-size: .96rem;
  line-height: 1.55;
}
.cmp-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: .45em;
  height: .45em;
  border-radius: 50%;
  background: rgba(243, 239, 230, .35);
}
.cmp-path.is-open .cmp-list li::before { background: var(--gold); }
.cmp-list li.is-muted { color: var(--muted); }
.cmp-path-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.65;
  max-width: 44ch;
}
.cmp-cta {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

/* —— Floating support —— */
.float-support {
  position: fixed;
  right: max(16px, calc((100vw - var(--shell)) / 2 - 8px));
  bottom: 28px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  font-family: var(--font);
}
.float-support-panel {
  width: min(280px, calc(100vw - 32px));
  padding: 18px 18px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background:
    radial-gradient(180px 80px at 100% 0%, rgba(212, 179, 106, 0.12), transparent 70%),
    rgba(12, 16, 14, 0.94);
  backdrop-filter: blur(14px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  transform-origin: bottom right;
  animation: floatPanelIn .28s var(--ease) both;
}
.float-support:not(.is-open) .float-support-panel { display: none; }
.float-support-kicker {
  margin: 0 0 6px;
  color: var(--gold);
  font-size: .72rem;
  font-weight: 650;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.float-support-title {
  margin: 0 0 8px;
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--cream);
}
.float-support-body {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.55;
}
.float-support-handle {
  display: block;
  margin: 0 0 14px;
  color: var(--cream);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .02em;
}
.float-support-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.float-support-actions .btn {
  min-height: 40px;
  padding: 0 14px;
  font-size: .9rem;
}
.float-support-toggle {
  appearance: none;
  border: 1px solid rgba(212, 179, 106, .45);
  background: linear-gradient(160deg, rgba(212, 179, 106, .95), rgba(184, 146, 74, .92));
  color: var(--gold-ink);
  border-radius: 999px;
  min-height: 48px;
  padding: 0 18px 0 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: .92rem;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.float-support-toggle:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.4);
}
.float-support-toggle:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.float-support-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #1a3d2a;
  box-shadow: 0 0 0 3px rgba(26, 61, 42, .25);
  flex-shrink: 0;
}
.float-support.is-open .float-support-toggle {
  background: rgba(16, 22, 18, .92);
  color: var(--cream);
  border-color: var(--line-strong);
}
@keyframes floatPanelIn {
  from { opacity: 0; transform: translateY(8px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* —— Steps —— */
.flow { background: transparent; }
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 36px;
  counter-reset: step;
}
.steps-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.step {
  border-top: 1px solid var(--line-strong);
  padding-top: 22px;
  min-width: 0;
  transition: transform .3s var(--ease);
}
.step:hover { transform: translateY(-3px); }
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: block;
  margin-bottom: 14px;
  color: var(--gold);
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: .06em;
}
.step h3 {
  margin: 0 0 10px;
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 600;
}
.step p {
  margin: 0;
  color: var(--muted);
  font-size: .96rem;
  line-height: 1.7;
}

/* —— FAQ —— */
.faq-list {
  display: grid;
  gap: 12px;
  max-width: 840px;
}
.faq-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(14, 20, 16, 0.55);
  overflow: hidden;
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.faq-item[open],
.faq-item:hover {
  border-color: rgba(212, 179, 106, .28);
  background: rgba(18, 26, 20, 0.7);
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 20px;
  font-weight: 600;
  font-size: 1.02rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  color: var(--gold);
  font-family: var(--display);
  font-size: 1.4rem;
  font-weight: 500;
  flex: 0 0 auto;
  line-height: 1;
}
.faq-item[open] summary::after { content: "–"; }
.faq-item summary:hover { color: var(--gold); }
.faq-body {
  padding: 0 20px 18px;
  color: var(--muted);
  line-height: 1.75;
  font-size: .96rem;
}

.footer {
  padding: 36px 0 44px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .9rem;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.2));
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
  width: min(100% - var(--pad) * 2, var(--shell));
}
.footer-brand {
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--cream);
  letter-spacing: .01em;
}
.footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  align-items: center;
}
.footer-meta a {
  color: var(--cream);
  font-weight: 500;
}
.footer-meta a:hover { color: var(--gold); }

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .75s var(--ease), transform .75s var(--ease);
  transition-delay: var(--d, 0s);
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 300;
  transform: translateX(-50%) translateY(12px);
  max-width: min(92vw, 420px);
  padding: 13px 20px;
  border-radius: 12px;
  background: rgba(14, 20, 16, 0.96);
  border: 1px solid rgba(212, 179, 106, 0.35);
  color: var(--cream);
  font-size: .92rem;
  line-height: 1.5;
  text-align: center;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s var(--ease), transform .22s var(--ease);
  backdrop-filter: blur(12px);
}
.toast.is-show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@keyframes rise {
  to { opacity: 1; transform: none; }
}
@keyframes ruleIn {
  to { opacity: 1; transform: scaleX(1); }
}
@keyframes heroDrift {
  from { transform: scale(1.02) translate3d(0, 0, 0); }
  to { transform: scale(1.05) translate3d(-1.2%, -0.6%, 0); }
}
@keyframes orbFloat {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(18px, -22px, 0); }
}
@keyframes charIn {
  to {
    opacity: 1;
    transform: none;
    filter: blur(0);
  }
}
@keyframes brandShimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* —— Inner page hero (蓝 V / 交易所等) —— */
.page-bluev .nav-links > a.is-current,
.page-exchange .nav-links > a.is-current,
.page-persona .nav-links > a.is-current,
.page-enterprise .nav-links > a.is-current { color: var(--gold); }
.page-hero {
  position: relative;
  padding: calc(var(--nav-h) + 72px) 0 72px;
  isolation: isolate;
  overflow: hidden;
  min-height: min(78vh, 720px);
  display: flex;
  align-items: center;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 50% 55% at 70% 30%, rgba(59, 130, 246, .16), transparent 65%),
    radial-gradient(ellipse 45% 50% at 15% 70%, rgba(212, 179, 106, .1), transparent 60%),
    linear-gradient(180deg, #0c110e 0%, var(--ink) 100%);
}
.page-exchange .page-hero-bg {
  background:
    radial-gradient(ellipse 52% 58% at 78% 28%, rgba(62, 140, 110, .18), transparent 62%),
    radial-gradient(ellipse 42% 48% at 12% 72%, rgba(212, 179, 106, .12), transparent 58%),
    linear-gradient(180deg, #0a1210 0%, var(--ink) 100%);
}
.page-persona .page-hero-bg {
  background:
    radial-gradient(ellipse 50% 55% at 72% 32%, rgba(212, 179, 106, .2), transparent 62%),
    radial-gradient(ellipse 40% 48% at 14% 70%, rgba(120, 90, 140, .12), transparent 58%),
    linear-gradient(180deg, #100e12 0%, var(--ink) 100%);
}
.page-enterprise .page-hero-bg {
  background:
    radial-gradient(ellipse 52% 56% at 74% 30%, rgba(90, 130, 160, .18), transparent 62%),
    radial-gradient(ellipse 42% 48% at 14% 72%, rgba(212, 179, 106, .12), transparent 58%),
    linear-gradient(180deg, #0c1014 0%, var(--ink) 100%);
}
.page-hero-inner { width: min(100% - var(--pad) * 2, var(--shell)); }
.page-hero-title {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2.8rem, 7vw, 4.6rem);
  line-height: 1;
  letter-spacing: -.02em;
  margin: 0 0 16px;
  background: linear-gradient(135deg, #f7f1e4 10%, #e4c888 55%, #c9a55a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.page-hero-title .blue-badge {
  display: inline-grid;
  place-items: center;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  color: initial;
  filter: drop-shadow(0 8px 20px rgba(59, 130, 246, .35));
  animation: rise .8s var(--ease) .12s both;
}
.page-hero .hero-eyebrow { animation: rise .7s var(--ease) .02s both; }
.page-hero .hero-rule {
  opacity: 0;
  transform: scaleX(.4);
  transform-origin: left;
  animation: ruleIn .8s var(--ease) .16s forwards;
}
.page-hero-lead {
  max-width: 36rem;
  font-size: clamp(1.05rem, 1.8vw, 1.18rem);
  color: #c2c9c0;
  margin: 0 0 28px;
  line-height: 1.75;
  animation: rise .8s var(--ease) .2s both;
}
.page-hero .hero-actions { animation: rise .8s var(--ease) .28s both; }

.plat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.plat-panel {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px 26px;
  background: linear-gradient(160deg, rgba(255,255,255,.04), rgba(255,255,255,.01));
  transition: border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
}
.plat-panel:hover {
  border-color: rgba(59, 130, 246, .35);
  transform: translateY(-3px);
  box-shadow: 0 22px 50px rgba(0, 0, 0, .28);
}
.plat-panel.is-soon {
  opacity: .72;
}
.plat-panel.is-soon:hover {
  border-color: rgba(243, 239, 230, .16);
  transform: none;
  box-shadow: none;
}
.plat-status {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: .72rem;
  font-weight: 650;
  letter-spacing: .06em;
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid var(--line);
}
.plat-status.on {
  color: #8fbf9a;
  background: rgba(143, 191, 154, .12);
  border-color: rgba(143, 191, 154, .28);
}
.plat-status.soon {
  color: var(--muted);
  background: rgba(243, 239, 230, .04);
}
.plat-mark {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .28);
  background: #111;
}
.plat-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.plat-panel h3 {
  font-family: var(--display);
  font-size: 1.7rem;
  font-weight: 600;
  margin: 0 0 10px;
}
.plat-panel p { margin: 0; max-width: 40ch; line-height: 1.7; }

.roadmap-band {
  margin-top: 40px;
  padding: 32px 28px;
  border: 1px solid rgba(212, 179, 106, .22);
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(212, 179, 106, .08), transparent 42%),
    rgba(255, 255, 255, 0.02);
}
.roadmap-band .eyebrow { margin-bottom: 10px; }
.roadmap-band h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.55rem, 2.8vw, 2.1rem);
  margin: 0 0 12px;
  letter-spacing: -.015em;
  max-width: 28ch;
}
.roadmap-lead {
  margin: 0 0 28px;
  max-width: 52rem;
  line-height: 1.7;
  font-size: 1.02rem;
}
.roadmap-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px 24px;
  counter-reset: road;
}
.roadmap-steps li {
  position: relative;
  padding-top: 8px;
  counter-increment: road;
}
.roadmap-steps li::before {
  content: counter(road, decimal-leading-zero);
  display: block;
  font-family: var(--display);
  font-size: .85rem;
  letter-spacing: .08em;
  color: var(--gold, #d4b36a);
  margin-bottom: 10px;
}
.roadmap-steps strong {
  display: block;
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 6px;
}
.roadmap-steps span {
  display: block;
  color: var(--muted, rgba(255,255,255,.62));
  font-size: .94rem;
  line-height: 1.65;
}

.need-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.need-item {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px 18px;
  background: rgba(255, 255, 255, 0.02);
  transition: border-color .25s var(--ease), transform .25s var(--ease);
}
.need-item:hover {
  border-color: rgba(212, 179, 106, .3);
  transform: translateY(-2px);
}
.need-item strong {
  display: block;
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 6px;
}
.need-item p { margin: 0; font-size: .92rem; line-height: 1.55; }

.cta-band {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  padding: 8px 0;
}
.cta-band h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
  margin: 0 0 10px;
  letter-spacing: -.015em;
}
.cta-band .muted { margin: 0; max-width: 36rem; line-height: 1.7; }

.cl-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 48rem;
}
.cl-item {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
  transition: border-color .25s var(--ease);
}
.cl-item[open] { border-color: rgba(212, 179, 106, .28); }
.cl-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 16px;
  padding: 18px 20px;
  font-family: var(--display);
}
.cl-item summary::-webkit-details-marker { display: none; }
.cl-ver {
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--gold, #d4b36a);
}
.cl-date {
  font-family: var(--sans, inherit);
  font-size: .88rem;
  color: var(--muted, rgba(255,255,255,.55));
}
.cl-hint {
  margin-left: auto;
  font-family: var(--sans, inherit);
  font-size: .82rem;
  color: var(--muted, rgba(255,255,255,.45));
}
.cl-body {
  padding: 0 20px 20px;
  border-top: 1px solid rgba(255,255,255,.06);
}
.cl-body ul {
  margin: 14px 0 0;
  padding-left: 1.15rem;
  line-height: 1.75;
}
.cl-body li { margin: 4px 0; }
.cl-body p { margin: 14px 0 0; line-height: 1.7; }
.page-changelog .nav-links > a.is-current { color: var(--gold, #d4b36a); }
.ver-history-link {
  font-size: .9rem;
  margin-left: 6px;
  text-decoration: underline;
  text-underline-offset: 3px;
  color: var(--gold, #d4b36a);
}

/* —— Breakpoints —— */
@media (max-width: 1024px) {
  .hl-grid,
  .need-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .roadmap-steps { grid-template-columns: 1fr; gap: 22px; }
  .steps,
  .steps-3 { grid-template-columns: 1fr 1fr; gap: 28px 24px; }
  .cmp-paths { gap: 28px 32px; }
}

@media (max-width: 900px) {
  .dl-grid { grid-template-columns: 1fr; }
  .plat-grid { grid-template-columns: 1fr 1fr; }
  .nav-links > a:not(.nav-cta):not(.nav-support) { display: none; }
  .nav-links > a[href="/bluev.php"],
  .nav-links > a[href="/exchange.php"],
  .nav-links > a[href="/persona.php"],
  .nav-links > a[href="/enterprise.php"],
  .nav-links > a[href="/changelog.php"],
  .page-bluev .nav-links > a[href="/"],
  .page-changelog .nav-links > a[href="/"],
  .page-auth .nav-links > a[href="/"],
  .page-exchange .nav-links > a[href="/"],
  .page-persona .nav-links > a[href="/"],
  .page-enterprise .nav-links > a[href="/"] { display: inline; }
  .hero {
    align-items: flex-end;
    padding-bottom: 52px;
    min-height: 92svh;
  }
  .hero-bg {
    animation: none;
    background-image:
      linear-gradient(180deg,
        rgba(7,10,8,.35) 0%,
        rgba(7,10,8,.72) 48%,
        rgba(7,10,8,.96) 100%),
      var(--hero-phone, url("../img/hero-zh-CN.svg?v=15"));
    background-position: center, 72% 18%;
    background-size: auto, cover;
  }
  .hero-copy { max-width: 100%; }
  .hero-orb { opacity: .35; }
}

@media (max-width: 640px) {
  :root { --nav-h: 60px; }
  .plat-grid,
  .need-grid,
  .hl-grid,
  .steps,
  .steps-3,
  .cmp-paths { grid-template-columns: 1fr; }
  #lang-dd-label { max-width: 4.8em; overflow: hidden; text-overflow: ellipsis; }
  .lang-dd-toggle { padding-right: 8px; }
  .hero-brand { font-size: clamp(2.8rem, 13vw, 3.8rem); }
  .nav-brand { font-size: 1.1rem; }
  .section { padding: 68px 0; }
  .btn { min-height: 46px; padding: 0 18px; }
  .float-support {
    right: 14px;
    bottom: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .hero-bg { animation: none !important; }
  .hero-brand,
  .hero-brand .char,
  .hero-brand .word {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    animation: none !important;
    background-position: 40% 50%;
  }
}
