/* 饿饭cc云官网 - 日式极简 Bento 与柔和日光风格样式表 */
:root {
  --bg-canvas: #FAFAFA;
  --bg-card: #F2F2EE;
  --bg-card-alt: #EAEAE3;
  --bg-white: #FFFFFF;
  --text-ink: #1D2320;
  --text-muted: #525B56;
  --text-soft: #6C7570;
  --accent-sage: #2D5A4C;
  --accent-sage-hover: #23473C;
  --accent-sage-tint: #E4ECE9;
  --accent-clay: #D97757;
  --accent-clay-tint: #F8EAE4;
  --border-subtle: #E3E3DC;
  --radius-card: 24px;
  --radius-sm: 16px;
  --radius-pill: 9999px;
  --gap-bento: 18px;
  --max-width: 1120px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-canvas);
  color: var(--text-ink);
}

body {
  font-family: "Plus Jakarta Sans", "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-canvas);
  color: var(--text-ink);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--accent-sage);
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

a:hover {
  color: var(--accent-sage-hover);
}

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

/* 页眉导航 */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: rgba(250, 250, 250, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-subtle);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
  padding: 12px 0;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-ink);
  letter-spacing: 0.02em;
}

.brand-dot {
  width: 28px;
  height: 28px;
  border-radius: 10px;
  background-color: var(--accent-sage);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-size: 0.875rem;
  font-weight: 700;
}

.site-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.site-nav a {
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  color: var(--text-muted);
  font-size: 0.9375rem;
  font-weight: 500;
}

.site-nav a:hover,
.site-nav a.active {
  background-color: var(--bg-card);
  color: var(--text-ink);
}

.site-nav a.nav-cta {
  background-color: var(--accent-sage);
  color: #FFFFFF;
  padding: 9px 18px;
}

.site-nav a.nav-cta:hover {
  background-color: var(--accent-sage-hover);
  color: #FFFFFF;
}

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

.section-header {
  margin-bottom: 28px;
  max-width: 720px;
}

.section-kicker {
  display: inline-block;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  background-color: var(--accent-clay-tint);
  color: var(--accent-clay);
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.section-kicker.sage {
  background-color: var(--accent-sage-tint);
  color: var(--accent-sage);
}

.section-title {
  font-size: clamp(1.5rem, 2.8vw, 2.125rem);
  line-height: 1.3;
  font-weight: 700;
  color: var(--text-ink);
  margin-bottom: 10px;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.75;
}

/* 胶囊按钮系统 */
.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 26px;
  border-radius: var(--radius-pill);
  font-size: 0.96875rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  text-align: center;
  line-height: 1.3;
}

.btn-primary {
  background-color: var(--accent-sage);
  color: #FFFFFF;
}

.btn-primary:hover {
  background-color: var(--accent-sage-hover);
  color: #FFFFFF;
}

.btn-secondary {
  background-color: var(--bg-white);
  color: var(--text-ink);
  border-color: var(--border-subtle);
}

.btn-secondary:hover {
  background-color: var(--bg-card-alt);
  color: var(--text-ink);
  border-color: #CFCFC5;
}

.btn-clay {
  background-color: var(--accent-clay-tint);
  color: #A84F33;
  border-color: #EFCFC2;
}

.btn-clay:hover {
  background-color: #F3DDD4;
  color: #8F3F26;
}

.btn-full {
  width: 100%;
}

/* Bento 基础卡片 */
.bento-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bento-card-white {
  background-color: var(--bg-white);
}

.bento-card-sage {
  background-color: var(--accent-sage);
  color: #FFFFFF;
  border-color: var(--accent-sage);
}

.bento-card-sage .muted {
  color: rgba(255, 255, 255, 0.84);
}

.bento-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.8125rem;
  font-weight: 600;
  background-color: var(--accent-clay-tint);
  color: var(--accent-clay);
  margin-bottom: 14px;
}

.bento-badge.sage {
  background-color: var(--accent-sage-tint);
  color: var(--accent-sage);
}

.bento-badge.light {
  background-color: rgba(255, 255, 255, 0.16);
  color: #FFFFFF;
}

/* 主视觉区 Hero Bento */
.hero-section {
  padding: 36px 0 40px;
}

.hero-bento {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: var(--gap-bento);
  align-items: stretch;
}

.hero-main {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}

.hero-title {
  font-size: clamp(1.85rem, 3.6vw, 2.75rem);
  line-height: 1.24;
  font-weight: 800;
  color: var(--text-ink);
  letter-spacing: -0.01em;
}

.hero-lead {
  font-size: 1.0625rem;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 600px;
}

.region-check-box {
  background-color: var(--bg-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.region-check-note {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.hero-side {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: var(--gap-bento);
}

.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap-bento);
}

.stat-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  padding: 22px;
}

.stat-value {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--accent-sage);
  line-height: 1.2;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.hero-summary-card {
  background-color: var(--accent-sage);
  color: #FFFFFF;
  border-radius: var(--radius-card);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}

.hero-summary-card h2 {
  font-size: 1.25rem;
  line-height: 1.4;
  font-weight: 700;
}

.hero-summary-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.9);
}

.hero-summary-list li {
  padding-left: 18px;
  position: relative;
}

.hero-summary-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #E8A68E;
}

/* 核心优势非对称 Bento 网格 */
.bento-features {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  gap: var(--gap-bento);
}

.feature-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feature-media {
  background-color: var(--bg-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  overflow: hidden;
  padding: 12px;
}

.feature-media img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.feature-card h3 {
  font-size: 1.1875rem;
  font-weight: 700;
  color: var(--text-ink);
  line-height: 1.4;
}

.feature-card p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.75;
}

/* 流媒体与 AI 支持 Bento 区块 */
.media-bento {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: var(--gap-bento);
}

.media-subgrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 18px;
}

.media-pill-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 16px;
}

.media-pill-card strong {
  display: block;
  font-size: 1rem;
  color: var(--text-ink);
  margin-bottom: 4px;
}

.media-pill-card span {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* 客户端下载专区 */
.download-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap-bento);
}

.download-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
}

.download-card h3 {
  font-size: 1.1875rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.download-meta {
  font-size: 0.875rem;
  color: var(--text-soft);
  margin-bottom: 10px;
}

.download-desc {
  font-size: 0.925rem;
  color: var(--text-muted);
  line-height: 1.68;
}

/* 套餐价格对比网格 */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap-bento);
  align-items: stretch;
}

.plan-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}

.plan-card.popular {
  background-color: var(--bg-white);
  border: 2px solid var(--accent-sage);
}

.plan-name {
  font-size: 1.1875rem;
  font-weight: 700;
  color: var(--text-ink);
  margin-bottom: 8px;
}

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

.plan-price .amount {
  font-size: 2.125rem;
  font-weight: 800;
  color: var(--accent-sage);
  line-height: 1.1;
}

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

.plan-quota {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-ink);
  padding: 8px 12px;
  background-color: var(--bg-card);
  border-radius: 12px;
  margin-bottom: 14px;
}

.plan-card:not(.popular) .plan-quota {
  background-color: var(--bg-white);
}

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.plan-features li {
  padding-left: 18px;
  position: relative;
}

.plan-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent-sage);
  font-weight: 700;
}

/* 用户评价与 FAQ */
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap-bento);
  margin-bottom: 32px;
}

.review-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
}

.review-stars {
  color: var(--accent-clay);
  font-size: 0.95rem;
  letter-spacing: 2px;
}

.review-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.75;
}

.review-author {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-ink);
}

.faq-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap-bento);
}

.faq-item {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  padding: 20px 24px;
}

.faq-item summary {
  font-size: 1.03125rem;
  font-weight: 700;
  color: var(--text-ink);
  cursor: pointer;
  list-style: none;
  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.25rem;
  font-weight: 500;
  color: var(--accent-sage);
  flex-shrink: 0;
}

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

.faq-body {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.75;
}

/* 内页与文章排版 */
.page-hero {
  padding: 40px 0 24px;
}

.page-hero-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  padding: 36px;
}

.page-hero-card h1 {
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  line-height: 1.3;
  font-weight: 800;
  margin-bottom: 12px;
}

.page-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.875rem;
  color: var(--text-soft);
  margin-bottom: 16px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--text-soft);
  margin-bottom: 16px;
}

.content-bento {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap-bento);
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 24px;
  align-items: start;
  padding-bottom: 56px;
}

.article-body {
  background-color: var(--bg-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  padding: 40px;
}

.article-body h2 {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--text-ink);
  margin: 32px 0 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-subtle);
}

.article-body h2:first-child {
  margin-top: 0;
}

.article-body h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--accent-sage);
  margin: 22px 0 10px;
}

.article-body p {
  font-size: 1rem;
  color: #2A322E;
  line-height: 1.9;
  margin-bottom: 16px;
}

.article-body ul,
.article-body ol {
  margin: 0 0 18px 22px;
  color: #2A322E;
}

.article-body li {
  margin-bottom: 8px;
  line-height: 1.8;
}

.article-callout {
  background-color: var(--bg-card);
  border-left: 4px solid var(--accent-sage);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 18px 22px;
  margin: 24px 0;
}

.article-callout p {
  margin-bottom: 0;
}

.article-sidebar {
  display: flex;
  flex-direction: column;
  gap: var(--gap-bento);
  position: sticky;
  top: 92px;
}

.sidebar-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  padding: 22px;
}

.sidebar-card h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.sidebar-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.9rem;
}

.sidebar-links a {
  color: var(--text-muted);
  display: block;
  padding: 6px 0;
  border-bottom: 1px dashed var(--border-subtle);
}

.sidebar-links a:hover {
  color: var(--accent-sage);
}

/* 资讯列表网格 */
.news-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gap-bento);
  padding-bottom: 56px;
}

.news-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}

.news-card h2 {
  font-size: 1.25rem;
  line-height: 1.45;
  font-weight: 700;
}

.news-card h2 a {
  color: var(--text-ink);
}

.news-card h2 a:hover {
  color: var(--accent-sage);
}

.news-excerpt {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.75;
}

/* 简洁表格 */
.table-wrap {
  overflow-x: auto;
  margin: 20px 0;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  background-color: var(--bg-white);
}

.clean-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.925rem;
}

.clean-table th,
.clean-table td {
  padding: 13px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border-subtle);
}

.clean-table th {
  background-color: var(--bg-card);
  font-weight: 700;
  color: var(--text-ink);
}

.clean-table tr:last-child td {
  border-bottom: none;
}

/* 页脚（严格只保留四个标题链接） */
.site-footer {
  margin-top: 40px;
  padding: 36px 0 48px;
  border-top: 1px solid var(--border-subtle);
  background-color: var(--bg-card);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 28px;
}

.footer-links a {
  color: var(--text-ink);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: var(--radius-pill);
}

.footer-links a:hover {
  background-color: var(--bg-white);
  color: var(--accent-sage);
}

.footer-copy {
  font-size: 0.85rem;
  color: var(--text-soft);
}

/* 响应式适配 */
@media (max-width: 1024px) {
  .hero-bento,
  .media-bento,
  .article-layout {
    grid-template-columns: 1fr;
  }

  .bento-features {
    grid-template-columns: 1fr 1fr;
  }

  .download-grid,
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .article-sidebar {
    position: static;
  }
}

@media (max-width: 720px) {
  .container {
    padding: 0 16px;
  }

  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .site-nav {
    width: 100%;
    gap: 6px;
  }

  .site-nav a {
    font-size: 0.875rem;
    padding: 8px 12px;
  }

  .hero-main,
  .page-hero-card,
  .article-body {
    padding: 24px 20px;
  }

  .bento-features,
  .download-grid,
  .pricing-grid,
  .review-grid,
  .faq-list,
  .content-bento,
  .news-grid,
  .media-subgrid,
  .stat-grid {
    grid-template-columns: 1fr;
  }

  .btn-group {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
    min-height: 50px;
  }
}
