/* =========================================================
   乐学西驾 · Lexue Xijia — Official site
   Design tokens
   ========================================================= */
:root {
  --bg: #ffffff;
  --bg-soft: #f5f8fd;
  --bg-soft-2: #eef3fb;
  --ink: #0d1627;
  --ink-2: #46536b;
  --ink-3: #6b7891;
  --muted: #8b97ad;
  --line: #e3e9f3;
  --line-strong: #d3dceb;
  --blue: #1e6bff;
  --blue-dark: #0f4fd8;
  --blue-soft: #eaf1ff;
  --yellow: #ffc42e;
  --yellow-deep: #f2a900;
  --yellow-soft: #fff6da;
  --red: #ff3352;
  --red-soft: #ffedf0;
  --green: #12b76a;
  --green-soft: #e7f8f0;
  --navy: #0b1220;
  --navy-2: #121d33;
  --radius-lg: 26px;
  --radius: 20px;
  --radius-sm: 14px;
  --container: 1180px;
  --header-h: 76px;
  --font: "Inter", "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --shadow-soft: 0 18px 40px -24px rgba(13, 22, 39, 0.28);
  --shadow-phone: 0 40px 80px -32px rgba(13, 22, 39, 0.45);
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: 0;
  background: none;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

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

::selection {
  background: rgba(30, 107, 255, 0.18);
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

.section {
  padding: 96px 0;
  position: relative;
}

.section--tight {
  padding: 72px 0;
}

.section--soft {
  background: var(--bg-soft);
}

.page-badge {
  margin-top: 18px;
}

.cta-inner--simple {
  grid-template-columns: minmax(0, 1fr);
}

.section-head {
  max-width: 720px;
  margin-bottom: 52px;
}

.section-head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 18px;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--yellow);
}

.section-title {
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.14;
  letter-spacing: -0.028em;
  font-weight: 800;
}

.section-lead {
  margin-top: 18px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-2);
}

.section-head--center .section-lead {
  margin-left: auto;
  margin-right: auto;
  max-width: 620px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  transition: transform 0.22s ease, background 0.22s ease, border-color 0.22s ease,
    color 0.22s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

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

.btn svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 14px 26px -16px rgba(30, 107, 255, 0.75);
}

.btn-primary:hover {
  background: var(--blue-dark);
}

.btn-ghost {
  background: #fff;
  border-color: var(--line-strong);
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.btn-yellow {
  background: var(--yellow);
  color: #3c2b00;
}

.btn-yellow:hover {
  background: #ffcf55;
}

.btn-sm {
  padding: 10px 18px;
  font-size: 13.5px;
}

.btn[disabled],
.btn.is-disabled {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
}

.btn-block {
  width: 100%;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 700;
  font-size: 14px;
  color: var(--blue);
}

.link-arrow svg {
  width: 16px;
  height: 16px;
  transition: transform 0.22s ease;
}

.link-arrow:hover svg {
  transform: translateX(3px);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(1.4) blur(16px);
  -webkit-backdrop-filter: saturate(1.4) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
}

.header-inner {
  height: 76px;
  display: flex;
  align-items: center;
  gap: 26px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 2px;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-size: 16.5px;
  font-weight: 800;
  letter-spacing: -0.015em;
}

.brand-sub {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--muted);
  margin-top: 3px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
  min-width: 0;
  flex: 0 1 auto;
}

.main-nav a {
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease;
}

.main-nav a:hover {
  background: var(--bg-soft);
  color: var(--ink);
}

.main-nav a.is-active {
  color: var(--blue);
  background: var(--blue-soft);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.header-actions .btn,
.nav-auth .btn {
  flex: 0 0 auto;
  white-space: nowrap;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  border-radius: 999px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
}

.lang-btn {
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--muted);
  transition: color 0.2s ease, background 0.2s ease;
}

.lang-btn:hover {
  color: var(--ink);
}

.lang-btn.is-active {
  background: #fff;
  color: var(--ink);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line);
  align-items: center;
  justify-content: center;
  margin-left: auto;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s ease, top 0.2s ease;
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

.nav-toggle[aria-expanded="true"] span {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] span::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span::after {
  top: 0;
  transform: rotate(-45deg);
}

.theme-toggle {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  display: inline-grid;
  place-items: center;
  color: var(--muted);
  flex: 0 0 auto;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.theme-toggle:hover {
  color: var(--blue);
  border-color: var(--blue);
  background: var(--blue-soft);
}

.theme-toggle svg {
  width: 17px;
  height: 17px;
}

.theme-toggle .icon-sun {
  display: none;
}

html[data-theme="dark"] .theme-toggle .icon-sun {
  display: block;
}

html[data-theme="dark"] .theme-toggle .icon-moon {
  display: none;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 64px 0 84px;
  background:
    radial-gradient(900px 480px at 88% 8%, rgba(255, 196, 46, 0.16), transparent 62%),
    radial-gradient(760px 460px at 4% 76%, rgba(30, 107, 255, 0.09), transparent 66%),
    #fff;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(13, 22, 39, 0.07) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(ellipse 60% 50% at 62% 40%, #000 20%, transparent 76%);
  -webkit-mask-image: radial-gradient(ellipse 60% 50% at 62% 40%, #000 20%, transparent 76%);
  opacity: 0.55;
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 56px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px 8px 10px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-2);
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(18, 183, 106, 0.14);
  margin-left: 4px;
}

.hero-badge .flag {
  font-size: 13px;
  letter-spacing: 0.02em;
}

.hero h1 {
  margin: 24px 0 0;
  font-size: clamp(36px, 5.2vw, 62px);
  line-height: 1.06;
  letter-spacing: -0.035em;
  font-weight: 800;
}

.hero h1 .hl {
  color: var(--blue);
  background: linear-gradient(transparent 64%, rgba(255, 196, 46, 0.55) 64%);
  padding: 0 2px;
}

/* ---------- Hero poster（纯文字宣传海报） ---------- */
.hero--poster {
  background:
    radial-gradient(680px 420px at 86% 4%, rgba(255, 196, 46, 0.18), transparent 62%),
    radial-gradient(720px 460px at 6% 96%, rgba(30, 107, 255, 0.42), transparent 66%),
    linear-gradient(158deg, #26326f 0%, #1c2659 48%, #151e46 100%);
  color: #eef2ff;
}

.hero--poster::after {
  background-image: radial-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1px);
  opacity: 0.28;
}

.hero--poster .hero-badge {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.22);
  color: #e3e9ff;
}

.hero--poster .hero-badge .badge-star {
  color: var(--yellow);
  font-size: 12px;
  line-height: 1;
}

.hero--poster h1 {
  color: #fff;
}

.hero--poster h1 .hl {
  color: var(--yellow);
  background: none;
  padding: 0;
}

.hero--poster .hero-lead {
  color: rgba(232, 238, 255, 0.82);
}

.hero--poster .hero-note {
  color: rgba(232, 238, 255, 0.6);
}

.hero--poster .btn-primary {
  background: var(--yellow);
  color: #16204a;
  box-shadow: 0 18px 34px -20px rgba(255, 196, 46, 0.9);
}

.hero--poster .btn-primary:hover {
  background: #ffd158;
  color: #16204a;
}

.hero--poster .btn-primary svg {
  color: #16204a;
}

.hero--poster .btn-ghost {
  border-color: rgba(255, 255, 255, 0.36);
  color: #eef2ff;
  background: transparent;
}

.hero--poster .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.5);
}

.hero-chips {
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-chips li {
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
  font-size: 12.5px;
  font-weight: 600;
  color: #e3e9ff;
}

.poster-panel {
  display: grid;
  gap: 14px;
  padding: 22px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(6px);
}

.poster-stat {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.poster-stat b {
  flex: 0 0 auto;
  min-width: 112px;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--yellow);
}

.poster-stat span {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}

.poster-stat small {
  display: block;
  margin-top: 3px;
  font-size: 12px;
  line-height: 1.5;
  color: rgba(226, 234, 255, 0.66);
}

html[data-theme="dark"] .hero--poster {
  background:
    radial-gradient(680px 420px at 86% 4%, rgba(255, 196, 46, 0.14), transparent 62%),
    radial-gradient(720px 460px at 6% 96%, rgba(30, 107, 255, 0.3), transparent 66%),
    linear-gradient(158deg, #121b3c 0%, #0d1530 52%, #0a1128 100%);
}

.hero-lead {
  margin-top: 22px;
  max-width: 540px;
  font-size: 17.5px;
  line-height: 1.72;
  color: var(--ink-2);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
}

.hero-note {
  margin-top: 18px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.01em;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 46px;
  padding-top: 26px;
  border-top: 1px dashed var(--line-strong);
}

.stat-value {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  white-space: nowrap;
}

.stat-value em {
  font-style: normal;
  color: var(--blue);
}

.stat-label {
  margin-top: 7px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
  font-weight: 500;
}

/* ---------- Hero phone stage ---------- */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 640px;
}

.stage-ring {
  position: absolute;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  border: 1.5px dashed rgba(30, 107, 255, 0.24);
  animation: spin 70s linear infinite;
}

.stage-ring::after {
  content: "";
  position: absolute;
  inset: 56px;
  border-radius: 50%;
  border: 1px solid rgba(255, 196, 46, 0.35);
}

.stage-glow {
  position: absolute;
  width: 430px;
  height: 430px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(30, 107, 255, 0.16), transparent 66%);
  filter: blur(8px);
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.hero-phone {
  transform: rotate(-2.5deg);
  transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.hero-phone:hover {
  transform: rotate(0deg) translateY(-6px);
}

.float-card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink-2);
  animation: float 7s ease-in-out infinite;
}

.float-card b {
  display: block;
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.float-card--ai {
  top: 108px;
  left: -6px;
}

.float-card--ok {
  bottom: 108px;
  right: -14px;
  animation-delay: -3s;
}

.float-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.float-icon svg {
  width: 17px;
  height: 17px;
}

.float-icon--blue {
  background: var(--blue-soft);
  color: var(--blue);
}

.float-icon--green {
  background: var(--green-soft);
  color: var(--green);
}

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

/* ---------- Phone frame & screen ---------- */
.phone {
  position: relative;
  width: 300px;
  border-radius: 46px;
  padding: 9px;
  background: linear-gradient(150deg, #1c2739, #080d16 62%);
  box-shadow: var(--shadow-phone);
  flex: 0 0 auto;
}

.phone::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 86px;
  height: 22px;
  border-radius: 999px;
  background: #05070d;
  z-index: 6;
}

.phone-screen {
  position: relative;
  border-radius: 38px;
  overflow: hidden;
  background: var(--bg-soft);
  height: 610px;
  display: flex;
  flex-direction: column;
}

.statusbar {
  flex: 0 0 auto;
  height: 36px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10px;
  font-weight: 800;
  color: #1b2434;
  letter-spacing: 0.01em;
  z-index: 5;
}

.statusbar-icons {
  display: flex;
  align-items: center;
  gap: 5px;
}

.statusbar-icons svg {
  width: 12px;
  height: 12px;
}

.screen-body {
  flex: 1 1 auto;
  min-height: 0;
  padding: 6px 14px 76px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.mock-spacer {
  flex: 1 1 auto;
  min-height: 6px;
}

.mock-version {
  padding: 8px 0 2px;
  text-align: center;
  font-size: 8px;
  font-weight: 600;
  color: var(--muted);
}

.phone.phone--hero .phone-screen {
  background: linear-gradient(180deg, #eef4ff 0%, #f6f8fd 40%);
}

/* ---------- Hero result screen ---------- */
.result-screen {
  padding-bottom: 0;
}

.result-hero {
  margin: 2px 12px 0;
  padding: 18px 18px 22px;
  border-radius: 22px;
  background: linear-gradient(150deg, #2d7bff, #1354e8 74%);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.result-hero::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 22px solid rgba(255, 255, 255, 0.08);
  right: -70px;
  bottom: -80px;
}

.result-kicker {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}

.result-score {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  margin-top: 6px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.result-score b {
  font-size: 48px;
  line-height: 1;
}

.result-score span {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.72);
}

.result-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  font-size: 10.5px;
  font-weight: 700;
}

.result-pill::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #7dffb8;
}

.result-sub {
  margin-top: 10px;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.72);
}

.result-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 14px 12px 0;
}

.result-stat {
  padding: 10px 6px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
  text-align: center;
}

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

.result-stat span {
  display: block;
  margin-top: 3px;
  font-size: 8.5px;
  color: var(--muted);
  font-weight: 600;
}

.result-card {
  margin: 10px 12px 0;
  padding: 12px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
}

.result-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10.5px;
  font-weight: 800;
}

.result-card-head span {
  font-size: 9px;
  color: var(--muted);
  font-weight: 600;
}

.result-rows {
  margin-top: 8px;
  display: grid;
  gap: 6px;
}

.result-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 9.5px;
  color: var(--ink-3);
}

.result-row b {
  color: var(--ink);
  font-weight: 700;
}

.result-row .ok {
  color: var(--green);
  font-weight: 700;
}

.result-btn {
  margin: 10px 12px 0;
  height: 38px;
  border-radius: 12px;
  background: var(--blue);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 10.5px;
  font-weight: 700;
}

/* ---------- Preview mock screens ---------- */
.mock-topbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 2px 14px 10px;
  flex: 0 0 auto;
}

.mock-topbar .mock-city {
  font-size: 12px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 4px;
}

.mock-topbar .mock-icons {
  margin-left: auto;
  display: flex;
  gap: 10px;
  color: var(--ink-3);
}

.mock-topbar .mock-icons svg {
  width: 15px;
  height: 15px;
}

.mock-search {
  margin: 0 14px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 10px 9px 12px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 9.5px;
  color: var(--muted);
}

.mock-search svg {
  width: 13px;
  height: 13px;
  flex: 0 0 auto;
}

.mock-search .mock-search-btn {
  margin-left: auto;
  padding: 5px 10px;
  border-radius: 8px;
  background: var(--red);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
}

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

.mock-cat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 8.5px;
  font-weight: 600;
  color: var(--ink-2);
}

.mock-cat i {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
}

.mock-cat i svg {
  width: 16px;
  height: 16px;
}

.mock-cat:nth-child(1) i {
  background: linear-gradient(140deg, #ff6b7f, #f0203f);
}

.mock-cat:nth-child(2) i {
  background: linear-gradient(140deg, #a06bff, #7c3aed);
}

.mock-cat:nth-child(3) i {
  background: linear-gradient(140deg, #4c97ff, #1e6bff);
}

.mock-cat:nth-child(4) i {
  background: linear-gradient(140deg, #35d59a, #0f9d63);
}

.mock-banner {
  margin: 0 14px 10px;
  padding: 13px 14px;
  border-radius: 16px;
  background: linear-gradient(135deg, #eaf1ff, #f6f9ff 60%, #fff8e0);
  border: 1px solid #e0e9fb;
  position: relative;
  overflow: hidden;
}

.mock-banner b {
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #123c8a;
}

.mock-banner small {
  display: block;
  margin-top: 3px;
  font-size: 8.5px;
  color: var(--ink-3);
}

.mock-banner .mock-chip {
  position: absolute;
  right: 12px;
  top: 12px;
  padding: 3px 7px;
  border-radius: 6px;
  background: var(--blue);
  color: #fff;
  font-size: 7.5px;
  font-weight: 700;
}

.mock-progress-card {
  margin: 0 14px 10px;
  padding: 11px 12px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
}

.mock-progress-card .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 9.5px;
  font-weight: 700;
}

.mock-progress-card .row span {
  color: var(--blue);
  font-weight: 800;
  font-size: 9px;
}

.mock-progress-bar {
  margin-top: 8px;
  height: 5px;
  border-radius: 99px;
  background: #edf1f8;
  overflow: hidden;
}

.mock-progress-bar i {
  display: block;
  height: 100%;
  width: 68%;
  border-radius: 99px;
  background: linear-gradient(90deg, #4c97ff, var(--blue));
}

.mock-progress-card small {
  display: block;
  margin-top: 6px;
  font-size: 8px;
  color: var(--muted);
}

.mock-daily {
  margin: 0 14px;
  padding: 11px 12px;
  border-radius: 14px;
  background: #fffdf3;
  border: 1px solid #f7e7b2;
  font-size: 9px;
  color: var(--ink-2);
}

.mock-daily b {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 9.5px;
  color: #8a6400;
  font-weight: 800;
  margin-bottom: 4px;
}

.mock-daily b svg {
  width: 11px;
  height: 11px;
}

.mock-rec {
  margin: 10px 14px 0;
  padding: 10px 12px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
}

.mock-rec .rec-head {
  font-size: 8.5px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: 0.01em;
  margin-bottom: 6px;
}

.mock-rec-row {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 5px 0;
  font-size: 8.5px;
  font-weight: 600;
  color: var(--ink-2);
  border-top: 1px solid #f1f4fa;
}

.mock-rec-row:first-of-type {
  border-top: 0;
}

.mock-rec-row i {
  width: 18px;
  height: 18px;
  border-radius: 6px;
  background: var(--bg-soft-2);
  color: var(--blue);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.mock-rec-row i svg {
  width: 10px;
  height: 10px;
}

.mock-rec-row .chev {
  margin-left: auto;
  color: var(--muted);
  font-size: 9px;
}

/* practice */
.mock-screen-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 14px 12px;
}

.mock-screen-head h4 {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.mock-screen-head .right {
  margin-left: auto;
  font-size: 9px;
  font-weight: 700;
  color: var(--muted);
}

.mock-screen-head .back {
  width: 22px;
  height: 22px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--ink-2);
}

.mock-screen-head .back svg {
  width: 11px;
  height: 11px;
}

.mock-quiz-progress {
  margin: 0 14px 10px;
  height: 4px;
  border-radius: 99px;
  background: #e8edf6;
  overflow: hidden;
}

.mock-quiz-progress i {
  display: block;
  width: 40%;
  height: 100%;
  background: var(--blue);
  border-radius: 99px;
}

.mock-question {
  margin: 0 14px 10px;
  padding: 13px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
}

.mock-question .tag {
  display: inline-block;
  padding: 2px 6px;
  border-radius: 5px;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 7.5px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.mock-question p {
  margin-top: 7px;
  font-size: 10.5px;
  line-height: 1.5;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.mock-options {
  margin: 0 14px;
  display: grid;
  gap: 6px;
}

.mock-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 10px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 9.5px;
  font-weight: 600;
  color: var(--ink-2);
}

.mock-option i {
  width: 18px;
  height: 18px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  background: var(--bg-soft-2);
  font-size: 8.5px;
  font-weight: 800;
  color: var(--ink-3);
  flex: 0 0 auto;
}

.mock-option.is-right {
  border-color: rgba(18, 183, 106, 0.5);
  background: var(--green-soft);
  color: #08613a;
}

.mock-option.is-right i {
  background: var(--green);
  color: #fff;
}

.mock-explain {
  margin: 10px 14px 0;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--blue-soft);
  border: 1px solid #d8e5ff;
  font-size: 8.5px;
  line-height: 1.55;
  color: #1c4d9e;
}

.mock-explain b {
  display: block;
  font-size: 9px;
  color: var(--blue-dark);
  margin-bottom: 2px;
}

.mock-next {
  margin: 10px 14px 0;
  height: 34px;
  border-radius: 11px;
  background: var(--blue);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 700;
}

/* AI */
.mock-ai-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 14px 12px;
}

.mock-ai-avatar {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: linear-gradient(140deg, #4c97ff, #1354e8);
  color: #fff;
  display: grid;
  place-items: center;
}

.mock-ai-avatar svg {
  width: 14px;
  height: 14px;
}

.mock-ai-head b {
  font-size: 11.5px;
  font-weight: 800;
}

.mock-ai-head small {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 8px;
  color: var(--green);
  font-weight: 700;
}

.mock-ai-head small::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
}

.mock-chat {
  margin: 0 14px;
  display: grid;
  gap: 8px;
}

.mock-bubble {
  max-width: 88%;
  padding: 9px 11px;
  border-radius: 12px;
  font-size: 9px;
  line-height: 1.55;
}

.mock-bubble--user {
  margin-left: auto;
  background: var(--blue);
  color: #fff;
  border-bottom-right-radius: 4px;
}

.mock-bubble--bot {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink-2);
  border-bottom-left-radius: 4px;
}

.mock-bubble b {
  display: block;
  color: var(--ink);
  font-size: 9.5px;
  margin-bottom: 2px;
}

.mock-bubble--user b {
  color: #fff;
}

.mock-suggests {
  margin: 10px 14px 0;
  display: grid;
  gap: 6px;
}

.mock-suggest {
  padding: 7px 10px;
  border-radius: 9px;
  background: #fff;
  border: 1px dashed #c9d8f2;
  font-size: 8.5px;
  font-weight: 600;
  color: var(--blue);
}

.mock-ai-input {
  margin: 10px 14px 0;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  border-radius: 11px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 8.5px;
  color: var(--muted);
}

.mock-ai-input .send {
  margin-left: auto;
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background: var(--blue);
  color: #fff;
  display: grid;
  place-items: center;
}

.mock-ai-input .send svg {
  width: 11px;
  height: 11px;
}

/* profile */
.mock-profile-card {
  margin: 0 14px 10px;
  padding: 12px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 9px;
}

.mock-avatar {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: linear-gradient(140deg, #ffd76b, #ffb01f);
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #6a4500;
  font-size: 14px;
  flex: 0 0 auto;
}

.mock-profile-card b {
  display: block;
  font-size: 11px;
  font-weight: 800;
}

.mock-profile-card small {
  display: block;
  margin-top: 2px;
  font-size: 8px;
  color: var(--muted);
}

.mock-profile-card .chev {
  margin-left: auto;
  color: var(--muted);
}

.mock-profile-card .chev svg {
  width: 12px;
  height: 12px;
}

.mock-stats {
  margin: 0 14px 10px;
  padding: 12px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  text-align: center;
}

.mock-stats b {
  display: block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.mock-stats span {
  display: block;
  margin-top: 2px;
  font-size: 7.5px;
  color: var(--muted);
}

.mock-vip {
  margin: 0 14px 10px;
  padding: 12px;
  border-radius: 14px;
  background: linear-gradient(120deg, #fff3cf, #ffdf8a);
  border: 1px solid #f6d268;
  position: relative;
  overflow: hidden;
}

.mock-vip b {
  display: block;
  font-size: 11px;
  font-weight: 800;
  color: #5c3d00;
}

.mock-vip small {
  display: block;
  font-size: 8px;
  color: #8a6400;
  margin-top: 2px;
}

.mock-vip span {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  padding: 4px 9px;
  border-radius: 999px;
  background: #2c1c00;
  color: #ffd76b;
  font-size: 8px;
  font-weight: 700;
}

.mock-menu {
  margin: 0 14px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
  overflow: hidden;
}

.mock-menu div {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  font-size: 9px;
  font-weight: 600;
  color: var(--ink-2);
  border-bottom: 1px solid var(--line);
}

.mock-menu div:last-child {
  border-bottom: 0;
}

.mock-menu svg {
  width: 12px;
  height: 12px;
  color: var(--ink-3);
}

.mock-menu .chev {
  margin-left: auto;
  color: var(--muted);
}

/* tab bar */
.mock-tabbar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 58px;
  padding: 6px 10px 12px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  z-index: 4;
}

.mock-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-size: 7.5px;
  font-weight: 600;
  color: #9aa6ba;
}

.mock-tab svg {
  width: 17px;
  height: 17px;
}

.mock-tab.is-on {
  color: var(--blue);
}

.mock-tab .ai-badge {
  width: 30px;
  height: 30px;
  margin-top: -12px;
  border-radius: 50%;
  background: linear-gradient(140deg, #4c97ff, #1354e8);
  color: #fff;
  display: grid;
  place-items: center;
  border: 3px solid #fff;
}

.mock-tab .ai-badge svg {
  width: 15px;
  height: 15px;
}

/* ---------- Preview section ---------- */
.preview {
  background: radial-gradient(800px 500px at 85% 12%, rgba(30, 107, 255, 0.22), transparent 60%),
    linear-gradient(180deg, #0a1122, #0e1930 90%);
  color: #fff;
  overflow: hidden;
}

.preview::before {
  content: "";
  position: absolute;
  inset: 0;
  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;
  mask-image: radial-gradient(ellipse at 70% 30%, #000, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000, transparent 72%);
  pointer-events: none;
}

.preview .container {
  position: relative;
  z-index: 1;
}

.preview .eyebrow {
  color: #8bb4ff;
}

.preview .section-title {
  color: #fff;
}

.preview .section-lead {
  color: rgba(255, 255, 255, 0.66);
}

.preview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 72px;
  align-items: center;
}

.screen-tabs {
  display: grid;
  gap: 10px;
  margin-top: 36px;
}

.screen-tab {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.035);
  color: rgba(255, 255, 255, 0.72);
  font-size: 14.5px;
  font-weight: 600;
  text-align: left;
  transition: background 0.22s ease, color 0.22s ease, border-color 0.22s ease,
    transform 0.22s ease;
}

.screen-tab .num {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  flex: 0 0 auto;
}

.screen-tab .tab-sub {
  display: block;
  margin-top: 1px;
  font-size: 11.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.42);
}

.screen-tab:hover {
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  transform: translateX(3px);
}

.screen-tab.is-active {
  background: #fff;
  border-color: #fff;
  color: var(--ink);
  transform: translateX(6px);
}

.screen-tab.is-active .num {
  background: var(--blue);
  color: #fff;
}

.screen-tab.is-active .tab-sub {
  color: var(--ink-3);
}

.screen-tab .tab-arrow {
  margin-left: auto;
  width: 16px;
  height: 16px;
  opacity: 0.5;
}

.screen-tab.is-active .tab-arrow {
  opacity: 1;
  color: var(--blue);
}

.preview-stage {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 660px;
}

.preview-stage::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(30, 107, 255, 0.3), transparent 68%);
  filter: blur(16px);
}

.preview-phone-wrap {
  position: relative;
  width: 300px;
}

.preview-screens {
  position: relative;
  height: 629px;
}

.screen-panel {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px) scale(0.985);
  transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s;
}

.screen-panel.is-active {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.screen-panel .phone {
  width: 100%;
}

.screen-panel .phone-screen {
  height: 610px;
}

/* ---------- Real app screenshots ---------- */
.phone--shot::before {
  display: none;
}

.phone-shot {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 390 / 844;
  object-fit: cover;
  object-position: top center;
  border-radius: 37px;
  background: #f5f8fd;
}

.preview-caption {
  margin-top: 26px;
  text-align: center;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
}

.badge-new {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 11px;
  font-weight: 700;
  color: #cddcff;
}

/* ---------- Feature grid ---------- */
.features {
  background: var(--bg-soft);
}

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

.feature-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px 24px;
  transition: transform 0.24s ease, border-color 0.24s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::after {
  content: "";
  position: absolute;
  right: -22px;
  top: -22px;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--bg-soft);
  opacity: 0;
  transition: opacity 0.24s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: #c7d9f7;
}

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

.feature-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
}

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

.ic-blue {
  background: var(--blue-soft);
  color: var(--blue);
}

.ic-yellow {
  background: var(--yellow-soft);
  color: var(--yellow-deep);
}

.ic-red {
  background: var(--red-soft);
  color: var(--red);
}

.ic-green {
  background: var(--green-soft);
  color: var(--green);
}

.ic-navy {
  background: #eef1f7;
  color: #33415c;
}

.feature-card h3 {
  font-size: 16.5px;
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.35;
  position: relative;
  z-index: 1;
}

.feature-card p {
  margin-top: 9px;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--ink-3);
  position: relative;
  z-index: 1;
}

/* ---------- Method ---------- */
.method {
  background: #fff;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  position: relative;
}

.steps::before {
  content: "";
  position: absolute;
  top: 54px;
  left: 6%;
  right: 6%;
  height: 1px;
  background-image: linear-gradient(90deg, var(--line-strong) 50%, transparent 0);
  background-size: 12px 1px;
}

.step {
  position: relative;
  padding: 0 4px;
}

.step-num {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid var(--line-strong);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 22px;
  position: relative;
  z-index: 1;
}

.step:nth-child(1) .step-num {
  border-color: #bfd4ff;
  color: var(--blue);
}

.step:nth-child(2) .step-num {
  border-color: #f4d67c;
  color: #9a6c00;
}

.step:nth-child(3) .step-num {
  border-color: #ffc3cd;
  color: var(--red);
}

.step:nth-child(4) .step-num {
  border-color: #b7e8d1;
  color: #087443;
}

.step h3 {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.015em;
}

.step p {
  margin-top: 8px;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--ink-3);
}

.method-note {
  margin-top: 44px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 18px 22px;
  border-radius: var(--radius-sm);
  background: var(--bg-soft);
  border: 1px dashed var(--line-strong);
  font-size: 13.5px;
  color: var(--ink-2);
}

.method-note svg {
  width: 18px;
  height: 18px;
  color: var(--blue);
  flex: 0 0 auto;
  margin-top: 2px;
}

/* ---------- Exam / language ---------- */
.exam {
  background: var(--bg-soft);
}

.exam-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.exam-card {
  border-radius: var(--radius);
  padding: 30px 26px;
  border: 1px solid var(--line);
  background: #fff;
  position: relative;
  overflow: hidden;
}

.exam-card::after {
  content: "";
  position: absolute;
  right: -30px;
  bottom: -46px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  opacity: 0.5;
}

.exam-card--blue {
  background: linear-gradient(160deg, #f2f7ff, #e8f0ff);
  border-color: #dbe7ff;
}

.exam-card--yellow {
  background: linear-gradient(160deg, #fffaf0, #fff3d6);
  border-color: #f7e8bd;
}

.exam-card--red {
  background: linear-gradient(160deg, #fff5f6, #ffe9ec);
  border-color: #fbd9df;
}

.exam-value {
  font-size: 44px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.045em;
  color: var(--blue);
}

.exam-card--yellow .exam-value {
  color: #b07700;
}

.exam-card--red .exam-value {
  color: var(--red);
}

.exam-value small {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0;
  margin-left: 4px;
  color: var(--ink-3);
}

.exam-card h3 {
  margin-top: 18px;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.015em;
}

.exam-card p {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-3);
}

.exam-note {
  margin-top: 26px;
  font-size: 12px;
  line-height: 1.65;
  color: var(--ink-3);
  max-width: 760px;
}

.lang-block {
  margin-top: 68px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}

.lang-copy h3 {
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1.2;
  letter-spacing: -0.025em;
  font-weight: 800;
}

.lang-copy p {
  margin-top: 14px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-2);
}

.lang-table {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.lang-row {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 12px;
  padding: 15px 22px;
  border-bottom: 1px solid var(--line);
  align-items: center;
  font-size: 13.5px;
}

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

.lang-row--head {
  background: var(--bg-soft);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.lang-row span:first-child {
  font-weight: 700;
  color: var(--ink);
}

.lang-row .zh {
  color: var(--ink-2);
}

.lang-row .en {
  color: var(--ink-3);
}

/* ---------- Membership ---------- */
.membership {
  background: linear-gradient(160deg, #fffdf5, #f4f8ff 60%, #fff);
}

.member-layout {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 56px;
  align-items: center;
}

.member-list {
  margin-top: 26px;
  display: grid;
  gap: 12px;
}

.member-list li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 14.5px;
  color: var(--ink-2);
  line-height: 1.6;
}

.check {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background: var(--green-soft);
  color: var(--green);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  margin-top: 2px;
}

.check svg {
  width: 12px;
  height: 12px;
}

.member-actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.member-card {
  position: relative;
  border-radius: 28px;
  padding: 32px;
  background: linear-gradient(150deg, #1a57e8, #0b34a8);
  color: #fff;
  overflow: hidden;
}

.member-card::before {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  border: 26px solid rgba(255, 196, 46, 0.18);
  right: -80px;
  top: -80px;
}

.member-card::after {
  content: "";
  position: absolute;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 196, 46, 0.24), transparent 70%);
  left: -40px;
  bottom: -50px;
}

.member-card .mc-kicker {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ffd76b;
  position: relative;
  z-index: 1;
}

.member-card h3 {
  margin-top: 12px;
  font-size: 28px;
  line-height: 1.18;
  letter-spacing: -0.03em;
  font-weight: 800;
  position: relative;
  z-index: 1;
}

.member-card p {
  margin-top: 12px;
  font-size: 13.5px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.76);
  position: relative;
  z-index: 1;
}

.member-features {
  margin-top: 22px;
  display: grid;
  gap: 10px;
  position: relative;
  z-index: 1;
}

.member-features li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.86);
}

.member-features svg {
  width: 14px;
  height: 14px;
  color: #ffd76b;
  flex: 0 0 auto;
}

.member-card .mc-footer {
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.6);
  display: flex;
  justify-content: space-between;
  gap: 10px;
  position: relative;
  z-index: 1;
}

/* ---------- Download CTA band ---------- */
.cta-band {
  padding: 0 0 96px;
  background: #fff;
}

.cta-inner {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  padding: 52px 54px;
  background: radial-gradient(600px 300px at 90% 10%, rgba(255, 196, 46, 0.2), transparent 62%),
    linear-gradient(140deg, #1e6bff, #0c3fbe);
  color: #fff;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 46px;
  align-items: center;
}

.cta-inner::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.18);
  right: -120px;
  bottom: -180px;
}

.cta-copy {
  position: relative;
  z-index: 1;
}

.cta-copy h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.14;
  letter-spacing: -0.03em;
  font-weight: 800;
}

.cta-copy p {
  margin-top: 14px;
  max-width: 480px;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.78);
}

.cta-actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.qr-card {
  position: relative;
  z-index: 1;
  background: #fff;
  border-radius: 22px;
  padding: 18px;
  text-align: center;
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.qr-slot {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 14px;
  border: 1.5px dashed #b9c8e4;
  background: linear-gradient(180deg, #f7faff, #eef4ff);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #8a9ab5;
  padding: 14px;
}

.qr-slot svg {
  width: 30px;
  height: 30px;
  color: #a9b9d6;
}

.qr-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 10px;
  background: #fff;
}

.qr-slot b {
  font-size: 12.5px;
  font-weight: 700;
  color: #63738f;
}

.qr-slot small {
  font-size: 10.5px;
  line-height: 1.5;
  color: #8a9ab5;
}

.qr-slot--lg svg {
  width: 40px;
  height: 40px;
}

.qr-slot--tall {
  aspect-ratio: 1 / 1.08;
}

.qr-label {
  margin-top: 12px;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-2);
}

.qr-label small {
  display: block;
  font-size: 10.5px;
  font-weight: 500;
  color: var(--muted);
  margin-top: 3px;
}

/* ---------- Contact strip ---------- */
.contact-strip {
  background: var(--bg-soft);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: start;
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 32px;
}

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 18px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
}

.contact-card .ci {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.contact-card .ci svg {
  width: 18px;
  height: 18px;
}

.contact-card .label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-card .value {
  display: block;
  margin-top: 3px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
  word-break: break-word;
}

.contact-card .hint {
  display: block;
  margin-top: 3px;
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--ink-3);
}

.contact-qr {
  background: #fff;
  border-radius: 24px;
  border: 1px solid var(--line);
  padding: 22px;
}

.contact-qr h3 {
  font-size: 16px;
  font-weight: 800;
  text-align: center;
}

.contact-qr p {
  margin-top: 6px;
  font-size: 12px;
  color: var(--ink-3);
  text-align: center;
}

.contact-qr .qr-slot {
  margin-top: 16px;
  aspect-ratio: 1 / 0.92;
}

/* ---------- Page hero (download / contact) ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 60px 0 64px;
  background: radial-gradient(720px 380px at 82% 8%, rgba(255, 196, 46, 0.16), transparent 62%),
    radial-gradient(640px 400px at 8% 90%, rgba(30, 107, 255, 0.1), transparent 64%),
    #fff;
  border-bottom: 1px solid var(--line);
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(13, 22, 39, 0.06) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(ellipse 50% 60% at 74% 40%, #000, transparent 76%);
  -webkit-mask-image: radial-gradient(ellipse 50% 60% at 74% 40%, #000, transparent 76%);
  pointer-events: none;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.page-hero h1 {
  margin-top: 20px;
  font-size: clamp(32px, 4.4vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 800;
}

.page-hero .hero-lead {
  max-width: 520px;
  margin-top: 18px;
  font-size: 16.5px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}

.breadcrumb a:hover {
  color: var(--blue);
}

.breadcrumb svg {
  width: 12px;
  height: 12px;
}

.page-hero-side {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  min-height: 320px;
}

.app-tile {
  width: 240px;
  border-radius: 34px;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  transform: rotate(3deg);
}

.app-tile-inner {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-soft);
}

.app-tile img {
  width: 100%;
  display: block;
}

.app-tile-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 6px 4px;
}

.app-tile-meta img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  border: 1px solid var(--line);
}

.app-tile-meta b {
  display: block;
  font-size: 12.5px;
  font-weight: 800;
}

.app-tile-meta small {
  display: block;
  font-size: 10px;
  color: var(--muted);
}

/* ---------- Download page ---------- */
.dl-platforms {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.platform-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  display: flex;
  flex-direction: column;
}

.platform-card .p-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.platform-card .p-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
}

.platform-card .p-icon svg {
  width: 22px;
  height: 22px;
}

.platform-card h3 {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.015em;
}

.platform-card .p-ver {
  display: block;
  font-size: 11px;
  color: var(--muted);
  font-weight: 600;
  margin-top: 2px;
}

.platform-card p {
  margin-top: 14px;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--ink-3);
  flex: 1 1 auto;
}

.platform-card .p-actions {
  margin-top: 22px;
  display: grid;
  gap: 10px;
}

.platform-card .btn {
  width: 100%;
}

.platform-note {
  margin-top: 8px;
  font-size: 10.5px;
  line-height: 1.5;
  color: var(--muted);
  text-align: center;
}

.dl-qr-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 26px;
}

.dl-qr-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 22px;
  align-items: center;
}

.dl-qr-card .qr-slot {
  aspect-ratio: 1;
}

.dl-qr-card h3 {
  font-size: 16px;
  font-weight: 800;
}

.dl-qr-card p {
  margin-top: 6px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--ink-3);
}

/* ---------- Steps (install) ---------- */
.install-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  max-width: 760px;
  margin: 0 auto;
}

.install-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
}

.install-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.install-head .p-icon {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  display: grid;
  place-items: center;
}

.install-head .p-icon svg {
  width: 20px;
  height: 20px;
}

.install-head h3 {
  font-size: 16.5px;
  font-weight: 800;
}

.install-steps {
  display: grid;
  gap: 14px;
  counter-reset: step;
}

.install-steps li {
  display: flex;
  gap: 12px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ink-2);
}

.install-steps li::before {
  counter-increment: step;
  content: counter(step);
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 11px;
  font-weight: 800;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  margin-top: 1px;
}

.req-list {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px dashed var(--line-strong);
  display: grid;
  gap: 9px;
}

.req-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--ink-3);
}

.req-list svg {
  width: 14px;
  height: 14px;
  color: var(--green);
  flex: 0 0 auto;
  margin-top: 3px;
}

/* ---------- FAQ ---------- */
.faq {
  background: var(--bg-soft);
}

.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-item[open] {
  border-color: #c7d9f7;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 14px;
}

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

.faq-item summary::after {
  content: "";
  margin-left: auto;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  flex: 0 0 auto;
  margin-top: -4px;
}

.faq-item[open] summary::after {
  transform: rotate(-135deg);
  margin-top: 4px;
}

.faq-item .faq-answer {
  padding: 0 22px 20px;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--ink-3);
}

/* ---------- Contact page ---------- */
.contact-page-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: start;
}

.channels {
  display: grid;
  gap: 14px;
  margin-top: 32px;
}

.legal-card {
  max-width: 820px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 34px;
}

.legal-card h3 {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.015em;
}

.legal-card p {
  margin-top: 10px;
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--ink-3);
}

.channel {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fff;
}

.channel .ci {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.channel .ci svg {
  width: 21px;
  height: 21px;
}

.channel .label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.channel .value {
  display: block;
  margin-top: 4px;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.channel .hint {
  display: block;
  margin-top: 3px;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--ink-3);
}

.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 30px;
}

.form-card h3 {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.015em;
}

.form-card p {
  margin-top: 6px;
  font-size: 12.5px;
  color: var(--ink-3);
  line-height: 1.6;
}

.form-grid {
  margin-top: 22px;
  display: grid;
  gap: 14px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field {
  display: grid;
  gap: 6px;
}

.field label {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--ink-2);
  letter-spacing: 0.02em;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: #fbfcfe;
  padding: 11px 13px;
  font-size: 13.5px;
  color: var(--ink);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.field textarea {
  min-height: 110px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: #fff;
}

.form-note {
  margin-top: 12px;
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--muted);
}

.form-status {
  margin-top: 12px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--green);
  display: none;
}

.form-status.is-on {
  display: block;
}

.contact-qr-grid {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.contact-qr-grid .qr-slot {
  aspect-ratio: 1;
}

.contact-qr-grid .qr-label {
  text-align: center;
  font-size: 11.5px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: #0b1220;
  color: #fff;
  padding: 64px 0 0;
  overflow: hidden;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer-brand img {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: #fff;
  padding: 2px;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.footer-brand b {
  display: block;
  font-size: 16px;
  font-weight: 800;
}

.footer-brand small {
  display: block;
  font-size: 10.5px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 3px;
}

.footer-tagline {
  margin-top: 16px;
  max-width: 320px;
  font-size: 12.5px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.52);
}

.footer-col h4 {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
  margin-bottom: 16px;
}

.footer-col ul {
  display: grid;
  gap: 10px;
}

.footer-col a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.72);
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: #fff;
}

.footer-lang {
  display: inline-flex;
  padding: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-lang .lang-btn {
  color: rgba(255, 255, 255, 0.55);
}

.footer-lang .lang-btn:hover {
  color: #fff;
}

.footer-lang .lang-btn.is-active {
  background: #fff;
  color: var(--ink);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 22px 0;
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.42);
}

.footer-bottom .legal-note {
  max-width: 640px;
  line-height: 1.6;
}

.footer-bottom-links {
  display: flex;
  gap: 18px;
}

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

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
  will-change: opacity, transform;
}

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

.reveal[data-delay="1"] {
  transition-delay: 0.08s;
}

.reveal[data-delay="2"] {
  transition-delay: 0.16s;
}

.reveal[data-delay="3"] {
  transition-delay: 0.24s;
}

/* ---------- Mobile nav drawer ---------- */
.mobile-menu {
  position: fixed;
  inset: 76px 0 auto 0;
  z-index: 55;
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 18px 20px 26px;
  display: none;
  max-height: calc(100vh - 76px);
  overflow-y: auto;
}

.mobile-menu.is-open {
  display: block;
}

.mobile-menu nav {
  display: grid;
  gap: 4px;
}

.mobile-menu nav a {
  padding: 13px 16px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink-2);
}

.mobile-menu nav a:hover,
.mobile-menu nav a.is-active {
  background: var(--bg-soft);
  color: var(--ink);
}

.mobile-menu-actions {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

body.menu-open {
  overflow: hidden;
}

/* ---------- Scroll top ---------- */
.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 40;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--ink-2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}

.to-top.is-on {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.to-top svg {
  width: 18px;
  height: 18px;
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1080px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .hero-visual {
    min-height: 600px;
    order: 2;
  }

  .hero-copy {
    order: 1;
  }

  .stage-ring {
    width: 420px;
    height: 420px;
  }

  .preview-grid {
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 40px;
  }

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

  .lang-block,
  .member-layout,
  .contact-layout,
  .contact-page-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .cta-inner {
    grid-template-columns: minmax(0, 1fr) 280px;
    padding: 42px;
  }

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

  .footer-col--lang {
    grid-column: 1 / -1;
  }
}

@media (max-width: 1120px) {
  .main-nav,
  .header-actions .lang-switch,
  .header-actions .theme-toggle,
  .header-actions .btn {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .header-inner {
    height: 76px;
  }

  .mobile-menu {
    top: 76px;
  }

  .step-grid,
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px 20px;
  }

  .steps::before {
    display: none;
  }

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

  .dl-platforms {
    grid-template-columns: 1fr;
  }

  .dl-qr-row {
    grid-template-columns: 1fr;
  }

  .page-hero-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .page-hero-side {
    min-height: 260px;
  }

  .app-tile {
    width: 210px;
  }
}

@media (max-width: 860px) {
  .preview-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }

  .preview-order {
    order: 2;
  }

  .screen-tabs {
    display: flex;
    gap: 8px;
    margin-top: 26px;
    overflow-x: auto;
    padding-bottom: 6px;
    scrollbar-width: none;
  }

  .screen-tabs::-webkit-scrollbar {
    display: none;
  }

  .screen-tab {
    flex: 0 0 auto;
    padding: 10px 14px;
    gap: 8px;
    border-radius: 12px;
  }

  .screen-tab .num {
    width: 24px;
    height: 24px;
    font-size: 10px;
  }

  .screen-tab .tab-sub,
  .screen-tab .tab-arrow {
    display: none;
  }

  .screen-tab.is-active {
    transform: none;
  }

  .preview-stage {
    min-height: 640px;
  }

  .preview-phone-wrap {
    width: 286px;
  }

  .preview-screens {
    height: 598px;
  }

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

  .contact-qr-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

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

  .section {
    padding: 68px 0;
  }

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

  .hero {
    padding: 40px 0 64px;
  }

  .hero h1 {
    font-size: clamp(34px, 10vw, 44px);
  }

  .hero-lead {
    font-size: 15.5px;
  }

  .hero-actions .btn {
    flex: 1 1 auto;
    padding: 14px 18px;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px 16px;
    margin-top: 36px;
  }

  .hero-visual {
    min-height: 560px;
  }

  .stage-ring {
    width: 340px;
    height: 340px;
  }

  .stage-glow {
    width: 320px;
    height: 320px;
  }

  .phone {
    width: 272px;
  }

  .phone-screen {
    height: 552px;
  }

  .hero-phone {
    transform: none;
  }

  .float-card--ai {
    left: 0;
    top: 72px;
  }

  .float-card--ok {
    right: 0;
    bottom: 72px;
  }

  .float-card {
    padding: 8px 10px;
    font-size: 10px;
  }

  .float-icon {
    width: 28px;
    height: 28px;
    border-radius: 9px;
  }

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

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

  .step {
    display: grid;
    grid-template-columns: 54px 1fr;
    gap: 0 16px;
    align-items: start;
  }

  .step-num {
    grid-row: span 2;
    margin-bottom: 0;
  }

  .step h3 {
    margin-top: 4px;
  }

  .step p {
    margin-top: 6px;
  }

  .exam-card {
    padding: 24px;
  }

  .lang-row {
    padding: 12px 16px;
    font-size: 12px;
    gap: 8px;
    grid-template-columns: 1.2fr 1fr 1fr;
  }

  .cta-inner {
    grid-template-columns: 1fr;
    padding: 34px 24px;
    gap: 30px;
  }

  .cta-inner .qr-card {
    max-width: 280px;
  }

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

  .contact-cards {
    grid-template-columns: 1fr;
  }

  .contact-qr-grid {
    grid-template-columns: 1fr;
  }

  .dl-qr-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .dl-qr-card .qr-slot {
    max-width: 220px;
    margin: 0 auto;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

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

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .preview-stage {
    min-height: 600px;
  }

  .preview-phone-wrap {
    width: 264px;
  }

  .preview-screens {
    height: 550px;
  }

  .phone.phone--hero {
    margin: 0 auto;
  }

  .mock-tabbar {
    height: 54px;
    padding-bottom: 9px;
  }

  .to-top {
    right: 16px;
    bottom: 16px;
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 420px) {
  .brand-sub {
    display: none;
  }

  .hero-badge {
    font-size: 11px;
  }

  .stat-value {
    font-size: 23px;
  }

  .phone {
    width: 258px;
  }

  .phone-screen {
    height: 524px;
  }

  .preview-phone-wrap {
    width: 252px;
  }

  .preview-screens {
    height: 524px;
  }

  .screen-body {
    padding-left: 12px;
    padding-right: 12px;
  }

  .float-card--ai {
    display: none;
  }

  .member-card,
  .form-card,
  .install-card {
    padding: 24px;
  }
}

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

  .reveal,
  .screen-panel,
  .float-card,
  .stage-ring {
    animation: none !important;
    transition: none !important;
  }

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

/* =========================================================
   Dark mode
   ========================================================= */
html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #080e1a;
  --bg-soft: #0d1524;
  --bg-soft-2: #121d31;
  --ink: #e9effb;
  --ink-2: #b4c2d8;
  --ink-3: #8d9cb5;
  --muted: #7c8aa2;
  --line: #1e2a44;
  --line-strong: #2b3a57;
  --blue: #4a8bff;
  --blue-dark: #2f6df0;
  --blue-soft: #142544;
  --yellow-soft: #2a230f;
  --red-soft: #2b141d;
  --green-soft: #0e2a21;
  --navy: #060b15;
  --navy-2: #0b1220;
  --shadow-soft: 0 18px 40px -24px rgba(0, 0, 0, 0.65);
  --shadow-phone: 0 40px 80px -32px rgba(0, 0, 0, 0.8);
}

html[data-theme="dark"] .site-header {
  background: rgba(8, 14, 26, 0.86);
}

html[data-theme="dark"] .hero h1 .hl {
  color: #ffd166;
  background: linear-gradient(transparent 64%, rgba(255, 196, 46, 0.2) 64%);
}

/* In-app mock-ups keep the light appearance of the real app */
html[data-theme="dark"] .phone-screen .result-card,
html[data-theme="dark"] .phone-screen .result-stat {
  background: #fff;
  border-color: #e3e9f3;
  color: #0d1627;
}

html[data-theme="dark"] .phone-screen .result-card b,
html[data-theme="dark"] .phone-screen .result-stat b {
  color: #0d1627;
}

/* Hero surfaces */
html[data-theme="dark"] .hero,
html[data-theme="dark"] .page-hero {
  background:
    radial-gradient(900px 480px at 88% 8%, rgba(255, 196, 46, 0.08), transparent 62%),
    radial-gradient(760px 460px at 4% 76%, rgba(30, 107, 255, 0.16), transparent 66%),
    var(--bg);
}

html[data-theme="dark"] .hero::after,
html[data-theme="dark"] .page-hero::after {
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
}

html[data-theme="dark"] .membership {
  background: linear-gradient(160deg, #0c1424, #0a1120 60%, var(--bg));
}

/* Sections that were white */
html[data-theme="dark"] .method,
html[data-theme="dark"] .cta-band {
  background: var(--bg);
}

/* White cards and panels */
html[data-theme="dark"] .feature-card,
html[data-theme="dark"] .exam-card,
html[data-theme="dark"] .contact-card,
html[data-theme="dark"] .app-tile,
html[data-theme="dark"] .platform-card,
html[data-theme="dark"] .install-card,
html[data-theme="dark"] .faq-item,
html[data-theme="dark"] .legal-card,
html[data-theme="dark"] .channel,
html[data-theme="dark"] .form-card,
html[data-theme="dark"] .result-card,
html[data-theme="dark"] .result-stat,
html[data-theme="dark"] .float-card,
html[data-theme="dark"] .hero-badge,
html[data-theme="dark"] .step-num,
html[data-theme="dark"] .lang-table,
html[data-theme="dark"] .mobile-menu,
html[data-theme="dark"] .to-top,
html[data-theme="dark"] .btn-ghost {
  background: #101b2e;
}

html[data-theme="dark"] .exam-card--blue {
  background: linear-gradient(160deg, #12244a, #0e1c38);
  border-color: #1d3a66;
}

html[data-theme="dark"] .exam-card--yellow {
  background: linear-gradient(160deg, #26200f, #1b170b);
  border-color: #3d3418;
}

html[data-theme="dark"] .exam-card--red {
  background: linear-gradient(160deg, #26141b, #1b1015);
  border-color: #45212c;
}

html[data-theme="dark"] .exam-card--yellow .exam-value {
  color: #ffc42e;
}

html[data-theme="dark"] .lang-row--head {
  background: #16233a;
  color: #97a6bf;
}

/* Language pills */
html[data-theme="dark"] .lang-btn.is-active {
  background: #22314e;
  color: #fff;
}

html[data-theme="dark"] .footer-lang .lang-btn.is-active {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

/* Tab in the dark preview section stays white, so its text must stay dark */
html[data-theme="dark"] .screen-tab.is-active {
  color: #0d1627;
}

html[data-theme="dark"] .screen-tab.is-active .tab-sub {
  color: #6b7891;
}

/* QR cards stay light so the codes remain scannable */
html[data-theme="dark"] .qr-card,
html[data-theme="dark"] .contact-qr,
html[data-theme="dark"] .dl-qr-card {
  --ink: #0d1627;
  --ink-2: #46536b;
  --ink-3: #6b7891;
  --muted: #8b97ad;
  --line: #dbe4f2;
  background: #f7f9fe;
  border-color: #dbe4f2;
  color: #0d1627;
}

html[data-theme="dark"] .qr-slot {
  color: #6b7891;
  border-color: #c3d2e8;
}

/* Icon tiles with literal light tints */
html[data-theme="dark"] .ic-navy {
  background: #1b2740;
  color: #b9c8e2;
}

/* Form fields */
html[data-theme="dark"] .field input,
html[data-theme="dark"] .field select,
html[data-theme="dark"] .field textarea,
html[data-theme="dark"] .field input:focus,
html[data-theme="dark"] .field select:focus,
html[data-theme="dark"] .field textarea:focus {
  background: #0d1626;
  border-color: var(--line);
  color: var(--ink);
}

/* Phone mock-ups keep the light look of the real app */
html[data-theme="dark"] .phone-screen {
  --bg: #ffffff;
  --bg-soft: #f5f8fd;
  --ink: #0d1627;
  --ink-2: #46536b;
  --ink-3: #6b7891;
  --muted: #8b97ad;
  --line: #e3e9f3;
  --line-strong: #d3dceb;
  --blue: #1e6bff;
  --blue-soft: #eaf1ff;
  --yellow-soft: #fff6da;
  --red-soft: #ffedf0;
  --green-soft: #e7f8f0;
}

/* =========================================================
   官网改版 · 登录态 / 数据卡片 / 内容区块 / 登录页
   ========================================================= */

/* ---------- 导航登录区 ---------- */
.nav-auth {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-login {
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink-2);
  border: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.nav-login:hover {
  color: var(--blue);
  border-color: var(--line-strong);
  background: #fff;
}

.nav-signup {
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 700;
  background: var(--blue);
  color: #fff;
  box-shadow: 0 12px 22px -16px rgba(30, 107, 255, 0.85);
  transition: background 0.2s ease, transform 0.2s ease;
}

.nav-signup:hover {
  background: var(--blue-dark);
  transform: translateY(-1px);
}

.user-menu {
  position: relative;
}

.user-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 5px 14px 5px 6px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  max-width: 190px;
}

.user-chip:hover {
  border-color: var(--blue);
}

.user-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  background: var(--blue) center/cover no-repeat;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.user-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-menu-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  min-width: 186px;
  padding: 8px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-soft);
  display: none;
  z-index: 70;
}

.user-menu.is-open .user-menu-panel {
  display: block;
}

.user-menu-panel a {
  display: block;
  padding: 9px 12px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
}

.user-menu-panel a:hover {
  background: var(--bg-soft);
  color: var(--ink);
}

/* ---------- Hero 清单 ---------- */
.hero-checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 20px;
  margin-top: 26px;
}

.hero-checklist li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
}

.hero-checklist svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  color: var(--green);
}

/* ---------- 已登录：学习概览面板 ---------- */
.member-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  padding: 28px;
  box-shadow: var(--shadow-soft);
}

.member-head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.member-avatar {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--blue) center/cover no-repeat;
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  flex: 0 0 auto;
}

.member-name {
  font-size: 17.5px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.member-sub {
  margin-top: 3px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
}

.member-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.metric {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg-soft);
  padding: 15px 16px;
}

.metric b {
  display: block;
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.metric span {
  display: block;
  margin-top: 5px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}

.metric em {
  font-style: normal;
  color: var(--blue);
}

.member-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.member-note {
  margin-top: 16px;
  font-size: 12px;
  color: var(--muted);
}

/* ---------- 数据条 ---------- */
.stats-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.stat-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  padding: 24px 22px;
  text-align: center;
}

.stat-card b {
  display: block;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.stat-card b em {
  font-style: normal;
  color: var(--blue);
}

.stat-card span {
  display: block;
  margin-top: 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
}

/* ---------- 包含内容 ---------- */
.included-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.included-tile {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  padding: 20px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #fff;
}

.included-tile .it-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  background: var(--blue-soft);
  color: var(--blue);
}

.included-tile .it-icon svg {
  width: 19px;
  height: 19px;
}

.included-tile b {
  display: block;
  font-size: 14.5px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.included-tile small {
  display: block;
  margin-top: 4px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--ink-3);
}

/* ---------- 学习指南 ---------- */
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.post-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #fff;
  transition: transform 0.24s ease, border-color 0.24s ease;
}

.post-card:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
}

.post-tag {
  align-self: flex-start;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--yellow-soft);
  color: #8a6100;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.post-card h3 {
  font-size: 16.5px;
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: -0.015em;
}

.post-card p {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--ink-3);
  flex: 1 1 auto;
}

.post-meta {
  margin-top: 2px;
  font-size: 12px;
  font-weight: 700;
  color: var(--blue);
}

/* ---------- 下载区（数据驱动） ---------- */
.dl-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  max-width: 560px;
  margin: 0 auto;
}

.dl-card {
  display: flex;
  flex-direction: column;
  padding: 24px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #fff;
}

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

.dl-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--bg-soft-2);
  color: var(--ink);
  flex: 0 0 auto;
}

.dl-icon svg {
  width: 22px;
  height: 22px;
}

.dl-card h3 {
  font-size: 16.5px;
  font-weight: 800;
  letter-spacing: -0.015em;
}

.dl-card .dl-sub {
  display: block;
  margin-top: 2px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--muted);
}

.dl-card .btn {
  width: 100%;
  margin-top: 20px;
}

.dl-note {
  margin-top: 22px;
  font-size: 12.5px;
  color: var(--muted);
  text-align: center;
}

/* ---------- 登录态显隐（覆盖 .nav-auth 的 display:flex） ---------- */
[data-auth][hidden] {
  display: none !important;
}

.hero-stage {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

@media (max-width: 640px) {
  .poster-panel {
    padding: 16px;
    gap: 10px;
  }

  .poster-stat {
    gap: 12px;
    padding: 13px 14px;
  }

  .poster-stat b {
    min-width: 88px;
    font-size: 21px;
  }

  .poster-stat span {
    font-size: 13px;
  }
}

/* ---------- 登录 / 注册页 ---------- */
.auth-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 56px;
  align-items: start;
}

.auth-side h1 {
  font-size: clamp(30px, 3.6vw, 44px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.14;
  margin-top: 16px;
}

.auth-side .auth-lead {
  margin-top: 16px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-2);
  max-width: 520px;
}

.auth-benefits {
  display: grid;
  gap: 12px;
  margin-top: 28px;
  max-width: 520px;
}

.auth-benefits li {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-2);
}

.auth-benefits svg {
  width: 17px;
  height: 17px;
  margin-top: 2px;
  flex: 0 0 auto;
  color: var(--green);
}

.auth-card {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  padding: 28px;
  box-shadow: var(--shadow-soft);
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  margin-bottom: 22px;
}

.auth-tabs button {
  padding: 10px 8px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--muted);
  transition: color 0.2s ease, background 0.2s ease;
}

.auth-tabs button.is-active {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 6px 16px -12px rgba(13, 22, 39, 0.5);
}

.auth-field {
  margin-bottom: 15px;
}

.auth-field > label {
  display: block;
  margin-bottom: 7px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink-3);
}

.auth-input {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 13px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.auth-input:focus-within {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(30, 107, 255, 0.12);
}

.auth-input input {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  outline: none;
  background: transparent;
  padding: 12px 0;
  font-size: 14.5px;
}

.auth-input input::placeholder {
  color: var(--muted);
}

.code-btn {
  flex: 0 0 auto;
  padding: 6px 11px;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 800;
  color: var(--blue);
  background: var(--blue-soft);
  white-space: nowrap;
}

.code-btn[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
}

.auth-errors {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--red);
  margin: -4px 0 14px;
}

.auth-errors:empty {
  display: none;
}

.auth-actions {
  margin-top: 6px;
}

.auth-alert {
  display: none;
  margin-bottom: 16px;
  padding: 11px 14px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.55;
}

.auth-alert.is-on {
  display: block;
}

.auth-alert[data-type="error"] {
  background: var(--red-soft);
  color: #c31f3d;
}

.auth-alert[data-type="ok"] {
  background: var(--green-soft);
  color: #06794a;
}

.auth-foot {
  margin-top: 18px;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--muted);
  text-align: center;
}

.auth-foot a {
  color: var(--blue);
  font-weight: 700;
}

/* ---------- 全局轻提示 ---------- */
.lexue-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 16px);
  max-width: min(92vw, 420px);
  padding: 12px 18px;
  border-radius: 12px;
  background: var(--navy);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.55;
  box-shadow: 0 18px 40px -20px rgba(3, 8, 18, 0.7);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s ease, transform 0.24s ease;
  z-index: 120;
}

.lexue-toast.is-on {
  opacity: 1;
  transform: translate(-50%, 0);
}

.lexue-toast[data-type="error"] {
  background: #b8232f;
}

/* ---------- 暗色适配 ---------- */
html[data-theme="dark"] .nav-login:hover {
  background: #101b2e;
}

html[data-theme="dark"] .user-menu-panel,
html[data-theme="dark"] .member-panel,
html[data-theme="dark"] .stat-card,
html[data-theme="dark"] .included-tile,
html[data-theme="dark"] .post-card,
html[data-theme="dark"] .dl-card,
html[data-theme="dark"] .auth-card {
  background: #101b2e;
}

html[data-theme="dark"] .metric {
  background: #0d1524;
}

html[data-theme="dark"] .auth-tabs button.is-active {
  background: #16233a;
}

html[data-theme="dark"] .auth-input {
  background: #0d1524;
  border-color: var(--line);
}

html[data-theme="dark"] .dl-icon {
  background: #16233a;
}

html[data-theme="dark"] .post-tag {
  background: var(--yellow-soft);
  color: #f4c95d;
}

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .auth-wrap {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }

  .included-grid,
  .post-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

  .mobile-menu-actions .nav-auth {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
  }
}

@media (max-width: 640px) {
  .included-grid,
  .post-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-checklist {
    grid-template-columns: minmax(0, 1fr);
  }

  .member-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .auth-card {
    padding: 22px;
  }
}

/* ============ 资讯页（后台「文章管理」中勾选了「官网」渠道的文章） ============ */
.news-status {
  padding: 40px 0;
  color: var(--muted);
  text-align: center;
  font-size: 14px;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.news-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  color: inherit;
  text-decoration: none;
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.news-card:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-soft);
}

.news-card-cover {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-sm);
  background: var(--blue-soft);
}

.news-card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-card-cover-ph {
  color: var(--blue-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.news-tag {
  align-self: flex-start;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--yellow-soft);
  color: #8a6100;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.news-card h3 {
  font-size: 16.5px;
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: -0.015em;
}

.news-card-summary {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.6;
}

.news-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  color: var(--muted);
  font-size: 12px;
}

.news-card-more {
  color: var(--blue);
  font-weight: 700;
}

.news-back {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--blue);
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
}

.news-article {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg);
}

.news-article-title {
  margin: 14px 0 12px;
  font-size: clamp(24px, 3.2vw, 34px);
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: -0.02em;
}

.news-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  color: var(--muted);
  font-size: 13px;
}

.news-article-cover {
  width: 100%;
  max-height: 460px;
  margin-top: 22px;
  border-radius: var(--radius);
  object-fit: cover;
}

.news-article-body {
  margin-top: 26px;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.85;
}

.news-article-body h2 {
  margin: 30px 0 12px;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.35;
}

.news-article-body h3 {
  margin: 26px 0 10px;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.4;
}

.news-article-body p {
  margin: 14px 0;
}

.news-article-body ul,
.news-article-body ol {
  margin: 14px 0;
  padding-left: 24px;
}

.news-article-body li {
  margin-bottom: 8px;
}

.news-article-body a {
  color: var(--blue);
  word-break: break-word;
}

.news-article-body img {
  max-width: 100%;
  height: auto;
  margin: 18px 0;
  border-radius: var(--radius-sm);
}

.news-article-body blockquote {
  margin: 20px 0;
  padding: 14px 18px;
  border-left: 4px solid var(--blue);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--blue-soft);
}

.news-article-body table {
  width: 100%;
  margin: 18px 0;
  border-collapse: collapse;
  font-size: 14px;
}

.news-article-body th,
.news-article-body td {
  padding: 10px 12px;
  border: 1px solid var(--line);
  text-align: left;
}

.news-article-body th {
  background: var(--bg-soft);
  font-weight: 700;
}

@media (max-width: 960px) {
  .news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .news-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .news-article {
    padding: 20px;
  }
}
