/* Redeemer Apps — shared styles */

:root {
  --bg: #02040a;
  --bg-elevated: #050b18;
  --card: rgba(7, 15, 30, 0.78);
  --card-border: rgba(38, 145, 255, 0.28);
  --blue: #087cff;
  --cyan: #19d9ff;
  --electric: #00a3ff;
  --light-blue: #55e5ff;
  --text: #ffffff;
  --muted: #9aa8bb;
  --glow: 0 0 25px rgba(0, 151, 255, 0.28), 0 0 70px rgba(0, 119, 255, 0.12);
  --radius: 22px;
  --radius-sm: 12px;
  --header-h: 76px;
  --max: 1180px;
  --font-display: "Space Grotesk", "Segoe UI", sans-serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  background:
    radial-gradient(circle at 80% 8%, rgba(0, 105, 255, 0.14), transparent 32%),
    radial-gradient(circle at 12% 42%, rgba(0, 212, 255, 0.06), transparent 28%),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image: radial-gradient(circle, rgba(25, 217, 255, 0.4) 1px, transparent 1px);
  background-size: 96px 96px;
  opacity: 0.1;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
}

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

main {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

a {
  color: inherit;
}

ul {
  list-style: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 2000;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--electric);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus {
  top: 16px;
}

.orb {
  position: fixed;
  width: min(420px, 70vw);
  height: min(420px, 70vw);
  border-radius: 50%;
  background: rgba(0, 126, 255, 0.08);
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
}

.orb.one {
  top: 90px;
  right: -80px;
}

.orb.two {
  top: 720px;
  left: -100px;
  background: rgba(0, 217, 255, 0.05);
}

/* =========================
   HEADER / NAV
========================= */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(2, 4, 10, 0.72);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: border-color 0.25s ease, background 0.25s ease;
}

.site-header.is-scrolled {
  border-bottom-color: rgba(25, 217, 255, 0.12);
  background: rgba(2, 4, 10, 0.88);
}

.nav {
  max-width: var(--max);
  margin: 0 auto;
  height: var(--header-h);
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  position: relative;
  z-index: 1;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  overflow: hidden;
  box-shadow: 0 0 18px rgba(0, 163, 255, 0.35);
  border: 1px solid rgba(25, 217, 255, 0.25);
  background: #02050a;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-name span {
  color: var(--cyan);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(25, 217, 255, 0.28);
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

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

.nav-links a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.25s ease;
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--cyan);
}

.nav-links .nav-cta {
  padding: 10px 16px;
  border: 1px solid rgba(25, 217, 255, 0.35);
  border-radius: 10px;
  color: #fff;
}

.nav-links .nav-cta:hover {
  background: rgba(25, 217, 255, 0.08);
  color: #fff;
}

/* =========================
   LAYOUT / TYPOGRAPHY
========================= */

main {
  position: relative;
  z-index: 1;
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 100px 24px;
}

.section-heading {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}

.section-heading .label {
  color: var(--cyan);
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  margin-bottom: 12px;
  font-family: var(--font-display);
}

.section-heading h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}

.section-heading p {
  color: var(--muted);
  font-size: 1.05rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--cyan);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 20px;
  font-family: var(--font-display);
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
}

.gradient-text {
  background: linear-gradient(90deg, #fff 0%, #fff 28%, var(--cyan) 72%, var(--blue) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 13px 22px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
  font-family: var(--font-display);
  border: 1px solid transparent;
  cursor: pointer;
  touch-action: manipulation;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.button:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, #00cfff, #087cff);
  box-shadow: 0 0 25px rgba(0, 153, 255, 0.3);
}

.button-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 35px rgba(0, 153, 255, 0.5);
}

.button-secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.03);
}

.button-secondary:hover {
  border-color: rgba(25, 217, 255, 0.5);
  background: rgba(25, 217, 255, 0.06);
}

.button-disabled,
.button[aria-disabled="true"] {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
  box-shadow: none;
  filter: grayscale(0.15);
}

.placeholder-note {
  margin-top: 10px;
  font-size: 0.8rem;
  color: var(--muted);
}

.contact-email-line {
  margin-top: 14px;
  font-size: 0.95rem;
}

.contact-email-line a {
  color: var(--cyan);
  text-decoration: none;
}

.contact-email-line a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* =========================
   HERO
========================= */

.hero {
  min-height: 100vh;
  max-width: var(--max);
  margin: 0 auto;
  padding: calc(var(--header-h) + 72px) 24px 100px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 48px;
  position: relative;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 4.75rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
  font-weight: 700;
}

.hero-description {
  max-width: 34rem;
  color: var(--muted);
  font-size: 1.08rem;
  margin-bottom: 12px;
}

.hero-tagline {
  max-width: 34rem;
  color: #c8d4e4;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 32px;
  font-family: var(--font-display);
}

.hero-visual {
  min-height: 480px;
  display: grid;
  place-items: center;
  position: relative;
}

.hero-particles {
  position: absolute;
  inset: 10% 12%;
  pointer-events: none;
}

.hero-particles span {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
  opacity: 0.55;
  animation: float-particle 7s ease-in-out infinite;
}

.hero-particles span:nth-child(1) { top: 12%; left: 18%; animation-delay: 0s; }
.hero-particles span:nth-child(2) { top: 28%; right: 16%; animation-delay: 1.2s; width: 3px; height: 3px; }
.hero-particles span:nth-child(3) { bottom: 22%; left: 22%; animation-delay: 2s; }
.hero-particles span:nth-child(4) { bottom: 30%; right: 24%; animation-delay: 0.6s; width: 5px; height: 5px; }
.hero-particles span:nth-child(5) { top: 48%; left: 8%; animation-delay: 1.8s; }

.logo-orbit {
  position: absolute;
  width: min(440px, 90%);
  height: 190px;
  border: 1px solid rgba(0, 179, 255, 0.35);
  border-radius: 50%;
  transform: rotate(-17deg);
  box-shadow: 0 0 25px rgba(0, 166, 255, 0.2), inset 0 0 30px rgba(0, 166, 255, 0.04);
  animation: orbit-pulse 8s ease-in-out infinite;
}

.logo-orbit::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  right: 18%;
  top: -3px;
  box-shadow: 0 0 10px var(--cyan), 0 0 25px var(--cyan);
  animation: orbit-dot 8s linear infinite;
}

.logo-stage {
  width: min(280px, 72vw);
  aspect-ratio: 270 / 330;
  border-radius: 40px;
  display: grid;
  place-items: center;
  padding: 28px;
  background:
    radial-gradient(circle at 40% 20%, rgba(24, 217, 255, 0.14), transparent 42%),
    linear-gradient(145deg, #071226, #020611);
  border: 1px solid rgba(38, 160, 255, 0.5);
  box-shadow: 0 0 40px rgba(0, 124, 255, 0.25), inset 0 0 50px rgba(0, 124, 255, 0.05);
  transform: rotate(6deg);
  position: relative;
  animation: stage-float 6s ease-in-out infinite;
}

.logo-stage::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(25, 217, 255, 0.7), transparent 35%, transparent 70%, rgba(0, 124, 255, 0.6));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.logo-stage img {
  width: 78%;
  height: auto;
  border-radius: 28px;
  filter: drop-shadow(0 0 22px rgba(0, 163, 255, 0.35));
}

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

@keyframes orbit-pulse {
  0%, 100% { opacity: 0.85; }
  50% { opacity: 1; }
}

@keyframes orbit-dot {
  0% { transform: rotate(0deg) translateX(0); }
  100% { transform: rotate(360deg); transform-origin: -120px 95px; }
}

@keyframes float-particle {
  0%, 100% { transform: translateY(0); opacity: 0.35; }
  50% { transform: translateY(-12px); opacity: 0.8; }
}

/* =========================
   VALUES
========================= */

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

.value-card {
  padding: 30px 22px;
  text-align: center;
  background: linear-gradient(145deg, rgba(10, 24, 45, 0.75), rgba(4, 9, 19, 0.7));
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.value-card:hover {
  transform: translateY(-5px);
  border-color: rgba(25, 217, 255, 0.55);
  box-shadow: var(--glow);
}

.value-icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 18px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: var(--cyan);
  background: rgba(0, 151, 255, 0.08);
  border: 1px solid rgba(0, 151, 255, 0.25);
  box-shadow: 0 0 20px rgba(0, 151, 255, 0.12);
}

.value-icon svg {
  width: 26px;
  height: 26px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.value-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.value-card p {
  color: var(--muted);
  font-size: 0.9rem;
}

/* =========================
   APPS / PRODUCT CARDS
========================= */

.app-card {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  min-height: 520px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 80% 20%, rgba(0, 145, 255, 0.13), transparent 35%),
    linear-gradient(145deg, rgba(8, 20, 39, 0.92), rgba(2, 7, 15, 0.96));
  border: 1px solid rgba(0, 151, 255, 0.3);
  overflow: hidden;
  box-shadow: var(--glow);
}

.app-content {
  padding: 52px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.app-badge {
  width: fit-content;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(25, 217, 255, 0.08);
  border: 1px solid rgba(25, 217, 255, 0.25);
  color: var(--cyan);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
  font-family: var(--font-display);
}

.app-content h2,
.app-content h3 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.app-subtitle {
  color: var(--cyan);
  font-weight: 600;
  margin-bottom: 18px;
  font-family: var(--font-display);
}

.app-description {
  color: var(--muted);
  margin-bottom: 24px;
  max-width: 36rem;
}

.features {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.feature {
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #d7e6f7;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(25, 217, 255, 0.18);
}

.app-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: flex-start;
}

.app-identity {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.app-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 8px 24px rgba(184, 150, 63, 0.25);
  border: 1px solid rgba(214, 204, 217, 0.35);
  background: #cdc1cf;
}

.app-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.app-identity-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.app-identity-text .app-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

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

.app-card.mmv-featured {
  grid-template-columns: minmax(260px, 0.82fr) minmax(360px, 1.28fr);
  align-items: stretch;
}

.app-card.mmv-featured .app-content {
  padding: 44px 28px 44px 40px;
}

.app-card.mmv-featured .features {
  margin-bottom: 22px;
  gap: 8px;
}

.app-card.mmv-featured .feature {
  font-size: 0.74rem;
  padding: 6px 10px;
  opacity: 0.88;
}

.app-visual.mmv-showcase,
.mmv-asset-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 32px 16px 28px;
  min-height: 580px;
  background:
    radial-gradient(circle at 50% 42%, rgba(0, 163, 255, 0.16), transparent 42%),
    radial-gradient(circle at 50% 80%, rgba(25, 217, 255, 0.06), transparent 40%),
    linear-gradient(180deg, rgba(5, 14, 28, 0.55), rgba(2, 6, 14, 0.88));
  overflow: hidden;
}

.page-hero-asset {
  border-radius: 28px;
  border: 1px solid rgba(0, 151, 255, 0.25);
  min-height: 560px;
}

/* Premium screenshot stage — exact app images only */
.shot-gallery {
  --shot-slide: 0.78;
  --shot-gap: 18px;
  width: min(420px, 100%);
  max-width: 100%;
  outline: none;
  user-select: none;
  -webkit-user-select: none;
  position: relative;
}

.shot-gallery:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 6px;
  border-radius: 24px;
}

.shot-gallery__stage {
  position: relative;
  border-radius: 30px;
  padding: 22px 10px 18px;
  background:
    linear-gradient(160deg, rgba(10, 22, 42, 0.78), rgba(3, 8, 18, 0.9));
  border: 1px solid rgba(56, 160, 255, 0.28);
  box-shadow:
    0 30px 70px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(16px);
  overflow: hidden;
}

.shot-gallery__glow {
  position: absolute;
  left: 50%;
  top: 46%;
  width: 70%;
  height: 70%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 170, 255, 0.28), transparent 68%);
  filter: blur(18px);
  pointer-events: none;
  z-index: 0;
}

.shot-gallery__viewport {
  position: relative;
  z-index: 1;
  overflow: hidden;
  touch-action: pan-y;
  cursor: grab;
  border-radius: 22px;
}

.shot-gallery__viewport.is-dragging {
  cursor: grabbing;
}

.shot-gallery__track {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 10px 0 14px;
  gap: var(--shot-gap);
  will-change: transform;
  transition: transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.shot-gallery__slide {
  flex: 0 0 calc(var(--shot-slide) * 100%);
  min-width: calc(var(--shot-slide) * 100%);
  margin: 0;
  opacity: 0.38;
  transform: scale(0.9);
  transition:
    opacity 0.45s ease,
    transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.shot-gallery__slide.is-active {
  opacity: 1;
  transform: scale(1);
  z-index: 2;
}

.shot-gallery__frame {
  margin: 0;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(120, 190, 255, 0.38);
  background: #05070c;
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.5),
    0 0 28px rgba(0, 150, 255, 0.18);
}

.shot-gallery__slide.is-active .shot-gallery__frame {
  border-color: rgba(80, 200, 255, 0.55);
  box-shadow:
    0 26px 55px rgba(0, 0, 0, 0.55),
    0 0 40px rgba(0, 170, 255, 0.28);
}

.shot-gallery__slide img {
  width: 100%;
  height: auto;
  display: block;
  pointer-events: none;
  -webkit-user-drag: none;
}

.shot-gallery__nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  transform: translateY(-58%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(25, 217, 255, 0.4);
  background: rgba(4, 12, 24, 0.78);
  color: #fff;
  font-size: 1.45rem;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.shot-gallery__nav--prev {
  left: 6px;
}

.shot-gallery__nav--next {
  right: 6px;
}

.shot-gallery__nav:hover {
  background: rgba(0, 140, 255, 0.22);
  border-color: rgba(25, 217, 255, 0.7);
  box-shadow: 0 0 20px rgba(0, 170, 255, 0.25);
}

.shot-gallery__nav:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

.shot-gallery__footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
}

.shot-gallery__dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px;
  max-width: 220px;
}

.shot-gallery__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.28);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.shot-gallery__dot.is-active {
  background: var(--cyan);
  transform: scale(1.25);
  box-shadow: 0 0 12px rgba(25, 217, 255, 0.5);
}

.shot-gallery__dot:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

.shot-gallery__status {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.shot-gallery--wide {
  width: min(460px, 100%);
  margin: 0 auto;
}

.screenshot-section-gallery {
  display: flex;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

/* Cinematic coverflow showcase — layout from reference, colors from MMV theme.ts */
.shot-gallery--showcase {
  --shot-slide: 0.42;
  --shot-gap: 10px;
  /* darkTheme + lightTheme accents from My Memory Verse src/theme.ts */
  --mmv-bg: #1e1a1f;
  --mmv-bg-deep: #171318;
  --mmv-card: #2a2a2e;
  --mmv-accent: #fff3a3;
  --mmv-gold: #b8963f;
  --mmv-option: #f3e3a7;
  --mmv-lavender: #d6ccd9;
  --mmv-secondary: #a1a1aa;
  width: min(860px, 100%);
  margin: 0 auto;
}

.shot-gallery--showcase .shot-gallery__stage {
  border-radius: 28px;
  padding: 36px 48px 28px;
  border: 1px solid rgba(255, 243, 163, 0.42);
  background:
    radial-gradient(ellipse 70% 45% at 50% 0%, rgba(255, 243, 163, 0.14), transparent 60%),
    radial-gradient(ellipse 55% 40% at 50% 100%, rgba(214, 204, 217, 0.1), transparent 55%),
    radial-gradient(circle at 50% 48%, rgba(42, 42, 46, 0.65), transparent 52%),
    linear-gradient(165deg, #241f26 0%, #1e1a1f 48%, #171318 100%);
  box-shadow:
    0 0 0 1px rgba(184, 150, 63, 0.16),
    0 0 40px rgba(255, 243, 163, 0.1),
    0 40px 90px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 243, 163, 0.1);
  overflow: hidden;
}

.shot-gallery--showcase .shot-gallery__glow {
  width: 58%;
  height: 62%;
  top: 44%;
  background: radial-gradient(circle, rgba(255, 243, 163, 0.28), transparent 70%);
  filter: blur(22px);
  opacity: 0.9;
}

.shot-gallery--showcase .shot-gallery__glow--top {
  top: 0;
  left: 50%;
  width: 70%;
  height: 28%;
  transform: translate(-50%, -20%);
  background: radial-gradient(ellipse, rgba(243, 227, 167, 0.28), transparent 72%);
  filter: blur(16px);
  opacity: 0.75;
}

.shot-gallery--showcase .shot-gallery__glow--bottom {
  top: auto;
  bottom: 8%;
  left: 50%;
  width: 55%;
  height: 22%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(214, 204, 217, 0.18), transparent 70%);
  filter: blur(18px);
  opacity: 0.65;
}

.shot-gallery--showcase .shot-gallery__viewport {
  perspective: 1400px;
  overflow: hidden;
  border-radius: 18px;
  padding: 8px 0 4px;
  min-height: 420px;
}

.shot-gallery--showcase .shot-gallery__track {
  align-items: center;
  padding: 18px 0 22px;
  transform-style: preserve-3d;
  transition: transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.shot-gallery--showcase .shot-gallery__slide {
  opacity: 0.28;
  transform: scale(0.78) rotateY(0deg) translateZ(-80px);
  transform-origin: center center;
  transition:
    opacity 0.55s ease,
    transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1),
    filter 0.55s ease;
  filter: brightness(0.72) saturate(0.9);
  z-index: 1;
}

.shot-gallery--showcase .shot-gallery__slide.is-prev {
  opacity: 0.78;
  transform: scale(0.88) rotateY(38deg) translateX(6%) translateZ(-30px);
  filter: brightness(0.88);
  z-index: 2;
}

.shot-gallery--showcase .shot-gallery__slide.is-next {
  opacity: 0.78;
  transform: scale(0.88) rotateY(-38deg) translateX(-6%) translateZ(-30px);
  filter: brightness(0.88);
  z-index: 2;
}

.shot-gallery--showcase .shot-gallery__slide.is-active {
  opacity: 1;
  transform: scale(1.05) rotateY(0deg) translateZ(40px);
  filter: brightness(1);
  z-index: 4;
}

.shot-gallery--showcase .shot-gallery__frame {
  border-radius: 20px;
  border: 1px solid rgba(255, 243, 163, 0.22);
  background: #171318;
  box-shadow:
    0 16px 36px rgba(0, 0, 0, 0.45),
    0 0 18px rgba(184, 150, 63, 0.12);
}

.shot-gallery--showcase .shot-gallery__slide.is-active .shot-gallery__frame {
  border-color: rgba(255, 243, 163, 0.62);
  box-shadow:
    0 28px 60px rgba(0, 0, 0, 0.58),
    0 0 36px rgba(255, 243, 163, 0.28),
    0 0 70px rgba(184, 150, 63, 0.16);
}

.shot-gallery--showcase .shot-gallery__nav {
  width: 48px;
  height: 48px;
  top: 46%;
  transform: translateY(-50%);
  border: 1px solid rgba(255, 243, 163, 0.45);
  background: rgba(42, 42, 46, 0.72);
  color: #fff3a3;
  font-size: 1.55rem;
  box-shadow:
    0 0 18px rgba(255, 243, 163, 0.18),
    0 10px 28px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(14px);
}

.shot-gallery--showcase .shot-gallery__nav--prev {
  left: 12px;
}

.shot-gallery--showcase .shot-gallery__nav--next {
  right: 12px;
}

.shot-gallery--showcase .shot-gallery__nav:hover {
  background: rgba(255, 243, 163, 0.16);
  border-color: rgba(255, 243, 163, 0.85);
  color: #fff8d0;
  box-shadow:
    0 0 28px rgba(255, 243, 163, 0.32),
    0 10px 28px rgba(0, 0, 0, 0.35);
  transform: translateY(-50%) scale(1.05);
}

.shot-gallery--showcase .shot-gallery__nav:focus-visible {
  outline: 2px solid #fff3a3;
  outline-offset: 2px;
}

.shot-gallery--showcase .shot-gallery__footer {
  position: relative;
  z-index: 4;
  margin-top: 8px;
  padding-bottom: 4px;
}

.shot-gallery--showcase .shot-gallery__dots {
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  max-width: none;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(30, 26, 31, 0.82);
  border: 1px solid rgba(255, 243, 163, 0.22);
  box-shadow:
    0 0 20px rgba(255, 243, 163, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
}

.shot-gallery--showcase .shot-gallery__dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(161, 161, 170, 0.45);
  box-shadow: none;
}

.shot-gallery--showcase .shot-gallery__dot.is-active {
  width: 22px;
  height: 7px;
  background: linear-gradient(90deg, #fff3a3, #b8963f);
  transform: none;
  box-shadow: 0 0 14px rgba(255, 243, 163, 0.55);
}

.shot-gallery--showcase .shot-gallery__dot:focus-visible {
  outline: 2px solid #fff3a3;
  outline-offset: 2px;
}

@media (max-width: 1100px) {
  .shot-gallery--showcase {
    --shot-slide: 0.48;
    width: min(720px, 100%);
  }

  .shot-gallery--showcase .shot-gallery__stage {
    padding: 28px 36px 22px;
  }
}

@media (max-width: 980px) {
  .shot-gallery {
    --shot-slide: 0.86;
    width: min(360px, 100%);
  }

  .shot-gallery__stage {
    padding: 16px 4px 14px;
  }

  .shot-gallery__nav {
    width: 38px;
    height: 38px;
  }

  .shot-gallery--showcase {
    --shot-slide: 0.58;
    --shot-gap: 8px;
    width: min(560px, 100%);
  }

  .shot-gallery--showcase .shot-gallery__stage {
    padding: 22px 28px 18px;
    border-radius: 24px;
  }

  .shot-gallery--showcase .shot-gallery__viewport {
    min-height: 360px;
    perspective: 1100px;
  }

  .shot-gallery--showcase .shot-gallery__slide.is-prev {
    transform: scale(0.86) rotateY(30deg) translateX(4%) translateZ(-24px);
  }

  .shot-gallery--showcase .shot-gallery__slide.is-next {
    transform: scale(0.86) rotateY(-30deg) translateX(-4%) translateZ(-24px);
  }

  .shot-gallery--showcase .shot-gallery__nav {
    width: 42px;
    height: 42px;
  }
}

@media (max-width: 640px) {
  .shot-gallery,
  .shot-gallery--wide,
  .shot-gallery--showcase {
    width: 100%;
    max-width: 100%;
  }

  .shot-gallery--showcase {
    --shot-slide: 0.78;
    --shot-gap: 6px;
  }

  .shot-gallery--showcase .shot-gallery__stage {
    padding: 18px 8px 16px;
    border-radius: 22px;
  }

  .shot-gallery--showcase .shot-gallery__viewport {
    min-height: 0;
    perspective: 900px;
  }

  .shot-gallery--showcase .shot-gallery__slide {
    opacity: 0.18;
    transform: scale(0.84);
    filter: brightness(0.65);
  }

  .shot-gallery--showcase .shot-gallery__slide.is-prev,
  .shot-gallery--showcase .shot-gallery__slide.is-next {
    opacity: 0.38;
    transform: scale(0.88) rotateY(0deg);
    filter: brightness(0.75);
  }

  .shot-gallery--showcase .shot-gallery__slide.is-active {
    transform: scale(1.02) translateZ(0);
  }

  .shot-gallery--showcase .shot-gallery__nav {
    width: 44px;
    height: 44px;
  }

  .shot-gallery--showcase .shot-gallery__nav--prev {
    left: 2px;
  }

  .shot-gallery--showcase .shot-gallery__nav--next {
    right: 2px;
  }

  .shot-gallery--showcase .shot-gallery__dots {
    padding: 8px 12px;
    gap: 6px;
    max-width: calc(100% - 16px);
    overflow-x: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .shot-gallery__track,
  .shot-gallery__slide {
    transition: none !important;
  }

  .shot-gallery--showcase .shot-gallery__slide.is-prev,
  .shot-gallery--showcase .shot-gallery__slide.is-next,
  .shot-gallery--showcase .shot-gallery__slide.is-active {
    transform: scale(1);
  }
}

/* Device frame */
.mmv-phone {
  --mmv-bg: #d6ccd9;
  --mmv-text: #111111;
  --mmv-secondary: #555555;
  --mmv-card: #ffffff;
  --mmv-accent: #b8963f;
  --mmv-option: #f3e3a7;
  --mmv-font: "Inter", "Manrope", sans-serif;

  width: 230px;
  height: 470px;
  border-radius: 34px;
  padding: 10px;
  background: linear-gradient(160deg, #2a2430, #141018);
  border: 1px solid rgba(214, 204, 217, 0.35);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.5), 0 0 30px rgba(184, 150, 63, 0.12);
  position: relative;
  flex-shrink: 0;
}

.mmv-phone.is-primary {
  width: 250px;
  height: 510px;
  z-index: 2;
}

.mmv-phone.is-side {
  transform: translateY(18px) scale(0.92);
  opacity: 0.96;
}

.mmv-phone::before {
  content: "";
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 68px;
  height: 7px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
  z-index: 3;
}

.mmv-screen {
  height: 100%;
  border-radius: 26px;
  background: var(--mmv-bg);
  color: var(--mmv-text);
  font-family: var(--mmv-font);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
}

.mmv-status {
  height: 28px;
  flex-shrink: 0;
}

.mmv-top-widgets {
  display: flex;
  justify-content: space-between;
  padding: 0 12px;
  position: absolute;
  top: 34px;
  left: 0;
  right: 0;
  z-index: 2;
}

.mmv-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(184, 150, 63, 0.25);
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--mmv-text);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.mmv-chip .accent {
  color: var(--mmv-accent);
}

.mmv-feed {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 72px 18px 78px;
}

.mmv-actions-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.mmv-heart {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #c45c6a;
  font-size: 0.78rem;
  font-weight: 600;
}

.mmv-heart svg,
.mmv-share svg {
  width: 18px;
  height: 18px;
}

.mmv-share {
  color: var(--mmv-secondary);
}

.mmv-author {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
}

.mmv-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #8b9a7d;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 0.65rem;
  font-weight: 700;
}

.mmv-author-meta {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.mmv-author-meta strong {
  font-size: 0.72rem;
  font-weight: 600;
}

.mmv-author-meta span {
  font-size: 0.62rem;
  color: var(--mmv-secondary);
}

.mmv-verse-block {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  gap: 14px;
}

.mmv-verse-text {
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: 0.02em;
}

.mmv-verse-ref {
  color: var(--mmv-accent);
  font-size: 0.82rem;
  font-weight: 600;
}

.mmv-verse-translation {
  color: var(--mmv-secondary);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.mmv-hint {
  margin-top: 10px;
  font-size: 0.62rem;
  color: rgba(17, 17, 17, 0.4);
}

.mmv-tabbar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0 6px 10px;
  background: var(--mmv-bg);
  border-top: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 -6px 16px rgba(0, 0, 0, 0.04);
}

.mmv-tab {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: rgba(17, 17, 17, 0.38);
}

.mmv-tab.is-active {
  color: var(--mmv-accent);
}

.mmv-tab svg {
  width: 20px;
  height: 20px;
}

/* Practice screen */
.mmv-practice {
  flex: 1;
  padding: 48px 14px 72px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mmv-practice h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.mmv-practice > p {
  font-size: 0.68rem;
  color: var(--mmv-secondary);
  margin-bottom: 6px;
  line-height: 1.35;
}

.mmv-mode {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--mmv-card);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.mmv-mode-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(184, 150, 63, 0.15);
  color: var(--mmv-accent);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.mmv-mode-icon svg {
  width: 15px;
  height: 15px;
}

.mmv-mode span {
  flex: 1;
  font-size: 0.72rem;
  font-weight: 600;
}

.mmv-mode small {
  color: rgba(17, 17, 17, 0.35);
  font-size: 0.9rem;
}

.mmv-cta-gold {
  margin-top: auto;
  text-align: center;
  padding: 11px 12px;
  border-radius: 12px;
  background: var(--mmv-accent);
  color: #000;
  font-size: 0.72rem;
  font-weight: 700;
}

/* Achievements / streak screen */
.mmv-achieve {
  flex: 1;
  padding: 48px 14px 72px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mmv-achieve-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}

.mmv-trophy {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(184, 150, 63, 0.18);
  color: var(--mmv-accent);
  display: grid;
  place-items: center;
}

.mmv-trophy svg {
  width: 18px;
  height: 18px;
}

.mmv-achieve-header h4 {
  font-size: 1rem;
  font-weight: 700;
}

.mmv-achieve-header p {
  font-size: 0.62rem;
  color: var(--mmv-secondary);
}

.mmv-progress-card {
  background: var(--mmv-card);
  border-radius: 14px;
  padding: 14px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.mmv-progress-card .label {
  font-size: 0.68rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--mmv-text);
  letter-spacing: 0;
  text-transform: none;
}

.mmv-bar {
  height: 8px;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.08);
  overflow: hidden;
}

.mmv-bar > span {
  display: block;
  height: 100%;
  width: 62%;
  background: var(--mmv-accent);
  border-radius: inherit;
}

.mmv-streak-card {
  background: var(--mmv-card);
  border-radius: 14px;
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.mmv-flame {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(184, 150, 63, 0.16);
  display: grid;
  place-items: center;
  color: var(--mmv-accent);
  font-size: 1.2rem;
}

.mmv-streak-card strong {
  display: block;
  font-size: 0.85rem;
}

.mmv-streak-card span {
  font-size: 0.65rem;
  color: var(--mmv-secondary);
}

.mmv-badge-row {
  display: flex;
  gap: 8px;
}

.mmv-badge {
  flex: 1;
  background: var(--mmv-card);
  border-radius: 12px;
  padding: 10px 6px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.mmv-badge .dot {
  width: 28px;
  height: 28px;
  margin: 0 auto 6px;
  border-radius: 50%;
  background: var(--mmv-option);
  display: grid;
  place-items: center;
  font-size: 0.75rem;
}

.mmv-badge span {
  font-size: 0.58rem;
  font-weight: 600;
  color: var(--mmv-secondary);
}

.coming-soon {
  margin-top: 22px;
  padding: 34px 28px;
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: linear-gradient(145deg, rgba(8, 18, 34, 0.85), rgba(3, 8, 18, 0.9));
  border: 1px dashed rgba(25, 217, 255, 0.28);
}

.coming-soon h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.coming-soon p {
  color: var(--muted);
  max-width: 34rem;
}

/* =========================
   CONTACT / FOOTER
========================= */

.cta {
  text-align: center;
  padding: 64px 28px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 0%, rgba(0, 163, 255, 0.16), transparent 45%),
    linear-gradient(145deg, rgba(8, 20, 39, 0.92), rgba(2, 7, 15, 0.96));
  border: 1px solid rgba(0, 151, 255, 0.28);
  box-shadow: var(--glow);
}

.cta h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  max-width: 18ch;
  margin: 0 auto 16px;
}

.cta h2 span {
  color: var(--cyan);
}

.cta > p {
  color: var(--muted);
  max-width: 36rem;
  margin: 0 auto 28px;
}

.site-footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 48px 24px 32px;
  background: rgba(1, 3, 8, 0.65);
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 28px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 28rem;
}

.footer-brand .brand {
  width: fit-content;
}

.footer-tagline {
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
}

.footer-links a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.25s ease;
}

.footer-links a:hover {
  color: var(--cyan);
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--muted);
  font-size: 0.85rem;
}

.footer-meta a {
  color: inherit;
  text-decoration: none;
}

.footer-meta a:hover {
  color: var(--cyan);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* =========================
   MMV PAGE
========================= */

.page-hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: calc(var(--header-h) + 72px) 24px 72px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}

.page-hero .mmv-showcase {
  align-items: center;
  min-height: 420px;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4rem);
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 16px;
}

.page-hero p {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 36rem;
  margin-bottom: 12px;
}

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

.feature-panel {
  padding: 26px 22px;
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(10, 24, 45, 0.75), rgba(4, 9, 19, 0.7));
  border: 1px solid var(--card-border);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.feature-panel:hover {
  transform: translateY(-4px);
  border-color: rgba(25, 217, 255, 0.5);
  box-shadow: var(--glow);
}

.feature-panel h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin: 12px 0 8px;
}

.feature-panel p {
  color: var(--muted);
  font-size: 0.92rem;
}

.why-block {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: center;
  padding: 36px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 20% 20%, rgba(0, 163, 255, 0.12), transparent 40%),
    linear-gradient(145deg, rgba(8, 20, 39, 0.92), rgba(2, 7, 15, 0.96));
  border: 1px solid rgba(0, 151, 255, 0.28);
}

.why-block h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.why-block p {
  color: var(--muted);
}

.download-panel {
  text-align: center;
  padding: 48px 28px;
  border-radius: 28px;
  border: 1px solid rgba(0, 151, 255, 0.28);
  background: linear-gradient(145deg, rgba(8, 20, 39, 0.92), rgba(2, 7, 15, 0.96));
  box-shadow: var(--glow);
}

.download-panel h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.download-panel p {
  color: var(--muted);
  max-width: 34rem;
  margin: 0 auto 24px;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1180px) {
  .nav,
  .hero,
  .page-hero,
  .section {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero {
    gap: 36px;
  }

  .app-card.mmv-featured {
    grid-template-columns: minmax(240px, 0.9fr) minmax(280px, 1.1fr);
  }
}

@media (max-width: 1024px) {
  .hero,
  .page-hero,
  .app-card,
  .why-block,
  .app-card.mmv-featured {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: calc(var(--header-h) + 48px);
    padding-bottom: 72px;
    min-height: auto;
    gap: 28px;
  }

  .hero-visual {
    min-height: 340px;
    order: -1;
  }

  .app-card.mmv-featured .app-content {
    padding: 36px 28px 20px;
  }

  .app-visual.mmv-showcase,
  .mmv-asset-panel,
  .page-hero-asset {
    min-height: 0;
    gap: 12px;
    padding: 20px 12px 28px;
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
  }

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

  .app-content {
    padding: 36px 28px 20px;
  }

  .coming-soon {
    flex-direction: column;
    align-items: flex-start;
  }

  .page-hero {
    padding-top: calc(var(--header-h) + 48px);
    padding-bottom: 48px;
    gap: 28px;
  }

  .screenshot-section-gallery {
    overflow-x: clip;
  }
}

@media (min-width: 1025px) and (max-width: 1180px) {
  .mmv-phone.is-side:last-child {
    display: none;
  }
}

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    top: calc(var(--header-h) + 8px);
    right: 16px;
    left: 16px;
    max-height: calc(100vh - var(--header-h) - 24px);
    overflow-y: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 14px;
    border-radius: 18px;
    background: rgba(4, 10, 20, 0.96);
    border: 1px solid rgba(25, 217, 255, 0.22);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .nav-links.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-links a {
    padding: 14px 16px;
    border-radius: 10px;
    min-height: 48px;
    display: flex;
    align-items: center;
  }

  .nav-links a:hover,
  .nav-links .nav-cta:hover {
    background: rgba(25, 217, 255, 0.08);
  }

  .nav-links .nav-cta {
    text-align: center;
    margin-top: 4px;
    justify-content: center;
  }

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

@media (max-width: 760px) {
  .values,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: clamp(2.2rem, 10vw, 3.2rem);
  }

  .page-hero h1 {
    font-size: clamp(2rem, 9vw, 2.8rem);
  }

  .logo-stage {
    transform: rotate(0deg);
    animation: stage-float-mobile 6s ease-in-out infinite;
  }

  @keyframes stage-float-mobile {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
  }

  .section {
    padding: 64px 18px;
  }

  .section-heading {
    margin-bottom: 36px;
  }

  .why-block {
    padding: 28px 22px;
  }

  .cta {
    padding: 48px 22px;
  }

  .cta h2 {
    max-width: none;
  }

  .footer-meta {
    flex-direction: column;
  }

  .buttons {
    width: 100%;
  }

  .buttons .button {
    flex: 1 1 auto;
    min-width: min(100%, 160px);
  }

  .app-card,
  .app-card.mmv-featured {
    min-height: 0;
    border-radius: 22px;
  }

  .features {
    gap: 8px;
  }
}

@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;
  }

  .logo-stage,
  .logo-orbit,
  .hero-particles span {
    animation: none !important;
  }
}

/* =========================================================
   My Memory Verse product page — app theme (source: src/theme.ts)
   darkTheme: bg #1E1A1F, card #2A2A2E, accent #FFF3A3, secondary #A1A1AA
   lightTheme accents: bg #D6CCD9, accent #B8963F, option #F3E3A7
   Typography: Inter (app fonts)
   ========================================================= */

body.mmv-page {
  --bg: #1e1a1f;
  --bg-elevated: #241f26;
  --card: rgba(42, 42, 46, 0.92);
  --card-border: rgba(255, 243, 163, 0.22);
  --blue: #b8963f;
  --cyan: #fff3a3;
  --electric: #f3e3a7;
  --light-blue: #fff8d0;
  --text: #ffffff;
  --muted: #a1a1aa;
  --glow: 0 0 28px rgba(255, 243, 163, 0.18), 0 0 70px rgba(184, 150, 63, 0.1);
  --font-display: "Inter", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;
  --mmv-light-bg: #d6ccd9;
  --mmv-gold: #b8963f;
  --mmv-accent: #fff3a3;
  --mmv-card: #2a2a2e;
  --mmv-option: #4a4e59;

  background:
    radial-gradient(circle at 78% 6%, rgba(255, 243, 163, 0.12), transparent 34%),
    radial-gradient(circle at 14% 40%, rgba(214, 204, 217, 0.1), transparent 30%),
    radial-gradient(circle at 50% 100%, rgba(184, 150, 63, 0.08), transparent 42%),
    var(--bg);
  color: var(--text);
  font-family: var(--font-body);
}

body.mmv-page::before {
  background-image: radial-gradient(circle, rgba(255, 243, 163, 0.35) 1px, transparent 1px);
  opacity: 0.08;
}

body.mmv-page .orb.one {
  background: radial-gradient(circle, rgba(255, 243, 163, 0.18), transparent 68%);
}

body.mmv-page .orb.two {
  background: radial-gradient(circle, rgba(214, 204, 217, 0.16), transparent 70%);
}

body.mmv-page .site-header {
  background: rgba(30, 26, 31, 0.82);
  border-bottom-color: rgba(255, 243, 163, 0.12);
}

body.mmv-page .site-header.is-scrolled {
  background: rgba(30, 26, 31, 0.94);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

body.mmv-page .mmv-brand .brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
}

body.mmv-page .mmv-brand .brand-name span {
  color: inherit;
}

body.mmv-page .brand-mark {
  background: #cdc1cf;
  border: 1px solid rgba(255, 243, 163, 0.28);
  box-shadow: 0 0 18px rgba(255, 243, 163, 0.22);
}

body.mmv-page .nav-toggle {
  border-color: rgba(255, 243, 163, 0.28);
  background: rgba(255, 255, 255, 0.04);
}

body.mmv-page .app-icon {
  width: 72px;
  height: 72px;
}

body.mmv-page .nav-links a:hover,
body.mmv-page .nav-links a.is-active {
  color: var(--mmv-accent);
}

body.mmv-page .nav-cta {
  background: var(--mmv-accent);
  color: #000;
  border: none;
  box-shadow: 0 0 18px rgba(255, 243, 163, 0.22);
}

body.mmv-page .nav-cta:hover {
  background: #fff8d0;
  color: #000;
}

body.mmv-page .nav-toggle span {
  background: var(--mmv-accent);
}

body.mmv-page .page-hero h1,
body.mmv-page .section-heading h2,
body.mmv-page .why-block h2,
body.mmv-page .download-panel h2 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.03em;
}

body.mmv-page .eyebrow,
body.mmv-page .label,
body.mmv-page .mmv-inline-label {
  color: var(--mmv-accent);
  font-family: var(--font-display);
}

body.mmv-page .app-subtitle {
  color: var(--mmv-accent);
  font-weight: 500;
}

body.mmv-page .mmv-publisher {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
}

body.mmv-page .button-primary {
  background: var(--mmv-accent);
  color: #000;
  border: none;
  box-shadow: 0 10px 28px rgba(255, 243, 163, 0.18);
}

body.mmv-page .button-primary:hover {
  background: #fff8d0;
  color: #000;
  box-shadow: 0 12px 34px rgba(255, 243, 163, 0.28);
}

body.mmv-page .button-secondary {
  background: var(--mmv-card);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: none;
}

body.mmv-page .button-secondary:hover {
  border-color: rgba(255, 243, 163, 0.45);
  background: #323236;
}

body.mmv-page .feature-panel,
body.mmv-page .why-block,
body.mmv-page .download-panel {
  background: var(--card);
  border: 1px solid var(--card-border);
  box-shadow:
    0 18px 50px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

body.mmv-page .feature-panel h3 {
  color: var(--mmv-accent);
  font-family: var(--font-display);
  font-weight: 600;
}

body.mmv-page .feature-panel p,
body.mmv-page .why-block p,
body.mmv-page .download-panel p,
body.mmv-page .section-heading p {
  color: var(--muted);
}

body.mmv-page .mmv-welcome-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 18px;
  max-width: 720px;
  margin: 28px auto 0;
  padding: 0;
}

body.mmv-page .mmv-welcome-list li {
  position: relative;
  padding: 14px 16px 14px 42px;
  border-radius: 16px;
  background: var(--mmv-card);
  border: 1px solid rgba(255, 243, 163, 0.14);
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
}

body.mmv-page .mmv-welcome-list li::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  transform: translateY(-50%);
  background: var(--mmv-accent);
  box-shadow: 0 0 12px rgba(255, 243, 163, 0.45);
}

body.mmv-page .mmv-asset-panel,
body.mmv-page .page-hero-asset {
  background: transparent;
  border: none;
  min-height: 0;
  padding: 8px 0 4px;
  overflow-x: clip;
  overflow-y: visible;
  max-width: 100%;
}

body.mmv-page .shot-gallery--showcase:focus-visible {
  outline: 2px solid #fff3a3;
  outline-offset: 6px;
}

body.mmv-page .page-hero {
  align-items: center;
}

body.mmv-page .page-hero-asset {
  width: min(860px, 100%);
  max-width: 100%;
}

body.mmv-page .download-panel {
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 243, 163, 0.14), transparent 45%),
    var(--card);
}

body.mmv-page .site-footer {
  background: #171318;
  border-top: 1px solid rgba(255, 243, 163, 0.12);
}

body.mmv-page .footer-tagline,
body.mmv-page .footer-meta,
body.mmv-page .footer-links a {
  color: var(--muted);
}

body.mmv-page .footer-links a:hover {
  color: var(--mmv-accent);
}

body.mmv-page .footer-brand .mmv-publisher {
  margin-top: 8px;
}

@media (max-width: 900px) {
  body.mmv-page .nav-links {
    background: rgba(30, 26, 31, 0.98);
    border: 1px solid rgba(255, 243, 163, 0.18);
  }

  body.mmv-page .nav-links a:hover,
  body.mmv-page .nav-links .nav-cta:hover {
    background: rgba(255, 243, 163, 0.08);
  }
}

@media (max-width: 760px) {
  body.mmv-page .mmv-welcome-list {
    grid-template-columns: 1fr;
  }

  body.mmv-page .page-hero {
    padding-top: calc(var(--header-h) + 40px);
    gap: 22px;
  }

  body.mmv-legal-page .mmv-legal-heading h1 {
    font-size: clamp(1.75rem, 8vw, 2.35rem);
  }

  body.mmv-legal-page .mmv-legal-card p,
  body.mmv-legal-page .mmv-legal-card li {
    font-size: 0.96rem;
    line-height: 1.7;
  }
}

/* Account deletion / legal content pages */
body.mmv-legal-page .mmv-legal-hero {
  padding-bottom: 24px;
}

body.mmv-legal-page .mmv-legal-heading {
  max-width: 720px;
  margin: 0 auto;
  text-align: left;
}

body.mmv-legal-page .mmv-legal-heading h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 10px 0 16px;
  color: var(--text);
}

body.mmv-legal-page .mmv-legal-heading h2 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 8px;
}

body.mmv-legal-page .mmv-legal-callout {
  margin-top: 22px;
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(42, 42, 46, 0.92);
  border: 1px solid rgba(255, 243, 163, 0.22);
}

body.mmv-legal-page .mmv-legal-callout strong {
  display: block;
  color: var(--mmv-accent, #fff3a3);
  font-size: 1rem;
  margin-bottom: 6px;
}

body.mmv-legal-page .mmv-legal-callout p {
  color: var(--muted);
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
}

body.mmv-legal-page .mmv-legal-body {
  padding-top: 0;
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

body.mmv-legal-page .mmv-legal-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 22px;
  padding: 28px 26px;
  box-shadow:
    0 18px 50px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

body.mmv-legal-page .mmv-legal-card h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--mmv-accent, #fff3a3);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

body.mmv-legal-page .mmv-legal-card p,
body.mmv-legal-page .mmv-legal-card li {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.65;
}

body.mmv-legal-page .mmv-legal-card p + p,
body.mmv-legal-page .mmv-legal-card p + ul,
body.mmv-legal-page .mmv-legal-card ul + p,
body.mmv-legal-page .mmv-legal-card p + ol,
body.mmv-legal-page .mmv-legal-card ol + p {
  margin-top: 12px;
}

body.mmv-legal-page .mmv-legal-card ul,
body.mmv-legal-page .mmv-legal-steps {
  padding-left: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

body.mmv-legal-page .mmv-legal-card ul {
  list-style: disc;
}

body.mmv-legal-page .mmv-legal-steps {
  list-style: decimal;
}

body.mmv-legal-page .mmv-legal-card a:not(.button) {
  color: var(--mmv-accent, #fff3a3);
  text-decoration: underline;
  text-underline-offset: 3px;
}

body.mmv-legal-page .mmv-legal-card a:not(.button):hover {
  color: #fff8d0;
}

body.mmv-legal-page .mmv-legal-card .button {
  display: inline-flex;
  margin-top: 4px;
}

body.mmv-legal-page .mmv-legal-note {
  font-size: 0.9rem !important;
  opacity: 0.9;
}

body.mmv-legal-page .footer-links a[aria-current="page"] {
  color: var(--mmv-accent, #fff3a3);
}

@media (max-width: 760px) {
  body.mmv-legal-page .mmv-legal-card {
    padding: 22px 18px;
  }

  body.mmv-legal-page .mmv-legal-body {
    padding-left: 0;
    padding-right: 0;
    max-width: 100%;
  }

  body.mmv-legal-page .mmv-legal-heading {
    max-width: 100%;
  }

  body.mmv-legal-page .mmv-legal-card a,
  body.mmv-legal-page .mmv-legal-card .button {
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  body.mmv-legal-page .mmv-legal-card .button {
    width: 100%;
    text-align: center;
  }
}

/* ===== Fine-tuned phone breakpoints ===== */

@media (max-width: 480px) {
  :root {
    --header-h: 68px;
  }

  .nav {
    padding-left: 14px;
    padding-right: 14px;
    gap: 12px;
  }

  .brand {
    gap: 10px;
    min-width: 0;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }

  .brand-name {
    font-size: 0.95rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: min(52vw, 11.5rem);
  }

  .hero,
  .page-hero,
  .section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero {
    padding-top: calc(var(--header-h) + 36px);
    padding-bottom: 56px;
  }

  .hero-visual {
    min-height: 280px;
  }

  .logo-stage {
    width: min(220px, 68vw);
  }

  .hero-description,
  .hero-tagline,
  .page-hero p {
    font-size: 0.98rem;
  }

  .section {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .section-heading h2,
  .cta h2 {
    font-size: clamp(1.7rem, 8vw, 2.3rem);
  }

  .app-card.mmv-featured .app-content,
  .app-content {
    padding: 28px 18px 18px;
  }

  .app-visual.mmv-showcase,
  .mmv-asset-panel,
  .page-hero-asset {
    padding: 12px 8px 20px;
  }

  .shot-gallery--showcase {
    --shot-slide: 0.84;
  }

  .shot-gallery--showcase .shot-gallery__stage {
    padding: 14px 4px 14px;
  }

  .shot-gallery--showcase .shot-gallery__slide.is-prev,
  .shot-gallery--showcase .shot-gallery__slide.is-next {
    opacity: 0.28;
  }

  .feature-panel,
  .value-card,
  .mmv-legal-card {
    padding: 20px 16px;
  }

  .footer-inner {
    gap: 22px;
  }

  .footer-links {
    gap: 12px 16px;
  }

  body.mmv-page .page-hero-asset {
    width: 100%;
  }

  body.mmv-page .mmv-welcome-list li {
    font-size: 0.9rem;
    padding: 12px 14px 12px 38px;
  }
}

@media (max-width: 375px) {
  .brand-name {
    max-width: min(46vw, 9.5rem);
  }

  .hero h1 {
    font-size: clamp(2rem, 11vw, 2.6rem);
  }

  .page-hero h1 {
    font-size: clamp(1.85rem, 10vw, 2.35rem);
  }

  .buttons .button {
    width: 100%;
  }

  .shot-gallery--showcase {
    --shot-slide: 0.88;
  }

  .shot-gallery--showcase .shot-gallery__nav {
    width: 40px;
    height: 40px;
    font-size: 1.3rem;
  }

  .nav-links {
    left: 12px;
    right: 12px;
  }
}

@media (max-width: 320px) {
  .brand-name {
    max-width: 7.5rem;
  }

  .hero,
  .page-hero,
  .section {
    padding-left: 12px;
    padding-right: 12px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 1.85rem;
  }

  .section-heading h2,
  .cta h2 {
    font-size: 1.55rem;
  }

  .cta {
    padding: 36px 14px;
  }

  .shot-gallery--showcase {
    --shot-slide: 0.92;
  }

  .shot-gallery--showcase .shot-gallery__slide.is-prev,
  .shot-gallery--showcase .shot-gallery__slide.is-next {
    opacity: 0.18;
  }

  .shot-gallery--showcase .shot-gallery__nav--prev {
    left: 0;
  }

  .shot-gallery--showcase .shot-gallery__nav--next {
    right: 0;
  }

  body.mmv-legal-page .mmv-legal-card {
    padding: 18px 14px;
    border-radius: 16px;
  }
}

@media (min-width: 1440px) {
  :root {
    --max: 1240px;
  }
}
