/* =====================================================
   WPS Office Download Site - Global Stylesheet
   ===================================================== */

/* CSS Reset & Base */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Brand Colors */
  --wps-red: #e60012;
  --wps-red-dark: #c4000f;
  --wps-red-light: #ff4d5e;
  --wps-navy: #0f172a;
  --wps-navy-light: #1e293b;
  --wps-gray-50: #f8fafc;
  --wps-gray-100: #f1f5f9;
  --wps-gray-200: #e2e8f0;
  --wps-gray-300: #cbd5e1;
  --wps-gray-400: #94a3b8;
  --wps-gray-500: #64748b;
  --wps-gray-600: #475569;
  --wps-gray-700: #334155;
  --wps-gray-800: #1e293b;
  --wps-gray-900: #0f172a;
  
  /* Typography */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace;
  
  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  
  /* Layout */
  --max-width: 1200px;
  --header-height: 72px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --shadow-red: 0 10px 30px -5px rgb(230 0 18 / 0.3);
  
  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--wps-gray-700);
  background: #fff;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Utility Classes */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.section-padding {
  padding: var(--space-20) 0;
}

.text-center {
  text-align: center;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Spin Animation for Loading */
@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; }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease forwards;
}

/* =====================================================
   Header & Navigation
   ===================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--wps-gray-200);
  z-index: 1000;
  transition: box-shadow var(--transition-base);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--wps-navy);
  letter-spacing: -0.02em;
}

.logo-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.nav-link {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--wps-gray-600);
  transition: all var(--transition-fast);
}

.nav-link:hover {
  color: var(--wps-gray-900);
  background: var(--wps-gray-100);
}

.nav-link.active {
  color: var(--wps-red);
  background: rgba(230, 0, 18, 0.08);
}

.nav-link svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-2);
  color: var(--wps-gray-700);
}

/* =====================================================
   Hero Section
   ===================================================== */
.hero {
  position: relative;
  padding: calc(var(--header-height) + var(--space-24)) 0 var(--space-24);
  background: linear-gradient(135deg, var(--wps-navy) 0%, var(--wps-navy-light) 50%, #1a1a3e 100%);
  overflow: hidden;
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.06;
  background-image: radial-gradient(circle at 1px 1px, white 1px, transparent 0);
  background-size: 32px 32px;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 9999px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.875rem;
  margin-bottom: var(--space-6);
  backdrop-filter: blur(4px);
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  color: #fff;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-6);
}

.hero-title .highlight {
  color: #ff6b7a;
  position: relative;
}

.hero-desc {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.75);
  max-width: 560px;
  margin-bottom: var(--space-10);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-8);
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  font-family: inherit;
  white-space: nowrap;
}

.btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.btn-primary {
  background: var(--wps-red);
  color: #fff;
  box-shadow: var(--shadow-red);
}

.btn-primary:hover {
  background: var(--wps-red-dark);
  transform: translateY(-2px);
  box-shadow: 0 14px 36px -6px rgb(230 0 18 / 0.4);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--wps-gray-600);
  border: 1px solid var(--wps-gray-300);
}

.btn-ghost:hover {
  background: var(--wps-gray-50);
  color: var(--wps-gray-900);
  border-color: var(--wps-gray-400);
}

.btn-lg {
  padding: var(--space-4) var(--space-10);
  font-size: 1.125rem;
}

.hero-visual {
  position: relative;
  z-index: 2;
  margin-top: var(--space-12);
}

.hero-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}

.hero-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  backdrop-filter: blur(8px);
  transition: all var(--transition-base);
}

.hero-card:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.2);
}

.hero-card-icon {
  width: 44px;
  height: 44px;
  background: rgba(230, 0, 18, 0.2);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
}

.hero-card-icon svg {
  width: 24px;
  height: 24px;
  color: #ff8a95;
}

.hero-card-title {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: var(--space-2);
}

.hero-card-text {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.5;
}

/* =====================================================
   Section Components
   ===================================================== */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--space-16);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: rgba(230, 0, 18, 0.08);
  color: var(--wps-red);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 9999px;
  margin-bottom: var(--space-4);
}

.section-label svg {
  width: 14px;
  height: 14px;
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--wps-gray-900);
  line-height: 1.2;
  margin-bottom: var(--space-4);
  letter-spacing: -0.02em;
}

.section-desc {
  font-size: 1.0625rem;
  color: var(--wps-gray-500);
  line-height: 1.7;
}

/* Feature Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.feature-card {
  background: #fff;
  border: 1px solid var(--wps-gray-200);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  transition: all var(--transition-base);
}

.feature-card:hover {
  border-color: var(--wps-gray-300);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.feature-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, rgba(230, 0, 18, 0.1), rgba(230, 0, 18, 0.05));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-5);
}

.feature-icon svg {
  width: 26px;
  height: 26px;
  color: var(--wps-red);
}

.feature-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--wps-gray-900);
  margin-bottom: var(--space-3);
}

.feature-text {
  font-size: 0.9375rem;
  color: var(--wps-gray-500);
  line-height: 1.6;
}

/* Stats Section */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-8);
}

.stat-item {
  text-align: center;
  padding: var(--space-8);
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--wps-gray-200);
  transition: all var(--transition-base);
}

.stat-item:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--wps-red);
  line-height: 1;
  margin-bottom: var(--space-3);
  font-family: var(--font-mono);
}

.stat-label {
  font-size: 0.9375rem;
  color: var(--wps-gray-500);
  font-weight: 500;
}

/* Download Platform Grid */
.platform-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
}

.platform-card {
  display: flex;
  align-items: flex-start;
  gap: var(--space-6);
  padding: var(--space-8);
  background: #fff;
  border: 1px solid var(--wps-gray-200);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
}

.platform-card:hover {
  border-color: var(--wps-gray-300);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.platform-card.featured {
  border-color: var(--wps-red);
  background: linear-gradient(135deg, rgba(230, 0, 18, 0.03), rgba(230, 0, 18, 0.01));
  position: relative;
  overflow: hidden;
}

.platform-card.featured::before {
  content: "推荐";
  position: absolute;
  top: var(--space-4);
  right: calc(-1 * var(--space-4));
  background: var(--wps-red);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: var(--space-1) var(--space-8);
  transform: rotate(45deg);
  transform-origin: center;
}

.platform-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--wps-gray-100), var(--wps-gray-50));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.platform-icon svg {
  width: 32px;
  height: 32px;
  color: var(--wps-gray-700);
}

.platform-info {
  flex: 1;
}

.platform-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--wps-gray-900);
  margin-bottom: var(--space-2);
}

.platform-version {
  font-size: 0.8125rem;
  color: var(--wps-gray-400);
  margin-bottom: var(--space-3);
  font-family: var(--font-mono);
}

.platform-desc {
  font-size: 0.9375rem;
  color: var(--wps-gray-500);
  line-height: 1.6;
  margin-bottom: var(--space-4);
}

.platform-meta {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  font-size: 0.8125rem;
  color: var(--wps-gray-400);
  margin-bottom: var(--space-5);
}

.platform-meta span {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.platform-meta svg {
  width: 14px;
  height: 14px;
}

.platform-actions {
  display: flex;
  gap: var(--space-3);
}

.btn-sm {
  padding: var(--space-2) var(--space-5);
  font-size: 0.875rem;
}

/* =====================================================
   Testimonials
   ===================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.testimonial-card {
  background: #fff;
  border: 1px solid var(--wps-gray-200);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  transition: all var(--transition-base);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.testimonial-stars {
  display: flex;
  gap: var(--space-1);
  margin-bottom: var(--space-4);
}

.testimonial-stars svg {
  width: 18px;
  height: 18px;
  color: #f59e0b;
  fill: #f59e0b;
}

.testimonial-text {
  font-size: 1rem;
  color: var(--wps-gray-600);
  line-height: 1.7;
  margin-bottom: var(--space-6);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--wps-red), var(--wps-red-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 600;
  font-size: 0.875rem;
  flex-shrink: 0;
}

.testimonial-name {
  font-weight: 600;
  color: var(--wps-gray-900);
  font-size: 0.9375rem;
}

.testimonial-role {
  font-size: 0.8125rem;
  color: var(--wps-gray-400);
}

/* =====================================================
   FAQ Accordion
   ===================================================== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--wps-gray-200);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-4);
  overflow: hidden;
  transition: all var(--transition-base);
}

.faq-item:hover {
  border-color: var(--wps-gray-300);
}

.faq-item.active {
  border-color: var(--wps-gray-300);
  box-shadow: var(--shadow-md);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-5) var(--space-6);
  cursor: pointer;
  font-weight: 600;
  color: var(--wps-gray-900);
  font-size: 1rem;
  user-select: none;
  transition: background var(--transition-fast);
}

.faq-question:hover {
  background: var(--wps-gray-50);
}

.faq-question svg {
  width: 20px;
  height: 20px;
  color: var(--wps-gray-400);
  flex-shrink: 0;
  transition: transform var(--transition-base);
}

.faq-item.active .faq-question svg {
  transform: rotate(180deg);
  color: var(--wps-red);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow), padding var(--transition-slow);
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer-inner {
  padding: 0 var(--space-6) var(--space-6);
  color: var(--wps-gray-500);
  line-height: 1.7;
  font-size: 0.9375rem;
}

/* =====================================================
   Comparison Table
   ===================================================== */
.comparison-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--wps-gray-200);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  font-size: 0.9375rem;
}

.comparison-table th,
.comparison-table td {
  padding: var(--space-4) var(--space-6);
  text-align: left;
  border-bottom: 1px solid var(--wps-gray-200);
}

.comparison-table th {
  background: var(--wps-gray-50);
  font-weight: 600;
  color: var(--wps-gray-700);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.comparison-table th.highlight-col {
  background: rgba(230, 0, 18, 0.06);
  color: var(--wps-red);
}

.comparison-table td.highlight-col {
  background: rgba(230, 0, 18, 0.02);
  font-weight: 500;
  color: var(--wps-gray-800);
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.check-icon {
  width: 20px;
  height: 20px;
  color: #10b981;
}

.x-icon {
  width: 20px;
  height: 20px;
  color: var(--wps-gray-300);
}

/* =====================================================
   SEO Content Article
   ===================================================== */
.article-section {
  max-width: 800px;
  margin: 0 auto;
}

.article-block {
  margin-bottom: var(--space-12);
}

.article-block h3 {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--wps-gray-900);
  margin-bottom: var(--space-4);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.article-block h3 svg {
  width: 24px;
  height: 24px;
  color: var(--wps-red);
  flex-shrink: 0;
}

.article-block p {
  color: var(--wps-gray-600);
  line-height: 1.8;
  margin-bottom: var(--space-4);
  font-size: 1rem;
}

.article-block ul {
  list-style: none;
  padding-left: 0;
}

.article-block ul li {
  position: relative;
  padding-left: var(--space-6);
  margin-bottom: var(--space-3);
  color: var(--wps-gray-600);
  line-height: 1.7;
}

.article-block ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 6px;
  background: var(--wps-red);
  border-radius: 50%;
}

/* =====================================================
   CTA Section
   ===================================================== */
.cta-section {
  background: linear-gradient(135deg, var(--wps-navy) 0%, var(--wps-navy-light) 100%);
  border-radius: var(--radius-xl);
  padding: var(--space-16) var(--space-12);
  text-align: center;
  position: relative;
  overflow: hidden;
  margin: var(--space-20) auto;
  max-width: 1000px;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(230, 0, 18, 0.15) 0%, transparent 50%);
  pointer-events: none;
}

.cta-title {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: var(--space-4);
  position: relative;
  z-index: 1;
}

.cta-desc {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.0625rem;
  margin-bottom: var(--space-8);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}

/* =====================================================
   Changelog / Timeline
   ===================================================== */
.timeline {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  padding-left: var(--space-8);
}

.timeline::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--wps-red), var(--wps-gray-300));
  border-radius: 1px;
}

.timeline-item {
  position: relative;
  padding-bottom: var(--space-8);
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: calc(-1 * var(--space-8) - 5px);
  top: var(--space-1);
  width: 12px;
  height: 12px;
  background: var(--wps-red);
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 0 0 3px rgba(230, 0, 18, 0.2);
}

.timeline-date {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--wps-red);
  margin-bottom: var(--space-2);
  font-family: var(--font-mono);
}

.timeline-title {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--wps-gray-900);
  margin-bottom: var(--space-2);
}

.timeline-text {
  font-size: 0.9375rem;
  color: var(--wps-gray-500);
  line-height: 1.6;
}

/* =====================================================
   Tips Grid
   ===================================================== */
.tips-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
}

.tip-card {
  background: #fff;
  border: 1px solid var(--wps-gray-200);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  transition: all var(--transition-base);
}

.tip-card:hover {
  border-color: var(--wps-gray-300);
  box-shadow: var(--shadow-md);
}

.tip-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--wps-red);
  color: #fff;
  font-weight: 700;
  font-size: 0.875rem;
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-4);
}

.tip-title {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--wps-gray-900);
  margin-bottom: var(--space-2);
}

.tip-text {
  font-size: 0.9375rem;
  color: var(--wps-gray-500);
  line-height: 1.6;
}

/* =====================================================
   Footer
   ===================================================== */
.site-footer {
  background: var(--wps-navy);
  color: var(--wps-gray-400);
  padding: var(--space-16) 0 var(--space-8);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-12);
  margin-bottom: var(--space-12);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: #fff;
  font-weight: 700;
  font-size: 1.125rem;
  margin-bottom: var(--space-4);
}

.footer-brand svg {
  width: 32px;
  height: 32px;
}

.footer-desc {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--wps-gray-500);
  margin-bottom: var(--space-6);
}

.footer-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-5);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: var(--space-3);
}

.footer-links a {
  font-size: 0.9375rem;
  color: var(--wps-gray-400);
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: #fff;
}

.footer-divider {
  height: 1px;
  background: var(--wps-navy-light);
  margin-bottom: var(--space-6);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.footer-bottom p {
  font-size: 0.8125rem;
  color: var(--wps-gray-500);
}

.footer-bottom a {
  color: var(--wps-gray-400);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-bottom a:hover {
  color: #fff;
}

/* =====================================================
   SEO Badge Banner
   ===================================================== */
.seo-banner {
  background: linear-gradient(135deg, rgba(230, 0, 18, 0.08), rgba(230, 0, 18, 0.03));
  border: 1px solid rgba(230, 0, 18, 0.15);
  border-radius: var(--radius-lg);
  padding: var(--space-6) var(--space-8);
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
}

.seo-banner-icon {
  width: 40px;
  height: 40px;
  background: rgba(230, 0, 18, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.seo-banner-icon svg {
  width: 22px;
  height: 22px;
  color: var(--wps-red);
}

.seo-banner-text {
  font-size: 0.9375rem;
  color: var(--wps-gray-600);
  line-height: 1.6;
}

.seo-banner-text strong {
  color: var(--wps-gray-900);
}

/* =====================================================
   Responsive Styles
   ===================================================== */
@media (max-width: 1024px) {
  .features-grid,
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .hero-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 64px;
  }
  
  .container {
    padding: 0 var(--space-4);
  }
  
  .section-padding {
    padding: var(--space-12) 0;
  }
  
  .main-nav {
    display: none;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    padding: var(--space-4);
    gap: var(--space-2);
    border-bottom: 1px solid var(--wps-gray-200);
    box-shadow: var(--shadow-lg);
  }
  
  .main-nav.open {
    display: flex;
  }
  
  .nav-link {
    width: 100%;
    justify-content: flex-start;
    padding: var(--space-3) var(--space-4);
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .hero {
    padding-top: calc(var(--header-height) + var(--space-16));
    padding-bottom: var(--space-16);
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-cards {
    grid-template-columns: 1fr;
  }
  
  .features-grid,
  .testimonials-grid,
  .stats-grid,
  .platform-grid,
  .tips-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
  
  .platform-card {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .cta-section {
    padding: var(--space-10) var(--space-6);
    margin: var(--space-12) var(--space-4);
  }
  
  .btn-lg {
    padding: var(--space-3) var(--space-6);
    font-size: 1rem;
  }
  
  .comparison-table th,
  .comparison-table td {
    padding: var(--space-3) var(--space-4);
    font-size: 0.875rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .timeline {
    padding-left: var(--space-6);
  }
  
  .timeline-dot {
    left: calc(-1 * var(--space-6) - 5px);
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  
  .btn {
    width: 100%;
  }
  
  .platform-actions {
    flex-direction: column;
  }
  
  .platform-actions .btn {
    width: 100%;
  }
}

/* =====================================================
   Scroll Reveal Animation
   ===================================================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
