/* ═══════════════════════════════════════════════
   WPS Office Landing Page - Shared Styles
   Brand: WPS Red #E60012
   ═══════════════════════════════════════════════ */

/* ─── CSS Reset & Base ─── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #333;
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
  color: inherit;
}

ul, ol {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

/* ─── Spin Animation ─── */
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ─── Scroll Reveal ─── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ─── WPS Brand Colors ─── */
:root {
  --wps-red: #E60012;
  --wps-red-hover: #C4000F;
  --wps-red-light: #FFF0F1;
  --wps-dark: #1A1A1A;
  --wps-gray-900: #2D2D2D;
  --wps-gray-700: #4A4A4A;
  --wps-gray-500: #737373;
  --wps-gray-300: #B3B3B3;
  --wps-gray-100: #F5F5F5;
  --wps-border: #E8E8E8;
  --wps-blue: #1677FF;
  --wps-green: #52C41A;
  --wps-orange: #FA8C16;
  --max-width: 1200px;
  --radius: 8px;
  --radius-lg: 12px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
  --shadow-red: 0 4px 20px rgba(230,0,18,0.25);
}

/* ─── Layout Utilities ─── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--wps-dark);
  text-align: center;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--wps-gray-500);
  text-align: center;
  margin-bottom: 48px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 36px;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
  line-height: 1;
}

.btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.btn-primary {
  background: var(--wps-red);
  color: #fff;
  box-shadow: var(--shadow-red);
}
.btn-primary:hover:not(:disabled) {
  background: var(--wps-red-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(230,0,18,0.35);
}

.btn-secondary {
  background: #fff;
  color: var(--wps-red);
  border: 2px solid var(--wps-red);
}
.btn-secondary:hover:not(:disabled) {
  background: var(--wps-red-light);
}

.btn-large {
  padding: 18px 48px;
  font-size: 1.15rem;
  border-radius: var(--radius-lg);
}

.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--wps-red);
  color: #fff;
  font-weight: 600;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-red);
}
.btn-download:hover:not(:disabled) {
  background: var(--wps-red-hover);
  transform: translateY(-2px);
}

/* ─── Star Rating ─── */
.stars {
  display: flex;
  gap: 2px;
  color: #FFB800;
}

/* ─── Navigation ─── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--wps-border);
  z-index: 1000;
  transition: box-shadow 0.3s ease;
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--wps-red);
}

.nav-logo svg {
  width: 32px;
  height: 32px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  padding: 8px 20px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--wps-gray-700);
  border-radius: var(--radius);
  transition: all 0.25s ease;
  position: relative;
}

.nav-links a:hover {
  color: var(--wps-red);
  background: var(--wps-red-light);
}

.nav-links a.active {
  color: var(--wps-red);
  font-weight: 600;
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 20%;
  width: 60%;
  height: 3px;
  background: var(--wps-red);
  border-radius: 2px;
}

/* ─── Mobile Nav Toggle ─── */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--wps-dark);
  transition: all 0.3s ease;
}

/* ─── Hero Section ─── */
.hero {
  padding: 140px 0 100px;
  background: linear-gradient(135deg, #FFF5F5 0%, #fff 40%, #F0F7FF 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -100px;
  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(22,119,255,0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--wps-red-light);
  color: var(--wps-red);
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 20px;
  margin-bottom: 24px;
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  color: var(--wps-dark);
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.hero-title .highlight {
  color: var(--wps-red);
  position: relative;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--wps-gray-500);
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-meta {
  margin-top: 20px;
  font-size: 0.85rem;
  color: var(--wps-gray-300);
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 60px;
  flex-wrap: wrap;
}

.hero-stat {
  text-align: center;
}

.hero-stat-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--wps-red);
  display: block;
}

.hero-stat-label {
  font-size: 0.85rem;
  color: var(--wps-gray-500);
  margin-top: 4px;
}

/* ─── Feature Cards ─── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
}

.feature-card {
  background: #fff;
  border: 1px solid var(--wps-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.3s ease;
}

.feature-card:hover {
  border-color: rgba(230,0,18,0.2);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.feature-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--wps-red-light);
  border-radius: var(--radius);
  margin-bottom: 20px;
}

.feature-icon svg {
  width: 28px;
  height: 28px;
  color: var(--wps-red);
}

.feature-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--wps-dark);
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--wps-gray-500);
  line-height: 1.7;
}

/* ─── Platform Download Section ─── */
.platforms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.platform-card {
  background: #fff;
  border: 1px solid var(--wps-border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: all 0.3s ease;
}

.platform-card:hover {
  border-color: rgba(230,0,18,0.2);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.platform-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--wps-gray-100);
  border-radius: 50%;
}

.platform-icon svg {
  width: 32px;
  height: 32px;
  color: var(--wps-gray-700);
}

.platform-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--wps-dark);
  margin-bottom: 8px;
}

.platform-card p {
  font-size: 0.85rem;
  color: var(--wps-gray-500);
  margin-bottom: 20px;
  line-height: 1.6;
}

/* ─── Product Detail Section ─── */
.detail-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
}

.detail-block:last-child {
  margin-bottom: 0;
}

.detail-block.reverse {
  direction: rtl;
}

.detail-block.reverse > * {
  direction: ltr;
}

.detail-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.detail-image img {
  width: 100%;
  height: auto;
  display: block;
}

.detail-content h3 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--wps-dark);
  margin-bottom: 16px;
}

.detail-content p {
  font-size: 1rem;
  color: var(--wps-gray-500);
  line-height: 1.8;
  margin-bottom: 16px;
}

.detail-content ul {
  list-style: none;
  padding: 0;
}

.detail-content ul li {
  padding: 6px 0;
  font-size: 0.95rem;
  color: var(--wps-gray-700);
  display: flex;
  align-items: center;
  gap: 8px;
}

.detail-content ul li::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 18px;
  background: var(--wps-green);
  border-radius: 50%;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 12px;
  background-position: center;
  background-repeat: no-repeat;
}

/* ─── Reviews Section ─── */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
}

.review-card {
  background: #fff;
  border: 1px solid var(--wps-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all 0.3s ease;
}

.review-card:hover {
  box-shadow: var(--shadow-md);
}

.review-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.review-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--wps-red), #FF6B6B);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.review-info h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--wps-dark);
}

.review-stars {
  display: flex;
  gap: 2px;
  margin-top: 2px;
}

.review-stars svg {
  width: 16px;
  height: 16px;
  fill: #FFB800;
  color: #FFB800;
}

.review-text {
  font-size: 0.95rem;
  color: var(--wps-gray-500);
  line-height: 1.7;
}

/* ─── Stats Section ─── */
.stats-section {
  background: linear-gradient(135deg, var(--wps-dark) 0%, #2D2D2D 100%);
  padding: 80px 0;
  color: #fff;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  text-align: center;
}

.stat-item svg {
  width: 40px;
  height: 40px;
  margin: 0 auto 16px;
  color: var(--wps-red);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: #fff;
  display: block;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.6);
}

/* ─── Comparison Table ─── */
.compare-section {
  background: var(--wps-gray-100);
}

.compare-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  min-width: 600px;
}

.compare-table th {
  padding: 18px 24px;
  text-align: left;
  font-weight: 600;
  color: var(--wps-dark);
  background: #fff;
  border-bottom: 2px solid var(--wps-border);
  font-size: 1rem;
}

.compare-table th:first-child {
  width: 30%;
}

.compare-table th .wps-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--wps-red);
}

.compare-table td {
  padding: 16px 24px;
  border-bottom: 1px solid var(--wps-border);
  font-size: 0.95rem;
  color: var(--wps-gray-700);
}

.compare-table tr:last-child td {
  border-bottom: none;
}

.compare-table .check {
  color: var(--wps-green);
  font-weight: 600;
}

.compare-table .cross {
  color: var(--wps-gray-300);
}

.compare-table .highlight-row {
  background: var(--wps-red-light);
}

.compare-table .highlight-row td {
  color: var(--wps-dark);
  font-weight: 600;
}

/* ─── FAQ Section ─── */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--wps-border);
}

.faq-question {
  width: 100%;
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--wps-dark);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  transition: color 0.2s ease;
}

.faq-question:hover {
  color: var(--wps-red);
}

.faq-question svg {
  width: 20px;
  height: 20px;
  color: var(--wps-gray-500);
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item.open .faq-question svg {
  transform: rotate(180deg);
  color: var(--wps-red);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease, opacity 0.3s ease;
  opacity: 0;
}

.faq-item.open .faq-answer {
  max-height: 500px;
  padding-bottom: 24px;
  opacity: 1;
}

.faq-answer p {
  font-size: 0.95rem;
  color: var(--wps-gray-500);
  line-height: 1.8;
}

/* ─── Download Section ─── */
.download-hero {
  padding: 140px 0 80px;
  background: linear-gradient(135deg, #FFF5F5 0%, #fff 50%, #F0F7FF 100%);
}

.download-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.download-info h1 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--wps-dark);
  margin-bottom: 16px;
  line-height: 1.2;
}

.download-info .version-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--wps-red-light);
  color: var(--wps-red);
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 20px;
  margin-bottom: 20px;
}

.download-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 28px;
  font-size: 0.9rem;
  color: var(--wps-gray-500);
}

.download-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.download-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}

.download-note {
  font-size: 0.8rem;
  color: var(--wps-gray-300);
}

.download-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.download-visual img {
  max-width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

/* ─── Platform Download Cards (Download Page) ─── */
.platform-download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.platform-download-card {
  background: #fff;
  border: 1px solid var(--wps-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.3s ease;
}

.platform-download-card:hover {
  border-color: rgba(230,0,18,0.2);
  box-shadow: var(--shadow-lg);
}

.platform-download-card .p-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--wps-gray-100);
  border-radius: var(--radius);
  margin-bottom: 20px;
}

.platform-download-card .p-icon svg {
  width: 28px;
  height: 28px;
  color: var(--wps-gray-700);
}

.platform-download-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--wps-dark);
  margin-bottom: 12px;
}

.platform-download-card .p-meta {
  font-size: 0.85rem;
  color: var(--wps-gray-500);
  margin-bottom: 20px;
  line-height: 1.7;
}

.platform-download-card .p-steps {
  font-size: 0.85rem;
  color: var(--wps-gray-500);
  margin-bottom: 20px;
  padding-left: 18px;
  list-style: decimal;
}

.platform-download-card .p-steps li {
  margin-bottom: 6px;
  line-height: 1.6;
}

/* ─── Install Guide ─── */
.guide-section {
  background: var(--wps-gray-100);
}

.guide-block {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 40px;
  margin-bottom: 32px;
  box-shadow: var(--shadow-sm);
}

.guide-block:last-child {
  margin-bottom: 0;
}

.guide-block h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--wps-dark);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.guide-steps {
  counter-reset: step;
}

.guide-step {
  display: flex;
  gap: 20px;
  margin-bottom: 28px;
  position: relative;
}

.guide-step:last-child {
  margin-bottom: 0;
}

.guide-step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--wps-red);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

.guide-step-content h4 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--wps-dark);
  margin-bottom: 6px;
}

.guide-step-content p {
  font-size: 0.9rem;
  color: var(--wps-gray-500);
  line-height: 1.7;
}

/* ─── System Requirements ─── */
.sysreq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.sysreq-card {
  background: #fff;
  border: 1px solid var(--wps-border);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.sysreq-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--wps-dark);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sysreq-card ul {
  list-style: none;
}

.sysreq-card ul li {
  padding: 6px 0;
  font-size: 0.9rem;
  color: var(--wps-gray-500);
  border-bottom: 1px solid var(--wps-border);
  display: flex;
  justify-content: space-between;
}

.sysreq-card ul li:last-child {
  border-bottom: none;
}

.sysreq-card ul li span:first-child {
  color: var(--wps-gray-700);
}

/* ─── Changelog ─── */
.changelog-list {
  max-width: 800px;
  margin: 0 auto;
}

.changelog-item {
  background: #fff;
  border: 1px solid var(--wps-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 16px;
}

.changelog-item:last-child {
  margin-bottom: 0;
}

.changelog-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.changelog-version {
  padding: 4px 12px;
  background: var(--wps-red);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: 20px;
}

.changelog-date {
  font-size: 0.85rem;
  color: var(--wps-gray-300);
}

.changelog-item ul {
  padding-left: 18px;
  list-style: disc;
}

.changelog-item ul li {
  padding: 4px 0;
  font-size: 0.9rem;
  color: var(--wps-gray-500);
  line-height: 1.6;
}

/* ─── Security Section ─── */
.security-section {
  background: linear-gradient(135deg, #E8F5E9 0%, #fff 100%);
}

.security-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.security-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid #C8E6C9;
}

.security-card svg {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  color: var(--wps-green);
}

.security-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--wps-dark);
  margin-bottom: 8px;
}

.security-card p {
  font-size: 0.9rem;
  color: var(--wps-gray-500);
  line-height: 1.6;
}

/* ─── SEO Page Specific ─── */
.seo-hero {
  padding: 140px 0 80px;
  background: linear-gradient(135deg, #FFF5F5 0%, #fff 50%, #F5F0FF 100%);
}

.seo-content {
  max-width: 800px;
  margin: 0 auto;
}

.seo-article h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--wps-dark);
  margin: 48px 0 20px;
}

.seo-article h2:first-child {
  margin-top: 0;
}

.seo-article p {
  font-size: 1rem;
  color: var(--wps-gray-500);
  line-height: 1.8;
  margin-bottom: 16px;
}

.seo-article ul {
  padding-left: 24px;
  list-style: disc;
  margin-bottom: 16px;
}

.seo-article ul li {
  padding: 6px 0;
  font-size: 1rem;
  color: var(--wps-gray-500);
  line-height: 1.7;
}

.seo-cta-box {
  background: linear-gradient(135deg, var(--wps-red) 0%, #FF4757 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 48px;
  text-align: center;
  margin: 48px 0;
}

.seo-cta-box h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.seo-cta-box p {
  font-size: 1rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 24px;
}

.seo-cta-box .btn {
  background: #fff;
  color: var(--wps-red);
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.seo-cta-box .btn:hover {
  background: #FFF5F5;
}

.keyword-tag {
  display: inline-block;
  padding: 4px 12px;
  background: var(--wps-red-light);
  color: var(--wps-red);
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 20px;
  margin: 4px 4px 4px 0;
}

/* ─── CTA Banner ─── */
.cta-banner {
  background: linear-gradient(135deg, var(--wps-dark) 0%, #3D0005 100%);
  padding: 80px 0;
  text-align: center;
  color: #fff;
}

.cta-banner h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.cta-banner p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ─── Footer ─── */
.footer {
  background: var(--wps-dark);
  color: rgba(255,255,255,0.5);
  padding: 40px 0 32px;
  font-size: 0.85rem;
}

.footer-content {
  text-align: center;
}

.footer-disclaimer {
  margin-bottom: 12px;
  padding: 16px;
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.08);
}

.footer-disclaimer svg {
  width: 16px;
  height: 16px;
  display: inline-block;
  vertical-align: middle;
  margin-right: 6px;
  color: var(--wps-green);
}

.footer-copy {
  color: rgba(255,255,255,0.3);
}

/* ─── Scroll To Top ─── */
.scroll-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  background: var(--wps-red);
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-red);
  z-index: 999;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  background: var(--wps-red-hover);
  transform: translateY(-3px);
}

.scroll-top svg {
  width: 20px;
  height: 20px;
}

/* ─── Responsive ─── */
@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.98);
    flex-direction: column;
    padding: 16px 24px;
    border-bottom: 1px solid var(--wps-border);
    gap: 0;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    display: block;
    padding: 12px 16px;
    width: 100%;
  }

  .nav-links a.active::after {
    display: none;
  }

  .hero {
    padding: 120px 0 60px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .section {
    padding: 60px 0;
  }

  .detail-block,
  .detail-block.reverse {
    grid-template-columns: 1fr;
    gap: 32px;
    direction: ltr;
  }

  .detail-block.reverse > * {
    direction: ltr;
  }

  .download-main {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-stats {
    gap: 24px;
  }

  .features-grid,
  .reviews-grid,
  .platforms-grid,
  .platform-download-grid,
  .sysreq-grid,
  .security-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .guide-block {
    padding: 24px;
  }

  .btn-large {
    padding: 16px 36px;
    font-size: 1rem;
  }

  .seo-cta-box {
    padding: 32px 24px;
  }

  .cta-banner h2 {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.6rem;
  }

  .section-title {
    font-size: 1.4rem;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }
}
