/* ========================================
   波罗罗卡 · 公共样式 · Aurora Crystal 2026
   极光水晶风 · 流云白底 · 薄荷绿×天空蓝
   ======================================== */

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

:root {
  /* 主色调 */
  --primary:       #10B981;      /* 薄荷绿 */
  --primary-dark:  #059669;
  --primary-light: #34D399;
  --accent:        #3B82F6;      /* 天空蓝 */
  --accent-dark:   #2563EB;
  --accent-light:  #60A5FA;
  --grad:          linear-gradient(135deg, #10B981, #3B82F6);
  --grad-r:        linear-gradient(135deg, #3B82F6, #10B981);

  /* 背景 */
  --bg:     #F8FAFC;             /* 流云白 */
  --bg2:    #F0FDF8;             /* 薄荷浅底 */
  --bg3:    #EFF6FF;             /* 蓝色浅底 */
  --bg4:    rgba(59,130,246,0.06);

  /* 玻璃 */
  --glass:  rgba(255,255,255,0.78);
  --glass2: rgba(255,255,255,0.55);

  /* 文字 */
  --text:   #0F172A;
  --text2:  #334155;
  --muted:  #64748B;

  /* 边框 */
  --border:  rgba(255,255,255,0.90);
  --border2: rgba(59,130,246,0.18);

  /* 阴影 */
  --shadow-sm:  0 2px 8px rgba(59,130,246,0.08), 0 1px 3px rgba(0,0,0,0.04);
  --shadow:     0 6px 24px rgba(59,130,246,0.11), 0 2px 8px rgba(16,185,129,0.07);
  --shadow-lg:  0 16px 48px rgba(59,130,246,0.16), 0 6px 20px rgba(16,185,129,0.10);

  --radius:    14px;
  --radius-sm:  8px;
  --radius-lg: 28px;
  --radius-xl: 40px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, 'PingFang SC', 'Helvetica Neue', 'Microsoft YaHei', sans-serif;
  font-size: 15px;
  line-height: 1.7;
  overflow-x: hidden;
  opacity: 0;
  animation: fadeIn .28s .05s ease both;
}
@keyframes fadeIn { to { opacity: 1; } }

a { color: inherit; text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent); }
img { max-width: 100%; display: block; }

/* ─── 极光背景层 ─── */
#auroraEl {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
#aurora1 {
  position: absolute;
  width: 700px; height: 700px;
  background: radial-gradient(circle, #a7f3d0 0%, #6ee7b7 35%, transparent 70%);
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.38;
  top: -200px; left: -150px;
  transition: transform .6s ease-out;
  pointer-events: none;
}
#aurora2 {
  position: absolute;
  width: 620px; height: 620px;
  background: radial-gradient(circle, #bfdbfe 0%, #93c5fd 35%, transparent 70%);
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.36;
  bottom: -180px; right: -120px;
  transition: transform .6s ease-out;
  pointer-events: none;
}

/* ─── 容器 ─── */
.container    { max-width: 1200px; margin: 0 auto; padding: 0 32px; position: relative; z-index: 2; }
.container-sm { max-width: 900px;  margin: 0 auto; padding: 0 32px; position: relative; z-index: 2; }

/* ─── 章节间距 ─── */
.section    { padding: 96px 0; }
.section-sm { padding: 56px 0; }

.section-eyebrow {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 10px;
}
.section-title {
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 800;
  text-align: center;
  margin-bottom: 12px;
  color: var(--text);
  letter-spacing: -0.022em;
}
.section-sub {
  font-size: 16px;
  color: var(--muted);
  text-align: center;
  margin-bottom: 52px;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

/* ─── 渐变文字辅助 ─── */
.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── 卡片基础（玻璃拟态）─── */
.card {
  background: var(--glass);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  transition: box-shadow .25s, transform .22s;
}
.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

/* ─── 按钮 ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
  border: none;
  outline: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 3px 14px rgba(59,130,246,0.30);
}
.btn-primary:hover { opacity: 0.88; transform: translateY(-1px); color: #fff; box-shadow: 0 6px 22px rgba(59,130,246,0.38); }

.btn-outline {
  background: rgba(255,255,255,0.80);
  backdrop-filter: blur(10px);
  border: 1.5px solid var(--border2);
  color: var(--text2);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); background: rgba(59,130,246,0.06); }

.btn-ghost {
  background: transparent;
  color: var(--accent);
  padding: 8px 16px;
}
.btn-ghost:hover { background: rgba(59,130,246,0.08); color: var(--accent-dark); }

.btn-lg  { padding: 14px 32px; font-size: 15.5px; }
.btn-sm  { padding: 6px 15px;  font-size: 13px; }

/* ─── 标签 ─── */
.tag {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
}
.tag-indigo { background: rgba(59,130,246,0.10);  color: var(--accent); }
.tag-green  { background: rgba(16,185,129,0.10);  color: var(--primary-dark); }
.tag-amber  { background: rgba(245,158,11,0.10);  color: #B45309; }
.tag-red    { background: rgba(220,38,38,0.10);   color: #DC2626; }
.tag-gray   { background: rgba(100,116,139,0.10); color: var(--muted); }

/* ─── 状态点 ─── */
.dot { width: 7px; height: 7px; border-radius: 50%; display: inline-block; flex-shrink: 0; }
.dot-green { background: var(--primary);   box-shadow: 0 0 6px rgba(16,185,129,0.5); }
.dot-red   { background: #EF4444;          box-shadow: 0 0 6px rgba(239,68,68,0.5); }
.dot-amber { background: #F59E0B; }

/* ─── 分割线 ─── */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(59,130,246,0.15), rgba(16,185,129,0.15), transparent);
}

/* ─── 网格布局 ─── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .container { padding: 0 16px; }
  .section { padding: 64px 0; }
}

/* ═══════════════════════════════════════
   导航栏
═══════════════════════════════════════ */
.nav-wrap {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  width: min(1100px, calc(100% - 32px));
}
.nav-inner {
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border: 1px solid rgba(255,255,255,0.92);
  border-radius: 999px;
  padding: 8px 18px;
  display: flex;
  align-items: center;
  height: 52px;
  gap: 0;
  box-shadow: 0 4px 24px rgba(59,130,246,0.10), 0 1px 4px rgba(0,0,0,0.05);
}
.nav-logo {
  font-size: 16px;
  font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-right: 28px;
  white-space: nowrap;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}
.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  flex: 1;
  gap: 1px;
}
.nav-item { position: relative; }
.nav-link {
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 5px 12px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text2);
  border-radius: 999px;
  transition: color .2s, background .2s;
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active {
  color: var(--accent);
  background: rgba(59,130,246,0.08);
}
.nav-link .arrow { font-size: 9px; transition: transform .2s; color: var(--muted); }
.nav-item:hover .arrow { transform: rotate(180deg); }

/* 下拉菜单 */
.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 200px;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.92);
  border-radius: var(--radius);
  padding: 8px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity .18s, transform .18s;
  box-shadow: var(--shadow-lg);
}
.nav-item::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 12px;
}
.nav-item:hover .dropdown {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}
.dropdown a {
  display: block;
  padding: 8px 13px;
  border-radius: 8px;
  font-size: 13.5px;
  color: var(--text2);
  transition: background .15s, color .15s;
}
.dropdown a:hover { background: rgba(59,130,246,0.07); color: var(--accent); }

.nav-actions {
  display: flex;
  gap: 8px;
  margin-left: auto;
  padding-left: 16px;
  flex-shrink: 0;
}
.nav-actions .btn-primary {
  padding: 7px 18px;
  font-size: 13px;
  box-shadow: 0 2px 10px rgba(59,130,246,0.28);
}

/* 汉堡菜单 */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  cursor: pointer;
  font-size: 22px;
  padding: 4px 8px;
}

@media (max-width: 1024px) {
  .nav-menu { display: none; }
  .nav-toggle { display: flex; }
  .nav-actions .btn-outline { display: none; }
  .nav-wrap { top: 10px; }
}

/* ─── Hero 通用 ─── */
.hero {
  min-height: 600px;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 16px;
  background: rgba(255,255,255,0.80);
  border: 1px solid rgba(59,130,246,0.18);
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 20px;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(59,130,246,0.08);
}
.hero-title {
  font-size: clamp(32px, 5vw, 58px);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
  color: var(--text);
}
.hero-title .grad {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-desc {
  font-size: clamp(15px, 1.6vw, 18px);
  color: var(--muted);
  max-width: 580px;
  margin-bottom: 36px;
  line-height: 1.8;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }

/* ─── 面包屑 ─── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 24px;
}
.breadcrumb a:hover { color: var(--accent); }

/* ─── 分页 ─── */
.pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 32px 0;
  flex-wrap: wrap;
}
.pagination a, .pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 14px;
  border: 1.5px solid var(--border2);
  color: var(--muted);
  transition: all .2s;
  font-weight: 500;
  background: var(--glass);
  backdrop-filter: blur(10px);
}
.pagination a:hover { border-color: var(--accent); color: var(--accent); background: rgba(59,130,246,0.07); }
.pagination .active { background: var(--grad); border-color: transparent; color: #fff; box-shadow: 0 2px 10px rgba(59,130,246,0.30); }

/* ─── 页脚 ─── */
.footer {
  background: rgba(255,255,255,0.70);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(59,130,246,0.10);
  padding: 64px 0 36px;
  position: relative;
  z-index: 2;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-logo {
  font-size: 19px;
  font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}
.footer-brand p {
  font-size: 13px;
  color: var(--muted);
  margin-top: 8px;
  line-height: 1.8;
}
.footer-col h4 {
  font-size: 11px;
  font-weight: 700;
  color: var(--text2);
  letter-spacing: 0.10em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-size: 13.5px;
  color: var(--muted);
  transition: color .2s;
}
.footer-col ul li a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid rgba(59,130,246,0.08);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted);
}
.footer-bottom a { color: var(--muted); transition: color .2s; }
.footer-bottom a:hover { color: var(--accent); }
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

/* ─── 悬浮客服按钮 ─── */
.fab {
  position: fixed;
  right: 24px;
  bottom: 32px;
  z-index: 900;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.fab-btn {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--grad);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
  box-shadow: 0 4px 18px rgba(59,130,246,0.35);
  transition: transform .2s, box-shadow .2s;
  cursor: pointer;
}
.fab-btn:hover { transform: scale(1.1) translateY(-2px); box-shadow: 0 8px 28px rgba(59,130,246,0.45); color: #fff; }
.fab-label {
  font-size: 11px;
  color: var(--muted);
  text-align: center;
  line-height: 1.3;
}
