/* ================================================================
   PFlix Media Organizer — Shared Stylesheet
   Dark · Neon · Premium · Media-Tech
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ---------------------------------------------------------------
   DESIGN TOKENS
--------------------------------------------------------------- */
:root {
  --bg-deep:      #07070f;
  --bg-card:      #0d0d1c;
  --bg-surface:   #111121;
  --bg-hover:     #1a1a30;
  --bg-nav:       rgba(7, 7, 15, 0.94);

  --brand:        #ff9a00;
  --brand-dim:    #d97000;
  --brand-bright: #ffcc44;
  --brand-glow:   rgba(255, 154, 0, 0.28);
  --brand-glow-lg:rgba(255, 154, 0, 0.12);

  --accent:       #00d8ff;
  --accent-dim:   #00a8cc;
  --accent-glow:  rgba(0, 216, 255, 0.22);

  --purple:       #9370ff;
  --purple-dim:   #6a44e0;
  --purple-glow:  rgba(147, 112, 255, 0.22);

  --green:        #22e06a;
  --green-glow:   rgba(34, 224, 106, 0.20);

  --gold:         #ffd700;
  --gold-glow:    rgba(255, 215, 0, 0.22);

  --bmac:         #ffdd00;
  --bmac-glow:    rgba(255, 221, 0, 0.30);

  --text:         #f0f0ff;
  --text-dim:     #a8a8c8;
  --text-muted:   #585878;

  --border:       rgba(255, 255, 255, 0.07);
  --border-mid:   rgba(255, 255, 255, 0.13);
  --border-hi:    rgba(255, 255, 255, 0.22);

  --radius-xs:    6px;
  --radius-sm:    10px;
  --radius:       14px;
  --radius-lg:    20px;
  --radius-xl:    28px;

  --nav-h:        70px;
  --max-w:        1200px;
  --section-gap:  100px;

  --ease:         cubic-bezier(0.4, 0, 0.2, 1);
  --spring:       cubic-bezier(0.34, 1.56, 0.64, 1);
  --t:            0.22s;
}

/* ---------------------------------------------------------------
   RESET + BASE
--------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }

body {
  background: var(--bg-deep);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
  min-height: 100vh;
}

a { color: var(--brand); text-decoration: none; transition: color var(--t) var(--ease); }
a:hover { color: var(--brand-bright); }
img { display: block; max-width: 100%; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
ul, ol { list-style: none; }
input, textarea, select { font-family: inherit; }

/* ---------------------------------------------------------------
   SCROLL PROGRESS BAR
--------------------------------------------------------------- */
#scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--brand), var(--brand-bright), var(--accent));
  z-index: 9999;
  transition: width 0.1s linear;
  box-shadow: 0 0 10px var(--brand-glow);
}

/* ---------------------------------------------------------------
   CURSOR GLOW
--------------------------------------------------------------- */
#cursor-glow {
  position: fixed;
  pointer-events: none;
  z-index: 0;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 154, 0, 0.06) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  transition: left 0.15s ease, top 0.15s ease;
  display: none;
}
@media (hover: hover) { #cursor-glow { display: block; } }

/* ---------------------------------------------------------------
   AMBIENT GLOW ORBS
--------------------------------------------------------------- */
#bg-orbs {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.bg-orb {
  position: absolute;
  border-radius: 50%;
}

/* ---------------------------------------------------------------
   ANIMATED BG CANVAS — particles + stars (above orbs)
--------------------------------------------------------------- */
#bg-canvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.85;
}

/* ---------------------------------------------------------------
   NAVIGATION
--------------------------------------------------------------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: var(--bg-nav);
  backdrop-filter: blur(20px) saturate(1.8);
  -webkit-backdrop-filter: blur(20px) saturate(1.8);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: box-shadow 0.3s var(--ease);
}
.nav.scrolled {
  border-bottom-color: rgba(255,154,0,0.12);
  box-shadow: 0 4px 32px rgba(0,0,0,0.4);
}

.nav__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  flex-shrink: 0;
  transition: opacity var(--t) var(--ease);
}
.nav__logo:hover { color: var(--text); opacity: 0.85; }

.nav__logo-img {
  height: 56px;
  width: auto;
  display: block;
  filter: drop-shadow(0 0 10px rgba(255,154,0,0.45));
  transition: filter var(--t) var(--ease), transform var(--t) var(--ease);
}
.nav__logo:hover .nav__logo-img {
  filter: drop-shadow(0 0 18px rgba(255,154,0,0.70));
  transform: scale(1.04);
}
@media (max-width: 600px) {
  .nav__logo-img { height: 46px; }
}

/* Legacy text mark (used in footers only) */
.nav__logo-mark {
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, var(--brand), var(--brand-dim));
  border-radius: var(--radius-xs);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 0.85rem;
  color: #fff;
  box-shadow: 0 0 16px var(--brand-glow), 0 2px 8px rgba(0,0,0,0.4);
  letter-spacing: 0;
  flex-shrink: 0;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
  justify-content: center;
}

.nav__link {
  color: var(--text-dim);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: var(--radius-xs);
  transition: color var(--t) var(--ease), background var(--t) var(--ease);
}
.nav__link:hover,
.nav__link.active {
  color: var(--text);
  background: var(--bg-hover);
}
.nav__link.active { color: var(--brand); }

.nav__cta {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}
.nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-dim);
  border-radius: 2px;
  transition: all var(--t) var(--ease);
}

.nav__mobile {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: var(--bg-nav);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 16px 24px 24px;
  flex-direction: column;
  gap: 4px;
  z-index: 999;
}
.nav__mobile.open { display: flex; }
.nav__mobile .nav__link { padding: 10px 16px; }

/* ---------------------------------------------------------------
   BUTTONS
--------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 24px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: all var(--t) var(--ease);
  cursor: pointer;
  white-space: nowrap;
  border: 1px solid transparent;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

/* Ripple */
.btn .ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  transform: scale(0);
  animation: btn-ripple 0.5s linear;
  pointer-events: none;
}
@keyframes btn-ripple {
  to { transform: scale(4); opacity: 0; }
}

.btn--primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-dim));
  color: #fff;
  border-color: var(--brand-dim);
  box-shadow: 0 0 24px var(--brand-glow), 0 4px 16px rgba(0,0,0,0.3);
}
.btn--primary:hover {
  background: linear-gradient(135deg, var(--brand-bright), var(--brand));
  box-shadow: 0 0 38px var(--brand-glow), 0 6px 24px rgba(0,0,0,0.3);
  transform: translateY(-2px);
  color: #fff;
}
.btn--primary:active { transform: translateY(0); }

/* Pulsing download button variant */
.btn--primary.btn--pulse {
  animation: btn-pulse 2.4s ease infinite;
}
@keyframes btn-pulse {
  0%, 100% { box-shadow: 0 0 24px var(--brand-glow), 0 4px 16px rgba(0,0,0,0.3); }
  50% { box-shadow: 0 0 48px rgba(255,154,0,0.55), 0 4px 20px rgba(0,0,0,0.3); }
}

.btn--outline {
  background: transparent;
  color: var(--text-dim);
  border-color: var(--border-mid);
}
.btn--outline:hover {
  color: var(--text);
  border-color: var(--border-hi);
  background: var(--bg-hover);
}

.btn--ghost {
  background: var(--bg-surface);
  color: var(--text-dim);
  border-color: var(--border);
}
.btn--ghost:hover {
  color: var(--text);
  background: var(--bg-hover);
  border-color: var(--border-mid);
}

.btn--accent {
  background: linear-gradient(135deg, var(--accent), var(--accent-dim));
  color: var(--bg-deep);
  font-weight: 700;
  box-shadow: 0 0 24px var(--accent-glow);
}
.btn--accent:hover {
  box-shadow: 0 0 40px var(--accent-glow);
  transform: translateY(-2px);
  color: var(--bg-deep);
}

.btn--lg {
  padding: 14px 32px;
  font-size: 1rem;
  border-radius: var(--radius);
}

.btn--sm {
  padding: 7px 16px;
  font-size: 0.82rem;
}

.btn--icon { padding: 11px 14px; }
.btn--icon.btn--sm { padding: 7px 10px; }

.btn svg { flex-shrink: 0; }

/* ---------------------------------------------------------------
   LAYOUT HELPERS
--------------------------------------------------------------- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: var(--section-gap) 0; position: relative; z-index: 1; }
.section--tight { padding: 60px 0; }
.section--flush { padding: 0; }

.section__header {
  text-align: center;
  margin-bottom: 56px;
}
.section__eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 12px;
}
.section__title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 16px;
}
.section__sub {
  font-size: 1.05rem;
  color: var(--text-dim);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ---------------------------------------------------------------
   CARDS
--------------------------------------------------------------- */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color var(--t) var(--ease), transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.card:hover {
  border-color: var(--border-mid);
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.35);
}
.card--glow:hover {
  border-color: rgba(255, 154, 0, 0.32);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3), 0 0 0 1px rgba(255, 154, 0, 0.12);
}
.card--accent:hover {
  border-color: rgba(0, 216, 255, 0.32);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3), 0 0 0 1px rgba(0, 216, 255, 0.12);
}
.card--purple:hover {
  border-color: rgba(147, 112, 255, 0.35);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3), 0 0 0 1px rgba(147, 112, 255, 0.14);
}

/* ---------------------------------------------------------------
   BADGE / PILL / TAG
--------------------------------------------------------------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.badge--brand  { background: var(--brand-glow);  color: var(--brand);  border: 1px solid rgba(255,154,0,0.28); }
.badge--accent { background: var(--accent-glow); color: var(--accent); border: 1px solid rgba(0,216,255,0.25); }
.badge--purple { background: var(--purple-glow); color: var(--purple); border: 1px solid rgba(147,112,255,0.25); }
.badge--green  { background: var(--green-glow);  color: var(--green);  border: 1px solid rgba(34,224,106,0.25); }
.badge--muted  { background: rgba(255,255,255,0.05); color: var(--text-muted); border: 1px solid var(--border); }

/* ---------------------------------------------------------------
   HERO
--------------------------------------------------------------- */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-h) + 60px) 24px 80px;
  position: relative;
  overflow: hidden;
}

.hero__glow {
  position: absolute;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(ellipse at center, rgba(255,154,0,0.11) 0%, rgba(147,112,255,0.04) 50%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  animation: hero-glow-breathe 6s ease infinite;
}
@keyframes hero-glow-breathe {
  0%, 100% { opacity: 0.8; transform: translateX(-50%) scale(1); }
  50%       { opacity: 1;   transform: translateX(-50%) scale(1.08); }
}

.hero__glow-2 {
  position: absolute;
  bottom: -5%;
  right: -15%;
  width: 700px;
  height: 500px;
  background: radial-gradient(ellipse at center, rgba(0,216,255,0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  animation: hero-glow-breathe 8s ease 3s infinite;
}

.hero__content { position: relative; z-index: 1; max-width: 820px; }

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border: 1px solid rgba(255,154,0,0.25);
  border-radius: 100px;
  background: rgba(255,154,0,0.06);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--brand);
  margin-bottom: 28px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.hero__eyebrow-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 10px var(--brand);
  animation: pulse-dot 2s ease infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; box-shadow: 0 0 8px var(--brand); }
  50% { opacity: 0.5; box-shadow: 0 0 20px var(--brand), 0 0 30px rgba(255,154,0,0.4); }
}

.hero__title {
  font-size: clamp(2.6rem, 7vw, 5rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 20px;
}

.hero__title .highlight {
  background: linear-gradient(90deg, var(--brand), var(--brand-bright), var(--accent));
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift 4s linear infinite;
}
@keyframes gradient-shift {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

.hero__sub {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--text-dim);
  max-width: 580px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero__meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 500;
}
.hero__meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}
.hero__meta-item svg { color: var(--brand); }

.hero__preview {
  position: relative;
  margin-top: 64px;
  max-width: 1000px;
  width: 100%;
}

.hero__preview-frame {
  background: var(--bg-card);
  border: 1px solid var(--border-mid);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255,154,0,0.08),
    0 30px 100px rgba(0,0,0,0.7),
    0 0 120px rgba(255,154,0,0.08);
  transition: box-shadow 0.4s var(--ease);
}
.hero__preview-frame:hover {
  box-shadow:
    0 0 0 1px rgba(255,154,0,0.18),
    0 30px 100px rgba(0,0,0,0.7),
    0 0 160px rgba(255,154,0,0.14);
}

.hero__preview-titlebar {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero__preview-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
}
.hero__preview-dot:nth-child(1) { background: #ff5f57; }
.hero__preview-dot:nth-child(2) { background: #febc2e; }
.hero__preview-dot:nth-child(3) { background: #28c840; }

.hero__preview-img {
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--bg-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  flex-direction: column;
  gap: 12px;
  position: relative;
  overflow: hidden;
}

/* Screenshot placeholder style (kept for reference) */
.ss-placeholder {
  width: 100%;
  background: var(--bg-card);
  border: 2px dashed var(--border-mid);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 0.85rem;
  padding: 40px 20px;
  min-height: 200px;
}
.ss-placeholder__icon { font-size: 2rem; opacity: 0.4; }
.ss-placeholder__label { font-weight: 600; color: var(--text-dim); }
.ss-placeholder__hint { font-size: 0.75rem; }

/* ---------------------------------------------------------------
   SUPPORTED SERVICES
--------------------------------------------------------------- */
.services {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.service-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-dim);
  transition: all 0.25s var(--ease);
  cursor: default;
}
.service-chip:hover {
  border-color: var(--border-hi);
  color: var(--text);
  background: var(--bg-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}
.service-chip__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  animation: chip-dot-pulse 3s ease infinite;
}
@keyframes chip-dot-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.55; }
}
.service-chip:nth-child(1) .service-chip__dot { animation-delay: 0s; }
.service-chip:nth-child(2) .service-chip__dot { animation-delay: 0.4s; }
.service-chip:nth-child(3) .service-chip__dot { animation-delay: 0.8s; }
.service-chip:nth-child(4) .service-chip__dot { animation-delay: 1.2s; }
.service-chip:nth-child(5) .service-chip__dot { animation-delay: 1.6s; }
.service-chip:nth-child(6) .service-chip__dot { animation-delay: 2.0s; }

/* ---------------------------------------------------------------
   FEATURES GRID
--------------------------------------------------------------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

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

.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--card-accent, var(--brand)), transparent);
  opacity: 0;
  transition: opacity 0.28s var(--ease);
}
.feature-card:hover::before { opacity: 1; }

.feature-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255,154,0,0.05) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  pointer-events: none;
}
.feature-card:hover::after { opacity: 1; }

.feature-card:hover {
  border-color: var(--border-mid);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 30px rgba(255,154,0,0.06);
}

.feature-card__icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 18px;
  background: var(--icon-bg, var(--brand-glow));
  transition: transform 0.25s var(--spring);
}
.feature-card:hover .feature-card__icon { transform: scale(1.08) rotate(-3deg); }

.feature-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.feature-card__desc {
  font-size: 0.88rem;
  color: var(--text-dim);
  line-height: 1.65;
}

/* ---------------------------------------------------------------
   SCREENSHOT GALLERY
--------------------------------------------------------------- */
.screenshot-tabs {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.ss-tab {
  padding: 7px 18px;
  border-radius: 100px;
  font-size: 0.83rem;
  font-weight: 600;
  border: 1px solid var(--border);
  background: var(--bg-surface);
  color: var(--text-dim);
  cursor: pointer;
  transition: all var(--t) var(--ease);
}
.ss-tab:hover {
  background: rgba(255,154,0,0.07);
  border-color: rgba(255,154,0,0.25);
  color: var(--text);
}
.ss-tab.active {
  background: var(--brand-glow);
  border-color: rgba(255,154,0,0.4);
  color: var(--brand);
  box-shadow: 0 0 16px rgba(255,154,0,0.2);
}

.screenshot-display {
  background: var(--bg-card);
  border: 1px solid var(--border-mid);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 80px rgba(0,0,0,0.5);
  transition: border-color 0.3s var(--ease);
}
.screenshot-display:hover { border-color: rgba(255,154,0,0.2); }

.screenshot-display__titlebar {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.ss-dot { width: 12px; height: 12px; border-radius: 50%; }
.ss-dot:nth-child(1) { background: #ff5f57; }
.ss-dot:nth-child(2) { background: #febc2e; }
.ss-dot:nth-child(3) { background: #28c840; }
.screenshot-display__title {
  margin-left: 8px;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.screenshot-pane {
  display: none;
  aspect-ratio: 16/9;
  position: relative;
}
.screenshot-pane.active { display: flex; }
.screenshot-pane img {
  width: 100%;
  object-fit: cover;
  transition: opacity 0.35s ease;
}
.screenshot-pane.fade-in img {
  animation: ss-fade 0.35s ease;
}
@keyframes ss-fade {
  from { opacity: 0; transform: scale(1.01); }
  to   { opacity: 1; transform: scale(1); }
}

/* ---------------------------------------------------------------
   FAQ ACCORDION
--------------------------------------------------------------- */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 48px;
  align-items: start;
}
@media (max-width: 860px) {
  .faq-grid { grid-template-columns: 1fr; }
}
.faq-col { min-width: 0; }

.faq-section-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 14px;
  margin-top: 40px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.faq-section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}
.faq-col:first-child .faq-section-label:first-child { margin-top: 0; }
.faq-col:last-child  .faq-section-label:first-child { margin-top: 0; }

.faq-list { display: flex; flex-direction: column; gap: 10px; }

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.faq-item.open {
  border-color: rgba(255,154,0,0.28);
  box-shadow: 0 0 20px rgba(255,154,0,0.05);
}

.faq-item__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  user-select: none;
  transition: color var(--t) var(--ease);
}
.faq-item__q:hover { color: var(--brand); }
.faq-item.open .faq-item__q { color: var(--brand); }

.faq-item__chevron {
  flex-shrink: 0;
  width: 20px; height: 20px;
  color: var(--text-muted);
  transition: transform var(--t) var(--ease);
}
.faq-item.open .faq-item__chevron { transform: rotate(180deg); color: var(--brand); }

.faq-item__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.38s var(--ease);
}
.faq-item.open .faq-item__a { max-height: 1200px; }

.faq-item__a-inner {
  padding: 0 24px 20px;
  color: var(--text-dim);
  font-size: 0.92rem;
  line-height: 1.75;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

/* ---------------------------------------------------------------
   CHANGELOG
--------------------------------------------------------------- */
.changelog-list { display: flex; flex-direction: column; gap: 28px; }

.changelog-entry {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 32px;
  position: relative;
  overflow: hidden;
  transition: border-color var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.changelog-entry:hover {
  border-color: rgba(255,154,0,0.2);
  box-shadow: 0 8px 40px rgba(0,0,0,0.25);
}

.changelog-entry::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--brand), var(--brand-dim));
  opacity: 0.8;
}

.changelog-entry__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.changelog-entry__version {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.changelog-entry__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.changelog-entry__date {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.changelog-entry__old-dl {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: auto;
  position: relative;
  filter: grayscale(0.4);
}
.changelog-entry__old-dl:hover {
  opacity: 0.35;
  border-color: inherit;
  color: inherit;
  background: transparent;
  transform: none;
  box-shadow: none;
  cursor: not-allowed;
}

.changelog-section { margin-bottom: 16px; }
.changelog-section:last-child { margin-bottom: 0; }

.changelog-section__title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.changelog-section__title::before {
  content: '';
  width: 4px; height: 4px;
  border-radius: 50%;
  background: currentColor;
}

.changelog-items {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.changelog-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-dim);
  line-height: 1.5;
}
.changelog-item::before {
  content: '';
  flex-shrink: 0;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--brand);
  margin-top: 7px;
  opacity: 0.7;
}

/* ---------------------------------------------------------------
   ROADMAP
--------------------------------------------------------------- */
.roadmap-columns {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.roadmap-column__header {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.roadmap-column__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  animation: pulse-dot 2.5s ease infinite;
}

.roadmap-items { display: flex; flex-direction: column; gap: 10px; }

.roadmap-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: 0.88rem;
  color: var(--text-dim);
  line-height: 1.5;
  transition: all var(--t) var(--ease);
}
.roadmap-item:hover {
  border-color: var(--border-mid);
  color: var(--text);
  transform: translateX(3px);
}

.roadmap-item__title {
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
  font-size: 0.9rem;
}

/* ---------------------------------------------------------------
   DOWNLOAD SECTION
--------------------------------------------------------------- */
.download-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.download-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  text-align: center;
  transition: all 0.28s var(--ease);
  position: relative;
  overflow: hidden;
}
.download-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.download-card--featured {
  border-color: rgba(255,154,0,0.35);
  background: linear-gradient(135deg, var(--bg-card), rgba(255,154,0,0.04));
  box-shadow: 0 0 40px rgba(255,154,0,0.08);
}
.download-card--featured:hover {
  border-color: rgba(255,154,0,0.55);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 60px rgba(255,154,0,0.12);
}

.download-card--setup {
  border-color: rgba(0,216,255,0.3);
  background: linear-gradient(135deg, var(--bg-card), rgba(0,216,255,0.04));
  box-shadow: 0 0 40px rgba(0,216,255,0.07);
}
.download-card--setup:hover {
  border-color: rgba(0,216,255,0.5);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 60px rgba(0,216,255,0.1);
}

.btn--setup {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.9rem;
  transition: all 0.25s var(--ease);
  background: rgba(0,216,255,0.12);
  border: 1px solid rgba(0,216,255,0.35);
  color: #00d8ff;
}
.btn--setup:hover {
  background: rgba(0,216,255,0.2);
  border-color: rgba(0,216,255,0.6);
  box-shadow: 0 0 20px rgba(0,216,255,0.2);
  transform: translateY(-1px);
}

.download-card__icon {
  font-size: 2.8rem;
  margin-bottom: 18px;
  transition: transform 0.25s var(--spring);
}
.download-card:hover .download-card__icon { transform: scale(1.12) rotate(-5deg); }

.download-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.download-card__desc {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-bottom: 20px;
  line-height: 1.6;
}

.download-card__size {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 12px;
}

/* Install steps */
.install-steps { display: flex; flex-direction: column; gap: 0; }

.install-step {
  display: flex;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
  transition: background var(--t) var(--ease);
}
.install-step:last-child { border-bottom: none; }
.install-step:hover { background: rgba(255,154,0,0.02); border-radius: var(--radius-sm); }

.install-step__num {
  flex-shrink: 0;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--brand-glow);
  border: 1px solid rgba(255,154,0,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--brand);
  box-shadow: 0 0 16px rgba(255,154,0,0.15);
}

.install-step__content { flex: 1; }
.install-step__title { font-weight: 600; margin-bottom: 6px; }
.install-step__desc { font-size: 0.88rem; color: var(--text-dim); line-height: 1.6; }

/* Requirements */
.req-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}

.req-item {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.88rem;
  transition: all var(--t) var(--ease);
}
.req-item:hover {
  border-color: var(--border-mid);
  background: var(--bg-hover);
}

.req-item__icon { font-size: 1.3rem; flex-shrink: 0; }
.req-item__label { color: var(--text-dim); font-size: 0.78rem; }
.req-item__value { font-weight: 600; font-size: 0.88rem; }

/* ---------------------------------------------------------------
   WHY SECTION
--------------------------------------------------------------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.why-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: all var(--t) var(--ease);
}
.why-card:hover {
  border-color: var(--border-mid);
  transform: translateY(-2px);
}

.why-card__quote {
  font-size: 0.95rem;
  color: var(--text-dim);
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 20px;
  padding-left: 16px;
  border-left: 2px solid var(--brand);
}

.why-card__author {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ---------------------------------------------------------------
   CONTACT / LINKS
--------------------------------------------------------------- */
.contact-links {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}

.contact-link-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  color: var(--text);
  transition: all 0.25s var(--ease);
}
.contact-link-card:hover {
  border-color: var(--border-hi);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.35);
  color: var(--text);
}

.contact-link-card__icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
  transition: transform 0.25s var(--spring);
}
.contact-link-card:hover .contact-link-card__icon { transform: scale(1.1) rotate(-5deg); }

.contact-link-card__label {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 2px;
}
.contact-link-card__value {
  font-weight: 600;
  font-size: 0.92rem;
}
.contact-link-card__arrow {
  margin-left: auto;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform var(--t) var(--ease), color var(--t) var(--ease);
}
.contact-link-card:hover .contact-link-card__arrow {
  transform: translateX(3px);
  color: var(--text-dim);
}

/* ---------------------------------------------------------------
   LEGAL PAGES
--------------------------------------------------------------- */
.legal-content {
  max-width: 760px;
  margin: 0 auto;
}

.legal-content h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  margin: 36px 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.legal-content h2:first-child { margin-top: 0; }

.legal-content p {
  color: var(--text-dim);
  font-size: 0.92rem;
  line-height: 1.8;
  margin-bottom: 14px;
}

.legal-content ul {
  list-style: disc;
  padding-left: 20px;
  color: var(--text-dim);
  font-size: 0.92rem;
  line-height: 1.8;
  margin-bottom: 14px;
}

.legal-content li { margin-bottom: 6px; }

.legal-date {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 40px;
}

/* ---------------------------------------------------------------
   INLINE CODE / CALLOUTS
--------------------------------------------------------------- */
code {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  padding: 2px 7px;
  font-family: 'JetBrains Mono', 'Fira Code', 'Courier New', monospace;
  font-size: 0.85em;
  color: var(--accent);
}

.callout {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--brand);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  font-size: 0.9rem;
  color: var(--text-dim);
  line-height: 1.7;
}
.callout--info { border-left-color: var(--accent); }
.callout--warn { border-left-color: #f59e0b; }
.callout--success {
  border-left-color: var(--green);
  background: rgba(34,224,106,0.04);
}

/* ---------------------------------------------------------------
   VERSION BANNER
--------------------------------------------------------------- */
.version-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: var(--bg-card);
  border: 1px solid rgba(255,154,0,0.25);
  border-radius: var(--radius);
  padding: 20px 28px;
  margin-bottom: 40px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.version-banner::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--brand), var(--brand-bright));
}

.version-banner__info { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }

.version-banner__v {
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--brand);
  text-shadow: 0 0 20px rgba(255,154,0,0.4);
}

.version-banner__name {
  font-weight: 600;
  font-size: 0.95rem;
}

.version-banner__date {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ---------------------------------------------------------------
   PAGE HERO (inner pages)
--------------------------------------------------------------- */
.page-hero {
  padding: calc(var(--nav-h) + 60px) 0 60px;
  text-align: center;
  position: relative;
}

.page-hero__glow {
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 700px; height: 350px;
  background: radial-gradient(ellipse, rgba(255,154,0,0.09) 0%, transparent 70%);
  pointer-events: none;
  animation: hero-glow-breathe 6s ease infinite;
}

.page-hero__title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 14px;
}

.page-hero__sub {
  font-size: 1.05rem;
  color: var(--text-dim);
  max-width: 520px;
  margin: 0 auto;
}

/* ---------------------------------------------------------------
   FOOTER
--------------------------------------------------------------- */
.footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 60px 0 32px;
  position: relative;
  z-index: 1;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,154,0,0.3), transparent);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer__brand-name {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer__brand-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
  max-width: 280px;
}

.footer__col-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.footer__links { display: flex; flex-direction: column; gap: 10px; }

.footer__link {
  font-size: 0.88rem;
  color: var(--text-dim);
  transition: color var(--t) var(--ease), transform var(--t) var(--ease);
  display: inline-block;
}
.footer__link:hover { color: var(--text); transform: translateX(2px); }

.footer__bottom {
  padding-top: 28px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer__copy {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer__tagline {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-style: italic;
}

/* Buy Me a Coffee in footer */
.footer__bmac {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(255, 221, 0, 0.1);
  border: 1px solid rgba(255, 221, 0, 0.25);
  border-radius: 100px;
  color: var(--bmac);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--t) var(--ease);
  margin-top: 16px;
}
.footer__bmac:hover {
  background: rgba(255, 221, 0, 0.18);
  border-color: rgba(255, 221, 0, 0.45);
  color: var(--bmac);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(255,221,0,0.2);
}

/* ---------------------------------------------------------------
   BUY ME A COFFEE — FLOATING BUTTON
--------------------------------------------------------------- */
#bmac-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 900;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: var(--bmac);
  color: #1a1000;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  box-shadow: 0 4px 24px rgba(255,221,0,0.45), 0 2px 8px rgba(0,0,0,0.4);
  transition: all 0.3s var(--spring);
  opacity: 0;
  transform: translateY(20px) scale(0.9);
  pointer-events: none;
  white-space: nowrap;
}
#bmac-float.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
#bmac-float:hover {
  background: #ffe033;
  color: #1a1000;
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 8px 36px rgba(255,221,0,0.6), 0 2px 8px rgba(0,0,0,0.4);
}
#bmac-float .bmac-icon {
  font-size: 1.2rem;
  animation: bmac-wiggle 3s ease infinite;
}
@keyframes bmac-wiggle {
  0%, 100% { transform: rotate(0deg); }
  10% { transform: rotate(-15deg); }
  20% { transform: rotate(10deg); }
  30% { transform: rotate(-8deg); }
  40% { transform: rotate(5deg); }
  50%, 100% { transform: rotate(0deg); }
}
#bmac-float .bmac-dismiss {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: rgba(0,0,0,0.12);
  color: #1a1000;
  font-size: 0.75rem;
  cursor: pointer;
  border: none;
  font-family: inherit;
  transition: background var(--t) var(--ease);
  margin-left: 2px;
  padding: 0;
  line-height: 1;
}
#bmac-float .bmac-dismiss:hover { background: rgba(0,0,0,0.22); }

/* ---------------------------------------------------------------
   SCROLL ANIMATIONS
--------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ---------------------------------------------------------------
   DIVIDERS / DECORATIONS
--------------------------------------------------------------- */
.hr-gradient {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,154,0,0.2), var(--border-hi), rgba(255,154,0,0.2), transparent);
  margin: var(--section-gap) 0;
}

.section-divider {
  text-align: center;
  padding: 48px 0;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  position: relative;
}
.section-divider::before,
.section-divider::after {
  content: '';
  position: absolute;
  top: 50%;
  width: calc(50% - 80px);
  height: 1px;
}
.section-divider::before { left: 0; background: linear-gradient(90deg, transparent, var(--border-mid)); }
.section-divider::after  { right: 0; background: linear-gradient(270deg, transparent, var(--border-mid)); }

/* ---------------------------------------------------------------
   STAT STRIP
--------------------------------------------------------------- */
.stat-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  padding: 48px 0;
}

.stat-item { text-align: center; }

.stat-item__value {
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  background: linear-gradient(90deg, var(--brand), var(--brand-bright));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
}

.stat-item__label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 4px;
}

/* ---------------------------------------------------------------
   MATRIX GIF BACKGROUND (Movie Matrix section)
--------------------------------------------------------------- */
.mm-matrix-bg {
  position: relative;
  overflow: hidden;
}
.mm-matrix-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../img/matrix.gif') center/cover no-repeat;
  opacity: 0.07;
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: screen;
}
.mm-matrix-bg > .container { position: relative; z-index: 1; }

/* TV Library GIF background (Feature 02) */
.tv-library-bg {
  position: relative;
  overflow: hidden;
}
.tv-library-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../img/library.gif') center/cover no-repeat;
  opacity: 0.06;
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: screen;
}
.tv-library-bg > .container { position: relative; z-index: 1; }

/* Rename Queue GIF background (Feature 03) */
.rq-bg {
  position: relative;
  overflow: hidden;
}
.rq-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../img/rename.gif') center/cover no-repeat;
  opacity: 0.07;
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: screen;
}
.rq-bg > .container { position: relative; z-index: 1; }

/* *arr section — triptych background (one service image per column) */
.arr-section {
  position: relative;
  overflow: hidden;
}
.arr-bg {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  pointer-events: none;
  z-index: 0;
}
.arr-bg__col {
  background-size: cover;
  background-position: center;
  opacity: 0.18;
  transition: opacity 0.4s ease;
}
.arr-section:hover .arr-bg__col { opacity: 0.22; }
/* Subtle dividers between service columns */
.arr-bg__col + .arr-bg__col {
  border-left: 1px solid rgba(255,255,255,0.04);
}

/* Nav logo — Re-F*ckulator text layout */
.nav__logo-brand {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.nav__logo-name {
  font-size: 1.0rem;
  font-weight: 900;
  color: var(--text);
  letter-spacing: -0.01em;
}
.nav__logo-sub {
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--brand);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.nav__logo-icon {
  height: 38px;
  width: auto;
  display: block;
  filter: drop-shadow(0 0 10px rgba(255,154,0,0.5));
  transition: filter var(--t) var(--ease), transform var(--t) var(--ease);
  flex-shrink: 0;
}
.nav__logo:hover .nav__logo-icon {
  filter: drop-shadow(0 0 18px rgba(255,154,0,0.80));
  transform: scale(1.06);
}
@media (max-width: 600px) {
  .nav__logo-icon { height: 32px; }
  .nav__logo-name { font-size: 0.85rem; }
  .nav__logo-sub { font-size: 0.52rem; }
}

/* ---------------------------------------------------------------
   ROADMAP REDESIGN
--------------------------------------------------------------- */
/* Shipped section — full-width hero */
.roadmap-shipped {
  background: linear-gradient(135deg, rgba(34,224,106,0.06) 0%, rgba(34,224,106,0.02) 100%);
  border: 1px solid rgba(34,224,106,0.22);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  margin-bottom: 36px;
  position: relative;
  overflow: hidden;
}
.roadmap-shipped::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--green), var(--green), transparent);
  box-shadow: 0 0 20px rgba(34,224,106,0.5);
}
.roadmap-shipped__header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}
.roadmap-shipped__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  background: rgba(34,224,106,0.12);
  border: 1px solid rgba(34,224,106,0.35);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
}
.roadmap-shipped__title {
  font-size: 1.3rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--green);
  text-shadow: 0 0 20px rgba(34,224,106,0.3);
}
.roadmap-shipped__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}
.roadmap-shipped__item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: rgba(34,224,106,0.05);
  border: 1px solid rgba(34,224,106,0.14);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  transition: all var(--t) var(--ease);
}
.roadmap-shipped__item:hover {
  background: rgba(34,224,106,0.10);
  border-color: rgba(34,224,106,0.28);
  transform: translateY(-2px);
}
.roadmap-shipped__check {
  flex-shrink: 0;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  color: #020f07;
  font-weight: 900;
  margin-top: 1px;
  box-shadow: 0 0 10px rgba(34,224,106,0.4);
}
.roadmap-shipped__item-name {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--text);
  margin-bottom: 2px;
}
.roadmap-shipped__item-desc {
  font-size: 0.78rem;
  color: var(--text-dim);
  line-height: 1.45;
}

/* Remaining roadmap columns — 3 per row */
.roadmap-future {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 900px) { .roadmap-future { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .roadmap-future { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------
   FEEDBACK PAGE
--------------------------------------------------------------- */
.feedback-tabs {
  display: flex;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 32px;
  max-width: 400px;
}
.feedback-tab {
  flex: 1;
  padding: 12px 20px;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  background: var(--bg-surface);
  color: var(--text-dim);
  border: none;
  font-family: inherit;
  transition: all var(--t) var(--ease);
}
.feedback-tab.active {
  background: var(--brand-glow);
  color: var(--brand);
}
.feedback-tab:hover:not(.active) {
  background: var(--bg-hover);
  color: var(--text);
}

.feedback-pane { display: none; }
.feedback-pane.active { display: block; }

.feedback-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 640px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dim);
  letter-spacing: 0.02em;
}
.form-group label span {
  color: var(--brand);
  margin-left: 2px;
}
.form-control {
  background: var(--bg-surface);
  border: 1px solid var(--border-mid);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: var(--text);
  font-size: 0.9rem;
  font-family: inherit;
  transition: border-color var(--t) var(--ease), box-shadow var(--t) var(--ease);
  width: 100%;
  outline: none;
}
.form-control:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(255,154,0,0.12);
}
.form-control::placeholder { color: var(--text-muted); }
textarea.form-control {
  resize: vertical;
  min-height: 120px;
}
select.form-control {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23585878' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

.form-submit-area {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.form-note {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.feedback-success {
  display: none;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: rgba(34,224,106,0.07);
  border: 1px solid rgba(34,224,106,0.25);
  border-radius: var(--radius-sm);
  color: var(--green);
  font-weight: 600;
  font-size: 0.9rem;
}
.feedback-success.show { display: flex; }
.feedback-success__icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--green);
  color: #020f07;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 0.9rem;
  flex-shrink: 0;
}

/* Recent requests list */
.requests-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}
.request-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  transition: border-color var(--t) var(--ease);
}
.request-card:hover { border-color: var(--border-mid); }
.request-card__type {
  flex-shrink: 0;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
  margin-top: 1px;
}
.request-card__type--feature { background: var(--brand-glow); color: var(--brand); border: 1px solid rgba(255,154,0,0.2); }
.request-card__type--bug     { background: rgba(239,68,68,0.12); color: #f87171; border: 1px solid rgba(239,68,68,0.2); }
.request-card__title { font-weight: 600; font-size: 0.9rem; margin-bottom: 4px; }
.request-card__desc  { font-size: 0.82rem; color: var(--text-dim); line-height: 1.5; }

/* ---------------------------------------------------------------
   FEATURE SPLIT (Features page)
--------------------------------------------------------------- */
.feature-split img {
  border-radius: var(--radius);
  box-shadow: 0 8px 40px rgba(0,0,0,0.5);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.feature-split img:hover {
  transform: scale(1.015);
  box-shadow: 0 16px 60px rgba(0,0,0,0.6), 0 0 40px rgba(255,154,0,0.08);
}

/* ---------------------------------------------------------------
   RESPONSIVE
--------------------------------------------------------------- */
@media (max-width: 900px) {
  :root { --section-gap: 72px; }

  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }

  .nav__links { display: none; }
  .nav__cta .btn--outline { display: none; }
  .nav__hamburger { display: flex; }

  #bmac-float { bottom: 20px; right: 16px; padding: 10px 16px; font-size: 0.82rem; }
}

@media (max-width: 600px) {
  :root { --section-gap: 56px; }

  .container { padding: 0 16px; }

  .footer__grid { grid-template-columns: 1fr; }

  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { justify-content: center; }

  .stat-strip { gap: 28px; }

  .changelog-entry { padding: 20px; }

  .version-banner { flex-direction: column; align-items: flex-start; }

  #bmac-float .bmac-text { display: none; }
  #bmac-float { padding: 12px 14px; }
}

/* ---------------------------------------------------------------
   UTILITY
--------------------------------------------------------------- */
.text-brand  { color: var(--brand); }
.text-accent { color: var(--accent); }
.text-purple { color: var(--purple); }
.text-gold   { color: var(--gold); }
.text-muted  { color: var(--text-muted); }
.text-dim    { color: var(--text-dim); }
.fw-900 { font-weight: 900; }
.fw-700 { font-weight: 700; }
.fw-600 { font-weight: 600; }
.text-center { text-align: center; }
.mt-4  { margin-top: 4px; }
.mt-8  { margin-top: 8px; }
.mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.d-flex { display: flex; }
.gap-8  { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.align-center { align-items: center; }
.justify-center { justify-content: center; }
.flex-wrap { flex-wrap: wrap; }

/* ---------------------------------------------------------------
   FEATURE SCREENSHOT — slightly larger + clickable
--------------------------------------------------------------- */
.screenshot-display--clickable {
  cursor: zoom-in;
  transition: border-color 0.3s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.screenshot-display--clickable:hover {
  border-color: rgba(255,154,0,0.35);
  transform: scale(1.012);
  box-shadow: 0 28px 90px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,154,0,0.1);
}
.screenshot-display--clickable img { pointer-events: none; }

/* Taller/wider feature-section screenshots */
.feature-split .screenshot-display img {
  min-height: 220px;
  object-fit: cover;
  object-position: top left;
}

/* ---------------------------------------------------------------
   LIGHTBOX
--------------------------------------------------------------- */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.92);
  align-items: center;
  justify-content: center;
  padding: 24px;
  cursor: zoom-out;
  backdrop-filter: blur(6px);
}
.lightbox.open { display: flex; }
.lightbox__img {
  max-width: min(1200px, 94vw);
  max-height: 88vh;
  border-radius: 10px;
  border: 1px solid rgba(255,154,0,0.2);
  box-shadow: 0 40px 120px rgba(0,0,0,0.8);
  object-fit: contain;
  display: block;
  animation: lb-in 0.22s ease;
}
@keyframes lb-in {
  from { opacity: 0; transform: scale(0.93); }
  to   { opacity: 1; transform: scale(1); }
}
.lightbox__close {
  position: fixed;
  top: 20px; right: 24px;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}
.lightbox__close:hover { background: rgba(255,154,0,0.25); border-color: rgba(255,154,0,0.4); }
