/* ============================================================
   BAF APK Landing Page
   ============================================================ */
:root {
  --bg: #050807;
  --bg-soft: #080c0b;
  --surface: #0b100e;
  --surface-2: #101714;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --text: #f1f6f3;
  --muted: #91a19a;
  --muted-2: #6e7d77;
  --green: #45e555;
  --green-bright: #7bf387;
  --green-deep: #16a83f;
  --green-glow: rgba(69, 229, 85, 0.3);
  --radius: 20px;
  --font: "Inter", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(900px 620px at 12% -8%, rgba(69, 229, 85, 0.13), transparent 62%),
    radial-gradient(1000px 700px at 96% 4%, rgba(22, 168, 63, 0.09), transparent 60%),
    radial-gradient(800px 800px at 50% 100%, rgba(69, 229, 85, 0.04), transparent 70%);
}

main,
.site-header,
.footer {
  position: relative;
  z-index: 1;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

[hidden] {
  display: none !important;
}

p {
  margin: 0;
}

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 800;
  letter-spacing: -0.025em;
}

::selection {
  background: rgba(69, 229, 85, 0.3);
  color: #fff;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 20px;
  height: 20px;
  flex: none;
  display: inline-block;
  vertical-align: middle;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

section[id] {
  scroll-margin-top: 90px;
}

#risk {
  scroll-margin-top: 90px;
}

/* ---------- Reveal ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

.feature-grid .reveal:nth-child(2),
.steps .reveal:nth-child(2),
.faq-list .reveal:nth-child(2) { transition-delay: 0.06s; }
.feature-grid .reveal:nth-child(3),
.steps .reveal:nth-child(3),
.faq-list .reveal:nth-child(3) { transition-delay: 0.12s; }
.feature-grid .reveal:nth-child(4),
.faq-list .reveal:nth-child(4) { transition-delay: 0.18s; }
.feature-grid .reveal:nth-child(5),
.faq-list .reveal:nth-child(5) { transition-delay: 0.24s; }
.feature-grid .reveal:nth-child(6),
.faq-list .reveal:nth-child(6) { transition-delay: 0.3s; }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 22px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease,
    background 0.25s ease, border-color 0.25s ease;
}

.btn .icon {
  width: 20px;
  height: 20px;
}

.btn-primary {
  color: #03140a;
  background: linear-gradient(135deg, #86f791 0%, #45e555 42%, #1fc447 100%);
  box-shadow: 0 10px 34px rgba(69, 229, 85, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
  overflow: hidden;
}

.btn-primary::after {
  content: "";
  position: absolute;
  top: 0;
  left: -80%;
  width: 50%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: skewX(-20deg);
  transition: left 0.65s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 44px rgba(69, 229, 85, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.btn-primary:hover::after {
  left: 130%;
}

.btn-primary:active {
  transform: translateY(0);
}

.btn.is-busy {
  cursor: progress;
  opacity: 0.78;
  pointer-events: none;
}

.btn-ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line-strong);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(69, 229, 85, 0.45);
}

.btn-lg {
  height: 64px;
  padding: 0 26px;
  border-radius: 16px;
}

.btn-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 2px;
}

.btn-text small {
  font-size: 11.5px;
  font-weight: 600;
  opacity: 0.68;
  letter-spacing: 0.01em;
}

.btn-arrow {
  width: 18px !important;
  height: 18px !important;
  opacity: 0.65;
  margin-left: 2px;
}

.btn:focus-visible,
.lang-btn:focus-visible,
.lang-switch a:focus-visible,
.menu-btn:focus-visible,
.phone-tab:focus-visible,
.modal-close:focus-visible,
.wechat-close:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background: rgba(5, 8, 7, 0.82);
  border-bottom-color: var(--line);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.nav {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12), 0 6px 18px rgba(0, 0, 0, 0.4);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 14.5px;
  color: var(--muted);
}

.nav-links a {
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: #fff;
}

.nav-download {
  display: none;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 38px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 700;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.lang-btn .icon {
  width: 16px;
  height: 16px;
}

.lang-btn:hover {
  color: #fff;
  border-color: var(--line-strong);
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.025);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.lang-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 30px;
  padding: 0 8px;
  border-radius: 7px;
  color: var(--muted);
  transition: color 0.2s ease, background 0.2s ease;
}

.lang-switch a:hover {
  color: #fff;
}

.lang-switch a.is-active {
  background: rgba(69, 229, 85, 0.14);
  color: var(--green);
}

.nav-cta {
  height: 42px;
  padding: 0 18px;
  font-size: 14px;
  border-radius: 11px;
}

.menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 11px;
  color: var(--text);
}

.menu-btn .icon {
  width: 20px;
  height: 20px;
}

.menu-btn .menu-close {
  display: none;
}

.site-header.nav-open .menu-btn .menu-open {
  display: none;
}

.site-header.nav-open .menu-btn .menu-close {
  display: block;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 156px 0 92px;
  overflow: hidden;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 20%, transparent 75%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  align-items: center;
  gap: 40px;
}

.hero-copy {
  max-width: 640px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 14px;
  border: 1px solid rgba(69, 229, 85, 0.24);
  border-radius: 999px;
  background: rgba(69, 229, 85, 0.06);
  color: #c4f8ca;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px var(--green);
  animation: pulse 2.2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.8); }
}

.hero h1 {
  margin: 24px 0 22px;
  font-size: clamp(44px, 5.4vw, 76px);
  line-height: 1.06;
  letter-spacing: -0.04em;
  font-weight: 800;
}

.grad {
  background: linear-gradient(100deg, #a8ffb0 0%, #45e555 46%, #1bc348 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  max-width: 530px;
  color: var(--muted);
  font-size: 16.5px;
  line-height: 1.85;
}

.hero-cta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin: 34px 0 22px;
}

.hero-cta .btn-ghost {
  padding: 0 24px;
}

.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  color: #b6c4be;
  font-size: 13px;
}

.trust li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.trust .icon {
  width: 15px;
  height: 15px;
  color: var(--green);
}

.hero-note {
  margin-top: 18px;
  color: var(--muted-2);
  font-size: 12.5px;
}

/* ---------- Hero visual ---------- */
.hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 8px;
}

.visual-glow {
  position: absolute;
  top: 300px;
  left: 50%;
  width: 480px;
  height: 480px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(69, 229, 85, 0.22) 0%, rgba(69, 229, 85, 0.06) 42%, transparent 68%);
  filter: blur(12px);
  pointer-events: none;
}

.orbit {
  position: absolute;
  top: 321px;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px dashed rgba(69, 229, 85, 0.16);
  pointer-events: none;
}

.orbit-1 {
  width: 500px;
  height: 500px;
  animation: spin 80s linear infinite;
}

.orbit-2 {
  width: 660px;
  height: 660px;
  border-color: rgba(255, 255, 255, 0.055);
  animation: spin 120s linear infinite reverse;
}

.orbit-1::before {
  content: "";
  position: absolute;
  top: -3px;
  left: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 14px var(--green);
}

@keyframes spin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.phone-box {
  position: relative;
  z-index: 2;
  width: 300px;
}

.phone {
  position: relative;
  width: 300px;
  height: 626px;
  padding: 9px;
  border-radius: 52px;
  background: linear-gradient(150deg, #3d4441 0%, #171c19 26%, #070908 62%, #232925 100%);
  box-shadow:
    0 60px 130px rgba(0, 0, 0, 0.78),
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 0 90px rgba(69, 229, 85, 0.13),
    inset 0 1px 1px rgba(255, 255, 255, 0.25);
  animation: phoneFloat 8s ease-in-out infinite;
}

@keyframes phoneFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.phone::before {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 48px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  pointer-events: none;
}

.phone-screen {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 44px;
  background: #070b09;
}

.phone-notch {
  position: absolute;
  top: 8px;
  left: 50%;
  z-index: 10;
  width: 88px;
  height: 23px;
  transform: translateX(-50%);
  border-radius: 14px;
  background: #000;
}

.statusbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: none;
  padding: 15px 20px 0;
  font-size: 10.5px;
  font-weight: 700;
  color: #e8f0ec;
}

.status-icons {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #e8f0ec;
}

.status-ico {
  width: 14px;
  height: 9px;
}

.status-ico:last-child {
  width: 18px;
}

.app-screens {
  position: relative;
  flex: 1;
  overflow: hidden;
}

.app-screen {
  position: absolute;
  inset: 0;
  padding: 10px 15px 0;
  opacity: 0;
  transform: translateX(14px);
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.app-screen.is-active {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

/* App UI — shared */
.scr-head {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 2px 0 12px;
}

.avatar {
  display: grid;
  place-items: center;
  width: 33px;
  height: 33px;
  border-radius: 11px;
  background: linear-gradient(135deg, #6cf078, #17a83f);
  color: #03140a;
  font-size: 15px;
  font-weight: 800;
}

.scr-hi {
  color: #7f8f88;
  font-size: 8px;
}

.scr-name {
  font-size: 12px;
  font-weight: 700;
}

.icon-btn {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin-left: auto;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
  color: #c6d2cc;
}

.icon-btn .icon {
  width: 14px;
  height: 14px;
}

.balance-card {
  position: relative;
  overflow: hidden;
  padding: 13px 14px 12px;
  border-radius: 18px;
  background: linear-gradient(135deg, #67f273 0%, #34df53 48%, #14ae3d 100%);
  color: #03150a;
  box-shadow: 0 14px 32px rgba(18, 168, 58, 0.28);
}

.balance-card::after {
  content: "";
  position: absolute;
  top: -92px;
  right: -64px;
  width: 168px;
  height: 168px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}

.bc-label {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 8.5px;
  font-weight: 700;
  opacity: 0.64;
}

.bc-label .icon {
  width: 10px;
  height: 10px;
}

.bc-amount {
  margin: 3px 0 1px;
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.bc-amount span {
  font-size: 18px;
  opacity: 0.6;
}

.bc-row {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 8.5px;
  font-weight: 600;
}

.pill-up {
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(1, 51, 17, 0.18);
  font-weight: 800;
}

.bc-chart {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 146px;
  height: 50px;
  opacity: 0.85;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin: 12px 0 10px;
}

.quick {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  color: #93a29b;
  font-size: 7.5px;
  font-weight: 600;
}

.q-ico {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--green);
}

.q-ico .icon {
  width: 14px;
  height: 14px;
}

.sec-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 2px 0 2px;
  font-size: 10.5px;
  font-weight: 700;
}

.sec-link {
  color: var(--green);
  font-size: 7.5px;
  font-weight: 600;
}

.coin-list {
  display: flex;
  flex-direction: column;
}

.coin-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7.5px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.055);
}

.coin-row:last-child {
  border-bottom: 0;
}

.coin-ico {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  flex: none;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 800;
}

.coin-ico.btc { background: rgba(247, 147, 26, 0.16); color: #f7931a; }
.coin-ico.eth { background: rgba(140, 130, 255, 0.16); color: #a29bff; }
.coin-ico.sol { background: rgba(69, 229, 85, 0.14); color: #5ff06d; }
.coin-ico.bnb { background: rgba(240, 185, 11, 0.15); color: #f0b90b; }
.coin-ico.xrp { background: rgba(255, 255, 255, 0.1); color: #e8f0ec; }

.coin-name {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.coin-name b {
  font-size: 9px;
  font-weight: 700;
  line-height: 1.3;
}

.coin-name span {
  color: #72817a;
  font-size: 7px;
  line-height: 1.3;
}

.spark {
  width: 42px;
  height: 17px;
  margin-left: auto;
}

.coin-price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  min-width: 58px;
}

.coin-price b {
  font-size: 9px;
  font-weight: 700;
  line-height: 1.3;
}

.coin-price span {
  font-size: 7.5px;
  font-weight: 700;
  line-height: 1.3;
}

.up { color: #45e555; }
.down { color: #ff6b6b; }

/* Markets screen */
.scr-title {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.search {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  margin: 10px 0 8px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  color: #72817a;
  font-size: 8.5px;
}

.search .icon {
  width: 11px;
  height: 11px;
}

.chips {
  display: flex;
  gap: 5px;
  margin-bottom: 4px;
}

.chip {
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: #86958e;
  font-size: 7px;
  font-weight: 600;
}

.chip.is-on {
  background: rgba(69, 229, 85, 0.14);
  color: var(--green);
}

/* Assets screen */
.scr-head2 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 2px 0 12px;
}

.scr-head2 .icon-btn {
  margin-left: 0;
  width: 28px;
  height: 28px;
}

.asset-total {
  display: flex;
  flex-direction: column;
  gap: 1px;
  margin-bottom: 12px;
}

.asset-total span {
  color: #7f8f88;
  font-size: 8.5px;
}

.asset-total b {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.asset-total small {
  color: #6d7c75;
  font-size: 7.5px;
}

.donut-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 0 14px;
}

.donut {
  position: relative;
  display: grid;
  place-items: center;
  width: 106px;
  height: 106px;
  flex: none;
  border-radius: 50%;
  background: conic-gradient(#45e555 0 52%, #2a9d55 52% 80%, #1d5c3a 80% 100%);
}

.donut::after {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 50%;
  background: #0a0f0d;
}

.donut-center {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.1;
}

.donut-center b {
  font-size: 16px;
  font-weight: 800;
}

.donut-center span {
  color: #7f8f88;
  font-size: 7.5px;
}

.asset-legend {
  display: flex;
  flex-direction: column;
  gap: 9px;
  flex: 1;
}

.asset-legend > div {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 8px;
}

.asset-legend > div > b {
  margin-left: auto;
  font-size: 8px;
  font-weight: 700;
}

.asset-legend > div > div {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.asset-legend > div > div span {
  color: #72817a;
  font-size: 7px;
}

.dot {
  width: 7px;
  height: 7px;
  flex: none;
  border-radius: 50%;
}

.dot.btc { background: #45e555; }
.dot.eth { background: #2a9d55; }
.dot.usdt { background: #1d5c3a; }

.asset-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.asset-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 11px;
  color: #dbe6e1;
  font-size: 8.5px;
  font-weight: 700;
}

.asset-btn .icon {
  width: 11px;
  height: 11px;
}

.asset-btn.primary {
  border-color: transparent;
  background: var(--green);
  color: #03140a;
}

/* App tabbar */
.app-tabbar {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex: none;
  height: 54px;
  padding-bottom: 5px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(7, 11, 9, 0.92);
}

.tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  color: #62716a;
  font-size: 6.5px;
  font-weight: 600;
  transition: color 0.2s ease;
}

.tab .icon {
  width: 15px;
  height: 15px;
}

.tab.is-active {
  color: var(--green);
}

/* Floating cards */
.float-card {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: rgba(11, 17, 15, 0.82);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.5);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  animation: floatCard 7s ease-in-out infinite;
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.fc-security {
  top: 44px;
  right: -120px;
}

.fc-support {
  bottom: 118px;
  left: -112px;
  animation-delay: -3.5s;
}

.fc-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 10px;
  background: rgba(69, 229, 85, 0.12);
  color: var(--green);
}

.fc-icon .icon {
  width: 17px;
  height: 17px;
}

.float-card strong {
  display: block;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
}

.float-card small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.3;
}

/* Phone tabs */
.phone-tabs {
  position: relative;
  z-index: 3;
  display: inline-flex;
  gap: 4px;
  margin-top: 26px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(11, 17, 15, 0.7);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.phone-tab {
  padding: 7px 16px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  transition: color 0.2s ease, background 0.2s ease;
}

.phone-tab.is-active {
  background: rgba(69, 229, 85, 0.14);
  color: var(--green);
}

/* ---------- Stats ---------- */
.stats {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.014);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat {
  padding: 30px 18px;
  text-align: center;
  border-right: 1px solid var(--line);
}

.stat:last-child {
  border-right: 0;
}

.stat b {
  display: block;
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.stat > span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 12.5px;
}

/* ---------- Sections ---------- */
.section {
  padding: 104px 0;
}

.section-head {
  max-width: 680px;
  margin: 0 auto 56px;
  text-align: center;
}

.eyebrow-sm {
  color: var(--green);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section-head h2 {
  margin: 14px 0 16px;
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1.15;
}

.section-head p {
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.75;
}

/* ---------- Features ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature-card {
  position: relative;
  overflow: hidden;
  padding: 30px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.012));
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.feature-card::after {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(69, 229, 85, 0.16), transparent 68%);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(69, 229, 85, 0.32);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.32);
}

.feature-card:hover::after {
  opacity: 1;
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 20px;
  border: 1px solid rgba(69, 229, 85, 0.18);
  border-radius: 13px;
  background: rgba(69, 229, 85, 0.09);
  color: var(--green);
}

.feature-icon .icon {
  width: 22px;
  height: 22px;
}

.feature-card h3 {
  margin-bottom: 9px;
  font-size: 17.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.feature-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

/* ---------- Download ---------- */
.section-download {
  padding-top: 20px;
}

.download-wrap {
  position: relative;
  overflow: hidden;
  padding: 54px;
  border: 1px solid rgba(69, 229, 85, 0.22);
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(69, 229, 85, 0.1) 0%, rgba(255, 255, 255, 0.018) 46%, rgba(69, 229, 85, 0.05) 100%),
    #080d0b;
}

.download-glow {
  position: absolute;
  top: -160px;
  right: -80px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(69, 229, 85, 0.22), transparent 66%);
  pointer-events: none;
}

.download-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
  align-items: center;
  gap: 56px;
}

.download-copy h2 {
  margin: 12px 0 12px;
  font-size: clamp(30px, 3.4vw, 42px);
}

.download-desc {
  max-width: 520px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.spec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin: 26px 0 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--line);
}

.spec {
  padding: 14px 17px;
  background: #0a100d;
}

.spec > span {
  display: block;
  color: var(--muted-2);
  font-size: 11px;
}

.spec b {
  display: block;
  margin-top: 4px;
  font-size: 14.5px;
  font-weight: 700;
}

.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.download-note {
  margin-top: 18px;
  color: var(--muted-2);
  font-size: 12px;
  line-height: 1.7;
}

.download-note a {
  color: #b9c8c1;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.download-note a:hover {
  color: var(--green);
}

.ios-notice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 18px;
  padding: 12px 14px;
  border: 1px solid rgba(69, 229, 85, 0.2);
  border-radius: 12px;
  background: rgba(69, 229, 85, 0.06);
  color: #b9c8c1;
  font-size: 12.5px;
  line-height: 1.65;
}

.ios-notice[hidden] {
  display: none;
}

.ios-notice .icon {
  width: 17px;
  height: 17px;
  margin-top: 2px;
  color: var(--green);
}

.qr-card {
  width: 100%;
  max-width: 300px;
  margin-left: auto;
  padding: 20px 20px 18px;
  border-radius: 22px;
  background: #fff;
  color: #06110a;
  text-align: center;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.4);
}

.qr-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 188px;
  height: 188px;
  margin: 0 auto 14px;
  border-radius: 12px;
  background: #fff;
}

.qr-box img,
.qr-box canvas {
  width: 188px !important;
  height: 188px !important;
  image-rendering: pixelated;
}

.qr-box svg {
  display: block;
  width: 100%;
  height: 100%;
}

.qr-card h3 {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.qr-card > p {
  margin-top: 5px;
  color: #5b6a63;
  font-size: 11.5px;
}

.qr-divider {
  height: 1px;
  margin: 14px 0 12px;
  background: rgba(4, 20, 10, 0.09);
}

.qr-note {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  text-align: left;
  color: #6c7a74 !important;
  font-size: 10.5px !important;
  line-height: 1.55;
}

.qr-note .icon {
  width: 13px;
  height: 13px;
  margin-top: 1px;
  flex: none;
  color: #16a83f;
}

/* ---------- Install ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.step {
  position: relative;
  padding: 30px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01));
}

.step-num {
  position: absolute;
  top: 28px;
  right: 26px;
  color: rgba(255, 255, 255, 0.16);
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

.step-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 22px;
  border-radius: 14px;
  background: rgba(69, 229, 85, 0.1);
  color: var(--green);
}

.step-icon .icon {
  width: 22px;
  height: 22px;
}

.step h3 {
  margin-bottom: 9px;
  font-size: 18px;
  font-weight: 700;
}

.step p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.install-tip {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-top: 26px;
  padding: 20px 24px;
  border: 1px dashed rgba(69, 229, 85, 0.28);
  border-radius: 16px;
  background: rgba(69, 229, 85, 0.05);
}

.tip-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: 10px;
  background: rgba(69, 229, 85, 0.12);
  color: var(--green);
}

.tip-icon .icon {
  width: 18px;
  height: 18px;
}

.install-tip strong {
  display: block;
  margin-bottom: 4px;
  font-size: 14.5px;
}

.install-tip p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

/* ---------- FAQ ---------- */
.section-faq {
  padding-top: 0;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.25s ease, background 0.25s ease;
}

.faq-item[open] {
  border-color: rgba(69, 229, 85, 0.24);
  background: rgba(69, 229, 85, 0.03);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 22px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-icon {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  flex: none;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.faq-icon .icon {
  width: 13px;
  height: 13px;
}

.faq-item[open] .faq-icon {
  transform: rotate(180deg);
  border-color: transparent;
  background: var(--green);
  color: #03140a;
}

.faq-a {
  padding: 0 22px 20px;
}

.faq-a p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

/* ---------- Footer ---------- */
.footer {
  padding: 64px 0 32px;
  border-top: 1px solid var(--line);
  background: #040706;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-brand p {
  max-width: 300px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.8;
}

.footer-col h4 {
  margin-bottom: 16px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.footer-col a {
  display: block;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 13.5px;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--green);
}

.risk {
  margin-top: 44px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.015);
  color: #75837d;
  font-size: 12px;
  line-height: 1.8;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted-2);
  font-size: 12.5px;
}

/* ---------- Sticky CTA ---------- */
.sticky-cta {
  position: fixed;
  right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom));
  left: 12px;
  z-index: 90;
  display: none;
  padding: 8px;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: rgba(7, 11, 9, 0.9);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.5);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.sticky-cta .btn {
  width: 100%;
  height: 52px;
  border-radius: 12px;
}

.sticky-cta .btn small {
  font-size: 10.5px;
  opacity: 0.6;
}

/* ---------- Modal ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.modal.is-open {
  opacity: 1;
  visibility: visible;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.modal-card {
  position: relative;
  width: 100%;
  max-width: 440px;
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  background: #0b110f;
  box-shadow: 0 50px 120px rgba(0, 0, 0, 0.65);
  transform: translateY(14px) scale(0.98);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal.is-open .modal-card {
  transform: none;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
}

.modal-close:hover {
  color: #fff;
}

.modal-close .icon {
  width: 16px;
  height: 16px;
}

.modal-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 18px;
  border-radius: 16px;
  background: rgba(69, 229, 85, 0.12);
  color: var(--green);
}

.modal-icon .icon {
  width: 26px;
  height: 26px;
}

.modal-card h3 {
  margin-bottom: 10px;
  font-size: 21px;
}

.modal-card > p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.modal-actions .btn {
  height: 46px;
  padding: 0 18px;
  font-size: 14px;
  border-radius: 12px;
}

.modal-note {
  margin-top: 14px;
  color: var(--muted-2);
  font-size: 11.5px;
}

/* ---------- WeChat tip ---------- */
.wechat-tip {
  position: fixed;
  top: 86px;
  left: 50%;
  z-index: 120;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  width: min(92vw, 520px);
  padding: 13px 16px;
  border: 1px solid rgba(69, 229, 85, 0.3);
  border-radius: 13px;
  background: rgba(11, 20, 15, 0.95);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5);
  color: #d9e6df;
  font-size: 12.5px;
  line-height: 1.6;
  transform: translateX(-50%);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.wechat-tip[hidden] {
  display: none;
}

body.has-wechat-tip .hero {
  padding-top: 224px;
}

.wechat-tip .icon {
  width: 17px;
  height: 17px;
  margin-top: 2px;
  flex: none;
  color: var(--green);
}

.wechat-close {
  margin-left: auto;
  color: var(--muted);
}

.wechat-close .icon {
  width: 14px;
  height: 14px;
  margin-top: 0;
}

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 100px;
  z-index: 300;
  max-width: min(90vw, 420px);
  padding: 12px 20px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: rgba(14, 21, 18, 0.96);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5);
  color: #e6f0eb;
  font-size: 13px;
  line-height: 1.6;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 10px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}

.toast.is-show {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .hero {
    padding-top: 140px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 56px;
    text-align: center;
  }

  .hero-copy {
    max-width: 720px;
    margin: 0 auto;
  }

  .hero-copy .eyebrow {
    margin: 0 auto;
  }

  .lead {
    margin: 0 auto;
  }

  .hero-cta,
  .trust {
    justify-content: center;
  }

  .hero-note {
    text-align: center;
  }

  .hero-visual {
    padding-top: 0;
  }

  .orbit-1 { width: 470px; height: 470px; }
  .orbit-2 { width: 620px; height: 620px; }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .download-wrap {
    padding: 40px;
  }

  .download-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .qr-card {
    margin: 0;
    max-width: 340px;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .menu-btn {
    display: grid;
  }

  .nav-cta {
    display: none;
  }

  .site-header.nav-open .nav-links {
    position: absolute;
    top: 84px;
    left: 16px;
    right: 16px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line-strong);
    border-radius: 16px;
    background: rgba(9, 14, 12, 0.97);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    font-size: 15px;
  }

  .site-header.nav-open .nav-links a {
    padding: 13px 12px;
    border-bottom: 1px solid var(--line);
  }

  .site-header.nav-open .nav-links a:last-child {
    border-bottom: 0;
  }

  .site-header.nav-open .nav-download {
    display: block;
    margin-top: 6px;
    border-bottom: 0 !important;
    border-radius: 10px;
    background: rgba(69, 229, 85, 0.12);
    color: var(--green);
    font-weight: 700;
    text-align: center;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat:nth-child(2) {
    border-right: 0;
  }

  .stat:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .step-num {
    font-size: 26px;
  }
}

@media (max-width: 680px) {
  .container {
    padding: 0 18px;
  }

  .hero {
    padding: 122px 0 70px;
  }

  body.has-wechat-tip .hero {
    padding-top: 200px;
  }

  .hero h1 {
    font-size: clamp(38px, 10.5vw, 52px);
    margin: 20px 0 18px;
  }

  .lead {
    font-size: 15px;
    line-height: 1.8;
  }

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    margin: 28px 0 20px;
  }

  .hero-cta .btn {
    width: 100%;
  }

  .btn-lg {
    height: 60px;
  }

  .trust {
    gap: 16px;
    font-size: 12px;
  }

  .hero-visual {
    margin-top: 4px;
  }

  .phone {
    width: 272px;
    height: 568px;
    border-radius: 47px;
    padding: 8px;
  }

  .phone-screen {
    border-radius: 40px;
  }

  .phone-notch {
    width: 78px;
    height: 21px;
  }

  .phone-box {
    width: 272px;
  }

  .float-card {
    display: none;
  }

  .orbit-1 { width: 360px; height: 360px; }
  .orbit-2 { width: 480px; height: 480px; }
  .visual-glow {
    width: 360px;
    height: 360px;
  }

  .phone-tabs {
    margin-top: 22px;
  }

  .section {
    padding: 76px 0;
  }

  .section-head {
    margin-bottom: 40px;
  }

  .section-head p {
    font-size: 14.5px;
  }

  .stats .stat {
    padding: 24px 12px;
  }

  .stat b {
    font-size: 19px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .feature-card {
    padding: 24px 22px;
  }

  .section-download {
    padding-top: 0;
  }

  .download-wrap {
    padding: 28px 22px;
    border-radius: 24px;
  }

  .spec-grid {
    margin: 22px 0 24px;
  }

  .spec {
    padding: 12px 14px;
  }

  .download-actions .btn {
    width: 100%;
  }

  .qr-card {
    max-width: none;
    padding: 18px;
  }

  .qr-box {
    width: 176px;
    height: 176px;
  }

  .qr-box img,
  .qr-box canvas {
    width: 176px !important;
    height: 176px !important;
  }

  .step {
    padding: 26px 22px;
  }

  .install-tip {
    padding: 18px;
  }

  .faq-item summary {
    padding: 18px;
    font-size: 14.5px;
  }

  .faq-a {
    padding: 0 18px 18px;
  }

  .footer {
    padding-top: 52px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px 24px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-col h4 {
    margin-bottom: 12px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 6px;
  }

  .sticky-cta {
    display: block;
  }

  body {
    padding-bottom: calc(84px + env(safe-area-inset-bottom));
  }

  .modal-card {
    padding: 26px 22px;
  }

  .modal-actions .btn {
    flex: 1;
    min-width: 120px;
  }

  .toast {
    bottom: 96px;
  }
}

@media (max-width: 420px) {
  .phone {
    width: 250px;
    height: 522px;
  }

  .phone-box {
    width: 250px;
  }

  .app-screen {
    padding: 8px 13px 0;
  }

  .bc-amount {
    font-size: 22px;
  }

  .orbit-1 { width: 320px; height: 320px; }
  .orbit-2 { width: 420px; height: 420px; }

  .phone-tab {
    padding: 7px 14px;
  }

  .brand {
    font-size: 20px;
  }

  .brand img {
    width: 34px;
    height: 34px;
  }

  .lang-btn {
    padding: 0 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ============================================================
   Japanese edition — indigo night theme
   English page keeps the original black/green palette.
   ============================================================ */
html[data-lang="ja"] {
  color-scheme: dark;
  --bg: #070b18;
  --bg-soft: #0a1122;
  --surface: #0e172b;
  --surface-2: #142039;
  --line: rgba(176, 198, 255, 0.11);
  --line-strong: rgba(176, 198, 255, 0.2);
  --text: #f1f5ff;
  --muted: #9aaac9;
  --muted-2: #7485a4;
  --font: "Inter", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic",
    "Noto Sans CJK JP", "Noto Sans JP", sans-serif;
}
html[data-lang="ja"] body {
  background: var(--bg);
}
html[data-lang="ja"] body::before {
  background:
    radial-gradient(900px 620px at 12% -8%, rgba(75, 110, 255, 0.18), transparent 62%),
    radial-gradient(1000px 700px at 96% 4%, rgba(38, 186, 170, 0.12), transparent 60%),
    radial-gradient(800px 800px at 50% 100%, rgba(69, 229, 85, 0.045), transparent 70%);
}
html[data-lang="ja"] .site-header.scrolled {
  background: rgba(7, 11, 24, 0.84);
}
html[data-lang="ja"] .site-header.nav-open .nav-links {
  background: rgba(10, 17, 34, 0.98);
}
html[data-lang="ja"] .download-wrap {
  border-color: rgba(91, 129, 255, 0.26);
  background:
    linear-gradient(135deg, rgba(82, 118, 255, 0.13) 0%, rgba(255, 255, 255, 0.018) 46%, rgba(38, 186, 170, 0.06) 100%),
    #0a1224;
}
html[data-lang="ja"] .download-glow {
  background: radial-gradient(circle, rgba(82, 118, 255, 0.24), transparent 66%);
}
html[data-lang="ja"] .spec {
  background: #0d1628;
}
html[data-lang="ja"] .footer {
  background: #050a15;
}
html[data-lang="ja"] .modal-card {
  background: #0e182c;
}
html[data-lang="ja"] .toast {
  background: rgba(14, 23, 42, 0.96);
}
html[data-lang="ja"] .sticky-cta {
  background: rgba(8, 13, 27, 0.92);
}
html[data-lang="ja"] .wechat-tip {
  background: rgba(12, 22, 39, 0.96);
}
html[data-lang="ja"] .phone-screen {
  background: #08101f;
}
html[data-lang="ja"] .app-tabbar {
  background: rgba(8, 15, 29, 0.94);
}
html[data-lang="ja"] .float-card {
  background: rgba(15, 25, 47, 0.86);
}
html[data-lang="ja"] .phone-tabs {
  background: rgba(15, 25, 47, 0.74);
}
html[data-lang="ja"] .donut::after {
  background: #0b1425;
}
html[data-lang="ja"] .trust,
html[data-lang="ja"] .download-note a,
html[data-lang="ja"] .ios-notice {
  color: #bdc9df;
}
html[data-lang="ja"] .risk {
  color: #8d9cb9;
}
html[data-lang="ja"] .wechat-tip {
  color: #dce5f5;
}
