/* ==========================================================================
   贝贝云机场 - 官方极简高性能原生样式表 (style.css)
   完全自主编写，无外部框架依赖，秒开级加载，全面满足 WCAG 2.1 AA 与移动自适应规范
   ========================================================================== */

:root {
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --primary-light: #eff6ff;
  --primary-glow: rgba(37, 99, 235, 0.18);
  --accent: #06b6d4;
  --accent-hover: #0891b2;
  --secondary: #10b981;
  --dark-bg: #0b0f19;
  --card-bg: #ffffff;
  --card-bg-alt: #f8fafc;
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-light: #64748b;
  --border-color: #e2e8f0;
  --border-light: #f1f5f9;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 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: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  --max-width: 1200px;
  --header-height: 72px;
}

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

html {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
  color: var(--text-main);
  background-color: #f8fafc;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* 键盘无障碍跳过导航 */
.skip-link {
  position: absolute;
  top: -60px;
  left: 20px;
  background: var(--primary);
  color: #ffffff;
  padding: 10px 18px;
  z-index: 9999;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: top 0.2s ease;
  text-decoration: none;
}
.skip-link:focus {
  top: 15px;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover {
  color: var(--primary-hover);
}
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

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

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

/* ==========================================================================
   页眉 Header 与 导航 Nav
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-height);
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.site-header .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
  text-decoration: none;
}
.brand-logo svg {
  width: 34px;
  height: 34px;
  color: var(--primary);
}
.brand-logo span {
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
.site-nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 8px 4px;
  position: relative;
}
.site-nav a:hover, .site-nav a.active {
  color: var(--primary);
}
.site-nav a.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary);
  border-radius: 2px;
}

.nav-cta {
  display: flex;
  align-items: center;
}

/* ==========================================================================
   按钮组件 (CTA Buttons)
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 11px 22px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
  min-height: 44px;
  min-width: 44px;
  line-height: 1.2;
}

.btn-primary {
  background-color: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 14px var(--primary-glow);
}
.btn-primary:hover {
  background-color: var(--primary-hover);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.28);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--border-color);
  color: var(--text-main);
}
.btn-outline:hover {
  background-color: var(--card-bg-alt);
  border-color: var(--primary);
  color: var(--primary);
}

.btn-lg {
  padding: 14px 30px;
  font-size: 1.05rem;
  border-radius: var(--radius-lg);
}

.btn-sm {
  padding: 7px 15px;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
  min-height: 36px;
}

/* ==========================================================================
   主视觉区 (Hero Section)
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 70px 0 60px;
  background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
  border-bottom: 1px solid var(--border-color);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 50px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--primary-light);
  color: var(--primary);
  border: 1px solid rgba(37, 99, 235, 0.2);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero-title {
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--text-main);
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}
.hero-title .gradient-text {
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 50%, #06b6d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.12rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 30px;
}

.hero-meta-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--border-color);
}
.hero-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-muted);
}
.hero-meta-item svg {
  width: 18px;
  height: 18px;
  color: var(--secondary);
}

.hero-preview-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.hero-preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 16px;
  margin-bottom: 20px;
}
.hero-preview-title {
  font-size: 1rem;
  font-weight: 700;
}
.hero-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: #ecfdf5;
  color: #065f46;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}
.status-dot {
  width: 8px;
  height: 8px;
  background-color: var(--secondary);
  border-radius: 50%;
  animation: pulseDot 2s infinite ease-in-out;
}
@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.server-metric-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.metric-box {
  background: var(--card-bg-alt);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 14px;
}
.metric-label {
  font-size: 0.78rem;
  color: var(--text-light);
  margin-bottom: 4px;
}
.metric-value {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
}
.metric-value.highlight {
  color: var(--primary);
}

/* ==========================================================================
   通用区块样式 (Section Base)
   ========================================================================== */
.section {
  padding: 70px 0;
  scroll-margin-top: calc(var(--header-height) + 16px);
}
.section-alt {
  background-color: #ffffff;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 50px;
}
.section-tag {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary);
  background-color: var(--primary-light);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
  letter-spacing: 0.05em;
}
.section-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 14px;
  line-height: 1.3;
}
.section-subtitle {
  font-size: 1.02rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ==========================================================================
   套餐价格对比表 (Pricing Section)
   ========================================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  align-items: stretch;
}

.pricing-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.25s ease;
  box-shadow: var(--shadow-sm);
}
.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.pricing-card.featured {
  border-color: var(--primary);
  box-shadow: 0 8px 24px var(--primary-glow);
  background: linear-gradient(180deg, #ffffff 0%, #f8faff 100%);
}
.featured-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: var(--radius-full);
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.pricing-header {
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 18px;
  margin-bottom: 18px;
}
.plan-name {
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 6px;
}
.plan-desc {
  font-size: 0.85rem;
  color: var(--text-light);
  min-height: 38px;
}

.plan-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 3px;
  margin-top: 14px;
}
.price-currency {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
}
.price-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1;
}
.price-period {
  font-size: 0.85rem;
  color: var(--text-light);
}

.plan-features {
  list-style: none;
  margin: 0 0 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.45;
}
.plan-features svg {
  width: 17px;
  height: 17px;
  color: var(--secondary);
  flex-shrink: 0;
  margin-top: 2px;
}

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

.pricing-table-footnote {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-light);
  margin-top: 28px;
}

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

.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  transition: all 0.25s ease;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.feature-card:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.feature-icon-wrap {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background-color: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}
.feature-icon-wrap svg {
  width: 28px;
  height: 28px;
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 12px;
}
.feature-text {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ==========================================================================
   流媒体与 AI 支持图卡 (Media & AI Card)
   ========================================================================== */
.support-card {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border-radius: var(--radius-lg);
  padding: 44px;
  color: #ffffff;
  box-shadow: var(--shadow-lg);
}

.support-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.support-col {
  display: flex;
  flex-direction: column;
}
.support-col-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.support-col-header svg {
  width: 32px;
  height: 32px;
  color: var(--accent);
}
.support-col-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
}
.support-col-desc {
  font-size: 0.94rem;
  color: #94a3b8;
  line-height: 1.65;
  margin-bottom: 24px;
}

.pill-tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.pill-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 7px 14px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  color: #e2e8f0;
  font-weight: 500;
}
.pill-tag-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--secondary);
}

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

.review-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.review-rating {
  display: flex;
  gap: 4px;
  margin-bottom: 12px;
  color: #f59e0b;
}
.review-content {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 18px;
  font-style: italic;
}
.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--border-light);
  padding-top: 14px;
}
.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
}
.author-info {
  display: flex;
  flex-direction: column;
}
.author-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-main);
}
.author-title {
  font-size: 0.78rem;
  color: var(--text-light);
}

/* ==========================================================================
   常见问题解答 (FAQ Section)
   ========================================================================== */
.faq-wrap {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: border-color 0.2s ease;
}
.faq-item:hover {
  border-color: #cbd5e1;
}

.faq-item summary {
  padding: 18px 22px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  user-select: none;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--primary);
  transition: transform 0.2s ease;
  line-height: 1;
}
.faq-item[open] summary::after {
  content: "−";
  transform: rotate(0deg);
}

.faq-content {
  padding: 0 22px 20px;
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.7;
  border-top: 1px solid var(--border-light);
  padding-top: 14px;
}
.faq-content p + p {
  margin-top: 10px;
}
.faq-content a {
  text-decoration: underline;
  font-weight: 500;
}

/* ==========================================================================
   页脚 Footer 规范 (只保留4个独立页面标题入口)
   ========================================================================== */
.site-footer {
  margin-top: auto;
  background-color: var(--dark-bg);
  color: #94a3b8;
  border-top: 1px solid #1e293b;
  padding: 44px 0 30px;
}

.footer-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid #1e293b;
}

.footer-nav a {
  color: #cbd5e1;
  font-size: 0.95rem;
  font-weight: 600;
  transition: color 0.2s ease;
}
.footer-nav a:hover {
  color: #ffffff;
}

.footer-copyright {
  text-align: center;
  font-size: 0.85rem;
  color: #64748b;
  line-height: 1.6;
}

/* ==========================================================================
   知识科普中心列表与文章阅读样式 (Knowledge Hub & Article)
   ========================================================================== */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-light);
  margin-bottom: 24px;
}
.breadcrumb a {
  color: var(--text-muted);
}
.breadcrumb a:hover {
  color: var(--primary);
}

.knowledge-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.knowledge-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
  box-shadow: var(--shadow-sm);
}
.knowledge-card:hover {
  transform: translateY(-3px);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.knowledge-card-tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
  background-color: var(--primary-light);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.knowledge-card-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.4;
  margin-bottom: 10px;
}
.knowledge-card-title a {
  color: var(--text-main);
}
.knowledge-card-title a:hover {
  color: var(--primary);
}

.knowledge-card-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
  flex-grow: 1;
}

.knowledge-card-meta {
  font-size: 0.78rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-light);
  padding-top: 12px;
}

/* 单篇文章排版 */
.article-container {
  max-width: 820px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}

.article-header {
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 24px;
  margin-bottom: 30px;
}
.article-title {
  font-size: 2.1rem;
  font-weight: 800;
  line-height: 1.3;
  color: var(--text-main);
  margin-bottom: 14px;
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--text-light);
}

.article-body {
  font-size: 1.02rem;
  line-height: 1.85;
  color: #334155;
}
.article-body h2 {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-main);
  margin: 36px 0 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-light);
}
.article-body h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 26px 0 12px;
}
.article-body p {
  margin-bottom: 18px;
}
.article-body ul, .article-body ol {
  margin: 0 0 20px 24px;
}
.article-body li {
  margin-bottom: 8px;
}
.article-body blockquote {
  background-color: var(--primary-light);
  border-left: 4px solid var(--primary);
  padding: 16px 20px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 24px 0;
  color: #1e3a8a;
  font-size: 0.95rem;
}
.article-body a {
  text-decoration: underline;
  font-weight: 600;
}

.article-cta-box {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  border: 1px solid #bfdbfe;
  border-radius: var(--radius-md);
  padding: 24px;
  margin: 36px 0;
  text-align: center;
}
.article-cta-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: #1e3a8a;
  margin-bottom: 8px;
}
.article-cta-desc {
  font-size: 0.9rem;
  color: #3b82f6;
  margin-bottom: 18px;
}

/* 网站地图与独立关于页排版 */
.sitemap-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}
.sitemap-group {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
}
.sitemap-group-title {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-light);
  color: var(--primary);
}
.sitemap-group ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sitemap-group li a {
  display: block;
  font-size: 0.95rem;
  color: var(--text-muted);
  padding: 4px 0;
}
.sitemap-group li a:hover {
  color: var(--primary);
  padding-left: 6px;
}

/* ==========================================================================
   响应式断点适配 (@media queries)
   ========================================================================== */
@media (max-width: 1024px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .knowledge-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: auto;
  }
  .site-header {
    padding: 12px 0;
  }
  .site-header .container {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .site-nav {
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 4px;
    gap: 16px;
    -webkit-overflow-scrolling: touch;
  }
  .site-nav::-webkit-scrollbar {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .hero-title {
    font-size: 2rem;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-actions .btn {
    width: 100%;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }
  .support-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .reviews-grid {
    grid-template-columns: 1fr;
  }
  .sitemap-list {
    grid-template-columns: 1fr;
  }
  .knowledge-grid {
    grid-template-columns: 1fr;
  }

  .article-container {
    padding: 24px 18px;
  }
  .article-title {
    font-size: 1.6rem;
  }

  .footer-nav {
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .hero-title {
    font-size: 1.7rem;
  }
  .section-title {
    font-size: 1.6rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
