/* =============================================================================
   BoksMelder marketing site — polished production CSS
   Same brand colors / structure as before. Enhanced hero, phone, features, a11y.
   ============================================================================= */

:root {
  --bg: #0b0d11;
  --bg-elevated: #12151c;
  --card: #171b22;
  --card-hover: #1c2230;
  --stroke: #2a3140;
  --text: #f3f5f9;
  --muted: #8b95a8;
  --primary: #e53935;
  --primary-soft: rgba(229, 57, 53, 0.14);
  --accent: #ffb74d;
  --radius: 18px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --max: 1120px;
  /* System stack = better Lighthouse performance (no Google Fonts) */
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --focus: 0 0 0 3px rgba(229, 57, 53, 0.55);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .float-y,
  .float-y-slow,
  .float-y-delay {
    animation: none !important;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Focus states — accessibility */
:focus-visible {
  outline: none;
  box-shadow: var(--focus);
  border-radius: 4px;
}

a:focus-visible,
.btn:focus-visible,
.play-badge:focus-visible {
  box-shadow: var(--focus);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 100;
  padding: 0.65rem 1rem;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  border-radius: 8px;
}

.skip-link:focus {
  top: 1rem;
}

a {
  color: inherit;
  text-decoration: none;
}

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

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9em;
  color: var(--accent);
}

/* Backgrounds — subtle depth (premium without redesign) */
.bg-glow {
  pointer-events: none;
  position: fixed;
  inset: 0;
  background:
    radial-gradient(1100px 620px at 10% -12%, rgba(229, 57, 53, 0.32), transparent 58%),
    radial-gradient(900px 520px at 92% 6%, rgba(255, 183, 77, 0.11), transparent 52%),
    radial-gradient(700px 420px at 50% 105%, rgba(66, 165, 245, 0.07), transparent 55%),
    radial-gradient(560px 340px at 72% 38%, rgba(229, 57, 53, 0.1), transparent 62%);
  z-index: 0;
}

.bg-grid {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(ellipse 85% 65% at 50% 0%, #000 18%, transparent 78%);
}

.nav,
main,
.footer {
  position: relative;
  z-index: 1;
}

/* Reveal animations (Intersection Observer toggles .is-visible) */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Nav */
.nav {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 2.1rem;
  height: 2.1rem;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(145deg, #e53935, #b71c1c);
  box-shadow: 0 8px 24px rgba(229, 57, 53, 0.35);
  font-size: 1rem;
}

.brand-name {
  font-size: 1.15rem;
}

.nav-links {
  display: none;
  gap: 1.25rem;
  margin-left: auto;
  margin-right: 0.5rem;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--text);
}

.nav > .btn {
  margin-left: auto;
}

@media (min-width: 860px) {
  .nav-links {
    display: flex;
  }
  .nav > .btn {
    margin-left: 0;
  }
}

/* Buttons — consistent, ripple-ready, premium hover */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, opacity 0.18s ease, filter 0.18s ease, box-shadow 0.18s ease;
  cursor: pointer;
  min-height: 44px;
  overflow: hidden;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0) scale(0.98);
}

.btn-sm {
  padding: 0.55rem 1.05rem;
  font-size: 0.9rem;
}

.btn-lg {
  padding: 0.95rem 1.45rem;
  font-size: 1rem;
}

.btn-primary {
  background: linear-gradient(180deg, #ef5350, #e53935 40%, #c62828);
  color: #fff;
  box-shadow: 0 12px 30px rgba(229, 57, 53, 0.35);
}

.btn-primary:hover {
  filter: brightness(1.07);
  box-shadow: 0 16px 36px rgba(229, 57, 53, 0.45);
}

/* Soft ripple (JS adds .btn-ripple) */
.btn-ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
  transform: scale(0);
  animation: btn-ripple 0.55s ease-out;
  pointer-events: none;
}

@keyframes btn-ripple {
  to {
    transform: scale(2.6);
    opacity: 0;
  }
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--stroke);
  color: var(--text);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: #3a4458;
}

/* Hero */
.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.75rem 1.25rem 3.25rem;
  display: grid;
  gap: 2.75rem;
  align-items: center;
}

@media (min-width: 960px) {
  .hero {
    grid-template-columns: 1.05fr 0.95fr;
    padding-top: 2.75rem;
    padding-bottom: 4.25rem;
    gap: 2.75rem;
  }
}

/* Light parallax layers (JS sets --par) */
.hero-visual {
  --par: 0px;
}

.phone-stage {
  transform: translateY(calc(var(--par) * 0.35));
  will-change: transform;
}

.phone-glow {
  transform: translateY(calc(var(--par) * -0.15));
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.85rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: var(--primary-soft);
  color: #ff8a80;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff5252;
  box-shadow: 0 0 0 4px rgba(255, 82, 82, 0.2);
  animation: pulse-dot 2s ease infinite;
}

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

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.3rem, 5vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 800;
}

.accent {
  background: linear-gradient(90deg, #ff8a80, #e53935 50%, #ffb74d);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lede {
  margin: 0 0 1.5rem;
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 34rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.hero-status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.75rem;
  margin: 0 0 1.1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.status-pill {
  display: inline-flex;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(255, 183, 77, 0.12);
  color: var(--accent);
  border: 1px solid rgba(255, 183, 77, 0.3);
}

.status-pill.is-live {
  background: rgba(0, 200, 83, 0.12);
  color: #69f0ae;
  border-color: rgba(0, 200, 83, 0.3);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-meta li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.hero-meta li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-soft);
}

/* ========== Phone mockup (realistic) ========== */
.hero-visual {
  display: flex;
  justify-content: center;
  min-height: 420px;
}

.phone-stage {
  position: relative;
  width: min(100%, 380px);
  height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-glow {
  position: absolute;
  width: 78%;
  height: 78%;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(229, 57, 53, 0.42), transparent 68%),
    radial-gradient(circle at 70% 40%, rgba(255, 183, 77, 0.12), transparent 55%);
  filter: blur(10px);
  z-index: 0;
  animation: glow-pulse 6s ease-in-out infinite;
}

@keyframes glow-pulse {
  0%, 100% { opacity: 0.85; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.04); }
}

.phone {
  position: relative;
  z-index: 2;
}

.phone-main {
  width: min(100%, 260px);
}

.phone-bezel {
  border-radius: 36px;
  padding: 10px;
  background: linear-gradient(160deg, #3a4254, #1a1e28 35%, #0c0e14);
  box-shadow:
    var(--shadow),
    0 0 0 1px rgba(255, 255, 255, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.phone-notch {
  width: 32%;
  height: 7px;
  margin: 2px auto 8px;
  border-radius: 999px;
  background: #050608;
}

.phone-screen {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  background: #0f1115;
  border: 1px solid rgba(255, 255, 255, 0.06);
  aspect-ratio: 9 / 16;
}

.phone-screen.glass {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.screen-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.phone-reflection {
  pointer-events: none;
  position: absolute;
  inset: 10px;
  border-radius: 28px;
  background: linear-gradient(
    125deg,
    rgba(255, 255, 255, 0.14) 0%,
    transparent 28%,
    transparent 60%,
    rgba(255, 255, 255, 0.04) 100%
  );
  z-index: 3;
}

/* Floating secondary screenshots */
.float-card {
  position: absolute;
  z-index: 1;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  background: #12151c;
}

.float-card img {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0.92;
}

.float-card-a {
  width: 110px;
  left: 0;
  bottom: 12%;
  transform: rotate(-8deg);
}

.float-card-b {
  width: 92px;
  right: 0;
  top: 10%;
  transform: rotate(10deg);
}

.glass-chip {
  position: absolute;
  z-index: 4;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text);
  background: rgba(23, 27, 34, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  white-space: nowrap;
}

.glass-chip-1 {
  left: 4%;
  top: 42%;
}

.glass-chip-2 {
  right: 2%;
  bottom: 28%;
}

@media (max-width: 520px) {
  .float-card-a,
  .float-card-b,
  .glass-chip {
    display: none;
  }
  .phone-stage {
    height: auto;
  }
  .phone-main {
    width: min(100%, 280px);
  }
}

/* Float animations */
.float-y {
  animation: float-y 5.5s ease-in-out infinite;
}

.float-y-slow {
  animation: float-y 7s ease-in-out infinite;
}

.float-y-delay {
  animation: float-y 6s ease-in-out infinite 0.8s;
}

@keyframes float-y {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.float-card-a.float-y-slow {
  animation-name: float-y-rot-a;
}

.float-card-b.float-y-delay {
  animation-name: float-y-rot-b;
}

@keyframes float-y-rot-a {
  0%, 100% { transform: rotate(-8deg) translateY(0); }
  50% { transform: rotate(-8deg) translateY(-12px); }
}

@keyframes float-y-rot-b {
  0%, 100% { transform: rotate(10deg) translateY(0); }
  50% { transform: rotate(10deg) translateY(-10px); }
}

/* ========== Screenshots gallery (echte app) ========== */
.screenshots-section {
  padding-top: 1rem;
}

.shots-wrap {
  position: relative;
}

.shots-fade {
  pointer-events: none;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 2.2rem;
  width: 56px;
  background: linear-gradient(90deg, transparent, var(--bg));
  z-index: 2;
}

.shots-track {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 0.75rem 0.35rem 1.35rem;
  scrollbar-width: thin;
  scrollbar-color: var(--primary) transparent;
}

.shots-track::-webkit-scrollbar {
  height: 6px;
}

.shots-track::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 999px;
}

.shot-phone {
  flex: 0 0 auto;
  width: min(74vw, 232px);
  margin: 0;
  scroll-snap-align: start;
}

@media (min-width: 700px) {
  .shot-phone {
    width: 212px;
  }
}

@media (min-width: 1000px) {
  .shot-phone {
    width: 228px;
  }
}

@media (min-width: 1400px) {
  .shot-phone {
    width: 240px;
  }
}

.shot-frame {
  border-radius: 24px;
  padding: 8px;
  background: linear-gradient(160deg, #3a4254, #1a1e28 40%, #0c0e14);
  box-shadow:
    0 22px 54px rgba(0, 0, 0, 0.48),
    0 0 0 1px rgba(255, 255, 255, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.shot-phone:hover .shot-frame {
  transform: translateY(-8px) scale(1.03);
  box-shadow:
    0 32px 70px rgba(0, 0, 0, 0.58),
    0 0 0 1px rgba(229, 57, 53, 0.35),
    0 0 40px rgba(229, 57, 53, 0.12);
}

.shot-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
  background: #0f1115;
}

.shot-phone figcaption {
  margin-top: 0.65rem;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
}

.shots-hint {
  margin: 0;
  text-align: center;
  font-size: 0.8rem;
  color: #5c667a;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.shots-hint-icon {
  display: inline-flex;
  width: 1.5rem;
  height: 1.5rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  font-size: 0.75rem;
  color: var(--muted);
}

/* Social proof */
.social-proof {
  padding-top: 0.5rem;
}

.proof-quote {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto 2rem;
}

.stars {
  color: var(--accent);
  letter-spacing: 0.15em;
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}

.proof-quote blockquote {
  margin: 0 0 0.65rem;
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--text);
}

.proof-attr {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.proof-stats {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: 1fr;
}

@media (min-width: 700px) {
  .proof-stats {
    grid-template-columns: repeat(3, 1fr);
  }
}

.stat {
  text-align: center;
  padding: 1.15rem 1rem;
  border-radius: var(--radius);
  background: rgba(23, 27, 34, 0.75);
  border: 1px solid var(--stroke);
  backdrop-filter: blur(8px);
}

.stat-value {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.stat-label {
  display: block;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

.stat-note {
  display: block;
  font-size: 0.78rem;
  color: var(--muted);
}

/* Logos */
.logos {
  max-width: var(--max);
  margin: 0 auto 1rem;
  padding: 0 1.25rem 2rem;
  text-align: center;
}

.logos-label {
  margin: 0 0 0.85rem;
  color: var(--muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
}

.logo-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
}

.logo-row span {
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.02);
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 600;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.logo-row span:hover {
  color: var(--text);
  border-color: #3a4458;
  background: rgba(255, 255, 255, 0.04);
}

/* Sections */
.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.5rem 1.25rem 3rem;
}

.section-alt {
  background: linear-gradient(180deg, transparent, rgba(23, 27, 34, 0.65), transparent);
}

.section-head {
  max-width: 36rem;
  margin-bottom: 2rem;
}

.section-head h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  letter-spacing: -0.02em;
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

.grid.features {
  display: grid;
  gap: 1rem;
}

@media (min-width: 700px) {
  .grid.features {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .grid.features {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Feature cards — luxury hover, same structure */
.card {
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  padding: 1.35rem 1.35rem 1.5rem;
  transition: background 0.22s ease, border-color 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}

.card:hover {
  background: var(--card-hover);
  border-color: rgba(229, 57, 53, 0.35);
  transform: translateY(-6px);
  box-shadow:
    0 18px 44px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(229, 57, 53, 0.12),
    0 0 36px rgba(229, 57, 53, 0.08);
}

.card-icon {
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background:
    linear-gradient(145deg, rgba(229, 57, 53, 0.26), rgba(229, 57, 53, 0.06));
  border: 1px solid rgba(229, 57, 53, 0.22);
  margin-bottom: 0.95rem;
  font-size: 1.15rem;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.card:hover .card-icon {
  transform: scale(1.08) rotate(-3deg);
  box-shadow: 0 8px 20px rgba(229, 57, 53, 0.25);
}

.card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Steps */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1rem;
  counter-reset: none;
}

@media (min-width: 800px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.steps li {
  display: flex;
  gap: 0.9rem;
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  padding: 1.2rem;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.steps li:hover {
  transform: translateY(-2px);
  border-color: #3a4458;
}

.step-num {
  flex: 0 0 auto;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  background: linear-gradient(180deg, #ef5350, #c62828);
  box-shadow: 0 8px 20px rgba(229, 57, 53, 0.3);
}

.steps h3 {
  margin: 0.15rem 0 0.35rem;
  font-size: 1.05rem;
}

.steps p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

/* Premium — more “product” feel */
.premium-banner {
  display: grid;
  gap: 1.5rem;
  padding: 1.85rem;
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(229, 57, 53, 0.28), transparent 48%),
    linear-gradient(200deg, rgba(255, 183, 77, 0.06), transparent 40%),
    linear-gradient(180deg, #1f1418, #12161f 70%);
  border: 1px solid rgba(229, 57, 53, 0.4);
  box-shadow:
    var(--shadow),
    0 0 0 1px rgba(255, 255, 255, 0.03) inset,
    0 0 60px rgba(229, 57, 53, 0.1);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.premium-banner:hover {
  transform: translateY(-3px);
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.5),
    0 0 70px rgba(229, 57, 53, 0.14);
}

@media (min-width: 800px) {
  .premium-banner {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    padding: 2.35rem 2.5rem;
  }
}

.premium-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0 0 0.75rem;
}

.p-badge {
  display: inline-flex;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffcdd2;
}

.premium-banner h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.6rem, 3vw, 2rem);
}

.premium-banner > div > p {
  color: var(--muted);
  margin: 0 0 0.75rem;
}

.price {
  font-size: 2.15rem !important;
  font-weight: 800 !important;
  color: var(--text) !important;
  margin: 0.25rem 0 0 !important;
  letter-spacing: -0.02em;
  text-shadow: 0 0 40px rgba(229, 57, 53, 0.25);
}

.price span {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
}

.premium-list {
  list-style: none;
  margin: 0;
  padding: 1rem 1.1rem;
  display: grid;
  gap: 0.7rem;
  background: rgba(0, 0, 0, 0.22);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.premium-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
}

.premium-list li::before {
  content: "✓";
  display: grid;
  place-items: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  background: rgba(105, 240, 174, 0.12);
  color: #69f0ae;
  font-weight: 800;
  font-size: 0.75rem;
}

/* Download */
.download {
  text-align: center;
}

.download .section-head {
  margin-left: auto;
  margin-right: auto;
}

.download-box {
  max-width: 42rem;
  margin: 0 auto;
  padding: 1.9rem 1.85rem;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 40%),
    var(--card);
  border: 1px solid var(--stroke);
  box-shadow: 0 22px 56px rgba(0, 0, 0, 0.35);
}

.download-grid {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

@media (min-width: 640px) {
  .download-grid {
    grid-template-columns: 1.3fr 0.7fr;
    text-align: left;
  }
}

.play-badge {
  display: inline-flex;
  width: 100%;
  max-width: 280px;
  border-radius: 12px;
  background: #000;
  border: 1px solid #3a3a3a;
  color: #fff;
  transition: transform 0.15s ease, opacity 0.15s ease, border-color 0.15s ease;
}

.play-badge:hover {
  transform: translateY(-2px);
  border-color: #666;
}

.play-badge.is-soon {
  opacity: 0.88;
  cursor: default;
}

.play-badge.is-soon:hover {
  transform: none;
}

.play-badge-inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.1rem;
  width: 100%;
}

.play-badge-icon {
  flex-shrink: 0;
  color: #fff;
}

.play-badge-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.15;
}

.play-badge-text small {
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  color: #bdbdbd;
  font-weight: 600;
}

.play-badge-text strong {
  font-size: 1.2rem;
  font-weight: 700;
}

.download-meta {
  list-style: none;
  margin: 1.15rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
  text-align: left;
}

.download-meta li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(42, 49, 64, 0.8);
  font-size: 0.88rem;
}

.download-meta span {
  color: var(--muted);
}

.download-meta strong {
  font-weight: 600;
  text-align: right;
}

.download-qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
}

.qr-frame {
  width: 132px;
  height: 132px;
  border-radius: 16px;
  padding: 8px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.qr-placeholder {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  border: 2px dashed #9e9e9e;
  display: grid;
  place-content: center;
  text-align: center;
  color: #616161;
  background:
    repeating-linear-gradient(
      45deg,
      #f5f5f5,
      #f5f5f5 6px,
      #eeeeee 6px,
      #eeeeee 12px
    );
}

.qr-placeholder span {
  font-weight: 800;
  font-size: 1.1rem;
  color: #424242;
}

.qr-placeholder small {
  font-size: 0.7rem;
  line-height: 1.3;
}

.qr-caption {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
  text-align: center;
  line-height: 1.35;
}

/* Footer — product-site layout */
.footer {
  border-top: 1px solid var(--stroke);
  margin-top: 1.5rem;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.25));
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.25rem 1.25rem 2.5rem;
  display: grid;
  gap: 1.75rem;
}

.footer-top {
  display: grid;
  gap: 1.75rem;
}

@media (min-width: 800px) {
  .footer-top {
    grid-template-columns: 1.1fr 1.6fr;
    align-items: start;
  }
}

.footer-brand {
  align-items: flex-start;
}

.footer-tag {
  margin: 0.2rem 0 0;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 500;
}

.footer-cols {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 560px) {
  .footer-cols {
    grid-template-columns: repeat(3, 1fr);
  }
}

.footer-col {
  display: grid;
  gap: 0.45rem;
  align-content: start;
}

.footer-heading {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
}

.footer-col a {
  color: var(--muted);
  font-size: 0.92rem;
  transition: color 0.15s ease;
}

.footer-col a:hover {
  color: var(--text);
}

.footer-muted {
  color: #5c667a;
  font-size: 0.88rem;
}

.footer-bottom {
  display: grid;
  gap: 0.4rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(42, 49, 64, 0.85);
}

.footer-copy {
  margin: 0;
  color: #5c667a;
  font-size: 0.85rem;
}

.footer-meta {
  margin: 0;
  color: #4a5366;
  font-size: 0.8rem;
}

.footer-meta code {
  font-size: 0.78em;
}

/* Privacy page (shared) */
.page {
  max-width: 720px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 4rem;
}

.page h1 {
  margin: 0.5rem 0 0.75rem;
  font-size: 2rem;
  letter-spacing: -0.02em;
}

.page h2 {
  margin: 1.75rem 0 0.5rem;
  font-size: 1.2rem;
}

.page p,
.page li {
  color: var(--muted);
}

.page ul {
  padding-left: 1.2rem;
}

.page strong {
  color: var(--text);
}

.page-back {
  color: #ff8a80;
  font-weight: 600;
  font-size: 0.95rem;
}

.page-back:hover {
  text-decoration: underline;
}

.updated {
  color: var(--muted);
  font-size: 0.9rem;
}
