/* ==========================================================================
   稳定机场 (wendingvpn.homes) · 现代化 SaaS 视觉与排版系统
   参考 1fen-jichang 规范：16px 标准基准字号、透亮温润底色、清晰留白与层级感
   完全保留本站图片与专线特色，彻底纠正超大字体与斑驳底色
   ========================================================================== */

:root {
  /* 品牌主色：深海墨绿与清澈绿意 */
  --teal: #0d9488;
  --teal-hover: #0f766e;
  --teal-dark: #115e59;
  --teal-subtle: #f0fdfa;
  --teal-border: rgba(13, 148, 136, 0.25);
  --teal-glow: rgba(13, 148, 136, 0.18);

  /* 状态与点缀色 */
  --green: #10b981;
  --green-subtle: #ecfdf5;
  --amber: #f59e0b;
  --amber-subtle: #fef3c7;
  --coral: #f43f5e;

  /* 背景与表面（纯净通透，告别脏暗与红绿斑驳色块） */
  --bg-body: #f8fafc;
  --bg-surface: #ffffff;
  --bg-card: #ffffff;
  --bg-subtle: #f1f5f9;
  --bg-nav: rgba(255, 255, 255, 0.92);

  /* 文字对比度系统（严格 16px 基准字号与舒适行高） */
  --text-main: #0f172a;
  --text-body: #334155;
  --text-muted: #64748b;
  --text-light: #94a3b8;

  /* 边框与精致阴影 */
  --line: rgba(15, 23, 42, 0.08);
  --line-strong: rgba(15, 23, 42, 0.14);
  --card-shadow: 0 4px 20px rgba(15, 23, 42, 0.04), 0 1px 3px rgba(15, 23, 42, 0.02);
  --card-shadow-hover: 0 16px 36px rgba(15, 23, 42, 0.09);
  --btn-shadow: 0 4px 14px rgba(13, 148, 136, 0.25);
  --btn-shadow-hover: 0 8px 24px rgba(13, 148, 136, 0.35);

  --radius: 14px;
  --radius-lg: 20px;
  --max: 1240px;
}

/* === 基础重置 === */
* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  padding: 0;
  color: var(--text-body);
  background-color: var(--bg-body);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

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

button {
  font-family: inherit;
  cursor: pointer;
}

h1, h2, h3, h4, p {
  margin-top: 0;
}

/* 无障碍跳转 */
.skip {
  position: absolute;
  left: -999px;
  top: 10px;
  z-index: 1000;
  background: var(--teal);
  color: #fff;
  padding: 8px 16px;
  border-radius: 6px;
}
.skip:focus {
  left: 16px;
}

/* 统一版心容器 */
.container {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
}

/* === 顶栏导航条 (精致高透吸顶，与首屏航空深蓝浑然一体) === */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 74px;
  background: rgba(7, 28, 49, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s;
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--teal), #0f766e);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(13, 148, 136, 0.4);
  position: relative;
}

.brand-mark:after {
  content: "稳";
  font-size: 15px;
  font-weight: 800;
  color: #ffffff;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.95rem;
  font-weight: 600;
}

.nav-links a:not(.btn) {
  color: #cbd5e1;
  position: relative;
  padding: 6px 2px;
  transition: color 0.2s;
}

.nav-links a:not(.btn):hover {
  color: #38bdf8;
}

.menu-btn {
  display: none;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 1.2rem;
  color: #ffffff;
}

/* === 核心按钮系统 === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--teal), var(--teal-hover));
  color: #ffffff !important;
  padding: 12px 24px;
  border-radius: 10px;
  border: 1px solid var(--teal);
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: var(--btn-shadow);
  transition: all 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--btn-shadow-hover);
  background: var(--teal-hover);
}

.btn.ghost {
  background: #ffffff;
  color: var(--teal) !important;
  border: 1px solid var(--teal-border);
  box-shadow: var(--card-shadow);
}

.btn.ghost:hover {
  background: var(--teal-subtle);
  border-color: var(--teal);
  color: var(--teal-dark) !important;
}

.btn.light {
  background: #ffffff;
  color: var(--teal-dark) !important;
  border-color: #ffffff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.btn.light:hover {
  background: #f8fafc;
  transform: translateY(-2px);
}

.btn-row {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

/* === 首屏 HERO 区域（全景飞机背景，区域内仅保留文字与按钮，无多余卡片） === */
.hero,
.hero-photo {
  position: relative;
  min-height: calc(90vh - 74px);
  padding: 85px 0 75px;
  display: flex;
  align-items: center;
  background-color: #071c31;
  background-image: url('images/hero-aircraft.webp');
  background-size: cover !important;
  background-position: right center !important;
  background-repeat: no-repeat !important;
  overflow: hidden;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, 
    rgba(6, 23, 41, 0.94) 0%, 
    rgba(7, 28, 49, 0.88) 42%, 
    rgba(8, 34, 58, 0.45) 68%, 
    rgba(8, 34, 58, 0.08) 100%
  );
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-copy {
  max-width: 650px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #2dd4bf;
  background: rgba(45, 212, 191, 0.12);
  border: 1px solid rgba(45, 212, 191, 0.3);
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 20px;
}

.eyebrow:before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.25);
}

.hero-copy h1 {
  font-size: clamp(2.3rem, 4.2vw, 3.4rem);
  font-weight: 850;
  line-height: 1.22;
  letter-spacing: -0.035em;
  color: #ffffff;
  margin-bottom: 22px;
}

.rotator {
  color: #38bdf8;
  border-bottom: 3px solid #38bdf8;
  display: inline-block;
  min-width: 4.8em;
  transition: opacity 0.3s;
}

.hero-copy > p {
  font-size: 1.15rem;
  line-height: 1.8;
  color: #cbd5e1;
  margin-bottom: 34px;
  font-weight: 400;
}

.hero .btn.ghost {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.hero .btn.ghost:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.5);
  color: #ffffff !important;
  transform: translateY(-2px);
}

/* 核心指标统计栏（以简洁文字行融入首屏，不遮挡画面） */
.hero-stats-row {
  display: flex;
  align-items: center;
  gap: 36px;
  margin-top: 34px;
  padding: 16px 24px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  width: fit-content;
}

.hero-stat-item b {
  display: block;
  font-size: 1.5rem;
  font-weight: 850;
  color: #2dd4bf;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.hero-stat-item span {
  font-size: 0.82rem;
  color: #94a3b8;
  font-weight: 500;
}

.hero-notes {
  display: flex;
  gap: 24px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.88rem;
  color: #94a3b8;
}

.hero-notes span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-notes span:before {
  content: "✓";
  color: #34d399;
  font-weight: 800;
}
}

/* === 通用 Section 规范 === */
.section {
  padding: 85px 0;
  position: relative;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
  margin-bottom: 48px;
}

.section-head h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.03em;
  color: var(--text-main);
  margin-bottom: 8px;
}

.section-head p {
  max-width: 580px;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
  margin: 0;
}

/* === 核心优势（5 大卡片，平整舒适排版） === */
.grid-5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 20px;
  box-shadow: var(--card-shadow);
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
}

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

.icon-box {
  width: 64px;
  height: 64px;
  background: var(--teal-subtle);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border: 1px solid var(--teal-border);
}

.icon-image {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.card h3 {
  font-size: 1.15rem;
  font-weight: 750;
  color: var(--text-main);
  margin-bottom: 10px;
}

.card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
  flex-grow: 1;
}

/* === 线路与节点技术（tech-band） === */
.tech-band {
  background: #0f172a;
  color: #f8fafc;
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  margin: 20px auto;
}

.tech-band .section-head h2 {
  color: #ffffff;
}

.tech-band .section-head p {
  color: #94a3b8;
}

.tech-visual-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
  margin-top: 30px;
}

.tech-img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.tech-overlay {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.tech-item {
  background: rgba(30, 41, 59, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 20px;
  backdrop-filter: blur(8px);
}

.tag {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(13, 148, 136, 0.2);
  color: #2dd4bf;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.tech-item h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
}

.tech-item p {
  font-size: 0.85rem;
  color: #94a3b8;
  line-height: 1.5;
  margin: 0;
}

/* === 套餐价格（4 列优雅对比卡片） === */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.price-card {
  padding: 32px 24px;
  position: relative;
}

.price-card.featured {
  border: 2px solid var(--teal);
  background: linear-gradient(180deg, #ffffff, #f0fdfa);
  box-shadow: 0 12px 35px rgba(13, 148, 136, 0.15);
}

.hot-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--teal), #0f766e);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 3px 12px;
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(13, 148, 136, 0.35);
}

.plan-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 12px;
}

.price {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--text-main);
  line-height: 1;
  margin-bottom: 16px;
}

.price small {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  flex-grow: 1;
}

.features li {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
  color: var(--text-body);
  display: flex;
  align-items: center;
  gap: 8px;
}

.features li:before {
  content: "✓";
  color: var(--green);
  font-weight: 900;
}

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

.price-card .btn.ghost {
  background: var(--teal-subtle);
  color: var(--teal) !important;
  border: 1.5px solid var(--teal);
  font-weight: 750;
}

.price-card .btn.ghost:hover {
  background: var(--teal);
  color: #ffffff !important;
}

/* === 适合人群与场景（4 列场景卡片） === */
.section-visual {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 24px;
  border: 1px solid var(--line);
}

.scene {
  background: var(--bg-card);
  padding: 24px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.scene-num {
  font-size: 2rem;
  font-weight: 850;
  color: var(--teal);
  line-height: 1;
  margin-bottom: 12px;
  display: block;
}

.scene h3 {
  font-size: 1.15rem;
  font-weight: 750;
  margin-bottom: 8px;
}

.scene p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* === 全球节点覆盖（Map 区域） === */
.map-wrap {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 30px;
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--card-shadow);
}

.map-image {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.map-list h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 16px;
}

.map-regions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.region-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  background: var(--bg-subtle);
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 600;
}

.region-item span {
  color: var(--green);
  font-size: 0.85rem;
}

/* === 客户端教程（清晰平整条目） === */
.tutorial-row {
  display: grid;
  grid-template-columns: 200px 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 22px 24px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 12px;
  box-shadow: var(--card-shadow);
  transition: all 0.2s;
}

.tutorial-row:hover {
  transform: translateY(-2px);
  border-color: var(--teal-border);
  box-shadow: var(--card-shadow-hover);
}

.tutorial-row .os {
  font-size: 0.9rem;
  font-weight: 750;
  color: var(--teal);
}

.tutorial-row h3 {
  font-size: 1.15rem;
  font-weight: 750;
  margin-bottom: 4px;
}

.tutorial-row p {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin: 0;
}

/* === 用户评价与使用观察 === */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.quote {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  position: relative;
  box-shadow: var(--card-shadow);
}

.quote p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-body);
  margin-bottom: 18px;
  font-style: italic;
}

.quote cite {
  font-style: normal;
  font-weight: 750;
  font-size: 0.85rem;
  color: var(--teal);
  display: block;
}

/* === 常见问题 FAQ（手风琴展开折叠） === */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
  align-items: start;
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-q {
  width: 100%;
  padding: 18px 0;
  text-align: left;
  border: none;
  background: none;
  font-weight: 750;
  font-size: 1.05rem;
  color: var(--text-main);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.2s;
}

.faq-q:hover {
  color: var(--teal);
}

.faq-q span {
  font-size: 1.3rem;
  color: var(--teal);
  transition: transform 0.25s ease;
}

.faq-a {
  display: none;
  padding: 0 0 18px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-item.open .faq-a {
  display: block;
}

.faq-item.open .faq-q span {
  transform: rotate(45deg);
}

/* === 文章列表（10 篇精选指南） === */
.article-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.article-list a {
  display: grid;
  grid-template-columns: 46px 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--card-shadow);
  transition: all 0.2s;
}

.article-list a:hover {
  transform: translateY(-2px);
  border-color: var(--teal-border);
  box-shadow: var(--card-shadow-hover);
}

.article-list strong {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-main);
}

.article-list em {
  font-style: normal;
  font-size: 0.8rem;
  color: var(--text-light);
}

/* === 底部重点转化 CTA (Deep CTA) === */
.deep-cta {
  padding: 70px 0;
  background: linear-gradient(135deg, #0f766e, #0d9488);
  color: #ffffff;
  border-radius: var(--radius-lg);
  margin: 30px auto 60px;
  width: min(calc(100% - 40px), var(--max));
}

.deep-cta .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  width: 100%;
}

.deep-cta h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 10px;
}

.deep-cta p {
  color: #ccfbf1;
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 650px;
  margin: 0;
}

/* === 规范页脚 === */
.footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer .brand {
  color: #ffffff;
  margin-bottom: 14px;
}

.footer h3 {
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer a:not(.brand) {
  display: block;
  margin: 10px 0;
  font-size: 0.9rem;
  color: #94a3b8;
}

.footer a:not(.brand):hover {
  color: #ffffff;
}

.legal-line {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  font-size: 0.85rem;
  color: #64748b;
  text-align: center;
}

/* === 动画与交互准备 === */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* === 响应式断点适配 === */
@media (max-width: 1024px) {
  .grid-5 {
    grid-template-columns: repeat(3, 1fr);
  }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-copy {
    margin: 0 auto;
  }
  .btn-row, .hero-notes {
    justify-content: center;
  }
  .tech-visual-wrap {
    grid-template-columns: 1fr;
  }
  .map-wrap {
    grid-template-columns: 1fr;
  }
  .grid-2 {
    grid-template-columns: 1fr;
  }
  .article-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hero {
    background-position: 70% center;
    padding: 60px 0 50px;
  }
  .hero-bg-overlay {
    background: linear-gradient(180deg, 
      rgba(6, 23, 41, 0.94) 0%, 
      rgba(7, 28, 49, 0.88) 55%, 
      rgba(7, 28, 49, 0.75) 100%
    );
  }
  .hero-stats-row {
    width: 100%;
    justify-content: space-around;
    gap: 16px;
    padding: 14px 18px;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    background: #0f172a;
    padding: 24px;
    flex-direction: column;
    align-items: flex-start;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  }
  .nav-links a:not(.btn) {
    color: #cbd5e1;
  }
  .nav-links.open {
    display: flex;
  }
  .menu-btn {
    display: block;
  }
  .grid-5, .grid-3 {
    grid-template-columns: 1fr;
  }
  .grid-4 {
    grid-template-columns: 1fr;
  }
  .tutorial-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .deep-cta .container {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero {
    padding: 40px 0;
  }
}


/* ==========================================================================
   子页面排版系统：教程中心、文章详情、法律条款规范 (16px 标准字号与舒适留白)
   ========================================================================== */

.page-hero {
  padding: 55px 0 45px;
  background: linear-gradient(135deg, #071c31 0%, #0b2a4a 50%, #103861 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.page-hero h1 {
  font-size: clamp(2rem, 3.6vw, 2.8rem);
  font-weight: 850;
  color: #ffffff;
  margin: 12px 0 16px;
  line-height: 1.25;
}

.page-hero p {
  max-width: 780px;
  color: #cbd5e1;
  font-size: 1.08rem;
  line-height: 1.8;
  margin: 0;
}

.breadcrumb {
  font-size: 0.85rem;
  color: #94a3b8;
  margin-bottom: 16px;
}

.breadcrumb a {
  color: #38bdf8;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 50px;
  align-items: start;
}

.article-body {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-body);
}

.article-body h2 {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-main);
  margin-top: 45px;
  margin-bottom: 16px;
  line-height: 1.35;
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
}

.article-body h3 {
  font-size: 1.25rem;
  font-weight: 750;
  color: var(--text-main);
  margin-top: 28px;
  margin-bottom: 12px;
}

.article-body p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-body);
  margin-bottom: 20px;
}

.article-visual {
  margin: 20px 0 35px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--card-shadow);
}

.article-visual img {
  width: 100%;
  height: auto;
  display: block;
}

.article-visual figcaption {
  padding: 10px 16px;
  background: var(--bg-subtle);
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
}

.notice {
  padding: 18px 22px;
  border-left: 4px solid var(--teal);
  background: var(--teal-subtle);
  border-radius: 0 10px 10px 0;
  margin: 25px 0;
  font-size: 0.95rem;
  color: var(--teal-dark);
  line-height: 1.7;
}

.steps {
  margin: 28px 0;
}

.step {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px 24px;
  margin-bottom: 16px;
  box-shadow: var(--card-shadow);
}

.step h2, .step h3 {
  font-size: 1.15rem;
  font-weight: 750;
  color: var(--teal-dark);
  margin-top: 0;
  margin-bottom: 8px;
  border: none;
  padding: 0;
}

.step p {
  margin-bottom: 0;
  font-size: 0.95rem;
  color: var(--text-body);
}

.compare {
  width: 100%;
  border-collapse: collapse;
  margin: 28px 0;
  font-size: 0.92rem;
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
}

.compare th, .compare td {
  padding: 12px 18px;
  border: 1px solid var(--line);
  text-align: left;
}

.compare th {
  background: var(--teal-subtle);
  color: var(--teal-dark);
  font-weight: 750;
}

.toc {
  position: sticky;
  top: 94px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 20px;
  box-shadow: var(--card-shadow);
}

.toc strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text-main);
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.toc a {
  display: block;
  padding: 6px 0;
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.toc a:hover {
  color: var(--teal);
  transform: translateX(4px);
}

.legal {
  max-width: 860px;
}

.legal h2 {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-main);
  margin-top: 36px;
  margin-bottom: 12px;
}

.legal p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-body);
  margin-bottom: 18px;
}
