/* ============================================
   汇川云 - Cloud PC Landing Page Styles
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #4f6ef7;
  --primary-light: #7b93ff;
  --primary-dark: #3451d1;
  --accent: #00d4ff;
  --accent-glow: rgba(0, 212, 255, 0.3);
  --bg-dark: #0a0e1a;
  --bg-card: #111827;
  --bg-card-hover: #1a2236;
  --bg-section: #0d1220;
  --bg-section-alt: #0a0e1a;
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --border: rgba(255, 255, 255, 0.08);
  --gradient-primary: linear-gradient(135deg, #4f6ef7 0%, #00d4ff 100%);
  --gradient-card: linear-gradient(135deg, rgba(79, 110, 247, 0.1) 0%, rgba(0, 212, 255, 0.05) 100%);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 30px rgba(79, 110, 247, 0.2);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

ul { list-style: none; }

img, svg { display: block; max-width: 100%; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  gap: 8px;
  white-space: nowrap;
}

.btn-sm { padding: 8px 20px; font-size: 0.85rem; }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }
.btn-block { width: 100%; }

.btn-primary {
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: 0 4px 20px rgba(79, 110, 247, 0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(79, 110, 247, 0.5);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid var(--border);
  backdrop-filter: blur(4px);
}
.btn-outline:hover {
  border-color: var(--primary-light);
  color: var(--primary-light);
  background: rgba(79, 110, 247, 0.05);
}

/* --- Navbar --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(10, 14, 26, 0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.3rem;
  font-weight: 700;
}

.logo-icon {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 8px;
}

.logo-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition);
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: 1px;
}

.nav-actions { display: flex; gap: 12px; }

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.mobile-menu-btn span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 14, 26, 0.98);
  z-index: 999;
  padding-top: 80px;
}

.mobile-menu.active { display: block; }

.mobile-menu ul {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.mobile-menu a {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition);
}

.mobile-menu a:hover { color: var(--text-primary); }

/* --- Hero --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px 0 60px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(79, 110, 247, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 100%, rgba(79, 110, 247, 0.08) 0%, transparent 40%);
}

.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: var(--primary-light);
  border-radius: 50%;
  opacity: 0;
  animation: float-particle 6s infinite;
}

@keyframes float-particle {
  0% { opacity: 0; transform: translateY(100vh) scale(0); }
  20% { opacity: 0.6; }
  100% { opacity: 0; transform: translateY(-100px) scale(1); }
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-sub {
  display: block;
  font-size: 1rem;
  font-weight: 500;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 12px;
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 24px;
  background: linear-gradient(135deg, #fff 30%, var(--primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 36px;
  max-width: 500px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
}

.hero-platforms {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.platform {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 20px;
  transition: var(--transition);
}

.platform:hover {
  border-color: var(--primary);
  color: var(--primary-light);
}

/* Hero Visual */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-mockup {
  position: relative;
  width: 100%;
  max-width: 480px;
}

.mockup-screen {
  background: linear-gradient(145deg, #1a2236 0%, #111827 100%);
  border: 2px solid rgba(79, 110, 247, 0.2);
  border-radius: var(--radius-lg);
  padding: 12px;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  position: relative;
  animation: mockup-float 6s ease-in-out infinite;
}

@keyframes mockup-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.screen-content {
  background: linear-gradient(135deg, #0f1729 0%, #1a2744 50%, #0f1729 100%);
  border-radius: calc(var(--radius-lg) - 8px);
  aspect-ratio: 16/10;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.screen-game {
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 30% 40%, rgba(79, 110, 247, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 70% 60%, rgba(0, 212, 255, 0.2) 0%, transparent 50%),
    linear-gradient(135deg, #0a1628, #162040);
  position: relative;
}

.game-overlay {
  position: absolute;
  top: 16px;
  right: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.fps-badge,
.latency-badge {
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.fps-badge {
  background: rgba(0, 255, 136, 0.15);
  color: #00ff88;
  border: 1px solid rgba(0, 255, 136, 0.3);
}

.latency-badge {
  background: rgba(0, 212, 255, 0.15);
  color: var(--accent);
  border: 1px solid rgba(0, 212, 255, 0.3);
}

.hero-scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.8rem;
  cursor: pointer;
  transition: var(--transition);
  z-index: 2;
}

.hero-scroll:hover { color: var(--primary-light); }

.scroll-arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  animation: scroll-bounce 2s infinite;
}

@keyframes scroll-bounce {
  0%, 100% { transform: rotate(45deg) translate(0, 0); opacity: 0.5; }
  50% { transform: rotate(45deg) translate(5px, 5px); opacity: 1; }
}

/* --- Stats Bar --- */
.stats-bar {
  background: var(--bg-section);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 48px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-number {
  font-size: 2.8rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-suffix {
  font-size: 1.4rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  display: block;
  margin-top: 4px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* --- Section Common --- */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid rgba(0, 212, 255, 0.2);
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* --- Features --- */
.features {
  padding: 100px 0;
  background: var(--bg-section-alt);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(79, 110, 247, 0.3);
  box-shadow: var(--shadow-glow);
}

.feature-card:hover::before { opacity: 1; }

.feature-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 20px;
  color: var(--primary-light);
}

.feature-icon svg {
  width: 100%;
  height: 100%;
}

.feature-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* --- Scenarios --- */
.scenarios {
  padding: 100px 0;
  background: var(--bg-section);
}

.scenario-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.scenario-tab {
  padding: 10px 28px;
  border-radius: 30px;
  font-size: 0.95rem;
  font-weight: 500;
  background: transparent;
  color: var(--text-secondary);
  border: 1.5px solid var(--border);
  cursor: pointer;
  transition: var(--transition);
}

.scenario-tab:hover {
  border-color: var(--primary);
  color: var(--primary-light);
}

.scenario-tab.active {
  background: var(--gradient-primary);
  color: #fff;
  border-color: transparent;
}

.scenario-panel {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  animation: fadeSlideIn 0.5s ease;
}

.scenario-panel.active { display: grid; }

@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.scenario-content h3 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.scenario-content p {
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.8;
}

.scenario-list li {
  padding: 8px 0;
  color: var(--text-secondary);
  position: relative;
  padding-left: 24px;
}

.scenario-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gradient-primary);
}

/* Scenario Visual Cards */
.visual-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
}

.card-glow {
  position: absolute;
  inset: -2px;
  background: var(--gradient-primary);
  opacity: 0.2;
  border-radius: inherit;
  filter: blur(20px);
}

.card-content {
  position: relative;
  width: 100%;
  height: 100%;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  padding: 24px;
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  height: 100%;
}

.game-tile {
  background: linear-gradient(135deg,
    hsl(var(--hue), 60%, 20%) 0%,
    hsl(var(--hue), 80%, 35%) 100%);
  border-radius: var(--radius);
  transition: var(--transition);
}

.game-tile:hover { transform: scale(1.05); }

.creative-workspace {
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
}

.timeline-bar {
  height: 30px;
  background: linear-gradient(90deg, #4f6ef7, #00d4ff, #7b93ff);
  border-radius: 6px;
  opacity: 0.7;
}

.preview-window {
  flex: 1;
  background: linear-gradient(135deg, #1a2744, #0f1729);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.tool-panel {
  height: 40px;
  background: rgba(79, 110, 247, 0.1);
  border-radius: 6px;
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 0 12px;
}

.office-setup {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  height: 100%;
}

.doc-icon, .chart-icon, .mail-icon {
  width: 80px;
  height: 100px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.doc-icon {
  background: linear-gradient(135deg, rgba(79, 110, 247, 0.2), rgba(79, 110, 247, 0.05));
}

.chart-icon {
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.2), rgba(0, 212, 255, 0.05));
  height: 80px;
  width: 100px;
}

.mail-icon {
  background: linear-gradient(135deg, rgba(0, 255, 136, 0.2), rgba(0, 255, 136, 0.05));
  height: 70px;
  width: 90px;
}

.edu-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  height: 100%;
}

.book-icon, .code-icon {
  width: 100px;
  height: 120px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.book-icon {
  background: linear-gradient(135deg, rgba(255, 165, 0, 0.2), rgba(255, 165, 0, 0.05));
}

.code-icon {
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.2), rgba(0, 212, 255, 0.05));
}

/* --- Specs --- */
.specs {
  padding: 100px 0;
  background: var(--bg-section-alt);
}

.specs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}

.spec-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition);
}

.spec-card:hover {
  border-color: rgba(79, 110, 247, 0.3);
  transform: translateY(-4px);
}

.spec-value {
  font-size: 2rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 4px;
}

.spec-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.spec-bar {
  height: 4px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 2px;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  width: var(--bar-width);
  background: var(--gradient-primary);
  border-radius: 2px;
  transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Comparison Table */
.comparison {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.comparison-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 24px;
  text-align: center;
}

.comparison-table {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.comp-header {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  padding: 16px 0;
  border-bottom: 2px solid var(--border);
  font-weight: 700;
  font-size: 0.95rem;
}

.comp-header span:nth-child(2) { color: var(--accent); }

.comp-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  transition: var(--transition);
}

.comp-row:last-child { border-bottom: none; }

.comp-row:hover { background: rgba(79, 110, 247, 0.03); }

.comp-row span:first-child { color: var(--text-secondary); }
.comp-high { color: var(--accent); font-weight: 600; }
.comp-low { color: var(--text-muted); }

/* --- Pricing --- */
.pricing {
  padding: 100px 0;
  background: var(--bg-section);
}

.pricing-toggle {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-bottom: 48px;
  background: var(--bg-card);
  border-radius: 30px;
  padding: 4px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  border: 1px solid var(--border);
}

.toggle-label {
  padding: 10px 28px;
  border-radius: 26px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition);
}

.toggle-label.active {
  background: var(--gradient-primary);
  color: #fff;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}

.pricing-card:hover {
  transform: translateY(-6px);
  border-color: rgba(79, 110, 247, 0.3);
}

.pricing-card.featured {
  border-color: var(--primary);
  box-shadow: var(--shadow-glow);
  transform: scale(1.02);
}

.pricing-card.featured:hover {
  transform: scale(1.02) translateY(-6px);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-primary);
  color: #fff;
  padding: 4px 20px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
}

.pricing-header {
  margin-bottom: 24px;
}

.pricing-header h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.pricing-header p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.pricing-price {
  margin-bottom: 28px;
}

.price-amount {
  font-size: 3rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.price-unit {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-left: 4px;
}

.pricing-features {
  flex: 1;
  margin-bottom: 28px;
}

.pricing-features li {
  padding: 8px 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
  position: relative;
  padding-left: 20px;
}

.pricing-features li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* --- Download --- */
.download {
  padding: 100px 0;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(79, 110, 247, 0.12) 0%, transparent 60%),
    var(--bg-section-alt);
}

.download-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.download-content h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.download-content p {
  color: var(--text-secondary);
  margin-bottom: 40px;
  font-size: 1.05rem;
}

.download-buttons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 500px;
  margin: 0 auto;
}

.download-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
}

.download-btn:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

.dl-icon {
  width: 36px;
  height: 36px;
  color: var(--primary-light);
  flex-shrink: 0;
}

.dl-icon svg { width: 100%; height: 100%; }

.dl-info { text-align: left; }

.dl-platform {
  display: block;
  font-weight: 600;
  font-size: 1rem;
}

.dl-version {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* --- FAQ --- */
.faq {
  padding: 100px 0;
  background: var(--bg-section);
}

.faq-list {
  max-width: 700px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover { border-color: rgba(79, 110, 247, 0.3); }

.faq-question {
  width: 100%;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg-card);
  border: none;
  color: var(--text-primary);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  text-align: left;
  transition: var(--transition);
}

.faq-question:hover { background: var(--bg-card-hover); }

.faq-toggle {
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--primary-light);
  transition: var(--transition);
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item.active .faq-toggle { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-item.active .faq-answer { max-height: 200px; }

.faq-answer p {
  padding: 0 24px 20px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* --- Footer --- */
.footer {
  padding: 60px 0 0;
  background: var(--bg-dark);
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand p {
  color: var(--text-muted);
  margin-top: 12px;
  font-size: 0.9rem;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.social-link {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text-muted);
  transition: var(--transition);
}

.social-link:hover {
  border-color: var(--primary);
  color: var(--primary-light);
  background: rgba(79, 110, 247, 0.05);
}

.social-link svg { width: 18px; height: 18px; }

.footer-links h4,
.footer-contact h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: var(--transition);
}

.footer-links a:hover { color: var(--primary-light); }

.footer-contact p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.footer-bottom {
  padding: 20px 0;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* --- Back to Top --- */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  z-index: 900;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.back-to-top svg { width: 20px; height: 20px; }

/* --- Animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; text-align: center; }
  .hero-desc { margin: 0 auto 36px; }
  .hero-buttons { justify-content: center; }
  .hero-platforms { justify-content: center; }
  .hero-visual { display: none; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .specs-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-card.featured { transform: scale(1); }
  .pricing-card.featured:hover { transform: translateY(-6px); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .scenario-panel { grid-template-columns: 1fr; }
  .scenario-visual { order: -1; }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions { display: none; }
  .mobile-menu-btn { display: flex; }
  .features-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .specs-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .download-buttons { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .comparison { padding: 24px 16px; overflow-x: auto; }
  .comp-header, .comp-row { min-width: 400px; font-size: 0.8rem; }
  .hero { padding: 100px 0 40px; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .scenario-tabs { gap: 6px; }
  .scenario-tab { padding: 8px 18px; font-size: 0.85rem; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-number { font-size: 2rem; }
  .container { padding: 0 16px; }
}
