/* ============================================================
   MetaAdPartner 官网落地页样式
   纯静态 CSS，无预处理器 / 无框架依赖
   ============================================================ */

/* ------------------------------------------------------------
   主题变量
   浅色为默认；深色在两处生效：
   1. 跟随系统偏好（用户没有手动选过主题时）
   2. 手动切换写入 <html data-theme="dark">
   ------------------------------------------------------------ */
:root {
  /* 品牌色：纯色，不使用渐变 */
  --brand: #0064e0; /* 文字 / 图标 / 描边 */
  --brand-fill: #0064e0; /* 按钮与色块填充（配白字，对比度 5.4:1） */
  --brand-dark: #0050b8;
  --brand-light: #e6f0fd;

  /* 中性色 */
  --ink: #0f2340;
  --ink-2: #3c4d66;
  --muted: #63738a; /* 白底上 4.69:1，原 #6b7c93 只有 4.26 差一点到 AA */
  --line: #e6ebf2;
  --bg: #ffffff;
  --bg-alt: #f5f8fd;
  --dark: #0b1524;

  /* 表面 */
  --surface: #ffffff;
  --nav-bg: rgba(255, 255, 255, 0.82);
  --nav-bg-solid: rgba(255, 255, 255, 0.96);
  --badge-bg: rgba(255, 255, 255, 0.9);
  --ghost-bg: rgba(255, 255, 255, 0.7);
  --input-bg: #ffffff;
  --hero-bg: #f4f8fe;
  --cta-bg: #eef4fd;
  --placeholder: #a9b4c4;
  --on-brand: #ffffff;
  --brand-soft: rgba(0, 100, 224, 0.35);

  /* 效果 */
  --radius: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 10px rgba(15, 35, 64, 0.06);
  --shadow: 0 10px 34px rgba(15, 35, 64, 0.09);
  --shadow-lg: 0 22px 60px rgba(0, 100, 224, 0.16);
  --container: 1180px;
}

/* 深色令牌（两个选择器共用同一份取值） */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --brand: #4d9dff; /* 深色底上提亮，保证文字对比度 6.9:1 */
    --brand-fill: #0064e0; /* 填充仍用主色，白字对比度 5.4:1 */
    --brand-dark: #2d7ae0;
    --brand-light: rgba(77, 157, 255, 0.14);

    --ink: #e8eef7;
    --ink-2: #b3c2d6;
    --muted: #8496ac;
    --line: #23324c;
    --bg: #0a1220;
    --bg-alt: #0e1725;
    --dark: #121d31;

    --surface: #141e30;
    --nav-bg: rgba(10, 18, 32, 0.8);
    --nav-bg-solid: rgba(10, 18, 32, 0.96);
    --badge-bg: rgba(20, 30, 48, 0.9);
    --ghost-bg: rgba(255, 255, 255, 0.06);
    --input-bg: #0e1828;
    --hero-bg: #0c1728;
    --cta-bg: #0c1728;
    --placeholder: #64748b;
    --brand-soft: rgba(77, 157, 255, 0.45);

    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.4);
    --shadow: 0 10px 34px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 22px 60px rgba(0, 0, 0, 0.6);
  }
}

:root[data-theme='dark'] {
  --brand: #4d9dff; /* 深色底上提亮，保证文字对比度 6.9:1 */
  --brand-fill: #0064e0; /* 填充仍用主色，白字对比度 5.4:1 */
  --brand-dark: #2d7ae0;
  --brand-light: rgba(77, 157, 255, 0.14);

  --ink: #e8eef7;
  --ink-2: #b3c2d6;
  --muted: #8496ac;
  --line: #23324c;
  --bg: #0a1220;
  --bg-alt: #0e1725;
  --dark: #121d31;

  --surface: #141e30;
  --nav-bg: rgba(10, 18, 32, 0.8);
  --nav-bg-solid: rgba(10, 18, 32, 0.96);
  --badge-bg: rgba(20, 30, 48, 0.9);
  --ghost-bg: rgba(255, 255, 255, 0.06);
  --input-bg: #0e1828;
  --hero-bg: #0c1728;
  --cta-bg: #0c1728;
  --placeholder: #64748b;
  --brand-soft: rgba(77, 157, 255, 0.45);

  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.4);
  --shadow: 0 10px 34px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 22px 60px rgba(0, 0, 0, 0.6);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
}

body {
  font-family: 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

img,
svg {
  max-width: 100%;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------------- 按钮 ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 11px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.btn-primary {
  background: var(--brand-fill);
  color: #fff;
  box-shadow: 0 8px 22px rgba(0, 100, 224, 0.28);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0, 100, 224, 0.36);
}

.btn-outline {
  background: var(--surface);
  color: var(--brand);
  border-color: var(--brand-soft);
}

.btn-outline:hover {
  background: var(--brand-light);
  transform: translateY(-2px);
}

.btn-ghost {
  background: var(--ghost-bg);
  color: var(--ink);
  border-color: var(--line);
  backdrop-filter: blur(6px);
}

.btn-ghost:hover {
  border-color: var(--brand);
  color: var(--brand);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 14px;
}

.btn-lg {
  padding: 14px 32px;
  font-size: 16px;
}

.btn-block {
  width: 100%;
}

/* ---------------- 导航栏 ---------------- */
.navbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: var(--nav-bg);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.navbar.is-scrolled {
  background: var(--nav-bg-solid);
  border-bottom-color: var(--line);
  box-shadow: 0 2px 18px rgba(15, 35, 64, 0.07);
}

.navbar-inner {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  flex-shrink: 0;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--brand-fill);
  color: #fff;
}

.brand-mark svg {
  width: 21px;
  height: 21px;
}

.brand-name {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.3px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 15px;
  color: var(--ink-2);
}

.nav-menu a {
  position: relative;
  padding: 6px 0;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--brand);
  transition: width 0.25s ease;
}

.nav-menu a:hover,
.nav-menu a.is-active {
  color: var(--brand);
}

.nav-menu a:hover::after,
.nav-menu a.is-active::after {
  width: 100%;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 700;
  color: var(--brand);
}

.nav-phone svg {
  width: 16px;
  height: 16px;
}

/* 主题切换 / 语言切换 */
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 34px;
  min-width: 34px;
  padding: 0 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink-2);
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, transform 0.2s;
}

.icon-btn:hover {
  color: var(--brand);
  border-color: var(--brand-soft);
  transform: translateY(-1px);
}

.icon-btn .ico,
.lang-btn svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}

/* 浅色下显示月亮（点击转深色），深色下显示太阳 */
.ico-sun {
  display: none;
}

:root[data-theme='dark'] .ico-sun {
  display: block;
}

:root[data-theme='dark'] .ico-moon {
  display: none;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .ico-sun {
    display: block;
  }
  :root:not([data-theme='light']) .ico-moon {
    display: none;
  }
}

.nav-toggle {
  display: none;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  cursor: pointer;
  padding: 10px 9px;
  flex-direction: column;
  justify-content: space-between;
}

.nav-toggle span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.25s, opacity 0.2s;
}

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  padding: 150px 0 96px;
  overflow: hidden;
  background: var(--hero-bg);
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* 原本是两团品牌色径向光晕，改为纯色平面风格后不再需要 */

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px 7px 12px;
  border: 1px solid var(--brand-soft);
  border-radius: 999px;
  background: var(--badge-bg);
  color: var(--brand);
  font-size: 14px;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.18);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2); }
  50% { box-shadow: 0 0 0 7px rgba(34, 197, 94, 0.05); }
}

.hero-title {
  margin: 22px 0 18px;
  font-size: 52px;
  line-height: 1.22;
  font-weight: 800;
  letter-spacing: -1px;
}

.grad-text {
  color: var(--brand);
}

.hero-desc {
  font-size: 18px;
  color: var(--ink-2);
  max-width: 520px;
}

.hero-points {
  margin: 24px 0 32px;
  display: grid;
  gap: 11px;
}

.hero-points li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--ink-2);
}

.tick {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--brand-light);
  color: var(--brand);
  font-size: 12px;
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-note {
  margin-top: 18px;
  font-size: 13px;
  color: var(--muted);
}

/* Hero 右侧数据面板 */
.hero-visual {
  position: relative;
}

.panel {
  position: relative;
  z-index: 2;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  animation: floaty 6s ease-in-out infinite;
}

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.panel-title {
  font-size: 15px;
  font-weight: 700;
}

.panel-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #22c55e;
  font-weight: 600;
}

.panel-live i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  animation: pulse 2s infinite;
}

.panel-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 18px 0;
}

.metric {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.metric-label {
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.4px;
}

.metric-value {
  font-size: 26px;
  font-weight: 800;
  color: var(--brand);
  line-height: 1.2;
}

.metric-value.is-down {
  color: #16a34a;
}

.metric-trend {
  font-size: 11px;
  font-weight: 600;
}

.metric-trend.up {
  color: #16a34a;
}

.metric-trend.down {
  color: var(--muted);
}

.panel-chart svg {
  width: 100%;
  height: 110px;
  display: block;
}

/* 折线与面积填充跟随主题（深色下用更亮的品牌蓝），面积为纯色半透明不用渐变 */
.panel-chart .chart-line {
  stroke: var(--brand);
}

.panel-chart .chart-area {
  fill: var(--brand);
  fill-opacity: 0.13;
}

.chart-line {
  stroke-dasharray: 700;
  stroke-dashoffset: 700;
  animation: draw 2.2s ease forwards 0.4s;
}

@keyframes draw {
  to { stroke-dashoffset: 0; }
}

.chart-axis {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 11px;
  color: var(--muted);
}

.float-card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 15px;
  border-radius: 12px;
  background: var(--surface);
  box-shadow: var(--shadow);
  animation: floaty 5s ease-in-out infinite;
}

.float-card strong {
  display: block;
  font-size: 13px;
  line-height: 1.4;
}

.float-card small {
  font-size: 11px;
  color: var(--muted);
}

.float-card-a {
  top: 6%;
  left: -46px;
  animation-delay: 0.6s;
}

.float-card-b {
  bottom: 4%;
  right: -34px;
  animation-delay: 1.4s;
}

.fc-icon {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}

.fc-icon.green { background: #22c55e; }
.fc-icon.blue { background: var(--brand); }

.fc-icon svg {
  width: 16px;
  height: 16px;
}

/* ---------------- 数据条 ---------------- */
.statsbar {
  background: var(--dark);
  color: #fff;
}

.statsbar-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding-top: 38px;
  padding-bottom: 38px;
}

.stat {
  text-align: center;
  padding: 4px 10px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.stat:last-child {
  border-right: none;
}

.stat strong {
  display: block;
  font-size: 36px;
  font-weight: 800;
  line-height: 1.2;
  color: #fff;
}

.stat span {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.66);
}

/* ---------------- 通用区块 ---------------- */
.section {
  padding: 92px 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 52px;
}

.section-tag {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 999px;
  background: var(--brand-light);
  color: var(--brand);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.4px;
}

.section-tag.light {
  background: rgba(255, 255, 255, 0.12);
  color: #8fc3ff;
}

.section-title {
  margin: 16px 0 12px;
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.6px;
  line-height: 1.35;
}

.section-sub {
  font-size: 16px;
  color: var(--muted);
}

.section-cta {
  margin-top: 46px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.gift {
  font-size: 14px;
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 22px;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

/* ---------------- 优势卡片 ---------------- */
.card {
  position: relative;
  padding: 30px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
  border-color: var(--brand-soft);
  box-shadow: var(--shadow);
}

.card:hover::before {
  transform: scaleX(1);
}

.card-icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 13px;
  background: var(--brand-light);
  color: var(--brand);
}

.card-icon svg {
  width: 25px;
  height: 25px;
}

.card h3 {
  margin: 18px 0 10px;
  font-size: 18px;
  font-weight: 700;
}

.card p {
  font-size: 14.5px;
  color: var(--muted);
}

/* ---------------- 成长路径 ---------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 28px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.step::after {
  content: '';
  position: absolute;
  top: 50px;
  right: -14px;
  width: 10px;
  height: 10px;
  border-top: 2px solid var(--line);
  border-right: 2px solid var(--line);
  transform: rotate(45deg);
}

.step:last-child::after {
  display: none;
}

.step:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.step-no {
  display: inline-block;
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
  color: var(--brand);
  opacity: 0.9;
}

.step h3 {
  margin: 12px 0 8px;
  font-size: 17px;
  font-weight: 700;
}

.step p {
  font-size: 13.5px;
  color: var(--muted);
}

/* ---------------- 方案 ---------------- */
.plans {
  gap: 26px;
  max-width: 940px;
  margin: 0 auto;
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 34px 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.plan:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.plan-featured {
  border-color: transparent;
  background: var(--brand-fill);
  color: #fff;
  box-shadow: var(--shadow-lg);
}

.plan-flag {
  position: absolute;
  top: 20px;
  right: 22px;
  padding: 4px 13px;
  border-radius: 999px;
  /* 亮琥珀底配深色字：白字配亮橙只有 2.3:1，达不到 AA */
  background: #ffb020;
  color: #4a2b00;
  font-size: 12px;
  font-weight: 700;
}

.plan-head h3 {
  font-size: 23px;
  font-weight: 800;
}

.plan-price {
  display: inline-block;
  margin: 6px 0 12px;
  font-size: 15px;
  font-weight: 700;
  color: var(--brand);
}

.plan-featured .plan-price {
  /* 主色纯色底上需要更亮才够 AA（15px 粗体不算 WCAG 大字） */
  color: #eaf2ff;
}

.plan-desc {
  font-size: 14.5px;
  color: var(--muted);
  min-height: 48px;
}

.plan-featured .plan-desc {
  color: rgba(255, 255, 255, 0.85);
}

.plan-list {
  flex: 1;
  margin: 22px 0 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 12px;
}

.plan-featured .plan-list {
  border-top-color: rgba(255, 255, 255, 0.16);
}

.plan-list li {
  position: relative;
  padding-left: 26px;
  font-size: 14.5px;
  color: var(--ink-2);
}

.plan-featured .plan-list li {
  color: rgba(255, 255, 255, 0.95);
}

.plan-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  width: 18px;
  height: 18px;
  margin-top: 4px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--brand-light);
  color: var(--brand);
  font-size: 11px;
  font-weight: 700;
}

.plan-featured .plan-list li::before {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}

.plan-featured .btn-primary {
  background: #fff;
  color: var(--brand-fill);
  box-shadow: none;
}

.plan-featured .btn-primary:hover {
  background: #eaf2ff;
}

/* ---------------- 行业 ---------------- */
.industries {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.industry {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  font-size: 16px;
  font-weight: 600;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

/* 只给图标定尺寸；行业名沿用 .industry 的 16px */
.industry-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: var(--brand-light);
  color: var(--brand);
  flex-shrink: 0;
}

.industry-icon svg {
  width: 21px;
  height: 21px;
}

.industry:hover {
  transform: translateY(-4px);
  border-color: var(--brand-soft);
  box-shadow: var(--shadow);
}

/* ---------------- 案例 ---------------- */
.case {
  display: flex;
  flex-direction: column;
  padding: 28px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.case:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.case-tag {
  align-self: flex-start;
  padding: 3px 12px;
  border-radius: 999px;
  background: var(--brand-light);
  color: var(--brand);
  font-size: 12px;
  font-weight: 700;
}

.case h3 {
  margin: 14px 0 10px;
  font-size: 19px;
  font-weight: 700;
}

.case p {
  flex: 1;
  font-size: 14.5px;
  color: var(--muted);
}

.case-data {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px dashed var(--line);
}

.case-data strong {
  display: block;
  font-size: 25px;
  font-weight: 800;
  color: var(--brand);
}

.case-data span {
  font-size: 13px;
  color: var(--muted);
}

/* ---------------- 奖项（深色） ---------------- */
.section-dark {
  background: var(--dark);
  color: #fff;
}

.section-dark .section-title {
  color: #fff;
}

.section-dark .section-sub {
  color: rgba(255, 255, 255, 0.66);
}

.awards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.award-year {
  padding: 28px 26px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(6px);
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.award-year:hover {
  transform: translateY(-6px);
  border-color: rgba(143, 195, 255, 0.5);
  background: rgba(255, 255, 255, 0.09);
}

.award-year .year {
  display: inline-block;
  margin-bottom: 16px;
  font-size: 30px;
  font-weight: 800;
  color: #ffc978;
}

.award-year li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.82);
}

/* 奖杯图标：内联 SVG（data URI），与页面其它线性图标同一风格 */
.award-year li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 5px;
  width: 15px;
  height: 15px;
  background: no-repeat center / contain
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffd479' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 3h12v6a6 6 0 0 1-12 0Z'/%3E%3Cpath d='M6 5H3.5v2A3.5 3.5 0 0 0 7 10.5M18 5h2.5v2a3.5 3.5 0 0 1-3.5 3.5'/%3E%3Cpath d='M12 15v3M8.5 21h7l-.7-3h-5.6Z'/%3E%3C/svg%3E");
}

/* ---------------- CTA + 表单 ---------------- */
.cta {
  padding: 88px 0;
  background: var(--cta-bg);
}

.cta-inner {
  display: grid;
  grid-template-columns: 1fr 430px;
  gap: 56px;
  align-items: center;
}

.cta-copy h2 {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.6px;
}

.cta-copy p {
  margin: 18px 0 24px;
  font-size: 16px;
  color: var(--ink-2);
  max-width: 520px;
}

.cta-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cta-points li {
  padding: 7px 16px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 14px;
  font-weight: 600;
  color: var(--brand);
  box-shadow: var(--shadow-sm);
}

.cta-form {
  padding: 32px 30px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
}

.cta-form h3 {
  margin-bottom: 20px;
  font-size: 21px;
  font-weight: 800;
  text-align: center;
}

.field {
  margin-bottom: 15px;
}

.field label {
  display: block;
  margin-bottom: 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-2);
}

.field label i {
  color: #ef4444;
  font-style: normal;
}

.field input,
.field select {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 14.5px;
  font-family: inherit;
  color: var(--ink);
  background: var(--input-bg);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.field input:focus,
.field select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(0, 100, 224, 0.16);
}

.field input.has-error {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.field input::placeholder {
  color: var(--placeholder);
}

.form-tip {
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--muted);
  text-align: center;
}

.form-tip.is-ok {
  color: #16a34a;
  font-weight: 600;
}

.form-tip.is-err {
  color: #ef4444;
  font-weight: 600;
}

/* ---------------- 页脚 ---------------- */
.footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 50px;
  padding-top: 56px;
  padding-bottom: 40px;
}

.footer .brand-name {
  color: #fff;
}

.footer-contact {
  margin: 18px 0;
  display: grid;
  gap: 7px;
}

.footer-contact a:hover {
  color: #8fc3ff;
}

.qrcodes {
  display: flex;
  gap: 18px;
}

.qr {
  text-align: center;
  font-size: 12px;
}

.qr-img {
  width: 84px;
  height: 84px;
  margin-bottom: 6px;
  border-radius: 8px;
  background:
    repeating-linear-gradient(90deg, #fff 0 6px, #0b1524 6px 12px),
    repeating-linear-gradient(0deg, #fff 0 6px, #0b1524 6px 12px);
  background-blend-mode: difference;
  border: 4px solid #fff;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.footer-col h4 {
  margin-bottom: 16px;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}

.footer-col a {
  display: block;
  margin-bottom: 10px;
  transition: color 0.2s, transform 0.2s;
}

.footer-col a:hover {
  color: #8fc3ff;
  transform: translateX(3px);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 20px;
  padding-bottom: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.52);
}

.footer-legal {
  display: flex;
  gap: 18px;
}

.footer-legal a:hover {
  color: #8fc3ff;
}

/* ---------------- 右侧悬浮 ---------------- */
.floatbar {
  position: fixed;
  right: 18px;
  bottom: 90px;
  z-index: 90;
  display: grid;
  gap: 8px;
}

.fb-item {
  position: relative;
  width: 62px;
  padding: 10px 4px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: var(--shadow);
  display: grid;
  place-items: center;
  gap: 3px;
  font-size: 12px;
  font-family: inherit;
  color: var(--ink-2);
  cursor: pointer;
  transition: transform 0.2s, color 0.2s, border-color 0.2s;
}

.fb-item:hover {
  transform: translateY(-2px);
  color: var(--brand);
  border-color: var(--brand-soft);
}

.fb-icon {
  display: grid;
  place-items: center;
  line-height: 1;
}

.fb-icon svg {
  width: 19px;
  height: 19px;
}

.fb-primary {
  background: var(--brand-fill);
  border-color: transparent;
  color: #fff;
}

.fb-primary:hover {
  color: #fff;
}

.fb-pop {
  position: absolute;
  right: 72px;
  top: 50%;
  transform: translateY(-50%) scale(0.92);
  padding: 12px;
  border-radius: 12px;
  background: var(--surface);
  box-shadow: var(--shadow);
  text-align: center;
  font-size: 12px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
}

.fb-wechat:hover .fb-pop {
  opacity: 1;
  transform: translateY(-50%) scale(1);
}

.fb-pop .qr-img {
  width: 104px;
  height: 104px;
  border-color: #f0f3f8;
}

.fb-top {
  opacity: 0;
  pointer-events: none;
}

.fb-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}

/* ---------------- 滚动进场动画 ---------------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ---------------- 响应式 ---------------- */
@media (max-width: 1080px) {
  .hero-title { font-size: 44px; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .step:nth-child(3)::after { display: none; }
  .float-card-a { left: -18px; }
  .float-card-b { right: -10px; }
}

@media (max-width: 900px) {
  html { scroll-padding-top: 68px; }

  .nav-menu {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 24px 18px;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    display: none;
  }

  .nav-menu.is-open { display: flex; }
  .nav-menu a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-menu a::after { display: none; }
  .nav-toggle { display: flex; }
  .nav-phone { display: none; }

  .hero { padding: 118px 0 70px; }
  .hero-inner { grid-template-columns: 1fr; gap: 44px; }
  .hero-title { font-size: 38px; }
  .hero-desc { font-size: 16.5px; }

  .statsbar-inner { grid-template-columns: repeat(2, 1fr); gap: 26px 0; }
  .stat:nth-child(2n) { border-right: none; }

  .section { padding: 66px 0; }
  .section-title { font-size: 28px; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step::after { display: none; }
  .industries { grid-template-columns: repeat(2, 1fr); }
  .awards { grid-template-columns: 1fr; }

  .cta { padding: 66px 0; }
  .cta-inner { grid-template-columns: 1fr; gap: 34px; }
  .cta-copy h2 { font-size: 30px; }

  .footer-top { grid-template-columns: 1fr; gap: 34px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .floatbar { right: 10px; bottom: 20px; }
  .fb-item { width: 54px; font-size: 11px; }
  .fb-pop { display: none; }
}

/* 窄屏放不下「品牌 + 开户按钮 + 主题 + 语言 + 汉堡」五件套，
   隐藏导航栏里的开户按钮（右侧悬浮栏第一项就是开户，入口不丢），
   否则汉堡菜单会被挤出屏幕点不到。 */
@media (max-width: 640px) {
  .nav-right {
    gap: 8px;
  }

  .nav-right > .btn-primary {
    display: none;
  }
}

@media (max-width: 520px) {
  .container { padding: 0 18px; }
  .hero-title { font-size: 31px; }
  .section-title { font-size: 24px; }
  .cta-copy h2 { font-size: 26px; }
  .industries { grid-template-columns: 1fr; }
  .panel-metrics { grid-template-columns: 1fr; gap: 14px; }
  .float-card { display: none; }
  .hero-actions .btn { width: 100%; }
  .footer-links { grid-template-columns: 1fr; gap: 22px; }
  .cta-form { padding: 26px 20px; }
}
