/* ============================================
   NexAPI 落地页样式
   设计系统：深色科技风
   ============================================ */

/* --- 字体导入 --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500&display=swap');

/* --- CSS 变量（设计 Token） --- */
:root {
  /* 背景色阶 */
  --bg-base:     #070B14;
  --bg-surface:  #0D1424;
  --bg-elevated: #131D35;
  --bg-overlay:  rgba(7, 11, 20, 0.92);

  /* 品牌色 */
  --primary:       #4F8EF7;
  --primary-hover: #6BA3FF;
  --primary-dark:  #2B6FD9;
  --secondary:     #A855F7;

  /* 渐变 */
  --gradient-brand: linear-gradient(135deg, #4F8EF7 0%, #A855F7 100%);
  --gradient-hero:  radial-gradient(ellipse at 50% 0%, rgba(79,142,247,0.18) 0%, transparent 65%);
  --gradient-card:  linear-gradient(135deg, rgba(79,142,247,0.07) 0%, rgba(168,85,247,0.03) 100%);
  --gradient-cta:   linear-gradient(135deg, rgba(79,142,247,0.15) 0%, rgba(168,85,247,0.1) 100%);

  /* 文字色 */
  --text-primary:   #F0F4FF;
  --text-secondary: #8B9CC8;
  --text-muted:     #4A5A80;
  --text-accent:    #4F8EF7;

  /* 边框 */
  --border-subtle:  rgba(79,142,247,0.12);
  --border-default: rgba(79,142,247,0.25);
  --border-focus:   rgba(79,142,247,0.6);

  /* 功能色 */
  --success: #22C55E;
  --warning: #F59E0B;
  --error:   #EF4444;

  /* 阴影 */
  --shadow-card: 0 4px 24px rgba(0,0,0,0.45);
  --shadow-glow: 0 0 40px rgba(79,142,247,0.2);
  --shadow-btn:  0 4px 15px rgba(79,142,247,0.35);

  /* 字体 */
  --font-sans: 'Inter', 'PingFang SC', 'Noto Sans SC', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', 'Cascadia Code', monospace;

  /* 间距 */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* 圆角 */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* 容器 */
  --container-max: 1200px;
  --container-px: var(--space-6);
  --section-py: var(--space-20);

  /* 导航高度 */
  --navbar-height: 72px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

/* --- 容器 --- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-px);
}

/* --- 按钮系统 --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.65rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.9375rem;
  transition: all 0.2s ease;
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gradient-brand);
  color: #fff;
  box-shadow: var(--shadow-btn);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(79,142,247,0.5);
}

.btn-primary:active { transform: translateY(0); }

.btn-outline {
  background: transparent;
  border: 1px solid var(--border-default);
  color: var(--text-primary);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(79,142,247,0.06);
}

.btn-lg {
  padding: 0.85rem 2rem;
  font-size: 1rem;
}

.btn-sm {
  padding: 0.45rem 1rem;
  font-size: 0.875rem;
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
}

.btn-ghost:hover { color: var(--text-primary); }

/* --- 徽章 --- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 500;
  border: 1px solid var(--border-subtle);
  background: rgba(79,142,247,0.08);
  color: var(--primary);
}

/* ============================================
   导航栏
   ============================================ */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--navbar-height);
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
}

#navbar.navbar--scrolled {
  background: rgba(7, 11, 20, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--border-subtle);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

/* Logo */
.navbar-logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.logo-icon {
  width: 32px;
  height: 32px;
  background: var(--gradient-brand);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 800;
  color: #fff;
}

.logo-text { color: var(--text-primary); }
.logo-text span { background: var(--gradient-brand); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

/* 导航链接 */
.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.nav-link {
  padding: var(--space-2) var(--space-3);
  color: var(--text-secondary);
  font-size: 0.9375rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: color 0.2s, background 0.2s;
}

.nav-link:hover {
  color: var(--text-primary);
  background: rgba(255,255,255,0.05);
}

/* 导航右侧按钮 */
.navbar-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

/* 汉堡菜单按钮（移动端） */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.nav-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-active span:nth-child(2) { opacity: 0; }
.nav-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================
   Hero 区
   ============================================ */
.hero {
  padding-top: calc(var(--navbar-height) + var(--space-16));
  padding-bottom: var(--space-20);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: var(--gradient-hero);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.hero-content { position: relative; z-index: 1; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-6);
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0.4); }
  50% { box-shadow: 0 0 0 6px rgba(34,197,94,0); }
}

.hero-title {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-5);
}

.hero-title .highlight {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: var(--space-8);
  max-width: 520px;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-bottom: var(--space-8);
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.trust-item .check {
  color: var(--success);
  font-weight: 600;
}

/* 代码预览块 */
.hero-code {
  position: relative;
  z-index: 1;
}

.code-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card), var(--shadow-glow);
}

.code-header {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-5);
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-elevated);
}

.code-dots { display: flex; gap: 6px; }

.code-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.code-dots span:nth-child(1) { background: #FF5F57; }
.code-dots span:nth-child(2) { background: #FEBC2E; }
.code-dots span:nth-child(3) { background: #28C840; }

.code-filename {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-left: auto;
}

.code-body {
  padding: var(--space-6);
  overflow-x: auto;
}

.code-body pre {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  line-height: 1.7;
  color: #CBD5E1;
}

.code-body .c-comment { color: #4A5A80; }
.code-body .c-keyword { color: #A78BFA; }
.code-body .c-string  { color: #86EFAC; }
.code-body .c-attr    { color: #FCA5A5; }
.code-body .c-value   { color: #93C5FD; }
.code-body .c-func    { color: #67E8F9; }

/* ============================================
   统计条
   ============================================ */
.stats-section {
  padding: var(--space-12) 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-surface);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-8);
  text-align: center;
}

.stat-item {}

.stat-value {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
  margin-bottom: var(--space-1);
}

.stat-label {
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

/* ============================================
   模型展示
   ============================================ */
.models-section {
  padding: var(--section-py) 0;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-12);
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: var(--space-3);
}

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-bottom: var(--space-4);
}

.section-desc {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

.models-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
  margin-bottom: var(--space-8);
}

.model-card {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-5) var(--space-6);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  transition: all 0.25s ease;
}

.model-card:hover {
  border-color: var(--border-default);
  background: var(--bg-elevated);
  transform: translateY(-2px);
}

.model-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.model-info { flex: 1; min-width: 0; }

.model-name {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 2px;
}

.model-sub {
  font-size: 0.8125rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.model-badge {
  flex-shrink: 0;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-full);
}

.badge-new { background: rgba(79,142,247,0.15); color: var(--primary); }
.badge-hot { background: rgba(239,68,68,0.15); color: #F87171; }
.badge-open { background: rgba(34,197,94,0.12); color: #4ADE80; }

.models-note {
  text-align: center;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

/* ============================================
   核心特性
   ============================================ */
.features-section {
  padding: var(--section-py) 0;
  background: var(--bg-surface);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.feature-card {
  padding: var(--space-8);
  background: var(--bg-base);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-card);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-card:hover {
  border-color: var(--border-default);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.feature-card:hover::before { opacity: 1; }

.feature-icon {
  width: 48px;
  height: 48px;
  background: rgba(79,142,247,0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.375rem;
  margin-bottom: var(--space-5);
  position: relative;
  z-index: 1;
}

.feature-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: var(--space-3);
  position: relative;
  z-index: 1;
}

.feature-desc {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

/* ============================================
   价格方案
   ============================================ */
.pricing-section {
  padding: var(--section-py) 0;
}

.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  margin-bottom: var(--space-12);
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  align-items: start;
}

.pricing-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  position: relative;
  transition: all 0.3s ease;
}

.pricing-card:hover {
  border-color: var(--border-default);
  box-shadow: var(--shadow-card);
}

.pricing-card--featured {
  border-color: var(--primary);
  background: var(--bg-elevated);
  box-shadow: var(--shadow-glow);
}

.pricing-card--featured:hover {
  box-shadow: 0 0 50px rgba(79,142,247,0.3);
}

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-brand);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 700;
  padding: 0.3rem 1rem;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.pricing-plan-name {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: var(--space-2);
}

.pricing-price {
  margin-bottom: var(--space-2);
}

.price-amount {
  font-size: 2.75rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

.price-currency {
  font-size: 1.25rem;
  font-weight: 600;
  vertical-align: super;
  margin-right: 2px;
}

.price-period {
  font-size: 0.9375rem;
  color: var(--text-muted);
  font-weight: 400;
}

.price-original {
  font-size: 0.875rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.pricing-desc {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  margin: var(--space-4) 0 var(--space-6);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid var(--border-subtle);
  line-height: 1.6;
}

.pricing-features {
  margin-bottom: var(--space-8);
}

.pricing-feature {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-2) 0;
  font-size: 0.9375rem;
}

.pricing-feature .check-icon {
  color: var(--success);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

.pricing-feature .cross-icon {
  color: var(--text-muted);
  flex-shrink: 0;
  margin-top: 2px;
}

.pricing-feature .feature-text {
  color: var(--text-secondary);
}

.pricing-feature .feature-text.inactive {
  color: var(--text-muted);
}

.pricing-note {
  text-align: center;
  margin-top: var(--space-8);
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ============================================
   等待名单（Waitlist）
   ============================================ */
.waitlist-section {
  padding: var(--section-py) 0;
  background: var(--bg-surface);
  position: relative;
  overflow: hidden;
}

.waitlist-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 1000px;
  height: 400px;
  background: radial-gradient(ellipse at center, rgba(79,142,247,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.waitlist-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.waitlist-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: var(--space-4);
  line-height: 1.2;
}

.waitlist-desc {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-8);
}

.waitlist-desc strong { color: var(--primary); }

.waitlist-form-wrapper {
  min-height: 80px;
}

/* 联系方式切换 Tab */
.contact-tabs {
  display: inline-flex;
  gap: 4px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 4px;
  margin-bottom: var(--space-5);
}

.contact-tab {
  padding: 0.5rem 1.25rem;
  border-radius: calc(var(--radius-md) - 2px);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-muted);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.contact-tab:hover { color: var(--text-primary); }

.contact-tab.active {
  background: var(--gradient-brand);
  color: #fff;
  box-shadow: 0 2px 8px rgba(79,142,247,0.35);
}

.waitlist-input-wrap { width: 100%; }

/* 手机号输入组 */
.phone-input-group {
  display: flex;
  align-items: stretch;
  flex: 1;
}

.phone-prefix {
  display: flex;
  align-items: center;
  padding: 0 14px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-default);
  border-right: none;
  border-radius: var(--radius-md) 0 0 var(--radius-md);
  color: var(--text-secondary);
  font-size: 0.9375rem;
  font-weight: 500;
  white-space: nowrap;
}

.phone-input-group .form-input {
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

#waitlist-form {
  display: flex;
  gap: var(--space-3);
  max-width: 520px;
  margin: 0 auto var(--space-5);
}

.form-input {
  flex: 1;
  padding: 0.75rem 1.125rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  outline: none;
  transition: border-color 0.2s;
}

.form-input::placeholder { color: var(--text-muted); }

.form-input:focus { border-color: var(--border-focus); }

.form-note {
  display: flex;
  justify-content: center;
  gap: var(--space-6);
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.form-note span { display: flex; align-items: center; gap: var(--space-1); }
.form-note .check { color: var(--success); }

/* 成功状态 */
.waitlist-success {
  text-align: center;
  padding: var(--space-8);
}

.success-icon {
  width: 56px;
  height: 56px;
  background: rgba(34,197,94,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--success);
  font-weight: 700;
  margin: 0 auto var(--space-5);
}

.waitlist-success h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: var(--space-3);
}

.waitlist-success p {
  color: var(--text-secondary);
  margin-bottom: var(--space-4);
}

.position-badge {
  display: inline-block;
  padding: var(--space-2) var(--space-6);
  background: rgba(79,142,247,0.1);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-full);
  font-size: 0.9375rem;
  color: var(--primary);
}

/* ============================================
   Footer
   ============================================ */
footer {
  background: var(--bg-base);
  border-top: 1px solid var(--border-subtle);
  padding: var(--space-16) 0 var(--space-8);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-12);
  margin-bottom: var(--space-12);
}

.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: 800;
  font-size: 1.125rem;
  margin-bottom: var(--space-4);
}

.footer-brand p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-4);
}

.footer-icp {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.footer-col h4 {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: var(--space-5);
}

.footer-col ul { display: flex; flex-direction: column; gap: var(--space-3); }

.footer-col a {
  font-size: 0.9375rem;
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--text-primary); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-8);
  border-top: 1px solid var(--border-subtle);
  flex-wrap: wrap;
  gap: var(--space-4);
}

.footer-copyright {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.footer-social {
  display: flex;
  gap: var(--space-3);
}

.social-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 1rem;
  transition: all 0.2s;
}

.social-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(79,142,247,0.08);
}

/* ============================================
   Toast 通知
   ============================================ */
#toast-container {
  position: fixed;
  top: calc(var(--navbar-height) + 16px);
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  pointer-events: none;
}

.toast {
  padding: 0.875rem 1.25rem;
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  font-weight: 500;
  color: #fff;
  opacity: 0;
  transform: translateX(20px);
  transition: all 0.3s ease;
  pointer-events: auto;
  max-width: 320px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}

.toast--visible { opacity: 1; transform: translateX(0); }

.toast--info    { background: var(--bg-elevated); border: 1px solid var(--border-default); color: var(--text-primary); }
.toast--success { background: rgba(34,197,94,0.2); border: 1px solid rgba(34,197,94,0.3); }
.toast--error   { background: rgba(239,68,68,0.2); border: 1px solid rgba(239,68,68,0.3); }

/* ============================================
   模态框
   ============================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: var(--bg-overlay);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
  backdrop-filter: blur(4px);
}

.modal-overlay.modal--visible {
  opacity: 1;
  pointer-events: auto;
}

.modal-box {
  background: var(--bg-elevated);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xl);
  padding: var(--space-10);
  max-width: 420px;
  width: 90%;
  text-align: center;
  position: relative;
}

.modal-close {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--bg-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 1.125rem;
  cursor: pointer;
  transition: all 0.2s;
}

.modal-close:hover { color: var(--text-primary); background: var(--bg-overlay); }

.modal-icon {
  width: 56px;
  height: 56px;
  background: rgba(79,142,247,0.1);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto var(--space-5);
}

.modal-title {
  font-size: 1.375rem;
  font-weight: 700;
  margin-bottom: var(--space-3);
}

.modal-desc {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-2);
}

.modal-sub {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* ============================================
   响应式
   ============================================ */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: var(--space-12); }
  .hero-code { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-8); }
}

@media (max-width: 768px) {
  :root {
    --section-py: var(--space-16);
    --container-px: var(--space-4);
  }

  /* 导航 */
  .nav-menu {
    position: fixed;
    top: var(--navbar-height);
    left: 0;
    right: 0;
    background: rgba(7,11,20,0.97);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-subtle);
    flex-direction: column;
    align-items: stretch;
    padding: var(--space-4);
    gap: var(--space-1);
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.25s ease;
  }

  .nav-menu.nav-menu--open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-link { padding: var(--space-3) var(--space-4); }

  .navbar-actions .btn { display: none; }
  .nav-toggle { display: flex; }

  /* Hero */
  .hero-title { font-size: 2rem; }
  .hero-cta { flex-direction: column; align-items: flex-start; }
  .hero-cta .btn { width: 100%; justify-content: center; }

  /* Stats */
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-6); }

  /* Models */
  .models-grid { grid-template-columns: 1fr; }

  /* Features */
  .features-grid { grid-template-columns: 1fr; }

  /* Pricing */
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card--featured { order: -1; }

  /* Waitlist */
  #waitlist-form { flex-direction: column; }
  #waitlist-form .btn { width: 100%; justify-content: center; }
  .form-note { flex-direction: column; align-items: center; gap: var(--space-2); }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: var(--space-8); }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .hero-trust { flex-direction: column; }
}

/* ============================================
   工具类
   ============================================ */
.text-gradient {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-center { text-align: center; }
.w-full { width: 100%; }
