/* ============================================================
   向量机工作室 · 企业门户站点样式
   设计灵感：agimz.com · 现代深色 SaaS · 青绿色(teal)主调
   ============================================================ */

/* ---------- 字体 ---------- */
@font-face {
  font-family: "Noto Sans SC";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: local("Noto Sans SC");
}

/* ---------- 设计变量 ---------- */
:root {
  /* 品牌主色 - teal/cyan */
  --c-primary: #14b8a6;
  --c-primary-600: #0d9488;
  --c-primary-400: #2dd4bf;
  --c-primary-300: #5eead4;
  --c-primary-glow: rgba(45, 212, 191, 0.35);

  /* 辅助色 */
  --c-accent: #06b6d4;     /* cyan */
  --c-accent-2: #8b5cf6;   /* violet 点缀 */
  --c-warning: #f59e0b;

  /* 文本 - 深色主题为默认 */
  --c-bg: #06080f;
  --c-bg-2: #0a0e1a;
  --c-surface: rgba(17, 25, 40, 0.6);
  --c-surface-solid: #0f1623;
  --c-surface-hover: rgba(45, 212, 191, 0.06);
  --c-border: rgba(255, 255, 255, 0.08);
  --c-border-strong: rgba(45, 212, 191, 0.25);

  --c-text: #e6edf3;
  --c-text-muted: #94a3b8;
  --c-text-soft: #64748b;

  /* 渐变 */
  --g-hero: radial-gradient(1200px 600px at 70% -10%, rgba(20, 184, 166, 0.25), transparent 60%),
            radial-gradient(900px 500px at 10% 20%, rgba(6, 182, 212, 0.18), transparent 55%),
            linear-gradient(180deg, #06080f 0%, #0a0e1a 100%);
  --g-card: linear-gradient(180deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.01) 100%);
  --g-cta: linear-gradient(135deg, #14b8a6 0%, #06b6d4 100%);
  --g-text: linear-gradient(135deg, #2dd4bf 0%, #06b6d4 50%, #8b5cf6 100%);

  /* 尺寸 */
  --nav-h: 64px;
  --maxw: 1200px;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;

  /* 阴影 */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.2);
  --shadow: 0 8px 24px rgba(0,0,0,0.35);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.5);
  --shadow-glow: 0 8px 40px rgba(20, 184, 166, 0.25);

  /* 过渡 */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* 浅色主题 */
:root.light {
  --c-bg: #f6f9fb;
  --c-bg-2: #ffffff;
  --c-surface: rgba(255, 255, 255, 0.8);
  --c-surface-solid: #ffffff;
  --c-surface-hover: rgba(20, 184, 166, 0.05);
  --c-border: rgba(15, 23, 42, 0.08);
  --c-border-strong: rgba(20, 184, 166, 0.3);

  --c-text: #0f172a;
  --c-text-muted: #475569;
  --c-text-soft: #64748b;

  --g-hero: radial-gradient(1200px 600px at 70% -10%, rgba(20, 184, 166, 0.18), transparent 60%),
            radial-gradient(900px 500px at 10% 20%, rgba(6, 182, 212, 0.12), transparent 55%),
            linear-gradient(180deg, #f6f9fb 0%, #ffffff 100%);
  --g-card: linear-gradient(180deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.6) 100%);
  --shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 60px rgba(15, 23, 42, 0.12);
}

/* ---------- 重置 ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--c-bg);
  color: var(--c-text);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
  transition: background 0.4s var(--ease), color 0.4s var(--ease);
}
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul, ol { list-style: none; }
img, svg { display: block; max-width: 100%; }
section { scroll-margin-top: var(--nav-h); }

/* ---------- 容器 ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}
@media (max-width: 640px) { .container { padding: 0 16px; } }

/* ============================================================
   导航
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 100;
  background: rgba(6, 8, 15, 0.7);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: all 0.3s var(--ease);
}
:root.light .nav { background: rgba(255, 255, 255, 0.75); }
.nav.scrolled {
  border-bottom-color: var(--c-border);
  box-shadow: var(--shadow-sm);
}
.nav__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav__brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; letter-spacing: -0.01em; }
.nav__logo {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 9px;
  background: var(--g-cta);
  color: #04211d;
  font-weight: 900;
  font-size: 16px;
  box-shadow: var(--shadow-glow);
}
.nav__brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.nav__brand-text small { font-size: 11px; font-weight: 500; color: var(--c-text-muted); letter-spacing: 0.04em; }

.nav__links { display: flex; align-items: center; gap: 4px; }
.nav__links a {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--c-text-muted);
  transition: all 0.2s var(--ease);
}
.nav__links a:hover { color: var(--c-text); background: var(--c-surface-hover); }

.nav__actions { display: flex; align-items: center; gap: 8px; }

.nav__toggle {
  width: 38px; height: 38px;
  display: none;
  place-items: center;
  border-radius: 8px;
  border: 1px solid var(--c-border);
  color: var(--c-text);
}
.nav__toggle svg { width: 20px; height: 20px; }

@media (max-width: 980px) {
  .nav__links {
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 16px;
    background: var(--c-bg-2);
    border-bottom: 1px solid var(--c-border);
    transform: translateY(-130%);
    transition: transform 0.35s var(--ease-out);
    box-shadow: var(--shadow-lg);
  }
  .nav__links.open { transform: translateY(0); }
  .nav__links a { padding: 12px 14px; font-size: 15px; }
  .nav__toggle { display: grid; }
  .nav__theme { display: none; }
}

/* 主题切换按钮 */
.theme-toggle {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 9px;
  border: 1px solid var(--c-border);
  color: var(--c-text-muted);
  transition: all 0.2s var(--ease);
}
.theme-toggle:hover { color: var(--c-primary-400); border-color: var(--c-border-strong); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .moon { display: none; }
:root.light .theme-toggle .sun { display: none; }
:root.light .theme-toggle .moon { display: block; }

/* 通用按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: all 0.2s var(--ease);
  white-space: nowrap;
}
.btn--primary {
  background: var(--g-cta);
  color: #04211d;
  box-shadow: var(--shadow-glow);
}
.btn--primary:hover { transform: translateY(-1px); box-shadow: 0 12px 36px rgba(20,184,166,0.4); }
.btn--ghost {
  border: 1px solid var(--c-border-strong);
  color: var(--c-text);
}
.btn--ghost:hover { background: var(--c-surface-hover); border-color: var(--c-primary-400); }
.btn--lg { padding: 14px 28px; font-size: 15px; border-radius: 12px; }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--g-hero);
  overflow: hidden;
  padding-top: var(--nav-h);
}
.hero__bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(45, 212, 191, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(45, 212, 191, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 80%);
}
.hero__orbs {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.5;
  animation: orb-float 14s ease-in-out infinite;
}
.hero__orb--1 { width: 420px; height: 420px; top: 8%; left: 60%; background: rgba(20, 184, 166, 0.35); }
.hero__orb--2 { width: 360px; height: 360px; bottom: 5%; left: 5%; background: rgba(6, 182, 212, 0.25); animation-delay: -5s; }
.hero__orb--3 { width: 280px; height: 280px; top: 50%; left: 30%; background: rgba(139, 92, 246, 0.18); animation-delay: -9s; }
@keyframes orb-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -40px) scale(1.08); }
  66% { transform: translate(-20px, 30px) scale(0.96); }
}
.hero__inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 880px;
  margin: 0 auto;
  padding: 80px 0;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--c-surface);
  border: 1px solid var(--c-border-strong);
  font-size: 13px;
  font-weight: 500;
  color: var(--c-primary-300);
  margin-bottom: 28px;
  backdrop-filter: blur(8px);
}
.hero__badge .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--c-primary-400);
  box-shadow: 0 0 12px var(--c-primary-glow);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.3); }
}
.hero__title {
  font-size: clamp(40px, 6.4vw, 76px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}
.hero__title .grad {
  background: var(--g-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero__subtitle {
  font-size: clamp(16px, 1.8vw, 20px);
  color: var(--c-text-muted);
  max-width: 640px;
  margin: 0 auto 40px;
  line-height: 1.7;
}
.hero__actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 64px;
}
.hero__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 28px 24px;
  border-radius: var(--radius);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  backdrop-filter: blur(12px);
  max-width: 760px;
  margin: 0 auto;
}
.hero__stat { text-align: center; }
.hero__stat-num {
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 800;
  background: var(--g-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.hero__stat-label { font-size: 13px; color: var(--c-text-muted); margin-top: 6px; }
@media (max-width: 640px) {
  .hero__stats { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }
}
.hero__scroll {
  position: absolute;
  bottom: 24px; left: 50%;
  transform: translateX(-50%);
  color: var(--c-text-soft);
  font-size: 12px;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  animation: bob 2.4s ease-in-out infinite;
}
.hero__scroll svg { width: 22px; height: 22px; }
@keyframes bob {
  0%, 100% { transform: translate(-50%, 0); opacity: 0.7; }
  50% { transform: translate(-50%, 8px); opacity: 1; }
}

/* ============================================================
   通用 section 头
   ============================================================ */
.section { padding: 96px 0; position: relative; }
@media (max-width: 768px) { .section { padding: 64px 0; } }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section__eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-primary-400);
  margin-bottom: 14px;
}
.section__title {
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 16px;
}
.section__title .grad { background: var(--g-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.section__desc { font-size: 16px; color: var(--c-text-muted); line-height: 1.7; }

/* ============================================================
   基础能力层 - 分类卡 + 子项
   ============================================================ */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  gap: 20px;
}
.cap-card {
  background: var(--g-card);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 28px;
  transition: all 0.35s var(--ease-out);
  position: relative;
  overflow: hidden;
}
.cap-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--g-cta);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}
.cap-card:hover {
  border-color: var(--c-border-strong);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.cap-card:hover::before { transform: scaleX(1); }
.cap-card__icon {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: rgba(20, 184, 166, 0.12);
  color: var(--c-primary-400);
  margin-bottom: 18px;
}
.cap-card__icon svg { width: 26px; height: 26px; }
.cap-card__title { font-size: 19px; font-weight: 700; margin-bottom: 6px; }
.cap-card__sub { font-size: 13px; color: var(--c-text-soft); margin-bottom: 16px; }
.cap-card__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  font-size: 12.5px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--c-border);
  color: var(--c-text-muted);
  transition: all 0.2s var(--ease);
}
:root.light .tag { background: rgba(15,23,42,0.03); }
.cap-card:hover .tag { border-color: var(--c-border-strong); color: var(--c-text); }
.tag:hover { background: var(--c-surface-hover); color: var(--c-primary-300); }

/* ============================================================
   应用层产品 - 大卡 (icon + 描述 + 子功能)
   ============================================================ */
.prod-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
.prod-card {
  position: relative;
  background: var(--g-card);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 30px;
  overflow: hidden;
  transition: all 0.35s var(--ease-out);
}
.prod-card::after {
  content: "";
  position: absolute;
  top: -50%; right: -50%;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(20,184,166,0.18), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
}
.prod-card:hover { transform: translateY(-4px); border-color: var(--c-border-strong); box-shadow: var(--shadow-lg); }
.prod-card:hover::after { opacity: 1; }
.prod-card__head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.prod-card__icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: var(--g-cta);
  color: #04211d;
  flex-shrink: 0;
}
.prod-card__icon svg { width: 24px; height: 24px; }
.prod-card__title { font-size: 18px; font-weight: 700; }
.prod-card__desc { font-size: 14px; color: var(--c-text-muted); margin-bottom: 18px; line-height: 1.65; }
.prod-card__list { display: flex; flex-direction: column; gap: 10px; }
.prod-card__list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13.5px; color: var(--c-text-muted);
}
.prod-card__list li svg { width: 16px; height: 16px; color: var(--c-primary-400); flex-shrink: 0; margin-top: 3px; }

/* ============================================================
   行业解决方案 - tab 切换
   ============================================================ */
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 40px;
}
.tab-btn {
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--c-border);
  font-size: 14px;
  font-weight: 500;
  color: var(--c-text-muted);
  background: var(--c-surface);
  transition: all 0.25s var(--ease);
}
.tab-btn:hover { color: var(--c-text); border-color: var(--c-border-strong); }
.tab-btn.active {
  background: var(--g-cta);
  color: #04211d;
  border-color: transparent;
  box-shadow: var(--shadow-glow);
}
.tab-panels { position: relative; }
.tab-panel {
  display: none;
  animation: fade-up 0.5s var(--ease-out);
}
.tab-panel.active { display: block; }
@keyframes fade-up {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
.ind-panel {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 0;
  background: var(--g-card);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.ind-panel__media {
  position: relative;
  min-height: 320px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(135deg, rgba(20,184,166,0.14), rgba(6,182,212,0.08));
  border-right: 1px solid var(--c-border);
}
.ind-panel__media .ind-icon {
  width: 64px; height: 64px;
  border-radius: 16px;
  display: grid; place-items: center;
  background: var(--g-cta);
  color: #04211d;
  margin-bottom: 20px;
  box-shadow: var(--shadow-glow);
}
.ind-panel__media .ind-icon svg { width: 34px; height: 34px; }
.ind-panel__name { font-size: 28px; font-weight: 800; letter-spacing: -0.02em; }
.ind-panel__tagline { font-size: 14px; color: var(--c-text-muted); margin-top: 6px; }
.ind-panel__body { padding: 40px; }
.ind-panel__body h4 { font-size: 14px; font-weight: 600; color: var(--c-primary-400); margin-bottom: 18px; text-transform: uppercase; letter-spacing: 0.06em; }
.ind-panel__scenarios {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.ind-scenario {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 14px;
  border-radius: var(--radius-sm);
  background: var(--c-surface-hover);
  border: 1px solid var(--c-border);
  transition: all 0.2s var(--ease);
}
.ind-scenario:hover { border-color: var(--c-border-strong); transform: translateY(-2px); }
.ind-scenario__icon {
  width: 34px; height: 34px;
  border-radius: 9px;
  display: grid; place-items: center;
  background: rgba(20,184,166,0.12);
  color: var(--c-primary-400);
  flex-shrink: 0;
}
.ind-scenario__icon svg { width: 18px; height: 18px; }
.ind-scenario__text { font-size: 14px; font-weight: 500; line-height: 1.4; }
.ind-scenario__sub { font-size: 12px; color: var(--c-text-soft); margin-top: 2px; }
@media (max-width: 860px) {
  .ind-panel { grid-template-columns: 1fr; }
  .ind-panel__media { min-height: 200px; border-right: none; border-bottom: 1px solid var(--c-border); }
  .ind-panel__scenarios { grid-template-columns: 1fr; }
}

/* ============================================================
   基础设施 - feature 行式列表
   ============================================================ */
.feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}
.feature-item {
  display: flex;
  gap: 16px;
  padding: 22px;
  border-radius: var(--radius-sm);
  background: var(--g-card);
  border: 1px solid var(--c-border);
  transition: all 0.3s var(--ease);
}
.feature-item:hover { border-color: var(--c-border-strong); background: var(--c-surface-hover); transform: translateX(4px); }
.feature-item__icon {
  width: 42px; height: 42px;
  border-radius: 11px;
  display: grid; place-items: center;
  background: rgba(20,184,166,0.1);
  color: var(--c-primary-400);
  flex-shrink: 0;
}
.feature-item__icon svg { width: 22px; height: 22px; }
.feature-item__title { font-size: 15.5px; font-weight: 600; margin-bottom: 4px; }
.feature-item__desc { font-size: 13px; color: var(--c-text-muted); line-height: 1.55; }

/* ============================================================
   定制化服务 - 步骤流程
   ============================================================ */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  position: relative;
}
.step {
  position: relative;
  padding: 30px;
  border-radius: var(--radius);
  background: var(--g-card);
  border: 1px solid var(--c-border);
  transition: all 0.35s var(--ease-out);
}
.step:hover { border-color: var(--c-border-strong); transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.step__num {
  position: absolute;
  top: 24px; right: 28px;
  font-size: 56px;
  font-weight: 900;
  line-height: 1;
  color: rgba(45,212,191,0.12);
  letter-spacing: -0.04em;
}
.step__icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: var(--g-cta);
  color: #04211d;
  margin-bottom: 18px;
}
.step__icon svg { width: 24px; height: 24px; }
.step__title { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.step__desc { font-size: 14px; color: var(--c-text-muted); margin-bottom: 16px; line-height: 1.65; }
.step__tags { display: flex; flex-wrap: wrap; gap: 7px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* ============================================================
   CTA
   ============================================================ */
:root {
  --cta-bg: radial-gradient(800px 300px at 50% 0%, rgba(20,184,166,0.30), transparent 70%),
            linear-gradient(135deg, #0a0e1a 0%, #0f1623 100%);
  --cta-text: var(--c-text);
  --cta-muted: var(--c-text-muted);
  --cta-border: var(--c-border-strong);
}
:root.light {
  --cta-bg: radial-gradient(800px 300px at 50% 0%, rgba(20,184,166,0.18), transparent 70%),
            linear-gradient(135deg, #ffffff 0%, #ecfdf7 100%);
  --cta-text: #0f172a;
  --cta-muted: #475569;
  --cta-border: rgba(20, 184, 166, 0.35);
}
.cta {
  position: relative;
  padding: 80px 0;
  overflow: hidden;
}
.cta__box {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 64px 40px;
  text-align: center;
  background: var(--cta-bg);
  border: 1px solid var(--cta-border);
  color: var(--cta-text);
  overflow: hidden;
}
.cta__box::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(45,212,191,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(45,212,191,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 60% 80% at 50% 50%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 60% 80% at 50% 50%, #000, transparent 75%);
}
.cta__inner { position: relative; z-index: 2; }
.cta__title { font-size: clamp(28px, 4vw, 42px); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 14px; color: var(--cta-text); }
.cta__title .grad { background: var(--g-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.cta__desc { font-size: 16px; color: var(--cta-muted); max-width: 540px; margin: 0 auto 32px; }
.cta__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   Footer
   ============================================================ */
.footer {
  border-top: 1px solid var(--c-border);
  background: var(--c-bg-2);
  padding: 64px 0 24px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--c-border);
}
.footer__brand .nav__brand { margin-bottom: 16px; }
.footer__about { font-size: 14px; color: var(--c-text-muted); line-height: 1.7; max-width: 340px; }
.footer__col h5 { font-size: 14px; font-weight: 600; margin-bottom: 16px; color: var(--c-text); }
.footer__col ul { display: flex; flex-direction: column; gap: 10px; }
.footer__col a { font-size: 13.5px; color: var(--c-text-muted); transition: color 0.2s var(--ease); }
.footer__col a:hover { color: var(--c-primary-400); }
.footer__contact { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
.footer__contact li { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--c-text-muted); }
.footer__contact svg { width: 16px; height: 16px; color: var(--c-primary-400); }
.footer__bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: var(--c-text-soft);
}
.footer__bottom .links { display: flex; gap: 18px; }
.footer__bottom a:hover { color: var(--c-primary-400); }
.footer__icp {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--c-border);
  text-align: center;
  font-size: 13px;
  color: var(--c-text-soft);
}
.footer__icp a {
  color: var(--c-text-soft);
  transition: color 0.2s var(--ease);
}
.footer__icp a:hover { color: var(--c-primary-400); }
@media (max-width: 768px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .footer__icp { text-align: center; }
}

/* ============================================================
   滚动出现动画
   ============================================================ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }
.reveal[data-delay="5"] { transition-delay: 0.40s; }
.reveal[data-delay="6"] { transition-delay: 0.48s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* 顶部进度条 */
.progress-bar {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  z-index: 200;
  background: linear-gradient(90deg, #2dd4bf, #06b6d4, #8b5cf6);
  transition: width 0.1s linear;
}
