/* ============================================
   任物媒介 wbkol.com - 青春活力版样式系统
   明亮清新 · 蓝紫渐变 · 活力动感
   ============================================ */

/* === CSS Variables === */
:root {
  /* 明亮背景系统 */
  --bg-deep:    #f0f4ff;
  --bg-dark:     #f8fafc;
  --bg-card:     #ffffff;
  --bg-card-hover: #f8faff;
  --bg-surface:  #f1f5f9;
  --bg-elevated: #ffffff;

  /* 文字颜色 */
  --text-primary:   #1e293b;
  --text-secondary: #64748b;
  --text-muted:    #94a3b8;
  --text-dim:       #cbd5e1;

  /* 品牌色 - 蓝紫渐变活力风 */
  --brand:        #6366f1;
  --brand-light:   #818cf8;
  --brand-glow:   rgba(99, 102, 241, 0.12);
  --brand-glow-strong: rgba(99, 102, 241, 0.25);

  /* 青蓝点缀 */
  --accent-cyan:  #06b6d4;
  --accent-blue:  #3b82f6;
  --accent-pink:  #ec4899;
  --accent-glow:  rgba(6, 182, 212, 0.15);

  /* 功能色 */
  --success: #10b981;
  --warning: #f59e0b;
  --danger:  #ef4444;

  /* 边框 */
  --border:       #e2e8f0;
  --border-light: #cbd5e1;
  --border-glow:  rgba(99, 102, 241, 0.25);

  /* 布局 */
  --max-width: 1200px;
  --nav-height: 64px;
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  /* 阴影 - 明亮风格柔和阴影 */
  --glow-sm:  0 2px 12px rgba(99, 102, 241, 0.08);
  --glow:     0 4px 24px rgba(99, 102, 241, 0.1);
  --glow-lg:  0 8px 40px rgba(99, 102, 241, 0.12);
  --shadow-card: 0 1px 3px rgba(0,0,0,0.04), 0 4px 16px rgba(0,0,0,0.06);
  --shadow-card-hover: 0 4px 8px rgba(0,0,0,0.06), 0 12px 32px rgba(99, 102, 241, 0.12);

  /* 过渡 */
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-primary);
  background: var(--bg-deep);
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: var(--brand); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--accent-pink); }

img { max-width: 100%; height: auto; display: block; }

ul, ol { list-style: none; }

::selection { background: rgba(99, 102, 241, 0.2); color: var(--text-primary); }

/* === 滚动条明亮定制 === */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f1f5f9; }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #94a3b8; }

/* === 通用排版 === */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.3;
}

h1 { font-size: 2.8rem; letter-spacing: -0.02em; }
h2 { font-size: 2rem; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.05rem; }

.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 8px;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

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

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

.container-sm {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
  position: relative;
}

.section-dark {
  background: #f8faff;
}

.text-center { text-align: center; }
.mb-48 { margin-bottom: 48px; }

/* === 导航栏 === */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid transparent;
  z-index: 1000;
  transition: var(--transition);
}

.site-header.scrolled {
  border-bottom-color: var(--border);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-primary) !important;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.header-logo img { height: 32px; }

.header-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.header-nav a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  position: relative;
  padding: 4px 0;
  transition: var(--transition);
}

.header-nav a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: linear-gradient(90deg, var(--brand), var(--accent-pink));
  border-radius: 1px;
  transition: width 0.25s ease;
}

.header-nav a:hover,
.header-nav a.active {
  color: var(--text-primary);
}

.header-nav a:hover::after,
.header-nav a.active::after { width: 100%; }

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

/* === 按钮系统 === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 24px;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: white !important;
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #818cf8, #a78bfa);
  box-shadow: 0 6px 24px rgba(99, 102, 241, 0.4);
  transform: translateY(-2px);
}

.btn-accent {
  background: transparent;
  color: var(--accent-cyan) !important;
  border: 1.5px solid rgba(6, 182, 212, 0.35);
}

.btn-accent:hover {
  background: rgba(6, 182, 212, 0.06);
  border-color: var(--accent-cyan);
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.15);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary) !important;
  border: 1.5px solid var(--border-light);
}

.btn-outline:hover {
  border-color: var(--brand);
  background: var(--brand-glow);
  color: var(--brand) !important;
  transform: translateY(-1px);
}

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

.btn-ghost:hover {
  color: var(--brand) !important;
  background: rgba(99, 102, 241, 0.06);
}

.btn-sm { padding: 7px 16px; font-size: 0.85rem; }
.btn-lg { padding: 14px 32px; font-size: 0.95rem; border-radius: var(--radius-lg); }
.btn-full { width: 100%; }

/* === Hero 区域（明亮活力全屏）=== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #eff6ff 0%, #fdf2f8 30%, #f0fdf4 55%, #e0f2fe 100%);
  padding-top: var(--nav-height);
}

/* 装饰光晕 */
.hero::before {
  content: '';
  position: absolute;
  top: -25%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.06) 35%, rgba(236, 72, 153, 0.04) 60%, transparent 75%);
  pointer-events: none;
  animation: heroGlow 8s ease-in-out infinite alternate;
}

@keyframes heroGlow {
  0%   { opacity: 0.6; transform: translateX(-50%) scale(1); }
  100% { opacity: 1; transform: translateX(-50%) scale(1.08); }
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -15%;
  right: -8%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.08) 0%, rgba(99, 102, 241, 0.05) 50%, transparent 70%);
  pointer-events: none;
}

/* 装饰网格点 */
.hero-dots {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: radial-gradient(rgba(99, 102, 241, 0.06) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 80px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content { max-width: 540px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(99, 102, 241, 0.08);
  border: 1px solid rgba(99, 102, 241, 0.15);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--brand);
  margin-bottom: 24px;
}

.hero-badge-dot {
  width: 6px; height: 6px;
  background: var(--brand);
  border-radius: 50%;
  animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.5; transform: scale(1.5); }
}

.hero h1 {
  font-size: 3.4rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.hero h1 .highlight {
  background: linear-gradient(135deg, #6366f1, #8b5cf6, #ec4899);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.08rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 36px;
}

.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }

/* Hero 右侧可视化卡片 */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-dashboard {
  width: 100%;
  max-width: 480px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-card), var(--glow-sm);
  position: relative;
  overflow: hidden;
}

.hero-dashboard::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--accent-pink), var(--accent-cyan));
}

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

.hero-stat {
  text-align: center;
  padding: 16px 8px;
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.hero-stat-value {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--brand), var(--accent-pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-variant-numeric: tabular-nums;
}

.hero-stat-label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 4px;
}

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

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: var(--transition-slow);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--accent-pink));
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

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

.service-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(236, 72, 153, 0.1));
  border-radius: var(--radius);
  margin-bottom: 20px;
}

.service-icon .svc-icon {
  width: 24px;
  height: 24px;
}

.service-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.service-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* === 数据统计区（保留用于其他页面）=== */
.section-gray {
  background: #f8fafc;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-card {
  text-align: center;
  padding: 40px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.stat-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--accent-cyan));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.stat-card:hover::after { opacity: 1; }

.stat-number {
  font-size: 2.8rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--brand), var(--accent-pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.95rem;
  color: var(--text-primary);
  font-weight: 600;
  margin-bottom: 4px;
}

.stat-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
}

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

.feature-card {
  display: flex;
  gap: 16px;
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: var(--transition);
  box-shadow: var(--shadow-card);
}

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

.feature-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(6, 182, 212, 0.1));
  border-radius: var(--radius);
  color: var(--brand);
}

.feature-card h3 {
  font-size: 1rem;
  margin-bottom: 6px;
  color: var(--text-primary);
}

.feature-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* === CTA 区域 === */
.cta-section {
  padding: 96px 0;
  background: linear-gradient(135deg, #f8faff 0%, #fdf2f8 50%, #e0f2fe 100%);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.cta-section h2 {
  font-size: 2rem;
  color: var(--text-primary);
  margin-bottom: 12px;
  position: relative;
}

.cta-section p {
  color: var(--text-secondary);
  margin-bottom: 36px;
  font-size: 1.05rem;
  position: relative;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

/* === 页脚 === */
.site-footer {
  background: #1e293b;
  border-top: none;
  padding: 64px 0 0;
}

.footer-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
}

.footer-col p {
  font-size: 0.88rem;
  color: #94a3b8;
  line-height: 1.8;
  margin-top: 16px;
}

.footer-col h4 {
  font-size: 0.95rem;
  color: #f1f5f9;
  margin-bottom: 20px;
  font-weight: 600;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: #94a3b8;
  font-size: 0.88rem;
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: var(--accent-cyan);
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: #94a3b8;
  margin-bottom: 10px;
}

.footer-qr {
  display: flex;
  gap: 24px;
  margin-top: 16px;
}

.footer-qr-item {
  text-align: center;
}

.footer-qr-item img {
  width: 100px;
  height: 100px;
  border-radius: var(--radius-sm);
  border: 1px solid #334155;
}

.footer-qr-item span {
  display: block;
  font-size: 0.75rem;
  color: #64748b;
  margin-top: 6px;
}

/* Footer bottom */
.footer-bottom {
  margin-top: 48px;
  padding: 20px 0;
  border-top: 1px solid #334155;
}

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: #64748b;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links a {
  font-size: 0.78rem;
  color: #64748b;
  transition: var(--transition);
}

.footer-links a:hover { color: #94a3b8; }

/* === 返回顶部 === */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-card);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: linear-gradient(135deg, var(--brand), #8b5cf6);
  color: white;
  border-color: var(--brand);
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.35);
}

/* === 移动端导航 === */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 1px;
  transition: var(--transition);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0; right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px);
  padding: 32px 24px;
  z-index: 999;
  flex-direction: column;
  gap: 8px;
}

.mobile-menu.active { display: flex; }

.mobile-menu a {
  display: block;
  padding: 14px 16px;
  color: var(--text-secondary);
  font-size: 1rem;
  border-radius: var(--radius);
  transition: var(--transition);
}

.mobile-menu a:hover,
.mobile-menu a.active {
  background: var(--brand-glow);
  color: var(--text-primary);
}

.mobile-actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

/* === 登录弹窗（明亮）=== */
.login-modal-mask {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(6px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
}

.login-modal-mask.active { display: flex; }

.login-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px;
  max-width: 420px;
  width: 90%;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15), var(--glow);
}

.login-card h2 {
  text-align: center;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.login-subtitle {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

/* 关闭按钮 */
.login-close {
  position: absolute;
  top: 16px; right: 20px;
  background: none;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  color: var(--text-muted);
  transition: var(--transition);
  width: 32px; height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}
.login-close:hover {
  color: var(--text-primary);
  background: var(--bg-surface);
}

.form-group { margin-bottom: 20px; }

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.form-input {
  width: 100%;
  padding: 11px 14px;
  font-size: 0.92rem;
  background: #f8fafc;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-primary);
  transition: var(--transition);
  outline: none;
}

.form-input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-glow);
  background: #fff;
}

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

.form-input-row {
  display: flex;
  gap: 12px;
  align-items: center;
}

.form-input-row .form-input { flex: 1; }

.captcha-img {
  height: 44px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: 1px solid var(--border);
}

/* 短信验证码行 */
.form-input-row-sms .form-input { flex: 1; }

.btn-sms-code {
  height: 44px;
  padding: 0 16px;
  background: var(--brand-glow);
  color: var(--brand);
  border: 1px solid var(--brand-light);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-sms-code:hover {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

.btn-sms-code:disabled {
  background: var(--bg-surface);
  color: var(--text-muted);
  border-color: var(--border);
  cursor: not-allowed;
}

.form-footer-text {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 16px;
}

.form-footer-text a {
  color: var(--brand);
  font-weight: 600;
}

.form-footer-text a:hover {
  color: var(--accent-pink);
}

.form-error-inline {
  font-size: 0.8rem;
  color: var(--danger);
  margin-top: 4px;
  min-height: 0;
}

.form-error-inline:empty { display: none; }

/* Hero 图表区域 */
.hero-chart {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 16px 14px;
}

.hero-chart-bars {
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  gap: 12px;
  height: 120px;
  margin-bottom: 12px;
}

.hero-bar {
  flex: 1;
  max-width: 48px;
  background: linear-gradient(180deg, var(--brand) 0%, var(--accent-pink) 100%);
  border-radius: var(--radius-sm) var(--radius-sm) 4px 4px;
  position: relative;
  transition: height 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  min-height: 20px;
}

.hero-bar span {
  position: absolute;
  bottom: -22px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.68rem;
  color: var(--text-muted);
  white-space: nowrap;
}

.hero-chart-label {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin: 0;
}

/* 验证码提示 */
.captcha-hint {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 6px;
}

.captcha-hint a {
  color: var(--brand);
  cursor: pointer;
  font-weight: 500;
}

.captcha-hint a:hover {
  color: var(--accent-pink);
  text-decoration: underline;
}

/* === 合作伙伴 Logo 栏 === */
.trust-bar {
  padding: 48px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: #fff;
}

.trust-bar-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
}

.trust-bar-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

.trust-logo {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dim);
  opacity: 0.6;
  transition: var(--transition);
}

.trust-logo:hover {
  opacity: 1;
  color: var(--brand);
}

/* === 响应式 === */
@media (max-width: 1023px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 48px;
    padding: 60px 24px;
  }

  .hero-content { max-width: 100%; }
  .hero-buttons { justify-content: center; }

  .hero-visual { order: -1; }
  .hero-dashboard { max-width: 400px; }

  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}

@media (max-width: 767px) {
  :root { --nav-height: 56px; }

  h1 { font-size: 2rem; }
  .hero h1 { font-size: 2.2rem; }

  .section { padding: 64px 0; }

  .header-nav { display: none; }
  .header-actions { display: none; }
  .mobile-toggle { display: flex; }

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

  .hero-stats { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .hero-stat-value { font-size: 1.1rem; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom .container { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }

  .cta-buttons { flex-direction: column; align-items: center; }
}

@media (max-width: 399px) {
  .hero-buttons { flex-direction: column; }
  .btn-lg { width: 100%; }
}

/* === 动画 === */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease forwards;
  opacity: 0;
}

.fade-in {
  animation: fadeIn 0.5s ease forwards;
  opacity: 0;
}

/* Intersection Observer 触发动画 */
.scroll-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Toast 提示 */
.toast {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  padding: 12px 28px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  z-index: 3000;
  animation: toastIn 0.3s ease;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.toast-error { background: #fef2f2; color: var(--danger); border: 1px solid #fecaca; }
.toast-success { background: #f0fdf4; color: var(--success); border: 1px solid #bbf7d0; }

@keyframes toastIn {
  from { opacity: 0; transform: translateX(-50%) translateY(-12px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}
