/* ========================================
   WPS Office 下载站 - 全局样式
   ======================================== */

/* --- 基础重置与变量 --- */
:root {
  --primary: #ff6600;
  --primary-dark: #e55a00;
  --primary-light: #fff0e6;
  --secondary: #1a1a2e;
  --accent: #ff4757;
  --text: #333333;
  --text-light: #666666;
  --text-muted: #999999;
  --bg: #ffffff;
  --bg-light: #f8f9fa;
  --bg-warm: #fff8f3;
  --border: #e8e8e8;
  --border-light: #f0f0f0;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
  --shadow-hover: 0 8px 30px rgba(0,0,0,0.12);
  --radius: 12px;
  --radius-sm: 8px;
  --max-width: 1200px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }

img { max-width: 100%; height: auto; display: block; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ========================================
   导航栏
   ======================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  z-index: 1000;
  transition: var(--transition);
}

.navbar.scrolled {
  box-shadow: var(--shadow);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--secondary);
}

.nav-logo svg {
  width: 36px;
  height: 36px;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 8px;
}

.nav-menu a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-light);
  transition: var(--transition);
}

.nav-menu a:hover {
  background: var(--primary-light);
  color: var(--primary);
}

.nav-menu a.active {
  background: var(--primary);
  color: #fff;
}

.nav-menu a.active:hover {
  background: var(--primary-dark);
}

/* 移动端菜单按钮 */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: var(--transition);
  border-radius: 2px;
}

/* ========================================
   通用按钮样式
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255,102,0,0.3);
}

.btn-secondary {
  background: var(--secondary);
  color: #fff;
}

.btn-secondary:hover {
  background: #2d2d4a;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: #fff;
}

.btn-lg {
  padding: 16px 40px;
  font-size: 1.1rem;
  border-radius: var(--radius);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.875rem;
}

/* ========================================
   Section 通用样式
   ======================================== */
.section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.section-label {
  display: inline-block;
  padding: 6px 16px;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 20px;
  margin-bottom: 16px;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 16px;
  line-height: 1.3;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-light);
  line-height: 1.7;
}

.bg-light { background: var(--bg-light); }
.bg-warm { background: var(--bg-warm); }

/* ========================================
   Hero 横幅
   ======================================== */
.hero {
  padding: 140px 0 100px;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 80%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(255,102,0,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 680px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(255,102,0,0.15);
  border: 1px solid rgba(255,102,0,0.3);
  border-radius: 30px;
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 24px;
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-title span {
  color: var(--primary);
}

.hero-subtitle {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.8;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-meta {
  display: flex;
  gap: 32px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.hero-meta-item {
  color: rgba(255,255,255,0.6);
  font-size: 0.875rem;
}

.hero-meta-item strong {
  display: block;
  color: #fff;
  font-size: 1.25rem;
  margin-bottom: 4px;
}

/* Hero右侧装饰 */
.hero-visual {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  width: 400px;
  height: 400px;
  opacity: 0.1;
}

/* ========================================
   特性卡片
   ======================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 32px;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary);
}

.feature-icon {
  width: 56px;
  height: 56px;
  background: var(--primary-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-icon svg {
  width: 28px;
  height: 28px;
  color: var(--primary);
}

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* ========================================
   平台下载卡片
   ======================================== */
.platforms-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.platform-card {
  background: var(--bg);
  border: 2px solid var(--border-light);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition);
}

.platform-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.platform-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  background: var(--primary-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
}

.platform-icon svg {
  width: 32px;
  height: 32px;
  color: var(--primary);
}

.platform-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 8px;
}

.platform-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

/* ========================================
   功能详情区
   ======================================== */
.function-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
}

.function-block:last-child { margin-bottom: 0; }

.function-block.reverse { direction: rtl; }
.function-block.reverse > * { direction: ltr; }

.function-visual {
  background: linear-gradient(135deg, var(--bg-light), var(--primary-light));
  border-radius: var(--radius);
  height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.function-visual svg {
  width: 120px;
  height: 120px;
  color: var(--primary);
  opacity: 0.4;
}

.function-content h3 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 16px;
}

.function-content p {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 16px;
}

.function-list {
  list-style: none;
  margin-top: 20px;
}

.function-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 0.95rem;
  color: var(--text);
}

.function-list li svg {
  width: 20px;
  height: 20px;
  color: #27ae60;
  flex-shrink: 0;
}

/* ========================================
   用户评价
   ======================================== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.review-card {
  background: var(--bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 28px;
  transition: var(--transition);
}

.review-card:hover {
  box-shadow: var(--shadow);
}

.review-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
}

.review-stars svg {
  width: 18px;
  height: 18px;
  color: #ffc107;
}

.review-card p {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 20px;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
}

.review-avatar {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary), #ff8c42);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  flex-shrink: 0;
}

.review-author-info h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--secondary);
}

.review-author-info span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ========================================
   数据统计
   ======================================== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-card {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 36px 24px;
  text-align: center;
  transition: var(--transition);
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.stat-icon {
  width: 56px;
  height: 56px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.stat-icon svg {
  width: 26px;
  height: 26px;
  color: var(--primary);
}

.stat-number {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* ========================================
   对比表格
   ======================================== */
.compare-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg);
}

.compare-table th,
.compare-table td {
  padding: 16px 24px;
  text-align: left;
  border-bottom: 1px solid var(--border-light);
}

.compare-table th {
  background: var(--bg-light);
  font-weight: 600;
  color: var(--secondary);
  font-size: 0.95rem;
}

.compare-table td {
  font-size: 0.95rem;
  color: var(--text);
}

.compare-table tr:hover td {
  background: rgba(255,102,0,0.02);
}

.compare-table .highlight {
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 600;
}

.compare-table svg.check {
  width: 20px;
  height: 20px;
  color: #27ae60;
}

.compare-table svg.cross {
  width: 20px;
  height: 20px;
  color: var(--accent);
}

/* ========================================
   FAQ 手风琴
   ======================================== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
  background: var(--bg);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  background: none;
  border: none;
  font-size: 1rem;
  font-weight: 500;
  color: var(--secondary);
  cursor: pointer;
  text-align: left;
  transition: var(--transition);
}

.faq-question:hover {
  background: var(--bg-light);
}

.faq-question svg {
  width: 20px;
  height: 20px;
  color: var(--primary);
  transition: transform 0.3s;
  flex-shrink: 0;
}

.faq-item.open .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.faq-item.open .faq-answer {
  max-height: 500px;
}

.faq-answer-inner {
  padding: 0 24px 18px;
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.8;
}

/* ========================================
   CTA 区块
   ======================================== */
.cta-section {
  background: linear-gradient(135deg, var(--secondary) 0%, #0f3460 100%);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at center, rgba(255,102,0,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.cta-section .container {
  position: relative;
  z-index: 1;
}

.cta-section h2 {
  font-size: 2.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}

.cta-section p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.7);
  max-width: 560px;
  margin: 0 auto 32px;
}

/* ========================================
   页脚
   ======================================== */
.footer {
  background: var(--secondary);
  color: rgba(255,255,255,0.7);
  padding: 40px 0;
  text-align: center;
  font-size: 0.875rem;
}

.footer p {
  margin-bottom: 8px;
}

.footer a {
  color: var(--primary);
}

.footer a:hover {
  text-decoration: underline;
}

/* ========================================
   下载页专用样式
   ======================================== */
.download-hero {
  padding: 140px 0 80px;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  text-align: center;
}

.download-hero h1 {
  font-size: 2.5rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
}

.download-hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.7);
  max-width: 600px;
  margin: 0 auto 36px;
}

/* 主推下载卡片 */
.download-main {
  background: var(--bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow-hover);
  padding: 48px;
  margin-top: -60px;
  position: relative;
  z-index: 2;
  text-align: center;
}

.download-main-icon {
  width: 80px;
  height: 80px;
  background: var(--primary-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.download-main-icon svg {
  width: 40px;
  height: 40px;
  color: var(--primary);
}

.download-main h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 8px;
}

.download-meta {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin: 20px 0 28px;
  flex-wrap: wrap;
}

.download-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  color: var(--text-light);
}

.download-meta svg {
  width: 16px;
  height: 16px;
  color: var(--primary);
}

/* 步骤指南 */
.steps-list {
  counter-reset: step;
  list-style: none;
  max-width: 700px;
  margin: 0 auto;
}

.steps-list li {
  position: relative;
  padding-left: 60px;
  padding-bottom: 32px;
  border-left: 2px solid var(--border);
  margin-left: 20px;
}

.steps-list li:last-child {
  border-left-color: transparent;
  padding-bottom: 0;
}

.steps-list li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: -20px;
  top: 0;
  width: 40px;
  height: 40px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
}

.steps-list li h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 8px;
}

.steps-list li p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* 系统要求表格 */
.sysreq-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-light);
}

.sysreq-table th,
.sysreq-table td {
  padding: 14px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border-light);
}

.sysreq-table th {
  background: var(--bg-light);
  font-weight: 600;
  color: var(--secondary);
  font-size: 0.9rem;
}

.sysreq-table td {
  font-size: 0.9rem;
  color: var(--text);
}

/* 更新日志 */
.changelog-list {
  max-width: 800px;
  margin: 0 auto;
}

.changelog-item {
  padding: 24px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  background: var(--bg);
}

.changelog-item h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 4px;
}

.changelog-item .date {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  display: block;
}

.changelog-item ul {
  list-style: none;
  padding: 0;
}

.changelog-item li {
  padding: 4px 0;
  font-size: 0.9rem;
  color: var(--text-light);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.changelog-item li svg {
  width: 16px;
  height: 16px;
  color: var(--primary);
  margin-top: 3px;
  flex-shrink: 0;
}

/* ========================================
   SEO页专用样式
   ======================================== */
.seo-article {
  max-width: 800px;
  margin: 0 auto;
}

.seo-article h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--secondary);
  margin: 48px 0 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--primary-light);
}

.seo-article h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--secondary);
  margin: 32px 0 14px;
}

.seo-article p {
  font-size: 1rem;
  color: var(--text);
  line-height: 1.9;
  margin-bottom: 16px;
}

.seo-article ul,
.seo-article ol {
  margin: 16px 0;
  padding-left: 24px;
}

.seo-article li {
  padding: 6px 0;
  font-size: 1rem;
  color: var(--text);
  line-height: 1.7;
}

.seo-article strong {
  color: var(--secondary);
}

.keyword-highlight {
  background: linear-gradient(transparent 60%, rgba(255,102,0,0.15) 60%);
  padding: 0 2px;
}

.seo-cta-box {
  background: linear-gradient(135deg, var(--primary-light), #fff);
  border: 2px solid var(--primary);
  border-radius: var(--radius);
  padding: 40px;
  text-align: center;
  margin: 48px 0;
}

.seo-cta-box h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 12px;
  border: none;
  padding: 0;
}

.seo-cta-box p {
  color: var(--text-light);
  margin-bottom: 24px;
}

/* ========================================
   安全提示框
   ======================================== */
.security-notice {
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.security-notice svg {
  width: 24px;
  height: 24px;
  color: #0284c7;
  flex-shrink: 0;
  margin-top: 2px;
}

.security-notice h4 {
  font-size: 1rem;
  font-weight: 600;
  color: #0369a1;
  margin-bottom: 4px;
}

.security-notice p {
  font-size: 0.9rem;
  color: #0c4a6e;
  line-height: 1.6;
}

/* ========================================
   Loading Spin 动画
   ======================================== */
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* 淡入动画 */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   面包屑导航
   ======================================== */
.breadcrumb {
  padding: 20px 0;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.breadcrumb a {
  color: var(--text-light);
}

.breadcrumb a:hover {
  color: var(--primary);
}

/* ========================================
   响应式设计
   ======================================== */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .platforms-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-visual { display: none; }
}

@media (max-width: 768px) {
  .section { padding: 60px 0; }
  .section-title { font-size: 1.75rem; }
  .hero { padding: 120px 0 80px; }
  .hero-title { font-size: 2rem; }
  .hero-meta { flex-direction: column; gap: 16px; }

  .features-grid { grid-template-columns: 1fr; }
  .platforms-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }

  .function-block {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .function-block.reverse { direction: ltr; }
  .function-visual { height: 240px; }

  .nav-toggle { display: flex; }
  .nav-menu {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--bg);
    flex-direction: column;
    padding: 16px 24px;
    box-shadow: var(--shadow);
    transform: translateY(-150%);
    transition: transform 0.3s ease;
  }
  .nav-menu.open { transform: translateY(0); }

  .hero-actions { flex-direction: column; }
  .btn { width: 100%; }

  .download-main { padding: 32px 24px; }
  .compare-table th,
  .compare-table td { padding: 12px 14px; font-size: 0.85rem; }

  .cta-section h2 { font-size: 1.75rem; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
}
