/* ============================================================
   althamvosyard — 全站样式
   独立运营的 TikTok 广告服务宣传站（英文默认 / 中文可切换）
   ============================================================ */

:root {
  --ink: #0f172a;
  --ink-soft: #475569;
  --ink-light: #94a3b8;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --brand: #4f46e5;
  --brand-dark: #3730a3;
  --brand-light: #eef2ff;
  --accent: #06b6d4;
  --navy: #0b1120;
  --navy-soft: #111c34;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
  --shadow-sm: 0 8px 24px rgba(15, 23, 42, 0.06);
  --max: 1180px;
  --font: "Inter", "Segoe UI", "PingFang SC", "Microsoft YaHei", system-ui,
    -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
}

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

button,
input,
textarea {
  font: inherit;
}

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

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 650;
  font-size: 15px;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  cursor: pointer;
}

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

.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 10px 25px rgba(79, 70, 229, 0.28);
}

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

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.14);
}

.btn-outline {
  background: #fff;
  color: var(--brand);
  border-color: var(--line);
}

.btn-outline:hover {
  box-shadow: var(--shadow-sm);
}

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.02em;
  color: var(--navy);
  white-space: nowrap;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 17px;
  font-weight: 800;
}

.brand-sub {
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-light);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 14.5px;
  font-weight: 550;
  color: var(--ink-soft);
}

.nav-links a:hover {
  color: var(--brand);
}

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

.lang-toggle {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 650;
  color: var(--ink-soft);
  cursor: pointer;
  white-space: nowrap;
}

.lang-toggle:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.nav-cta {
  padding: 10px 20px;
  font-size: 14px;
}

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 10px;
  cursor: pointer;
  color: var(--ink);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 78% 18%, rgba(79, 70, 229, 0.35), transparent 45%),
    radial-gradient(circle at 12% 82%, rgba(6, 182, 212, 0.18), transparent 40%),
    linear-gradient(160deg, #0b1120, #131d38 60%, #0b1120);
  color: #fff;
  padding: 86px 0 96px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, #000, transparent 85%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 60px;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 15px;
  border-radius: 999px;
  background: rgba(99, 102, 241, 0.16);
  border: 1px solid rgba(129, 140, 248, 0.32);
  color: #c7d2fe;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.15);
}

.hero h1 {
  font-size: clamp(36px, 4.4vw, 56px);
  line-height: 1.16;
  letter-spacing: -0.035em;
  margin: 0 0 22px;
  font-weight: 800;
}

.hero h1 span {
  background: linear-gradient(90deg, #a5b4fc, #67e8f9);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  font-size: 17px;
  color: #cbd5e1;
  max-width: 580px;
  margin: 0 0 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 18px;
}

.hero-note {
  font-size: 13px;
  color: #94a3b8;
}

/* ---------- 模拟数据面板 ---------- */
.dashboard {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  padding: 22px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(10px);
}

.dash-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 18px;
}

.dash-head strong {
  display: block;
  font-size: 15px;
}

.dash-head small {
  color: #94a3b8;
  font-size: 12px;
}

.dash-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: #6ee7b7;
  background: rgba(52, 211, 153, 0.12);
  border-radius: 999px;
  padding: 5px 10px;
}

.dash-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.dash-stat {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 14px 12px;
}

.dash-stat span {
  display: block;
  font-size: 11px;
  color: #94a3b8;
  margin-bottom: 6px;
}

.dash-stat strong {
  font-size: 21px;
  letter-spacing: -0.02em;
}

.dash-stat em {
  font-style: normal;
  font-size: 11px;
  color: #6ee7b7;
  margin-left: 6px;
}

.dash-chart {
  display: flex;
  align-items: flex-end;
  gap: 7px;
  height: 110px;
  padding: 12px 4px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.dash-chart i {
  flex: 1;
  display: block;
  border-radius: 5px 5px 0 0;
  background: linear-gradient(180deg, #818cf8, rgba(129, 140, 248, 0.15));
}

.dash-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 12px;
  color: #94a3b8;
}

.dash-foot b {
  color: #6ee7b7;
  font-weight: 600;
}

/* ---------- 通用区块 ---------- */
.section {
  padding: 92px 0;
}

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

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

.eyebrow {
  display: inline-block;
  color: var(--brand);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.section-head h2 {
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.22;
  letter-spacing: -0.03em;
  margin: 0 0 16px;
}

.section-head p {
  color: var(--ink-soft);
  font-size: 16.5px;
  margin: 0;
}

/* ---------- 信任条 ---------- */
.trust {
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.trust-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.trust-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.trust-items {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
}

.trust-items span::before {
  content: "✓";
  color: var(--brand);
  font-weight: 800;
  margin-right: 8px;
}

/* ---------- 服务卡片 ---------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: #c7d2fe;
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 13px;
  background: var(--brand-light);
  color: var(--brand);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
}

.card-icon svg {
  width: 24px;
  height: 24px;
}

.card h3 {
  font-size: 20px;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}

.card p {
  color: var(--ink-soft);
  font-size: 15px;
  margin: 0 0 18px;
}

.card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
  color: var(--ink-soft);
}

.card li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 7px;
}

.card li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 10px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

/* ---------- 流程 ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: step;
}

.step {
  position: relative;
  padding-top: 26px;
}

.step::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  border-radius: 999px;
  background: var(--line);
}

.step::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 25%;
  height: 4px;
  border-radius: 999px;
  background: var(--brand);
}

.step:nth-child(2)::after { width: 50%; }
.step:nth-child(3)::after { width: 75%; }
.step:nth-child(4)::after { width: 100%; }

.step-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 750;
  color: var(--brand);
  margin-bottom: 8px;
}

.step h3 {
  font-size: 18px;
  margin: 0 0 8px;
}

.step p {
  font-size: 14.5px;
  color: var(--ink-soft);
  margin: 0;
}

/* ---------- 安全区 ---------- */
.security-wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
}

.security-copy h2 {
  font-size: clamp(28px, 3.2vw, 40px);
  letter-spacing: -0.03em;
  line-height: 1.22;
  margin: 0 0 18px;
}

.security-copy p {
  color: var(--ink-soft);
  font-size: 16px;
}

.security-list {
  display: grid;
  gap: 14px;
}

.security-item {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 3px solid var(--brand);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
}

.security-item h3 {
  font-size: 16px;
  margin: 0 0 6px;
}

.security-item p {
  font-size: 14px;
  color: var(--ink-soft);
  margin: 0;
}

/* ---------- 关于 ---------- */
.about-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.about-panel {
  background: linear-gradient(150deg, #1e1b4b, #312e81);
  color: #fff;
  border-radius: 22px;
  padding: 38px;
  box-shadow: var(--shadow);
}

.about-panel h3 {
  font-size: 15px;
  color: #a5b4fc;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 26px;
}

.about-fact {
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.about-fact:last-child {
  border-bottom: none;
}

.about-fact span {
  display: block;
  font-size: 12px;
  color: #a5b4fc;
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.about-fact strong {
  font-size: 17px;
  font-weight: 650;
}

/* ---------- 联系 ---------- */
.contact-wrap {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
}

.contact-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-sm);
}

.field {
  margin-bottom: 16px;
}

.field label {
  display: block;
  font-size: 13.5px;
  font-weight: 650;
  margin-bottom: 7px;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  background: var(--bg-soft);
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12);
}

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

.form-note {
  font-size: 12.5px;
  color: var(--ink-light);
  margin: 10px 0 0;
}

.form-status {
  margin-top: 14px;
  font-size: 14px;
  color: #059669;
  font-weight: 600;
  min-height: 20px;
}

.contact-info h3 {
  font-size: 19px;
  margin: 0 0 18px;
}

.info-row {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.info-row:last-child {
  border-bottom: none;
}

.info-row span {
  display: block;
  font-size: 12.5px;
  color: var(--ink-light);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 5px;
}

.info-row a,
.info-row strong {
  font-size: 15.5px;
  font-weight: 600;
  color: var(--ink);
  word-break: break-word;
}

.info-row a:hover {
  color: var(--brand);
}

/* ---------- 页脚 ---------- */
.site-footer {
  background: var(--navy);
  color: #cbd5e1;
  padding: 62px 0 28px;
  font-size: 14px;
}

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

.footer-brand .brand {
  color: #fff;
}

.footer-brand p {
  max-width: 320px;
  color: #94a3b8;
  margin: 16px 0 0;
  font-size: 13.5px;
}

.footer-col h4 {
  color: #fff;
  font-size: 14px;
  margin: 0 0 16px;
}

.footer-col a {
  display: block;
  color: #94a3b8;
  margin-bottom: 10px;
  font-size: 13.5px;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  color: #64748b;
  font-size: 12.5px;
}

.footer-bottom p {
  margin: 6px 0;
  max-width: 900px;
}

/* ---------- 法律页面 ---------- */
.legal-header {
  background: linear-gradient(160deg, #0b1120, #1e1b4b);
  color: #fff;
  padding: 66px 0 58px;
}

.legal-header h1 {
  font-size: clamp(32px, 4vw, 46px);
  letter-spacing: -0.035em;
  margin: 12px 0 10px;
}

.legal-header p {
  color: #cbd5e1;
  margin: 0;
  font-size: 15px;
}

.legal-body {
  max-width: 820px;
  margin: 0 auto;
  padding: 58px 24px 84px;
}

.legal-note {
  background: var(--brand-light);
  border-left: 3px solid var(--brand);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: 14px;
  color: var(--brand-dark);
  margin-bottom: 34px;
}

.legal-section {
  margin-bottom: 34px;
}

.legal-section h2 {
  font-size: 20px;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
}

.legal-section p {
  color: var(--ink-soft);
  font-size: 15.5px;
  margin: 0;
}

.legal-meta {
  border-top: 1px solid var(--line);
  margin-top: 40px;
  padding-top: 22px;
  font-size: 13.5px;
  color: var(--ink-light);
}

.legal-meta a {
  color: var(--brand);
  font-weight: 600;
}

/* ---------- 数据面板展示区 ---------- */
.dash-shell {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.dash-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
}

.dash-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.dash-tab {
  border: 1px solid transparent;
  background: transparent;
  color: var(--ink-soft);
  padding: 9px 17px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 650;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.dash-tab:hover { color: var(--brand); }

.dash-tab.active {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 8px 18px rgba(79, 70, 229, 0.22);
}

.dash-range {
  font-size: 13px;
  color: var(--ink-soft);
  font-weight: 600;
}

.dash-range .dash-live { color: #10b981; margin-right: 4px; }

.dash-panel {
  display: none;
  padding: 26px;
}

.dash-panel.active { display: block; }

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

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

.kpi-label {
  display: block;
  font-size: 12px;
  color: var(--ink-light);
  margin-bottom: 8px;
  white-space: nowrap;
}

.kpi-value {
  display: block;
  font-size: 21px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.kpi-change {
  display: inline-block;
  margin-top: 6px;
  font-size: 11.5px;
  font-weight: 700;
}

.kpi-change.up { color: #059669; }

.chart-row {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 18px;
}

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

.chart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.chart-head h3 {
  font-size: 15px;
  margin: 0;
}

.chart-legend {
  display: flex;
  gap: 14px;
  font-size: 12px;
  color: var(--ink-soft);
}

.chart-legend span { display: inline-flex; align-items: center; gap: 6px; }

.lg { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.lg-a { background: var(--brand); }
.lg-b { background: var(--accent); }

.line-chart, .bar-chart {
  width: 100%;
  height: 210px;
  display: block;
}

.grid-lines line {
  stroke: var(--line);
  stroke-width: 1;
  stroke-dasharray: 4 4;
}

.line-chart .area { fill: url(#areaFill); }
.line-chart .line-a,
.line-chart .line-b {
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.line-chart .line-a { stroke: var(--brand); }
.line-chart .line-b { stroke: var(--accent); stroke-dasharray: 5 4; }

.bar-chart rect { fill: #c7d2fe; }
.bar-chart rect.bar-hi { fill: var(--brand); }

.chart-axis {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--ink-light);
  margin-top: 8px;
}

/* 表格 */
.table-wrap { overflow-x: auto; }

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  min-width: 760px;
}

.data-table th {
  text-align: left;
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-light);
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
}

.data-table td {
  padding: 14px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  white-space: nowrap;
}

.data-table tbody tr:hover { background: var(--bg-soft); }
.data-table td:first-child { font-weight: 650; color: var(--ink); }
.data-table td.good { color: #059669; font-weight: 750; }

.pill {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
}
.pill.ok { background: #dcfce7; color: #15803d; }
.pill.pause { background: #fef3c7; color: #b45309; }
.pill.done { background: #e2e8f0; color: #475569; }

.dash-caption {
  font-size: 12px;
  color: var(--ink-light);
  margin: 16px 0 0;
}

/* 受众 */
.audience-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.geo-wrap {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.donut { width: 180px; height: 180px; flex-shrink: 0; transform: rotate(-90deg); }
.donut-track { fill: none; stroke: var(--bg-soft); stroke-width: 22; }
.donut .seg { fill: none; stroke-width: 22; }
.seg1 { stroke: #4f46e5; }
.seg2 { stroke: #06b6d4; }
.seg3 { stroke: #f59e0b; }
.seg4 { stroke: #10b981; }
.seg5 { stroke: #cbd5e1; }
.donut-num { transform: rotate(90deg); transform-origin: 100px 100px; text-anchor: middle; font-size: 26px; font-weight: 800; fill: var(--ink); }
.donut-cap { transform: rotate(90deg); transform-origin: 100px 100px; text-anchor: middle; font-size: 10px; fill: var(--ink-light); letter-spacing: 0.1em; }

.geo-legend { list-style: none; padding: 0; margin: 0; flex: 1; min-width: 160px; }
.geo-legend li { display: flex; align-items: center; gap: 8px; font-size: 13px; padding: 5px 0; color: var(--ink-soft); }
.geo-legend b { margin-left: auto; color: var(--ink); }
.sg { width: 9px; height: 9px; border-radius: 3px; display: inline-block; }
.sg1 { background: #4f46e5; } .sg2 { background: #06b6d4; }
.sg3 { background: #f59e0b; } .sg4 { background: #10b981; } .sg5 { background: #cbd5e1; }

.age-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 13px;
}
.age-row > span { width: 48px; color: var(--ink-soft); }
.age-row > b { width: 38px; text-align: right; }
.age-track {
  flex: 1;
  height: 9px;
  background: var(--bg-soft);
  border-radius: 999px;
  overflow: hidden;
}
.age-track i {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
}

.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-cloud span {
  background: var(--brand-light);
  color: var(--brand-dark);
  padding: 6px 13px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
}

/* 漏斗 */
.funnel-wrap { max-width: 720px; margin: 0 auto; }
.funnel-step { display: flex; align-items: center; gap: 14px; margin-bottom: 10px; }
.funnel-bar {
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  border-radius: 8px;
  min-width: 240px;
}
.funnel-bar b { font-size: 15px; }
.funnel-rate { font-size: 13px; font-weight: 700; color: var(--ink-light); min-width: 58px; }
.s1 .funnel-bar { width: 100%; background: #312e81; }
.s2 .funnel-bar { width: 84%; background: #4338ca; }
.s3 .funnel-bar { width: 68%; background: #4f46e5; }
.s4 .funnel-bar { width: 52%; background: #6366f1; }
.s5 .funnel-bar { width: 38%; background: #06b6d4; }

/* ---------- 子页面标题区 ---------- */
.page-hero {
  background: linear-gradient(160deg, #0b1120, #1e1b4b);
  color: #fff;
  padding: 66px 0 60px;
}

.page-hero .eyebrow { color: #a5b4fc; }

.page-hero h1 {
  font-size: clamp(32px, 4vw, 46px);
  letter-spacing: -0.035em;
  margin: 6px 0 12px;
  max-width: 760px;
}

.page-hero p {
  color: #cbd5e1;
  font-size: 16.5px;
  margin: 0;
  max-width: 720px;
}

.nav-links a.active { color: var(--brand); font-weight: 700; }

/* ---------- 首页快速导航 ---------- */
.quick-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.quick-card {
  position: relative;
  display: block;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.quick-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: #c7d2fe;
}

.quick-icon {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--brand);
  background: var(--brand-light);
  border-radius: 8px;
  padding: 5px 10px;
  margin-bottom: 16px;
}

.quick-card h3 { font-size: 18px; margin: 0 0 8px; }
.quick-card p { font-size: 14px; color: var(--ink-soft); margin: 0; padding-right: 26px; }

.quick-arrow {
  position: absolute;
  top: 26px;
  right: 22px;
  font-size: 20px;
  color: var(--ink-light);
  transition: color 0.2s ease, transform 0.2s ease;
}

.quick-card:hover .quick-arrow { color: var(--brand); transform: translateX(3px); }

.text-link {
  display: inline-block;
  margin-top: 14px;
  color: var(--brand);
  font-size: 14px;
  font-weight: 700;
}

.text-link:hover { text-decoration: underline; }

/* ---------- CTA 横幅 ---------- */
.cta-banner {
  background: linear-gradient(120deg, #312e81, #4338ca);
  color: #fff;
  padding: 48px 0;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}

.cta-inner h2 { font-size: 28px; margin: 0 0 8px; letter-spacing: -0.02em; }
.cta-inner p { margin: 0; color: #e0e7ff; max-width: 620px; font-size: 15px; }
.cta-inner .btn { background: #fff; color: var(--brand-dark); white-space: nowrap; }
.cta-inner .btn:hover { background: #eef2ff; }

/* ---------- 详情页区块 ---------- */
.detail-list { max-width: 900px; margin: 0 auto; }

.detail-block {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 26px;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}

.detail-block:last-child { border-bottom: none; }

.detail-num {
  font-size: 30px;
  font-weight: 800;
  color: #c7d2fe;
  letter-spacing: -0.03em;
  line-height: 1;
}

.detail-copy h2 { font-size: 24px; margin: 0 0 12px; letter-spacing: -0.02em; }
.detail-copy p { font-size: 15.5px; color: var(--ink-soft); margin: 0 0 14px; }
.detail-copy ul { list-style: none; padding: 0; margin: 0; }
.detail-copy li { position: relative; padding-left: 20px; margin-bottom: 7px; color: var(--ink-soft); font-size: 14.5px; }
.detail-copy li::before { content: ""; position: absolute; left: 2px; top: 10px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.detail-links { display: flex; flex-wrap: wrap; gap: 24px; }

/* ---------- 动画 & 响应式 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

@media (max-width: 980px) {
  .hero-grid,
  .security-wrap,
  .about-wrap,
  .contact-wrap {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .dashboard {
    max-width: 560px;
  }

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

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

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

@media (max-width: 720px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 12px 24px 20px;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 11px 0;
    border-bottom: 1px solid var(--line);
  }

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

  .nav-cta {
    display: none;
  }

  .section {
    padding: 66px 0;
  }

  .grid-3,
  .steps,
  .footer-grid,
  .dash-stats {
    grid-template-columns: 1fr;
  }

  .trust-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .dash-stats {
    gap: 8px;
  }

  .about-panel {
    padding: 28px;
  }

  .contact-form {
    padding: 22px;
  }

  .dash-panel { padding: 16px; }
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .chart-row, .audience-grid { grid-template-columns: 1fr; }
  .geo-wrap { justify-content: center; }
  .funnel-bar { min-width: 0; padding: 0 12px; font-size: 12px; }
  .quick-grid { grid-template-columns: 1fr; }
  .detail-block { grid-template-columns: 1fr; gap: 8px; }
}

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

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