/* ═══════════════════════════════════════════════════════════════════
   AETHER RADIO — LANDING
   Apple HIG design: clean surfaces, generous space, large type.
   ═══════════════════════════════════════════════════════════════════ */

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: var(--text-md);
  line-height: 1.55;
  color: var(--text-primary);
  background: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: clip;
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: var(--accent-primary); text-decoration: none; }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: none; box-shadow: var(--shadow-focus); border-radius: var(--radius-sm); }
::selection { background: var(--accent-soft-md); color: var(--text-primary); }
h1,h2,h3,h4,h5,h6 { font-family: var(--font-display); color: var(--text-primary); line-height: 1.1; font-weight: var(--weight-bold); }

/* ── Layout ── */
.wrap { width: min(1120px, 100% - 2rem); margin-inline: auto; }
.wrap--narrow { max-width: 780px; }
@media (min-width: 768px) { .wrap { width: min(1120px, 100% - 4rem); } }

/* ── Sections ── */
.section { padding: clamp(5rem, 12vw, 9rem) 0; }
.section--alt { background: var(--bg-secondary); border-top: 1px solid var(--border-subtle); border-bottom: 1px solid var(--border-subtle); }
.section-label {
  display: inline-block;
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--accent-primary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--space-3);
}
.section-title {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: var(--weight-heavy);
  letter-spacing: -0.025em;
  margin-bottom: var(--space-4);
  max-width: 700px;
}

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 28px;
  border-radius: var(--radius-full);
  font-size: var(--text-base); font-weight: var(--weight-semibold);
  letter-spacing: -0.01em; white-space: nowrap;
  transition: background var(--transition-fast), transform var(--transition-spring), box-shadow var(--transition-fast);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: scale(0.97); }
.btn-primary {
  background: var(--accent-primary); color: var(--text-on-accent);
  box-shadow: 0 4px 14px var(--accent-glow);
}
.btn-primary:hover { background: var(--accent-hover); color: var(--text-on-accent); box-shadow: 0 6px 20px var(--accent-glow-lg); }
.btn-secondary {
  background: var(--bg-secondary); color: var(--text-primary);
  border: 1px solid var(--border-subtle); box-shadow: var(--shadow-xs);
}
.btn-secondary:hover { background: var(--fill-tertiary); color: var(--text-primary); border-color: var(--border-medium); }
.btn-ghost {
  background: transparent; color: var(--text-primary);
  border: 1px solid var(--border-medium);
}
.btn-ghost:hover { background: var(--fill-tertiary); border-color: var(--border-strong); }

/* ══════════ NAV ══════════ */
.nav {
  position: sticky; top: 0; z-index: 100;
  padding: 12px 0;
  background: var(--material-chrome);
  border-bottom: 1px solid var(--border-subtle);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
}
.nav-bar {
  width: min(1120px, 100% - 2rem); margin-inline: auto;
  display: flex; align-items: center; gap: var(--space-4);
}
@media (min-width: 768px) { .nav-bar { width: min(1120px, 100% - 4rem); } }
.nav-brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: var(--weight-bold);
  font-size: var(--text-md); color: var(--text-primary); letter-spacing: -0.01em;
}
.nav-brand:hover { color: var(--text-primary); }
.nav-brand img { width: 28px; height: 28px; border-radius: 7px; }
.nav-links { display: none; margin-left: auto; gap: var(--space-6); }
@media (min-width: 768px) { .nav-links { display: flex; } }
.nav-links a { color: var(--text-secondary); font-size: var(--text-sm); font-weight: var(--weight-medium); transition: color var(--transition-fast); }
.nav-links a:hover { color: var(--text-primary); }
.nav-end { display: flex; align-items: center; gap: 10px; margin-left: auto; }
@media (min-width: 768px) { .nav-end { margin-left: 0; } }
.nav-theme {
  width: 36px; height: 36px; border-radius: var(--radius-full);
  display: flex; align-items: center; justify-content: center;
  background: var(--fill-tertiary); color: var(--text-primary);
  transition: background var(--transition-fast);
}
.nav-theme:hover { background: var(--fill-secondary); }
.nav-theme .icon-sun { display: none; }
.nav-theme .icon-moon { display: block; }
html[data-theme="dark"] .nav-theme .icon-sun { display: block; }
html[data-theme="dark"] .nav-theme .icon-moon { display: none; }
.nav-cta {
  display: none; height: 36px; padding: 0 18px;
  border-radius: var(--radius-full);
  background: var(--accent-primary); color: var(--text-on-accent);
  font-size: var(--text-sm); font-weight: var(--weight-semibold);
  align-items: center; justify-content: center;
  transition: background var(--transition-fast);
}
@media (min-width: 768px) { .nav-cta { display: inline-flex; } }
.nav-cta:hover { background: var(--accent-hover); color: var(--text-on-accent); }
.nav-live {
  display: none; height: 36px; padding: 0 14px;
  border-radius: var(--radius-full);
  background: var(--fill-tertiary); color: var(--text-primary);
  font-size: var(--text-sm); font-weight: var(--weight-semibold);
  align-items: center; justify-content: center; gap: 6px;
  border: 1px solid var(--border-subtle);
  transition: background var(--transition-fast), border-color var(--transition-fast);
}
@media (min-width: 900px) { .nav-live { display: inline-flex; } }
.nav-live:hover { background: var(--fill-secondary); border-color: var(--border-medium); color: var(--text-primary); }
.nav-live-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--sys-green);
  box-shadow: 0 0 6px rgba(48, 209, 88, 0.6);
  animation: livePulse 2s ease-in-out infinite;
}
@keyframes livePulse { 0%,100% { opacity: 1; } 50% { opacity: 0.5; } }
@media (prefers-reduced-motion: reduce) { .nav-live-dot { animation: none; } }
.nav-burger {
  display: flex; flex-direction: column; gap: 5px;
  width: 36px; height: 36px; align-items: center; justify-content: center;
  border-radius: var(--radius-full); background: var(--fill-tertiary);
}
.nav-burger span { width: 16px; height: 2px; background: var(--text-primary); border-radius: 2px; transition: transform 200ms, opacity 150ms; }
@media (min-width: 768px) { .nav-burger { display: none; } }
.nav[data-open] .nav-burger span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav[data-open] .nav-burger span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.nav-mobile {
  display: none; flex-direction: column; gap: var(--space-2);
  padding: var(--space-4) 0;
  width: min(1120px, 100% - 2rem); margin-inline: auto;
}
.nav-mobile:not([hidden]) { display: flex; }
.nav-mobile a { padding: 10px 0; color: var(--text-primary); font-weight: var(--weight-medium); font-size: var(--text-md); }
.nav-mobile-cta {
  margin-top: var(--space-2); padding: 12px 0; text-align: center;
  background: var(--accent-primary); color: var(--text-on-accent);
  border-radius: var(--radius-lg); font-weight: var(--weight-semibold);
}
.nav-mobile-live {
  display: flex; align-items: center; gap: 8px;
  color: var(--text-primary); font-weight: var(--weight-medium);
}
.nav-mobile-live .nav-live-dot { width: 6px; height: 6px; }

/* ══════════ HERO ══════════ */
.hero {
  padding: clamp(6rem, 16vw, 12rem) 0 clamp(4rem, 10vw, 8rem);
  text-align: center;
}
.hero-eyebrow {
  font-size: var(--text-sm); font-weight: var(--weight-semibold);
  color: var(--accent-primary); text-transform: uppercase;
  letter-spacing: 0.08em; margin-bottom: var(--space-4);
}
.hero-title {
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: var(--weight-black);
  letter-spacing: -0.035em;
  line-height: 1.0;
  margin-bottom: var(--space-6);
}
.hero-accent {
  background: var(--gradient-spectrum);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--text-secondary); line-height: 1.6;
  max-width: 600px; margin-inline: auto;
  margin-bottom: var(--space-8);
}
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* ══════════ STATS ══════════ */
.stats {
  padding: clamp(2.5rem, 5vw, 3.5rem) 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-4); text-align: center; }
@media (min-width: 600px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stat strong {
  display: block;
  font-family: var(--font-display); font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: var(--weight-black); letter-spacing: -0.02em;
  color: var(--text-primary);
}
.stat span { font-size: var(--text-sm); color: var(--text-secondary); font-weight: var(--weight-medium); }

/* ══════════ CHANGELOG / WHAT'S NEW ══════════ */
.changelog { position: relative; padding-left: 28px; margin-top: var(--space-6); }
.changelog::before {
  content: ''; position: absolute; left: 6px; top: 10px; bottom: 10px;
  width: 2px; background: var(--border-subtle); border-radius: 2px;
}
.changelog-entry { position: relative; margin-bottom: var(--space-6); }
.changelog-entry:last-child { margin-bottom: 0; }
.changelog-dot {
  position: absolute; left: -28px; top: 6px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--bg-primary); border: 2px solid var(--text-tertiary);
}
.changelog-dot--active {
  background: var(--accent-primary); border-color: var(--accent-primary);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.changelog-body {
  background: var(--bg-secondary); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl); padding: var(--space-5);
  box-shadow: var(--shadow-xs);
}
.section--alt .changelog-body { background: var(--bg-primary); }
.changelog-meta { display: flex; align-items: center; gap: var(--space-3); margin-bottom: var(--space-2); }
.changelog-meta code {
  font-family: var(--font-mono); font-size: var(--text-xs); font-weight: var(--weight-semibold);
  padding: 2px 8px; border-radius: var(--radius-full);
  background: var(--accent-soft); color: var(--accent-primary);
}
.changelog-meta span { font-size: var(--text-xs); color: var(--text-tertiary); }
.changelog-body h3 { font-size: var(--text-lg); font-weight: var(--weight-bold); letter-spacing: -0.01em; margin-bottom: var(--space-3); }
.changelog-body ul { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.changelog-body li { font-size: var(--text-base); color: var(--text-secondary); padding-left: 18px; position: relative; }
.changelog-body li::before { content: ''; position: absolute; left: 0; top: 9px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent-primary); opacity: 0.6; }

/* ══════════ FEATURES ══════════ */
.features { display: grid; grid-template-columns: 1fr; gap: var(--space-4); margin-top: var(--space-6); }
@media (min-width: 600px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .features { grid-template-columns: repeat(4, 1fr); } }
.feature {
  padding: var(--space-5);
  background: var(--bg-primary); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl); box-shadow: var(--shadow-xs);
  transition: transform var(--transition-spring), box-shadow var(--transition-base), border-color var(--transition-base);
}
.section--alt .feature { background: var(--bg-primary); }
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--accent-border); }
.feature-icon {
  width: 44px; height: 44px; border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  color: var(--tint, var(--accent-primary)); margin-bottom: var(--space-3);
  flex-shrink: 0; position: relative; overflow: hidden;
}
.feature-icon::before {
  content: ''; position: absolute; inset: 0;
  background: currentColor; opacity: 0.12; border-radius: inherit;
}
.feature-icon svg { position: relative; }
.feature h3 { font-size: var(--text-md); font-weight: var(--weight-semibold); letter-spacing: -0.01em; margin-bottom: var(--space-1); }
.feature p { font-size: var(--text-sm); color: var(--text-secondary); line-height: 1.5; }

/* ══════════ SCREENSHOTS / GALLERY ══════════ */
.gallery-group { margin-bottom: var(--space-8); }
.gallery-group:last-child { margin-bottom: 0; }
.gallery-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--space-3); }
.gallery-label { font-size: var(--text-sm); font-weight: var(--weight-semibold); color: var(--text-secondary); text-transform: uppercase; letter-spacing: 0.04em; }
.gallery-arrows { display: flex; gap: 6px; }
.gallery-arrow {
  width: 30px; height: 30px; border-radius: var(--radius-full);
  display: flex; align-items: center; justify-content: center;
  background: var(--fill-tertiary); color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
  transition: background var(--transition-fast), color var(--transition-fast);
}
.gallery-arrow:hover { background: var(--fill-secondary); color: var(--text-primary); }
.gallery-track {
  display: flex; gap: var(--space-4); overflow-x: auto;
  scroll-snap-type: x mandatory; scrollbar-width: none;
  -webkit-overflow-scrolling: touch; cursor: grab;
  padding: var(--space-2) 0;
}
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-track:active { cursor: grabbing; }
.gallery-item {
  flex-shrink: 0; scroll-snap-align: start; margin: 0;
  border-radius: var(--radius-xl); overflow: hidden;
  border: 1px solid var(--border-subtle); box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform var(--transition-spring), box-shadow var(--transition-base), border-color var(--transition-base);
}
.gallery-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--accent-border); }
.gallery-item--desktop { width: clamp(320px, 40vw, 480px); }
.gallery-item--mobile { width: clamp(140px, 18vw, 200px); }
.gallery-item img { width: 100%; height: auto; display: block; }

/* ══════════ PLATFORMS ══════════ */
.platforms { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-4); margin-top: var(--space-6); }
@media (min-width: 768px) { .platforms { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .platforms { grid-template-columns: repeat(5, 1fr); } }
.platform {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: var(--space-6) var(--space-4);
  background: var(--bg-primary); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl); box-shadow: var(--shadow-xs);
  transition: transform var(--transition-spring), box-shadow var(--transition-base), border-color var(--transition-base);
}
.platform:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--accent-border); color: var(--text-primary); }
.platform-icon {
  width: 52px; height: 52px; border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  color: var(--tint, var(--accent-primary)); margin-bottom: var(--space-3);
  flex-shrink: 0; position: relative; overflow: hidden;
}
.platform-icon::before {
  content: ''; position: absolute; inset: 0;
  background: currentColor; opacity: 0.12; border-radius: inherit;
}
.platform-icon svg { width: 24px; height: 24px; position: relative; }
.platform h3 { font-size: var(--text-md); font-weight: var(--weight-semibold); margin-bottom: 2px; color: var(--text-primary); }
.platform p { font-size: var(--text-xs); color: var(--text-secondary); }

/* Platform dropdown */
.platform--dd { position: relative; cursor: default; }
.platform--dd:hover { transform: none; }
.platform-trigger {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: var(--text-xs); font-weight: var(--weight-semibold);
  color: var(--accent-primary); margin-top: var(--space-2);
  padding: 4px 10px; border-radius: var(--radius-full);
  background: var(--accent-soft); border: none; cursor: pointer;
  transition: background var(--transition-fast);
}
.platform-trigger:hover { background: var(--accent-soft-md); }
.platform-trigger svg { transition: transform var(--transition-fast); }
.platform-trigger[aria-expanded="true"] svg { transform: rotate(180deg); }
.platform-menu {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  margin-top: 8px; min-width: 150px;
  background: var(--bg-elevated); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  overflow: hidden; z-index: 50;
  animation: menuPop 150ms var(--ease-out);
}
.platform-menu[hidden] { display: none; }
.platform-menu a {
  display: block; padding: 10px 16px;
  font-size: var(--text-sm); font-weight: var(--weight-medium);
  color: var(--text-primary); border-bottom: 1px solid var(--border-subtle);
  transition: background var(--transition-fast);
}
.platform-menu a:last-child { border-bottom: none; }
.platform-menu a:hover { background: var(--accent-soft); color: var(--accent-primary); }
.platform-menu-disabled {
  display: block; padding: 10px 16px;
  font-size: var(--text-sm); font-weight: var(--weight-medium);
  color: var(--text-tertiary); opacity: 0.5;
  cursor: not-allowed; user-select: none;
}
.platform-menu-disabled small { display: block; font-size: 0.75rem; opacity: 0.7; margin-top: 2px; }
@keyframes menuPop { from { opacity: 0; transform: translateX(-50%) translateY(-4px); } to { opacity: 1; transform: translateX(-50%) translateY(0); } }

/* ══════════ VALUES ══════════ */
.values { display: grid; grid-template-columns: 1fr; gap: var(--space-4); text-align: center; }
@media (min-width: 600px) { .values { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .values { grid-template-columns: repeat(4, 1fr); } }
.value-icon {
  width: 48px; height: 48px; border-radius: var(--radius-lg);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--tint, var(--accent-primary)); margin-bottom: var(--space-3);
  position: relative; overflow: hidden;
}
.value-icon::before {
  content: ''; position: absolute; inset: 0;
  background: currentColor; opacity: 0.12; border-radius: inherit;
}
.value-icon svg { position: relative; }
.value h3 { font-size: var(--text-md); font-weight: var(--weight-semibold); margin-bottom: var(--space-1); }
.value p { font-size: var(--text-sm); color: var(--text-secondary); line-height: 1.5; }

/* ══════════ FAQ ══════════ */
.faq-list { display: flex; flex-direction: column; gap: 8px; margin-top: var(--space-6); }
.faq-item {
  background: var(--bg-primary); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl); overflow: hidden;
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}
.section--alt .faq-item { background: var(--bg-primary); }
.faq-item[open] { border-color: var(--accent-border); box-shadow: 0 4px 16px var(--accent-glow); }
.faq-item summary {
  cursor: pointer; list-style: none;
  padding: var(--space-4) var(--space-5);
  font-family: var(--font-display); font-size: var(--text-md);
  font-weight: var(--weight-semibold); color: var(--text-primary);
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-4);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; font-size: var(--text-xl); color: var(--text-tertiary);
  font-weight: var(--weight-regular); transition: transform var(--transition-base);
}
.faq-item[open] summary::after { content: '−'; color: var(--accent-primary); }
.faq-item p { padding: 0 var(--space-5) var(--space-4); color: var(--text-secondary); font-size: var(--text-base); line-height: 1.6; }
.faq-item p a { color: var(--accent-primary); }

/* ══════════ DONATE ══════════ */
.donate-wrap { text-align: center; max-width: 560px; }
.donate-desc { color: var(--text-secondary); font-size: var(--text-md); line-height: 1.6; margin-bottom: var(--space-6); }

/* ══════════ CTA ══════════ */
.cta {
  padding: clamp(4rem, 10vw, 7rem) 0;
  text-align: center;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
}
.cta h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: var(--weight-heavy); letter-spacing: -0.02em; margin-bottom: var(--space-3); }
.cta p { color: var(--text-secondary); font-size: var(--text-lg); margin-bottom: var(--space-6); }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* ══════════ FOOTER ══════════ */
.footer { padding: var(--space-12) 0 var(--space-6); border-top: 1px solid var(--border-subtle); }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-8); margin-bottom: var(--space-8); }
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1.5fr repeat(3, 1fr); } }
.footer-brand a { display: flex; align-items: center; gap: 10px; color: var(--text-primary); font-family: var(--font-display); font-weight: var(--weight-bold); margin-bottom: var(--space-2); }
.footer-brand a:hover { color: var(--text-primary); }
.footer-brand img { width: 28px; height: 28px; border-radius: 7px; }
.footer-brand p { font-size: var(--text-sm); color: var(--text-secondary); }
.footer-col h4 { font-size: var(--text-xs); font-weight: var(--weight-bold); text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-primary); margin-bottom: var(--space-3); }
.footer-col a { display: block; padding: 3px 0; font-size: var(--text-sm); color: var(--text-secondary); }
.footer-col a:hover { color: var(--accent-primary); }
.footer-bottom { padding-top: var(--space-5); border-top: 1px solid var(--border-subtle); font-size: var(--text-xs); color: var(--text-tertiary); }

/* ══════════ LIGHTBOX ══════════ */
.lightbox { position: fixed; inset: 0; z-index: 9999; background: rgba(0,0,0,0.92); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 200ms; }
.lightbox[hidden] { display: none; }
.lightbox.is-open { opacity: 1; }
.lightbox-body { max-width: 92vw; max-height: 88vh; user-select: none; touch-action: none; }
.lightbox-body img { max-width: 100%; max-height: 88vh; border-radius: var(--radius-xl); object-fit: contain; pointer-events: none; transition: transform 250ms var(--ease-spring); }
.lightbox-body img.is-swiping { transition: none; }
.lightbox-close, .lightbox-arrow {
  position: absolute; width: 44px; height: 44px; border-radius: var(--radius-full);
  background: rgba(255,255,255,0.1); color: #fff; border: 1px solid rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition-fast);
}
.lightbox-close:hover, .lightbox-arrow:hover { background: rgba(255,255,255,0.2); }
.lightbox-close { top: 16px; right: 16px; }
.lightbox-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 16px; top: 50%; transform: translateY(-50%); }
.lightbox-counter { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); font-size: var(--text-sm); color: rgba(255,255,255,0.6); font-weight: var(--weight-medium); }

/* ══════════ RESPONSIVE ══════════ */
@media (max-width: 480px) {
  .hero-title { font-size: clamp(2.25rem, 11vw, 3rem); }
  .hero-actions .btn { width: 100%; }
  .gallery-item--desktop { width: clamp(260px, 80vw, 340px); }
  .gallery-item--mobile { width: clamp(120px, 40vw, 160px); }
  .platforms { grid-template-columns: 1fr; }
  .cta-actions { flex-direction: column; align-items: center; }
  .cta-actions .btn { width: 100%; max-width: 300px; }
}

/* ══════════ SCROLL REVEAL ══════════ */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 600ms var(--ease-expo), transform 600ms var(--ease-expo); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ══════════ REDUCED MOTION ══════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* ══════════ THEME TRANSITIONS ══════════ */
html, body, .nav, .btn, .feature, .platform, .faq-item, .changelog-body, .footer, .cta {
  transition: background-color 300ms ease, border-color 300ms ease, color 300ms ease, box-shadow 300ms ease;
}
