/* ============================================
   JENNY MOD OFFICIAL - MAIN STYLESHEET
   Design System: "Neon Genesis" Dark Gaming Theme
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  --bg-deep: #06060c;
  --bg-primary: #0a0a14;
  --bg-secondary: #0e0e1a;
  --bg-tertiary: #121220;
  --bg-card: rgba(16, 16, 30, 0.7);
  --bg-card-solid: #10101e;
  --bg-card-hover: #16162a;
  --bg-glass: rgba(12, 12, 22, 0.85);

  --border-subtle: rgba(255, 255, 255, 0.04);
  --border-light: rgba(255, 255, 255, 0.07);
  --border-medium: rgba(255, 255, 255, 0.1);
  --border-glow: rgba(247, 37, 133, 0.4);

  --primary: #f72585;
  --primary-light: #ff4da6;
  --primary-dark: #c41069;
  --primary-glow: rgba(247, 37, 133, 0.2);
  --primary-glow-strong: rgba(247, 37, 133, 0.4);

  --secondary: #4cc9f0;
  --secondary-light: #7dd8f5;
  --secondary-dark: #2ea3c8;
  --secondary-glow: rgba(76, 201, 240, 0.2);

  --accent: #fbbf24;
  --accent-dark: #d4a017;
  --accent-glow: rgba(251, 191, 36, 0.2);

  --purple: #7209b7;
  --purple-light: #9b4dca;

  --success: #10b981;
  --warning: #f59e0b;

  --text-primary: #eaeaf2;
  --text-secondary: #9898b0;
  --text-muted: #5c5c74;
  --text-inverse: #0a0a14;

  --gradient-primary: linear-gradient(135deg, #f72585, #b5179e, #7209b7);
  --gradient-hero: linear-gradient(135deg, #f72585 0%, #7209b7 50%, #4cc9f0 100%);
  --gradient-secondary: linear-gradient(135deg, #4cc9f0, #4361ee);
  --gradient-card-border: linear-gradient(135deg, rgba(247, 37, 133, 0.3), rgba(76, 201, 240, 0.1));
  --gradient-bg-section: linear-gradient(180deg, var(--bg-primary), var(--bg-secondary));

  --font-display: 'Syne', sans-serif;
  --font-heading: 'Chakra Petch', sans-serif;
  --font-body: 'Figtree', sans-serif;

  --section-gap: 100px;
  --container-max: 1200px;
  --container-narrow: 800px;
  --container-pad: 24px;

  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 30px;
  --radius-full: 9999px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-fast: 0.2s var(--ease-out);
  --transition-normal: 0.35s var(--ease-out);
  --transition-slow: 0.6s var(--ease-out);

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
  --shadow-glow-primary: 0 0 40px var(--primary-glow), 0 0 80px rgba(247, 37, 133, 0.08);
  --shadow-glow-secondary: 0 0 40px var(--secondary-glow);
  --shadow-glow-accent: 0 0 40px var(--accent-glow);
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-primary);
  background: var(--bg-deep);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body.menu-open { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary-light); text-decoration: none; transition: color var(--transition-fast); }
a:hover { color: var(--secondary); }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; color: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; }
::selection { background: var(--primary); color: #fff; }
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb { background: var(--bg-tertiary); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary-dark); }

/* --- Scroll Progress --- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: var(--gradient-hero);
  z-index: 10000;
  transition: width 0.1s linear;
}

/* --- Noise Overlay --- */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.4;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  color: var(--text-primary);
}
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.7rem); }
h4 { font-size: clamp(1.1rem, 2vw, 1.3rem); }
p { color: var(--text-secondary); margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }
.text-gradient {
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.section-label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
  padding: 6px 16px;
  background: var(--primary-glow);
  border: 1px solid rgba(247, 37, 133, 0.2);
  border-radius: var(--radius-full);
}
.section-title { margin-bottom: 16px; }
.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 650px;
  line-height: 1.7;
}
.section-subtitle.centered { margin-left: auto; margin-right: auto; }
.section-header { margin-bottom: 56px; }

/* --- Layout --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}
.container--narrow { max-width: var(--container-narrow); }
.section {
  padding: var(--section-gap) 0;
  position: relative;
}
.section--alt { background: var(--bg-secondary); }
.section--dark { background: var(--bg-deep); }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  border-radius: var(--radius-lg);
  transition: all var(--transition-normal);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 20px var(--primary-glow);
}
.btn-primary:hover {
  background: var(--primary-light);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 30px var(--primary-glow-strong);
}
.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-medium);
}
.btn-secondary:hover {
  border-color: var(--secondary);
  color: var(--secondary);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px var(--secondary-glow);
}
.btn-accent {
  background: var(--accent);
  color: var(--text-inverse);
  box-shadow: 0 4px 20px var(--accent-glow);
}
.btn-accent:hover {
  background: var(--accent-dark);
  color: var(--text-inverse);
  transform: translateY(-2px);
  box-shadow: 0 6px 30px var(--accent-glow);
}
.btn-sm { padding: 10px 22px; font-size: 0.85rem; border-radius: var(--radius-md); }
.btn-lg { padding: 18px 40px; font-size: 1.05rem; border-radius: var(--radius-xl); }
.btn-group { display: flex; gap: 16px; flex-wrap: wrap; }

/* --- Header --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all var(--transition-normal);
  background: transparent;
}
.header--scrolled {
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 10px 0;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo img { width: 38px; height: 38px; border-radius: var(--radius-sm); }
.logo span {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}
.nav { display: flex; align-items: center; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-links a {
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}
.nav-links a:hover,
.nav-links a.is-active {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}
.header-actions { display: flex; align-items: center; gap: 12px; }

/* Language Switcher */
.lang-switcher { position: relative; }
.lang-btn {
  padding: 7px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  font-family: var(--font-heading);
  letter-spacing: 0.05em;
}
.lang-btn:hover { border-color: var(--border-medium); color: var(--text-primary); }
.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--bg-card-solid);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 6px;
  min-width: 100px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-lg);
  z-index: 100;
}
.lang-switcher.is-open .lang-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.lang-dropdown a {
  display: block;
  padding: 8px 14px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-xs);
  transition: all var(--transition-fast);
}
.lang-dropdown a:hover { background: rgba(255, 255, 255, 0.05); color: var(--text-primary); }
.lang-dropdown a.is-active { color: var(--primary); background: var(--primary-glow); }

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 1001;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-fast);
}
.menu-toggle.is-active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle.is-active span:nth-child(2) { opacity: 0; }
.menu-toggle.is-active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 0 100px;
  overflow: hidden;
  background: var(--bg-deep);
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 80%;
  height: 80%;
  background: radial-gradient(ellipse, var(--primary-glow) 0%, transparent 70%);
  opacity: 0.5;
  animation: heroPulse 8s ease-in-out infinite alternate;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  right: -20%;
  width: 70%;
  height: 70%;
  background: radial-gradient(ellipse, var(--secondary-glow) 0%, transparent 70%);
  opacity: 0.3;
  animation: heroPulse 10s ease-in-out infinite alternate-reverse;
}
@keyframes heroPulse {
  0% { transform: scale(1) translate(0, 0); }
  100% { transform: scale(1.1) translate(3%, -3%); }
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero-content { max-width: 600px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: var(--primary-glow);
  border: 1px solid rgba(247, 37, 133, 0.25);
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--primary-light);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.hero-badge .dot {
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
  animation: dotPulse 2s ease-in-out infinite;
}
@keyframes dotPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.hero-description {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 36px;
  line-height: 1.75;
  max-width: 520px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-stats {
  display: flex;
  gap: 40px;
}
.hero-stat { text-align: left; }
.hero-stat-value {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}
.hero-stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 2px;
}
.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.hero-image img {
  width: 100%;
  max-width: 480px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-glow-primary);
  border: 1px solid var(--border-light);
}
.hero-image::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: calc(var(--radius-lg) + 4px);
  background: var(--gradient-primary);
  opacity: 0.15;
  filter: blur(20px);
  z-index: -1;
}

/* --- Cards --- */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition-normal);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--gradient-card-border);
  opacity: 0;
  transition: opacity var(--transition-normal);
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--border-glow);
  box-shadow: var(--shadow-glow-primary);
}
.card:hover::before { opacity: 1; }
.card > * { position: relative; z-index: 1; }
.card-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: var(--primary-glow);
  color: var(--primary);
  font-size: 1.5rem;
  margin-bottom: 20px;
}
.card-title {
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: var(--text-primary);
}
.card-text {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* --- Features Grid --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

/* --- Characters Grid --- */
.characters-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.character-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-normal);
}
.character-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-glow);
  box-shadow: var(--shadow-glow-primary);
}
.character-card-img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-bottom: 1px solid var(--border-subtle);
}
.character-card-body { padding: 20px; }
.character-card-name {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.character-card-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --- Specifications Table --- */
.specs-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
}
.specs-table th,
.specs-table td {
  padding: 16px 24px;
  text-align: left;
  border-bottom: 1px solid var(--border-subtle);
}
.specs-table th {
  background: rgba(247, 37, 133, 0.08);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--primary-light);
}
.specs-table td { background: var(--bg-card); font-size: 0.92rem; color: var(--text-secondary); }
.specs-table tr:last-child td { border-bottom: none; }
.specs-table tr:hover td { background: var(--bg-card-hover); }

/* --- Install Tabs --- */
.tabs-nav {
  display: flex;
  gap: 4px;
  background: var(--bg-card-solid);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 4px;
  margin-bottom: 40px;
  max-width: 400px;
}
.tabs-nav.centered { margin-left: auto; margin-right: auto; }
.tab-btn {
  flex: 1;
  padding: 12px 24px;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  border-radius: calc(var(--radius-lg) - 4px);
  transition: all var(--transition-fast);
  text-align: center;
}
.tab-btn:hover { color: var(--text-secondary); }
.tab-btn.is-active {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 2px 12px var(--primary-glow);
}
.tab-panel { display: none; }
.tab-panel.is-active { display: block; }

/* --- Install Steps --- */
.install-steps { counter-reset: step; }
.install-step {
  display: flex;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border-subtle);
}
.install-step:last-child { border-bottom: none; }
.install-step-number {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-glow);
  border: 1px solid rgba(247, 37, 133, 0.2);
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--primary);
  counter-increment: step;
}
.install-step-content { flex: 1; }
.install-step-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 6px;
  color: var(--text-primary);
}
.install-step-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
}
.code-path {
  display: inline-block;
  padding: 3px 10px;
  background: rgba(76, 201, 240, 0.08);
  border: 1px solid rgba(76, 201, 240, 0.15);
  border-radius: var(--radius-xs);
  font-family: 'Courier New', monospace;
  font-size: 0.82rem;
  color: var(--secondary);
  word-break: break-all;
}

/* --- Download Section --- */
.download-section {
  text-align: center;
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}
.download-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
  opacity: 0.3;
}
.download-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-top: 48px;
  position: relative;
  z-index: 2;
}
.download-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  text-align: center;
  transition: all var(--transition-normal);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.download-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: var(--shadow-glow-primary);
}
.download-card.featured {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px var(--primary), var(--shadow-glow-primary);
}
.download-card-badge {
  display: inline-block;
  padding: 4px 14px;
  background: var(--primary);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  margin-bottom: 20px;
}
.download-card-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.download-card-version {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.download-card-specs {
  text-align: left;
  margin-bottom: 28px;
}
.download-card-spec {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.88rem;
}
.download-card-spec:last-child { border-bottom: none; }
.download-card-spec-label { color: var(--text-muted); }
.download-card-spec-value { color: var(--text-primary); font-weight: 500; }
.download-card .btn { width: 100%; justify-content: center; }
.safe-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 0.78rem;
  color: var(--success);
  font-weight: 500;
}
.safe-badge svg { width: 14px; height: 14px; }

/* --- FAQ Section --- */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color var(--transition-fast);
}
.faq-item:hover { border-color: var(--border-light); }
.faq-item.is-open { border-color: rgba(247, 37, 133, 0.2); }
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--text-primary);
  cursor: pointer;
  transition: background var(--transition-fast);
  width: 100%;
  text-align: left;
}
.faq-question:hover { background: rgba(255, 255, 255, 0.02); }
.faq-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background: var(--text-muted);
  border-radius: 2px;
  transition: transform var(--transition-fast);
}
.faq-icon::before { width: 14px; height: 2px; }
.faq-icon::after { width: 2px; height: 14px; }
.faq-item.is-open .faq-icon::after { transform: rotate(90deg); }
.faq-item.is-open .faq-icon::before { background: var(--primary); }
.faq-item.is-open .faq-icon::after { background: var(--primary); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out), padding 0.4s var(--ease-out);
  padding: 0 24px;
}
.faq-item.is-open .faq-answer {
  max-height: 400px;
  padding: 0 24px 20px;
}
.faq-answer p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* --- Page Header (Inner Pages) --- */
.page-header {
  padding: 160px 0 80px;
  background: var(--bg-deep);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse, var(--primary-glow) 0%, transparent 70%);
  opacity: 0.4;
}
.page-header > * { position: relative; z-index: 2; }
.page-header h1 { margin-bottom: 16px; }
.page-breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 20px;
}
.page-breadcrumb a { color: var(--text-secondary); }
.page-breadcrumb a:hover { color: var(--primary); }
.page-breadcrumb .sep { color: var(--text-muted); }

/* --- Content Pages (Legal, etc.) --- */
.content-page {
  padding: 80px 0;
}
.content-page .container { max-width: var(--container-narrow); }
.content-body h2 {
  font-size: 1.5rem;
  margin-top: 48px;
  margin-bottom: 16px;
  color: var(--text-primary);
}
.content-body h2:first-child { margin-top: 0; }
.content-body h3 {
  font-size: 1.2rem;
  margin-top: 32px;
  margin-bottom: 12px;
  color: var(--text-primary);
}
.content-body p {
  margin-bottom: 16px;
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-secondary);
}
.content-body ul, .content-body ol {
  margin-bottom: 16px;
  padding-left: 24px;
}
.content-body ul { list-style: disc; }
.content-body ol { list-style: decimal; }
.content-body li {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 6px;
}
.content-body a { color: var(--primary-light); text-decoration: underline; text-decoration-color: rgba(247, 37, 133, 0.3); }
.content-body a:hover { text-decoration-color: var(--primary); }
.content-body strong { color: var(--text-primary); font-weight: 600; }

/* --- Footer --- */
.footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--border-subtle);
  padding: 80px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--border-subtle);
}
.footer-brand p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-top: 16px;
  line-height: 1.7;
  max-width: 320px;
}
.footer-brand .logo { margin-bottom: 4px; }
.footer-col-title {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-primary);
  margin-bottom: 20px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 0.88rem;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}
.footer-links a:hover { color: var(--primary-light); }
.footer-bottom {
  padding: 28px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-disclaimer {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 700px;
}
.footer-copyright {
  font-size: 0.78rem;
  color: var(--text-muted);
  white-space: nowrap;
}

/* --- Back to Top --- */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card-solid);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  font-size: 1.1rem;
  z-index: 900;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-normal);
}
.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: var(--shadow-glow-primary);
}

/* --- Animations --- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes slideInRight {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

/* Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal.reveal-left { transform: translateX(-30px); }
.reveal.reveal-left.is-visible { transform: translateX(0); }
.reveal.reveal-right { transform: translateX(30px); }
.reveal.reveal-right.is-visible { transform: translateX(0); }
.reveal.reveal-scale { transform: scale(0.95); }
.reveal.reveal-scale.is-visible { transform: scale(1); }

/* Stagger Children */
.stagger-in {
  animation: fadeInUp 0.6s var(--ease-out) both;
}

/* Hero animations */
.hero-content > * {
  animation: fadeInUp 0.8s var(--ease-out) both;
}
.hero-content > *:nth-child(1) { animation-delay: 0.1s; }
.hero-content > *:nth-child(2) { animation-delay: 0.2s; }
.hero-content > *:nth-child(3) { animation-delay: 0.3s; }
.hero-content > *:nth-child(4) { animation-delay: 0.4s; }
.hero-content > *:nth-child(5) { animation-delay: 0.5s; }
.hero-image {
  animation: scaleIn 1s var(--ease-out) 0.3s both;
}

/* --- About Preview Section --- */
.about-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-preview-img {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
}
.about-preview-content h2 { margin-bottom: 16px; }
.about-preview-content p { margin-bottom: 16px; }

/* --- CTA Banner --- */
.cta-banner {
  text-align: center;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
  background: var(--bg-secondary);
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 300px;
  background: radial-gradient(ellipse, var(--primary-glow) 0%, transparent 70%);
  opacity: 0.4;
}
.cta-banner > * { position: relative; z-index: 2; }
.cta-banner h2 { margin-bottom: 16px; }
.cta-banner p { margin-bottom: 32px; max-width: 500px; margin-left: auto; margin-right: auto; }

/* --- Responsive --- */
@media (max-width: 1024px) {
  :root { --section-gap: 80px; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-content { max-width: 100%; }
  .hero-description { max-width: 100%; margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-image { order: -1; }
  .hero-image img { max-width: 400px; }
  .about-preview { grid-template-columns: 1fr; }
  .about-preview-img { max-width: 500px; margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root {
    --section-gap: 64px;
    --container-pad: 18px;
  }
  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--bg-card-solid);
    border-left: 1px solid var(--border-light);
    flex-direction: column;
    padding: 80px 24px 32px;
    transition: right var(--transition-normal);
    z-index: 999;
  }
  .nav--open { right: 0; }
  .nav-links {
    flex-direction: column;
    width: 100%;
    gap: 2px;
  }
  .nav-links a {
    padding: 14px 16px;
    width: 100%;
    font-size: 1rem;
    border-radius: var(--radius-sm);
  }
  .menu-toggle { display: flex; }
  .header-actions .btn { display: none; }
  .hero { padding: 120px 0 80px; min-height: auto; }
  .hero-title { font-size: clamp(2rem, 8vw, 2.8rem); }
  .hero-stats { gap: 24px; }
  .hero-stat-value { font-size: 1.4rem; }
  .hero-image img { max-width: 320px; }
  .download-cards { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .characters-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .specs-table { font-size: 0.85rem; }
  .specs-table th, .specs-table td { padding: 12px 16px; }
  .tabs-nav { max-width: 100%; }
  .install-step { gap: 16px; }
  .card { padding: 24px; }
  .section-header { margin-bottom: 40px; }
  .page-header { padding: 130px 0 60px; }
}

@media (max-width: 480px) {
  .hero-stats { flex-direction: column; gap: 16px; text-align: center; }
  .btn-group { flex-direction: column; }
  .btn-group .btn { width: 100%; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .characters-grid { grid-template-columns: 1fr; }
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.5rem; }
  .download-card { padding: 28px 20px; }
}

/* --- Utility --- */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.gap-sm { gap: 8px; }
.gap-md { gap: 16px; }
.gap-lg { gap: 24px; }
