/* ============================================================
   巨浪 JuLang · 浅色风格官网
   ============================================================ */

:root {
  /* 基础色板 - 浅色风格 */
  --bg: #f6f8fd;
  --bg-alt: #eef2fb;
  --card: #ffffff;
  --text: #1c2333;
  --text-soft: #5a6478;
  --text-faint: #8b93a7;

  /* 品牌色 */
  --primary: #4f6bff;
  --primary-dark: #3b55e6;
  --primary-light: #e6ecff;
  --accent: #00c2a8;
  --accent-light: #e0faf5;

  --gradient: linear-gradient(120deg, #4f6bff 0%, #00c2a8 100%);
  --gradient-soft: linear-gradient(120deg, #eef2ff 0%, #e0faf5 100%);

  --border: #e3e8f2;
  --shadow-sm: 0 2px 8px rgba(28, 35, 51, 0.06);
  --shadow-md: 0 8px 24px rgba(28, 35, 51, 0.08);
  --shadow-lg: 0 20px 50px rgba(79, 107, 255, 0.16);

  --radius: 16px;
  --radius-lg: 24px;

  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

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

img, svg { display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

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

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}
.btn-sm { padding: 9px 20px; font-size: 14px; }
.btn-lg { padding: 15px 30px; font-size: 16px; }

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 6px 18px rgba(79, 107, 255, 0.35);
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(79, 107, 255, 0.42);
}

.btn-outline {
  background: #fff;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}
.btn-outline:hover { background: var(--primary-light); }

.btn-ghost {
  background: rgba(79, 107, 255, 0.08);
  color: var(--primary);
}
.btn-ghost:hover { background: rgba(79, 107, 255, 0.15); }

.btn-white {
  background: #fff;
  color: var(--primary-dark);
  box-shadow: var(--shadow-md);
}
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }

.btn-white-outline {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.6);
}
.btn-white-outline:hover { background: rgba(255, 255, 255, 0.26); }

/* ---------- 导航栏 ---------- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(246, 248, 253, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
}
.navbar.scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand-icon {
  width: 40px; height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #fff;
  background: var(--gradient);
  box-shadow: 0 4px 12px rgba(79, 107, 255, 0.35);
}
.brand-name {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.5px;
}
.brand-name em {
  font-style: normal;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-faint);
  margin-left: 4px;
  letter-spacing: 1.5px;
  vertical-align: 2px;
}

.nav-links {
  display: flex;
  gap: 34px;
}
.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-soft);
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  border-radius: 2px;
  background: var(--gradient);
  transition: width 0.25s ease;
}
.nav-links a:hover { color: var(--primary); }
.nav-links a:hover::after { width: 100%; }

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

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 160px 0 80px;
  overflow: hidden;
}

.hero-bg { position: absolute; inset: 0; z-index: -1; }

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.5;
}
.blob-1 { width: 480px; height: 480px; background: #dbe3ff; top: -160px; right: -100px; }
.blob-2 { width: 400px; height: 400px; background: #d8f7f0; top: 120px; left: -140px; }
.blob-3 { width: 300px; height: 300px; background: #ffe9f2; bottom: -80px; right: 30%; }

.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.hero-copy .badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--border);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--primary-dark);
  box-shadow: var(--shadow-sm);
  margin-bottom: 22px;
}

.hero h1 {
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.22;
  font-weight: 800;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
}

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

.hero-sub {
  font-size: 17px;
  color: var(--text-soft);
  max-width: 520px;
  margin-bottom: 30px;
}
.hero-sub strong { color: var(--primary-dark); }

.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; }

.hero-trust {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--text-soft);
}
.hero-trust span { display: inline-flex; align-items: center; gap: 6px; }
.hero-trust span::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* 手机设备展示 */
.hero-visual { position: relative; display: grid; place-items: center; }

.phone {
  width: 260px;
  background: linear-gradient(160deg, #4f6bff, #3b55e6);
  border-radius: 40px;
  padding: 12px;
  box-shadow: var(--shadow-lg), 0 0 0 8px rgba(255,255,255,0.6), 0 0 0 9px rgba(79,107,255,0.25);
  transform: rotate(2deg);
  transition: transform 0.4s ease;
}
.phone:hover { transform: rotate(0deg) translateY(-6px); }

.phone-notch {
  width: 90px; height: 22px;
  background: rgba(0,0,0,0.25);
  border-radius: 999px;
  margin: 0 auto 10px;
}

.phone-screen {
  background: #fff;
  border-radius: 30px;
  padding: 18px 16px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  min-height: 420px;
}

.phone-status {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}
.dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: #cfd6e4;
}
.dot.on { background: var(--accent); box-shadow: 0 0 0 4px rgba(0, 194, 168, 0.2); }

.phone-connect {
  position: relative;
  display: grid;
  place-items: center;
  width: 150px; height: 150px;
  margin-top: 6px;
}
.connect-ring {
  position: absolute;
  border-radius: 50%;
  border: 2px dashed rgba(79, 107, 255, 0.35);
  animation: spin 14s linear infinite;
}
.ring-1 { width: 150px; height: 150px; }
.ring-2 { width: 112px; height: 112px; animation-direction: reverse; animation-duration: 10s; border-color: rgba(0, 194, 168, 0.4); }
.connect-core {
  width: 76px; height: 76px;
  border-radius: 50%;
  background: var(--gradient);
  display: grid;
  place-items: center;
  box-shadow: 0 10px 24px rgba(79, 107, 255, 0.4);
}

@keyframes spin { to { transform: rotate(360deg); } }

.phone-node {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 10px 12px;
}
.node-flag { font-size: 22px; }
.phone-node strong { font-size: 13.5px; display: block; line-height: 1.3; }
.phone-node small { font-size: 11.5px; color: var(--accent); font-weight: 600; }
.phone-node .speed {
  margin-left: auto;
  font-size: 16px;
  font-weight: 800;
  color: var(--primary);
  text-align: right;
}
.phone-node .speed span { display: block; font-size: 10px; color: var(--text-faint); font-weight: 500; }

.phone-apps {
  display: flex;
  gap: 14px;
  font-size: 20px;
}

.float-card {
  position: absolute;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 10px 16px;
  font-size: 13.5px;
  font-weight: 600;
  box-shadow: var(--shadow-md);
  animation: floaty 5s ease-in-out infinite;
}
.card-1 { top: 12%; right: -8px; }
.card-2 { bottom: 10%; left: -14px; animation-delay: 2.2s; }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* 数据条 */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 80px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 34px 40px;
  box-shadow: var(--shadow-md);
}

.stat { text-align: center; }
.stat strong {
  font-size: 36px;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat-unit {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  margin-left: 3px;
}
.stat p { margin-top: 6px; color: var(--text-soft); font-size: 14.5px; }

/* ---------- 通用区块 ---------- */
.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); }

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}
.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--primary);
  margin-bottom: 12px;
}
.section-head h2 {
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 800;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
}
.section-head p { color: var(--text-soft); font-size: 16px; }

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

.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all 0.3s ease;
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.feature-icon {
  width: 54px; height: 54px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  color: var(--tint);
  background: color-mix(in srgb, var(--tint) 12%, #fff);
  margin-bottom: 20px;
}

.feature-card h3 { font-size: 19px; font-weight: 700; margin-bottom: 10px; }
.feature-card p { color: var(--text-soft); font-size: 14.5px; }

/* ---------- 使用步骤 ---------- */
.steps {
  display: flex;
  align-items: stretch;
  gap: 20px;
  justify-content: center;
}

.step {
  flex: 1;
  max-width: 300px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 28px 34px;
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
}
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }

.step-num {
  position: absolute;
  top: -16px; left: 50%;
  transform: translateX(-50%);
  background: var(--gradient);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  padding: 5px 16px;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(79, 107, 255, 0.35);
}

.step-icon { font-size: 42px; margin-bottom: 16px; }
.step h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.step p { color: var(--text-soft); font-size: 14.5px; }

.step-arrow {
  align-self: center;
  font-size: 30px;
  color: var(--primary);
  font-weight: 700;
  padding-bottom: 40px;
}

/* ---------- 节点 ---------- */
.node-cloud {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  max-width: 900px;
  margin: 0 auto;
}
.node-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 10px 20px;
  font-size: 14.5px;
  font-weight: 600;
  transition: all 0.25s ease;
}
.node-chip i { font-style: normal; font-size: 18px; }
.node-chip:hover {
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: 0 4px 14px rgba(79, 107, 255, 0.15);
  transform: translateY(-2px);
}

/* ---------- 价格 ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.price-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  position: relative;
}
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }

.price-card.popular {
  border: 2px solid var(--primary);
  box-shadow: 0 16px 44px rgba(79, 107, 255, 0.18);
  transform: scale(1.03);
}
.price-card.popular:hover { transform: scale(1.03) translateY(-6px); }

.popular-tag {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--gradient);
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
  padding: 5px 16px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(79, 107, 255, 0.35);
}

.price-card h3 { font-size: 17px; font-weight: 700; color: var(--text-soft); margin-bottom: 14px; }

.price {
  font-size: 44px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 6px;
}
.price .currency {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
  vertical-align: 8px;
  margin-right: 2px;
}
.price small { font-size: 15px; font-weight: 500; color: var(--text-faint); margin-left: 4px; }

.price-desc { font-size: 13.5px; color: var(--text-faint); margin-bottom: 22px; }

.price-card ul {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}
.price-card li { font-size: 14.5px; color: var(--text-soft); }

.price-card .btn { width: 100%; }

.pricing-note {
  text-align: center;
  margin-top: 32px;
  color: var(--text-soft);
  font-size: 14.5px;
}

/* 定价行（月付 / 年付） */
.pricing-row { margin-bottom: 56px; }
.pricing-row:last-child { margin-bottom: 0; }

.pricing-row-head {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 14px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}
.row-title { font-size: 21px; font-weight: 800; }
.row-hint { font-size: 13.5px; color: var(--text-faint); }

/* ---------- 用户评价 ---------- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: all 0.3s ease;
}
.testimonial:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }

.stars { color: #ffb800; letter-spacing: 3px; font-size: 15px; }

.testimonial p { font-size: 14.5px; color: var(--text-soft); flex: 1; }

.testimonial footer {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--av);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 17px;
}
.testimonial footer strong { display: block; font-size: 14.5px; }
.testimonial footer small { color: var(--text-faint); font-size: 12.5px; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }

.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}
.faq-item[open] { box-shadow: var(--shadow-sm); border-color: rgba(79, 107, 255, 0.4); }

.faq-item summary {
  cursor: pointer;
  padding: 20px 24px;
  font-size: 15.5px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  user-select: none;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 22px;
  font-weight: 400;
  color: var(--primary);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-item p {
  padding: 0 24px 22px;
  color: var(--text-soft);
  font-size: 14.5px;
}

/* ---------- CTA 横幅 ---------- */
.cta-banner {
  background: linear-gradient(120deg, #4f6bff 0%, #00c2a8 100%);
  border-radius: var(--radius-lg);
  padding: 64px 40px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-banner::before,
.cta-banner::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}
.cta-banner::before { width: 260px; height: 260px; top: -100px; left: -80px; }
.cta-banner::after { width: 320px; height: 320px; bottom: -140px; right: -90px; }

.cta-banner h2 {
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 800;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}
.cta-banner .gradient-text {
  background: #fff;
  -webkit-background-clip: text;
  background-clip: text;
}
.cta-banner p { font-size: 16px; opacity: 0.92; margin-bottom: 30px; position: relative; z-index: 1; }

.cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

/* ---------- 页脚 ---------- */
.footer {
  background: #131a2b;
  color: #aab2c5;
  padding: 72px 0 28px;
  margin-top: 16px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer .brand-name { color: #fff; }
.footer .brand-name em { color: #7d87a0; }
.footer .brand-icon { box-shadow: none; }

.footer-brand p { font-size: 14px; margin: 16px 0 20px; max-width: 280px; }

.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  display: grid;
  place-items: center;
  font-size: 15px;
  transition: all 0.25s;
}
.footer-social a:hover { background: var(--primary); border-color: var(--primary); color: #fff; }

.footer-col h4 {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 18px;
}
.footer-col a {
  display: block;
  font-size: 14px;
  margin-bottom: 12px;
  transition: color 0.2s;
}
.footer-col a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  text-align: center;
  font-size: 13px;
  color: #6b748c;
}

/* ---------- 滚动显现动画 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .feature-grid, .pricing-grid, .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { grid-template-columns: 1fr; gap: 72px; text-align: center; }
  .hero-copy { max-width: 640px; margin: 0 auto; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-cta, .hero-trust { justify-content: center; }
  .hero-visual { margin-top: 12px; }
  .steps { flex-wrap: wrap; }
  .step { flex: 1 1 240px; }
  .step-arrow { display: none; }
}

@media (max-width: 768px) {
  .navbar { height: 60px; }
  .nav-inner { height: 60px; }

  .nav-links {
    position: fixed;
    top: 60px; left: 0; right: 0;
    flex-direction: column;
    align-items: center;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    padding: 8px 0 16px;
    transform: translateY(-120%);
    transition: transform 0.3s ease;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 13px 0; font-size: 16px; }
  .nav-links a::after { display: none; }

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

  .hero { padding: 130px 0 56px; }
  .hero-inner { gap: 56px; }

  .stats { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; padding: 28px 24px; }
  .stat strong { font-size: 30px; }

  .section { padding: 72px 0; }
  .feature-grid, .pricing-grid, .testimonial-grid { grid-template-columns: 1fr; }
  .price-card.popular { transform: none; }
  .price-card.popular:hover { transform: translateY(-6px); }

  .cta-banner { padding: 48px 24px; }

  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
}

/* ---------- 协议页面（Apple 订阅自动续费协议等） ---------- */
.legal-page { background: var(--bg); }

.legal-nav {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.legal-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.legal-main { padding: 56px 0 88px; }

.legal-article {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  max-width: 860px;
  margin: 0 auto;
  padding: 48px 56px;
}

.legal-article h1 {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}
.legal-update {
  color: var(--text-faint);
  font-size: 13.5px;
  padding-bottom: 24px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--border);
}

.legal-article > p { font-size: 14.5px; color: var(--text-soft); margin-bottom: 14px; }

.legal-article h2 {
  font-size: 19px;
  font-weight: 700;
  margin: 36px 0 14px;
}
.legal-article h2::before {
  content: "";
  display: inline-block;
  width: 4px; height: 18px;
  border-radius: 4px;
  background: var(--gradient);
  margin-right: 10px;
  vertical-align: -2px;
}

.legal-article h3 {
  font-size: 15.5px;
  font-weight: 700;
  margin: 18px 0 10px;
}

.legal-article ul {
  list-style: disc;
  padding-left: 22px;
  margin-bottom: 14px;
}
.legal-article li {
  font-size: 14.5px;
  color: var(--text-soft);
  margin-bottom: 8px;
}
.legal-article strong { color: var(--text); }
.legal-article a { color: var(--primary); font-weight: 600; }
.legal-article a:hover { text-decoration: underline; }

.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0 22px;
}
.legal-table th,
.legal-table td {
  border: 1px solid var(--border);
  padding: 11px 16px;
  font-size: 14px;
  text-align: left;
}
.legal-table th {
  background: var(--bg-alt);
  font-weight: 700;
  color: var(--text);
}
.legal-table td { color: var(--text-soft); }

.legal-note {
  margin-top: 34px;
  background: var(--accent-light);
  border: 1px solid rgba(0, 194, 168, 0.3);
  border-radius: var(--radius);
  padding: 16px 20px;
  font-size: 14px;
  color: #0e7d6b;
}

.legal-footer {
  border-top: 1px solid var(--border);
  padding: 24px 0 28px;
  text-align: center;
  font-size: 13px;
  color: var(--text-faint);
}

@media (max-width: 768px) {
  .legal-main { padding: 28px 0 64px; }
  .legal-article { padding: 32px 24px; }
  .legal-article h1 { font-size: 24px; }
  .legal-table th,
  .legal-table td { padding: 9px 10px; font-size: 13px; }
}
