/* ═══════════════════════════════════════════
   Roshade v20 — editorial / gaming
═══════════════════════════════════════════ */

:root {
  --bg:      #0a0a0a;
  --bg-2:    #111111;
  --bg-3:    #181818;
  --ink:     #f0ede8;
  --ink-2:   #888880;
  --ink-3:   #444440;
  --lime:    #ffffff;
  --lime-d:  #cccccc;
  --border:  rgba(255,255,255,.08);
  --border-hi: rgba(255,255,255,.20);
  --glow:    rgba(255,255,255,.08);
  --r:       10px;
  --r-lg:    16px;
  --topbar-h: 58px;
  --ease:    cubic-bezier(0.16, 1, 0.3, 1);
  --font:    'Figtree', system-ui, sans-serif;
  --display: 'Bebas Neue', var(--font);
  --pad:     clamp(1.25rem, 5vw, 3.5rem);
  --max:     1200px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--topbar-h) + 8px);
  scrollbar-width: thin;
  scrollbar-color: #222 transparent;
  overflow-x: hidden;
}
::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-thumb { background: #222; border-radius: 9px; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }

/* Subtle top-left glow – static */
body::before { display: none; }

.bg-glow { display: none; }
.noise, .orb, .grid-overlay { display: none; }

/* ─── Reveal ─── */
.reveal {
  opacity: 0;
  translate: 0 28px;
  scale: 0.97;
  transition: opacity .6s var(--ease), translate .6s var(--ease), scale .6s var(--ease);
}
.reveal.is-in { opacity: 1; translate: 0 0; scale: 1; }

.rv-card.reveal {
  translate: 0 36px;
  scale: 0.96;
}
.rv-card.reveal.is-in { translate: 0 0; scale: 1; }

/* ════════════════════════════════
   TOPBAR
════════════════════════════════ */
.topbar {
  position: sticky; top: 0; z-index: 200;
  height: var(--topbar-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--pad);
  border-bottom: 1px solid #1c1c1c;
  background: rgba(10,10,10,.94);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.brand {
  display: flex; align-items: center; gap: .5rem;
  text-decoration: none; color: var(--ink);
  font-family: var(--display); font-size: 1.5rem; letter-spacing: .04em;
}
.brand-icon { display: none; }

.topbar-nav { display: flex; align-items: center; gap: .1rem; }
.topbar-nav a {
  text-decoration: none; color: var(--ink-2); font-size: .8rem; font-weight: 500;
  padding: .3rem .7rem; border-radius: 6px; letter-spacing: .01em;
  transition: color .15s, background .15s;
}
.topbar-nav a:hover { color: var(--ink); background: #1a1a1a; }

.pill-btn {
  padding: .35rem 1rem !important; border-radius: 6px !important;
  background: #fff !important; color: #0a0a0a !important;
  font-size: .75rem !important; font-weight: 700 !important;
  letter-spacing: .04em; text-transform: uppercase;
  border: none; cursor: pointer; text-decoration: none;
  transition: opacity .15s !important; white-space: nowrap;
}
.pill-btn:hover { opacity: .8 !important; background: #fff !important; }

/* ════════════════════════════════
   HERO
════════════════════════════════ */
.hero {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; gap: 4rem;
  max-width: var(--max); margin: 0 auto;
  padding: clamp(3rem, 8vh, 7rem) var(--pad) clamp(2.5rem, 6vh, 5rem);
  min-height: calc(100dvh - var(--topbar-h));
}

.hero-badge {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .24rem .75rem;
  border: 1px solid #2a2a2a; border-radius: 4px;
  background: #141414;
  font-size: .7rem; font-weight: 600; color: var(--ink-2);
  letter-spacing: .06em; text-transform: uppercase;
  margin-bottom: 1.2rem; width: fit-content;
}
.pulse-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #fff;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.3} }
.badge-sep { opacity: .3; }

/* BIG headline – Bebas Neue */
.hero-h1 {
  font-family: var(--display);
  font-size: clamp(5rem, 11vw, 11rem);
  font-weight: 400; /* Bebas has no bold, weight is built in */
  line-height: .92;
  letter-spacing: .02em;
  margin-bottom: 1.4rem;
  display: flex; flex-direction: column;
}
.h1-line { display: block; }
.h1-grad { color: #fff; }

.hero-desc {
  font-size: .92rem; color: var(--ink-2); line-height: 1.7;
  margin-bottom: 1.8rem; max-width: 420px;
}

.hero-cta {
  display: flex; align-items: center; gap: .85rem; flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

/* CTA Button */
.cta-btn {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .75rem 1.8rem; border-radius: var(--r);
  background: #fff; color: #0a0a0a;
  font-family: var(--font); font-size: .85rem; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase;
  text-decoration: none; border: none; cursor: pointer;
  transition: opacity .15s, scale .1s;
  white-space: nowrap;
}
.cta-btn:hover { opacity: .82; }
.cta-btn:active { scale: .97; }
.cta-btn--lg { padding: .82rem 2rem; font-size: .88rem; border-radius: var(--r-lg); }

.ghost-btn {
  font-size: .82rem; font-weight: 500; color: var(--ink-2);
  text-decoration: none; transition: color .15s; letter-spacing: .01em;
}
.ghost-btn:hover { color: var(--ink); }

/* Stats */
.stats { display: flex; align-items: center; gap: 1.4rem; }
.stat { display: flex; flex-direction: column; gap: .03rem; }
.stat-n {
  font-family: var(--display); font-size: 1.5rem; font-weight: 400;
  letter-spacing: .04em; color: var(--ink); line-height: 1;
}
.stat-l { font-size: .66rem; color: var(--ink-3); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.stat-div { width: 1px; height: 28px; background: #222; }

/* Hero visual */
.hero-visual { display: flex; align-items: center; justify-content: flex-end; }
.img-stack {
  position: relative;
  width: clamp(280px, 42vw, 520px);
  aspect-ratio: 16/10;
}
.img-back, .img-front {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; pointer-events: none; user-select: none;
}
.img-back {
  border-radius: 12px;
  transform: rotate(-3.5deg) scale(.92) translate(-8px, 6px);
  filter: brightness(.55) grayscale(.3);
  box-shadow: 0 14px 45px rgba(0,0,0,.7);
  z-index: 1;
}
.img-front {
  border-radius: 12px;
  transform: rotate(1.2deg);
  box-shadow: 0 10px 45px rgba(0,0,0,.65), 0 0 0 1px #2a2a2a;
  z-index: 2;
}

/* ════════════════════════════════
   FEATURES
════════════════════════════════ */
.features {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 5rem var(--pad) 2rem;
}
.feat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}
.feat-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color .2s, transform .2s;
}
.feat-card:hover {
  border-color: var(--border-hi);
  transform: translateY(-4px);
}
.feat-img-wrap {
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
}
.feat-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  pointer-events: none;
  transition: transform .4s var(--ease);
}
.feat-card:hover .feat-img-wrap img { transform: scale(1.04); }
.feat-body {
  padding: 1.1rem 1.2rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.feat-tag {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.feat-body h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
}
.feat-body p {
  font-size: .82rem;
  color: var(--ink-2);
  line-height: 1.6;
}
@media (max-width: 900px) {
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .feat-grid { grid-template-columns: 1fr; }
}

/* ════════════════════════════════
   REVIEWS
════════════════════════════════ */
.reviews {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 5rem var(--pad) 2rem;
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}
.rv-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.3rem 1.4rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: .85rem;
  transition: border-color .2s, transform .2s;
  overflow: hidden;
}
.rv-card:hover { border-color: var(--border-hi); transform: translateY(-3px); }
.rv-shot-wrap {
  margin: -.1rem -1.4rem .1rem;
  height: 160px;
  overflow: hidden;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
}
.rv-shot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  pointer-events: none;
  transition: transform .4s ease;
}
.rv-card:hover .rv-shot { transform: scale(1.04); }
.rv-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
}
.rv-stars { font-size: .85rem; color: #f5c842; letter-spacing: .03em; }
.rv-game-badge {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-2);
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: .2rem .6rem;
  white-space: nowrap;
}
.rv-text {
  font-size: .875rem;
  color: var(--ink);
  line-height: 1.65;
  flex: 1;
}
.rv-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  padding-top: .6rem;
  border-top: 1px solid var(--border);
}
.rv-author { display: flex; align-items: center; gap: .6rem; }
.rv-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  border: 1px solid var(--border-hi);
  flex-shrink: 0;
  pointer-events: none;
  background: #111;
}
.rv-name { font-size: .8rem; font-weight: 600; color: var(--ink); }
.rv-like {
  display: flex; align-items: center; gap: .35rem;
  background: none; border: 1px solid var(--border);
  border-radius: 20px; padding: .3rem .7rem;
  color: var(--ink-2); font-size: .78rem; cursor: pointer;
  transition: color .15s, border-color .15s, background .15s;
  flex-shrink: 0;
}
.rv-like:hover { color: var(--ink); border-color: var(--border-hi); }
.rv-like.liked { color: #fff; border-color: #fff; background: rgba(255,255,255,.1); }
.rv-like svg { flex-shrink: 0; }
.rv-actions { display: flex; align-items: center; gap: .4rem; flex-shrink: 0; }
.rv-share {
  display: flex; align-items: center; justify-content: center;
  width: 30px; height: 30px;
  background: none; border: 1px solid var(--border);
  border-radius: 50%; color: var(--ink-2); cursor: pointer;
  transition: color .15s, border-color .15s;
  flex-shrink: 0;
}
.rv-share:hover { color: var(--ink); border-color: var(--border-hi); }
.rv-share.copied { color: #fff; border-color: #fff; }

/* Toast */
.copy-toast {
  position: fixed; bottom: 1.8rem; left: 50%; translate: -50% 0;
  background: #fff; color: #000;
  font-size: .8rem; font-weight: 600;
  padding: .55rem 1.2rem;
  border-radius: 30px;
  pointer-events: none;
  opacity: 0;
  scale: 0.9;
  transition: opacity .2s, scale .2s;
  z-index: 9999;
  white-space: nowrap;
}
.copy-toast.show { opacity: 1; scale: 1; }

@media (max-width: 860px) { .reviews-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .reviews-grid { grid-template-columns: 1fr; } }

/* ════════════════════════════════
   BEFORE / AFTER SLIDER
════════════════════════════════ */
.ba-section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 4rem var(--pad) 2rem;
}
.ba-wrap {
  position: relative;
  width: 100%;
  max-width: 860px;
  margin: 2.5rem auto 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  cursor: col-resize;
  user-select: none;
  box-shadow: 0 0 0 1px var(--border);
  touch-action: none;
}
.ba-img {
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
  draggable: false;
}
.ba-after-clip {
  position: absolute;
  inset: 0;
  width: 50%;
  overflow: hidden;
}
.ba-after-clip .ba-img {
  width: auto;
  height: 100%;
  min-width: 100%;
  position: absolute;
  left: 0; top: 0;
}
.ba-after-clip .ba-after {
  /* exact width of container so img fills correctly */
  width: var(--ba-full-width, 100%);
  height: 100%;
  object-fit: cover;
  object-position: left top;
}
.ba-handle {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  translate: -50% 0;
  width: 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 3;
}
.ba-handle-line {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  translate: -50% 0;
  width: 2px;
  background: #fff;
  opacity: .9;
}
.ba-handle-btn {
  position: relative;
  z-index: 4;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: #fff;
  color: #000;
  display: flex; align-items: center; justify-content: center; gap: 0;
  box-shadow: 0 2px 12px rgba(0,0,0,.4);
  flex-shrink: 0;
}
.ba-handle-btn svg { flex-shrink: 0; }
.ba-label {
  position: absolute;
  bottom: 1rem;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .3rem .75rem;
  border-radius: 20px;
  pointer-events: none;
  z-index: 4;
}
.ba-label-before { left: 1rem; }
.ba-label-after  { right: 1rem; }

/* ════════════════════════════════
   MARQUEE
════════════════════════════════ */
.marquee-wrap {
  overflow: hidden;
  width: 100%;
  margin: 0 0 4rem;
  mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
}
.marquee-track {
  display: flex;
  gap: 1rem;
  width: max-content;
  animation: marquee-scroll 30s linear infinite;
}
.marquee-track img {
  height: 220px;
  width: auto;
  border-radius: 10px;
  object-fit: cover;
  pointer-events: none;
  user-select: none;
  flex-shrink: 0;
}
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (max-width: 600px) {
  .marquee-track img { height: 150px; }
}

/* ════════════════════════════════
   GALLERY
════════════════════════════════ */
.gallery {
  position: relative; z-index: 1;
  max-width: var(--max); margin: 0 auto;
  padding: 0 var(--pad) 6rem;
}
.section-head {
  margin-bottom: 2rem;
  text-align: center;
}
.eyebrow {
  font-size: .65rem; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--ink-3); margin-bottom: .5rem;
}
.section-head h2 {
  font-family: var(--display);
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  font-weight: 400; letter-spacing: .03em; line-height: .92;
}
.section-sub { font-size: .85rem; color: var(--ink-2); margin-top: .5rem; }

/* Mosaic */
.mosaic {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
.mosaic-item {
  border-radius: 8px; overflow: hidden;
  aspect-ratio: 16/9;
  border: 1px solid #1c1c1c;
  background: var(--bg-3);
  transition: border-color .18s, box-shadow .18s;
}
.mosaic-item:hover {
  border-color: #333;
  box-shadow: 0 6px 28px rgba(0,0,0,.55);
}
.mosaic-item img {
  width: 100%; height: 100%; object-fit: cover;
  pointer-events: none; user-select: none;
}
.mosaic-wide { grid-column: span 2; }
.mosaic-shine { display: none; }

/* ════════════════════════════════
   INSTALL
════════════════════════════════ */
.install {
  position: relative; z-index: 1;
  padding: 2rem var(--pad) 5rem;
}
.install .section-head { margin-bottom: 3rem; }

.steps-row {
  display: flex; align-items: stretch; justify-content: center;
  gap: 0; flex-wrap: wrap;
  max-width: 1060px; margin: 0 auto 3rem;
  border: 1px solid #1c1c1c; border-radius: var(--r-lg);
  overflow: hidden;
}
.step {
  flex: 1; min-width: 180px;
  background: var(--bg-2);
  padding: 1.8rem 1.5rem;
  border-right: 1px solid #1c1c1c;
  position: relative;
  transition: background .2s;
}
.step:last-child { border-right: none; }
.step:hover { background: var(--bg-3); }

.step-tag {
  font-family: var(--display);
  font-size: 3rem; font-weight: 400;
  line-height: 1; letter-spacing: .04em;
  color: #fff;
  margin-bottom: .75rem;
  opacity: .25;
}
.step h3 { font-size: .88rem; font-weight: 600; margin-bottom: .3rem; color: var(--ink); }
.step p  { font-size: .78rem; color: var(--ink-2); line-height: 1.55; }
.step p code {
  font-size: .73rem; background: #1a1a1a; color: #ccc;
  padding: .05rem .3rem; border-radius: 4px; border: 1px solid #2a2a2a;
}
.step-arrow { display: none; }

/* Download card */
.dl-card {
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; flex-wrap: wrap;
  max-width: 640px; margin: 0 auto;
  background: var(--bg-2);
  border: 1px solid #222; border-radius: var(--r-lg);
  padding: 1.6rem 1.8rem;
  transition: border-color .2s;
}
.dl-card:hover { border-color: #333; }
.dl-card-glow { display: none; }
.dl-left { display: flex; align-items: center; gap: 1rem; }
.dl-icon-box {
  width: 46px; height: 46px; border-radius: 8px;
  background: #1a1a1a; border: 1px solid #252525;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  font-family: var(--display); font-size: 1.1rem; letter-spacing: .04em; color: #888;
}
.dl-info { display: flex; flex-direction: column; gap: .18rem; }
.dl-name { font-size: .9rem; font-weight: 600; }
.dl-meta { font-size: .72rem; color: var(--ink-3); }

/* ════════════════════════════════
   FAQ
════════════════════════════════ */
.faq-section {
  position: relative; z-index: 1;
  padding: 2rem var(--pad) 7rem;
}
.faq-section .section-head { margin-bottom: 2.5rem; }
.faq-list { max-width: 720px; margin: 0 auto; }

.faq-item { border-bottom: 1px solid #1c1c1c; }
.faq-item:first-child { border-top: 1px solid #1c1c1c; }
.faq-item[open] { border-color: #2a2a2a; }

.faq-q {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.15rem 0; cursor: pointer;
  font-size: .92rem; font-weight: 500; line-height: 1.4;
  list-style: none; user-select: none;
  transition: color .15s;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q:hover, .faq-item[open] .faq-q { color: #fff; }

.faq-icon {
  width: 20px; height: 20px; border-radius: 50%; flex-shrink: 0;
  border: 1px solid #2a2a2a; background: #141414;
  position: relative; transition: transform .25s var(--ease), background .2s;
}
.faq-icon::before, .faq-icon::after {
  content: ''; position: absolute; top: 50%; left: 50%;
  background: var(--ink-2); border-radius: 2px;
}
.faq-icon::before { width: 8px; height: 1.5px; transform: translate(-50%,-50%); }
.faq-icon::after  { width: 1.5px; height: 8px; transform: translate(-50%,-50%); transition: transform .25s var(--ease); }
.faq-item[open] .faq-icon { transform: rotate(45deg); background: #1a1a1a; border-color: #333; }
.faq-item[open] .faq-icon::before,
.faq-item[open] .faq-icon::after { background: #fff; }

.faq-a { font-size: .85rem; color: var(--ink-2); line-height: 1.7; padding-bottom: 1.15rem; }
.faq-a code {
  font-size: .78rem; background: #141414; color: #ccc;
  padding: .05rem .35rem; border-radius: 4px; border: 1px solid #252525;
}

/* ════════════════════════════════
   FOOTER
════════════════════════════════ */
.footer { position: relative; z-index: 1; border-top: 1px solid #1c1c1c; }
.footer-inner {
  max-width: var(--max); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem var(--pad);
}
.footer-brand { display: flex; align-items: center; gap: .5rem; }
.footer-name { font-family: var(--display); font-size: 1.2rem; letter-spacing: .04em; line-height: 1; }
.footer-domain { font-size: .75rem; color: var(--ink-3); }
.footer-socials { display: flex; align-items: center; gap: 1rem; }
.footer-socials a { color: var(--ink-3); transition: color .2s; display: flex; }
.footer-socials a:hover { color: var(--ink); }
.topbar-social { display: flex; align-items: center; color: var(--ink-2); transition: color .2s; }
.topbar-social:hover { color: var(--ink); }

/* ════════════════════════════════
   TOAST / PROGRESS
════════════════════════════════ */
.dl-toast {
  position: fixed; bottom: 1.4rem; left: 50%;
  translate: -50% 70px;
  background: #111; border: 1px solid #2a2a2a;
  border-radius: var(--r); padding: .8rem 1.2rem;
  display: flex; align-items: center; gap: .6rem;
  font-size: .85rem; font-weight: 500; color: var(--ink); z-index: 999;
  box-shadow: 0 8px 40px rgba(0,0,0,.7);
  transition: translate .35s var(--ease), opacity .35s;
  opacity: 0; pointer-events: none; white-space: nowrap;
}
.dl-toast.visible { translate: -50% 0; opacity: 1; }
.dl-icon { color: #fff; }
.dl-sub { font-size: .7rem; color: var(--ink-2); display: block; }
.dl-toast-text { display: flex; flex-direction: column; gap: .04rem; }
.dl-progress-wrap { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 9999; pointer-events: none; }
.dl-progress-bar { height: 100%; background: #fff; width: 0%; transition: width .3s ease; }

/* ════════════════════════════════
   RESPONSIVE
════════════════════════════════ */

/* ── Tablet ── */
@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr; text-align: center;
    min-height: unset; gap: 2rem; padding-top: 2.5rem;
  }
  .hero-badge { margin: 0 auto 1.1rem; }
  .hero-desc  { margin: 0 auto 1.8rem; max-width: 520px; }
  .hero-cta   { justify-content: center; }
  .stats      { justify-content: center; }
  .hero-visual { order: -1; justify-content: center; }
  .img-stack { width: min(92vw, 420px); }

  .steps-row { flex-direction: column; border-radius: var(--r); }
  .step { border-right: none; border-bottom: 1px solid #1c1c1c; }
  .step:last-child { border-bottom: none; }

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

  .ba-wrap { max-width: 100%; }

  .footer-inner { flex-wrap: wrap; gap: 1rem; }
}

/* ── Mobile ── */
@media (max-width: 680px) {
  :root { --topbar-h: 52px; }

  /* Topbar — brand + download only */
  .topbar-nav a:not(.pill-btn) { display: none; }
  .topbar { padding: 0 1.1rem; }
  .brand { font-size: 1.35rem; }

  /* Hero */
  .hero {
    padding: 2rem 1.1rem 2.5rem;
    gap: 1.5rem;
    min-height: calc(100dvh - var(--topbar-h));
  }
  .hero-h1 { font-size: clamp(4rem, 18vw, 6rem); }
  .hero-desc { font-size: .85rem; }
  .hero-cta { flex-direction: column; align-items: stretch; gap: .7rem; }
  .cta-btn  { justify-content: center; width: 100%; padding: .9rem 1rem; font-size: .85rem; }
  .ghost-btn { text-align: center; }
  .stats { gap: 1rem; flex-wrap: wrap; justify-content: center; }
  .img-stack { width: min(88vw, 360px); }

  /* Before/After slider */
  .ba-section { padding: 3rem 1.1rem 1.5rem; }
  .ba-handle-btn { width: 48px; height: 48px; } /* bigger touch target */

  /* Features */
  .feat-grid { grid-template-columns: 1fr; gap: .75rem; }
  .features { padding: 3rem 1.1rem 1.5rem; }

  /* Reviews — horizontal scroll snap */
  .reviews { padding: 3rem 0 2rem; }
  .reviews .section-head { padding: 0 1.1rem; }
  .reviews-grid {
    grid-template-columns: unset;
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: .75rem;
    padding: 1rem 1.1rem 1.4rem;
    scrollbar-width: none;
  }
  .reviews-grid::-webkit-scrollbar { display: none; }
  .rv-card {
    flex: 0 0 80vw;
    max-width: 320px;
    scroll-snap-align: start;
  }

  /* Gallery */
  .gallery { padding: 0 1.1rem 4rem; }
  .mosaic { grid-template-columns: 1fr; }
  .mosaic-wide { grid-column: span 1; }

  /* Install section */
  .install-section { padding: 3rem 1.1rem 2rem; }
  .steps-row { margin-top: 1.5rem; }
  .step { padding: 1.2rem; }
  .dl-card { flex-direction: column; align-items: flex-start; padding: 1.2rem; }
  .dl-card .cta-btn { width: 100%; justify-content: center; }

  /* FAQ */
  .faq-section { padding: 2rem 1.1rem 5rem; }
  .faq-q { padding: 1rem 0; font-size: .88rem; min-height: 44px; }

  /* Footer */
  .footer-inner {
    flex-direction: column; align-items: flex-start;
    gap: .75rem; padding: 1.25rem 1.1rem;
  }
  .footer-socials { gap: .85rem; }

  /* Section headings */
  .section-head h2 { font-size: clamp(2.4rem, 10vw, 3.5rem); }

  /* Marquee */
  .marquee-track img { height: 140px; }

  /* Toast — full width on mobile */
  .dl-toast { width: calc(100% - 2.2rem); justify-content: center; white-space: normal; text-align: center; }
  .copy-toast { width: calc(100% - 2.2rem); text-align: center; }
}

/* ── Small phones ── */
@media (max-width: 380px) {
  .hero-h1 { font-size: 3.6rem; }
  .rv-card { flex: 0 0 88vw; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; translate: 0 0; scale: 1; }
  .rv-card.reveal { translate: 0 0; scale: 1; }
  .pulse-dot { animation: none; }
}

/* ══════════════════════════════════════════
   STICKY DOWNLOAD BAR
══════════════════════════════════════════ */
.sticky-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 8000;
  transform: translateY(110%);
  transition: transform .35s cubic-bezier(.25,.46,.45,.94);
  pointer-events: none;
}
.sticky-bar--show {
  transform: translateY(0);
  pointer-events: auto;
}
.sticky-bar-inner {
  max-width: 860px;
  margin: 0 auto 1.2rem;
  background: rgba(12,12,12,.85);
  backdrop-filter: blur(18px) saturate(1.4);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 1rem;
  padding: .75rem 1rem .75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  box-shadow: 0 8px 40px rgba(0,0,0,.6);
}
.sticky-bar-left {
  display: flex;
  align-items: center;
  gap: .75rem;
  min-width: 0;
}
.sticky-bar-icon {
  width: 2.2rem; height: 2.2rem;
  border-radius: .45rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}
.sticky-bar-icon img {
  width: 100%; height: 100%;
  object-fit: contain;
}
.sticky-bar-info {
  display: flex;
  flex-direction: column;
  gap: .1rem;
  min-width: 0;
}
.sticky-bar-name {
  font-size: .85rem;
  font-weight: 600;
  color: #f0f0f0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sticky-bar-meta {
  font-size: .72rem;
  color: rgba(255,255,255,.4);
}
.sticky-bar-btn {
  flex-shrink: 0;
  padding: .6rem 1.4rem;
  font-size: .85rem;
}
@media (max-width: 600px) {
  .sticky-bar-inner { margin: 0 .75rem .75rem; border-radius: .75rem; }
  .sticky-bar-info { display: none; }
}

/* ══════════════════════════════════════════
   MOSAIC — hover zoom icon
══════════════════════════════════════════ */
.mosaic-item { position: relative; overflow: hidden; }
.mosaic-zoom {
  position: absolute;
  top: .7rem; right: .7rem;
  width: 2rem; height: 2rem;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: .4rem;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  opacity: 0;
  transition: opacity .2s;
  pointer-events: none;
}
.mosaic-item:hover .mosaic-zoom { opacity: 1; }
.mosaic-item img { transition: transform .35s cubic-bezier(.25,.46,.45,.94); }
.mosaic-item:hover img { transform: scale(1.04); }

/* ══════════════════════════════════════════
   LIGHTBOX
══════════════════════════════════════════ */
.lb[hidden] { display: none !important; }
.lb {
  position: fixed; inset: 0; z-index: 9000;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .28s ease;
}
.lb.lb--open { opacity: 1; }
.lb-backdrop {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.88);
  backdrop-filter: blur(12px);
}
.lb-img-wrap {
  position: relative; z-index: 1;
  max-width: min(92vw, 1200px);
  max-height: 88vh;
  display: flex; align-items: center; justify-content: center;
}
.lb-img {
  max-width: 100%; max-height: 88vh;
  object-fit: contain;
  border-radius: .75rem;
  box-shadow: 0 32px 80px rgba(0,0,0,.7);
  opacity: 0;
  transform: scale(0.97);
  transition: opacity .22s ease, transform .22s ease;
  user-select: none;
}
.lb-close {
  position: absolute; z-index: 2;
  top: 1.2rem; right: 1.2rem;
  width: 2.4rem; height: 2.4rem;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 50%;
  color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .18s;
}
.lb-close:hover { background: rgba(255,255,255,.18); }
.lb-arrow {
  position: absolute; z-index: 2;
  top: 50%; transform: translateY(-50%);
  width: 3rem; height: 3rem;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 50%;
  color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .18s, transform .18s;
}
.lb-arrow:hover { background: rgba(255,255,255,.18); }
.lb-prev { left: 1.2rem; }
.lb-prev:hover { transform: translateY(-50%) translateX(-2px); }
.lb-next { right: 1.2rem; }
.lb-next:hover { transform: translateY(-50%) translateX(2px); }
.lb-counter {
  position: absolute; z-index: 2;
  bottom: 1.2rem; left: 50%; transform: translateX(-50%);
  font-size: .8rem; color: rgba(255,255,255,.5);
  letter-spacing: .08em;
  background: rgba(0,0,0,.4);
  padding: .25rem .7rem;
  border-radius: 2rem;
  pointer-events: none;
}
@media (max-width: 600px) {
  .lb-arrow { width: 2.4rem; height: 2.4rem; }
  .lb-prev { left: .5rem; }
  .lb-next { right: .5rem; }
}
