/* ===== WPS Office Download Site - Global Styles ===== */
/* Original design, content-rich landing page */

:root {
  --primary: #E60012;
  --primary-dark: #C0000F;
  --primary-light: #FF6B6B;
  --accent: #FF8C32;
  --accent-light: #FFF0E0;
  --dark: #1A1A2E;
  --dark-light: #2D2D44;
  --gray-900: #111111;
  --gray-800: #222222;
  --gray-700: #444444;
  --gray-600: #666666;
  --gray-500: #888888;
  --gray-400: #AAAAAA;
  --gray-300: #CCCCCC;
  --gray-200: #E5E5E5;
  --gray-100: #F5F5F5;
  --white: #FFFFFF;
  --success: #22C55E;
  --warning: #F59E0B;
  --info: #3B82F6;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
  --shadow-primary: 0 8px 30px rgba(230,0,18,0.25);
  --max-width: 1200px;
  --header-height: 72px;
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--gray-800);
  line-height: 1.6;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ===== Scrollbar ===== */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--gray-100);
}
::-webkit-scrollbar-thumb {
  background: var(--gray-400);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gray-500);
}

/* ===== Keyframes ===== */
@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 float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* ===== Header / Navigation ===== */
.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(--gray-200);
  z-index: 1000;
  transition: box-shadow 0.3s ease;
}

.header.scrolled {
  box-shadow: var(--shadow);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 20px;
  color: var(--primary);
}

.logo svg {
  width: 32px;
  height: 32px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  padding: 8px 20px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 500;
  color: var(--gray-700);
  transition: all 0.3s ease;
}

.nav-link:hover {
  color: var(--primary);
  background: var(--accent-light);
}

.nav-link.active {
  color: var(--primary);
  background: var(--accent-light);
  font-weight: 600;
}

/* ===== Mobile Menu ===== */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: var(--white);
  box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px 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: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--gray-700);
  border: 1px solid var(--gray-300);
}

.btn-ghost:hover {
  background: var(--gray-100);
  border-color: var(--gray-400);
}

.btn-lg {
  padding: 16px 40px;
  font-size: 18px;
  border-radius: var(--radius-lg);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 14px;
}

/* ===== Section Common Styles ===== */
.section {
  padding: 80px 24px;
}

.section-alt {
  background: var(--gray-100);
}

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-label {
  display: inline-block;
  padding: 6px 16px;
  background: var(--accent-light);
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  border-radius: 100px;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 18px;
  color: var(--gray-600);
  max-width: 600px;
  margin: 0 auto;
}

/* ===== Hero Section ===== */
.hero {
  padding-top: calc(var(--header-height) + 60px);
  padding-bottom: 80px;
  background: linear-gradient(180deg, #FFF8F5 0%, var(--white) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,140,50,0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(230,0,18,0.06) 0%, transparent 70%);
  border-radius: 50%;
}

.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-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--accent-light);
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
  border-radius: 100px;
  margin-bottom: 24px;
}

.hero-title {
  font-size: 52px;
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero-title span {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 18px;
  color: var(--gray-600);
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.hero-meta {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.hero-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--gray-600);
}

.hero-meta-item svg {
  width: 18px;
  height: 18px;
  color: var(--success);
}

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero-visual-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 32px;
  width: 100%;
  max-width: 520px;
  animation: float 6s ease-in-out infinite;
}

.hero-visual-header {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}

.hero-visual-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.hero-visual-dot.red { background: #FF5F57; }
.hero-visual-dot.yellow { background: #FFBD2E; }
.hero-visual-dot.green { background: #28CA42; }

.hero-visual-content {
  background: linear-gradient(135deg, var(--gray-100) 0%, var(--white) 100%);
  border-radius: var(--radius);
  padding: 24px;
  min-height: 200px;
}

.hero-visual-line {
  height: 12px;
  background: var(--gray-200);
  border-radius: 6px;
  margin-bottom: 12px;
  width: 100%;
}

.hero-visual-line.short { width: 60%; }
.hero-visual-line.medium { width: 80%; }

/* ===== Feature Cards ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid var(--gray-200);
  transition: all 0.3s ease;
}

.feature-card:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.feature-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-light);
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
}

.feature-icon svg {
  width: 28px;
  height: 28px;
  color: var(--primary);
}

.feature-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 12px;
}

.feature-desc {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.7;
}

/* ===== Platform Download Section ===== */
.platforms-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.platform-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  border: 1px solid var(--gray-200);
  transition: all 0.3s ease;
}

.platform-card:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.platform-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-light);
  border-radius: 50%;
}

.platform-icon svg {
  width: 32px;
  height: 32px;
  color: var(--primary);
}

.platform-name {
  font-size: 18px;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 8px;
}

.platform-desc {
  font-size: 14px;
  color: var(--gray-600);
  margin-bottom: 20px;
  min-height: 40px;
}

/* ===== Rich Content Section ===== */
.rich-content {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.rich-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.rich-block.reverse {
  direction: rtl;
}

.rich-block.reverse > * {
  direction: ltr;
}

.rich-block-visual {
  background: linear-gradient(135deg, var(--accent-light) 0%, var(--white) 100%);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
}

.rich-block-visual svg {
  width: 120px;
  height: 120px;
  color: var(--primary);
}

.rich-block-label {
  display: inline-block;
  padding: 6px 14px;
  background: var(--accent-light);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  border-radius: 100px;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.rich-block-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 16px;
  line-height: 1.3;
}

.rich-block-text {
  font-size: 16px;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 16px;
}

.rich-block-list {
  list-style: none;
}

.rich-block-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: var(--gray-700);
  margin-bottom: 12px;
}

.rich-block-list li svg {
  width: 20px;
  height: 20px;
  color: var(--success);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ===== Testimonials ===== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid var(--gray-200);
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
}

.testimonial-stars svg {
  width: 18px;
  height: 18px;
  color: var(--warning);
  fill: var(--warning);
}

.testimonial-text {
  font-size: 15px;
  color: var(--gray-700);
  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) 0%, var(--accent) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
}

.testimonial-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--gray-900);
}

.testimonial-role {
  font-size: 13px;
  color: var(--gray-500);
}

/* ===== Stats Section ===== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 24px;
  text-align: center;
  border: 1px solid var(--gray-200);
  transition: all 0.3s ease;
}

.stat-card:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow);
}

.stat-number {
  font-size: 40px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 15px;
  color: var(--gray-600);
}

/* ===== Comparison Table ===== */
.comparison-table-wrapper {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  overflow: hidden;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
  padding: 18px 24px;
  text-align: left;
  font-size: 15px;
}

.comparison-table th {
  background: var(--gray-100);
  font-weight: 600;
  color: var(--gray-900);
  border-bottom: 2px solid var(--gray-200);
}

.comparison-table td {
  border-bottom: 1px solid var(--gray-200);
  color: var(--gray-700);
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table .check {
  color: var(--success);
}

.comparison-table .cross {
  color: var(--gray-400);
}

.comparison-table svg {
  width: 20px;
  height: 20px;
  vertical-align: middle;
}

/* ===== FAQ Section ===== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: var(--gray-300);
}

.faq-item.active {
  border-color: var(--primary-light);
  box-shadow: var(--shadow);
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  color: var(--gray-900);
  text-align: left;
  font-family: inherit;
}

.faq-question svg {
  width: 20px;
  height: 20px;
  color: var(--gray-500);
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 12px;
}

.faq-item.active .faq-question svg {
  transform: rotate(180deg);
  color: var(--primary);
}

.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: 0 24px 20px;
}

.faq-answer p {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.7;
}

/* ===== Download Page Specific ===== */
.download-hero {
  padding-top: calc(var(--header-height) + 60px);
  padding-bottom: 60px;
  background: linear-gradient(180deg, #FFF8F5 0%, var(--white) 100%);
}

.download-main {
  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-info h1 {
  font-size: 42px;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 16px;
  line-height: 1.2;
}

.download-info p {
  font-size: 17px;
  color: var(--gray-600);
  margin-bottom: 32px;
  line-height: 1.7;
}

.download-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 32px;
}

.download-meta-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 100px;
  font-size: 14px;
  color: var(--gray-700);
}

.download-meta-tag svg {
  width: 16px;
  height: 16px;
  color: var(--primary);
}

.download-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.download-card-large {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
}

.download-card-large .platform-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 24px;
}

.download-card-large .platform-icon svg {
  width: 40px;
  height: 40px;
}

.download-card-large .btn {
  width: 100%;
  margin-top: 20px;
}

/* ===== Platform Download Cards (Download Page) ===== */
.platform-download-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.platform-download-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid var(--gray-200);
  transition: all 0.3s ease;
}

.platform-download-card:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.platform-download-card .platform-icon {
  margin: 0 0 20px 0;
}

.platform-download-card h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 8px;
}

.platform-download-card .version-info {
  font-size: 13px;
  color: var(--gray-500);
  margin-bottom: 16px;
}

.platform-download-card .system-requirements {
  font-size: 14px;
  color: var(--gray-600);
  margin-bottom: 16px;
  padding: 12px;
  background: var(--gray-100);
  border-radius: var(--radius-sm);
}

.platform-download-card .install-steps {
  font-size: 14px;
  color: var(--gray-600);
  margin-bottom: 20px;
}

.platform-download-card .install-steps ol {
  padding-left: 20px;
  margin: 0;
}

.platform-download-card .install-steps li {
  margin-bottom: 6px;
  line-height: 1.5;
}

.platform-download-card .btn {
  width: 100%;
}

/* ===== Installation Guide ===== */
.guide-steps {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.guide-step {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 24px;
  align-items: flex-start;
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid var(--gray-200);
  transition: all 0.3s ease;
}

.guide-step:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow);
}

.guide-step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  flex-shrink: 0;
}

.guide-step-content h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 8px;
}

.guide-step-content p {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.7;
}

/* ===== Version History ===== */
.version-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}

.version-item {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px 32px;
  border: 1px solid var(--gray-200);
  transition: all 0.3s ease;
}

.version-item:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow);
}

.version-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  flex-wrap: wrap;
  gap: 8px;
}

.version-number {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
}

.version-date {
  font-size: 14px;
  color: var(--gray-500);
}

.version-changes {
  font-size: 15px;
  color: var(--gray-700);
  line-height: 1.7;
}

.version-changes ul {
  margin: 0;
  padding-left: 20px;
}

.version-changes li {
  margin-bottom: 4px;
}

/* ===== Security Badge ===== */
.security-section {
  background: linear-gradient(135deg, #F0FFF4 0%, var(--white) 100%);
}

.security-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
}

.security-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.security-visual svg {
  width: 160px;
  height: 160px;
  color: var(--success);
}

.security-text h3 {
  font-size: 28px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 16px;
}

.security-text p {
  font-size: 16px;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 12px;
}

/* ===== CTA Section ===== */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: var(--white);
  text-align: center;
}

.cta-section .section-title {
  color: var(--white);
}

.cta-section .section-subtitle {
  color: rgba(255,255,255,0.85);
}

.btn-white {
  background: var(--white);
  color: var(--primary);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

/* ===== SEO Article Content ===== */
.article-content {
  max-width: 800px;
  margin: 0 auto;
}

.article-content h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--gray-900);
  margin: 48px 0 20px;
}

.article-content h3 {
  font-size: 22px;
  font-weight: 600;
  color: var(--gray-900);
  margin: 32px 0 16px;
}

.article-content p {
  font-size: 16px;
  color: var(--gray-700);
  line-height: 1.8;
  margin-bottom: 16px;
}

.article-content ul,
.article-content ol {
  margin: 0 0 20px 24px;
  padding: 0;
}

.article-content li {
  font-size: 16px;
  color: var(--gray-700);
  line-height: 1.8;
  margin-bottom: 8px;
}

.article-content strong {
  color: var(--gray-900);
  font-weight: 600;
}

.article-content a {
  color: var(--primary);
  text-decoration: underline;
}

.article-content a:hover {
  color: var(--primary-dark);
}

/* ===== Footer ===== */
.footer {
  background: var(--dark);
  color: var(--gray-400);
  padding: 48px 24px 24px;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  color: var(--white);
  margin-bottom: 16px;
}

.footer-brand svg {
  width: 28px;
  height: 28px;
}

.footer-desc {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.7;
}

.footer-col h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  font-size: 14px;
  color: var(--gray-500);
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid var(--dark-light);
  padding-top: 24px;
  text-align: center;
}

.footer-bottom p {
  font-size: 13px;
  color: var(--gray-600);
  line-height: 1.7;
}

.footer-disclaimer {
  margin-top: 12px;
  padding: 12px 20px;
  background: var(--dark-light);
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--gray-500);
  line-height: 1.6;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-title {
    font-size: 40px;
  }
  .hero-meta {
    justify-content: center;
  }
  .hero-visual {
    order: -1;
  }
  .hero-visual-card {
    max-width: 400px;
    margin: 0 auto;
  }
  .rich-block {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .rich-block.reverse {
    direction: ltr;
  }
  .download-main {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .download-cta {
    justify-content: center;
  }
  .security-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-main {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 64px;
  }
  .section {
    padding: 60px 16px;
  }
  .section-title {
    font-size: 28px;
  }
  .hero-title {
    font-size: 32px;
  }
  .nav {
    display: none;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 16px;
    box-shadow: var(--shadow-lg);
    gap: 4px;
  }
  .nav.open {
    display: flex;
  }
  .nav-link {
    width: 100%;
    text-align: center;
  }
  .mobile-menu-btn {
    display: block;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .platforms-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .platform-download-grid {
    grid-template-columns: 1fr;
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .stat-card {
    padding: 24px 16px;
  }
  .stat-number {
    font-size: 28px;
  }
  .comparison-table th,
  .comparison-table td {
    padding: 12px 16px;
    font-size: 14px;
  }
  .footer-main {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .download-card-large {
    padding: 24px;
  }
  .guide-step {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .guide-step-number {
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .platforms-grid {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
}
