/* ============================================
   Google Chrome Download Site - Main Stylesheet
   Pure Native CSS - No Framework
   ============================================ */

/* CSS Variables */
:root {
  --bg-hero: #1a1a1a;
  --bg-section: #f5f3ef;
  --bg-surface: #ffffff;
  --bg-footer: #111827;
  --text-primary: #0a0a0a;
  --text-light: #ffffff;
  --text-muted: #6b7280;
  --text-inverse-muted: #9ca3af;
  --accent-blue: #2563eb;
  --accent-blue-hover: #1d4ed8;
  --border-subtle: #e5e7eb;
  --border-dark: #374151;
  --radius: 8px;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1280px;
  --nav-height: 64px;
}

/* Reset & Base */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-surface);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

button {
  cursor: pointer;
  border: none;
  font-family: inherit;
  transition: var(--transition);
}

ul, ol {
  list-style: none;
}

/* Typography */
h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

h4 {
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-muted);
}

/* Container */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

@media (min-width: 768px) {
  .container {
    padding: 0 48px;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 80px;
  }
}

/* Section Base */
.section {
  padding: 96px 0;
}

@media (min-width: 768px) {
  .section {
    padding: 128px 0;
  }
}

.section-title {
  text-align: center;
  margin-bottom: 64px;
}

.section-title h2 {
  color: var(--text-primary);
  margin-bottom: 16px;
}

.section-title p {
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.1rem;
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(229, 231, 235, 0.5);
  transition: var(--transition);
}

.navbar-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@media (min-width: 768px) {
  .navbar-inner {
    padding: 0 48px;
  }
}

@media (min-width: 1024px) {
  .navbar-inner {
    padding: 0 80px;
  }
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text-primary);
}

.navbar-brand svg {
  width: 28px;
  height: 28px;
}

.navbar-nav {
  display: none;
  align-items: center;
  gap: 32px;
}

@media (min-width: 768px) {
  .navbar-nav {
    display: flex;
  }
}

.navbar-nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
}

.navbar-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-blue);
  transition: width 0.25s ease;
}

.navbar-nav a:hover {
  color: var(--text-primary);
}

.navbar-nav a:hover::after,
.navbar-nav a.active::after {
  width: 100%;
}

.navbar-nav a.active {
  color: var(--accent-blue);
  font-weight: 600;
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 24px;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius);
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent-blue);
  color: var(--text-light);
}

.btn-primary:hover {
  background: var(--accent-blue-hover);
  transform: translateY(-1px);
  filter: brightness(1.1);
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.3);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
}

.btn-outline:hover {
  border-color: var(--accent-blue);
  color: var(--accent-blue);
  transform: translateY(-1px);
}

.btn-large {
  padding: 14px 32px;
  font-size: 1rem;
}

.btn-white {
  background: #ffffff;
  color: var(--text-primary);
}

.btn-white:hover {
  background: #f3f4f6;
  transform: translateY(-1px);
}

/* Mobile Menu Toggle */
.mobile-toggle {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-primary);
  transition: var(--transition);
}

@media (min-width: 768px) {
  .mobile-toggle {
    display: none;
  }
}

.mobile-nav {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  padding: 24px;
  border-bottom: 1px solid var(--border-subtle);
  z-index: 999;
}

.mobile-nav.active {
  display: block;
}

.mobile-nav a {
  display: block;
  padding: 12px 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-subtle);
}

.mobile-nav a.active {
  color: var(--accent-blue);
  font-weight: 600;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-hero);
  overflow: hidden;
}

.hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-canvas canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 720px;
  padding: 0 24px;
}

.hero-content h1 {
  color: var(--text-light);
  margin-bottom: 24px;
  animation: fadeInUp 0.8s ease forwards;
}

.hero-content .subtitle {
  color: var(--text-inverse-muted);
  font-size: 1.125rem;
  max-width: 520px;
  margin: 0 auto 40px;
  line-height: 1.7;
  animation: fadeInUp 0.8s ease 0.15s forwards;
  opacity: 0;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  animation: fadeInUp 0.8s ease 0.3s forwards;
  opacity: 0;
}

@media (min-width: 640px) {
  .hero-actions {
    flex-direction: row;
    justify-content: center;
  }
}

.hero-meta {
  margin-top: 16px;
  font-size: 0.75rem;
  color: var(--text-inverse-muted);
  animation: fadeInUp 0.8s ease 0.45s forwards;
  opacity: 0;
}

.hero-meta code {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  background: rgba(255,255,255,0.1);
  padding: 2px 8px;
  border-radius: 4px;
}

/* ============================================
   FEATURE CARDS
   ============================================ */
.features-section {
  background: var(--bg-section);
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 640px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 32px;
  transition: var(--transition);
  opacity: 0;
  transform: translateY(20px);
}

.feature-card.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.feature-card:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
  border-color: #d1d5db;
  transform: translateY(-4px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(37, 99, 235, 0.08);
  border-radius: 12px;
  margin-bottom: 20px;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
  color: var(--accent-blue);
}

.feature-card h3 {
  margin-bottom: 12px;
  color: var(--text-primary);
}

.feature-card p {
  font-size: 0.9375rem;
  line-height: 1.7;
}

/* ============================================
   DOWNLOAD SECTION
   ============================================ */
.download-section {
  background: var(--bg-surface);
}

.download-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 48px;
}

@media (min-width: 640px) {
  .download-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .download-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.download-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition);
  opacity: 0;
  transform: translateY(20px);
}

.download-card.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.download-card:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  border-color: var(--accent-blue);
  transform: translateY(-4px);
}

.download-card.featured {
  border-color: var(--accent-blue);
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.08);
}

.platform-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(37, 99, 235, 0.06);
  border-radius: 16px;
}

.platform-icon svg {
  width: 28px;
  height: 28px;
  color: var(--accent-blue);
}

.download-card h3 {
  margin-bottom: 8px;
}

.download-card .platform-desc {
  font-size: 0.875rem;
  margin-bottom: 20px;
  min-height: 40px;
}

.download-card .platform-meta {
  font-size: 0.75rem;
  color: var(--text-inverse-muted);
  margin-top: 12px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
}

/* ============================================
   DETAILED FEATURES / CONTENT SECTIONS
   ============================================ */
.content-section {
  background: var(--bg-section);
}

.content-block {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 96px;
}

.content-block:last-child {
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .content-block {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }
  .content-block.reverse {
    direction: rtl;
  }
  .content-block.reverse > * {
    direction: ltr;
  }
}

.content-text h3 {
  margin-bottom: 16px;
  color: var(--text-primary);
}

.content-text p {
  margin-bottom: 16px;
  font-size: 1rem;
  line-height: 1.8;
}

.content-text ul {
  margin-top: 16px;
}

.content-text ul li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.content-text ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  background: var(--accent-blue);
  border-radius: 50%;
}

.content-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.content-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================================
   SYNC / DARK SECTION WITH SPOTLIGHT
   ============================================ */
.dark-section {
  background: var(--bg-hero);
  position: relative;
  overflow: hidden;
}

.dark-section .section-title h2 {
  color: var(--text-light);
}

.dark-section .section-title p {
  color: var(--text-inverse-muted);
}

.dark-section .feature-card {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border-dark);
}

.dark-section .feature-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: #4b5563;
}

.dark-section .feature-card h3 {
  color: var(--text-light);
}

.dark-section .feature-card p {
  color: var(--text-inverse-muted);
}

.dark-section .feature-icon {
  background: rgba(255, 255, 255, 0.08);
}

.dark-section .feature-icon svg {
  color: var(--text-light);
}

/* Spotlight effect overlay */
.spotlight-container {
  position: relative;
}

.spotlight-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(800px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255,255,255,0.04), transparent 40%);
  pointer-events: none;
  z-index: 1;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-section {
  background: var(--bg-surface);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 640px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.testimonial-card {
  background: var(--bg-section);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 28px;
  transition: var(--transition);
  opacity: 0;
  transform: translateY(20px);
}

.testimonial-card.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.testimonial-card:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-blue), #60a5fa);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  color: white;
  flex-shrink: 0;
}

.testimonial-meta h4 {
  font-size: 0.9375rem;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.stars {
  display: flex;
  gap: 2px;
}

.stars svg {
  width: 14px;
  height: 14px;
  color: #f59e0b;
  fill: #f59e0b;
}

.testimonial-body p {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: #4b5563;
}

/* ============================================
   STATS SECTION
   ============================================ */
.stats-section {
  background: linear-gradient(135deg, var(--accent-blue), #1d4ed8);
  padding: 80px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  text-align: center;
}

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 48px;
  }
}

.stat-item {
  opacity: 0;
  transform: translateY(20px);
}

.stat-item.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.stat-number {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--text-light);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 500;
}

/* ============================================
   COMPARISON TABLE
   ============================================ */
.comparison-section {
  background: var(--bg-surface);
}

.comparison-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border-subtle);
}

.comparison-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.comparison-table th {
  background: var(--bg-section);
  padding: 16px 20px;
  text-align: left;
  font-weight: 600;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-subtle);
}

.comparison-table th:first-child {
  width: 30%;
}

.comparison-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-muted);
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table tr:hover td {
  background: rgba(37, 99, 235, 0.02);
}

.comparison-table .check {
  color: #10b981;
  font-weight: 700;
}

.comparison-table .cross {
  color: #ef4444;
}

.comparison-table .winner {
  background: rgba(37, 99, 235, 0.04);
  font-weight: 600;
  color: var(--text-primary);
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq-section {
  background: var(--bg-section);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px);
}

.faq-item.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  text-align: left;
  cursor: pointer;
  font-family: inherit;
}

.faq-question:hover {
  background: rgba(37, 99, 235, 0.02);
}

.faq-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform 0.25s ease;
  color: var(--text-muted);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 24px 20px;
}

.faq-answer p {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--text-muted);
}

/* ============================================
   DOWNLOAD PAGE SPECIFIC
   ============================================ */
.download-hero {
  background: linear-gradient(135deg, var(--bg-hero) 0%, #1e3a5f 100%);
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
}

.download-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.03)"/></svg>');
  background-size: 40px 40px;
  opacity: 0.5;
}

.download-hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

@media (min-width: 768px) {
  .download-hero-content {
    grid-template-columns: 1.2fr 1fr;
  }
}

.download-hero-text h1 {
  color: var(--text-light);
  margin-bottom: 20px;
}

.download-hero-text p {
  color: var(--text-inverse-muted);
  font-size: 1.1rem;
  margin-bottom: 32px;
}

.download-hero-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 40px;
  text-align: center;
}

.download-hero-card .platform-icon {
  background: rgba(255, 255, 255, 0.1);
  width: 72px;
  height: 72px;
  border-radius: 20px;
}

.download-hero-card .platform-icon svg {
  width: 36px;
  height: 36px;
  color: var(--text-light);
}

.download-hero-card h3 {
  color: var(--text-light);
  margin: 16px 0 8px;
  font-size: 1.5rem;
}

.download-hero-card .version-info {
  color: var(--text-inverse-muted);
  font-size: 0.875rem;
  margin-bottom: 24px;
}

.download-hero-card .version-info code {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  background: rgba(255,255,255,0.1);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
}

/* Install Guide Steps */
.steps-section {
  background: var(--bg-surface);
}

.steps-list {
  max-width: 800px;
  margin: 0 auto;
}

.step-item {
  display: flex;
  gap: 24px;
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border-subtle);
  opacity: 0;
  transform: translateY(20px);
}

.step-item.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.step-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent-blue);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.step-content h3 {
  margin-bottom: 8px;
  color: var(--text-primary);
}

.step-content p {
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-bottom: 8px;
}

/* System Requirements */
.sysreq-section {
  background: var(--bg-section);
}

.sysreq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 640px) {
  .sysreq-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.sysreq-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 28px;
  opacity: 0;
  transform: translateY(20px);
}

.sysreq-card.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.sysreq-card h4 {
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-primary);
}

.sysreq-card h4 svg {
  width: 20px;
  height: 20px;
  color: var(--accent-blue);
}

.sysreq-card ul li {
  padding: 8px 0;
  font-size: 0.875rem;
  color: var(--text-muted);
  border-bottom: 1px solid #f3f4f6;
  display: flex;
  justify-content: space-between;
}

.sysreq-card ul li:last-child {
  border-bottom: none;
}

.sysreq-card ul li span:first-child {
  color: var(--text-primary);
  font-weight: 500;
}

/* Changelog */
.changelog-section {
  background: var(--bg-surface);
}

.changelog-list {
  max-width: 800px;
  margin: 0 auto;
}

.changelog-item {
  padding: 24px 0;
  border-bottom: 1px solid var(--border-subtle);
  opacity: 0;
  transform: translateY(20px);
}

.changelog-item.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.changelog-item:last-child {
  border-bottom: none;
}

.changelog-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.changelog-header .version-tag {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--accent-blue);
  background: rgba(37, 99, 235, 0.08);
  padding: 4px 12px;
  border-radius: 20px;
}

.changelog-header .version-date {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.changelog-item p {
  font-size: 0.9375rem;
  line-height: 1.7;
}

.changelog-item ul {
  margin-top: 8px;
  padding-left: 20px;
  list-style: disc;
}

.changelog-item ul li {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 4px;
  line-height: 1.6;
}

/* Safety Banner */
.safety-banner {
  background: linear-gradient(135deg, #065f46, #047857);
  padding: 48px 0;
  text-align: center;
}

.safety-banner h3 {
  color: var(--text-light);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.safety-banner p {
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  margin: 0 auto;
  font-size: 0.9375rem;
}

/* ============================================
   ZH-CN PAGE SPECIFIC
   ============================================ */
.seo-hero {
  background: linear-gradient(135deg, var(--bg-hero) 0%, #1e3a5f 100%);
  padding: 140px 0 80px;
}

.seo-hero h1 {
  color: var(--text-light);
  margin-bottom: 20px;
}

.seo-hero p {
  color: var(--text-inverse-muted);
  font-size: 1.125rem;
  max-width: 640px;
  line-height: 1.8;
}

.seo-content-section {
  background: var(--bg-section);
}

.seo-content-section h2 {
  margin-bottom: 24px;
}

.seo-content-section p {
  margin-bottom: 16px;
  font-size: 1.05rem;
  line-height: 1.8;
}

.seo-content-section ul {
  margin: 16px 0 24px;
  padding-left: 20px;
  list-style: disc;
}

.seo-content-section ul li {
  margin-bottom: 10px;
  color: var(--text-muted);
  line-height: 1.7;
}

.seo-cta-section {
  background: linear-gradient(135deg, var(--accent-blue), #1d4ed8);
  padding: 80px 0;
  text-align: center;
}

.seo-cta-section h2 {
  color: var(--text-light);
  margin-bottom: 16px;
}

.seo-cta-section p {
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  margin: 0 auto 32px;
  font-size: 1.1rem;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--bg-footer);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

.footer-brand {
  max-width: 300px;
}

.footer-brand .navbar-brand {
  color: var(--text-light);
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.875rem;
  color: var(--text-inverse-muted);
  line-height: 1.7;
}

.footer-column h4 {
  color: var(--text-light);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column ul li a {
  font-size: 0.875rem;
  color: var(--text-inverse-muted);
  transition: color 0.2s ease;
}

.footer-column ul li a:hover {
  color: var(--text-light);
}

.footer-bottom {
  border-top: 1px solid var(--border-dark);
  padding-top: 24px;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.8125rem;
  color: #6b7280;
  line-height: 1.6;
}

.footer-bottom .safety-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #10b981;
  font-size: 0.8125rem;
  margin-bottom: 12px;
}

.footer-bottom .safety-note svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

/* Scroll reveal base class */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays for grid children */
.stagger-1 { transition-delay: 0.05s; }
.stagger-2 { transition-delay: 0.1s; }
.stagger-3 { transition-delay: 0.15s; }
.stagger-4 { transition-delay: 0.2s; }
.stagger-5 { transition-delay: 0.25s; }
.stagger-6 { transition-delay: 0.3s; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 767px) {
  .section {
    padding: 64px 0;
  }

  .section-title {
    margin-bottom: 40px;
  }

  .content-block {
    margin-bottom: 64px;
  }

  .footer-grid {
    gap: 32px;
  }

  .download-hero {
    padding: 120px 0 60px;
  }
}

/* Reduce motion preference */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}

/* ============================================
   UTILITY
   ============================================ */
.text-center { text-align: center; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.max-w-2xl { max-width: 640px; }
.mx-auto { margin-left: auto; margin-right: auto; }
