/* ============================================================
   北梦之镜 · Mirror of NorthDream — 官网样式
   主题：极光深空 Aurora Deep-Space
   配色：深空蓝黑 + 冰青 → 极光青 → 紫罗兰 极光渐变 + 玻璃拟态
   ============================================================ */

:root {
  --bg-0: #ffffff;          /* 纯白 */
  --bg-1: #f5f5f7;          /* 浅灰主背景 */
  --bg-2: #ffffff;          /* 卡片底 */
  --bg-3: #fbfbfd;          /* 抬升卡片 */

  --ink-1: #1d1d1f;         /* 高亮文字 */
  --ink-2: #424245;         /* 次级文字 */
  --ink-3: #6e6e73;         /* 弱化文字 */

  --cyan: #0071e3;          /* 苹果蓝 */
  --teal: #0a84ff;          /* 亮蓝 */
  --violet: #5e5ce6;        /* 苹果紫 */
  --indigo: #5856d6;        /* 靛蓝 */

  --grad: linear-gradient(120deg, #0071e3 0%, #0a84ff 100%);
  --grad-aurora: linear-gradient(115deg, #0071e3 0%, #5e5ce6 100%);
  --grad-text: linear-gradient(115deg, #0071e3 0%, #5e5ce6 100%);

  --line: rgba(0, 0, 0, 0.10);       /* 细边框 */
  --line-soft: rgba(0, 0, 0, 0.06);
  --glass: rgba(255, 255, 255, 0.82); /* 玻璃底 */

  --glow-cyan: rgba(0, 113, 227, 0.16);
  --glow-teal: rgba(10, 132, 255, 0.14);
  --glow-violet: rgba(94, 92, 230, 0.14);

  --radius: 22px;
  --radius-lg: 28px;
  --max-w: 1140px;
  --nav-h: 60px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  color-scheme: light;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink-1);
  background: var(--bg-1);
  line-height: 1.6;
  overflow-x: hidden;
}

::selection { background: rgba(10, 132, 255, 0.28); color: #fff; }

/* ===== 滚动条 ===== */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg-0); }
::-webkit-scrollbar-thumb { background: #d2d2d7; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: #c7c7cc; }

/* ============================================================
   导航栏
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 100;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: saturate(180%) blur(22px);
  -webkit-backdrop-filter: saturate(180%) blur(22px);
  border-bottom: 1px solid transparent;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease);
}
.nav.scrolled {
  background: rgba(255, 255, 255, 0.85);
  border-bottom-color: var(--line-soft);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 26px;
}
.nav-logo {
  color: var(--ink-1);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-icon {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  flex-shrink: 0;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06), 0 2px 8px rgba(0, 0, 0, 0.08);
}
.nav-logo .dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--grad);
  box-shadow: 0 0 14px var(--glow-teal);
}
.nav-links { display: flex; gap: 30px; }
.nav-links a {
  position: relative;
  color: var(--ink-2);
  font-size: 13.5px;
  text-decoration: none;
  transition: color 0.2s;
  letter-spacing: 0.2px;
  padding: 6px 0;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s var(--ease);
}
.nav-links a:hover { color: var(--ink-1); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.nav-group {
  color: var(--ink-1);
  font-size: 13.5px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}
.nav-group:hover { color: var(--teal); }
.nav-cta {
  background: var(--grad);
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 980px;
  text-decoration: none;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
  box-shadow: 0 4px 18px var(--glow-teal);
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 8px 26px var(--glow-teal); }

/* ===== 移动端汉堡菜单 ===== */
.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: 4px;
  flex-shrink: 0;
}
.nav-burger span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink-1);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.nav-menu {
  display: none;
  position: absolute;
  top: var(--nav-h);
  left: 0; right: 0;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: saturate(180%) blur(24px);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
  border-bottom: 1px solid var(--line-soft);
  padding: 8px 22px 26px;
  flex-direction: column;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.15);
}
.nav-menu a {
  display: block;
  padding: 15px 6px;
  font-size: 17px;
  font-weight: 600;
  color: var(--ink-1);
  text-decoration: none;
  border-bottom: 1px solid var(--line-soft);
}
.nav-menu a:last-child { border-bottom: none; }
.nav-menu .menu-cta {
  margin-top: 14px;
  text-align: center;
  background: var(--grad);
  color: #fff;
  border-radius: 980px;
  padding: 14px 6px;
  border-bottom: none;
}
.nav.open .nav-menu { display: flex; }
.nav.open .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.open .nav-burger span:nth-child(2) { opacity: 0; }
.nav.open .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  text-align: center;
  padding: calc(var(--nav-h) + 96px) 24px 40px;
  overflow: hidden;
  background:
    radial-gradient(1100px 520px at 50% -8%, rgba(0, 113, 227, 0.16), transparent 60%),
    radial-gradient(900px 460px at 82% 8%, rgba(94, 92, 230, 0.14), transparent 62%),
    radial-gradient(760px 420px at 14% 12%, rgba(10, 132, 255, 0.12), transparent 60%),
    var(--bg-0);
}
/* 流动极光 */
.hero::before {
  content: "";
  position: absolute;
  inset: -40% -20%;
  background:
    conic-gradient(from 90deg at 50% 50%,
      transparent 0deg, rgba(0,113,227,0.10) 60deg, transparent 120deg,
      transparent 180deg, rgba(94,92,230,0.10) 240deg, transparent 300deg);
  filter: blur(80px);
  animation: aurora-spin 26s linear infinite;
  pointer-events: none;
}
@keyframes aurora-spin { to { transform: rotate(360deg); } }

.hero-inner { position: relative; max-width: 980px; margin: 0 auto; z-index: 1; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 980px;
  border: 1px solid var(--line);
  background: var(--glass);
  backdrop-filter: blur(10px);
  font-size: 13px;
  color: var(--ink-2);
  letter-spacing: 0.4px;
  margin-bottom: 30px;
}
.hero-badge .pulse {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 12px var(--glow-teal);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

.hero-title {
  font-size: clamp(54px, 9vw, 92px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.06;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 6px 30px rgba(10, 132, 255, 0.22));
}
.hero-sub {
  font-size: 20px;
  font-weight: 500;
  color: var(--ink-2);
  margin-top: 16px;
  letter-spacing: 0.4px;
}
.hero-author {
  font-size: 14px;
  color: var(--ink-3);
  margin-top: 12px;
  letter-spacing: 0.3px;
}
.hero-desc {
  font-size: 16.5px;
  color: var(--ink-3);
  margin-top: 16px;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}
.hero-actions { margin-top: 34px; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.hero-stats {
  margin-top: 40px;
  display: flex;
  gap: 44px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-stat .n {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.02em;
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-stat .l { font-size: 12.5px; color: var(--ink-3); margin-top: 2px; letter-spacing: 1px; }

.hero-shot { margin-top: 60px; position: relative; }
.hero-shot img {
  max-width: 100%;
  width: 900px;
  border-radius: 18px;
  border: 1px solid var(--line);
  box-shadow:
    0 0 0 1px rgba(0,0,0,0.03) inset,
    0 40px 120px -20px rgba(0, 0, 0, 0.12),
    0 0 90px -10px rgba(10, 132, 255, 0.22);
}
.hero-shot::after {
  content: "";
  position: absolute;
  left: 10%; right: 10%; bottom: -18px; height: 60px;
  background: radial-gradient(50% 100% at 50% 0%, rgba(10,132,255,0.28), transparent 70%);
  filter: blur(28px);
  pointer-events: none;
}

/* ============================================================
   按钮
   ============================================================ */
.btn {
  display: inline-block;
  padding: 13px 30px;
  border-radius: 980px;
  font-size: 15.5px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), background 0.22s;
  letter-spacing: 0.2px;
}
.btn-primary {
  background: var(--grad);
  color: #ffffff;
  box-shadow: 0 6px 24px var(--glow-teal);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 34px var(--glow-teal); }
.btn-primary:active { transform: translateY(0) scale(0.97); }
.btn-ghost {
  background: var(--glass);
  color: var(--ink-1);
  border: 1px solid var(--line);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { border-color: rgba(0,113,227,0.5); background: rgba(0,113,227,0.08); }
.btn-ghost:active { transform: scale(0.97); }
.btn-token {
  background: linear-gradient(120deg, #30d158 0%, #28b84b 100%);
  color: #fff;
  box-shadow: 0 6px 24px rgba(48, 209, 88, 0.30);
}
.btn-token:hover { transform: translateY(-2px); box-shadow: 0 10px 34px rgba(48, 209, 88, 0.38); }
.btn-token:active { transform: translateY(0) scale(0.97); }

/* ============================================================
   通用 section
   ============================================================ */
.section { padding: 116px 24px; position: relative; }
.section-inner { max-width: var(--max-w); margin: 0 auto; position: relative; z-index: 1; }
.section-eyebrow {
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  margin-bottom: 18px;
}
.section-title {
  font-size: clamp(34px, 5.2vw, 54px);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-align: center;
  line-height: 1.12;
}
.section-sub {
  font-size: 17px;
  color: var(--ink-3);
  text-align: center;
  margin-top: 16px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* 区块交替底色，制造层次 */
.section--dark { background: var(--bg-0); }
.section--deep { background: var(--bg-1); }
.section--glow { background:
    radial-gradient(900px 400px at 50% 0%, rgba(94,92,230,0.08), transparent 65%),
    var(--bg-1); }

/* ============================================================
   核心功能网格
   ============================================================ */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
  margin-top: 62px;
}
.feature-card {
  position: relative;
  background: linear-gradient(180deg, var(--bg-3), var(--bg-2));
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 34px 34px 0;
  overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s;
}
.feature-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: var(--grad-aurora);
  opacity: 0;
  transition: opacity 0.35s;
}
.feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--line);
  box-shadow: 0 24px 60px -18px rgba(0,0,0,0.08);
}
.feature-card:hover::before { opacity: 1; }
.feature-icon {
  width: 54px; height: 54px;
  display: grid; place-items: center;
  font-size: 28px;
  border-radius: 15px;
  background: rgba(0, 113, 227, 0.13);
  border: 1px solid rgba(0, 113, 227, 0.26);
  box-shadow: 0 0 26px -4px var(--glow-cyan);
}
.feature-card h3 { font-size: 23px; font-weight: 700; margin: 18px 0 10px; letter-spacing: -0.01em; color: var(--ink-1); }
.feature-card p { font-size: 15px; color: var(--ink-2); margin-bottom: 26px; }
.feature-card img {
  width: 100%;
  border-radius: 12px 12px 0 0;
  border: 1px solid var(--line);
  border-bottom: none;
  display: block;
  box-shadow: 0 -12px 40px -18px rgba(0,0,0,0.08), 0 0 0 1px rgba(0,0,0,0.03) inset;
}

/* ============================================================
   插件列表
   ============================================================ */
.plugin-list { margin-top: 60px; display: flex; flex-direction: column; gap: 56px; }
.plugin-row { display: flex; align-items: center; gap: 56px; }
.plugin-row:nth-child(even) { flex-direction: row-reverse; }
.plugin-text { flex: 1; }
.plugin-num {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--teal);
  font-variant-numeric: tabular-nums;
}
.plugin-text h3 {
  font-size: 29px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-top: 8px;
}
.plugin-text p { font-size: 16px; color: var(--ink-2); margin-top: 14px; max-width: 430px; }
.points { display: flex; flex-wrap: wrap; gap: 8px; }
.plugin-text .points { margin-top: 18px; }
.feature-card .points { margin-bottom: 22px; }
.chip {
  font-size: 13px;
  color: var(--ink-1);
  padding: 6px 14px;
  border-radius: 980px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.04);
  letter-spacing: 0.3px;
}
.tag {
  font-size: 12px;
  font-weight: 500;
  color: var(--teal);
  background: rgba(10, 132, 255, 0.10);
  border: 1px solid rgba(10, 132, 255, 0.22);
  padding: 2px 9px;
  border-radius: 6px;
  margin-left: 8px;
  vertical-align: middle;
  letter-spacing: 0.3px;
}
.plugin-row img {
  width: 48%;
  border-radius: 16px;
  border: 1px solid var(--line);
  box-shadow: 0 30px 80px -18px rgba(0,0,0,0.10), 0 0 60px -18px rgba(0,113,227,0.25);
  transition: transform 0.4s var(--ease);
}
.plugin-row img:hover { transform: scale(1.015); }

/* ============================================================
   权威用户
   ============================================================ */
.vip-wrap {
  display: flex;
  align-items: center;
  gap: 60px;
  margin-top: 62px;
}
.vip-card {
  position: relative;
  flex: 1;
  background: linear-gradient(150deg, rgba(0,113,227,0.12), rgba(94,92,230,0.12)), var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 44px 42px;
  overflow: hidden;
}
.vip-card::after {
  content: "";
  position: absolute;
  right: -80px; top: -80px;
  width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(94,92,230,0.35), transparent 70%);
  filter: blur(10px);
  pointer-events: none;
}
.vip-card .crown { font-size: 44px; }
.vip-card h3 { font-size: 30px; font-weight: 800; margin: 16px 0 4px; letter-spacing: -0.02em; }
.vip-card .sub { color: var(--ink-2); font-size: 15px; }
.vip-card ul { list-style: none; margin: 26px 0 30px; }
.vip-card li {
  font-size: 15.5px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line-soft);
  color: var(--ink-2);
  display: flex; align-items: center; gap: 12px;
}
.vip-card li::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--grad);
  box-shadow: 0 0 10px var(--glow-teal);
  flex-shrink: 0;
}
.vip-card li strong { color: var(--ink-1); }
.vip-shot { flex: 1.1; }
.vip-shot img {
  width: 100%;
  border-radius: 16px;
  border: 1px solid var(--line);
  box-shadow: 0 30px 80px -18px rgba(0,0,0,0.10);
}

.login-strip {
  margin-top: 60px;
  text-align: center;
  padding: 52px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-soft);
  background: linear-gradient(180deg, var(--bg-2), transparent);
}
.login-strip img {
  max-width: 560px;
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px -16px rgba(0,0,0,0.10);
}
.login-strip p { margin-top: 18px; color: var(--ink-3); font-size: 14.5px; }

/* ============================================================
   免费令牌开放平台宣传卡片
   ============================================================ */
.section--token { background: var(--bg-1); }
.token-card {
  text-align: center;
  padding: 76px 34px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #ffffff 0%, #f1fbf4 100%);
  border: 1px solid rgba(48, 209, 88, 0.20);
  box-shadow: 0 30px 70px -32px rgba(0, 0, 0, 0.14);
  position: relative;
  overflow: hidden;
}
.token-card::before {
  content: "";
  position: absolute;
  left: 50%; top: -140px;
  width: 520px; height: 320px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(48, 209, 88, 0.16), transparent 70%);
  pointer-events: none;
}
.token-kicker {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #1f9d43;
  background: rgba(48, 209, 88, 0.12);
  padding: 7px 18px;
  border-radius: 980px;
  margin-bottom: 22px;
}
.token-title {
  font-size: clamp(28px, 4.6vw, 46px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.12;
}
.token-desc {
  font-size: 17px;
  color: var(--ink-2);
  margin-top: 16px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}
.token-card .btn { margin-top: 32px; }

/* ============================================================
   品牌网格
   ============================================================ */
.brand-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 62px;
}
.brand-item {
  background: linear-gradient(180deg, var(--bg-3), var(--bg-2));
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  padding: 26px 18px;
  text-align: center;
  transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s;
}
.brand-item:hover {
  transform: translateY(-5px);
  border-color: rgba(10, 132, 255, 0.35);
  box-shadow: 0 16px 40px -14px rgba(0,0,0,0.08), 0 0 34px -10px rgba(10,132,255,0.3);
}
.brand-zh { font-size: 19px; font-weight: 700; }
.brand-en { font-size: 11.5px; color: var(--ink-3); margin-top: 3px; letter-spacing: 0.5px; text-transform: uppercase; }
.brand-meta { font-size: 12px; color: var(--ink-3); margin-top: 12px; font-variant-numeric: tabular-nums; }

/* ============================================================
   数据统计
   ============================================================ */
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 62px; }
.stat-card {
  text-align: center;
  padding: 44px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--line-soft);
  background: linear-gradient(180deg, var(--bg-3), var(--bg-2));
  position: relative;
  overflow: hidden;
}
.stat-card::before {
  content: "";
  position: absolute;
  top: 0; left: 20%; right: 20%; height: 1px;
  background: var(--grad-aurora);
  opacity: 0.7;
}
.stat-num {
  font-size: clamp(44px, 6vw, 68px);
  font-weight: 800;
  letter-spacing: -0.03em;
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.stat-label { font-size: 14.5px; color: var(--ink-2); margin-top: 12px; letter-spacing: 1px; }

/* ============================================================
   机型/官方包表
   ============================================================ */
.catalog-table-wrap {
  margin-top: 52px;
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--line-soft);
  background: var(--bg-2);
}
.catalog-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.catalog-table th, .catalog-table td { padding: 15px 22px; text-align: left; }
.catalog-table thead th {
  background: var(--bg-3);
  font-weight: 600;
  color: var(--ink-2);
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-bottom: 1px solid var(--line);
}
.catalog-table tbody tr { border-bottom: 1px solid var(--line-soft); transition: background 0.2s; }
.catalog-table tbody tr:last-child { border-bottom: none; }
.catalog-table tbody tr:hover { background: rgba(0, 113, 227, 0.04); }
.catalog-table tbody td { color: var(--ink-2); }
.catalog-table tbody td:first-child { color: var(--ink-1); font-weight: 600; }
.catalog-table tbody td:nth-child(2) { color: var(--ink-3); font-size: 13px; letter-spacing: 0.5px; }
.catalog-table tbody td:nth-child(3),
.catalog-table tbody td:nth-child(4) { text-align: right; font-variant-numeric: tabular-nums; color: var(--ink-1); }
.catalog-table tfoot th, .catalog-table tfoot td {
  background: var(--bg-3);
  font-weight: 700;
  color: var(--ink-1);
  border-top: 1px solid var(--line);
}

/* ============================================================
   服务状态
   ============================================================ */
.status-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
  flex-wrap: wrap;
}
.status-time {
  font-size: 13px;
  color: var(--ink-2);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.3px;
}
.status-auto {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  color: var(--ink-3);
  padding: 4px 12px;
  border-radius: 980px;
  border: 1px solid var(--line-soft);
  background: var(--glass);
}
.status-auto-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 8px var(--glow-teal);
  animation: pulse 2s ease-in-out infinite;
}
.status-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 36px;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}
.status-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 26px;
  border-radius: 18px;
  border: 1px solid var(--line-soft);
  background: linear-gradient(180deg, var(--bg-3), var(--bg-2));
  transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s;
}
.status-card:hover {
  transform: translateY(-4px);
  border-color: rgba(10, 132, 255, 0.35);
  box-shadow: 0 16px 40px -14px rgba(0,0,0,0.08), 0 0 30px -12px rgba(10,132,255,0.3);
}
.status-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
}
.status-dot.online {
  background: #2dd4bf;
  box-shadow: 0 0 14px rgba(45, 212, 191, 0.7);
}
.status-dot.online::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 1px solid rgba(45, 212, 191, 0.4);
  animation: status-ping 2s ease-out infinite;
}
.status-dot.offline {
  background: #f43f5e;
  box-shadow: 0 0 14px rgba(244, 63, 94, 0.7);
}
@keyframes status-ping {
  0% { transform: scale(0.6); opacity: 1; }
  100% { transform: scale(1.6); opacity: 0; }
}
.status-info { flex: 1; }
.status-name { font-size: 16px; font-weight: 600; color: var(--ink-1); }
.status-desc { font-size: 13px; color: var(--ink-2); margin-top: 3px; }
.status-badge {
  font-size: 12.5px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 980px;
  letter-spacing: 1px;
}
.status-badge.ok {
  color: #3fe0c8;
  background: rgba(45, 212, 191, 0.14);
  border: 1px solid rgba(45, 212, 191, 0.4);
}
.status-badge.down {
  color: #fb7185;
  background: rgba(244, 63, 94, 0.14);
  border: 1px solid rgba(244, 63, 94, 0.4);
}

/* ============================================================
   使用前须知
   ============================================================ */
.notice-card {
  max-width: 860px;
  margin: 56px auto 0;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--bg-2), var(--bg-0));
  overflow: hidden;
}
.notice-head {
  padding: 30px 36px 24px;
  border-bottom: 1px solid var(--line-soft);
  background: linear-gradient(120deg, rgba(0,113,227,0.08), rgba(94,92,230,0.08));
}
.notice-title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink-1);
}
.notice-tags {
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.notice-tag {
  font-size: 12.5px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 980px;
  border: 1px solid var(--line);
  color: var(--ink-2);
  background: var(--glass);
}
.notice-tag.free {
  color: #2dd4bf;
  border-color: rgba(45, 212, 191, 0.3);
  background: rgba(45, 212, 191, 0.08);
}
.notice-ver { font-size: 12.5px; color: var(--ink-3); margin-left: auto; }
.notice-body { padding: 30px 36px 36px; }
.notice-lead { font-size: 15.5px; color: var(--ink-1); margin-bottom: 18px; }
.notice-list { list-style: none; }
.notice-list li {
  position: relative;
  font-size: 14.5px;
  color: var(--ink-2);
  line-height: 1.75;
  padding: 10px 0 10px 26px;
  border-bottom: 1px solid var(--line-soft);
}
.notice-list li:last-child { border-bottom: none; }
.notice-list li::before {
  content: "";
  position: absolute;
  left: 4px; top: 20px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--grad);
  box-shadow: 0 0 10px var(--glow-teal);
}
.notice-consent {
  margin-top: 22px;
  padding: 20px 24px;
  border-radius: 14px;
  border: 1px solid var(--line-soft);
  background: var(--glass);
}
.notice-consent p { font-size: 14px; color: var(--ink-2); line-height: 1.75; }
.notice-consent .notice-strong {
  margin-top: 10px;
  color: var(--ink-1);
  font-weight: 600;
}

/* ============================================================
   Footer（分栏式，借鉴星野ROM页脚结构）
   ============================================================ */
.footer {
  position: relative;
  background:
    radial-gradient(900px 400px at 50% 0%, rgba(0, 113, 227, 0.08), transparent 65%),
    linear-gradient(180deg, #f5f5f7 0%, #f5f5f7 100%);
  border-top: 1px solid var(--line-soft);
  padding: 64px 24px 40px;
}
.footer::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0; height: 1px;
  background: var(--grad-aurora);
  opacity: 0.45;
}
.footer-inner { max-width: var(--max-w); margin: 0 auto; }

/* 品牌区（顶部整行，一句话说清定位） */
.footer-brand { margin-bottom: 42px; }
.footer-logo {
  font-size: 19px;
  font-weight: 700;
  color: var(--ink-1);
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: 0.5px;
}
.footer-logo-icon {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  flex-shrink: 0;
  object-fit: cover;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.10);
}
.footer-desc {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.7;
  margin-top: 14px;
  max-width: 520px;
}

/* 链接区（4 列，移动端保持 2×2） */
.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-1);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--ink-2);
  text-decoration: none;
  padding: 5px 0;
  transition: color 0.2s, transform 0.2s;
}
.footer-col a:hover {
  color: var(--teal);
  transform: translateX(3px);
}
.footer-divider {
  height: 1px;
  background: var(--line-soft);
  margin: 44px 0 24px;
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-copy { font-size: 12.5px; color: var(--ink-3); }
.footer-slogan {
  font-size: 13px;
  color: var(--teal);
  letter-spacing: 0.4px;
  font-style: italic;
}

/* ============================================================
   功能卡片 strong 强调
   ============================================================ */
.feature-card p strong { color: var(--teal); font-weight: 600; }

/* ============================================================
   进入视口动画
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   回到顶部按钮
   ============================================================ */
.back-top {
  position: fixed;
  right: 26px; bottom: 26px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: rgba(20, 28, 48, 0.75);
  border: 1px solid var(--line);
  color: var(--ink-1);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), border-color 0.2s, color 0.2s;
  z-index: 90;
  display: grid;
  place-items: center;
}
.back-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-top:hover { border-color: rgba(10, 132, 255, 0.5); color: var(--teal); box-shadow: 0 0 22px -6px var(--glow-teal); }

/* ============================================================
   赞助模态框（仿苹果弹层）
   ============================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  overflow-y: auto;
}
.modal-overlay[hidden] { display: none; }
.modal {
  background: #fff;
  border-radius: 20px;
  width: 100%;
  max-width: 460px;
  max-height: 92vh;
  overflow-y: auto;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.32);
  animation: modal-in 0.28s var(--ease);
}
@keyframes modal-in {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px 6px;
}
.modal-head h3 { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; }
.modal-close {
  background: #f5f5f7;
  border: none;
  width: 30px; height: 30px;
  border-radius: 50%;
  font-size: 20px;
  line-height: 1;
  color: #6e6e73;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.modal-close:hover { background: #e8e8ed; }
.modal-body { padding: 10px 24px 28px; }
.modal-desc { font-size: 14px; color: #6e6e73; line-height: 1.6; margin-bottom: 20px; }
.qrcode-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.qrcode { text-align: center; }
.qrcode img {
  width: 100%;
  max-width: 220px;
  margin: 0 auto;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: #fafafa;
  display: block;
}
.qrcode-label { font-size: 13px; color: #424245; margin-top: 10px; font-weight: 500; }
.modal-note {
  margin-top: 22px;
  padding: 16px 18px;
  border-radius: 14px;
  background: #f5f5f7;
  border: 1px solid rgba(0, 0, 0, 0.05);
}
.modal-note p { font-size: 13px; color: #424245; line-height: 1.7; }
.modal-note p + p { margin-top: 6px; }
/* 移动端：二维码单列居中、弹窗留边、可滚动不溢出 */
@media (max-width: 640px) {
  .modal-overlay { padding: 16px; }
  .modal { max-height: 88vh; }
  .modal-head { padding: 18px 18px 4px; }
  .modal-body { padding: 8px 18px 22px; }
  .qrcode-grid { grid-template-columns: 1fr; gap: 14px; }
  .qrcode img { max-width: 200px; }
  .modal-note { padding: 14px 14px; }
}

/* ============================================================
   响应式
   ============================================================ */

/* 锚点跳转时标题不被固定导航栏遮挡 */
.section { scroll-margin-top: 72px; }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .feature-grid { grid-template-columns: 1fr; }
  .plugin-row, .plugin-row:nth-child(even) { flex-direction: column; gap: 28px; }
  .plugin-row img { width: 100%; }
  .plugin-text p { max-width: 100%; }
  .vip-wrap { flex-direction: column; }
  .brand-grid { grid-template-columns: repeat(3, 1fr); }
  .stats-grid { grid-template-columns: 1fr; }
  .status-grid { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { gap: 28px; }
}

/* ===== 手机端（安卓 / iOS 浏览器） ===== */
@media (max-width: 640px) {
  html { -webkit-text-size-adjust: 100%; }

  /* 导航：只留 logo + 立即下载，隐藏次要链接防溢出 */
  .nav { height: 56px; }
  .nav-inner { padding: 0 16px; }
  .nav-logo { font-size: 15px; gap: 8px; }
  .logo-icon { width: 24px; height: 24px; border-radius: 6px; }
  .nav-actions { gap: 10px; }
  .nav-actions .nav-group { display: none; }
  .nav-cta { font-size: 12.5px; padding: 7px 15px; white-space: nowrap; }

  /* Hero */
  .hero { padding: calc(var(--nav-h) + 56px) 16px 28px; }
  .hero-badge { font-size: 12px; padding: 6px 14px; }
  .hero-title { font-size: 44px; }
  .hero-sub { font-size: 16px; margin-top: 12px; }
  .hero-desc { font-size: 14.5px; margin-top: 12px; }
  .hero-actions { gap: 12px; }
  .hero-actions .btn { padding: 11px 22px; font-size: 14px; }
  .hero-stats { gap: 20px; margin-top: 30px; }
  .hero-stat .n { font-size: 24px; }
  .hero-stat .l { font-size: 11px; }
  .hero-shot { margin-top: 40px; }

  /* section */
  .section { padding: 72px 16px; scroll-margin-top: 60px; }
  .section-title { font-size: 30px; }
  .section-sub { font-size: 15px; margin-top: 12px; }

  /* 功能卡片 */
  .feature-grid { gap: 18px; margin-top: 40px; }
  .feature-card { padding: 24px 22px 0; border-radius: 18px; }
  .feature-icon { width: 46px; height: 46px; font-size: 24px; border-radius: 13px; }
  .feature-card h3 { font-size: 20px; margin: 14px 0 8px; }
  .feature-card p { font-size: 14px; margin-bottom: 18px; }
  .feature-card .points { margin-bottom: 18px; }

  /* 插件 */
  .plugin-list { gap: 40px; margin-top: 44px; }
  .plugin-row { gap: 20px; }
  .plugin-text h3 { font-size: 22px; }
  .plugin-text p { font-size: 14.5px; }
  .plugin-num { font-size: 12px; }

  /* chip / tag */
  .chip { font-size: 12px; padding: 5px 11px; }
  .tag { font-size: 11px; padding: 2px 7px; margin-left: 6px; }

  /* 状态卡片 */
  .status-grid { gap: 14px; margin-top: 28px; }
  .status-card { padding: 18px 18px; }
  .status-name { font-size: 15px; }

  /* 权威用户 */
  .vip-wrap { gap: 24px; margin-top: 40px; }
  .vip-card { padding: 28px 24px; border-radius: 20px; }
  .vip-card h3 { font-size: 24px; }
  .login-strip { padding: 36px 16px; margin-top: 36px; }

  /* 品牌 */
  .brand-grid { gap: 12px; margin-top: 40px; }
  .brand-item { padding: 20px 12px; }

  /* 统计 */
  .stats-grid { gap: 14px; margin-top: 40px; }
  .stat-card { padding: 32px 16px; }

  /* 表格 */
  .catalog-table-wrap { margin-top: 36px; }
  .catalog-table th, .catalog-table td { padding: 12px 14px; font-size: 13.5px; }

  /* 使用须知 */
  .notice-head { padding: 22px 22px 18px; }
  .notice-body { padding: 22px 22px 26px; }
  .notice-title { font-size: 17px; }

  /* 页脚 */
  .footer { padding: 48px 20px 32px; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 10px; }

  /* 回到顶部 */
  .back-top { right: 14px; bottom: 14px; width: 42px; height: 42px; font-size: 18px; }
}

@media (max-width: 400px) {
  .hero-title { font-size: 36px; }
  .brand-grid { grid-template-columns: repeat(2, 1fr); }
  .catalog-table th, .catalog-table td { padding: 10px 8px; font-size: 12px; }
}
