/* 外婆云主题配色: 暖米色 (Warm Beige) */
/* ===================================================
   外婆云 (Waipoyun) - 原生极简轻量样式表 (0 依赖，极速秒开)
   =================================================== */

/* 1. 基础重置与系统字体 (无需下载外部字体文件，0 延迟) */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg-body: #FAF6ED;
  --bg-section-alt: #F3ECE0;
  --bg-card: #FFFFFF;
  --bg-card-subtle: #EFE6D6;
  --header-bg: rgba(250, 246, 237, 0.94);
  --footer-bg: #F3ECE0;
  --top-notice-bg: #F1E7D5;
  --top-notice-border: #DFCDB2;
  --top-notice-text: #634521;
  --border-color: #E4D9C4;
  --border-hover: #D1C2A5;
  --text-title: #2A2118;
  --text-body: #4E4034;
  --text-muted: #7E6D5E;
  --primary: #4f46e5;
  --primary-hover: #4338ca;
  --primary-light: #eef2ff;
  --accent-green: #10b981;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --container-max: 1120px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background-color: var(--bg-body);
  color: var(--text-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* 容器版心 */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* 顶部公告栏 */
.top-notice {
  background-color: var(--top-notice-bg);
  border-bottom: 1px solid var(--top-notice-border);
  padding: 8px 0;
  font-size: 13px;
  color: var(--top-notice-text);
}
.top-notice .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.notice-tag {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  margin-right: 8px;
}
.status-indicator {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--top-notice-text);
}
.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-green);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* 导航头 */
.header {
  background: var(--header-bg);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(8px);
}
.header .container {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-title);
}
.brand-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: inline-block;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.12);
  vertical-align: middle;
}
.brand-name {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.5px;
}
.brand-domain {
  font-size: 11px;
  color: var(--text-muted);
  display: block;
  line-height: 1;
}
.nav-links {
  display: flex;
  gap: 24px;
  list-style: none;
}
.nav-links a {
  text-decoration: none;
  color: var(--text-body);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover {
  color: var(--primary);
}
.nav-consult-btn {
  color: var(--primary) !important;
  font-weight: 700 !important;
  background-color: var(--primary-light);
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid #c7d2fe;
  transition: all 0.2s ease !important;
}
.nav-consult-btn:hover {
  background-color: #c7d2fe;
  transform: translateY(-1px);
}

/* 按钮通用规范 (满足触摸舒适点击与无障碍) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  border: 1px solid transparent;
}
.btn-primary {
  background-color: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25);
}
.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-1px);
}
.btn-secondary {
  background-color: var(--bg-card);
  color: var(--text-title);
  border-color: var(--border-color);
  box-shadow: var(--shadow-sm);
}
.btn-secondary:hover {
  background-color: var(--bg-card-subtle);
  border-color: var(--border-hover);
}
.btn-lg {
  min-height: 52px;
  padding: 14px 30px;
  font-size: 16px;
  border-radius: var(--radius-md);
}
.btn-block {
  width: 100%;
}

/* 主视觉 Hero 区域 */
.hero {
  padding: 60px 0 50px;
  text-align: center;
}
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 13px;
  color: var(--text-body);
  font-weight: 600;
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
}
.hero-title {
  font-size: 42px;
  font-weight: 900;
  color: var(--text-title);
  line-height: 1.2;
  letter-spacing: -1px;
  margin-bottom: 18px;
}
.hero-title .gradient-text {
  background: linear-gradient(135deg, var(--primary) 0%, #0284c7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
  margin-top: 6px;
}
.hero-subtitle {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 30px;
  line-height: 1.6;
}
.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 36px;
}

/* 测速实时指标条 */
.speed-banner {
  max-width: 760px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.speed-item {
  text-align: center;
  padding: 8px;
  background: var(--bg-card-subtle);
  border-radius: var(--radius-sm);
}
.speed-label {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.speed-value {
  font-size: 22px;
  font-weight: 800;
  color: var(--primary);
  font-family: monospace;
}

/* 外婆云专属品牌视觉展示卡片 */
.hero-showcase {
  max-width: 860px;
  margin: 36px auto 0;
}
.hero-showcase-frame {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 12px;
  box-shadow: 0 20px 35px -10px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hero-showcase-frame:hover {
  transform: translateY(-2px);
  box-shadow: 0 25px 45px -12px rgba(79, 70, 229, 0.15), 0 2px 6px rgba(0, 0, 0, 0.06);
}
.hero-showcase-img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: calc(var(--radius-lg) - 4px);
  display: block;
}
.hero-showcase-caption {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
  padding: 4px 0 2px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
}
.hero-showcase-caption .caption-icon {
  font-size: 16px;
}

/* 通用 Section 布局 */
.section {
  padding: 60px 0;
}
.section-gray {
  background-color: var(--bg-section-alt);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 40px;
}
.section-tag {
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
  display: block;
}
.section-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--text-title);
  letter-spacing: -0.5px;
}
.section-desc {
  font-size: 15px;
  color: var(--text-muted);
  margin-top: 8px;
}

/* 核心优势网格 */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
}
.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 18px;
}
.feature-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-title);
  margin-bottom: 10px;
}
.feature-desc {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.6;
}

/* 流媒体与 AI 支持矩阵 */
.stream-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.stream-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-sm);
}
.stream-badge {
  font-size: 24px;
}
.stream-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-title);
}
.stream-desc {
  font-size: 11px;
  color: var(--text-muted);
}

/* 套餐价格对比卡片 */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
}
.pricing-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.pricing-card.popular {
  border-color: var(--primary);
  border-width: 2px;
  box-shadow: 0 10px 25px -5px rgba(79, 70, 229, 0.15);
}
.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 9999px;
  letter-spacing: 0.5px;
}
.plan-header {
  margin-bottom: 20px;
}
.plan-name {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-title);
}
.plan-tag {
  font-size: 12px;
  color: var(--text-muted);
  background: var(--bg-card-subtle);
  padding: 2px 8px;
  border-radius: 4px;
  display: inline-block;
  margin-top: 4px;
}
.plan-price-wrap {
  margin: 16px 0 24px;
  display: flex;
  align-items: baseline;
}
.currency {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-title);
  margin-right: 2px;
}
.price-num {
  font-size: 40px;
  font-weight: 900;
  color: var(--text-title);
  font-family: monospace;
}
.price-cycle {
  font-size: 13px;
  color: var(--text-muted);
  margin-left: 6px;
}
.plan-features {
  list-style: none;
  margin-bottom: 30px;
}
.plan-features li {
  font-size: 13px;
  color: var(--text-body);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.check-icon {
  color: var(--accent-green);
  font-weight: bold;
}

/* 用户评价 (Testimonials) */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.review-stars {
  color: #f59e0b;
  font-size: 14px;
  margin-bottom: 12px;
}
.review-text {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 16px;
  font-style: italic;
}
.review-author {
  display: flex;
  align-items: center;
  gap: 10px;
}
.author-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg-card-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--primary);
  font-size: 14px;
}
.author-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-title);
}
.author-role {
  font-size: 11px;
  color: var(--text-muted);
}

/* 常见问题解答 FAQ (纯原生 details / summary 实现，0 JS) */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
}
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-summary {
  padding: 16px 20px;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-title);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg-card);
  user-select: none;
}
.faq-summary::-webkit-details-marker {
  display: none;
}
.faq-summary::after {
  content: "＋";
  font-size: 18px;
  color: var(--text-muted);
  font-weight: 400;
}
details[open] .faq-summary::after {
  content: "－";
}
.faq-content {
  padding: 0 20px 18px;
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.6;
  border-top: 1px solid var(--border-color);
  padding-top: 12px;
}

/* 页脚 (只保留 4 个标题：网站地图、关于我们、服务条款、隐私政策) */
.footer {
  background: var(--footer-bg);
  border-top: 1px solid var(--border-color);
  padding: 40px 0 30px;
  text-align: center;
}
.footer-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin-bottom: 20px;
}
.footer-nav a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-body);
  transition: color 0.2s;
}
.footer-nav a:hover {
  color: var(--primary);
}
.footer-copy {
  font-size: 12px;
  color: var(--text-muted);
}

/* ===================================================
   子页面内容排版样式 (关于我们 / 服务条款 / 隐私政策 / 网站地图)
   =================================================== */
.subpage-container {
  max-width: 840px;
  margin: 40px auto 80px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}
.subpage-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--text-title);
  margin-bottom: 8px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--primary-light);
}
.subpage-time {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.subpage-section {
  margin-bottom: 28px;
}
.subpage-section h2 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-title);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.subpage-section h2::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 18px;
  background: var(--primary);
  border-radius: 2px;
}
.subpage-section p, .subpage-section li {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 10px;
}
.subpage-section ul {
  padding-left: 20px;
  margin-bottom: 12px;
}
.sitemap-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 20px;
}
.sitemap-card {
  padding: 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: var(--bg-card-subtle);
  text-decoration: none;
  color: var(--text-title);
  display: block;
  transition: all 0.2s;
}
.sitemap-card:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
}
.sitemap-card h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--primary);
}
.sitemap-card p {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0;
}

/* 高科技网格卡片 (Grid Cards) 布局 */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 20px;
}
.article-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
  position: relative;
}
.article-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: 0 10px 20px -5px rgba(79, 70, 229, 0.12);
}
.article-card-tag {
  font-size: 11px;
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-light);
  padding: 3px 8px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 12px;
}
.article-card-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-title);
  line-height: 1.45;
  margin-bottom: 10px;
}
.article-card-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}
.article-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-muted);
  border-top: 1px solid var(--border-color);
  padding-top: 12px;
}
.article-card-link {
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
}
.article-card-link:hover {
  text-decoration: underline;
}

/* ===================================================
   响应式适配媒体查询 (@media) - 确保手机端完美单栏与舒适手指触控
   =================================================== */
@media (max-width: 768px) {
  .subpage-container {
    padding: 20px;
    margin: 20px auto 40px;
  }
  .sitemap-links,
  .articles-grid {
    grid-template-columns: 1fr;
  }
  .hero-title {
    font-size: 28px;
  }
  .hero-subtitle {
    font-size: 15px;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  .hero-actions .btn {
    width: 100%;
    min-height: 48px;
    font-size: 16px;
  }
  .speed-banner {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .features-grid,
  .pricing-grid,
  .reviews-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .stream-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .header .nav-links {
    display: none;
  }
  .footer-nav {
    flex-wrap: wrap;
    gap: 16px;
  }
}
