/* ============================================================
   坦途量化 · 黑金风营销站
   ============================================================ */

:root {
  /* === Primitive Tokens (Gold) === */
  --gold-50: #fdf8e8; --gold-100: #faf0cc; --gold-200: #f5e099;
  --gold-300: #f0d98c; --gold-400: #e8c96b; --gold-500: #d4af37;
  --gold-600: #b8942f; --gold-700: #9a7825; --gold-800: #7c5f1d;
  --gold-900: #5e4715; --gold-950: #3d2e0c;

  /* === Semantic Tokens (Dark) === */
  --surface-primary: #0b0c0e;
  --surface-secondary: #14171c;
  --surface-card: rgba(20,23,28,0.6);
  --text-primary: #f2ede2;
  --text-secondary: #a8a59b;
  --text-dim: #8f8b80;
  --border-default: rgba(212,175,55,0.1);
  --border-hover: rgba(212,175,55,0.3);

  /* === Light Theme Tokens === */
  --light-surface-primary: #ffffff;
  --light-surface-secondary: #f8f7f4;
  --light-surface-card: #ffffff;
  --light-text-primary: #1a1a2e;
  --light-text-secondary: #555;
  --light-text-dim: #888;
  --light-border-default: #e5e0d5;
  --light-border-hover: #c9b87f;

  /* === Spacing (4px base, 8-point grid) === */
  --space-1: 4px;  --space-2: 8px;  --space-3: 12px;
  --space-4: 16px; --space-5: 20px; --space-6: 24px;
  --space-8: 32px; --space-10: 40px; --space-12: 48px;

  /* === Type Scale === */
  --text-xs: 0.75rem;   --text-sm: 0.875rem; --text-base: 1rem;
  --text-lg: 1.125rem;  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;   --text-3xl: 1.875rem;

  /* === Legacy aliases (backward compatibility) === */
  --bg: var(--surface-primary);
  --bg-alt: var(--surface-secondary);
  --bg-card: #14171c;
  --gold: var(--gold-500);
  --gold-deep: var(--gold-600);
  --gold-light: var(--gold-300);
  --text: var(--text-primary);
  --text-dim-v1: #8f8b80; /* keep old text-dim until replaced */
  --line: var(--border-hover);
  --line-soft: var(--border-default);
  --btn-text: #17130a;

  --success: #3ecf8e; --danger: #f66; --danger-bg: #a33;
  --radius: 14px;
  --serif: Georgia, "Times New Roman", "Songti SC", SimSun, serif;
  --sans: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", sans-serif;
}

/* 浅色主题 */
body.light-theme {
  --bg: var(--light-surface-primary);
  --bg-alt: var(--light-surface-secondary);
  --bg-card: var(--light-surface-card);
  --text: var(--light-text-primary);
  --text-dim: var(--light-text-secondary);
  --line: var(--light-border-hover);
  --line-soft: var(--light-border-default);
  --gold: #9a7520;
  --gold-light: #7a5a10;
}
body.light-theme .section-alt { background: #e8e4db; }
body.light-theme .nav { background: rgba(255,255,255,0.94); border-bottom: 1px solid #ddd; }
body.light-theme .nav.scrolled { background: rgba(255,255,255,0.97); box-shadow: 0 2px 12px rgba(0,0,0,0.08); }
body.light-theme .nav-links a { color: #444; }
body.light-theme .nav-links a:hover { color: #9a7520; }
body.light-theme .nav-forum-link { border-color: rgba(154,117,32,0.4); color: #9a7520 !important; }
/* Hero */
body.light-theme .hero { color: #1a1a1a; }
body.light-theme .hero-title { color: #1a1a1a; }
body.light-theme .hero-sub { color: var(--light-text-secondary); }
body.light-theme .hero-note { color: #777; }
body.light-theme .hero-card { background: #fff; border-color: #ddd; }
body.light-theme .hero-card .card-head { color: var(--light-text-secondary); }
body.light-theme .dash-amount { color: #1a1a1a; }
body.light-theme .dash-profit .dash-pct { color: #666; }
/* Stats + data */
body.light-theme .stat .num { color: #333; }
body.light-theme .stat .label { color: #666; }
body.light-theme .section-head h2 { color: #1a1a1a; }
body.light-theme .section-head p { color: var(--light-text-secondary); }
body.light-theme .section-tag { color: #9a7520; }
/* Cards */
body.light-theme .card, body.light-theme .ea-card-wide { background: #fff; border-color: #ddd; }
body.light-theme .card h3, body.light-theme .ea-card-wide h3 { color: #1a1a1a; }
body.light-theme .card p { color: var(--light-text-secondary); }
body.light-theme .card-foot { color: #777; }
body.light-theme .ea-desc { color: var(--light-text-secondary); }
body.light-theme .ep-key { color: #777; }
body.light-theme .ep-val { color: #333; }
body.light-theme .ea-feats li { color: #444; }
/* Platform */
body.light-theme .platform-card { background: #fff; border-color: #ddd; }
body.light-theme .platform-brand { background: #f5f2e8; }
body.light-theme .platform-info h3 { color: #1a1a1a; }
body.light-theme .pi-desc { color: var(--light-text-secondary); }
body.light-theme .platform-feats li { color: #333; }
body.light-theme .pc-note { color: #777; }
body.light-theme .pb-sub { color: #888; }
body.light-theme .pb-since { color: #9a7520; }
body.light-theme .pb-reg { color: #777; }
body.light-theme .pb-reg-note { color: #777; }
/* FAQ */
body.light-theme .faq-q { color: #333; background: #f5f3ee; border-color: #ddd; }
body.light-theme .faq-q:hover { background: #e8e4db; }
body.light-theme .faq-a { background: #f9f8f5; }
body.light-theme .faq-a p { color: #444; }
body.light-theme .faq-icon { color: #9a7520; }
/* Tutorial */
body.light-theme .ts-step { background: #fff; border-color: #ddd; }
body.light-theme .ts-num { color: #9a7520; }
body.light-theme .ts-label { color: #444; }
body.light-theme .ts-tag { color: #9a7520; }
body.light-theme .ts-content h3 { color: #1a1a1a; }
body.light-theme .ts-content p { color: var(--light-text-secondary); }
body.light-theme .ts-tip { color: #666; background: #f9f8f5; border-color: #ddd; }
/* Flow/Process */
body.light-theme .flow-step h3 { color: #1a1a1a; }
body.light-theme .flow-step p { color: var(--light-text-secondary); }
body.light-theme .flow-note { color: #777; }
/* Risk */
body.light-theme .risk { background: #f0ece0; }
body.light-theme .risk-inner h3 { color: #333; }
body.light-theme .risk-inner p { color: var(--light-text-secondary); }
body.light-theme .risk-foot { color: #777; }
/* Footer */
body.light-theme .footer { background: #e0dcd2; }
body.light-theme .footer-desc { color: #666; }
body.light-theme .footer-col h4 { color: #333; }
body.light-theme .footer-col a { color: var(--light-text-secondary); }
body.light-theme .footer-col a:hover { color: #9a7520; }
body.light-theme .footer-txt { color: #666; }
body.light-theme .footer-bottom { color: #888; }
/* Buttons */
body.light-theme .btn-gold { color: #fff; }
body.light-theme .btn-outline-gold { color: #9a7520; border-color: rgba(154,117,32,0.4); }
body.light-theme .btn-outline-gold:hover { background: rgba(154,117,32,0.08); }
body.light-theme .btn-ghost { color: var(--light-text-secondary); border-color: #ccc; }
body.light-theme .btn-ghost:hover { color: #9a7520; border-color: #9a7520; }
/* QR Modal */
body.light-theme .qr-modal { background: #fff; color: #333; }
body.light-theme .qm-title { color: #1a1a1a; }
body.light-theme .qm-sub { color: #666; }
body.light-theme .qm-fallback { color: #888; }
body.light-theme .qm-close { color: #666; }
/* Forms */
body.light-theme input, body.light-theme textarea, body.light-theme select { 
  background: #fff; color: #333; border-color: #ccc; 
}
body.light-theme input::placeholder, body.light-theme textarea::placeholder { color: #999; }
/* Indicator cards */
body.light-theme .ind-card { background: #fff; border-color: #ddd; }
body.light-theme .ind-card h3 { color: #1a1a1a; }
body.light-theme .ind-desc { color: var(--light-text-secondary); }
body.light-theme .ind-meta { color: #888; }
body.light-theme .ind-note { color: #666; background: #f9f8f5; border-color: #ddd; }
/* Live page */
body.light-theme .live-update-row { color: var(--light-text-secondary); }
/* Forum */
body.light-theme .fpost { background: #fff; border-color: #ddd; }
body.light-theme .fpost-title { color: #1a1a1a; }
body.light-theme .fpost-author { color: var(--light-text-secondary); }
body.light-theme .fpost-body { color: #444; }
body.light-theme .cat-tab { color: var(--light-text-secondary); border-color: #ddd; }
body.light-theme .cat-tab.active { color: #fff; background: #9a7520; }
/* Auth */
body.light-theme .auth-card { background: #fff; border-color: #ddd; }
body.light-theme .auth-brand { background: #f5f2e8; }
body.light-theme .auth-tab { color: var(--light-text-secondary); }
body.light-theme .auth-tab.active { color: #9a7520; border-color: #9a7520; }
body.light-theme .auth-form-area { background: #fff; }
body.light-theme .field-label { color: var(--light-text-secondary); }
body.light-theme .field-input { background: #f9f8f5; border-color: #ddd; color: #333; }
body.light-theme .auth-switch { color: #888; }
body.light-theme .auth-switch a { color: #9a7520; }
/* Profile */
body.light-theme .profile-header { background: rgba(255,255,255,0.94); border-color: #ddd; }
body.light-theme .profile-nav-item { color: var(--light-text-secondary); }
body.light-theme .profile-nav-item.active { color: #9a7520; background: rgba(154,117,32,0.08); }
body.light-theme .profile-nav-item.danger { color: #c44; }
body.light-theme .content-panel { background: #fff; border-color: #ddd; }
body.light-theme .content-panel h3 { color: #1a1a1a; }
body.light-theme .content-panel label { color: var(--light-text-secondary); }
body.light-theme .empty-state { color: #888; }
body.light-theme .empty-sub { color: #aaa; }
/* Admin */
body.light-theme #lock-screen input { background: #fff; color: #333; border-color: #ddd; }
/* Misc */
body.light-theme .back-to-top { background: #ddd; color: #333; }
body.light-theme .back-to-top:hover { background: #ccc; }
body.light-theme .hamburger { color: #444; border-color: #ccc; }
body.light-theme .demo-tag { color: #9a7520; border-color: rgba(154,117,32,0.4); }
body.light-theme .ok-text { color: #2a7d4f; }
/* Transition */
body { transition: background 0.3s, color 0.3s; }

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

::selection { background: rgba(212, 175, 55, 0.35); color: #fff; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

.card.in-view, .flow-step.in-view, .faq-item.in-view { opacity: 1 !important; transform: none !important; }

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* ---------- 通用 ---------- */
/* 标题行高：避免继承 body 的 1.7 导致多行标题空隙过大 */
h2, h3 { line-height: 1.3; }
.section { padding: 96px 24px; max-width: 1160px; margin: 0 auto; }
.section-alt { max-width: none; background: var(--bg-alt); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); padding-left: 24px; padding-right: 24px; }
.section-alt > .section-head, .section-alt > .flow, .section-alt > .flow-note { max-width: 1160px; margin-left: auto; margin-right: auto; }

.section-head { text-align: center; margin-bottom: 64px; }
.section-tag { font-size: 12px; letter-spacing: 4px; color: var(--gold); text-transform: uppercase; margin-bottom: 14px; opacity: 0.85; }
.section-head h2 { font-family: var(--serif); font-size: 38px; font-weight: 600; letter-spacing: 0; margin-bottom: 14px; }
.section-head h2::after { content: ""; display: block; width: 56px; height: 2px; margin: 18px auto 0; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.section-head p { color: var(--text-dim); font-size: 15px; max-width: 640px; margin: 0 auto; }

.gold-text { color: var(--gold-light); }

.demo-tag {
  display: inline-block; font-style: normal; font-size: 10px; letter-spacing: 1px;
  color: var(--gold); border: 1px solid var(--line); border-radius: 3px;
  padding: 0 5px; margin-left: 4px; vertical-align: middle; transform: translateY(-1px);
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-block; padding: 12px 28px; border-radius: 8px;
  font-size: 14px; letter-spacing: 0; transition: all 0.3s ease; white-space: nowrap;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold) 55%, var(--gold-deep));
  color: var(--btn-text); font-weight: 600;
  box-shadow: 0 4px 24px rgba(212, 175, 55, 0.28);
}
.btn-gold:hover { background: linear-gradient(135deg, #d4af37, #e6c455); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(212,175,55,.35); }
.btn-ghost {
  border: 1px solid var(--line); color: var(--gold-light);
  background: transparent;
}
.btn-ghost:hover { border-color: var(--gold); background: rgba(212, 175, 55, 0.08); transform: translateY(-1px); }
.btn-outline-gold {
  border: 1px solid var(--gold); color: var(--gold-light);
  background: transparent;
}
.btn-outline-gold:hover { background: rgba(212, 175, 55, 0.12); border-color: var(--gold-light); transform: translateY(-1px); }
.btn-sm { padding: 8px 18px; font-size: 13px; }
.btn-block { display: block; text-align: center; }

.btn-theme {
  background: none;
  border: 1px solid rgba(212,175,55,0.3);
  border-radius: 8px;
  width: 36px;
  height: 36px;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
body.light-theme .btn-theme { border-color: rgba(154,117,32,0.4); }

/* ---------- 导航 ---------- */
.nav {
  position: sticky; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(11, 12, 14, 0.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent; transition: border-color 0.3s ease;
}
.nav.scrolled { border-bottom-color: var(--line-soft); box-shadow: 0 2px 16px rgba(0,0,0,0.5); }
.nav-inner { max-width: 1280px; margin: 0 auto; padding: 16px 28px; display: flex; align-items: center; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 0; }
.brand-mark {
  width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 8px;
  display: flex; align-items: center; justify-content: center; color: var(--gold);
  background: rgba(212, 175, 55, 0.06);
}
.brand-mark svg { width: 28px; height: 28px; }
.brand-name { font-family: var(--serif); font-size: 22px; font-weight: 700; letter-spacing: 0; }
.brand-sub { font-size: 14px; letter-spacing: 3px; color: var(--text-dim); align-self: flex-end; margin-bottom: 3px; }
.nav-links { display: flex; gap: 18px; margin-left: auto; }
.nav-links a { font-size: 15px; color: var(--text-dim); transition: color 0.25s; letter-spacing: 0; }
.nav-links a:hover { color: var(--gold-light); }
.nav-forum-link {
  border: 1px solid var(--gold); border-radius: 6px;
  padding: 8px 18px; color: var(--gold-light) !important;
  background: rgba(212, 175, 55, 0.08); font-weight: 600;
}
.nav-forum-link:hover { background: rgba(212, 175, 55, 0.2) !important; color: var(--gold-light) !important; }
.nav-auth { display: flex; align-items: center; gap: 10px; margin-left: 4px; }
.nav-auth .btn { padding: 10px 18px; font-size: 14px; font-weight: 700; }

/* ---------- HERO ---------- */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; padding: 80px 24px 80px; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.glow { position: absolute; border-radius: 50%; filter: blur(90px); }
.glow-1 { width: 560px; height: 560px; background: radial-gradient(circle, rgba(212,175,55,0.16), transparent 65%); top: -140px; left: -100px; animation: breathe 7s ease-in-out infinite; }
.glow-2 { width: 480px; height: 480px; background: radial-gradient(circle, rgba(212,175,55,0.10), transparent 65%); bottom: -160px; right: -80px; animation: breathe 9s ease-in-out infinite reverse; }
@keyframes breathe { 0%, 100% { transform: scale(1); opacity: 0.9; } 50% { transform: scale(1.15); opacity: 1; } }
.grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(212,175,55,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212,175,55,0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 40%, #000 30%, transparent 75%);
}
.hero-inner { position: relative; z-index: 2; max-width: 1160px; margin: 0 auto; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; width: 100%; }
.hero-tag { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; letter-spacing: 0; color: var(--gold); border: 1px solid var(--line); padding: 6px 14px; border-radius: 30px; margin-bottom: 28px; background: rgba(212,175,55,0.05); }
.hero-tag .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
.hero-title { font-family: var(--serif); font-size: 54px; font-weight: 700; line-height: 1.25; letter-spacing: 0; margin-bottom: 24px; }
.hero-sub { color: var(--text-dim); font-size: 16px; max-width: 520px; margin-bottom: 36px; }
.hero-actions { display: flex; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.hero-note { font-size: 14px; color: var(--text-dim); opacity: 0.8; letter-spacing: 0; }
.hero-right { position: relative; }
.kline { width: 100%; height: auto; filter: drop-shadow(0 0 24px rgba(212,175,55,0.15)); }
.hero-card {
  position: absolute; left: 6%; bottom: 4%; width: 320px; background: rgba(20, 23, 28, 0.92);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 16px 48px rgba(0,0,0,0.5);
  animation: float 6s ease-in-out infinite;
}
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.card-head { font-size: 13px; letter-spacing: 1px; color: var(--gold-light); border-bottom: 1px solid var(--line-soft); padding-bottom: 10px; margin-bottom: 10px; }
.card-row { display: flex; align-items: center; gap: 8px; font-size: 13px; padding: 5px 0; color: var(--text); }
.card-row .ok { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 8px rgba(212,175,55,0.8); }
.card-foot { font-size: 11px; color: var(--text-dim); margin-top: 8px; padding-top: 8px; border-top: 1px dashed var(--line-soft); }
.hero-card { display: flex; flex-direction: column; gap: 0; padding: 20px 22px; }

/* Hero 实盘数据面板 */
.dash-profit { text-align: center; padding: 14px 0 16px; border-bottom: 1px dashed var(--line-soft); }
.dash-label { font-size: 11px; letter-spacing: 3px; color: var(--text-dim); margin-bottom: 4px; }
.dash-amount { font-family: var(--serif); font-size: 32px; font-weight: 700; color: var(--gold-light); letter-spacing: 1px; line-height: 1.2; }
.dash-amount span { font-family: var(--sans); font-size: 14px; font-weight: 600; color: var(--text-dim); letter-spacing: 1px; }
.dash-pct { font-size: 12.5px; color: var(--success); letter-spacing: 2px; margin-top: 3px; }
.dash-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; padding: 14px 2px 4px; }
.dash-item span { display: block; font-size: 10.5px; letter-spacing: 1px; color: var(--text-dim); margin-bottom: 3px; }
.dash-item b { font-size: 13px; font-weight: 600; color: var(--text); letter-spacing: 0.5px; }
.dash-item .ok-text { color: var(--success); font-size: 12.5px; }

/* ---------- 实盘账户切换 (hero 卡片内) ---------- */
.hero-card .card-head { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 500; letter-spacing: 1px; color: #888; }
.hero-card .card-head .live-dot { display: inline-block; width: 8px; height: 8px; background: #22c55e; border-radius: 50%; animation: livePulse 1.6s infinite; }
.hero-card .card-head-text { color: #888; }
.acc-switch { display: flex; gap: 4px; margin: 12px 0 14px; padding: 3px; background: rgba(0,0,0,0.04); border-radius: 8px; }
.acc-pill { flex: 1; padding: 6px 8px; background: transparent; color: #888; border: none; border-radius: 6px; cursor: pointer; font-size: 11px; font-weight: 600; transition: all 0.25s; letter-spacing: 0.5px; }
.acc-pill:hover { color: var(--gold-300); }
.acc-pill.active { background: #fff; color: #1a1a1a; box-shadow: 0 1px 3px rgba(0,0,0,0.1); }
body.light-theme .hero-card .acc-switch { background: rgba(0,0,0,0.05); }
body.light-theme .hero-card .acc-pill.active { background: #fff; color: #1a1a1a; }

/* ---------- 网站数据条 ---------- */
.stats { border-bottom: 1px solid var(--line-soft); background: linear-gradient(180deg, var(--bg-alt) 0%, rgba(20,18,12,0.95) 100%); position: relative; overflow: hidden; }
.stats::before { content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 60%; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.stats-inner { max-width: 1160px; margin: 0 auto; padding: 36px 24px 36px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat { position: relative; padding: 18px 14px; border-radius: 14px; background: rgba(212, 175, 55, 0.02); border: 1px solid transparent; transition: all 0.3s ease; }
.stat:hover { background: rgba(212, 175, 55, 0.06); border-color: rgba(212, 175, 55, 0.2); transform: translateY(-2px); }
.stat-icon { font-size: 24px; margin-bottom: 6px; filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.3)); }
.stat .num { font-family: var(--serif); font-size: 44px; font-weight: 700; color: var(--gold-light); letter-spacing: 1px; line-height: 1.1; }
.stat .label { font-size: 13px; color: var(--text-dim); margin-top: 6px; letter-spacing: 0; }
.stat .suffix { font-family: var(--serif); color: var(--gold-light); font-style: normal; font-size: 24px; }
body.light-theme .stats { background: linear-gradient(180deg, #f8f7f4 0%, #efece5 100%); }
body.light-theme .stat { background: rgba(212, 175, 55, 0.04); }
body.light-theme .stat:hover { background: rgba(212, 175, 55, 0.1); }
body.light-theme .stat .num { color: #9a7520; }

/* ---------- 卡片 ---------- */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: var(--bg-card); border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: 36px 30px; transition: all 0.35s ease; position: relative;
}
.card:hover { border-color: var(--line); transform: translateY(-5px); box-shadow: 0 18px 44px rgba(0,0,0,0.45), 0 0 0 1px rgba(212,175,55,0.08); }
.card-icon {
  width: 52px; height: 52px; border: 1px solid var(--line); border-radius: 12px;
  display: flex; align-items: center; justify-content: center; color: var(--gold);
  background: linear-gradient(135deg, rgba(212,175,55,0.12), rgba(212,175,55,0.03));
  margin-bottom: 22px;
}
.card-icon svg { width: 26px; height: 26px; }
.card h3 { font-family: var(--serif); font-size: 21px; font-weight: 600; margin-bottom: 12px; letter-spacing: 0; }
.card p { color: var(--text-dim); font-size: 14px; }

/* ---------- 三审流程 ---------- */
.flow { display: flex; align-items: stretch; justify-content: center; gap: 12px; }
.flow-step { flex: 1; max-width: 280px; background: var(--bg-card); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 30px 26px; text-align: center; transition: border-color 0.3s; }
.flow-step:hover { border-color: var(--line); }
.step-num { font-family: var(--serif); font-size: 30px; font-weight: 700; color: transparent; -webkit-text-stroke: 1px var(--gold); margin-bottom: 12px; opacity: 0.9; }
.flow-step h3 { font-size: 17px; color: var(--gold-light); margin-bottom: 8px; letter-spacing: 0; }
.flow-step p { font-size: 13px; color: var(--text-dim); }
.flow-arrow { display: flex; align-items: center; color: var(--gold); opacity: 0.6; }
.flow-arrow svg { width: 44px; height: 22px; }
.flow-note { text-align: center; color: var(--text-dim); font-size: 13px; margin-top: 28px; letter-spacing: 0; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item { border: 1px solid var(--line-soft); border-radius: 10px; margin-bottom: 14px; background: var(--bg-card); overflow: hidden; transition: border-color 0.3s; }
.faq-item.open { border-color: var(--line); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: none; border: none; color: var(--text); font-size: 15px; letter-spacing: 0;
  padding: 18px 22px; text-align: left;
}
.faq-icon { color: var(--gold); font-size: 20px; transition: transform 0.3s; flex-shrink: 0; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-a p { padding: 0 22px 18px; color: var(--text-dim); font-size: 13.5px; }

/* ---------- 风险提示 ---------- */
.risk { background: linear-gradient(180deg, var(--bg), #12100b); border-top: 1px solid var(--line-soft); }
.risk-inner { max-width: 860px; margin: 0 auto; padding: 64px 24px; }
.risk h3 { font-size: 16px; color: var(--gold); letter-spacing: 0; margin-bottom: 16px; text-align: center; }
.risk p { font-size: 12.5px; color: var(--text-dim); line-height: 2; text-align: justify; }
.risk strong { color: var(--text); }
.risk-foot { text-align: center; margin-top: 16px; opacity: 0.75; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line-soft); background: #08090b; }
.footer-inner { max-width: 1160px; margin: 0 auto; padding: 56px 24px 32px; display: grid; grid-template-columns: 1.2fr 1.8fr; gap: 48px; }
.footer-desc { font-size: 13px; color: var(--text-dim); margin-top: 14px; line-height: 1.9; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer-col h4 { font-size: 13px; color: var(--gold-light); letter-spacing: 0; margin-bottom: 14px; }
.footer-col a { display: block; font-size: 13px; color: var(--text-dim); padding: 5px 0; transition: color 0.25s; }
.footer-col a:hover { color: var(--gold-light); }
.footer-contact-col { display: flex; flex-direction: column; }
.contact-card { display: flex; align-items: center; gap: 14px; padding: 14px; border: 1px solid var(--line-soft); border-radius: 10px; background: rgba(212, 175, 55, 0.04); transition: border-color 0.3s; }
.contact-card:hover { border-color: var(--line); }
.contact-qr { width: 140px; height: 140px; flex-shrink: 0; border-radius: 6px; border: 1px solid var(--line); display: block; padding: 4px; background: #fff; }
.contact-info { display: flex; flex-direction: column; gap: 4px; }
.contact-name { font-family: var(--serif); font-size: 18px; color: var(--gold-light); letter-spacing: 0; font-weight: 600; }
.contact-hint { font-size: 11.5px; color: var(--text-dim); letter-spacing: 0; }
.contact-fallback { font-size: 11px; color: var(--gold); margin-top: 8px; line-height: 1.7; padding: 8px 10px; background: rgba(212,175,55,0.06); border: 1px dashed var(--line); border-radius: 4px; }
.footer-bottom { border-top: 1px solid var(--line-soft); text-align: center; padding: 20px 24px; }
.footer-bottom p { font-size: 12px; color: var(--text-dim); opacity: 0.7; }

/* ---------- EA 产品中心 ---------- */
.ea-card { display: flex; flex-direction: column; }
.ea-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 18px; }
.ea-badge { font-size: 11px; letter-spacing: 1px; color: var(--gold-light); border: 1px solid var(--line); border-radius: 30px; padding: 3px 12px; background: rgba(212, 175, 55, 0.06); }
.ea-comp { font-size: 11px; color: var(--text-dim); letter-spacing: 1px; }
.ea-card h3 { font-family: var(--serif); font-size: 22px; font-weight: 600; margin-bottom: 12px; letter-spacing: 0; }
.ea-desc { color: var(--text-dim); font-size: 13px; margin-bottom: 18px; min-height: 42px; line-height: 1.8; }
.ea-feats { list-style: none; margin-bottom: 20px; }
.ea-feats li { position: relative; padding: 5px 0 5px 20px; font-size: 13px; color: var(--text); line-height: 1.7; }
.ea-feats li::before { content: ""; position: absolute; left: 0; top: 13px; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 6px rgba(212, 175, 55, 0.7); }
.ea-card .btn { margin-top: auto; }
.ea-params { border-top: 1px dashed var(--line-soft); padding: 14px 0 4px; margin-top: 6px; }
.ea-params .ep-row { display: flex; justify-content: space-between; align-items: baseline; padding: 5px 0; gap: 12px; font-size: 12.5px; }
.ea-params .ep-row + .ep-row { border-top: 1px dashed var(--line-soft); }
.ea-params .ep-key { color: var(--text-dim); letter-spacing: 0; flex-shrink: 0; }
.ea-params .ep-val { color: var(--gold-light); font-weight: 600; text-align: right; }
.ea-params-note { font-size: 10.5px; color: var(--text-dim); opacity: 0.7; text-align: center; margin-top: 8px; letter-spacing: 0; }

/* ---------- 实战展示 ---------- */
.evidence-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.evidence-card {
  background: var(--bg-card); border: 1px solid var(--line-soft); border-radius: var(--radius);
  overflow: hidden; transition: all 0.35s ease; display: flex; flex-direction: column;
}
.evidence-card:hover { border-color: var(--line); transform: translateY(-5px); box-shadow: 0 18px 44px rgba(0,0,0,0.45); }
.evidence-card .proof-img { width: 100%; height: 220px; object-fit: cover; object-position: top; border-bottom: 1px solid var(--line-soft); background: #000; }
.evidence-card .proof-body { padding: 22px 24px; flex: 1; display: flex; flex-direction: column; }
.evidence-card .proof-tag { display: inline-block; font-size: 11px; letter-spacing: 1px; color: var(--gold); border: 1px solid var(--line); border-radius: 30px; padding: 3px 12px; margin-bottom: 12px; align-self: flex-start; background: rgba(212, 175, 55, 0.06); }
.evidence-card h3 { font-family: var(--serif); font-size: 18px; font-weight: 600; margin-bottom: 10px; letter-spacing: 0; }
.evidence-card .proof-meta { font-size: 12px; color: var(--gold-light); margin-bottom: 8px; letter-spacing: 0; }
.evidence-card .proof-desc { font-size: 13px; color: var(--text-dim); line-height: 1.8; flex: 1; }
.evidence-note { text-align: center; color: var(--text-dim); font-size: 12px; margin-top: 28px; letter-spacing: 0; }

/* ---------- 坦途·趋势一号 横向旗舰卡 ---------- */
.ea-card-wide {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 0; padding: 0; align-items: stretch;
  border: 1px solid var(--line); position: relative; background: linear-gradient(135deg, rgba(212, 175, 55, 0.06), rgba(212, 175, 55, 0.01) 60%, var(--bg-card));
}
.ea-card-wide::before {
  content: "FLAGSHIP"; position: absolute; top: 18px; right: 22px; font-size: 10px;
  letter-spacing: 3px; color: var(--gold); border: 1px solid var(--line); border-radius: 3px;
  padding: 2px 8px; background: rgba(212, 175, 55, 0.08);
}
.ea-card-wide .wide-img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; object-position: top; border-right: 1px solid var(--line-soft); background: #000; }
.ea-card-wide .wide-body { padding: 36px 30px; display: flex; flex-direction: column; }
.ea-card-wide .ea-meta { margin-bottom: 14px; }
.ea-card-wide h3 { font-size: 24px; margin-bottom: 10px; }
.ea-card-wide .ea-desc { font-size: 13.5px; min-height: 0; }
.ea-card-wide ul.ea-feats { margin-bottom: 20px; }
.ea-card-wide .btn { align-self: flex-start; margin-top: auto; }

/* ---------- 常驻微信浮窗 ---------- */
.float-wechat {
  position: fixed; right: 20px; bottom: 20px; z-index: 200;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  background: rgba(20, 23, 28, 0.95); border: 1px solid var(--line); border-radius: 14px;
  padding: 14px 14px 12px; box-shadow: 0 12px 36px rgba(0,0,0,0.5);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: all 0.3s ease;
  width: 120px;
  cursor: pointer;
}
.float-wechat:hover { border-color: var(--gold); box-shadow: 0 12px 36px rgba(0,0,0,0.5), 0 0 0 1px rgba(212,175,55,0.2); }
.float-wechat img { width: 90px; height: 90px; border-radius: 6px; border: 1px solid var(--line); display: block; padding: 3px; background: #fff; }
.float-wechat .fw-label { font-size: 11px; color: var(--gold-light); letter-spacing: 0; text-align: center; }
.float-wechat .fw-sub { font-size: 10px; color: var(--text-dim); letter-spacing: 0; text-align: center; }

/* ---------- 微信二维码模态框 ---------- */
.qr-modal-mask {
  position: fixed; inset: 0; z-index: 500;
  background: rgba(0, 0, 0, 0.78); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  display: none; align-items: center; justify-content: center;
  padding: 20px;
}
.qr-modal-mask.show { display: flex; }
.qr-modal {
  background: var(--bg-card); border: 1px solid var(--gold); border-radius: 16px;
  padding: 36px 32px; max-width: 360px; width: 100%; text-align: center;
  position: relative; box-shadow: 0 30px 80px rgba(0,0,0,0.6);
}
.qr-modal .qm-close {
  position: absolute; top: 12px; right: 14px; background: none; border: none;
  color: var(--text-dim); font-size: 22px; cursor: pointer; line-height: 1;
  padding: 4px 8px; transition: color 0.2s;
}
.qr-modal .qm-close:hover { color: var(--gold-light); }
.qr-modal .qm-title { font-family: var(--serif); font-size: 22px; font-weight: 600; color: var(--gold-light); letter-spacing: 0; margin-bottom: 6px; }
.qr-modal .qm-sub { font-size: 12px; color: var(--text-dim); letter-spacing: 0; margin-bottom: 22px; }
.qr-modal .qm-img {
  width: 240px; height: 240px; margin: 0 auto;
  border: 2px solid var(--gold); border-radius: 8px; padding: 6px; background: #fff;
  display: block;
}
.qr-modal .qm-fallback { margin-top: 18px; font-size: 12px; color: var(--text-dim); line-height: 1.8; padding: 10px 14px; background: rgba(212,175,55,0.06); border: 1px dashed var(--line); border-radius: 6px; }
.qr-modal .qm-fallback strong { color: var(--gold-light); font-weight: 600; }

/* ---------- 返回顶部 ---------- */
.back-to-top {
  position: fixed; right: 20px; bottom: 156px; z-index: 200;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(20, 23, 28, 0.85); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; opacity: 0; pointer-events: none;
  transition: all 0.3s ease; color: var(--gold-light);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.back-to-top.show { opacity: 1; pointer-events: auto; }
.back-to-top:hover { border-color: var(--gold); background: rgba(212,175,55,0.12); transform: translateY(-2px); }
.back-to-top svg { width: 18px; height: 18px; }

/* ---------- 交易平台 ---------- */
.platform-card {
  display: grid; grid-template-columns: 260px 1fr auto; align-items: center; gap: 0;
  background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: all 0.35s ease;
}
.platform-card:hover { border-color: var(--gold); box-shadow: 0 18px 44px rgba(0,0,0,0.45); }
.platform-brand {
  padding: 36px 28px; text-align: center; align-self: stretch;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  background: linear-gradient(135deg, rgba(212,175,55,0.10), rgba(212,175,55,0.02));
  border-right: 1px solid var(--line-soft);
}
.platform-brand .pb-name { font-family: var(--serif); font-size: 30px; font-weight: 700; letter-spacing: 2px; color: var(--gold-light); }
.platform-brand .pb-sub { font-size: 11px; letter-spacing: 3px; color: var(--text-dim); text-transform: uppercase; }
.platform-brand .pb-since { font-size: 11px; color: var(--gold); letter-spacing: 1px; }
.platform-brand .pb-reg { font-size: 10px; color: var(--text-dim); line-height: 1.8; }
.platform-brand .pb-reg-note { font-size: 10px; color: var(--text-dim); line-height: 1.8; max-width: 240px; }
.platform-info { padding: 32px 36px; }
.platform-info h3 { font-family: var(--serif); font-size: 21px; font-weight: 600; margin-bottom: 8px; letter-spacing: 0; }
.platform-info .pi-desc { color: var(--text-dim); font-size: 13px; margin-bottom: 16px; line-height: 1.8; }
.platform-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.platform-tags .pt { font-size: 11px; letter-spacing: 0; color: var(--gold-light); border: 1px solid var(--line); border-radius: 30px; padding: 3px 12px; background: rgba(212, 175, 55, 0.05); }
.platform-feats { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 24px; }
.platform-feats li { position: relative; padding-left: 18px; font-size: 13px; color: var(--text); }
.platform-feats li::before { content: ""; position: absolute; left: 0; top: 9px; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }
.platform-cta { padding: 32px 32px 32px 8px; display: flex; flex-direction: column; align-items: center; gap: 14px; border-left: 1px solid var(--line-soft); }
.platform-cta .btn { min-width: 140px; text-align: center; }
.platform-cta .pc-note { font-size: 11px; color: var(--text-dim); text-align: center; line-height: 1.7; }
.platform-compliance {
  grid-column: 1 / -1; background: rgba(255, 148, 148, 0.05); border-top: 1px solid var(--line-soft);
  padding: 14px 28px; font-size: 11.5px; color: var(--text-dim); line-height: 1.9; text-align: center;
}
.platform-compliance strong { color: var(--gold-light); }

/* ---------- 使用教程 ---------- */
.tutorial-steps {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px;
  margin-bottom: 56px;
}
.tutorial-steps .ts-step {
  text-align: center; padding: 24px 12px; background: var(--bg-card);
  border: 1px solid var(--line-soft); border-radius: var(--radius);
  position: relative;
}
.tutorial-steps .ts-step::after {
  content: "›"; position: absolute; right: -10px; top: 50%; transform: translateY(-50%);
  color: var(--gold); font-size: 24px; opacity: 0.5;
}
.tutorial-steps .ts-step:last-child::after { display: none; }
.tutorial-steps .ts-num { font-family: var(--serif); font-size: 26px; font-weight: 700; color: var(--gold-light); margin-bottom: 6px; letter-spacing: 1px; }
.tutorial-steps .ts-label { font-size: 13px; color: var(--text); letter-spacing: 0; }
.tutorial-steps .ts-step:hover { border-color: var(--line); }

.tutorial-detail .tutorial-step {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0; align-items: stretch;
  background: var(--bg-card); border: 1px solid var(--line-soft); border-radius: var(--radius);
  overflow: hidden; margin-bottom: 24px;
}
.tutorial-detail .tutorial-step:nth-child(even) { direction: rtl; }
.tutorial-detail .tutorial-step:nth-child(even) > * { direction: ltr; }
.tutorial-step .ts-content { padding: 36px 32px; display: flex; flex-direction: column; justify-content: center; }
.tutorial-step .ts-content .ts-tag { font-size: 11px; color: var(--gold); letter-spacing: 3px; margin-bottom: 8px; }
.tutorial-step .ts-content h3 { font-family: var(--serif); font-size: 24px; font-weight: 600; margin-bottom: 14px; letter-spacing: 0; }
.tutorial-step .ts-content p { font-size: 14px; color: var(--text-dim); line-height: 1.9; margin-bottom: 10px; overflow-wrap: break-word; }
.tutorial-step .ts-content .ts-tip { font-size: 12px; color: var(--gold-light); background: rgba(212,175,55,0.06); border-left: 2px solid var(--gold); padding: 8px 12px; margin-top: 8px; border-radius: 0 4px 4px 0; overflow-wrap: break-word; word-break: break-word; }
.tutorial-step .ts-img { width: 100%; height: 100%; min-height: 280px; object-fit: cover; object-position: top; background: #000; }

.tutorial-video {
  margin-top: 56px; text-align: center; background: var(--bg-card);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 36px 32px;
}
.tutorial-video h3 { font-family: var(--serif); font-size: 22px; font-weight: 600; margin-bottom: 8px; letter-spacing: 0; }
.tutorial-video p { color: var(--text-dim); font-size: 13px; margin-bottom: 24px; }
.tutorial-video video { max-width: 720px; width: 100%; border-radius: 6px; border: 1px solid var(--line-soft); }
.tutorial-video .video-actions { margin-top: 18px; font-size: 13px; color: var(--text-dim); }
.tutorial-video .video-actions a { color: var(--gold-light); }

/* ---------- v2 质感升级 ---------- */
.skip-link { position: absolute; top: -100px; left: 16px; background: var(--gold); color: var(--bg); padding: 8px 16px; border-radius: 4px; z-index: 999; font-weight: 600; text-decoration: none; font-size: 14px; transition: top .2s; }
.skip-link:focus { top: 10px; }
/* 按钮按压反馈 */
.btn-gold:active, .btn-ghost:active, .evidence-card .btn:active { transform: scale(0.96) !important; }

/* 浮窗脉冲 */
.float-wechat { animation: floatPulse 3s ease-in-out infinite; }
@keyframes floatPulse { 0%,100% { box-shadow: 0 12px 36px rgba(0,0,0,0.5); } 50% { box-shadow: 0 12px 46px rgba(212,175,55,0.15); } }

/* FAQ 手风琴平滑 */
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s cubic-bezier(0.4, 0, 0.2, 1); }
.faq-item.open .faq-a { max-height: 300px; }

/* 导航链接悬浮下划线 */
.nav-links a { position: relative; }
.nav-links a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background: var(--gold); transition: width .25s; }
.nav-links a:hover::after { width: 100%; }

/* 汉堡菜单（移动端） */
.hamburger { display: none; background: none; border: 1px solid rgba(212,175,55,0.2); color: var(--gold); font-size: 24px; cursor: pointer; padding: 8px 14px; border-radius: 6px; min-width: 48px; min-height: 48px; transition: background .2s; }
@media (max-width: 960px) {
  .hamburger { display: inline-flex; align-items: center; justify-content: center; }
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: rgba(11,12,14,0.98); flex-direction: column; padding: 16px 24px; gap: 0; border-bottom: 1px solid rgba(212,175,55,0.1); z-index: 100; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
  .nav.menu-open { background: rgba(11,12,14,0.95); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
  .nav.menu-open .nav-links { display: flex; }
  .nav.menu-open .hamburger { background: rgba(212,175,55,0.1); }
  .nav-links a { padding: 16px 0; border-bottom: 1px solid rgba(212,175,55,0.06); font-size: 16px; }
  .nav-links a:last-child { border-bottom: none; }
  .nav-forum-link { border: none; border-radius: 0; padding: 16px 0; background: none; border-bottom: 1px solid rgba(212,175,55,0.06); font-size: 16px; }
  .nav-auth { display: none; }
  .nav.menu-open .nav-auth { display: flex; flex-direction: row; gap: 12px; padding: 14px 0; }
}
.back-to-top.show { opacity: 1; pointer-events: auto; }
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-right { display: none; }
  .cards-3 { grid-template-columns: 1fr; }
  .evidence-grid { grid-template-columns: 1fr; }
  .ea-card-wide { grid-template-columns: 1fr; }
  .ea-card-wide .wide-img { border-right: none; border-bottom: 1px solid var(--line-soft); min-height: 220px; }
  .platform-card { grid-template-columns: 1fr; }
  .platform-brand { border-right: none; border-bottom: 1px solid var(--line-soft); padding: 24px; }
  .platform-info { padding: 24px; }
  .platform-feats { grid-template-columns: 1fr; }
  .platform-cta { padding: 0 24px 28px; border-left: none; }
  .tutorial-steps { grid-template-columns: repeat(2, 1fr); }
  .tutorial-steps .ts-step::after { display: none; }
  .tutorial-detail .tutorial-step, .tutorial-detail .tutorial-step:nth-child(even) { grid-template-columns: 1fr; direction: ltr; }
  /* 单列 grid 下：允许子项收缩到轨道宽，图片不超出容器，避免 320px 横向溢出 */
  .tutorial-detail .tutorial-step > * { min-width: 0; }
  .tutorial-step .ts-img { min-height: 200px; max-width: 100%; }
  .float-wechat { right: 10px; bottom: 10px; width: 56px; padding: 6px 6px 6px; }
  .float-wechat img { width: 40px; height: 40px; }
  .float-wechat .fw-label { font-size: 10px; letter-spacing: 0; }
  .float-wechat .fw-sub { display: none; }
  .back-to-top { right: 10px; bottom: 78px; width: 36px; height: 36px; }
  .back-to-top svg { width: 14px; height: 14px; }
  .flow { flex-direction: column; align-items: center; }
  .flow-arrow { transform: rotate(90deg); margin: 4px 0; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .footer-inner { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .hero-title { font-size: 40px; }
  .section { padding: 64px 24px; }
  .glow-1, .glow-2 { display: none; }
}

/* 移动端导航：允许换行，避免多个按钮横向溢出（390px 视口无横向滚动） */
@media (max-width: 768px) {
  .nav-inner { flex-wrap: wrap; row-gap: 8px; }
}

@media (max-width: 520px) {
  /* 导航栏：缩 logo 字号 + 隐藏副标题，避免 4 个汉字被截断 */
  .nav-inner { padding: 12px 16px; gap: 12px; }
  .brand-mark { width: 30px; height: 30px; }
  .brand-mark svg { width: 16px; height: 16px; }
  .brand-name { font-size: 16px; letter-spacing: 0; white-space: nowrap; }
  .brand-sub { display: none; }
  .nav .btn { padding: 6px 12px; font-size: 12px; }

  /* Hero 标题更紧凑 */
  .hero { padding: 100px 20px 60px; }
  .hero-title { font-size: 30px; letter-spacing: 0; line-height: 1.4; }
  .hero-title .gold-text { display: inline; }
  .hero-sub { font-size: 16px; margin-bottom: 24px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; text-align: center; }
  .hero-tag { font-size: 12px; padding: 5px 12px; margin-bottom: 20px; }
  .btn { padding: 10px 20px; font-size: 13px; }

  /* 板块标题缩小 */
  .section { padding: 56px 18px; }
  .section-head { margin-bottom: 40px; }
  .section-head h2 { font-size: 26px; }
  .section-head p { font-size: 13px; }
  .section-tag { font-size: 12px; letter-spacing: 3px; }

  /* 数据条 2 列 */
  .stats-inner { grid-template-columns: repeat(2, 1fr); gap: 24px; padding: 32px 20px; }
  .stat .num { font-size: 32px; }
  .stat .label { font-size: 12px; }

  /* 卡片内边距 */
  .card { padding: 28px 22px; }
  .card h3 { font-size: 18px; }
  .card p { font-size: 13px; }

  /* 产品卡参数表：键值上下排版，避免溢出 */
  .ea-params .ep-row { flex-direction: column; align-items: flex-start; gap: 2px; }
  .ea-params .ep-val { text-align: left; }

  /* 趋势一号卡片 */
  .ea-card-wide .wide-body { padding: 28px 22px; }
  .ea-card-wide h3 { font-size: 20px; }

  /* 实战展示卡片 */
  .evidence-card .proof-img { height: 180px; }
  .evidence-card .proof-body { padding: 18px 20px; }
  .evidence-card h3 { font-size: 16px; }

  /* 平台卡 */
  .platform-brand .pb-name { font-size: 24px; }
  .platform-info h3 { font-size: 18px; }
  .platform-tags { gap: 6px; }
  .platform-tags .pt { font-size: 12px; padding: 2px 10px; }

  /* 教程步骤 */
  .tutorial-steps { grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 40px; }
  .tutorial-steps .ts-step { padding: 16px 8px; }
  .tutorial-steps .ts-num { font-size: 22px; }
  .tutorial-steps .ts-label { font-size: 12px; }
  .tutorial-step .ts-content { padding: 24px 22px; }
  .tutorial-step .ts-content h3 { font-size: 20px; }
  .tutorial-step .ts-content p { font-size: 13px; }
  .tutorial-video { padding: 24px 20px; }
  .tutorial-video h3 { font-size: 18px; }
  .tutorial-video video { max-width: 100%; }

  /* 三层风控 */
  .flow-step { padding: 26px 20px; }
  .step-num { font-size: 26px; }

  /* FAQ */
  .faq-q { font-size: 14px; padding: 16px 18px; }
  .faq-a p { font-size: 13px; }

  /* 风险提示 */
  .risk-inner { padding: 48px 20px; }
  .risk h3 { font-size: 14px; }
  .risk p { font-size: 12px; }

  /* Footer */
  .footer-inner { padding: 40px 20px 24px; gap: 32px; }
  .footer-inner > * { min-width: 0; }
  .footer-links { grid-template-columns: 1fr; gap: 20px; }
  .footer-col { min-width: 0; overflow-wrap: break-word; }
  .footer-desc { overflow-wrap: break-word; }
  .footer-col h4 { font-size: 12px; }
  .footer-bottom { padding: 16px 20px; font-size: 12px; }
  .contact-card { flex-direction: column; text-align: center; }
  .contact-qr { width: 112px; height: 112px; }
  .contact-info { align-items: center; }
  .contact-fallback { font-size: 12px; padding: 10px 12px; }

  /* 模态框 */
  .qr-modal { padding: 28px 22px; max-width: 92vw; }
  .qr-modal .qm-title { font-size: 18px; }
  .qr-modal .qm-img { width: 200px; height: 200px; }

  /* 触控目标 WCAG 2.1 (min 44×44) */
  .nav-links a, .cat-tab, .del-btn, .edit-btn, .cmt-toggle,
  .back-link a, .btn, .btn-gold, .btn-ghost, .btn-sm, .btn-block,
  .footer-col a, .footer-bottom a, .platform-cta .pc-note a,
  .fm-switch a, .mypost, button {
    min-height: 44px; min-width: 44px;
  }

  /* 修复：仅对需要内联排列的元素使用 inline-flex，footer 链接保持 block 堆叠 */
  .nav-links a, .btn, .btn-gold, .btn-ghost, .btn-sm, .btn-block,
  .cat-tab, .del-btn, .edit-btn, .cmt-toggle,
  .back-link a, .footer-bottom a, .platform-cta .pc-note a,
  .fm-switch a, .mypost, button {
    display: inline-flex; align-items: center;
  }
  .footer-col a {
    display: block; /* 保持垂直堆叠，不被 inline-flex 破坏 */
  }

  /* 移动端最小字号：所有文字 >= 12px */
  .demo-tag, .dash-item span, .acc-pill, .ea-badge, .ea-comp,
  .ea-params-note, .evidence-card .proof-tag, .ea-card-wide::before,
  .platform-brand .pb-sub, .platform-brand .pb-since, .platform-brand .pb-reg,
  .platform-brand .pb-reg-note,
  .platform-cta .pc-note, .platform-compliance, .tutorial-step .ts-content .ts-tag,
  .dash-label, .card-foot, .contact-hint, .contact-fallback,
  .float-wechat .fw-label, .float-wechat .fw-sub {
    font-size: 12px;
  }

  /* 跳过导航触控目标 */
  .skip-link { min-height: 44px; display: flex; align-items: center; }
}

/* 极小屏 (≤380px)：导航栏进一步收紧 */
@media (max-width: 380px) {
  .nav-inner { gap: 8px; padding: 10px 12px; }
  .brand-name { font-size: 14px; }
  .brand-mark { width: 28px; height: 28px; }
  .nav .btn { padding: 5px 10px; font-size: 11px; letter-spacing: 0; }
  .btn-theme { width: 32px !important; height: 32px !important; min-width: 32px !important; min-height: 32px !important; }
  .hamburger { padding: 6px 10px; font-size: 20px; min-width: 38px; }
}

/* 浅色模式补漏 */
body.light-theme .float-wechat { background: rgba(255,255,255,0.97); border-color: #ddd; }
body.light-theme .brand-name { color: #1a1a1a; }
body.light-theme .demo-badge { color: var(--light-text-secondary); border-color: rgba(154,117,32,0.4); }
body.light-theme .back-to-top { background: #e0dcd2 !important; }
body.light-theme .mobile-wechat-float { background: linear-gradient(135deg, #9a7520, #7a5a10); color: #fff; }

/* ---------- 大屏断点：内容容器加宽 ---------- */
@media (min-width: 1440px) {
  .section,
  .hero-inner,
  .stats-inner,
  .footer-inner,
  .section-alt > .section-head,
  .section-alt > .flow,
  .section-alt > .flow-note {
    max-width: 1280px;
  }
}
