/* ========================================
   WPS Office Landing Page - Shared Styles
   ======================================== */

/* CSS Variables */
:root {
  --primary: #e60012;
  --primary-dark: #c4000f;
  --primary-light: #ff4d4f;
  --secondary: #ff6a00;
  --accent: #ff9500;
  --dark: #1a1a2e;
  --darker: #0f0f1a;
  --light: #f8f9fa;
  --white: #ffffff;
  --gray-100: #f1f3f4;
  --gray-200: #e8eaed;
  --gray-300: #dadce0;
  --gray-500: #9aa0a6;
  --gray-700: #5f6368;
  --gray-900: #202124;
  --success: #34a853;
  --warning: #fbbc04;
  --info: #4285f4;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.16);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --max-width: 1200px;
  --nav-height: 64px;
}

/* Reset & Base */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  color: var(--dark);
}

p {
  color: var(--gray-700);
}

/* ========================================
   Navigation
   ======================================== */
.nav-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--gray-200);
  z-index: 1000;
  transition: box-shadow 0.3s ease;
}

.nav-bar.scrolled {
  box-shadow: var(--shadow-md);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
  color: var(--primary);
}

.nav-logo svg {
  width: 32px;
  height: 32px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 500;
  color: var(--gray-700);
  transition: all 0.25s ease;
}

.nav-links a:hover {
  color: var(--primary);
  background: rgba(230,0,18,0.06);
}

.nav-links a.active {
  color: var(--primary);
  background: rgba(230,0,18,0.1);
  font-weight: 600;
}

.nav-cta {
  display: none;
}

@media (min-width: 640px) {
  .nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 20px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }
  .nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(230,0,18,0.3);
  }
  .nav-cta svg {
    width: 16px;
    height: 16px;
  }
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--gray-700);
  border-radius: 2px;
  transition: all 0.3s ease;
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }
  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 16px 24px;
    gap: 4px;
    border-bottom: 1px solid var(--gray-200);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  .nav-links a {
    width: 100%;
    padding: 12px 16px;
  }
}

/* ========================================
   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-md);
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  box-shadow: 0 4px 14px rgba(230,0,18,0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(230,0,18,0.35);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: var(--white);
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-secondary:hover {
  background: rgba(230,0,18,0.04);
}

.btn-large {
  padding: 16px 40px;
  font-size: 18px;
  border-radius: var(--radius-lg);
}

.btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* ========================================
   Sections & Layout
   ======================================== */
.section {
  padding: 80px 24px;
}

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.section-header h2 {
  font-size: 36px;
  margin-bottom: 16px;
}

.section-header p {
  font-size: 18px;
  color: var(--gray-500);
}

@media (max-width: 768px) {
  .section {
    padding: 56px 20px;
  }
  .section-header h2 {
    font-size: 28px;
  }
  .section-header p {
    font-size: 16px;
  }
}

/* ========================================
   Hero
   ======================================== */
.hero {
  padding-top: calc(var(--nav-height) + 80px);
  padding-bottom: 80px;
  background: linear-gradient(135deg, var(--darker) 0%, var(--dark) 50%, #2d1f3d 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 80%;
  height: 150%;
  background: radial-gradient(ellipse, rgba(230,0,18,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 60%;
  height: 100%;
  background: radial-gradient(ellipse, rgba(255,106,0,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content h1 {
  font-size: 52px;
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero-content h1 span {
  background: linear-gradient(135deg, var(--primary-light), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-content .subtitle {
  font-size: 20px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 36px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.hero-stat {
  text-align: left;
}

.hero-stat .num {
  font-size: 32px;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}

.hero-stat .label {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  margin-top: 6px;
}

.hero-visual {
  position: relative;
}

.hero-visual-inner {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-xl);
  padding: 32px;
  backdrop-filter: blur(10px);
}

.hero-mockup {
  width: 100%;
  aspect-ratio: 16/10;
  background: linear-gradient(145deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.mockup-doc {
  width: 30%;
  aspect-ratio: 3/4;
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,0.08);
}

.mockup-doc:nth-child(2) {
  background: rgba(230,0,18,0.08);
  border-color: rgba(230,0,18,0.15);
  transform: translateY(-8px);
}

@media (max-width: 968px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .hero-content h1 {
    font-size: 36px;
  }
  .hero-content .subtitle {
    font-size: 17px;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-stats {
    justify-content: center;
  }
  .hero-stat {
    text-align: center;
  }
  .hero-visual {
    order: -1;
  }
}

/* ========================================
   Cards
   ======================================== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gray-300);
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.card-icon svg {
  width: 26px;
  height: 26px;
}

.card-icon.red {
  background: rgba(230,0,18,0.08);
  color: var(--primary);
}

.card-icon.orange {
  background: rgba(255,106,0,0.08);
  color: var(--secondary);
}

.card-icon.blue {
  background: rgba(66,133,244,0.08);
  color: var(--info);
}

.card-icon.green {
  background: rgba(52,168,83,0.08);
  color: var(--success);
}

.card-icon.purple {
  background: rgba(156,39,176,0.08);
  color: #9c27b0;
}

.card-icon.teal {
  background: rgba(0,150,136,0.08);
  color: #009688;
}

.card h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.card p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--gray-700);
}

/* ========================================
   Feature Sections
   ======================================== */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
}

.feature-row:last-child {
  margin-bottom: 0;
}

.feature-row.reverse {
  direction: rtl;
}

.feature-row.reverse > * {
  direction: ltr;
}

.feature-image {
  background: var(--gray-100);
  border-radius: var(--radius-lg);
  aspect-ratio: 16/10;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid var(--gray-200);
}

.feature-image svg {
  width: 60%;
  height: 60%;
  opacity: 0.6;
}

.feature-text h3 {
  font-size: 28px;
  margin-bottom: 16px;
}

.feature-text p {
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 16px;
}

.feature-list {
  margin-top: 20px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 15px;
  color: var(--gray-700);
}

.feature-list li svg {
  width: 20px;
  height: 20px;
  color: var(--success);
  flex-shrink: 0;
  margin-top: 2px;
}

@media (max-width: 768px) {
  .feature-row {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 56px;
  }
  .feature-text h3 {
    font-size: 22px;
  }
  .feature-text p {
    font-size: 15px;
  }
}

/* ========================================
   Platform Downloads
   ======================================== */
.platforms-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.platform-card {
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: all 0.3s ease;
}

.platform-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.platform-card .plat-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  color: var(--gray-700);
}

.platform-card h4 {
  font-size: 18px;
  margin-bottom: 8px;
}

.platform-card p {
  font-size: 14px;
  color: var(--gray-500);
  margin-bottom: 20px;
  min-height: 40px;
}

.platform-card .btn {
  width: 100%;
  padding: 10px 20px;
  font-size: 14px;
}

@media (max-width: 968px) {
  .platforms-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .platforms-grid {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   Reviews
   ======================================== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.review-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all 0.3s ease;
}

.review-card:hover {
  box-shadow: var(--shadow-md);
}

.review-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
}

.review-stars svg {
  width: 18px;
  height: 18px;
  color: var(--warning);
}

.review-text {
  font-size: 15px;
  line-height: 1.7;
  color: var(--gray-700);
  margin-bottom: 20px;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 15px;
  flex-shrink: 0;
}

.review-info .name {
  font-size: 15px;
  font-weight: 600;
  color: var(--dark);
}

.review-info .role {
  font-size: 13px;
  color: var(--gray-500);
}

@media (max-width: 968px) {
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .reviews-grid {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   Stats Banner
   ======================================== */
.stats-banner {
  background: linear-gradient(135deg, var(--dark), var(--darker));
  padding: 60px 24px;
  position: relative;
  overflow: hidden;
}

.stats-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at center, rgba(230,0,18,0.08) 0%, transparent 60%);
  pointer-events: none;
}

.stats-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  position: relative;
  z-index: 1;
}

.stat-item {
  text-align: center;
}

.stat-item .num {
  font-size: 44px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary-light), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 10px;
}

.stat-item .label {
  font-size: 15px;
  color: rgba(255,255,255,0.6);
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
  .stat-item .num {
    font-size: 32px;
  }
}

/* ========================================
   Comparison Table
   ======================================== */
.compare-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}

.compare-table th {
  background: var(--gray-100);
  padding: 16px 24px;
  text-align: left;
  font-size: 15px;
  font-weight: 600;
  color: var(--gray-700);
  border-bottom: 2px solid var(--gray-200);
}

.compare-table td {
  padding: 16px 24px;
  font-size: 15px;
  color: var(--gray-700);
  border-bottom: 1px solid var(--gray-200);
}

.compare-table tr:hover td {
  background: rgba(230,0,18,0.02);
}

.compare-table .check {
  color: var(--success);
}

.compare-table .cross {
  color: var(--gray-500);
}

.compare-table .highlight {
  background: rgba(230,0,18,0.03);
  font-weight: 600;
  color: var(--primary);
}

.compare-table th.highlight,
.compare-table td:first-child.highlight {
  border-left: 3px solid var(--primary);
}

.compare-table svg {
  width: 20px;
  height: 20px;
  vertical-align: middle;
}

/* ========================================
   FAQ
   ======================================== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--gray-200);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  font-size: 17px;
  font-weight: 600;
  color: var(--dark);
  text-align: left;
  transition: color 0.2s ease;
}

.faq-question:hover {
  color: var(--primary);
}

.faq-question svg {
  width: 20px;
  height: 20px;
  color: var(--gray-500);
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item.open .faq-question svg {
  transform: rotate(180deg);
  color: var(--primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item.open .faq-answer {
  max-height: 500px;
  padding-bottom: 24px;
}

.faq-answer p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--gray-700);
}

/* ========================================
   Footer
   ======================================== */
.site-footer {
  background: var(--darker);
  color: rgba(255,255,255,0.6);
  padding: 48px 24px 32px;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-disclaimer {
  text-align: center;
  font-size: 13px;
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto;
}

.footer-disclaimer .security-note {
  display: block;
  margin-bottom: 12px;
  color: var(--success);
  font-weight: 600;
  font-size: 14px;
}

.footer-divider {
  height: 1px;
  background: rgba(255,255,255,0.08);
  margin: 24px auto;
  max-width: 600px;
}

/* ========================================
   Download Page Specific
   ======================================== */
.download-hero {
  padding-top: calc(var(--nav-height) + 60px);
  padding-bottom: 60px;
  background: linear-gradient(135deg, var(--darker), var(--dark));
  color: var(--white);
}

.download-hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}

.download-hero h1 {
  font-size: 42px;
  color: var(--white);
  margin-bottom: 16px;
}

.download-hero .version-meta {
  display: flex;
  gap: 24px;
  margin: 24px 0 32px;
  flex-wrap: wrap;
}

.download-hero .meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: rgba(255,255,255,0.6);
}

.download-hero .meta-item svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
}

.download-hero .main-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 48px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  font-size: 18px;
  font-weight: 700;
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 28px rgba(230,0,18,0.3);
  transition: all 0.25s ease;
}

.download-hero .main-download-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(230,0,18,0.4);
}

.download-hero .main-download-btn svg {
  width: 24px;
  height: 24px;
}

.download-hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.download-hero-visual .dl-icon-wrap {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}

.download-hero-visual .dl-icon-wrap svg {
  width: 80px;
  height: 80px;
  color: var(--primary-light);
}

@media (max-width: 968px) {
  .download-hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  .download-hero h1 {
    font-size: 32px;
  }
  .download-hero .version-meta {
    justify-content: center;
  }
}

/* Platform download cards (download page) */
.dl-platforms {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.dl-platform-card {
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.3s ease;
}

.dl-platform-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
}

.dl-platform-card .card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.dl-platform-card .card-header svg {
  width: 48px;
  height: 48px;
  color: var(--gray-700);
}

.dl-platform-card .card-header h4 {
  font-size: 20px;
}

.dl-platform-card .card-header span {
  font-size: 13px;
  color: var(--gray-500);
  display: block;
  margin-top: 4px;
}

.dl-platform-card .install-steps {
  margin: 20px 0;
  padding: 16px;
  background: var(--gray-100);
  border-radius: var(--radius-md);
}

.dl-platform-card .install-steps li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 14px;
  color: var(--gray-700);
}

.dl-platform-card .install-steps li:last-child {
  margin-bottom: 0;
}

.dl-platform-card .install-steps .step-num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dl-platform-card .sys-req {
  font-size: 13px;
  color: var(--gray-500);
  margin-bottom: 20px;
  line-height: 1.6;
}

.dl-platform-card .btn {
  width: 100%;
}

@media (max-width: 968px) {
  .dl-platforms {
    grid-template-columns: 1fr;
  }
}

/* Installation Guide */
.guide-steps {
  max-width: 800px;
  margin: 0 auto;
}

.guide-step {
  display: flex;
  gap: 24px;
  margin-bottom: 40px;
}

.guide-step:last-child {
  margin-bottom: 0;
}

.guide-step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  font-size: 20px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.guide-step-content h4 {
  font-size: 20px;
  margin-bottom: 8px;
}

.guide-step-content p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--gray-700);
}

.guide-step-visual {
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--gray-100);
  border-radius: var(--radius-md);
  margin-top: 16px;
  border: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
}

.guide-step-visual svg {
  width: 50%;
  height: 50%;
  opacity: 0.4;
}

@media (max-width: 640px) {
  .guide-step {
    flex-direction: column;
    gap: 16px;
  }
  .guide-step-num {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
}

/* System Requirements Table */
.sys-table {
  width: 100%;
  border-collapse: collapse;
}

.sys-table th,
.sys-table td {
  padding: 14px 20px;
  text-align: left;
  font-size: 15px;
  border-bottom: 1px solid var(--gray-200);
}

.sys-table th {
  background: var(--gray-100);
  font-weight: 600;
  color: var(--gray-700);
}

.sys-table td {
  color: var(--gray-700);
}

.sys-table tr:hover td {
  background: rgba(230,0,18,0.02);
}

/* Changelog */
.changelog-list {
  max-width: 800px;
  margin: 0 auto;
}

.changelog-item {
  padding: 24px 0;
  border-bottom: 1px solid var(--gray-200);
}

.changelog-item:last-child {
  border-bottom: none;
}

.changelog-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}

.changelog-header .version-tag {
  padding: 4px 12px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  border-radius: var(--radius-sm);
}

.changelog-header .version-date {
  font-size: 14px;
  color: var(--gray-500);
}

.changelog-item ul {
  padding-left: 20px;
  list-style: disc;
}

.changelog-item li {
  font-size: 15px;
  color: var(--gray-700);
  line-height: 1.7;
  margin-bottom: 6px;
}

/* Security Section */
.security-box {
  background: linear-gradient(135deg, rgba(52,168,83,0.05), rgba(66,133,244,0.05));
  border: 1px solid rgba(52,168,83,0.15);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
}

.security-box .security-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  color: var(--success);
}

.security-box h3 {
  font-size: 24px;
  margin-bottom: 12px;
}

.security-box p {
  font-size: 16px;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ========================================
   SEO Page Specific
   ======================================== */
.seo-hero {
  padding-top: calc(var(--nav-height) + 80px);
  padding-bottom: 80px;
  background: linear-gradient(135deg, var(--darker), #1a1025);
  color: var(--white);
  text-align: center;
}

.seo-hero h1 {
  font-size: 44px;
  color: var(--white);
  margin-bottom: 20px;
}

.seo-hero h1 span {
  background: linear-gradient(135deg, var(--primary-light), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.seo-hero p {
  font-size: 18px;
  color: rgba(255,255,255,0.65);
  max-width: 640px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.seo-content .feature-text p {
  color: var(--gray-700);
}

.keyword-highlight {
  background: rgba(230,0,18,0.06);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--primary);
  font-weight: 500;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--dark), var(--darker));
  padding: 80px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at center, rgba(230,0,18,0.1) 0%, transparent 60%);
  pointer-events: none;
}

.cta-section h2 {
  font-size: 36px;
  color: var(--white);
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.cta-section p {
  font-size: 18px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
}

/* ========================================
   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 pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.animate-fade-in {
  animation: fadeInUp 0.7s ease forwards;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   Utilities
   ======================================== */
.text-center {
  text-align: center;
}

.bg-light {
  background: var(--light);
}

.bg-white {
  background: var(--white);
}

.mt-0 { margin-top: 0; }
.mb-sm { margin-bottom: 16px; }
.mb-md { margin-bottom: 24px; }
.mb-lg { margin-bottom: 40px; }
