/* ============================================================
   AURORA — 极光 · 发卡网前端主题
   浅色 · 靛蓝 (#4F46E5) · 玻璃拟态 · 渐变光斑 · 滚动浮现
   纯本地资源，无外部 CDN，保证国内访问速度流畅
   ============================================================ */

/* elf-guard 字体（自托管 woff2，无 CDN，避免下载卡顿） */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/SpaceGrotesk.woff2') format('woff2');
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/JetBrainsMono.woff2') format('woff2');
}

:root {
  /* 主色 —— 学习 elf-guard 的靛蓝渐变体系 */
  --primary: #4F46E5;
  --primary-2: #7C5CFF;
  --primary-3: #0284C7;
  --primary-glow: rgba(79, 70, 229, 0.20);
  --grad: linear-gradient(135deg, #4F46E5 0%, #7C5CFF 50%, #38BDF8 100%);

  /* 表面 */
  --bg: #F5F7FB;
  --bg-2: #FFFFFF;
  --bg-3: #EEF1F8;
  --card: rgba(255, 255, 255, 0.72);
  --card-solid: #FFFFFF;
  --border: rgba(15, 23, 42, 0.08);
  --border-strong: rgba(15, 23, 42, 0.14);

  /* 文字 */
  --text: #0F172A;
  --text-2: #475569;
  --text-3: #94A3B8;
  --on-primary: #FFFFFF;

  /* 语义色 */
  --success: #16A34A;
  --danger: #E11D48;
  --warning: #D97706;
  --info: #0284C7;

  /* 形状 / 阴影 / 动效 */
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;
  --radius-xl: 28px;
  --radius-full: 9999px;
  --shadow: 0 10px 40px rgba(15, 23, 42, 0.10);
  --shadow-lg: 0 24px 80px rgba(15, 23, 42, 0.14);
  --glow: 0 0 0 1px rgba(79, 70, 229, 0.18), 0 8px 32px rgba(79, 70, 229, 0.18);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-md: cubic-bezier(0.2, 0.0, 0, 1.0);

  --font-display: 'Space Grotesk', 'PingFang SC', 'Microsoft YaHei', 'Hiragino Sans GB', sans-serif;
  --font-body: 'PingFang SC', 'Microsoft YaHei', 'Hiragino Sans GB', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'Cascadia Code', Consolas, 'Courier New', monospace;
}

/* ============ Reset ============ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; transition: color .2s var(--ease-md); }
a:hover { color: var(--primary-2); }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; }
::selection { background: var(--primary); color: #fff; }

/* elf-guard 展示字体：标题用 Space Grotesk，数字用 JetBrains Mono */
h1, h2, h3, h4, h5, h6,
.nav-logo, .hero-title, .hero-sub, .hero-badge, .section-title,
.feature h3, .news-title, .cta h2, .page-hero h1,
.article-card h3, .badge, .footer-col h4, .footer-brand .logo {
  font-family: var(--font-display);
}
.stat-num, .hero-meta .m b {
  font-family: var(--font-mono);
}

/* 全局装饰背景：网格点阵 + 光斑 */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(120% 60% at 50% -10%, rgba(79, 70, 229, 0.12), transparent 60%),
    radial-gradient(80% 50% at 100% 0%, rgba(56, 189, 248, 0.10), transparent 55%),
    var(--bg);
}
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(to right, rgba(15,23,42,0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15,23,42,0.03) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(80% 60% at 50% 0%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(80% 60% at 50% 0%, #000 0%, transparent 75%);
  pointer-events: none;
}

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

/* ============ 按钮 ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border: 1px solid transparent;
  border-radius: var(--radius-full);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease);
  user-select: none;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-primary {
  background: var(--grad);
  background-size: 150% 100%;
  color: #fff;
  box-shadow: 0 8px 26px rgba(79, 70, 229, 0.32);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(79, 70, 229, 0.42);
  color: #fff;
  background-position: 100% 0;
}
.btn-ghost {
  background: var(--card);
  color: var(--text);
  border-color: var(--border-strong);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { border-color: var(--primary-2); color: var(--primary-2); transform: translateY(-2px); }
.btn-sm { padding: 9px 18px; font-size: 13px; }
.btn-lg { padding: 16px 34px; font-size: 16px; }
.btn-danger { background: var(--danger); color: #fff; }
.btn-danger:hover { box-shadow: 0 10px 26px rgba(225, 29, 72, 0.32); transform: translateY(-2px); }

/* ============ 顶部导航 ============ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  background: rgba(255, 255, 255, 0.78);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 24px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; letter-spacing: -0.02em; }
.nav-logo img { height: 30px; width: auto; }
.nav-logo .logo-mark {
  width: 34px; height: 34px; border-radius: 10px;
  background: var(--grad);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 900; font-size: 18px;
  box-shadow: 0 6px 18px var(--primary-glow);
}
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  padding: 9px 15px;
  border-radius: var(--radius-full);
  color: var(--text-2);
  font-size: 14.5px;
  font-weight: 500;
  transition: color .2s var(--ease-md), background .2s var(--ease-md);
}
.nav-links a:hover { color: var(--text); background: rgba(15, 23, 42, 0.05); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  background: var(--card);
  color: var(--text);
  align-items: center; justify-content: center;
  flex-direction: column; gap: 5px;
}
.nav-toggle span { width: 18px; height: 2px; background: currentColor; border-radius: 2px; transition: all .25s var(--ease); }

/* ============ Hero ============ */
.hero { position: relative; padding: 96px 0 80px; overflow: hidden; }
.hero-inner { position: relative; z-index: 2; max-width: 820px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 16px; border-radius: var(--radius-full);
  border: 1px solid rgba(79, 70, 229, 0.35);
  background: rgba(79, 70, 229, 0.10);
  color: #4F46E5; font-size: 13px; font-weight: 600;
  margin-bottom: 26px;
}
.hero-badge .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--success); box-shadow: 0 0 10px var(--success);
  animation: pulse 2s ease-in-out infinite;
}
.hero-title {
  font-size: clamp(40px, 6.5vw, 72px);
  line-height: 1.06;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
}
.hero-sub {
  font-size: 18px;
  color: var(--text-2);
  max-width: 600px;
  line-height: 1.75;
  margin-bottom: 36px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 48px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 34px; }
.hero-meta .m { display: flex; flex-direction: column; }
.hero-meta .m b { font-size: 22px; font-weight: 800; letter-spacing: -0.01em; }
.hero-meta .m span { font-size: 13px; color: var(--text-3); }
.hero-visual {
  position: absolute;
  right: -40px; top: 50%; transform: translateY(-50%);
  width: 520px; height: 520px; z-index: 1;
  opacity: .9; pointer-events: none;
}
.hero-visual .card-mock {
  position: absolute; inset: 0; margin: auto;
  width: 340px; height: 420px; border-radius: 24px;
  background: linear-gradient(160deg, rgba(255,255,255,0.9), rgba(255,255,255,0.55));
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-lg);
  transform: rotate(6deg);
}

/* 渐变文字 */
.grad-text {
  background: linear-gradient(120deg, var(--primary-2), var(--primary-3), var(--primary-2));
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: gradient-shift 7s ease infinite;
}

/* 光斑装饰 */
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; pointer-events: none; z-index: 0; }
.blob-1 { width: 460px; height: 460px; background: rgba(79, 70, 229, 0.28); top: -120px; left: -100px; animation: blob-float 18s ease-in-out infinite; }
.blob-2 { width: 380px; height: 380px; background: rgba(56, 189, 248, 0.20); top: 40px; right: -80px; animation: blob-float 22s ease-in-out infinite reverse; }
.blob-3 { width: 320px; height: 320px; background: rgba(124, 92, 255, 0.22); bottom: -120px; left: 30%; animation: blob-float 26s ease-in-out infinite; }

/* ============ 区块 ============ */
.section { padding: 84px 0; position: relative; }
.section-head { max-width: 640px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--primary-3);
  margin-bottom: 14px;
}
.eyebrow::before { content: ''; width: 22px; height: 2px; background: var(--grad); border-radius: 2px; }
.section-head.center .eyebrow::after { content: ''; width: 22px; height: 2px; background: var(--grad); border-radius: 2px; }
.section-title { font-size: clamp(28px, 4vw, 42px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; }
.section-sub { margin-top: 14px; color: var(--text-2); font-size: 16px; line-height: 1.7; }

/* ============ 统计 ============ */
.stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.stat {
  position: relative; overflow: hidden;
  padding: 34px 30px; border-radius: var(--radius-lg);
  background: var(--card); border: 1px solid var(--border);
  backdrop-filter: blur(10px);
  transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.stat:hover { transform: translateY(-4px); border-color: rgba(79, 70, 229, 0.4); box-shadow: var(--glow); }
.stat-num { font-size: 44px; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.stat-label { margin-top: 6px; color: var(--text-2); font-size: 14px; }
.stat .stat-icon {
  position: absolute; top: 22px; right: 24px; width: 44px; height: 44px;
  border-radius: 12px; display: flex; align-items: center; justify-content: center;
  background: rgba(79, 70, 229, 0.12); color: var(--primary-3);
}
.stat .stat-icon svg { width: 22px; height: 22px; }

/* ============ 特性卡片 ============ */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature {
  padding: 32px 28px; border-radius: var(--radius-lg);
  background: var(--card); border: 1px solid var(--border);
  backdrop-filter: blur(10px);
  transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.feature:hover { transform: translateY(-6px); border-color: rgba(79, 70, 229, 0.45); box-shadow: var(--glow); }
.feature-icon {
  width: 54px; height: 54px; border-radius: 15px;
  background: var(--grad); display: flex; align-items: center; justify-content: center;
  color: #fff; margin-bottom: 20px; box-shadow: 0 8px 20px var(--primary-glow);
}
.feature-icon svg { width: 26px; height: 26px; }
.feature h3 { font-size: 19px; font-weight: 700; margin-bottom: 10px; }
.feature p { color: var(--text-2); font-size: 14.5px; line-height: 1.7; }

/* ============ 公告 / 新闻 卡片 ============ */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.news-card {
  display: flex; flex-direction: column;
  padding: 26px; border-radius: var(--radius-lg);
  background: var(--card); border: 1px solid var(--border);
  backdrop-filter: blur(10px);
  transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.news-card:hover { transform: translateY(-6px); border-color: rgba(79, 70, 229, 0.45); box-shadow: var(--glow); }
.news-tag {
  align-self: flex-start;
  font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: var(--radius-full);
  background: rgba(79, 70, 229, 0.12); color: #4F46E5; margin-bottom: 16px;
}
.news-tag.new { background: rgba(34, 197, 94, 0.14); color: #16A34A; }
.news-title { font-size: 17px; font-weight: 700; line-height: 1.45; margin-bottom: 10px; }
.news-card:hover .news-title { color: var(--primary-3); }
.news-meta { margin-top: auto; padding-top: 14px; color: var(--text-3); font-size: 13px; }
.news-empty { color: var(--text-3); font-size: 15px; }

/* ============ FAQ ============ */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--card); backdrop-filter: blur(10px);
  margin-bottom: 14px; overflow: hidden;
  transition: border-color .3s var(--ease);
}
.faq-item:hover { border-color: rgba(79, 70, 229, 0.4); }
.faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px; font-size: 16px; font-weight: 600;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .chev { width: 20px; height: 20px; flex-shrink: 0; transition: transform .3s var(--ease); color: var(--text-3); }
.faq-item[open] summary .chev { transform: rotate(180deg); color: var(--primary-3); }
.faq-ans { padding: 0 24px 22px; color: var(--text-2); font-size: 15px; line-height: 1.75; }

/* ============ CTA ============ */
.cta {
  position: relative; overflow: hidden; text-align: center;
  padding: 72px 40px; border-radius: var(--radius-xl);
  background: linear-gradient(150deg, rgba(79,70,229,0.14), rgba(56,189,248,0.12));
  border: 1px solid rgba(79, 70, 229, 0.25);
}
.cta h2 { font-size: clamp(26px, 4vw, 38px); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 14px; }
.cta p { color: var(--text-2); max-width: 560px; margin: 0 auto 28px; }
.cta .btn-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ============ 子页面页头 ============ */
.page-hero { position: relative; padding: 72px 0 56px; overflow: hidden; }
.page-hero .crumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-3); margin-bottom: 14px; }
.page-hero .crumb a:hover { color: var(--primary-3); }
.page-hero h1 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; letter-spacing: -0.02em; }
.page-hero .lead { margin-top: 10px; color: var(--text-2); max-width: 620px; }

/* ============ 卡片列表（文章 / 订单） ============ */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.article-card {
  display: flex; flex-direction: column; padding: 24px;
  border-radius: var(--radius); background: var(--card);
  border: 1px solid var(--border); backdrop-filter: blur(10px);
  transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.article-card:hover { transform: translateY(-5px); border-color: rgba(79, 70, 229, 0.45); box-shadow: var(--glow); }
.article-card .tag { font-size: 12px; font-weight: 700; color: var(--primary-3); margin-bottom: 12px; }
.article-card h3 { font-size: 17px; font-weight: 700; line-height: 1.45; margin-bottom: 8px; }
.article-card:hover h3 { color: var(--primary-3); }
.article-card .meta { margin-top: auto; padding-top: 14px; font-size: 13px; color: var(--text-3); display: flex; justify-content: space-between; align-items: center; }
.article-card .meta .arrow { transition: transform .25s var(--ease); }
.article-card:hover .meta .arrow { transform: translateX(4px); color: var(--primary-3); }

/* 状态徽章 */
.badge { display: inline-flex; align-items: center; padding: 4px 12px; border-radius: var(--radius-full); font-size: 12px; font-weight: 700; }
.badge-success { background: rgba(34,197,94,0.14); color: #16A34A; }
.badge-warning { background: rgba(245,158,11,0.16); color: #B45309; }
.badge-danger { background: rgba(244,63,94,0.14); color: #BE123C; }
.badge-muted { background: rgba(15,23,42,0.06); color: var(--text-2); }

/* ============ 内容页 ============ */
.prose {
  max-width: 780px; margin: 0 auto; padding: 40px;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
  font-size: 16px; line-height: 1.85; color: var(--text-2);
}
.prose h1, .prose h2, .prose h3 { color: var(--text); margin: 1.2em 0 .5em; line-height: 1.3; }
.prose h2 { font-size: 22px; } .prose h3 { font-size: 18px; }
.prose p { margin-bottom: 1em; }
.prose img { border-radius: var(--radius); margin: 1em 0; }
.prose a { color: var(--primary-3); }
.prose ul, .prose ol { padding-left: 1.4em; margin-bottom: 1em; list-style: disc; }
.prose ol { list-style: decimal; }
.prose blockquote { border-left: 3px solid var(--primary); padding-left: 16px; color: var(--text-3); margin: 1em 0; }
.prose code { font-family: var(--font-mono); font-size: 14px; background: rgba(15,23,42,0.06); padding: 2px 8px; border-radius: 6px; }
.prose pre { background: #0F172A; border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; overflow-x: auto; margin: 1em 0; color: #E2E8F0; }
.prose pre code { background: none; padding: 0; color: #E2E8F0; }
.prose-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 22px; }
.prose-nav a {
  flex: 1; padding: 16px 20px; border-radius: var(--radius);
  background: var(--card); border: 1px solid var(--border); font-size: 14px; color: var(--text-2);
  transition: border-color .25s var(--ease), color .25s var(--ease);
}
.prose-nav a:hover { border-color: rgba(79,70,229,0.45); color: var(--primary-3); }
.prose-nav a.next { text-align: right; }
.prose-nav .lbl { display: block; font-size: 12px; color: var(--text-3); margin-bottom: 4px; }

/* ============ 表单 ============ */
.panel {
  max-width: 680px; margin: 0 auto; padding: 40px;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; color: var(--text-2); }
.field label .req { color: var(--danger); }
.input, .field select, .field textarea {
  width: 100%; padding: 13px 16px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--border-strong); border-radius: var(--radius-sm);
  color: var(--text); font-size: 15px; outline: none;
  transition: border-color .2s var(--ease-md), box-shadow .2s var(--ease-md);
}
.input::placeholder, .field textarea::placeholder { color: var(--text-3); }
.input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--primary); box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.16);
}
.field textarea { resize: vertical; min-height: 120px; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--text-3) 50%), linear-gradient(135deg, var(--text-3) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.field select option { background: var(--bg-2); color: var(--text); }
.field .hint { font-size: 12.5px; color: var(--text-3); }
.help-note {
  display: flex; align-items: flex-start; gap: 10px; padding: 14px 16px;
  border-radius: var(--radius-sm); background: rgba(2,132,199,0.08);
  border: 1px solid rgba(2,132,199,0.2); color: #0369A1; font-size: 13.5px; line-height: 1.6;
}

/* 搜索条（订单 / 投诉查询） */
.search-bar { display: flex; gap: 12px; max-width: 640px; margin: 0 auto; }
.search-bar .input { flex: 1; height: 54px; border-radius: var(--radius-full); padding: 0 22px; }
.search-bar .btn { height: 54px; padding: 0 32px; border-radius: var(--radius-full); }

/* ============ 分页 ============ */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 40px; flex-wrap: wrap; list-style: none; }
.pagination li { list-style: none; }
.pagination a, .pagination span {
  min-width: 40px; height: 40px; padding: 0 12px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--radius-sm); font-size: 14px;
  background: var(--card); border: 1px solid var(--border); color: var(--text-2);
  transition: all .2s var(--ease-md);
}
.pagination a:hover { border-color: var(--primary); color: var(--primary-3); }
.pagination li.active a, .pagination li.active span { background: var(--grad); color: #fff; border-color: transparent; }
.pagination li.disabled a, .pagination li.disabled span { opacity: .4; pointer-events: none; }

/* ============ 提示框 ============ */
.alert { padding: 16px 20px; border-radius: var(--radius); font-size: 14.5px; line-height: 1.6; }
.alert-info { background: rgba(2,132,199,0.08); border: 1px solid rgba(2,132,199,0.25); color: #0369A1; }
.alert-danger { background: rgba(225,29,72,0.08); border: 1px solid rgba(225,29,72,0.25); color: #BE123C; }

/* ============ 页脚 ============ */
.footer { position: relative; margin-top: 40px; border-top: 1px solid var(--border); background: rgba(255, 255, 255, 0.6); backdrop-filter: blur(10px); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding: 60px 0 44px; }
.footer-col h4 { font-size: 15px; font-weight: 700; margin-bottom: 18px; color: var(--text); }
.footer-col ul li { margin-bottom: 11px; }
.footer-col ul li a { color: var(--text-2); font-size: 14px; transition: color .2s; }
.footer-col ul li a:hover { color: var(--primary-3); }
.footer-brand p { margin-top: 14px; color: var(--text-2); font-size: 14px; max-width: 300px; line-height: 1.7; }
.footer-brand .logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; }
.footer-brand .logo img { height: 28px; }
.footer-bar { border-top: 1px solid var(--border); padding: 20px 0; text-align: center; color: var(--text-3); font-size: 13px; }
.footer-bar a { color: var(--text-2); }

/* 回到顶部 */
.back-top {
  position: fixed; right: 26px; bottom: 26px; z-index: 90;
  width: 46px; height: 46px; border-radius: 14px;
  background: var(--grad); color: #fff;
  display: flex; align-items: center; justify-content: center;
  border: none; box-shadow: 0 10px 28px var(--primary-glow);
  opacity: 0; transform: translateY(16px); pointer-events: none;
  transition: all .3s var(--ease);
}
.back-top.show { opacity: 1; transform: translateY(0); pointer-events: auto; }
.back-top svg { width: 20px; height: 20px; }

/* ============ 动画 ============ */
@keyframes gradient-shift { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
@keyframes blob-float { 0%,100% { transform: translate(0,0) scale(1); } 33% { transform: translate(40px,-30px) scale(1.08); } 66% { transform: translate(-30px,20px) scale(0.94); } }
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .4; transform: scale(.8); } }
@keyframes hero-in { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

.hero-in { animation: hero-in .7s var(--ease) both; }
.hero-in.d1 { animation-delay: .08s; }
.hero-in.d2 { animation-delay: .16s; }
.hero-in.d3 { animation-delay: .24s; }
.hero-in.d4 { animation-delay: .32s; }

/* 滚动浮现 */
.reveal {
  opacity: 0; transform: translateY(34px); filter: blur(5px);
  transition: opacity .8s var(--ease), transform .8s var(--ease), filter .8s var(--ease);
  will-change: opacity, transform, filter;
}
.reveal.visible { opacity: 1; transform: none; filter: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; filter: none; transition: none; }
  .grad-text, .blob, .hero-badge .dot { animation: none !important; }
}

/* ============ 响应式 ============ */
@media (max-width: 992px) {
  .hero-visual { display: none; }
  .stats, .features, .news-grid, .card-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links {
    position: fixed; inset: 68px 0 auto 0;
    flex-direction: column; align-items: stretch;
    background: rgba(255, 255, 255, 0.98); border-bottom: 1px solid var(--border);
    padding: 12px 20px 20px; gap: 4px;
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: all .3s var(--ease);
  }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 14px 16px; font-size: 16px; }
  .nav-toggle { display: flex; }
  .nav-cta .btn { display: none; }
  .hero { padding: 56px 0 56px; }
  .stats, .features, .news-grid, .card-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .search-bar { flex-direction: column; }
  .search-bar .btn { height: 50px; }
}
