/* ═══════════════════════════════════════════
   WPS Office Download Site - Main Stylesheet
   ═══════════════════════════════════════════ */

/* ─── CSS Variables ─── */
:root {
  --primary: #e60012;
  --primary-dark: #c4000f;
  --primary-light: #fff0f0;
  --secondary: #ff6b35;
  --accent: #1a1a2e;
  --text: #2d2d3a;
  --text-light: #5a5a6e;
  --text-muted: #8888a0;
  --bg: #ffffff;
  --bg-light: #f8f9fc;
  --bg-warm: #fef7f5;
  --border: #e8e8f0;
  --border-light: #f0f0f5;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
  --shadow-red: 0 8px 30px rgba(230,0,18,0.2);
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --max-width: 1200px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─── Reset & Base ─── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul, ol { list-style: none; }

/* ─── Scrollbar ─── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-light); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }

/* ─── Animations ─── */
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes slideInRight {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes countUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-fadeInUp { animation: fadeInUp 0.6s ease forwards; }
.animate-fadeIn { animation: fadeIn 0.5s ease forwards; }
.animate-slideInLeft { animation: slideInLeft 0.6s ease forwards; }
.animate-slideInRight { animation: slideInRight 0.6s ease forwards; }

/* ─── Container ─── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── Navigation ─── */
.main-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition);
}
.main-nav.scrolled {
  box-shadow: var(--shadow);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
  color: var(--accent);
}
.nav-logo svg {
  width: 32px;
  height: 32px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-link {
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-light);
  transition: var(--transition);
}
.nav-link:hover {
  color: var(--primary);
  background: var(--primary-light);
}
.nav-link.active {
  color: var(--primary);
  background: var(--primary-light);
  font-weight: 600;
}
.nav-cta {
  padding: 10px 22px;
  background: var(--primary);
  color: #fff !important;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition);
  margin-left: 8px;
}
.nav-cta:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-red);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: var(--transition);
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
  border-radius: var(--radius);
  transition: var(--transition);
  cursor: pointer;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-red);
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(230,0,18,0.3);
}
.btn-secondary {
  background: var(--bg-light);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-secondary:hover {
  background: var(--border-light);
  border-color: var(--text-muted);
}
.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: #fff;
}
.btn-large {
  padding: 16px 40px;
  font-size: 18px;
  border-radius: var(--radius-lg);
}
.btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* ─── Section Common ─── */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-light); }
.section-warm { background: var(--bg-warm); }
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  border-radius: 20px;
  margin-bottom: 16px;
}
.section-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 12px;
  line-height: 1.3;
}
.section-desc {
  font-size: 17px;
  color: var(--text-light);
  line-height: 1.7;
}

/* ─── Hero Section ─── */
.hero {
  position: relative;
  padding: 140px 0 100px;
  background: linear-gradient(135deg, #fff5f5 0%, #fff 50%, #f8f9fc 100%);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(230,0,18,0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,107,53,0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(230,0,18,0.08);
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
  border-radius: 20px;
  margin-bottom: 24px;
}
.hero-title {
  font-size: 52px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}
.hero-title span {
  color: var(--primary);
}
.hero-subtitle {
  font-size: 18px;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 520px;
}
.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-meta {
  display: flex;
  gap: 32px;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.hero-meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hero-meta-num {
  font-size: 28px;
  font-weight: 800;
  color: var(--primary);
}
.hero-meta-label {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-icon-bg {
  width: 380px;
  height: 380px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  position: relative;
  animation: float 6s ease-in-out infinite;
}
.hero-icon-bg svg {
  width: 160px;
  height: 160px;
  filter: drop-shadow(0 8px 20px rgba(0,0,0,0.2));
}
.hero-platform-badges {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(10px);
  padding: 10px 20px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-light);
  white-space: nowrap;
}

/* ─── Feature Cards ─── */
.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-lg);
  padding: 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  opacity: 0;
  transition: var(--transition);
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border);
}
.feature-card:hover::before {
  opacity: 1;
}
.feature-icon {
  width: 56px;
  height: 56px;
  background: var(--primary-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.feature-icon svg {
  width: 28px;
  height: 28px;
  color: var(--primary);
}
.feature-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 10px;
}
.feature-desc {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
}

/* ─── Download Section ─── */
.download-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.download-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition);
}
.download-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}
.download-card.featured {
  border: 2px solid var(--primary);
  position: relative;
}
.download-card.featured::before {
  content: '推荐';
  position: absolute;
  top: -1px;
  right: 20px;
  background: var(--primary);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 0 0 8px 8px;
}
.download-platform-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  background: var(--bg-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
}
.download-platform-icon svg {
  width: 32px;
  height: 32px;
  color: var(--primary);
}
.download-platform-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 6px;
}
.download-platform-desc {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.5;
}
.download-card .btn {
  width: 100%;
  padding: 12px;
  font-size: 14px;
}

/* ─── Platform Details ─── */
.platform-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 48px;
  background: var(--bg);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  margin-bottom: 24px;
}
.platform-detail:nth-child(even) {
  direction: rtl;
}
.platform-detail:nth-child(even) > * {
  direction: ltr;
}
.platform-detail-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
.platform-detail-icon {
  width: 200px;
  height: 200px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
}
.platform-detail-icon svg {
  width: 80px;
  height: 80px;
}
.platform-detail-content h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 12px;
}
.platform-detail-content p {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 20px;
}
.platform-specs {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.platform-spec {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-light);
}
.platform-spec svg {
  width: 18px;
  height: 18px;
  color: var(--primary);
  flex-shrink: 0;
}

/* ─── Function Deep Dive ─── */
.function-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.function-block {
  display: flex;
  gap: 24px;
  padding: 32px;
  background: var(--bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  transition: var(--transition);
}
.function-block:hover {
  box-shadow: var(--shadow);
  border-color: var(--border);
}
.function-block-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.function-block-icon svg {
  width: 30px;
  height: 30px;
}
.function-block-content h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 8px;
}
.function-block-content p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
}

/* ─── Testimonials ─── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--border-light);
  transition: var(--transition);
}
.testimonial-card:hover {
  box-shadow: var(--shadow);
}
.testimonial-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 14px;
}
.testimonial-stars svg {
  width: 18px;
  height: 18px;
  color: #ffc107;
}
.testimonial-text {
  font-size: 15px;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 20px;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
}
.testimonial-info {
  display: flex;
  flex-direction: column;
}
.testimonial-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--accent);
}
.testimonial-role {
  font-size: 13px;
  color: var(--text-muted);
}

/* ─── Stats ─── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat-card {
  text-align: center;
  padding: 40px 24px;
  background: var(--bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  transition: var(--transition);
}
.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.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: 36px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 4px;
}
.stat-label {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
}

/* ─── Comparison Table ─── */
.compare-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg);
}
.compare-table thead th {
  padding: 18px 24px;
  text-align: left;
  font-size: 15px;
  font-weight: 600;
  color: var(--accent);
  background: var(--bg-light);
  border-bottom: 1px solid var(--border);
}
.compare-table thead th:first-child {
  width: 40%;
}
.compare-table tbody td {
  padding: 16px 24px;
  font-size: 14px;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-light);
}
.compare-table tbody tr:hover td {
  background: var(--bg-light);
}
.compare-table tbody td:first-child {
  font-weight: 600;
  color: var(--accent);
}
.compare-yes {
  color: #2e7d32;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}
.compare-yes svg {
  width: 18px;
  height: 18px;
}
.compare-no {
  color: var(--text-muted);
}

/* ─── FAQ ─── */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--border-light);
  overflow: hidden;
}
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 22px 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--accent);
  text-align: left;
  cursor: pointer;
  transition: var(--transition);
}
.faq-question:hover {
  color: var(--primary);
}
.faq-icon {
  width: 24px;
  height: 24px;
  transition: var(--transition);
  flex-shrink: 0;
  margin-left: 16px;
}
.faq-item.active .faq-icon {
  transform: rotate(180deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}
.faq-item.active .faq-answer {
  max-height: 500px;
  padding-bottom: 22px;
}
.faq-answer p {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.8;
}

/* ─── Download Page Specific ─── */
.download-hero {
  padding: 140px 0 80px;
  background: linear-gradient(135deg, #fff5f5 0%, #fff 50%, #f8f9fc 100%);
  text-align: center;
}
.download-hero-title {
  font-size: 44px;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 16px;
}
.download-hero-desc {
  font-size: 18px;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

/* Main download card */
.main-download {
  background: var(--bg);
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  max-width: 700px;
  margin: 0 auto;
}
.main-download-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
}
.main-download-icon {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
}
.main-download-icon svg {
  width: 36px;
  height: 36px;
  color: #fff;
}
.main-download-info h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 4px;
}
.main-download-meta {
  font-size: 14px;
  color: var(--text-muted);
}
.main-download-btn {
  width: 100%;
  padding: 18px;
  font-size: 18px;
  margin-bottom: 16px;
}
.main-download-note {
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
}
.main-download-note a {
  color: var(--primary);
  text-decoration: underline;
}

/* Download cards row */
.platform-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.platform-card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--border);
  transition: var(--transition);
}
.platform-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}
.platform-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}
.platform-card-icon {
  width: 48px;
  height: 48px;
  background: var(--bg-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
}
.platform-card-icon svg {
  width: 24px;
  height: 24px;
  color: var(--primary);
}
.platform-card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--accent);
}
.platform-card-version {
  font-size: 13px;
  color: var(--text-muted);
}
.platform-card-specs {
  margin: 16px 0;
  padding: 16px;
  background: var(--bg-light);
  border-radius: var(--radius);
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.8;
}
.platform-card-specs strong {
  color: var(--accent);
  font-weight: 600;
}
.platform-steps {
  margin: 16px 0;
}
.platform-steps li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
}
.platform-steps .step-num {
  width: 22px;
  height: 22px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}
.platform-card .btn {
  width: 100%;
  margin-top: 8px;
}

/* ─── Installation Guide ─── */
.install-guide {
  background: var(--bg);
  border-radius: var(--radius-xl);
  padding: 40px;
  border: 1px solid var(--border);
}
.install-guide-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.install-guide-title svg {
  width: 28px;
  height: 28px;
  color: var(--primary);
}
.install-steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.install-step {
  display: flex;
  gap: 20px;
  padding: 24px;
  background: var(--bg-light);
  border-radius: var(--radius);
  border-left: 4px solid var(--primary);
}
.install-step-num {
  width: 40px;
  height: 40px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  flex-shrink: 0;
}
.install-step-content h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 6px;
}
.install-step-content p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
}

/* ─── System Requirements ─── */
.sysreq-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.sysreq-card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--border-light);
}
.sysreq-card h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.sysreq-card h4 svg {
  width: 20px;
  height: 20px;
  color: var(--primary);
}
.sysreq-card ul li {
  font-size: 14px;
  color: var(--text-light);
  padding: 6px 0;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
}
.sysreq-card ul li:last-child {
  border-bottom: none;
}
.sysreq-card ul li span:last-child {
  color: var(--text-muted);
  font-size: 13px;
}

/* ─── Changelog ─── */
.changelog-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.changelog-item {
  padding: 24px;
  background: var(--bg);
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
  border-left: 4px solid var(--primary);
}
.changelog-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.changelog-version {
  padding: 4px 12px;
  background: var(--primary);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  border-radius: 6px;
}
.changelog-date {
  font-size: 13px;
  color: var(--text-muted);
}
.changelog-changes {
  list-style: disc;
  padding-left: 20px;
}
.changelog-changes li {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 4px;
}

/* ─── Security Section ─── */
.security-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.security-card {
  text-align: center;
  padding: 36px 28px;
  background: var(--bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  transition: var(--transition);
}
.security-card:hover {
  box-shadow: var(--shadow);
}
.security-icon {
  width: 64px;
  height: 64px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.security-icon svg {
  width: 30px;
  height: 30px;
  color: var(--primary);
}
.security-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 10px;
}
.security-card p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
}

/* ─── SEO Page Specific ─── */
.seo-content {
  max-width: 900px;
  margin: 0 auto;
}
.seo-article {
  background: var(--bg);
  border-radius: var(--radius-xl);
  padding: 48px;
  border: 1px solid var(--border);
  margin-bottom: 32px;
}
.seo-article h2 {
  font-size: 26px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 16px;
}
.seo-article h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--accent);
  margin: 28px 0 12px;
}
.seo-article p {
  font-size: 16px;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 16px;
}
.seo-article ul, .seo-article ol {
  padding-left: 24px;
  margin-bottom: 16px;
}
.seo-article ul li, .seo-article ol li {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 8px;
}
.seo-article ul li { list-style: disc; }
.seo-article ol li { list-style: decimal; }
.seo-highlight {
  background: var(--primary-light);
  border-left: 4px solid var(--primary);
  padding: 20px 24px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 20px 0;
}
.seo-highlight p {
  margin-bottom: 0;
  color: var(--text);
  font-weight: 500;
}
.seo-cta-box {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: var(--radius-xl);
  padding: 48px;
  text-align: center;
  color: #fff;
}
.seo-cta-box h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 12px;
}
.seo-cta-box p {
  font-size: 16px;
  opacity: 0.9;
  margin-bottom: 24px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}
.seo-cta-box .btn {
  background: #fff;
  color: var(--primary);
  font-size: 18px;
  padding: 16px 40px;
}
.seo-cta-box .btn:hover {
  background: var(--bg-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

/* ─── Footer ─── */
.site-footer {
  background: var(--accent);
  color: #a0a0b8;
  padding: 48px 0 24px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 32px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}
.footer-brand svg {
  width: 28px;
  height: 28px;
}
.footer-desc {
  font-size: 14px;
  line-height: 1.7;
  max-width: 300px;
}
.footer-title {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 16px;
}
.footer-links li {
  margin-bottom: 10px;
}
.footer-links a {
  font-size: 14px;
  transition: var(--transition);
}
.footer-links a:hover {
  color: #fff;
}
.footer-disclaimer {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  text-align: center;
  font-size: 13px;
  line-height: 1.7;
}
.footer-disclaimer strong {
  color: #fff;
  font-weight: 600;
}

/* ─── Back to Top ─── */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-red);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition);
  z-index: 999;
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-4px);
}
.back-to-top svg {
  width: 20px;
  height: 20px;
}

/* ─── Responsive ─── */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .platform-cards { grid-template-columns: repeat(2, 1fr); }
  .sysreq-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 16px;
    gap: 4px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .nav-link { width: 100%; text-align: center; }
  .nav-cta { margin: 8px 0 0; width: 100%; text-align: center; }
  
  .hero { padding: 120px 0 60px; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-title { font-size: 36px; }
  .hero-subtitle { margin-left: auto; margin-right: auto; }
  .hero-buttons { justify-content: center; }
  .hero-meta { justify-content: center; }
  .hero-visual { display: none; }
  
  .section { padding: 60px 0; }
  .section-title { font-size: 28px; }
  
  .features-grid { grid-template-columns: 1fr; }
  .download-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .function-grid { grid-template-columns: 1fr; }
  .platform-detail { grid-template-columns: 1fr; }
  .platform-detail:nth-child(even) { direction: ltr; }
  .platform-cards { grid-template-columns: 1fr; }
  .sysreq-grid { grid-template-columns: 1fr; }
  .security-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  
  .download-hero-title { font-size: 32px; }
  .main-download { padding: 32px 24px; }
  .seo-article { padding: 32px 24px; }
  .install-guide { padding: 28px; }
  .install-step { flex-direction: column; gap: 12px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 28px; }
  .section-title { font-size: 24px; }
  .stat-number { font-size: 28px; }
  .stats-grid { grid-template-columns: 1fr; }
  .hero-meta { flex-direction: column; gap: 16px; align-items: center; }
}

/* ─── Print ─── */
@media print {
  .main-nav, .back-to-top { display: none; }
  .section { padding: 30px 0; }
}
