/* ============================================================
   FONTE DIVINA — LANDING PAGE
   Dark hero · Bento grid · Modern
   ============================================================ */

/* ---- TOKENS ---- */
:root {
  /* Brand */
  --accent:          #520000;
  --accent-light:    #7a1a0f;
  --accent-soft:     rgba(82, 0, 0, 0.09);
  --accent-grad:     linear-gradient(135deg, #520000 0%, #7a1a0f 100%);
  --gold:            #c8860a;

  /* Light surfaces */
  --bg:              #fafaf9;
  --surface:         #ffffff;
  --border:          rgba(0, 0, 0, 0.08);
  --text:            #111111;
  --text-muted:      rgba(17, 17, 17, 0.52);

  /* Dark (hero) */
  --dark-bg:         #090101;
  --dark-surface:    #140202;
  --dark-border:     rgba(255, 255, 255, 0.08);
  --dark-text:       rgba(255, 255, 255, 0.92);
  --dark-muted:      rgba(255, 255, 255, 0.48);

  /* Type */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-ui:      'Poppins', system-ui, sans-serif;

  /* Radii */
  --r-sm:   10px;
  --r-md:   16px;
  --r-lg:   24px;
  --r-xl:   32px;
  --r-pill: 999px;

  /* Sizes */
  --topbar-h: 64px;
  --max-w:    1160px;
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--topbar-h) + 20px);
  font-size: 16px;
}

body {
  font-family: var(--font-ui);
  background: var(--dark-bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; background: none; border: none; cursor: pointer; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 60px);
}

/* ---- SKIP LINK ---- */
.skip-link {
  position: absolute;
  top: -9999px; left: 16px;
  z-index: 9999;
  padding: 8px 16px;
  background: var(--accent);
  color: #fff;
  border-radius: var(--r-md);
  font-size: .875rem;
  font-weight: 600;
}
.skip-link:focus { top: 16px; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* ---- SECTION LABELS & TITLES ---- */
.section-label {
  display: inline-block;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.02em;
  color: var(--text);
  margin-bottom: clamp(40px, 5vw, 64px);
  text-align: center;
}

.section-title--left { text-align: left; margin-bottom: 28px; }

/* ============================================================
   TOPBAR
   ============================================================ */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--topbar-h);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(16px, 4vw, 40px);
  background: rgba(9, 1, 1, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}

.topbar.scrolled {
  border-color: var(--dark-border);
  background: rgba(9, 1, 1, 0.88);
}

/* Light variant — when scrolled past the dark hero */
.topbar.light {
  background: rgba(250, 250, 249, 0.92);
  border-color: rgba(0, 0, 0, 0.09);
}
.topbar.light .topbar__title { color: var(--accent); }
.topbar.light .topbar__nav a { color: var(--text-muted); }
.topbar.light .topbar__nav a:hover { color: var(--text); }
.topbar.light .topbar__cta {
  background: var(--accent-grad);
  border-color: transparent;
  color: #fff;
}
.topbar.light .topbar__hamburger span { background: var(--text); }

.topbar__brand {
  display: flex;
  align-items: center;
  gap: 9px;
}

.topbar__icon { width: 30px; height: 30px; border-radius: 8px; }

.topbar__title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -.01em;
}

.topbar__nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.topbar__nav a {
  font-size: .825rem;
  font-weight: 500;
  color: var(--dark-muted);
  transition: color .2s;
}
.topbar__nav a:hover { color: #fff; }

.topbar__actions { display: flex; align-items: center; gap: 10px; }

.topbar__cta {
  padding: 8px 20px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--r-pill);
  color: #fff;
  font-size: .825rem;
  font-weight: 600;
  transition: background .2s, border-color .2s;
  white-space: nowrap;
}
.topbar__cta:hover { background: rgba(255,255,255,0.17); border-color: rgba(255,255,255,0.25); }

.topbar__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px; height: 38px;
  padding: 8px;
  border-radius: var(--r-sm);
}
.topbar__hamburger:hover { background: rgba(255,255,255,0.07); }
.topbar__hamburger span {
  display: block;
  width: 18px; height: 1.5px;
  background: rgba(255,255,255,0.75);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.topbar__hamburger.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.topbar__hamburger.active span:nth-child(2) { opacity: 0; }
.topbar__hamburger.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  top: var(--topbar-h); left: 0; right: 0;
  z-index: 999;
  background: #120202;
  border-bottom: 1px solid var(--dark-border);
  padding: 12px 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: transform .3s ease, opacity .3s ease;
}
.mobile-menu.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
.mobile-menu__link {
  padding: 12px 16px;
  font-size: .95rem;
  font-weight: 500;
  color: var(--dark-muted);
  border-radius: var(--r-sm);
  transition: background .2s, color .2s;
}
.mobile-menu__link:hover { background: rgba(255,255,255,0.05); color: #fff; }
.mobile-menu__cta {
  margin-top: 10px;
  padding: 14px;
  background: var(--accent-grad);
  color: #fff;
  border-radius: var(--r-md);
  font-size: .95rem;
  font-weight: 600;
  text-align: center;
}
.mobile-overlay {
  position: fixed; inset: 0;
  z-index: 998;
  background: rgba(0,0,0,0.5);
  opacity: 0; pointer-events: none;
  transition: opacity .3s;
}
.mobile-overlay.open { opacity: 1; pointer-events: auto; }

/* ============================================================
   HERO — DARK
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  background: var(--dark-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(40px, 6vw, 80px);
  padding: calc(var(--topbar-h) + 60px) clamp(20px, 5vw, 60px) clamp(60px, 8vw, 100px);
  max-width: var(--max-w);
  margin: 0 auto;
  overflow: visible;
}

/* Glow spots */
.hero__glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
}
.hero__glow--1 {
  width: 560px; height: 560px;
  top: -80px; right: -40px;
  background: radial-gradient(circle, rgba(122, 26, 15, 0.35) 0%, transparent 70%);
}
.hero__glow--2 {
  width: 360px; height: 360px;
  bottom: -40px; left: 5%;
  background: radial-gradient(circle, rgba(82, 0, 0, 0.2) 0%, transparent 70%);
}

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

/* Eyebrow */
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--dark-muted);
  margin-bottom: 22px;
}
.eyebrow-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent-light);
  box-shadow: 0 0 8px rgba(122,26,15,0.8);
}

/* Heading */
.hero__content h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -.03em;
  color: #fff;
  margin-bottom: 24px;
}

.hero__content h1 em {
  font-style: italic;
  color: rgba(255,255,255,0.55);
}

.hero__desc {
  font-size: clamp(.9rem, 1.4vw, 1.05rem);
  color: var(--dark-muted);
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 460px;
}

/* Store buttons (dark variant) */
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.btn-store {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 20px;
  border-radius: var(--r-pill);
  font-size: .85rem;
  font-weight: 600;
  transition: transform .2s, opacity .2s, box-shadow .2s;
  cursor: pointer;
  white-space: nowrap;
}
.btn-store:hover { transform: translateY(-1px); }

.btn-store--primary {
  background: #fff;
  color: var(--dark-bg);
  box-shadow: 0 4px 24px rgba(255,255,255,0.15);
}
.btn-store--primary:hover { box-shadow: 0 8px 32px rgba(255,255,255,0.22); }

.btn-store--secondary {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.18);
  color: #fff;
}
.btn-store--secondary:hover { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.28); }

.btn-store--ghost {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--dark-muted);
  font-size: .8rem;
}
.btn-store--ghost:hover { color: rgba(255,255,255,0.75); border-color: rgba(255,255,255,0.2); }

/* Social proof strip */
.hero__social-proof {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .8rem;
  color: var(--dark-muted);
}
.hero__stars { display: flex; gap: 2px; }

/* ---- Phone Mockup ---- */
.hero__phone {
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.phone { position: relative; display: inline-block; }

.phone__glow {
  position: absolute;
  inset: -60px;
  background: radial-gradient(ellipse at center, rgba(82, 0, 0, 0.45) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.phone__frame {
  position: relative;
  z-index: 1;
  width: clamp(220px, 28vw, 290px);
  border-radius: 44px;
  background: #1a0202;
  padding: 10px;
  box-shadow:
    0 0 0 1.5px rgba(255,255,255,0.1),
    0 0 0 3px rgba(255,255,255,0.04),
    0 40px 80px rgba(0,0,0,0.65),
    0 8px 20px rgba(0,0,0,0.4);
  overflow: hidden;
}

.phone__notch {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 88px; height: 24px;
  background: #1a0202;
  border-radius: 0 0 16px 16px;
  z-index: 2;
}

.phone__frame img {
  border-radius: 36px;
  width: 100%;
  display: block;
}

/* ============================================================
   FEATURES — BENTO GRID
   ============================================================ */
.features {
  background: var(--bg);
  padding: clamp(80px, 10vw, 130px) 0;
}

.features .container { display: flex; flex-direction: column; }
.features .section-label,
.features .section-title { align-self: center; }

/* Bento grid — 4 columns */
.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto auto;
  gap: 14px;
}

/* Card placement */
.bento__card:nth-child(1) { grid-column: 1 / 3; grid-row: 1 / 3; } /* big */
.bento__card:nth-child(2) { grid-column: 3 / 5; grid-row: 1 / 2; } /* wide */
.bento__card:nth-child(3) { grid-column: 3 / 4; grid-row: 2 / 3; } /* small */
.bento__card:nth-child(4) { grid-column: 4 / 5; grid-row: 2 / 3; } /* small */
.bento__card:nth-child(5) { grid-column: 1 / 3; grid-row: 3 / 4; } /* wide */
.bento__card:nth-child(6) { grid-column: 3 / 5; grid-row: 3 / 4; } /* wide */

.bento__card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: clamp(24px, 3vw, 36px);
  transition: transform .25s ease, box-shadow .25s ease;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.bento__card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.08);
}

/* Dark variant */
.bento__card.bento__card--dark {
  background: var(--dark-surface);
  border-color: var(--dark-border);
}
.bento__card.bento__card--dark h3 { color: #fff; }
.bento__card.bento__card--dark p  { color: rgba(255, 255, 255, 0.52); }
.bento__card.bento__card--dark .bento__icon { background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.7); }

/* Accent variant */
.bento__card--accent {
  background: var(--accent-soft);
  border-color: rgba(82, 0, 0, 0.12);
}
.bento__card--accent .bento__icon { background: rgba(82, 0, 0, 0.12); color: var(--accent); }

/* Big card layout */
.bento__card--big {
  justify-content: space-between;
  gap: 20px;
  min-height: 300px;
}

.bento__icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(0,0,0,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
  align-self: flex-start;
}

.bento__card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.25;
  margin-bottom: 8px;
}

.bento__card p {
  font-size: .875rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.bento__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  padding-top: 16px;
}

.bento__tags span {
  padding: 4px 10px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--r-pill);
  font-size: .7rem;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  white-space: nowrap;
}

/* ============================================================
   SCREENSHOTS
   ============================================================ */
.screenshots {
  background: var(--bg);
  padding-bottom: clamp(80px, 10vw, 130px);
  overflow: hidden;
}

.screenshots .container { padding-bottom: 0; }
.screenshots .section-label,
.screenshots .section-title { display: block; text-align: center; }

.screenshots__track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 12px clamp(20px, 5vw, 60px) 28px;
  scrollbar-width: thin;
  scrollbar-color: rgba(82, 0, 0, 0.2) transparent;
  justify-content: safe center;
}
.screenshots__track::-webkit-scrollbar { height: 3px; }
.screenshots__track::-webkit-scrollbar-thumb { background: rgba(82,0,0,0.2); border-radius: 2px; }

.screenshot-card { flex: 0 0 auto; scroll-snap-align: start; text-align: center; }

.screenshot-card__frame {
  width: 210px;
  border-radius: 32px;
  overflow: hidden;
  box-shadow:
    0 2px 0 rgba(255,255,255,0.12) inset,
    0 16px 40px rgba(0,0,0,0.12),
    0 4px 12px rgba(0,0,0,0.07);
  border: 1px solid rgba(0,0,0,0.06);
  transition: transform .3s ease, box-shadow .3s ease;
}
.screenshot-card__frame:hover {
  transform: translateY(-8px) scale(1.015);
  box-shadow: 0 32px 60px rgba(82,0,0,0.16);
}
.screenshot-card__frame img { width: 100%; display: block; }

.screenshot-card figcaption {
  margin-top: 14px;
  font-size: .77rem;
  font-weight: 500;
  color: var(--text-muted);
}

/* ============================================================
   EXPERIENCE + TESTIMONIAL
   ============================================================ */
.experience {
  background: var(--surface);
  padding: clamp(80px, 10vw, 130px) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.experience__inner {
  display: flex;
  align-items: center;
  gap: clamp(40px, 7vw, 100px);
}

.experience__left { flex: 1; max-width: 480px; }

.check-list {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-bottom: 0;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.check-icon {
  flex-shrink: 0;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.experience__right { flex: 0 0 auto; width: clamp(280px, 38vw, 420px); }

/* Testimonial card */
.testimonial {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: clamp(28px, 4vw, 44px);
  position: relative;
  overflow: hidden;
}

.testimonial__quote {
  font-family: var(--font-display);
  font-size: 6rem;
  line-height: .7;
  color: var(--accent);
  opacity: .12;
  position: absolute;
  top: 20px; left: 24px;
  pointer-events: none;
  user-select: none;
}

.testimonial blockquote p {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-style: italic;
  line-height: 1.7;
  color: var(--text);
  padding-top: 20px;
  margin-bottom: 24px;
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.testimonial__avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--accent-grad);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .95rem;
  flex-shrink: 0;
}

.testimonial__author strong {
  display: block;
  font-size: .875rem;
  font-weight: 600;
  color: var(--text);
}
.testimonial__author span {
  font-size: .75rem;
  color: var(--text-muted);
}

.testimonial__stars {
  margin-left: auto;
  display: flex;
  gap: 2px;
}

/* ============================================================
   STATS — DARK BAND
   ============================================================ */
.stats {
  background: var(--dark-bg);
  padding: clamp(56px, 7vw, 88px) 0;
}

.stats__grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.stat {
  text-align: center;
  padding: 0 clamp(32px, 5vw, 64px);
  color: #fff;
}

.stat__number {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: -.02em;
  line-height: 1;
  margin-bottom: 6px;
}

.stat__sub {
  font-size: .75rem;
  font-weight: 400;
  color: var(--dark-muted);
  letter-spacing: .04em;
}

.stats__divider {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,0.1);
  flex-shrink: 0;
}

/* ============================================================
   DOWNLOADS
   ============================================================ */
.downloads {
  background: var(--bg);
  padding: clamp(80px, 10vw, 130px) 0;
}

.downloads .section-label,
.downloads .section-title { display: block; text-align: center; }

.downloads__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.download-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: clamp(28px, 3.5vw, 40px) clamp(24px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.download-card:hover { transform: translateY(-4px); box-shadow: 0 20px 50px rgba(0,0,0,0.08); }

.download-card__header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .875rem;
  font-weight: 600;
  color: var(--text);
}

.download-card img.download-card__qr { /* intentionally left empty — handled below */ }
.download-card > img[alt*="QR"] {
  border-radius: var(--r-md);
  width: 160px; height: 160px;
}

.download-card__app-icon {
  border-radius: 22px;
  width: 80px; height: 80px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.download-card p {
  font-size: .875rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 220px;
}

.download-card__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 22px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-pill);
  font-size: .82rem;
  font-weight: 600;
  color: var(--text);
  transition: background .2s, border-color .2s, color .2s;
}
.download-card__btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

.download-card__btn--primary {
  background: var(--accent-grad);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 4px 20px rgba(82,0,0,0.25);
}
.download-card__btn--primary:hover { opacity: .9; background: var(--accent-grad); }

.download-card--featured {
  border-color: rgba(82,0,0,0.18);
  background: rgba(82,0,0,0.03);
}

.downloads__note {
  text-align: center;
  margin-top: 36px;
  font-size: .78rem;
  color: var(--text-muted);
  letter-spacing: .04em;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--dark-bg);
  padding: clamp(48px, 6vw, 72px) 0 clamp(28px, 4vw, 40px);
  border-top: 1px solid var(--dark-border);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 28px;
  padding-bottom: clamp(28px, 3vw, 40px);
  border-bottom: 1px solid var(--dark-border);
  margin-bottom: clamp(20px, 2.5vw, 32px);
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer__brand img { border-radius: 9px; }
.footer__brand strong { display: block; color: #fff; font-family: var(--font-display); font-size: 1rem; }
.footer__brand span  { font-size: .72rem; color: var(--dark-muted); }

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
}
.footer__links a {
  font-size: .82rem;
  color: var(--dark-muted);
  transition: color .2s;
}
.footer__links a:hover { color: rgba(255,255,255,0.85); }

.footer__social { display: flex; gap: 10px; }
.footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: 9px;
  background: rgba(255,255,255,0.06);
  color: var(--dark-muted);
  transition: background .2s, color .2s;
}
.footer__social a:hover { background: rgba(255,255,255,0.12); color: #fff; }

.footer__credits {
  text-align: center;
  font-size: .73rem;
  color: rgba(255,255,255,0.22);
}

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
[data-animate] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .55s ease, transform .55s ease;
}
[data-animate][data-animate-delay="60"]  { transition-delay:  60ms; }
[data-animate][data-animate-delay="80"]  { transition-delay:  80ms; }
[data-animate][data-animate-delay="100"] { transition-delay: 100ms; }
[data-animate][data-animate-delay="160"] { transition-delay: 160ms; }
[data-animate][data-animate-delay="180"] { transition-delay: 180ms; }
[data-animate][data-animate-delay="200"] { transition-delay: 200ms; }
[data-animate].visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  [data-animate] { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   RESPONSIVE — ≤1024px
   ============================================================ */
@media (max-width: 1024px) {
  .hero {
    flex-direction: column;
    text-align: center;
    min-height: auto;
    padding-top: calc(var(--topbar-h) + 56px);
  }
  .hero__content { max-width: 600px; }
  .hero__desc { margin-left: auto; margin-right: auto; }
  .hero__actions { justify-content: center; }
  .hero__social-proof { justify-content: center; }
  .hero__glow--1 { right: -100px; }

  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento__card:nth-child(1) { grid-column: 1/3; grid-row: auto; }
  .bento__card:nth-child(2) { grid-column: 1/2; grid-row: auto; }
  .bento__card:nth-child(3) { grid-column: 2/3; grid-row: auto; }
  .bento__card:nth-child(4) { grid-column: 1/2; grid-row: auto; }
  .bento__card:nth-child(5) { grid-column: 2/3; grid-row: auto; }
  .bento__card:nth-child(6) { grid-column: 1/3; grid-row: auto; }

  .downloads__grid { grid-template-columns: repeat(2, 1fr); }
  .downloads__grid .download-card:last-child { grid-column: 1/-1; max-width: 420px; margin: 0 auto; width: 100%; }

  .experience__inner { flex-direction: column; }
  .experience__left { max-width: 100%; }
  .experience__right { width: 100%; max-width: 520px; margin: 0 auto; }

  .stats__grid { gap: 0; }
  .stats__divider { display: none; }
  .stat { padding: 20px 24px; }
}

/* ============================================================
   RESPONSIVE — ≤768px
   ============================================================ */
@media (max-width: 768px) {
  .topbar__nav  { display: none; }
  .topbar__cta  { display: none; }
  .topbar__hamburger { display: flex; }

  .bento { grid-template-columns: 1fr; }
  .bento__card { grid-column: auto !important; grid-row: auto !important; }
  .bento__card--big { min-height: 240px; }

  .downloads__grid { grid-template-columns: 1fr; }
  .downloads__grid .download-card:last-child { grid-column: auto; max-width: 100%; }

  .stats__grid { grid-template-columns: repeat(2, 1fr); display: grid; }
  .stats__divider { display: none; }

  .footer__inner { flex-direction: column; align-items: flex-start; gap: 24px; }
  .footer__links { flex-direction: column; gap: 10px; }
}

/* ============================================================
   RESPONSIVE — ≤480px
   ============================================================ */
@media (max-width: 480px) {
  .hero__actions { flex-direction: column; align-items: stretch; }
  .btn-store { justify-content: center; }
  .screenshot-card__frame { width: 175px; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
}
