/* ============================================================
   星辞云官网 - 全局样式 v3（浅色系重设计）
   双主题：白天（默认，精修）/ 黑夜
   主色：青蓝渐变 #00A3FF → #0066FF
   设计语言：干净留白 / 纯白卡片 / 柔和分层阴影 / 微交互
   ============================================================ */

/* ---------- 重置 ---------- */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ---------- 白天主题（默认，精修） ---------- */
:root,
[data-theme="light"] {
  --bg-base: #F7F9FC;
  --bg-section: #FFFFFF;
  --bg-section-alt: #F1F5F9;
  --bg-deep: #E8EEF7;
  --text-primary: #0F1B2D;
  --text-secondary: #475569;
  --text-muted: #94A3B8;
  --text-dim: #CBD5E1;
  --border: rgba(15, 27, 45, 0.08);
  --border-strong: rgba(15, 27, 45, 0.14);
  --card-bg: #FFFFFF;
  --card-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 8px 24px -8px rgba(15, 23, 42, 0.08);
  --card-shadow-hover: 0 1px 2px rgba(15, 23, 42, 0.04), 0 18px 40px -12px rgba(0, 102, 255, 0.18);
  --glass-bg: rgba(255, 255, 255, 0.72);
  --glass-border: rgba(15, 27, 45, 0.08);
  --glass-border-top: rgba(0, 163, 255, 0.22);
  --glass-hover-bg: #FFFFFF;
  --glass-hover-border: rgba(0, 163, 255, 0.30);
  --shadow-glass: 0 1px 2px rgba(15, 23, 42, 0.04), 0 12px 32px -10px rgba(15, 23, 42, 0.10);
  --accent: #00A3FF;
  --accent-dark: #0066FF;
  --accent-grad: linear-gradient(135deg, #00A3FF, #0066FF);
  --accent-grad-soft: linear-gradient(135deg, rgba(0,163,255,.12), rgba(0,102,255,.12));
  --accent-light: rgba(0, 163, 255, 0.08);
  --success: #10B981;
  --danger: #EF4444;
  --radius: 16px;
  --radius-sm: 10px;
  --nav-bg: rgba(255, 255, 255, 0.80);
  --nav-border: rgba(15, 27, 45, 0.06);
  --footer-bg: #0F1B2D;
  --footer-text: #94A3B8;
  --orb-1: rgba(0, 163, 255, 0.10);
  --orb-2: rgba(0, 102, 255, 0.08);
  --orb-3: rgba(0, 163, 255, 0.06);
  --grid-line: rgba(15, 27, 45, 0.04);
  --toggle-icon: #0F1B2D;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
}

/* ---------- 黑夜主题 ---------- */
[data-theme="dark"] {
  --bg-base: #0A1628;
  --bg-section: #0F1F38;
  --bg-section-alt: #132742;
  --bg-deep: #0A1628;
  --text-primary: #E8EEF7;
  --text-secondary: #B8C5D6;
  --text-muted: #7A8BA3;
  --text-dim: #5A6A82;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --card-bg: rgba(255, 255, 255, 0.06);
  --card-shadow: 0 8px 32px rgba(0, 0, 0, 0.24);
  --card-shadow-hover: 0 18px 40px -12px rgba(0, 163, 255, 0.22);
  --glass-bg: rgba(255, 255, 255, 0.06);
  --glass-border: rgba(255, 255, 255, 0.12);
  --glass-border-top: rgba(255, 255, 255, 0.20);
  --glass-hover-bg: rgba(255, 255, 255, 0.10);
  --glass-hover-border: rgba(255, 255, 255, 0.20);
  --shadow-glass: 0 8px 32px rgba(0, 0, 0, 0.24);
  --accent: #00A3FF;
  --accent-dark: #0066FF;
  --accent-grad: linear-gradient(135deg, #00A3FF, #0066FF);
  --accent-grad-soft: linear-gradient(135deg, rgba(0,163,255,.14), rgba(0,102,255,.14));
  --accent-light: rgba(0, 163, 255, 0.10);
  --success: #34D399;
  --danger: #F87171;
  --nav-bg: rgba(10, 22, 40, 0.80);
  --nav-border: rgba(255, 255, 255, 0.08);
  --footer-bg: #071020;
  --footer-text: #5A6A82;
  --orb-1: rgba(0, 163, 255, 0.15);
  --orb-2: rgba(0, 102, 255, 0.12);
  --orb-3: rgba(0, 163, 255, 0.10);
  --grid-line: rgba(0, 163, 255, 0.04);
  --toggle-icon: #E8EEF7;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'PingFang SC', 'Microsoft YaHei', 'Source Han Sans CN', sans-serif;
  background: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: background 0.4s var(--ease-out), color 0.4s var(--ease-out);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ---------- 背景层 ---------- */
.bg-layer {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background: var(--bg-base);
}

.bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 70%);
}

.bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  animation: orb-float 18s ease-in-out infinite alternate;
}
.bg-orb-1 { width: 600px; height: 600px; top: -220px; left: -150px; background: radial-gradient(circle, var(--orb-1) 0%, transparent 70%); }
.bg-orb-2 { width: 500px; height: 500px; top: 40%; right: -200px; background: radial-gradient(circle, var(--orb-2) 0%, transparent 70%); animation-delay: -6s; }
.bg-orb-3 { width: 400px; height: 400px; bottom: -120px; left: 30%; background: radial-gradient(circle, var(--orb-3) 0%, transparent 70%); animation-delay: -12s; }
@keyframes orb-float {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(40px, -30px) scale(1.08); }
}

/* ---------- 容器 ---------- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 104px 0; position: relative; }
.section-title { font-size: 38px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 16px; }
.section-subtitle { font-size: 16px; color: var(--text-secondary); max-width: 640px; }
.section-head { text-align: center; margin-bottom: 64px; }
.section-head .section-subtitle { margin: 0 auto; }
.section-head .eyebrow { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); padding: 6px 14px; border-radius: 999px; background: var(--accent-light); margin-bottom: 20px; }

/* ---------- 卡片 ---------- */
.glass {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-top-color: var(--glass-border-top);
  border-radius: var(--radius);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  box-shadow: var(--shadow-glass);
  transition: transform 0.4s var(--ease-out), border-color 0.3s, box-shadow 0.4s, background 0.3s;
}
.glass:hover {
  background: var(--glass-hover-bg);
  border-color: var(--glass-hover-border);
  border-top-color: var(--accent);
  transform: translateY(-6px);
  box-shadow: var(--card-shadow-hover);
}

.solid-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  transition: transform 0.4s var(--ease-out), border-color 0.3s, box-shadow 0.4s;
}
.solid-card:hover { transform: translateY(-6px); border-color: var(--accent); box-shadow: var(--card-shadow-hover); }

/* ---------- 按钮 ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 24px; border-radius: var(--radius-sm); font-size: 14px; font-weight: 600; transition: opacity 0.2s, transform 0.2s var(--ease-spring), box-shadow 0.3s; white-space: nowrap; }
.btn:active { transform: translateY(1px) scale(.98); }
.btn-primary { background: var(--accent-grad); color: #fff; box-shadow: 0 6px 20px -6px rgba(0, 102, 255, 0.45); background-size: 150% 100%; background-position: 0% 50%; }
.btn-primary:hover { background-position: 100% 50%; box-shadow: 0 10px 28px -6px rgba(0, 102, 255, 0.55); transform: translateY(-2px); }
.btn-ghost { background: var(--glass-bg); border: 1px solid var(--glass-border); color: var(--text-primary); backdrop-filter: blur(20px) saturate(160%); -webkit-backdrop-filter: blur(20px) saturate(160%); }
.btn-ghost:hover { background: var(--glass-hover-bg); border-color: var(--glass-hover-border); transform: translateY(-2px); }
.btn-lg { padding: 16px 32px; font-size: 15px; }
.btn-sm { padding: 8px 16px; font-size: 13px; }

/* ---------- 主题切换按钮 ---------- */
.theme-toggle {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: var(--glass-bg);
  display: flex; align-items: center; justify-content: center;
  color: var(--toggle-icon);
  transition: transform 0.5s var(--ease-spring), background 0.3s, color 0.3s;
  flex-shrink: 0;
}
.theme-toggle:hover { transform: rotate(35deg) scale(1.08); background: var(--accent-light); color: var(--accent); }
.theme-toggle svg { width: 20px; height: 20px; transition: opacity 0.3s; }

/* ---------- 1. 顶部导航 ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 18px 0;
  transition: background 0.4s var(--ease-out), backdrop-filter 0.4s, padding 0.4s var(--ease-out), border-color 0.4s, box-shadow 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.nav-solid,
.nav.scrolled {
  background: var(--nav-bg);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid var(--nav-border);
  box-shadow: 0 4px 24px -8px rgba(15, 23, 42, 0.06);
  padding: 12px 0;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.nav-logo { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 700; }
.nav-logo .logo-mark { width: 34px; height: 34px; border-radius: 10px; background: var(--accent-grad); display: flex; align-items: center; justify-content: center; font-size: 16px; color: #fff; box-shadow: 0 4px 14px -4px rgba(0, 102, 255, 0.5); }
.nav-menu { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-menu a { font-size: 14px; color: var(--text-secondary); transition: color 0.2s; position: relative; }
.nav-menu a::after { content: ''; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; background: var(--accent-grad); border-radius: 2px; transition: width 0.3s var(--ease-out); }
.nav-menu a:hover { color: var(--text-primary); }
.nav-menu a:hover::after { width: 100%; }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; flex-direction: column; gap: 4px; padding: 8px; }
.nav-toggle span { width: 20px; height: 2px; background: var(--text-primary); border-radius: 2px; transition: 0.3s; }
.nav-user { font-size: 13px; color: var(--text-secondary); padding: 7px 12px; border-radius: 999px; background: var(--accent-light); border: 1px solid var(--glass-border); max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: color 0.2s, border-color 0.2s; }
.nav-user:hover { color: var(--accent); border-color: var(--glass-hover-border); }

/* ---------- 2. Hero ---------- */
.hero { padding: 168px 0 104px; position: relative; }
.hero-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
.hero .eyebrow { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); padding: 6px 14px; border-radius: 999px; background: var(--accent-light); margin-bottom: 24px; }
.hero h1 { font-size: 56px; font-weight: 800; line-height: 1.1; letter-spacing: -0.03em; margin-bottom: 24px; }
.hero h1 .grad { background: var(--accent-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-sub { font-size: 18px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 16px; max-width: 560px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 32px; }
.hero-tag { padding: 7px 16px; border-radius: 999px; background: var(--accent-light); border: 1px solid var(--glass-border); font-size: 13px; color: var(--accent); transition: transform 0.25s var(--ease-spring), border-color 0.25s; }
.hero-tag:hover { transform: translateY(-2px); border-color: var(--glass-hover-border); }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-panel { position: relative; }
.hero-panel::before { content: ''; position: absolute; inset: -20px; background: var(--accent-grad-soft); border-radius: 32px; filter: blur(40px); z-index: -1; opacity: .8; }
.panel { padding: 28px; }
.panel-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.panel-title { font-size: 14px; font-weight: 600; color: var(--text-secondary); }
.panel-status { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--success); }
.panel-status .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); box-shadow: 0 0 8px var(--success); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.4; transform: scale(.8); } }
.panel-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 20px; }
.panel-stat { background: var(--accent-light); border: 1px solid var(--border); border-radius: 12px; padding: 16px; transition: transform 0.3s var(--ease-out); }
.panel-stat:hover { transform: translateY(-3px); }
.panel-stat .label { font-size: 12px; color: var(--text-muted); margin-bottom: 6px; }
.panel-stat .value { font-size: 22px; font-weight: 700; color: var(--text-primary); }
.panel-stat .unit { font-size: 12px; color: var(--text-muted); margin-left: 2px; }
.panel-arch { background: var(--bg-section-alt); border-radius: 12px; padding: 16px; border: 1px solid var(--border); }
.panel-arch svg { width: 100%; height: auto; }

/* ---------- 3. 核心能力 ---------- */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card { padding: 32px; }
.feature-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--accent-grad); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; color: #fff; box-shadow: 0 8px 20px -6px rgba(0, 102, 255, 0.45); transition: transform 0.4s var(--ease-spring); }
.feature-card:hover .feature-icon { transform: scale(1.1) rotate(-6deg); }
.feature-icon svg { width: 26px; height: 26px; }
.feature-card h3 { font-size: 19px; font-weight: 600; margin-bottom: 10px; }
.feature-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; }

/* ---------- 4. 信任数字条 ---------- */
.stats-bar { padding: 56px 0; background: var(--bg-section-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: center; }
.stat-item .num { font-size: 44px; font-weight: 800; background: var(--accent-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat-item .label { font-size: 14px; color: var(--text-muted); margin-top: 8px; }

/* ---------- 5. 网络架构 / 领域覆盖 ---------- */
.arch-section { background: var(--bg-section-alt); }
.arch-diagram { display: flex; flex-direction: column; gap: 20px; }
.arch-layer { padding: 28px 32px; display: grid; grid-template-columns: 180px 1fr; gap: 32px; align-items: center; }
.arch-layer .layer-title { font-size: 20px; font-weight: 700; }
.arch-layer .layer-sub { font-size: 13px; color: var(--text-muted); margin-top: 6px; }
.arch-layer .layer-desc { font-size: 14px; color: var(--text-secondary); line-height: 1.7; }
.arch-nodes { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.arch-node { padding: 8px 16px; border-radius: 999px; background: var(--accent-light); border: 1px solid var(--glass-border); font-size: 12px; color: var(--accent); transition: transform 0.25s var(--ease-spring), border-color 0.25s; }
.arch-node:hover { transform: translateY(-2px); border-color: var(--glass-hover-border); }

.domain-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.domain-card { padding: 28px 20px; text-align: center; }
.domain-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--accent-light); border: 1px solid var(--glass-border); display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; color: var(--accent); transition: transform 0.4s var(--ease-spring), background 0.3s; }
.domain-card:hover .domain-icon { transform: translateY(-4px) scale(1.08); background: var(--accent-grad); color: #fff; }
.domain-icon svg { width: 26px; height: 26px; }
.domain-card h3 { font-size: 15px; font-weight: 600; }
.domain-card p { font-size: 12px; color: var(--text-muted); margin-top: 4px; }

/* ---------- 6. 场景/产品方案 ---------- */
.scenarios-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.scenario-card { padding: 32px; display: flex; gap: 20px; align-items: flex-start; }
.scenario-icon { flex-shrink: 0; width: 56px; height: 56px; border-radius: 14px; background: var(--accent-light); border: 1px solid var(--glass-border); display: flex; align-items: center; justify-content: center; color: var(--accent); transition: background 0.3s, color 0.3s; }
.scenario-card:hover .scenario-icon { background: var(--accent-grad); color: #fff; }
.scenario-icon svg { width: 28px; height: 28px; }
.scenario-body h3 { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.scenario-body p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; }
.scenario-link { display: inline-flex; align-items: center; gap: 4px; margin-top: 12px; font-size: 13px; font-weight: 600; color: var(--accent); transition: gap 0.25s var(--ease-out); }
.scenario-link:hover { gap: 8px; }

/* ---------- 7. 客户墙 + 证言 ---------- */
.logo-wall { display: grid; grid-template-columns: repeat(8, 1fr); gap: 16px; margin-bottom: 48px; }
.logo-item { padding: 24px 12px; text-align: center; background: var(--card-bg); border: 1px solid var(--border); border-radius: 12px; font-size: 14px; color: var(--text-muted); transition: color 0.2s, border-color 0.2s, transform 0.3s var(--ease-out); }
.logo-item:hover { color: var(--accent); border-color: var(--accent); transform: translateY(-3px); }
.testimonial-card { max-width: 800px; margin: 0 auto; padding: 48px; text-align: center; }
.testimonial-quote { font-size: 20px; line-height: 1.7; color: var(--text-primary); margin-bottom: 24px; font-style: italic; }
.testimonial-author { font-size: 14px; color: var(--text-secondary); }
.testimonial-author strong { color: var(--text-primary); }

/* ---------- 8. 定价 ---------- */
.pricing-section { background: var(--bg-section-alt); }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.pricing-card { padding: 40px 32px; display: flex; flex-direction: column; background: var(--card-bg); border: 1px solid var(--border-strong); border-radius: var(--radius); position: relative; transition: transform 0.4s var(--ease-out), border-color 0.3s, box-shadow 0.4s; }
.pricing-card:hover { transform: translateY(-8px); border-color: var(--accent); box-shadow: var(--card-shadow-hover); }
.pricing-card.featured { border: 2px solid var(--accent); box-shadow: 0 0 0 8px var(--accent-light), var(--card-shadow-hover); }
.pricing-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); padding: 5px 18px; border-radius: 999px; background: var(--accent-grad); font-size: 12px; font-weight: 600; color: #fff; box-shadow: 0 6px 16px -4px rgba(0, 102, 255, 0.5); }
.pricing-name { font-size: 20px; font-weight: 700; }
.pricing-desc { font-size: 13px; color: var(--text-muted); margin: 8px 0 24px; }
.pricing-price { font-size: 44px; font-weight: 800; margin-bottom: 4px; letter-spacing: -0.02em; }
.pricing-price .unit { font-size: 14px; color: var(--text-muted); font-weight: 400; }
.pricing-features { list-style: none; margin: 24px 0 32px; flex: 1; }
.pricing-features li { padding: 9px 0; font-size: 14px; color: var(--text-secondary); display: flex; align-items: center; gap: 10px; }
.pricing-features li::before { content: ''; width: 16px; height: 16px; flex-shrink: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2310B981' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") no-repeat center; background-size: contain; }

/* ---------- 9. 开发者入口 ---------- */
.developer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.dev-card { padding: 32px; }
.dev-card .dev-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--accent-light); border: 1px solid var(--glass-border); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; color: var(--accent); transition: transform 0.4s var(--ease-spring), background 0.3s, color 0.3s; }
.dev-card:hover .dev-icon { transform: scale(1.08); background: var(--accent-grad); color: #fff; }
.dev-card .dev-icon svg { width: 26px; height: 26px; }
.dev-card h3 { font-size: 18px; font-weight: 600; margin-bottom: 10px; }
.dev-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; }

/* ---------- 10. Footer ---------- */
.footer { background: var(--footer-bg); border-top: 1px solid rgba(255, 255, 255, 0.06); padding: 64px 0 32px; color: var(--footer-text); }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 48px; margin-bottom: 48px; }
.footer-brand .nav-logo { color: #E8EEF7; }
.footer-brand .nav-logo .logo-mark { background: var(--accent-grad); }
.footer-brand p { font-size: 14px; color: #7A8BA3; margin-top: 16px; line-height: 1.7; max-width: 280px; }
.footer-col h4 { font-size: 14px; font-weight: 600; margin-bottom: 20px; color: #E8EEF7; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 12px; }
.footer-col a { font-size: 14px; color: #7A8BA3; transition: color 0.2s; }
.footer-col a:hover { color: #E8EEF7; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 32px; border-top: 1px solid rgba(255, 255, 255, 0.06); font-size: 13px; color: #5A6A82; }

/* ---------- 弹窗 ---------- */
.modal-mask { display: none; position: fixed; inset: 0; background: rgba(15, 23, 42, 0.35); backdrop-filter: blur(8px); z-index: 200; align-items: center; justify-content: center; opacity: 0; }
.modal-mask.active { display: flex; animation: modal-fade-in 0.3s var(--ease-out) forwards; }
@keyframes modal-fade-in { to { opacity: 1; } }
.modal { width: 90%; max-width: 480px; padding: 36px; background: var(--bg-section); border: 1px solid var(--border-strong); border-radius: var(--radius); box-shadow: 0 24px 64px -16px rgba(15, 23, 42, 0.25); animation: modal-pop 0.4s var(--ease-spring); }
@keyframes modal-pop { from { opacity: 0; transform: translateY(24px) scale(.96); } to { opacity: 1; transform: translateY(0) scale(1); } }
.modal h3 { font-size: 20px; margin-bottom: 20px; }
.modal .form-group { margin-bottom: 16px; }
.modal label { display: block; font-size: 13px; color: var(--text-muted); margin-bottom: 6px; }
.modal input, .modal textarea { width: 100%; padding: 11px 14px; background: var(--bg-section-alt); border: 1px solid var(--border); border-radius: var(--radius-sm); color: var(--text-primary); font-size: 14px; outline: none; font-family: inherit; transition: border-color 0.2s, box-shadow 0.2s; }
.modal input:focus, .modal textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-light); }
.modal textarea { resize: vertical; min-height: 80px; }
.modal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.modal-head h3 { margin: 0; }
.modal-close { width: 32px; height: 32px; border: none; background: transparent; font-size: 24px; color: var(--text-muted); cursor: pointer; border-radius: 8px; line-height: 1; transition: background 0.2s, color 0.2s; }
.modal-close:hover { background: var(--bg-section-alt); color: var(--text-primary); }
.modal-body { }
.modal-body .order-meta { font-size: 13px; color: var(--text-secondary); line-height: 1.8; }

/* ---------- 产品页 ---------- */
.product-hero { padding: 128px 0 56px; }
.product-hero h1 { font-size: 44px; font-weight: 800; margin-bottom: 16px; letter-spacing: -0.02em; }
.product-hero .breadcrumb { font-size: 13px; color: var(--text-muted); margin-bottom: 24px; }
.product-hero .breadcrumb a { color: var(--accent); }
.product-body { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; padding-bottom: 64px; }
.product-content h2 { font-size: 24px; font-weight: 700; margin: 32px 0 16px; }
.product-content h2:first-child { margin-top: 0; }
.product-content p { font-size: 15px; color: var(--text-secondary); line-height: 1.8; margin-bottom: 16px; }
.product-sidebar { position: sticky; top: 100px; }
.product-sidebar .solid-card { padding: 28px; }
.product-sidebar h3 { font-size: 18px; margin-bottom: 16px; }
.product-sidebar .info-row { display: flex; justify-content: space-between; padding: 11px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.product-sidebar .info-row:last-child { border-bottom: none; }
.product-sidebar .info-row .label { color: var(--text-muted); }
.product-nav { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 32px; }
.product-nav a { padding: 8px 18px; border-radius: 999px; background: var(--accent-light); border: 1px solid var(--border); font-size: 13px; color: var(--text-secondary); transition: all 0.3s var(--ease-out); }
.product-nav a:hover { transform: translateY(-2px); border-color: var(--glass-hover-border); }
.product-nav a.active { background: var(--accent-grad); color: #fff; border-color: transparent; box-shadow: 0 6px 16px -4px rgba(0, 102, 255, 0.45); }

/* ---------- 滚动进场动画 ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); will-change: opacity, transform; }
.reveal.is-visible { 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; }

/* Hero 逐项进场 */
.hero .hero-anim { opacity: 0; transform: translateY(24px); animation: hero-rise 0.8s var(--ease-out) forwards; }
.hero .hero-anim:nth-child(1) { animation-delay: 0.05s; }
.hero .hero-anim:nth-child(2) { animation-delay: 0.15s; }
.hero .hero-anim:nth-child(3) { animation-delay: 0.25s; }
.hero .hero-anim:nth-child(4) { animation-delay: 0.35s; }
.hero .hero-anim:nth-child(5) { animation-delay: 0.45s; }
.hero .hero-anim:nth-child(6) { animation-delay: 0.55s; }
@keyframes hero-rise { to { opacity: 1; transform: translateY(0); } }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .features-grid, .pricing-grid, .developer-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-inner, .product-body { grid-template-columns: 1fr; gap: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .logo-wall { grid-template-columns: repeat(4, 1fr); }
  .domain-grid { grid-template-columns: repeat(3, 1fr); }
  .hero h1 { font-size: 44px; }
}
@media (max-width: 768px) {
  .nav-menu { display: none; }
  .nav-toggle { display: flex; }
  .nav-menu.open { display: flex; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; background: var(--bg-section); padding: 16px; border-top: 1px solid var(--border); gap: 8px; box-shadow: 0 12px 32px -8px rgba(15, 23, 42, 0.10); }
  .features-grid, .pricing-grid, .developer-grid, .scenarios-grid, .domain-grid { grid-template-columns: 1fr; }
  .hero { padding: 128px 0 72px; }
  .hero h1, .product-hero h1 { font-size: 32px; }
  .section { padding: 72px 0; }
  .section-title { font-size: 28px; }
  .logo-wall { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .arch-layer { grid-template-columns: 1fr; gap: 12px; }
}

@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; }
}
