/* =========================================================
   淘气兔 (taoqituu.sbs) — 兔子与森林主题极简原生样式表
   纯原生 CSS · 零外部依赖 · 秒开加载 · 全端响应式
   ========================================================= */

:root {
  --forest-950: #081c14;
  --forest-900: #0d2b1d;
  --forest-800: #14432d;
  --forest-700: #1d5d40;
  --forest-600: #257a54;
  --forest-500: #10b981;
  --forest-100: #e7f6ee;
  --forest-50: #f4fbf7;

  --amber-500: #f59e0b;
  --amber-600: #d97706;
  --amber-100: #fef3c7;

  --surface: #ffffff;
  --surface-alt: #f5faf6;
  --text-main: #10251b;
  --text-muted: #4b6557;
  --border-soft: #d6e8dd;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 4px 16px rgba(13, 43, 29, 0.06);
  --shadow-md: 0 12px 32px rgba(13, 43, 29, 0.1);
  --shadow-lg: 0 20px 48px rgba(13, 43, 29, 0.16);
  --max-width: 1180px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", Roboto, sans-serif;
  color: var(--text-main);
  background-color: var(--surface-alt);
  /* 兔子与森林极轻水印背景图标 */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Cg fill='%231d5d40' fill-opacity='0.045'%3E%3Cpolygon points='28,76 42,42 56,76'/%3E%3Cpolygon points='33,62 42,36 51,62'/%3E%3Crect x='40' y='76' width='4' height='10'/%3E%3Cpolygon points='128,154 144,116 160,154'/%3E%3Crect x='142' y='154' width='4' height='10'/%3E%3Cellipse cx='126' cy='40' rx='3.2' ry='9' transform='rotate(-14 126 40)'/%3E%3Cellipse cx='135' cy='40' rx='3.2' ry='9' transform='rotate(14 135 40)'/%3E%3Ccircle cx='130.5' cy='53' r='8.5'/%3E%3Cellipse cx='44' cy='128' rx='3' ry='8' transform='rotate(-12 44 128)'/%3E%3Cellipse cx='52' cy='128' rx='3' ry='8' transform='rotate(12 52 128)'/%3E%3Ccircle cx='48' cy='140' r='7.5'/%3E%3C/g%3E%3C/svg%3E");
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: var(--forest-700);
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* ==================== 顶部导航 ==================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-soft);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  gap: 16px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.28rem;
  color: var(--forest-900);
  letter-spacing: 0.02em;
  flex-shrink: 0;
}

.brand-logo img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.brand-tag {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--forest-700);
  background: var(--forest-100);
  padding: 2px 8px;
  border-radius: 999px;
}

/* 纯 CSS 移动端汉堡菜单开关 */
.nav-toggle {
  display: none;
}

.nav-toggle-label {
  display: none;
  cursor: pointer;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--border-soft);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  background: var(--surface);
}

.nav-toggle-label span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--forest-900);
  border-radius: 2px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.main-nav a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
  padding: 6px 4px;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--forest-600);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px !important;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--amber-500), var(--amber-600));
  color: #ffffff !important;
  font-weight: 700 !important;
  box-shadow: 0 6px 16px rgba(217, 119, 6, 0.28);
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(217, 119, 6, 0.36);
}

/* ==================== 按钮通用 ==================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: 2px solid transparent;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--amber-500), var(--amber-600));
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(217, 119, 6, 0.34);
}

.btn-primary:hover {
  transform: translateY(-2px);
  color: #ffffff;
  box-shadow: 0 14px 28px rgba(217, 119, 6, 0.42);
}

.btn-outline-light {
  background: rgba(255, 255, 255, 0.1);
  color: #ecfdf5;
  border-color: rgba(167, 243, 208, 0.55);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.btn-forest {
  background: linear-gradient(135deg, var(--forest-700), var(--forest-900));
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(13, 43, 29, 0.22);
}

.btn-forest:hover {
  transform: translateY(-2px);
  color: #ffffff;
  box-shadow: 0 12px 26px rgba(13, 43, 29, 0.3);
}

.btn-block {
  width: 100%;
}

/* ==================== 主视觉区 Hero ==================== */
.hero {
  position: relative;
  padding: 72px 0 84px;
  color: #f0fdf4;
  background:
    radial-gradient(circle at 82% 18%, rgba(251, 191, 36, 0.18), transparent 36%),
    radial-gradient(circle at 12% 85%, rgba(52, 211, 153, 0.16), transparent 40%),
    linear-gradient(135deg, var(--forest-950) 0%, var(--forest-900) 48%, var(--forest-800) 100%);
  overflow: hidden;
}

/* 底部森林剪影装饰 */
.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 54px;
  background-repeat: repeat-x;
  background-position: bottom center;
  background-size: 640px 54px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 54' preserveAspectRatio='none'%3E%3Cpath d='M0 54 L0 36 L18 14 L36 36 L58 24 L82 40 L110 8 L138 38 L175 26 L210 42 L245 12 L280 38 L320 28 L360 40 L398 10 L435 38 L475 22 L515 40 L555 14 L595 38 L620 26 L640 36 L640 54 Z' fill='%23f5faf6'/%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  align-items: center;
  gap: 44px;
  position: relative;
  z-index: 2;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(52, 211, 153, 0.14);
  border: 1px solid rgba(110, 231, 183, 0.36);
  color: #a7f3d0;
  font-size: 0.86rem;
  font-weight: 700;
  margin-bottom: 18px;
}

.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(2.05rem, 4.2vw, 3.1rem);
  line-height: 1.22;
  letter-spacing: -0.01em;
  color: #ffffff;
}

.hero h1 .highlight {
  color: #fcd34d;
}

.hero-subtitle {
  margin: 0 0 14px;
  font-size: 1.18rem;
  font-weight: 600;
  color: #d1fae5;
}

.hero-intro {
  margin: 0 0 28px;
  font-size: 0.98rem;
  color: #bbf7d0;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 520px;
}

.metric-item {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(167, 243, 208, 0.2);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
}

.metric-value {
  display: block;
  font-size: 1.28rem;
  font-weight: 800;
  color: #fde68a;
  line-height: 1.2;
}

.metric-label {
  font-size: 0.8rem;
  color: #d1fae5;
}

.hero-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(167, 243, 208, 0.28);
  background: var(--forest-900);
}

/* ==================== 区块通用标题 ==================== */
.section {
  padding: 72px 0;
}

.section-alt {
  background: rgba(231, 246, 238, 0.52);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 44px;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--forest-100);
  color: var(--forest-700);
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.section-head h2 {
  margin: 0 0 12px;
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  color: var(--forest-950);
  line-height: 1.3;
}

.section-head p {
  margin: 0;
  color: var(--text-muted);
  font-size: 1rem;
}

/* ==================== 核心优势 3 图文卡片 ==================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--forest-500);
}

.feature-icon {
  width: 74px;
  height: 74px;
  border-radius: 18px;
}

.feature-card h3 {
  margin: 4px 0 0;
  font-size: 1.2rem;
  color: var(--forest-900);
}

.feature-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.feature-tag {
  margin-top: auto;
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--forest-700);
  background: var(--forest-50);
  border: 1px solid var(--border-soft);
  padding: 4px 10px;
  border-radius: 999px;
  width: fit-content;
}

/* ==================== 流媒体与 AI 支持图卡 ==================== */
.media-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.media-card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 22px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  box-shadow: var(--shadow-sm);
}

.media-card img {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  flex-shrink: 0;
}

.media-card h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
  color: var(--forest-900);
}

.media-card p {
  margin: 0 0 8px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.status-chip {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 700;
  color: #047857;
  background: #d1fae5;
  padding: 2px 9px;
  border-radius: 999px;
}

/* ==================== 套餐价格卡片 + 对比表 ==================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 36px;
}

.price-card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 28px 22px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  position: relative;
}

.price-card.featured {
  border: 2px solid var(--amber-500);
  background: linear-gradient(180deg, #fffdf5 0%, #ffffff 42%);
  box-shadow: var(--shadow-md);
}

.ribbon {
  position: absolute;
  top: -12px;
  right: 18px;
  background: linear-gradient(135deg, var(--amber-500), var(--amber-600));
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.3);
}

.price-card h3 {
  margin: 0 0 6px;
  font-size: 1.15rem;
  color: var(--forest-900);
}

.price-desc {
  margin: 0 0 16px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.price-amount {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 6px;
}

.price-currency {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--forest-800);
}

.price-num {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--forest-900);
  line-height: 1;
}

.price-unit {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.price-note {
  font-size: 0.8rem;
  color: var(--amber-600);
  font-weight: 600;
  margin-bottom: 18px;
  min-height: 22px;
}

.price-list {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-main);
  flex-grow: 1;
}

.price-list li::before {
  content: "✓";
  display: inline-block;
  margin-right: 8px;
  color: var(--forest-600);
  font-weight: 800;
}

.compare-table-wrap {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  overflow-x: auto;
  box-shadow: var(--shadow-sm);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
  font-size: 0.92rem;
}

.compare-table th,
.compare-table td {
  padding: 14px 16px;
  text-align: center;
  border-bottom: 1px solid var(--border-soft);
}

.compare-table th:first-child,
.compare-table td:first-child {
  text-align: left;
  font-weight: 700;
  color: var(--forest-900);
}

.compare-table thead th {
  background: var(--forest-900);
  color: #ecfdf5;
  font-weight: 700;
}

.compare-table tbody tr:nth-child(even) {
  background: var(--forest-50);
}

.pricing-footnote {
  text-align: center;
  margin-top: 16px;
  font-size: 0.86rem;
  color: var(--text-muted);
}

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

.review-card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 26px 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.review-stars {
  color: var(--amber-500);
  font-size: 1rem;
  letter-spacing: 2px;
}

.review-text {
  margin: 0;
  font-size: 0.94rem;
  color: var(--text-main);
  flex-grow: 1;
}

.review-author {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px dashed var(--border-soft);
  padding-top: 12px;
  font-size: 0.84rem;
  color: var(--text-muted);
}

.review-author strong {
  color: var(--forest-900);
}

/* ==================== FAQ 纯 HTML 折叠面板 ==================== */
.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--forest-900);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--forest-600);
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item[open] summary {
  border-bottom: 1px solid var(--border-soft);
  background: var(--forest-50);
}

.faq-body {
  padding: 18px 24px 22px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.faq-body p {
  margin: 0;
}

/* ==================== 底部转化横幅 ==================== */
.cta-banner {
  background: linear-gradient(135deg, var(--forest-900), var(--forest-700));
  color: #ecfdf5;
  border-radius: var(--radius-lg);
  padding: 46px 36px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.cta-banner h2 {
  margin: 0 0 12px;
  color: #ffffff;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
}

.cta-banner p {
  margin: 0 auto 24px;
  max-width: 620px;
  color: #d1fae5;
}

/* ==================== 页脚（严格只保留四个标题链接） ==================== */
.site-footer {
  background: var(--forest-950);
  color: #a7f3d0;
  padding: 42px 0 36px;
  border-top: 3px solid var(--forest-700);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 40px;
  margin-bottom: 20px;
}

.footer-links a {
  color: #ecfdf5;
  font-size: 1rem;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 8px;
}

.footer-links a:hover {
  color: #fcd34d;
  background: rgba(255, 255, 255, 0.08);
}

.footer-copy {
  text-align: center;
  font-size: 0.84rem;
  color: #6ee7b7;
  opacity: 0.82;
  margin: 0;
}

/* ==================== 子页面 / 资讯列表 / 文章详情 ==================== */
.page-hero {
  background: linear-gradient(135deg, var(--forest-950), var(--forest-800));
  color: #ecfdf5;
  padding: 54px 0 48px;
}

.page-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(1.7rem, 3.4vw, 2.45rem);
  color: #ffffff;
  line-height: 1.3;
}

.page-hero p {
  margin: 0;
  color: #bbf7d0;
  max-width: 760px;
}

.breadcrumb {
  font-size: 0.86rem;
  margin-bottom: 14px;
  color: #a7f3d0;
}

.breadcrumb a {
  color: #fde68a;
}

.content-card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 40px 38px;
  margin: 40px auto;
  box-shadow: var(--shadow-sm);
}

.content-card h2 {
  margin: 30px 0 12px;
  font-size: 1.38rem;
  color: var(--forest-900);
  padding-left: 12px;
  border-left: 4px solid var(--forest-600);
}

.content-card h2:first-child {
  margin-top: 0;
}

.content-card h3 {
  margin: 22px 0 10px;
  font-size: 1.12rem;
  color: var(--forest-800);
}

.content-card p {
  margin: 0 0 16px;
  color: var(--text-main);
  font-size: 1rem;
  line-height: 1.85;
}

.content-card ul,
.content-card ol {
  margin: 0 0 18px;
  padding-left: 22px;
}

.content-card li {
  margin-bottom: 8px;
  line-height: 1.75;
}

/* 推荐资讯文章列表网格 */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin: 40px 0;
}

.article-card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 24px 22px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--forest-500);
}

.article-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--forest-700);
  font-weight: 700;
}

.article-card h2 {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.45;
  color: var(--forest-950);
}

.article-card h2 a {
  color: inherit;
}

.article-card h2 a:hover {
  color: var(--forest-600);
}

.article-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  flex-grow: 1;
}

.article-readmore {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--amber-600);
  margin-top: 6px;
}

.article-meta-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  font-size: 0.86rem;
  color: #d1fae5;
  margin-top: 14px;
}

.article-cta-box {
  margin-top: 34px;
  padding: 26px 24px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--forest-50), #fef9e7);
  border: 1px solid var(--border-soft);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.article-cta-box h3 {
  margin: 0 0 6px;
  color: var(--forest-900);
}

.article-cta-box p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.related-links {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border-soft);
}

.related-links h3 {
  margin: 0 0 12px;
}

.related-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 20px;
}

.related-links a {
  font-weight: 600;
}

.notice-box {
  background: var(--amber-100);
  border-left: 4px solid var(--amber-500);
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  margin: 18px 0;
  font-size: 0.94rem;
  color: #78350f;
}

/* ==================== 响应式媒体查询 ==================== */
@media (max-width: 1024px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .articles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 860px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .features-grid,
  .media-grid,
  .reviews-grid {
    grid-template-columns: 1fr;
  }
  .nav-toggle-label {
    display: inline-flex;
  }
  .main-nav {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border-soft);
    box-shadow: var(--shadow-md);
    flex-direction: column;
    align-items: stretch;
    padding: 16px 20px 22px;
    gap: 8px;
  }
  .main-nav a {
    padding: 12px 10px;
    border-radius: 10px;
  }
  .nav-toggle:checked ~ .main-nav {
    display: flex;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 52px 0;
  }
  .hero {
    padding: 46px 0 68px;
  }
  .hero-actions {
    flex-direction: column;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .hero-metrics {
    grid-template-columns: 1fr;
  }
  .pricing-grid,
  .articles-grid,
  .related-links ul {
    grid-template-columns: 1fr;
  }
  .content-card {
    padding: 26px 20px;
    margin: 24px auto;
  }
  .cta-banner {
    padding: 34px 20px;
  }
  .footer-links {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  .footer-links a {
    width: 100%;
    max-width: 240px;
    text-align: center;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}
