/* ═══════════════════════════════════════════════
   WPS Office Download Site - Global Styles
   Pure CSS3 - No Framework
   ═══════════════════════════════════════════════ */

/* ─── CSS Variables ─── */
:root {
  --bg-primary: #030712;
  --bg-secondary: #0a0f1a;
  --bg-card: #111827;
  --grid-color: #1e293b;
  --accent-amber: #f59e0b;
  --accent-amber-light: #fbbf24;
  --accent-red: #ef4444;
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --border-color: rgba(30, 41, 59, 0.6);
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.06);
  --glass-highlight: rgba(255, 255, 255, 0.1);
  --rotateX: 0deg;
  --rotateY: 0deg;
  --thickness: 1px;
  --nav-height: 64px;
  --section-gap: 15vh;
  --max-width: 1280px;
}

/* ─── Reset ─── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
  font-size: 16px;
}

body {
  font-family: "Inter", "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  outline: none;
}

img {
  max-width: 100%;
  display: block;
}

ul, ol {
  list-style: none;
}

/* ─── Typography ─── */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.1rem; }

p {
  color: var(--text-secondary);
  line-height: 1.8;
}

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent-amber);
  margin-bottom: 1rem;
}

/* ─── Container ─── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding-block: var(--section-gap);
  position: relative;
}

/* ─── Spin Animation ─── */
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ─── Fade In Up ─── */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ─── Pulse ─── */
@keyframes pulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 20px rgba(245, 158, 11, 0.3); }
  50% { box-shadow: 0 0 40px rgba(245, 158, 11, 0.6); }
}

/* ─── Grid Wave Animation ─── */
@keyframes gridWave {
  0% { transform: perspective(500px) rotateX(60deg) translateY(0); }
  100% { transform: perspective(500px) rotateX(60deg) translateY(40px); }
}

/* ─── Shimmer ─── */
@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

/* ─── Navigation ─── */
.global-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 1000;
  background: rgba(3, 7, 18, 0.6);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  border-bottom: 1px solid var(--glass-border);
  transition: background 0.3s ease;
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--text-primary);
  letter-spacing: -0.03em;
}

.nav-brand svg {
  width: 32px;
  height: 32px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-links a {
  padding: 0.5rem 1.2rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
}

.nav-links a:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

.nav-links a.active {
  color: var(--accent-amber);
  background: rgba(245, 158, 11, 0.08);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--accent-amber);
  border-radius: 1px;
  box-shadow: 0 0 8px rgba(245, 158, 11, 0.5);
}

/* ─── Mobile Menu ─── */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  padding: 0.5rem;
  color: var(--text-primary);
}

/* ─── Liquid Glass System ─── */
.liquid-glass {
  background: var(--glass-bg);
  background-blend-mode: luminosity;
  backdrop-filter: blur(6px) saturate(140%);
  -webkit-backdrop-filter: blur(6px) saturate(140%);
  border: none;
  border-radius: 16px;
  box-shadow:
    inset 0 1px 1px var(--glass-highlight),
    0 8px 32px rgba(0, 0, 0, 0.4);
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  transform: perspective(1000px) rotateX(var(--rotateX)) rotateY(var(--rotateY));
  transition: box-shadow 0.3s ease;
}

.lg-refraction {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.4px;
  background: conic-gradient(
    rgba(255, 255, 255, 0.1),
    rgba(255, 255, 255, 0.4),
    rgba(255, 255, 255, 0.1),
    rgba(255, 255, 255, 0) 60%,
    rgba(255, 255, 255, 0.1)
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0.3;
}

.lg-sheen {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  mix-blend-mode: overlay;
  opacity: 0;
}

.lg-content {
  position: relative;
  z-index: 2;
}

/* ─── Button Styles ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 10px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-amber), #d97706);
  color: #000;
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(245, 158, 11, 0.4);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
  border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--glass-highlight);
}

.btn-large {
  padding: 1rem 2.5rem;
  font-size: 1.05rem;
}

/* ─── Hero Section ─── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.7;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(3, 7, 18, 0.3) 0%,
    rgba(3, 7, 18, 0.6) 50%,
    rgba(3, 7, 18, 0.9) 100%
  );
  z-index: 1;
}

.hero-panel {
  position: relative;
  z-index: 10;
  max-width: 720px;
  width: 90%;
  text-align: center;
}

.hero-panel .lg-content {
  padding: 3rem 2.5rem;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.2rem;
  background: linear-gradient(135deg, #fff 0%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 540px;
  margin-inline: auto;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ─── Scroll Indicator ─── */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.75rem;
  animation: fadeInUp 1s ease 1.5s both;
}

.scroll-indicator svg {
  animation: pulse 2s ease infinite;
}

/* ─── Features Section ─── */
.features {
  position: relative;
  overflow: hidden;
}

.features-video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.4;
}

.features .container {
  position: relative;
  z-index: 10;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.feature-card {
  background: rgba(17, 24, 39, 0.6);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.4s ease;
}

.feature-card:hover {
  border-color: rgba(245, 158, 11, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.feature-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1.2rem;
  color: var(--accent-amber);
}

.feature-card h3 {
  margin-bottom: 0.6rem;
  color: var(--text-primary);
}

.feature-card p {
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ─── Platform Section ─── */
.platform {
  position: relative;
  overflow: hidden;
}

.platform-video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.35;
}

.platform .container {
  position: relative;
  z-index: 10;
}

.platform-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.platform-panel {
  position: sticky;
  top: calc(var(--nav-height) + 2rem);
}

.platform-panel .stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent-amber);
  line-height: 1;
}

.platform-panel .stat-label {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-top: 0.3rem;
}

.platform-panel .stat-item {
  margin-bottom: 2rem;
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.platform-grid-item {
  background: rgba(17, 24, 39, 0.5);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  transition: all 0.3s ease;
}

.platform-grid-item:hover {
  border-color: rgba(245, 158, 11, 0.3);
  background: rgba(245, 158, 11, 0.05);
}

.platform-grid-item svg {
  width: 24px;
  height: 24px;
  color: var(--accent-amber);
  flex-shrink: 0;
}

.platform-grid-item span {
  font-size: 0.85rem;
  font-weight: 500;
}

/* ─── Multi-Platform Downloads ─── */
.platform-downloads {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.platform-card {
  background: rgba(17, 24, 39, 0.6);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  transition: all 0.4s ease;
}

.platform-card:hover {
  border-color: rgba(245, 158, 11, 0.3);
  transform: translateY(-4px);
}

.platform-card .platform-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  color: var(--accent-amber);
}

.platform-card h4 {
  margin-bottom: 0.5rem;
}

.platform-card p {
  font-size: 0.85rem;
  margin-bottom: 1.2rem;
}

/* ─── Reviews Section ─── */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.review-card {
  background: rgba(17, 24, 39, 0.6);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 1.8rem;
  transition: all 0.3s ease;
}

.review-card:hover {
  border-color: rgba(245, 158, 11, 0.2);
}

.review-stars {
  display: flex;
  gap: 0.2rem;
  margin-bottom: 0.8rem;
}

.review-stars svg {
  width: 16px;
  height: 16px;
  color: var(--accent-amber);
  fill: var(--accent-amber);
}

.review-text {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

.review-author {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
}

.review-role {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ─── Stats Section ─── */
.stats {
  background: var(--bg-secondary);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-card {
  padding: 2rem;
}

.stat-number {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--accent-amber);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* ─── Compare Section ─── */
.compare-table-wrapper {
  overflow-x: auto;
  margin-top: 3rem;
  border-radius: 16px;
  border: 1px solid var(--border-color);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}

.compare-table th {
  background: rgba(245, 158, 11, 0.1);
  color: var(--accent-amber);
  font-weight: 600;
  padding: 1rem 1.5rem;
  text-align: left;
  font-size: 0.9rem;
}

.compare-table td {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.9rem;
}

.compare-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.compare-table .check {
  color: #22c55e;
}

.compare-table .cross {
  color: #ef4444;
}

.compare-table .highlight-row {
  background: rgba(245, 158, 11, 0.03);
}

/* ─── FAQ Section ─── */
.faq-list {
  max-width: 800px;
  margin: 3rem auto 0;
}

.faq-item {
  border-bottom: 1px solid var(--border-color);
}

.faq-question {
  width: 100%;
  padding: 1.2rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: color 0.3s ease;
}

.faq-question:hover {
  color: var(--accent-amber);
}

.faq-question svg {
  width: 20px;
  height: 20px;
  color: var(--text-muted);
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 1rem;
}

.faq-item.open .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.open .faq-answer {
  max-height: 500px;
  padding-bottom: 1.2rem;
}

.faq-answer p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ─── Download Hero ─── */
.download-hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-height);
}

.download-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(30, 41, 59, 0.15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 41, 59, 0.15) 1px, transparent 1px);
  background-size: 60px 60px;
  transform: perspective(500px) rotateX(60deg);
  transform-origin: center top;
  animation: gridWave 20s linear infinite;
  opacity: 0.3;
}

.download-terminal {
  position: relative;
  z-index: 10;
  max-width: 640px;
  width: 90%;
}

.download-terminal .lg-content {
  padding: 2.5rem;
}

.terminal-tabs {
  display: flex;
  gap: 0.3rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.5rem;
}

.terminal-tab {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  background: none;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.terminal-tab:hover {
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.05);
}

.terminal-tab.active {
  color: var(--accent-amber);
  background: rgba(245, 158, 11, 0.1);
}

.terminal-body {
  text-align: center;
}

.terminal-version {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.3rem;
}

.terminal-meta {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 2rem;
}

.terminal-btn {
  width: 100%;
  padding: 1rem;
  font-size: 1.1rem;
}

/* ─── Installation Guide ─── */
.guide-section {
  padding-block: calc(var(--section-gap) * 0.6);
}

.steps-timeline {
  position: relative;
  padding-left: 2.5rem;
}

.steps-timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--accent-amber), rgba(245, 158, 11, 0.1));
}

.step-item {
  position: relative;
  padding-bottom: 2.5rem;
}

.step-item:last-child {
  padding-bottom: 0;
}

.step-number {
  position: absolute;
  left: -2.5rem;
  top: 0;
  width: 2rem;
  height: 2rem;
  background: var(--accent-amber);
  color: #000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  transform: translateX(calc(-50% + 1px));
}

.step-content h4 {
  margin-bottom: 0.5rem;
}

.step-content p {
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ─── Requirements Table ─── */
.reqs-table-wrapper {
  overflow-x: auto;
  margin-top: 2rem;
  border-radius: 12px;
  border: 1px solid var(--border-color);
}

.reqs-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 500px;
}

.reqs-table th,
.reqs-table td {
  padding: 0.8rem 1.2rem;
  text-align: left;
  font-size: 0.85rem;
  border-bottom: 1px solid var(--border-color);
}

.reqs-table th {
  background: rgba(245, 158, 11, 0.08);
  color: var(--accent-amber);
  font-weight: 600;
}

/* ─── Changelog ─── */
.changelog-list {
  margin-top: 2rem;
}

.changelog-item {
  background: rgba(17, 24, 39, 0.5);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1rem;
}

.changelog-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.8rem;
}

.changelog-version {
  font-weight: 700;
  color: var(--accent-amber);
}

.changelog-date {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.changelog-item ul {
  list-style: disc;
  padding-left: 1.2rem;
}

.changelog-item li {
  color: var(--text-secondary);
  font-size: 0.85rem;
  line-height: 1.7;
  margin-bottom: 0.3rem;
}

/* ─── Security Section ─── */
.security-panel {
  background: rgba(34, 197, 94, 0.05);
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: 16px;
  padding: 2rem;
  margin-top: 2rem;
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
}

.security-panel svg {
  width: 40px;
  height: 40px;
  color: #22c55e;
  flex-shrink: 0;
}

/* ─── zh-cn Page Specific ─── */
.zh-hero {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: var(--nav-height);
  background: linear-gradient(180deg, rgba(3, 7, 18, 0.9) 0%, var(--bg-primary) 100%);
}

.zh-hero-panel {
  max-width: 720px;
  width: 90%;
}

.article-section {
  max-width: 800px;
  margin: 0 auto;
}

.article-section h3 {
  margin: 2rem 0 1rem;
  color: var(--text-primary);
}

.article-section p {
  margin-bottom: 1rem;
  line-height: 1.9;
}

.keyword-highlight {
  color: var(--accent-amber);
  font-weight: 600;
}

/* ─── CTA Section ─── */
.cta-section {
  text-align: center;
  padding-block: calc(var(--section-gap) * 0.8);
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.cta-title {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  margin-bottom: 1rem;
}

.cta-desc {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 500px;
  margin-inline: auto;
}

/* ─── Footer ─── */
.global-footer {
  border-top: 1px solid var(--border-color);
  padding: 3rem 0 2rem;
  background: var(--bg-primary);
}

.footer-disclaimer {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 2rem;
  padding: 1.5rem;
  background: rgba(17, 24, 39, 0.5);
  border: 1px solid var(--border-color);
  border-radius: 12px;
}

.footer-disclaimer p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.footer-disclaimer p:last-child {
  margin-bottom: 0;
}

.footer-bottom {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.8rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
}

/* ─── Section Header ─── */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}

.section-header h2 {
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.05rem;
}

/* ─── Responsive ─── */
@media (max-width: 1024px) {
  .platform-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .platform-panel {
    position: static;
  }

  .platform-downloads {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --section-gap: 8vh;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: rgba(3, 7, 18, 0.95);
    backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 1rem;
    gap: 0.3rem;
    border-bottom: 1px solid var(--border-color);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    padding: 0.8rem 1rem;
    width: 100%;
    text-align: center;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .hero-panel .lg-content {
    padding: 2rem 1.5rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-buttons .btn {
    width: 100%;
    max-width: 280px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .platform-grid {
    grid-template-columns: 1fr;
  }

  .platform-downloads {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .stat-number {
    font-size: 2rem;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .download-terminal .lg-content {
    padding: 1.5rem;
  }

  .terminal-tabs {
    flex-wrap: wrap;
  }

  .terminal-version {
    font-size: 1.8rem;
  }

  .security-panel {
    flex-direction: column;
    text-align: center;
  }

  .security-panel svg {
    margin: 0 auto;
  }

  /* Disable 3D tilt on mobile for performance */
  .liquid-glass {
    transform: none !important;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .terminal-tabs {
    gap: 0.2rem;
  }

  .terminal-tab {
    padding: 0.4rem 0.7rem;
    font-size: 0.78rem;
  }
}
