/* ============================================================
   默听 MoListen · 视觉系统
   墨夜靛紫 + 琥珀点睛 · 隐私守护型会议智能助手
   ============================================================ */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; text-rendering: optimizeLegibility; }
img, svg, video { display: block; max-width: 100%; }
button, input, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* ---------- Tokens ---------- */
:root {
  /* Background */
  --bg-base: #07090F;
  --bg-elev-1: #0B0F1E;
  --bg-elev-2: #11172E;
  --bg-elev-3: #181F3A;
  --bg-glass: rgba(17, 23, 46, 0.55);

  /* Text */
  --text-0: #FFFFFF;
  --text-1: #F1F5F9;
  --text-2: #CBD5E1;
  --text-3: #94A3B8;
  --text-4: #64748B;
  --text-5: #475569;

  /* Brand */
  --indigo: #6366F1;
  --indigo-bright: #818CF8;
  --violet: #8B5CF6;
  --violet-bright: #A78BFA;
  --amber: #F59E0B;
  --amber-bright: #FBBF24;
  --emerald: #10B981;

  /* Gradient */
  --grad-brand: linear-gradient(135deg, #6366F1 0%, #8B5CF6 55%, #A78BFA 100%);
  --grad-brand-soft: linear-gradient(135deg, rgba(99,102,241,0.18), rgba(139,92,246,0.12));
  --grad-amber: linear-gradient(135deg, #F59E0B 0%, #FBBF24 100%);
  --grad-emerald: linear-gradient(135deg, #10B981 0%, #34D399 100%);
  --grad-text: linear-gradient(120deg, #F1F5F9 0%, #CBD5E1 50%, #818CF8 100%);

  /* Lines */
  --line-1: rgba(255,255,255,0.06);
  --line-2: rgba(255,255,255,0.10);
  --line-3: rgba(255,255,255,0.16);

  /* Spk */
  --spk-a: #818CF8;
  --spk-b: #A78BFA;
  --spk-c: #FBBF24;
  --hl: rgba(245, 158, 11, 0.22);

  /* Shadow */
  --shadow-card: 0 20px 60px -20px rgba(0,0,0,0.7), 0 8px 24px -12px rgba(99,102,241,0.18);
  --shadow-pop:  0 30px 80px -20px rgba(0,0,0,0.85), 0 12px 32px -16px rgba(99,102,241,0.35);
  --shadow-phone: 0 60px 120px -30px rgba(0,0,0,0.85), 0 30px 60px -20px rgba(99,102,241,0.18);

  /* Radius */
  --r-xs: 6px;
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;
  --r-pill: 999px;

  /* Type */
  --ff-sans: "Inter", "Noto Sans SC", "HarmonyOS Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --ff-mono: "JetBrains Mono", "SF Mono", ui-monospace, Menlo, Consolas, monospace;

  /* Container */
  --container: 1200px;
  --container-narrow: 880px;

  /* Easing */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family: var(--ff-sans);
  background: var(--bg-base);
  color: var(--text-1);
  line-height: 1.6;
  font-feature-settings: "ss01", "cv11", "cv02";
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: 0.01em;
}

::selection {
  background: rgba(129, 140, 248, 0.35);
  color: #fff;
}

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: var(--container-narrow); }

/* ---------- Skip Link ---------- */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--indigo); color: #fff;
  padding: 8px 16px; border-radius: 0 0 var(--r-sm) 0;
}
.skip-link:focus { left: 0; }

/* ---------- Atmosphere ---------- */
.atmosphere { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.atmo-grid {
  position: absolute; inset: -2px;
  background-image:
    linear-gradient(rgba(255,255,255,0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.022) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 30%, transparent 80%);
}
.atmo-glow { position: absolute; border-radius: 50%; filter: blur(120px); opacity: 0.5; }
.atmo-glow--indigo { width: 720px; height: 720px; top: -200px; left: -120px; background: radial-gradient(circle, #4F46E5 0%, transparent 70%); }
.atmo-glow--violet { width: 680px; height: 680px; top: 200px; right: -180px; background: radial-gradient(circle, #7C3AED 0%, transparent 70%); opacity: 0.4; }
.atmo-glow--amber  { width: 480px; height: 480px; top: 70%; left: 40%; background: radial-gradient(circle, #B45309 0%, transparent 70%); opacity: 0.18; }
.atmo-noise {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.06 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.55;
  mix-blend-mode: overlay;
}

/* ---------- Buttons ---------- */
.btn {
  --btn-pad-y: 12px; --btn-pad-x: 20px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: var(--btn-pad-y) var(--btn-pad-x);
  font-size: 14px; font-weight: 600;
  border-radius: var(--r-sm);
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), background .35s var(--ease-out), color .35s var(--ease-out), border-color .35s var(--ease-out);
  white-space: nowrap; user-select: none;
  position: relative;
}
.btn--sm { --btn-pad-y: 9px; --btn-pad-x: 16px; font-size: 13px; }
.btn--lg { --btn-pad-y: 16px; --btn-pad-x: 28px; font-size: 15px; }

.btn--primary {
  background: var(--grad-brand);
  color: #fff;
  box-shadow: 0 10px 30px -8px rgba(99,102,241,0.55), inset 0 1px 0 rgba(255,255,255,0.25);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px -10px rgba(99,102,241,0.7), inset 0 1px 0 rgba(255,255,255,0.3);
}
.btn--ghost {
  background: rgba(255,255,255,0.04);
  color: var(--text-1);
  border: 1px solid var(--line-3);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(129,140,248,0.45);
  transform: translateY(-2px);
}
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 2px solid var(--indigo-bright); outline-offset: 3px; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 16px 0;
  transition: padding .35s var(--ease-out), background .35s var(--ease-out), backdrop-filter .35s var(--ease-out), border-color .35s var(--ease-out);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  padding: 10px 0;
  background: rgba(7,9,15,0.72);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom-color: var(--line-1);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }

.brand { display: flex; align-items: center; gap: 10px; }
.brand__mark {
  display: inline-flex; align-items: flex-end; gap: 2px;
  width: 26px; height: 26px;
  padding: 3px;
  background: linear-gradient(180deg, rgba(99,102,241,0.16), rgba(139,92,246,0.06));
  border: 1px solid rgba(129,140,248,0.25);
  border-radius: 7px;
}
.brand__bar {
  display: inline-block;
  width: 2.5px; height: var(--h);
  background: linear-gradient(180deg, var(--indigo-bright), var(--violet-bright));
  border-radius: 2px;
  animation: barPulse 2.2s ease-in-out infinite;
}
.brand__bar:nth-child(2) { animation-delay: .15s; }
.brand__bar:nth-child(3) { animation-delay: .30s; }
.brand__bar:nth-child(4) { animation-delay: .45s; }
.brand__bar:nth-child(5) { animation-delay: .60s; }
@keyframes barPulse {
  0%, 100% { transform: scaleY(0.5); opacity: 0.7; }
  50% { transform: scaleY(1); opacity: 1; }
}
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__cn { font-size: 17px; font-weight: 700; letter-spacing: 0.04em; color: var(--text-0); }
.brand__en { font-size: 9px; font-weight: 600; letter-spacing: 0.28em; color: var(--text-4); text-transform: uppercase; margin-top: 2px; }

.nav__menu { display: flex; gap: 28px; }
.nav__menu a {
  font-size: 14px; color: var(--text-3); font-weight: 500;
  transition: color .25s ease; position: relative;
}
.nav__menu a:hover { color: var(--text-0); }
.nav__menu a::after {
  content: ""; position: absolute; left: 0; bottom: -6px;
  width: 0; height: 1.5px;
  background: var(--grad-brand);
  transition: width .3s var(--ease-out);
}
.nav__menu a:hover::after { width: 100%; }

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

.nav__burger {
  display: none; flex-direction: column; gap: 5px;
  width: 38px; height: 38px; align-items: center; justify-content: center;
  border-radius: var(--r-sm);
  border: 1px solid var(--line-2);
}
.nav__burger span {
  width: 18px; height: 1.8px; background: var(--text-1); border-radius: 2px;
  transition: transform .3s var(--ease-out), opacity .25s ease;
}
.nav__burger.is-open span:nth-child(1) { transform: translateY(6.8px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-6.8px) rotate(-45deg); }

.nav__progress {
  position: absolute; left: 0; bottom: -1px;
  height: 2px; width: 0%;
  background: var(--grad-brand);
  transition: width .1s linear;
  opacity: 0;
}
.nav.is-scrolled .nav__progress { opacity: 1; }

/* Drawer */
.drawer {
  position: fixed; inset: 0 0 0 auto;
  width: min(86vw, 360px);
  background: rgba(11,15,30,0.96);
  backdrop-filter: blur(20px);
  border-left: 1px solid var(--line-2);
  transform: translateX(100%);
  transition: transform .4s var(--ease-out);
  z-index: 99;
  padding: 100px 32px 32px;
}
.drawer.is-open { transform: translateX(0); }
.drawer__menu { display: flex; flex-direction: column; gap: 4px; }
.drawer__menu a {
  display: block; padding: 14px 12px;
  color: var(--text-2); font-size: 16px; font-weight: 500;
  border-radius: var(--r-sm);
  transition: background .25s ease, color .25s ease;
}
.drawer__menu a:hover { background: rgba(255,255,255,0.04); color: var(--text-0); }
.drawer__menu .btn { margin-top: 16px; justify-content: center; }

/* ---------- Section Head ---------- */
.section-head { text-align: center; max-width: 720px; margin: 0 auto 64px; }
.section-head__eyebrow {
  display: inline-flex; align-items: center;
  font-size: 12px; font-weight: 600; letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--indigo-bright);
  padding: 6px 14px;
  border: 1px solid rgba(129,140,248,0.3);
  background: rgba(99,102,241,0.08);
  border-radius: var(--r-pill);
  margin-bottom: 22px;
}
.section-head__eyebrow--amber { color: var(--amber-bright); border-color: rgba(245,158,11,0.3); background: rgba(245,158,11,0.06); }
.section-head__title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.18;
  color: var(--text-0);
  margin-bottom: 16px;
}
.section-head__desc {
  font-size: clamp(15px, 1.5vw, 17px);
  color: var(--text-3);
  line-height: 1.7;
}
.section-head__desc em {
  font-style: normal;
  color: var(--text-1);
  background: linear-gradient(120deg, transparent 60%, rgba(245,158,11,0.18) 60%);
  padding: 0 2px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 160px 0 100px;
  min-height: 100vh;
  display: flex; align-items: center;
}
.hero__grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px;
  align-items: center;
}
.hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px;
  border-radius: var(--r-pill);
  background: rgba(16,185,129,0.08);
  border: 1px solid rgba(16,185,129,0.3);
  color: #6EE7B7;
  font-size: 12.5px; font-weight: 500; letter-spacing: 0.04em;
  margin-bottom: 28px;
}
.pulse {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 0 0 rgba(16,185,129,0.7);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(16,185,129,0.6); }
  70% { box-shadow: 0 0 0 8px rgba(16,185,129,0); }
  100% { box-shadow: 0 0 0 0 rgba(16,185,129,0); }
}

.hero__title {
  font-size: clamp(40px, 5.8vw, 72px);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin-bottom: 24px;
}
.hero__title-line { display: block; color: var(--text-0); }
.hero__title-line--accent {
  background: linear-gradient(110deg, #C7D2FE 0%, #A78BFA 40%, #F59E0B 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__lead {
  font-size: clamp(15.5px, 1.5vw, 18px);
  color: var(--text-3);
  line-height: 1.75;
  max-width: 540px;
  margin-bottom: 36px;
}
.hero__lead strong {
  color: var(--text-1);
  font-weight: 600;
}

.hero__actions { display: flex; gap: 14px; margin-bottom: 48px; flex-wrap: wrap; }

.hero__stats {
  display: flex; gap: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--line-1);
}
.hero__stats > div { display: flex; flex-direction: column; }
.hero__stats dt {
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 800;
  letter-spacing: -0.02em;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}
.hero__stats dd {
  font-size: 13px;
  color: var(--text-4);
  margin-top: 6px;
  letter-spacing: 0.04em;
}

/* ---------- Phone Mockup ---------- */
.hero__device {
  position: relative;
  display: flex; justify-content: center; align-items: center;
  perspective: 1500px;
}
.hero__device-shadow {
  position: absolute; bottom: -40px; left: 50%;
  transform: translateX(-50%);
  width: 240px; height: 40px;
  background: radial-gradient(ellipse, rgba(99,102,241,0.4), transparent 70%);
  filter: blur(20px);
}

.phone {
  position: relative;
  width: 300px; aspect-ratio: 9 / 19.2;
  background: linear-gradient(145deg, #1A1F38 0%, #0A0D1A 100%);
  border-radius: 44px;
  padding: 10px;
  box-shadow: var(--shadow-phone);
  border: 1px solid rgba(255,255,255,0.08);
  transform: rotateY(-12deg) rotateX(4deg) rotateZ(1deg);
  transition: transform .8s var(--ease-out);
}
.hero__device:hover .phone { transform: rotateY(-6deg) rotateX(2deg) rotateZ(0deg); }

.phone::before {
  content: ""; position: absolute; inset: -1px;
  border-radius: 45px;
  background: linear-gradient(145deg, rgba(255,255,255,0.15), transparent 30%, transparent 70%, rgba(129,140,248,0.18));
  z-index: -1;
}
.phone__notch {
  position: absolute; top: 18px; left: 50%;
  transform: translateX(-50%);
  width: 92px; height: 26px;
  background: #000;
  border-radius: var(--r-pill);
  z-index: 5;
}
.phone__screen {
  position: relative;
  width: 100%; height: 100%;
  background: linear-gradient(180deg, #0B0F1E 0%, #070A14 100%);
  border-radius: 36px;
  overflow: hidden;
  display: flex; flex-direction: column;
  padding: 50px 18px 14px;
}
.phone__screen--light {
  background: linear-gradient(180deg, #FAFAF7 0%, #F0EFEA 100%);
  color: #1C1917;
}
.phone__glare {
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  border-radius: 44px;
  background: linear-gradient(135deg, rgba(255,255,255,0.08) 0%, transparent 30%);
  pointer-events: none;
}

.phone--mini {
  width: 260px;
  transform: none;
}
.phone--mini::before { border-radius: 40px; }
.phone--mini .phone__notch { width: 78px; height: 22px; top: 14px; }
.phone--mini .phone__screen { border-radius: 32px; padding: 42px 14px 12px; }

/* Status bar */
.status-bar {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 11px; font-weight: 600;
  color: var(--text-1);
  padding: 0 6px 8px;
  letter-spacing: 0.04em;
}
.status-bar--light { color: #1C1917; }
.status-bar__icons { display: flex; align-items: center; gap: 4px; color: var(--text-2); }
.status-bar--light .status-bar__icons { color: #57534E; }
.battery {
  display: inline-flex; align-items: center;
  padding: 1px 4px;
  font-size: 9.5px;
  border: 1px solid currentColor;
  border-radius: 3px;
  position: relative;
}
.battery::after {
  content: ""; position: absolute; right: -2.5px; top: 50%;
  transform: translateY(-50%);
  width: 1.5px; height: 4px;
  background: currentColor;
  border-radius: 0 1px 1px 0;
}

/* App header (in phone) */
.app-header {
  display: flex; align-items: flex-start; justify-content: space-between;
  padding: 6px 4px 14px;
  border-bottom: 1px solid var(--line-1);
  margin-bottom: 14px;
}
.app-header__date { font-size: 10px; color: var(--text-4); letter-spacing: 0.06em; }
.app-header__title { font-size: 15px; font-weight: 700; color: var(--text-0); margin-top: 3px; }
.app-header__offline {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 9.5px; font-weight: 500;
  padding: 4px 8px;
  background: rgba(16,185,129,0.1);
  border: 1px solid rgba(16,185,129,0.28);
  color: #6EE7B7;
  border-radius: var(--r-pill);
  letter-spacing: 0.02em;
}
.app-header__offline .dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 6px var(--emerald);
}

/* Waveform */
.waveform {
  display: flex; align-items: center; justify-content: center;
  gap: 2.5px;
  height: 90px;
  padding: 8px 0;
  margin: 6px 0 10px;
}
.waveform span {
  display: block;
  width: 3px;
  background: linear-gradient(180deg, var(--indigo-bright), var(--violet-bright));
  border-radius: 2px;
  animation: wave 1.4s ease-in-out infinite;
  transform-origin: center;
  min-height: 6px;
}
.waveform span:nth-child(odd)  { animation-delay: 0s; }
.waveform span:nth-child(3n)   { animation-delay: .15s; }
.waveform span:nth-child(4n)   { animation-delay: .3s; }
.waveform span:nth-child(5n)   { animation-delay: .45s; }
.waveform span:nth-child(7n)   { animation-delay: .6s; }
@keyframes wave {
  0%, 100% { height: 14%; opacity: 0.55; }
  50% { height: 88%; opacity: 1; }
}
.waveform--center { height: 70px; }

/* Rec meta & controls */
.rec-meta {
  display: flex; align-items: baseline; justify-content: center;
  gap: 12px; margin-bottom: 12px;
}
.rec-meta__time {
  font-family: var(--ff-mono);
  font-size: 24px; font-weight: 700;
  color: var(--text-0); letter-spacing: 0.04em;
}
.rec-meta__time span { font-size: 14px; color: var(--text-4); }
.rec-meta__status {
  font-size: 10px; font-weight: 600;
  color: #FCA5A5;
  padding: 2px 8px;
  background: rgba(239,68,68,0.12);
  border-radius: var(--r-pill);
  letter-spacing: 0.08em;
}

.rec-controls {
  display: flex; gap: 10px; justify-content: center;
  margin: 4px 0 14px;
}
.rec-btn {
  font-size: 11px; font-weight: 600;
  padding: 8px 16px;
  border-radius: var(--r-pill);
  letter-spacing: 0.04em;
  transition: transform .2s ease, filter .2s ease;
}
.rec-btn:active { transform: scale(0.96); }
.rec-btn--pause {
  background: linear-gradient(135deg, #F59E0B, #F97316);
  color: #fff;
  box-shadow: 0 4px 14px -4px rgba(245,158,11,0.6);
  letter-spacing: 0.18em;
  padding: 8px 18px;
}
.rec-btn--save {
  background: rgba(255,255,255,0.06);
  color: var(--text-1);
  border: 1px solid var(--line-3);
}

/* Transcript card (hero) */
.transcript-card {
  background: rgba(17,23,46,0.6);
  border: 1px solid var(--line-1);
  border-radius: var(--r-md);
  padding: 10px 12px;
  margin-bottom: 12px;
}
.transcript-card__head {
  font-size: 9px; font-weight: 600;
  color: var(--text-4); letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.transcript-card__body p {
  font-size: 11.5px; line-height: 1.55;
  color: var(--text-2);
  display: flex; gap: 7px;
  margin-bottom: 4px;
}
.transcript-card__body p:last-child { margin-bottom: 0; }

.spk {
  display: inline-flex; align-items: center; justify-content: center;
  width: 14px; height: 14px;
  border-radius: 50%;
  font-size: 9px; font-weight: 700;
  color: #fff;
  flex-shrink: 0;
  margin-top: 2px;
}
.spk--a { background: var(--spk-a); }
.spk--b { background: var(--spk-b); }
.spk--c { background: var(--spk-c); color: #1C1917; }

.hl {
  background: var(--hl);
  padding: 0 3px;
  border-radius: 3px;
  color: var(--amber-bright);
  font-weight: 600;
}

/* Bottom nav */
.bottom-nav {
  display: flex; justify-content: space-around;
  padding: 10px 0 4px;
  margin-top: auto;
  border-top: 1px solid var(--line-1);
}
.bottom-nav__item {
  font-size: 10px; color: var(--text-4);
  letter-spacing: 0.06em;
}
.bottom-nav__item--active {
  color: var(--indigo-bright);
  font-weight: 600;
}

/* Hero scroll indicator */
.hero__scroll {
  position: absolute; bottom: 28px; left: 50%;
  transform: translateX(-50%);
  width: 24px; height: 38px;
  border: 1.5px solid var(--line-3);
  border-radius: var(--r-pill);
  display: flex; justify-content: center;
  padding-top: 6px;
}
.hero__scroll span {
  width: 2px; height: 6px;
  background: var(--indigo-bright);
  border-radius: 2px;
  animation: scrollDown 1.8s infinite;
}
@keyframes scrollDown {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(14px); opacity: 0; }
}

/* ---------- Trust ---------- */
.trust {
  padding: 28px 0 40px;
  border-top: 1px solid var(--line-1);
  border-bottom: 1px solid var(--line-1);
  background: linear-gradient(180deg, rgba(11,15,30,0.4), transparent);
}
.trust__label {
  text-align: center;
  font-size: 12px; font-weight: 500;
  color: var(--text-4);
  letter-spacing: 0.28em; text-transform: uppercase;
  margin-bottom: 18px;
}
.trust__list {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 14px 28px;
}
.trust__list li {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13.5px; color: var(--text-3);
  font-weight: 500;
}
.trust__list svg { color: var(--indigo-bright); }

/* ---------- Features ---------- */
.features { padding: 120px 0; }
.features__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.feature-card {
  padding: 28px 24px 30px;
  background: linear-gradient(180deg, rgba(17,23,46,0.6), rgba(11,15,30,0.4));
  border: 1px solid var(--line-1);
  border-radius: var(--r-lg);
  position: relative;
  overflow: hidden;
  transition: transform .5s var(--ease-out), border-color .5s var(--ease-out), background .5s var(--ease-out);
}
.feature-card::before {
  content: ""; position: absolute;
  top: -50%; right: -30%;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(99,102,241,0.18), transparent 70%);
  opacity: 0; transition: opacity .5s ease;
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(129,140,248,0.3);
  background: linear-gradient(180deg, rgba(24,31,58,0.7), rgba(17,23,46,0.5));
}
.feature-card:hover::before { opacity: 1; }

.feature-card__icon {
  width: 48px; height: 48px;
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  position: relative; z-index: 1;
}
.feature-card__icon--indigo {
  background: linear-gradient(135deg, rgba(99,102,241,0.18), rgba(99,102,241,0.04));
  border: 1px solid rgba(129,140,248,0.28);
  color: var(--indigo-bright);
}
.feature-card__icon--violet {
  background: linear-gradient(135deg, rgba(139,92,246,0.18), rgba(139,92,246,0.04));
  border: 1px solid rgba(167,139,250,0.28);
  color: var(--violet-bright);
}
.feature-card__icon--amber {
  background: linear-gradient(135deg, rgba(245,158,11,0.18), rgba(245,158,11,0.04));
  border: 1px solid rgba(251,191,36,0.28);
  color: var(--amber-bright);
}
.feature-card__icon--emerald {
  background: linear-gradient(135deg, rgba(16,185,129,0.18), rgba(16,185,129,0.04));
  border: 1px solid rgba(52,211,153,0.28);
  color: #34D399;
}

.feature-card h3 {
  font-size: 17px; font-weight: 700;
  color: var(--text-0);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
  position: relative; z-index: 1;
}
.feature-card p {
  font-size: 13.5px; line-height: 1.65;
  color: var(--text-3);
  margin-bottom: 16px;
  position: relative; z-index: 1;
}
.feature-card__bullets {
  display: flex; flex-direction: column; gap: 6px;
  padding-top: 14px;
  border-top: 1px dashed var(--line-1);
  position: relative; z-index: 1;
}
.feature-card__bullets li {
  font-size: 12px; color: var(--text-4);
  display: flex; align-items: center; gap: 6px;
}
.feature-card__bullets li::before {
  content: ""; width: 4px; height: 4px;
  background: var(--indigo-bright); border-radius: 50%;
}

/* ---------- Product Showcase ---------- */
.product { padding: 40px 0 120px; }
.showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 120px;
}
.showcase:nth-of-type(2) { margin-top: 0; }
.showcase--reverse .showcase__copy { order: 2; }

.showcase__step {
  display: inline-block;
  font-family: var(--ff-mono);
  font-size: 12px; font-weight: 600;
  color: var(--amber-bright);
  letter-spacing: 0.18em;
  margin-bottom: 16px;
}
.showcase__copy h3 {
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--text-0);
  margin-bottom: 18px;
}
.showcase__copy p {
  font-size: 15.5px; line-height: 1.75;
  color: var(--text-3);
  margin-bottom: 24px;
}
.showcase__copy strong { color: var(--text-1); font-weight: 600; }

.showcase__list { display: flex; flex-direction: column; gap: 10px; }
.showcase__list li {
  display: flex; align-items: center; gap: 12px;
  font-size: 14px; color: var(--text-2);
}
.showcase__list .dot {
  width: 8px; height: 8px; border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 10px currentColor;
}
.dot--indigo { background: var(--indigo-bright); color: var(--indigo-bright); }
.dot--violet { background: var(--violet-bright); color: var(--violet-bright); }
.dot--amber { background: var(--amber-bright); color: var(--amber-bright); }
.dot--emerald { background: #34D399; color: #34D399; }

.showcase__device {
  display: flex; justify-content: center; align-items: center;
  position: relative;
}
.showcase__device::before {
  content: ""; position: absolute;
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(99,102,241,0.18), transparent 70%);
  filter: blur(40px);
  z-index: -1;
}

/* Transcript list (showcase) */
.progress-bar {
  position: relative;
  height: 22px;
  background: rgba(255,255,255,0.05);
  border-radius: var(--r-pill);
  margin: 4px 4px 14px;
  overflow: hidden;
  border: 1px solid var(--line-1);
}
.progress-bar__fill {
  position: absolute; inset: 2px auto 2px 2px;
  width: var(--w);
  background: var(--grad-brand);
  border-radius: var(--r-pill);
  display: flex; align-items: center; justify-content: flex-end;
  padding-right: 8px;
}
.progress-bar__label {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 9.5px; font-weight: 600; color: var(--text-2);
  letter-spacing: 0.06em;
}

.transcript-list { display: flex; flex-direction: column; gap: 8px; }
.ts-block {
  background: rgba(17,23,46,0.6);
  border: 1px solid var(--line-1);
  border-radius: var(--r-sm);
  padding: 8px 10px;
  display: flex; gap: 8px;
  align-items: flex-start;
}
.ts-block p {
  font-size: 11.5px; line-height: 1.55;
  color: var(--text-2);
  margin: 0;
}
.ts-block--typing { opacity: 0.7; }
.caret {
  display: inline-block;
  width: 1.5px; height: 11px;
  background: var(--indigo-bright);
  vertical-align: middle;
  animation: blink 1s steps(2) infinite;
  margin-left: 2px;
}
@keyframes blink { 50% { opacity: 0; } }

/* Review card (showcase step 3) */
.review-card {
  background: #fff;
  color: #1C1917;
  border-radius: var(--r-md);
  padding: 14px;
  box-shadow: 0 12px 30px -12px rgba(99,102,241,0.4);
  border: 1px solid rgba(99,102,241,0.18);
  font-size: 11.5px;
}
.review-card__head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid #E5E7EB;
}
.review-card__tag {
  display: inline-block;
  font-size: 9.5px; font-weight: 700;
  letter-spacing: 0.1em;
  color: #fff;
  background: linear-gradient(135deg, #6366F1, #8B5CF6);
  padding: 3px 8px;
  border-radius: var(--r-pill);
}
.review-card__refresh {
  font-size: 10px; color: #6366F1; font-weight: 600;
}
.review-card h4 {
  font-size: 11px; font-weight: 700;
  color: #6B7280;
  text-transform: uppercase; letter-spacing: 0.12em;
  margin: 10px 0 6px;
}
.review-card p { font-size: 11px; line-height: 1.6; color: #374151; margin-bottom: 4px; }
.review-card p.muted { color: #6B7280; }
.review-card strong { color: #111827; }
.role-chip {
  display: inline-block;
  font-size: 10px; font-weight: 500;
  padding: 4px 9px;
  border-radius: var(--r-pill);
  margin: 3px 4px 3px 0;
}
.role-chip--a { background: rgba(99,102,241,0.12); color: #4F46E5; }
.role-chip--b { background: rgba(139,92,246,0.12); color: #7C3AED; }
.role-chip--c { background: rgba(245,158,11,0.14); color: #B45309; }

/* Lang switch + translate pane */
.lang-switch {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  margin: 4px 0 14px;
}
.lang-switch__item {
  font-size: 10px; font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line-2);
  color: var(--text-3);
  letter-spacing: 0.08em;
}
.lang-switch__item--active {
  background: var(--grad-brand);
  color: #fff;
  border-color: transparent;
}
.lang-switch__arrow { color: var(--text-4); font-size: 11px; }

.translate-pane { display: flex; flex-direction: column; gap: 8px; margin-bottom: 10px; }
.translate-pane__row {
  background: rgba(17,23,46,0.6);
  border: 1px solid var(--line-1);
  border-radius: var(--r-sm);
  padding: 8px 10px;
  display: flex; gap: 8px; align-items: flex-start;
}
.translate-pane__row p { font-size: 11px; line-height: 1.5; margin: 0; }
.translate-pane__row .src { color: var(--text-3); margin-bottom: 3px; }
.translate-pane__row .dst { color: var(--text-1); font-weight: 500; }

.translate-actions { display: flex; gap: 6px; }
.translate-actions button {
  flex: 1;
  font-size: 10px; font-weight: 500;
  padding: 7px;
  border-radius: var(--r-sm);
  background: rgba(16,185,129,0.1);
  border: 1px solid rgba(16,185,129,0.25);
  color: #6EE7B7;
}

/* ---------- Security ---------- */
.security { padding: 120px 0; }
.security__inner {
  display: grid; grid-template-columns: 1.1fr 0.9fr;
  gap: 80px; align-items: center;
  padding: 64px;
  background: linear-gradient(135deg, rgba(11,15,30,0.85), rgba(17,23,46,0.6));
  border: 1px solid var(--line-2);
  border-radius: var(--r-xl);
  position: relative;
  overflow: hidden;
}
.security__inner::before {
  content: ""; position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(245,158,11,0.15), transparent 70%);
  filter: blur(60px);
}

.security__title {
  display: flex; align-items: center; gap: 16px;
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-0);
  margin: 16px 0 18px;
  line-height: 1.15;
}
.security__lock {
  display: flex; align-items: center; justify-content: center;
  width: 56px; height: 56px;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, rgba(245,158,11,0.2), rgba(245,158,11,0.05));
  border: 1px solid rgba(251,191,36,0.3);
  color: var(--amber-bright);
  flex-shrink: 0;
}
.security__lead {
  font-size: 16px; line-height: 1.75;
  color: var(--text-3);
  margin-bottom: 36px;
  max-width: 540px;
}
.security__lead strong { color: var(--text-1); font-weight: 600; }

.security__list { display: flex; flex-direction: column; gap: 22px; }
.security__list li {
  display: flex; gap: 18px; align-items: flex-start;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line-1);
}
.security__list li:last-child { border-bottom: 0; padding-bottom: 0; }
.security__num {
  font-family: var(--ff-mono);
  font-size: 13px; font-weight: 700;
  color: var(--amber-bright);
  letter-spacing: 0.06em;
  padding-top: 2px;
  flex-shrink: 0;
}
.security__list strong {
  display: block;
  font-size: 15px; font-weight: 600;
  color: var(--text-1);
  margin-bottom: 4px;
}
.security__list p { font-size: 13.5px; line-height: 1.6; color: var(--text-3); }

/* Shield */
.security__visual {
  position: relative;
  display: flex; flex-direction: column;
  align-items: center; gap: 28px;
}
.shield {
  position: relative;
  width: 280px; height: 280px;
  display: flex; align-items: center; justify-content: center;
}
.shield__ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(129,140,248,0.18);
}
.shield__ring--1 { width: 100%; height: 100%; animation: ringRotate 22s linear infinite; }
.shield__ring--2 { width: 76%; height: 76%; border-style: dashed; border-color: rgba(167,139,250,0.22); animation: ringRotate 16s linear infinite reverse; }
.shield__ring--3 { width: 52%; height: 52%; border-color: rgba(251,191,36,0.22); animation: ringRotate 12s linear infinite; }
@keyframes ringRotate { to { transform: rotate(360deg); } }

.shield__ring--1::before, .shield__ring--1::after {
  content: ""; position: absolute;
  width: 6px; height: 6px;
  background: var(--indigo-bright);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--indigo-bright);
}
.shield__ring--1::before { top: -3px; left: 50%; transform: translateX(-50%); }
.shield__ring--1::after  { bottom: -3px; left: 50%; transform: translateX(-50%); background: var(--amber-bright); box-shadow: 0 0 10px var(--amber-bright); }

.shield__core {
  position: relative;
  width: 110px; height: 110px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 6px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99,102,241,0.4) 0%, rgba(11,15,30,0.95) 70%);
  border: 1px solid rgba(129,140,248,0.4);
  color: var(--indigo-bright);
  box-shadow: 0 0 40px rgba(99,102,241,0.4), inset 0 0 20px rgba(99,102,241,0.15);
}
.shield__core svg { width: 32px; height: 32px; }
.shield__core span {
  font-size: 9px; font-weight: 700;
  color: var(--text-2);
  letter-spacing: 0.18em;
}

.shield__particle {
  position: absolute;
  width: 4px; height: 4px;
  background: var(--amber-bright);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--amber-bright);
  animation: particle 6s ease-in-out infinite;
}
.shield__particle--a { top: 10%; left: 20%; animation-delay: 0s; }
.shield__particle--b { top: 25%; right: 12%; background: var(--indigo-bright); box-shadow: 0 0 8px var(--indigo-bright); animation-delay: 1.5s; }
.shield__particle--c { bottom: 20%; left: 12%; background: var(--violet-bright); box-shadow: 0 0 8px var(--violet-bright); animation-delay: 3s; }
.shield__particle--d { bottom: 12%; right: 22%; animation-delay: 4.5s; }
@keyframes particle {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.4; }
  50% { transform: translateY(-10px) scale(1.4); opacity: 1; }
}

.security__caption {
  width: 100%;
  background: rgba(7,9,15,0.6);
  border: 1px solid var(--line-1);
  border-radius: var(--r-md);
  padding: 14px 18px;
  display: flex; flex-direction: column; gap: 8px;
}
.security__caption-row {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px;
}
.security__caption-row span { color: var(--text-3); }
.security__caption-row b {
  font-size: 12px; font-weight: 600;
  padding: 3px 9px;
  border-radius: var(--r-pill);
  letter-spacing: 0.04em;
}
.security__caption-row b.bad {
  color: #FCA5A5;
  background: rgba(239,68,68,0.1);
  border: 1px solid rgba(239,68,68,0.28);
}
.security__caption-row b.good {
  color: #6EE7B7;
  background: rgba(16,185,129,0.1);
  border: 1px solid rgba(16,185,129,0.28);
}

/* ---------- Scenarios ---------- */
.scenarios { padding: 60px 0 120px; }
.scenarios__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.scenario {
  padding: 32px 28px;
  background: linear-gradient(180deg, rgba(17,23,46,0.5), rgba(11,15,30,0.3));
  border: 1px solid var(--line-1);
  border-radius: var(--r-lg);
  transition: transform .5s var(--ease-out), border-color .5s var(--ease-out);
  position: relative;
  overflow: hidden;
}
.scenario::after {
  content: ""; position: absolute;
  bottom: 0; left: 0; right: 0; height: 1px;
  background: var(--grad-brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s var(--ease-out);
}
.scenario:hover {
  transform: translateY(-3px);
  border-color: rgba(129,140,248,0.28);
}
.scenario:hover::after { transform: scaleX(1); }

.scenario__icon {
  width: 44px; height: 44px;
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(99,102,241,0.14), rgba(139,92,246,0.04));
  border: 1px solid var(--line-2);
  color: var(--indigo-bright);
  margin-bottom: 18px;
}
.scenario h3 {
  font-size: 17px; font-weight: 700;
  color: var(--text-0);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.scenario p {
  font-size: 13.5px; line-height: 1.65;
  color: var(--text-3);
}

/* ---------- Download ---------- */
.download { padding: 80px 0 120px; }
.download__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px; align-items: center;
  padding: 64px;
  background: linear-gradient(135deg, rgba(99,102,241,0.16), rgba(139,92,246,0.08) 50%, rgba(11,15,30,0.6));
  border: 1px solid rgba(129,140,248,0.25);
  border-radius: var(--r-xl);
  position: relative;
  overflow: hidden;
}
.download__inner::before {
  content: ""; position: absolute;
  top: -200px; right: -150px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(245,158,11,0.18), transparent 70%);
  filter: blur(80px);
}
.download__title {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-0);
  margin: 14px 0 16px;
  line-height: 1.18;
}
.download__lead {
  font-size: 15.5px; line-height: 1.75;
  color: var(--text-3);
  margin-bottom: 28px;
}

.reserve__label {
  display: block;
  font-size: 12px; font-weight: 600;
  color: var(--text-3);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.reserve__row {
  display: flex; gap: 8px;
  max-width: 440px;
}
.reserve__row input {
  flex: 1;
  padding: 14px 18px;
  background: rgba(7,9,15,0.6);
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  color: var(--text-1);
  font-size: 14px;
  outline: none;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.reserve__row input::placeholder { color: var(--text-5); }
.reserve__row input:focus {
  border-color: var(--indigo-bright);
  box-shadow: 0 0 0 3px rgba(99,102,241,0.18);
}
.reserve__hint {
  margin-top: 10px;
  font-size: 12.5px;
  color: var(--text-3);
  min-height: 18px;
}
.reserve__hint.is-success { color: #6EE7B7; }
.reserve__hint.is-error { color: #FCA5A5; }

/* Stores */
.download__stores { display: flex; flex-direction: column; gap: 12px; }
.store {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 22px;
  background: rgba(7,9,15,0.65);
  border: 1px solid var(--line-2);
  border-radius: var(--r-md);
  transition: transform .35s var(--ease-out), border-color .35s var(--ease-out), background .35s var(--ease-out);
  position: relative;
}
.store:hover {
  transform: translateY(-2px);
  border-color: rgba(129,140,248,0.4);
  background: rgba(17,23,46,0.8);
}
.store svg { color: var(--text-1); flex-shrink: 0; }
.store--ios svg { color: #fff; }
.store--android svg { color: #A78BFA; }
.store__meta { display: flex; flex-direction: column; line-height: 1.3; }
.store__sub {
  font-size: 10.5px; font-weight: 500;
  color: var(--text-4); letter-spacing: 0.06em;
}
.store__name {
  font-size: 16px; font-weight: 700;
  color: var(--text-0);
  margin-top: 2px;
}
.store::after {
  content: "即将上线";
  position: absolute; top: 12px; right: 16px;
  font-size: 10px; font-weight: 600;
  color: var(--amber-bright);
  background: rgba(245,158,11,0.1);
  border: 1px solid rgba(245,158,11,0.3);
  padding: 3px 9px;
  border-radius: var(--r-pill);
  letter-spacing: 0.06em;
}

/* ---------- FAQ ---------- */
.faq { padding: 40px 0 120px; }
.faq__list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: linear-gradient(180deg, rgba(17,23,46,0.5), rgba(11,15,30,0.3));
  border: 1px solid var(--line-1);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color .3s ease;
}
.faq-item[open] { border-color: rgba(129,140,248,0.3); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  padding: 22px 26px;
  cursor: pointer;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--text-1);
  list-style: none;
  transition: background .25s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { background: rgba(255,255,255,0.02); }
.faq-item__icon {
  flex-shrink: 0;
  width: 24px; height: 24px;
  position: relative;
}
.faq-item__icon::before, .faq-item__icon::after {
  content: ""; position: absolute;
  background: var(--indigo-bright);
  border-radius: 1px;
  transition: transform .3s var(--ease-out);
}
.faq-item__icon::before { top: 50%; left: 4px; right: 4px; height: 2px; transform: translateY(-50%); }
.faq-item__icon::after { left: 50%; top: 4px; bottom: 4px; width: 2px; transform: translateX(-50%); }
.faq-item[open] .faq-item__icon::after { transform: translateX(-50%) rotate(90deg); opacity: 0; }

.faq-item__body {
  padding: 0 26px 24px;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--text-3);
  animation: faqOpen .4s var(--ease-out);
}
@keyframes faqOpen {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--line-1);
  background: linear-gradient(180deg, transparent, rgba(11,15,30,0.6));
  padding: 64px 0 0;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 2fr;
  gap: 64px;
  padding-bottom: 48px;
}
.footer__tagline {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--text-4);
  margin-top: 18px;
}
.brand--footer .brand__cn { color: var(--text-1); }

.footer__nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer__col h4 {
  font-size: 12px; font-weight: 700;
  color: var(--text-2);
  letter-spacing: 0.18em; text-transform: uppercase;
  margin-bottom: 16px;
}
.footer__col a {
  display: block;
  font-size: 13.5px;
  color: var(--text-4);
  margin-bottom: 10px;
  transition: color .25s ease;
}
.footer__col a:hover { color: var(--indigo-bright); }

.footer__bar { border-top: 1px solid var(--line-1); padding: 20px 0; }
.footer__bar-inner {
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; flex-wrap: wrap;
}
.footer__bar p { font-size: 12.5px; color: var(--text-4); }
.footer__icp { display: flex; align-items: center; gap: 8px; }
.footer__icp a { color: var(--text-4); transition: color .25s ease; }
.footer__icp a:hover { color: var(--indigo-bright); }

/* ---------- Toast ---------- */
.toast {
  position: fixed; bottom: 28px; left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: rgba(17,23,46,0.96);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(129,140,248,0.4);
  color: var(--text-1);
  padding: 12px 22px;
  border-radius: var(--r-pill);
  font-size: 13.5px; font-weight: 500;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s var(--ease-out), transform .35s var(--ease-out);
  z-index: 1000;
  box-shadow: var(--shadow-pop);
}
.toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ---------- Reveal Animation (progressive enhancement, never blocks visibility) ----------
   默认全部可见。JS 启用后，未进入视口的元素获得 .is-pending（柔和的预动画态），
   进入视口后切换为最终态。这样：
   - 无 JS / 爬虫 / headless 截图 / IO 异常：内容永远可见
   - 有 JS 的真实用户：得到精致的滚动渐入 */
.js .reveal.is-pending {
  opacity: 0.001;
  transform: translateY(24px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 80ms);
}
.js .reveal.is-revealed {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .js .reveal.is-pending { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .features__grid { grid-template-columns: repeat(2, 1fr); }
  .scenarios__grid { grid-template-columns: repeat(2, 1fr); }
  .hero__grid { gap: 40px; }
  .security__inner, .download__inner { padding: 48px; gap: 48px; }
}

@media (max-width: 860px) {
  .nav__menu { display: none; }
  .nav__cta .btn--primary span { display: none; }
  .nav__cta .btn--primary { padding: 9px; }
  .nav__burger { display: flex; }

  .hero { padding: 130px 0 80px; min-height: auto; }
  .hero__grid { grid-template-columns: 1fr; gap: 56px; }
  .hero__copy { text-align: center; order: 2; }
  .hero__badge, .hero__actions { justify-content: center; }
  .hero__lead { margin-left: auto; margin-right: auto; }
  .hero__stats { justify-content: center; gap: 32px; }
  .hero__device { order: 1; }
  .hero__scroll { display: none; }

  .features, .product, .security, .scenarios, .download, .faq { padding: 80px 0; }
  .section-head { margin-bottom: 48px; }

  .showcase { grid-template-columns: 1fr; gap: 40px; margin-bottom: 80px; }
  .showcase--reverse .showcase__copy { order: 0; }
  .showcase__copy { text-align: center; }
  .showcase__list { display: inline-flex; flex-direction: column; align-items: flex-start; }

  .security__inner, .download__inner {
    grid-template-columns: 1fr;
    padding: 36px 24px;
    gap: 36px;
  }
  .security__title { font-size: 28px; }
  .security__visual { order: -1; }

  .download__inner { text-align: center; }
  .reserve__row { margin: 0 auto; }
  .download__stores { max-width: 360px; margin: 0 auto; width: 100%; }

  .footer__inner { grid-template-columns: 1fr; gap: 36px; }
  .footer__nav { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 560px) {
  .container { padding: 0 18px; }
  .features__grid { grid-template-columns: 1fr; }
  .scenarios__grid { grid-template-columns: 1fr; }
  .footer__nav { grid-template-columns: 1fr 1fr; }
  .footer__bar-inner { justify-content: center; text-align: center; }

  .hero__stats { gap: 20px; }
  .hero__stats dt { font-size: 26px; }
  .hero__stats dd { font-size: 11.5px; }

  .security__inner, .download__inner { padding: 32px 20px; }
  .security__title { font-size: 26px; }
  .download__title { font-size: 26px; }

  .phone { width: 270px; }
  .phone--mini { width: 230px; }
  .shield { width: 240px; height: 240px; }
  .shield__core { width: 96px; height: 96px; }

  .faq-item summary { padding: 18px 20px; font-size: 14.5px; }
  .faq-item__body { padding: 0 20px 20px; font-size: 14px; }

  .reserve__row { flex-direction: column; }
  .reserve__row .btn { width: 100%; justify-content: center; }
}

@media (hover: none) {
  .phone { transform: none !important; }
  .hero__device:hover .phone { transform: none; }
  .feature-card:hover, .scenario:hover, .store:hover { transform: none; }
}

/* ============================================================
   Language Switch (胶囊式中 / EN)
   ============================================================ */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line-2);
  border-radius: var(--r-pill);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.lang-switch__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-3);
  border-radius: var(--r-pill);
  transition: color .25s ease, background .35s var(--ease-out);
  cursor: pointer;
  white-space: nowrap;
}
.lang-switch__item:hover { color: var(--text-0); }
.lang-switch__item.is-active {
  background: var(--grad-brand);
  color: #fff;
  box-shadow: 0 4px 12px -4px rgba(99,102,241,0.55);
}
.lang-switch__sep {
  color: var(--text-5);
  font-size: 11px;
  padding: 0 1px;
  user-select: none;
}

/* 桌面端：放在 nav__cta 里，与 burger / 主 CTA 同行 */
.nav__cta .lang-switch { margin-right: 4px; }

/* 移动端 drawer 内的切换器：占满一行，更大触摸目标 */
.drawer .lang-switch {
  margin: 16px 0 8px;
  align-self: stretch;
  justify-content: center;
  padding: 4px;
}
.drawer .lang-switch__item {
  flex: 1;
  min-width: 0;
  padding: 9px 0;
  font-size: 13px;
}

/* 极窄屏：导航里的切换器收紧间距 */
@media (max-width: 380px) {
  .nav__cta .lang-switch__item { min-width: 26px; padding: 5px 7px; }
}
