/* ══════════════════════════════════════════════════════════════
   AnxerStudios Landing Page — CSS
   Aesthetic: Cyberpunk / Dark Neón / Glassmorphism
   ══════════════════════════════════════════════════════════════ */

/* (Removed @import to improve performance - moved to HTML as <link>) */

/* ── Design Tokens ─────────────────────────────────────────── */
:root {
  /* Core palette */
  --space-black: #06060e;
  --void-dark: #0a0a14;
  --panel-dark: #0e0e1a;
  --surface: #12121f;
  --surface-hover: #1a1a2e;

  /* Neon accents */
  --cyan: #00ccff;
  --cyan-dim: #00ccff60;
  --cyan-glow: 0 0 20px rgba(0, 204, 255, 0.3), 0 0 60px rgba(0, 204, 255, 0.1);
  --cyan-glow-strong: 0 0 10px rgba(0, 204, 255, 0.5), 0 0 40px rgba(0, 204, 255, 0.25), 0 0 80px rgba(0, 204, 255, 0.1);
  --magenta: #d93bdd;
  --magenta-dim: #d93bdd50;
  --violet: #7b5ea7;

  /* Text - Increased contrast for better accessibility on dark backgrounds */
  --text-primary: #f0f2f8;
  --text-secondary: #bdc2d9; /* Lighter - Was #9aa1bc */
  --text-muted: #afb6d0;     /* Lighter - Was #727999 */

  /* Typography */
  --font-display: 'Orbitron', monospace;
  --font-body: 'Rajdhani', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Spacing */
  --section-padding: clamp(3rem, 8vw, 7rem);

  /* Border */
  --border-subtle: 1px solid rgba(255, 255, 255, 0.04);
  --border-glow: 1px solid rgba(0, 204, 255, 0.15);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: var(--space-black);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

a {
  color: var(--cyan);
  text-decoration: none;
  transition: all 0.3s ease;
}
a:hover {
  color: #fff;
  text-shadow: var(--cyan-glow);
}

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

/* ── Animated Background ───────────────────────────────────── */
.bg-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(0, 204, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 204, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
}

.bg-gradient-orb {
  position: fixed;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.15;
  pointer-events: none;
  z-index: 0;
}
.bg-gradient-orb--cyan {
  background: radial-gradient(circle, var(--cyan), transparent 70%);
  top: -10%;
  left: 20%;
  animation: orb-float 20s ease-in-out infinite;
}
.bg-gradient-orb--magenta {
  background: radial-gradient(circle, var(--magenta), transparent 70%);
  bottom: -10%;
  right: 15%;
  animation: orb-float 25s ease-in-out infinite reverse;
}

@keyframes orb-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(40px, -30px) scale(1.1); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

/* ── Layout ────────────────────────────────────────────────── */
.page-wrapper {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: max(1.25rem, env(safe-area-inset-left, 0px));
  padding-right: max(1.25rem, env(safe-area-inset-right, 0px));
}

/* ── Ad Sidebars ───────────────────────────────────────────── */
.layout-with-sidebars {
  display: flex;
  justify-content: center;
  gap: 0;
}

.ad-sidebar {
  width: 170px;
  flex-shrink: 0;
  padding: 1.5rem 0.5rem;
  display: none;
  position: sticky;
  top: 70px;
  height: calc(100vh - 70px);
  overflow-y: auto;
  align-self: flex-start;
}

.ad-sidebar::-webkit-scrollbar { display: none; }

.ad-sidebar a {
  display: block;
  border-radius: 8px;
  overflow: hidden;
  border: var(--border-subtle);
  margin-bottom: 1rem;
  opacity: 0.7;
  transition: all 0.4s ease;
}
.ad-sidebar a:hover {
  opacity: 1;
  border-color: var(--cyan-dim);
  box-shadow: var(--cyan-glow);
}

.ad-sidebar img {
  width: 100%;
  height: auto;
}

.ad-sidebar .ad-label {
  font-size: 9px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 2px;
  text-align: right;
  padding: 2px 6px;
  opacity: 0.4;
}

.main-content {
  flex: 1;
  min-width: 0;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

@media (min-width: 1400px) {
  .ad-sidebar { display: flex; flex-direction: column; }
}

/* ── Header ────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding-top: env(safe-area-inset-top, 0px);
  background: rgba(6, 6, 14, 0.85);
  backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: var(--border-subtle);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  height: 64px;
  min-width: 0;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 0;
}

.header-logo svg {
  width: 32px;
  height: 32px;
  filter: drop-shadow(0 0 8px var(--cyan));
}

.header-logo-text {
  font-family: var(--font-display);
  font-size: clamp(0.72rem, 2.8vw, 1.1rem);
  font-weight: 700;
  color: var(--cyan);
  text-shadow: var(--cyan-glow);
  letter-spacing: clamp(0.5px, 0.15vw, 1px);
  white-space: nowrap;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.header-nav a {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 2px;
  white-space: nowrap;
  position: relative;
  padding: 0.75rem 0.5rem; /* Increased hit area */
}
.header-nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--cyan);
  box-shadow: var(--cyan-glow);
  transition: width 0.3s ease;
}
.header-nav a:hover::after { width: 100%; }
.header-nav a:hover { color: var(--cyan); text-shadow: none; }

.header-cta {
  font-family: var(--font-display) !important;
  font-size: 0.7rem !important;
  font-weight: 600 !important;
  padding: 0.5rem 1.2rem !important;
  background: var(--cyan) !important;
  color: var(--space-black) !important;
  border-radius: 6px;
  text-shadow: none !important;
  box-shadow: var(--cyan-glow);
  transition: all 0.3s ease !important;
}
.header-cta:hover {
  background: #fff !important;
  transform: translateY(-1px);
  box-shadow: var(--cyan-glow-strong) !important;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 0.5rem;
  flex-shrink: 0;
}
.mobile-menu-btn svg { width: 24px; height: 24px; }

/* ── Hero ──────────────────────────────────────────────────── */
.hero {
  padding: var(--section-padding) 0;
  text-align: center;
  position: relative;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: clamp(0.62rem, 2.5vw, 0.75rem);
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: clamp(1px, 0.6vw, 3px);
  padding: 0.4rem clamp(0.75rem, 3vw, 1rem);
  max-width: 100%;
  text-align: center;
  justify-content: center;
  flex-wrap: wrap;
  border: 1px solid var(--cyan-dim);
  border-radius: 999px;
  background: rgba(0, 204, 255, 0.05);
  margin-bottom: 2rem;
  animation: fade-in-up 0.6s ease both;
}
.hero-tag .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  animation: fade-in-up 0.6s ease 0.1s both;
}
.hero-title .gradient-text {
  background: linear-gradient(135deg, var(--cyan), var(--magenta));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
  font-weight: 400;
  animation: fade-in-up 0.6s ease 0.2s both;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fade-in-up 0.6s ease 0.3s both;
}

@keyframes fade-in-up {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.85rem 2rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-primary {
  background: var(--cyan);
  color: var(--space-black);
  box-shadow: var(--cyan-glow);
}
.btn-primary:hover {
  background: #fff;
  color: var(--space-black);
  transform: translateY(-2px);
  box-shadow: var(--cyan-glow-strong);
  text-shadow: none;
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.btn-outline:hover {
  border-color: var(--cyan-dim);
  background: rgba(0, 204, 255, 0.05);
  color: var(--cyan);
  text-shadow: none;
}

.btn svg, .btn img.btn-icon {
  width: 18px;
  height: 18px;
}

.btn-sm {
  padding: 0.6rem 1.2rem;
  font-size: 0.75rem;
  width: 100%;
  justify-content: center;
}

.download-options {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 1rem;
}

/* ── Screenshots Carousel ──────────────────────────────────── */
.screenshots {
  padding: 0 0 var(--section-padding);
}

.screenshots-title {
  font-family: var(--font-display);
  font-size: 1.00rem;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 2.5rem;
}

.carousel {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  border: var(--border-glow);
  background: var(--panel-dark);
  box-shadow:
    0 4px 60px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.carousel-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.carousel-slide {
  min-width: 100%;
  position: relative;
}

.carousel-slide img {
  width: 100%;
  height: auto;
  display: block;
}

.carousel-controls {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 5;
}

.carousel-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid var(--cyan);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
  margin: 10px; /* Increased hit area via margin if needed, but we can also use a transparent border */
  position: relative;
}
.carousel-dot::after {
  content: '';
  position: absolute;
  top: -12px;
  left: -12px;
  right: -12px;
  bottom: -12px;
}
.carousel-dot.active {
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
}
.carousel-dot:hover { background: var(--cyan-dim); }

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(6, 6, 14, 0.7);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  transition: all 0.3s ease;
}
.carousel-arrow:hover {
  border-color: var(--cyan-dim);
  box-shadow: var(--cyan-glow);
}
.carousel-arrow--prev { left: 1rem; }
.carousel-arrow--next { right: 1rem; }

/* ── Features ──────────────────────────────────────────────── */
.features {
  padding: var(--section-padding) 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-tag {
  font-family: var(--font-mono);
  font-size: clamp(0.82rem, 3.5vw, 1.7rem);
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: clamp(2px, 0.8vw, 4px);
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.section-subtitle {
  font-size: clamp(1rem, 3vw, 1.3rem);
  color: var(--text-secondary);
  max-width: 550px;
  margin: 0 auto;
  padding: 0 0.25rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: var(--panel-dark);
  border: var(--border-subtle);
  border-radius: 16px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.feature-card:hover {
  border-color: rgba(0, 204, 255, 0.1);
  transform: translateY(-4px);
}
.feature-card:hover::before { opacity: 1; }

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(0, 204, 255, 0.07);
  border: 1px solid rgba(0, 204, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--cyan);
}
.feature-icon svg { width: 24px; height: 24px; }

.feature-card:nth-child(2) .feature-icon {
  background: rgba(217, 59, 221, 0.07);
  border-color: rgba(217, 59, 221, 0.12);
  color: var(--magenta);
}

.feature-card:nth-child(3) .feature-icon {
  background: rgba(123, 94, 167, 0.07);
  border-color: rgba(123, 94, 167, 0.12);
  color: var(--violet);
}

.feature-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
  letter-spacing: 0.5px;
}

.feature-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ── Download Section ──────────────────────────────────────── */
.download {
  padding: var(--section-padding) 0;
  position: relative;
}

.download-wrapper {
  background: var(--panel-dark);
  border: var(--border-glow);
  border-radius: 20px;
  padding: 3.5rem 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.download-wrapper::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), var(--magenta), transparent);
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.download-card {
  background: var(--surface);
  border: var(--border-subtle);
  border-radius: 14px;
  padding: 2rem 1.5rem;
  transition: all 0.3s ease;
}
.download-card:hover {
  border-color: rgba(0, 204, 255, 0.1);
  transform: translateY(-2px);
}

.download-os-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  color: var(--cyan);
}
.download-os-icon svg { width: 100%; height: 100%; }

.download-os-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.download-formats {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
  font-family: var(--font-mono);
}

/* ── Download Modal (Countdown) ────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(6, 6, 14, 0.92);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}
.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: var(--panel-dark);
  border: var(--border-glow);
  border-radius: 20px;
  padding: 3rem;
  max-width: 480px;
  width: 90%;
  text-align: center;
  transform: scale(0.9) translateY(20px);
  transition: transform 0.4s ease;
  position: relative;
  overflow: hidden;
}
.modal-overlay.active .modal-content {
  transform: scale(1) translateY(0);
}

.modal-content::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), var(--magenta), transparent);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  font-size: 1.1rem;
}
.modal-close:hover {
  border-color: var(--cyan-dim);
  color: var(--cyan);
}

.modal-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.modal-subtitle {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

.countdown-circle {
  width: 120px;
  height: 120px;
  margin: 0 auto 2rem;
  position: relative;
}

.countdown-circle > svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.countdown-track {
  fill: none;
  stroke: var(--surface);
  stroke-width: 4;
}

.countdown-progress {
  fill: none;
  stroke: var(--cyan);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 339.292;
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 1s linear;
  filter: drop-shadow(0 0 8px var(--cyan));
}

.countdown-number {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--cyan);
  text-shadow: var(--cyan-glow);
}

.modal-progress-bar {
  width: 100%;
  height: 4px;
  background: var(--surface);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 2rem;
}

.modal-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--cyan), var(--magenta));
  border-radius: 2px;
  width: 0%;
  transition: width 1s linear;
}

.modal-download-btn {
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: all 0.4s ease;
}
.modal-download-btn.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* PropellerAds placeholder */
.ad-slot {
  background: var(--surface);
  border: 1px dashed rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 1.5rem;
  margin: 1.5rem 0;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── Stats ─────────────────────────────────────────────────── */
.stats {
  padding: 2rem 0 var(--section-padding);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
}

.stat-item {
  text-align: center;
  padding: 1.5rem 1rem;
  background: var(--panel-dark);
  border: var(--border-subtle);
  border-radius: 12px;
}

.stat-value {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--cyan);
  text-shadow: 0 0 15px rgba(0, 204, 255, 0.3);
}

.stat-label {
  font-size: 1.20rem;
  color: var(--text-secondary); /* Increased contrast */
  margin-top: 0.3rem;
  font-weight: 500;
}

/* ── Footer ────────────────────────────────────────────────── */
.site-footer {
  border-top: var(--border-subtle);
  padding: 2.5rem 0;
  margin-top: auto;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-brand svg {
  width: 20px;
  height: 20px;
  color: var(--cyan);
}

.footer-brand span {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 1px;
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--text-muted);
}
.footer-links a:hover {
  color: var(--cyan);
  text-shadow: none;
}

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

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 768px) {
  .header-nav { display: none; }
  .mobile-menu-btn { display: flex; align-items: center; justify-content: center; }

  .header-logo {
    flex: 1 1 0;
    min-width: 0;
  }

  .header-logo-text {
    white-space: normal;
    line-height: 1.2;
    font-size: clamp(0.58rem, 2.9vw, 0.95rem);
    letter-spacing: 0.06em;
  }

  .header-logo svg {
    width: clamp(26px, 7vw, 32px);
    height: clamp(26px, 7vw, 32px);
    flex-shrink: 0;
  }

  .hero-title { font-size: clamp(2rem, 8vw, 3rem); }

  .features-grid { grid-template-columns: 1fr; }
  .download-grid { grid-template-columns: 1fr; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }

  .footer-inner {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem 1.5rem;
    row-gap: 0.75rem;
  }

  .carousel-arrow { display: none; }

  .carousel {
    border-radius: 12px;
    margin: 0 -0.125rem;
  }

  .carousel-controls {
    bottom: max(0.75rem, env(safe-area-inset-bottom, 0px));
  }

  .download-wrapper {
    padding: clamp(1.75rem, 6vw, 2.5rem) clamp(1rem, 4vw, 1.5rem);
  }

  .release-highlights {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .highlight-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.65rem;
  }

  .screenshots-title {
    letter-spacing: clamp(2px, 1vw, 4px);
    font-size: clamp(0.82rem, 3vw, 1rem);
    padding: 0 0.5rem;
  }

  .modal-content {
    padding: 2rem 1.25rem;
    max-height: min(92vh, 92dvh);
    overflow-y: auto;
    margin: max(0.5rem, env(safe-area-inset-top, 0px)) 0 max(0.5rem, env(safe-area-inset-bottom, 0px));
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 22rem;
    margin-left: auto;
    margin-right: auto;
  }
  .btn { width: 100%; justify-content: center; }
  .stats-grid { grid-template-columns: 1fr; }

  .changelog-item summary {
    padding: 0.85rem 1rem;
    font-size: 0.88rem;
    flex-wrap: wrap;
    gap: 0.35rem;
  }

  .changelog-content {
    padding: 0 1rem 1.1rem;
  }

  .doc-section h2 {
    font-size: clamp(1.35rem, 6vw, 2rem);
  }

  .code-terminal {
    font-size: clamp(0.78rem, 3.2vw, 0.95rem);
    padding: 1rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .release-note-muted {
    text-align: left;
    margin-top: -0.5rem;
  }
}

/* ── Mobile Nav Menu ───────────────────────────────────────── */
.mobile-nav {
  display: none;
  position: fixed;
  top: calc(64px + env(safe-area-inset-top, 0px));
  left: 0;
  right: 0;
  background: rgba(6, 6, 14, 0.95);
  backdrop-filter: blur(16px);
  border-bottom: var(--border-subtle);
  padding: 1.25rem;
  padding-bottom: max(1.25rem, env(safe-area-inset-bottom, 0px));
  z-index: 99;
  flex-direction: column;
  gap: 0.5rem;
  max-height: min(70vh, calc(100dvh - 64px - env(safe-area-inset-top, 0px)));
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-nav.active { display: flex; }

.mobile-nav a {
  display: block;
  padding: 0.8rem 1rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: 8px;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: all 0.2s ease;
}
.mobile-nav a:hover {
  background: rgba(0, 204, 255, 0.05);
  color: var(--cyan);
  text-shadow: none;
}

/* ── Utility ───────────────────────────────────────────────── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.separator {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 204, 255, 0.1), transparent);
  margin: 0;
}

/* ── Release Notes Section ─────────────────────────────────── */
.release-notes {
  padding: var(--section-padding) 0;
}

.release-card {
  background: var(--panel-dark);
  border: var(--border-glow);
  border-radius: 20px;
  padding: clamp(1.25rem, 5vw, 3rem);
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.release-note-muted {
  font-size: clamp(0.85rem, 2.8vw, 0.95rem);
  color: var(--text-muted);
  line-height: 1.55;
  margin: -1.5rem auto 2.5rem;
  padding: 1rem 1.1rem;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  text-align: center;
  max-width: 52rem;
}

.release-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.release-title {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 4vw, 1.8rem);
  font-weight: 800;
  color: var(--text-primary);
}

.version-badge {
  display: inline-block;
  padding: 0.2rem 0.8rem;
  background: var(--cyan);
  color: var(--space-black);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 4px;
  margin-bottom: 0.5rem;
}

.release-date {
  font-size: 0.85rem;
  color: var(--text-secondary); /* Increased contrast */
  font-weight: 500;
}

.release-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.highlight-item {
  display: flex;
  gap: 1rem;
}

.highlight-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
}

.highlight-text h4 {
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: var(--cyan);
  margin-bottom: 0.4rem;
}

.highlight-text p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.release-changelog h3,
.release-specs h3 {
  font-family: var(--font-display);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--text-secondary); /* Increased contrast */
  margin-bottom: 1.5rem;
}

.changelog-item {
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  margin-bottom: 0.8rem;
  transition: all 0.3s ease;
}

.changelog-item summary {
  padding: 1rem 1.5rem;
  cursor: pointer;
  list-style: none;
  font-size: 0.95rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  text-align: left;
}

.changelog-item summary::-webkit-details-marker { display: none; }

.changelog-item summary::after {
  content: '+';
  color: var(--cyan);
  font-size: 1.2rem;
}

.changelog-item[open] summary::after {
  content: '−';
}

.changelog-content {
  padding: 0 1.5rem 1.5rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.changelog-content p {
  margin-top: 1rem;
}

.specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-bottom: 3rem;
}

.spec-entry {
  background: rgba(0, 0, 0, 0.2);
  padding: 1rem;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
}

.spec-entry span {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}

.spec-entry strong {
  font-size: 0.95rem;
  color: var(--text-primary);
}

.release-disclaimer {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.8rem;
  color: var(--text-muted);
  font-style: italic;
  text-align: center;
}

/* ── Docs Content ──────────────────────────────────────────── */
.docs-page {
  background: var(--space-black);
}

.docs-hero {
  text-align: center;
  padding: 5rem 0 3rem;
}

.docs-hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.docs-hero .hero-title {
  font-size: clamp(2rem, 8vw, 3.5rem);
  padding: 0 0.25rem;
}

.docs-hero .hero-subtitle {
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
  padding: 0 0.5rem;
}

.docs-layout {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 2.5rem;
  padding-bottom: 5rem;
}

/* ── Docs Sidebar ──────────────────────────────────────────── */
.docs-sidebar {
  display: block;
  width: 220px;
  flex-shrink: 0;
  position: sticky;
  top: 84px;
  align-self: flex-start;
}

.docs-nav-links {
  background: var(--panel-dark);
  border: var(--border-subtle);
  border-radius: 12px;
  padding: 1.2rem 0;
  overflow: hidden;
}

/* Sidebar title label */
.docs-nav-links::before {
  content: 'EN ESTA PÁGINA';
  display: block;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 2.5px;
  color: var(--text-muted);
  padding: 0 1.2rem 0.8rem;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  margin-bottom: 0.6rem;
}

.docs-nav-links a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 0.55rem 1.2rem;
  border-left: 2px solid transparent;
  transition: all 0.2s ease;
  text-decoration: none;
}

.docs-nav-links a::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--text-muted);
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.docs-nav-links a:hover {
  color: var(--cyan);
  border-left-color: var(--cyan);
  background: rgba(0, 204, 255, 0.04);
  text-shadow: none;
  padding-left: 1.4rem;
}

.docs-nav-links a:hover::before {
  background: var(--cyan);
  box-shadow: 0 0 6px var(--cyan);
}

.docs-nav-links a.active {
  color: var(--cyan);
  border-left-color: var(--cyan);
  background: rgba(0, 204, 255, 0.06);
}

.docs-nav-links a.active::before {
  background: var(--cyan);
  box-shadow: 0 0 6px var(--cyan);
}

.docs-article {
  flex: 1;
  min-width: 0;
  max-width: 800px;
}

.doc-section {
  padding: 3rem 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.doc-section h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  margin-bottom: 1.5rem;
  width: 100%;
}

.doc-section h3 {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 4vw, 1.65rem);
  font-weight: 700;
  margin-bottom: 1rem;
  width: 100%;
  text-align: center;
}

/* License panel (legal.html); docs also use .code-block-wrapper without .code-block */
.code-block-wrapper {
  width: 100%;
  max-width: 52rem;
  margin: 1.5rem auto 0;
  align-self: stretch;
  min-width: 0;
}

.code-block-wrapper:has(.code-block) {
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #08080f;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

.code-block-wrapper:not(:has(.code-block)) {
  padding: 0 0.25rem;
}

.code-block-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.55rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.code-lang {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 2px;
  color: var(--text-muted);
  text-transform: uppercase;
}

.code-block {
  margin: 0;
  padding: clamp(0.85rem, 3vw, 1.15rem) clamp(0.85rem, 3vw, 1.1rem);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  font-family: var(--font-mono);
  font-size: clamp(0.68rem, 2.8vw, 0.88rem);
  line-height: 1.55;
  color: var(--text-secondary);
  text-align: left;
  white-space: pre-wrap;
  word-break: break-word;
  overflow-wrap: anywhere;
  max-width: 100%;
}

.code-block code {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
  white-space: inherit;
  word-break: inherit;
  overflow-wrap: inherit;
}

.step-list {
  list-style-type: none;
  padding: 0;
  width: 100%;
}

.step-list li, .step-list p {
  margin-bottom: 1.2rem;
  font-size: 1.1rem;
  text-align: center;
}

.code-terminal {
  background: #000;
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  margin: 1.5rem auto;
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: var(--text-primary);
  width: 100%;
  max-width: 600px;
  text-align: left; /* Keep code left-aligned for readability */
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.code-terminal code {
  display: block;
}

/* Code highlighting colors */
.token-cmd { color: var(--cyan); font-weight: 600; }
.token-flag { color: var(--magenta); }
.token-arg { color: #f8f8f2; }
.token-property { color: var(--violet); }
.token-string { color: #50fa7b; }
.token-comment { color: var(--text-muted); font-style: italic; }

.tabs {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
}

.tab {
  width: 100%;
  max-width: 600px;
}

.feature-detail {
  background: var(--panel-dark);
  padding: 1.5rem;
  border-radius: 12px;
  border: var(--border-subtle);
  margin-bottom: 1.5rem;
}

.feature-detail h4 {
  color: var(--cyan);
  margin-bottom: 0.5rem;
}

.feature-detail code {
  background: rgba(255, 255, 255, 0.05);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--magenta);
  display: inline-block;
  margin-bottom: 0.5rem;
}

.accordion details {
  background: var(--panel-dark);
  border-radius: 8px;
  margin-bottom: 0.5rem;
  overflow: hidden;
  width: 100%;
}

.accordion summary {
  padding: 1.2rem;
  cursor: pointer;
  font-weight: 500;
  color: var(--text-primary);
  text-align: center;
}

.accordion p {
  padding: 0 1.2rem 1.2rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  text-align: center;
}

.note {
  font-size: 0.9rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.02);
  padding: 1rem;
  border-radius: 8px;
}

/* ── Alert Components ───────────────────────────────────────── */
.alert {
  padding: 1rem 1.5rem;
  border-radius: 12px;
  margin: 2rem 0;
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.95rem;
  line-height: 1.6;
  width: 100%;
}

.alert-group {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  width: 100%;
}

.alert-icon {
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.alert-content {
  flex: 1;
}

.alert-title {
  display: block;
  font-weight: 700;
  font-family: var(--font-display);
  margin-bottom: 0.4rem;
  font-size: 0.75rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.alert-note {
  background: rgba(0, 204, 255, 0.05);
  border-left: 4px solid var(--cyan);
}
.alert-note .alert-title { color: var(--cyan); }
.alert-note .alert-icon { color: var(--cyan); }

.alert-tip {
  background: rgba(187, 134, 252, 0.05);
  border-left: 4px solid var(--violet);
}
.alert-tip .alert-title { color: var(--violet); }
.alert-tip .alert-icon { color: var(--violet); }

.alert-caution {
  background: rgba(255, 0, 255, 0.05);
  border-left: 4px solid var(--magenta);
}
.alert-caution .alert-title { color: var(--magenta); }
.alert-caution .alert-icon { color: var(--magenta); }

.alert-danger {
  background: rgba(255, 69, 58, 0.05); /* Apple-like Red */
  border-left: 4px solid #ff453a;
}
.alert-danger .alert-title { color: #ff453a; }
.alert-danger .alert-icon { color: #ff453a; }

.alert-info {
  background: rgba(10, 132, 255, 0.05); /* Apple-like Blue */
  border-left: 4px solid #0a84ff;
}
.alert-info .alert-title { color: #0a84ff; }
.alert-info .alert-icon { color: #0a84ff; }

@media (max-width: 992px) {
  .docs-layout {
    flex-direction: column;
  }
  .docs-sidebar {
    display: none;
  }
  .docs-article {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .docs-hero {
    padding: clamp(3rem, 12vw, 5rem) 0 2rem;
  }
}

@media (max-width: 768px) {
  .release-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
}
/* ── How to Skip ads Section ────────────────────────────────── */
.how-to-skip {
  padding: var(--section-padding) 0;
}

.skip-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 3rem;
  margin-bottom: 4rem;
  width: 100%;
}

@media (max-width: 992px) {
  .skip-steps-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 520px) {
  .skip-steps-grid { grid-template-columns: 1fr; }
}

.skip-step-card {
  background: var(--panel-dark);
  border: var(--border-subtle);
  border-radius: 20px;
  padding: 2rem;
  position: relative;
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
}

.skip-step-desc {
  flex-grow: 1;
}

.skip-step-card:hover {
  border-color: rgba(0, 204, 255, 0.2);
  transform: translateY(-5px);
  background: rgba(0, 204, 255, 0.02);
}

.skip-step-desc {
  flex-grow: 1;
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
}

.step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  background: rgba(0, 204, 255, 0.08);
  border: 1px solid rgba(0, 204, 255, 0.15);
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: auto;
}

.skip-step-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 900;
  color: rgba(0, 204, 255, 0.1);
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  line-height: 1;
}

.skip-step-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--cyan);
  margin-bottom: 1rem;
  letter-spacing: 1px;
}

.skip-step-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ── Legal Section ─────────────────────────────────────────── */
.legal {
  padding: var(--section-padding) 0;
}

.legal-card {
  background: var(--panel-dark);
  border: var(--border-glow);
  border-radius: 24px;
  padding: 4rem;
  position: relative;
  overflow: hidden;
}

.legal-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: start;
}

@media (max-width: 992px) {
  .legal-grid { grid-template-columns: 1fr; gap: 2rem; }
  .legal-card { padding: 2.5rem; }
}

@media (max-width: 480px) {
  .legal-card {
    padding: clamp(1rem, 4.5vw, 1.35rem);
    border-radius: 16px;
  }

  .legal-grid {
    gap: 1.35rem;
  }

  .legal-text {
    font-size: clamp(0.92rem, 3.6vw, 1.05rem);
  }

  .legal-item h4 {
    letter-spacing: 1px;
    font-size: 0.82rem;
  }

  .legal-item p {
    font-size: 0.9rem;
  }
}

.legal-text {
  color: var(--text-secondary);
  font-size: 1.1rem;
  line-height: 1.7;
}

.legal-list {
  display: grid;
  gap: 2rem;
}

.legal-item h4 {
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.5rem;
}

.legal-item p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}
