:root {
  color-scheme: light;
  font-family: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  --blue-900: #1a2f6b;
  --blue-800: #243f8a;
  --blue-700: #2f4fa8;
  --blue-600: #4a69bd;
  --blue-500: #6c8cff;
  --blue-100: #dce8ff;
  --blue-50: #eef4ff;
  --yellow: #fad390;
  --yellow-bright: #ffe066;
  --orange: #f8c291;
  --orange-cta: #f6b93b;
  --orange-dark: #e58e26;
  --red: #eb4d4b;
  --red-badge: #c0392b;
  --text: #1a2f6b;
  --text-muted: #5a6b8c;
  --white: #ffffff;
  --shadow: 0 24px 60px rgba(26, 47, 107, 0.28);
  --shadow-soft: 0 12px 32px rgba(26, 47, 107, 0.15);
  --border-game: 3px solid rgba(26, 47, 107, 0.85);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-pill: 999px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--blue-50);
  color: var(--text);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

#hero-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  padding: 24px clamp(20px, 5vw, 80px) 72px;
  background: linear-gradient(165deg, #3d5a9e 0%, #2a4490 45%, #1e3578 100%);
  color: var(--white);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 75% 35%, rgba(255, 224, 102, 0.12), transparent 45%),
    radial-gradient(circle at 20% 80%, rgba(108, 140, 255, 0.2), transparent 50%);
  pointer-events: none;
}

.nav {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: clamp(32px, 6vw, 64px);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.logo-mark {
  width: 100px;
  height: 55px;
  object-fit: contain;
  border: none;
  box-shadow: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
}

.nav-links a {
  font-weight: 700;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.92);
  transition: color 0.2s ease, transform 0.2s ease;
}

.nav-links a:hover {
  color: var(--yellow-bright);
  transform: translateY(-1px);
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.28);
}

.lang-btn {
  min-width: 38px;
  padding: 6px 10px;
  border: none;
  border-radius: var(--radius-pill);
  background: transparent;
  color: rgba(255, 255, 255, 0.88);
  font-family: inherit;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.lang-btn:hover {
  color: var(--yellow-bright);
}

.lang-btn.is-active {
  background: var(--yellow-bright);
  color: var(--blue-900);
}

.nav-cta {
  padding: 12px 24px !important;
  border-radius: var(--radius-pill);
  background: linear-gradient(180deg, var(--orange-cta), var(--orange-dark));
  color: var(--blue-900) !important;
  border: var(--border-game);
  box-shadow: 0 6px 0 rgba(26, 47, 107, 0.9), 0 10px 24px rgba(0, 0, 0, 0.2);
  transition: transform 0.15s ease, box-shadow 0.15s ease !important;
}

.nav-cta:hover {
  color: var(--blue-900) !important;
  transform: translateY(2px) !important;
  box-shadow: 0 4px 0 rgba(26, 47, 107, 0.9), 0 8px 20px rgba(0, 0, 0, 0.18) !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border: none;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 3px;
  border-radius: 2px;
  background: var(--white);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 20px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  background: rgba(192, 57, 43, 0.85);
  border: 2px solid rgba(255, 255, 255, 0.25);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 20px;
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

h1 .highlight {
  color: var(--yellow-bright);
  text-shadow: 0 2px 0 rgba(26, 47, 107, 0.4);
}

.hero-subtitle {
  margin: 0;
  max-width: 520px;
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 32px 0 40px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 28px;
  border-radius: var(--radius-pill);
  font-weight: 800;
  font-size: 1rem;
  border: var(--border-game);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-primary {
  background: linear-gradient(180deg, var(--yellow-bright), var(--orange-cta));
  color: var(--blue-900);
  box-shadow: 0 6px 0 rgba(26, 47, 107, 0.9), 0 12px 28px rgba(0, 0, 0, 0.22);
}

.btn-primary:hover {
  transform: translateY(2px);
  box-shadow: 0 4px 0 rgba(26, 47, 107, 0.9), 0 8px 22px rgba(0, 0, 0, 0.18);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-2px);
}

.stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(24px, 4vw, 48px);
  margin: 0;
}

.stats div {
  min-width: 80px;
}

.stats dt {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 900;
  color: var(--yellow-bright);
  line-height: 1;
}

.stats dd {
  margin: 6px 0 0;
  font-size: 0.9rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.78);
  text-transform: lowercase;
}

.hero-showcase {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-perks {
  display: none;
}

.hero-carousel {
  display: grid;
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 40px);
  align-items: center;
  width: 100%;
  max-width: 640px;
}

.hero-carousel-visual {
  position: relative;
  display: flex;
  justify-content: center;
  perspective: 900px;
}

.hero-carousel-phone {
  position: relative;
  z-index: 2;
  width: min(100%, 300px);
  padding: 12px;
  border-radius: 36px;
  background: linear-gradient(145deg, #2a2a2e, #0f0f12);
  border: 4px solid #3a3a42;
  box-shadow:
    0 40px 80px rgba(0, 0, 0, 0.45),
    inset 0 0 0 2px rgba(255, 255, 255, 0.06);
  transform-style: preserve-3d;
  animation: phone-float 5s ease-in-out infinite;
}

.hero-carousel-slides {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  aspect-ratio: 9 / 19.5;
  width: 100%;
  background: #0f0f12;
}

.hero-carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(0.98);
  transition: opacity 0.55s ease, transform 0.55s ease;
  pointer-events: none;
  z-index: 0;
}

.hero-carousel-slide.is-active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
  z-index: 1;
}

.hero-carousel-slide .phone-screen {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  aspect-ratio: auto;
  border-radius: 26px;
}

.hero-carousel-caption {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  min-width: 0;
}

.hero-carousel-eyebrow {
  margin: 0 0 8px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--yellow-bright);
}

.hero-carousel-title {
  margin: 0 0 12px;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.hero-carousel-text {
  margin: 0;
  font-size: clamp(0.95rem, 1.8vw, 1.05rem);
  line-height: 1.6;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.86);
}

.hero-carousel-dots {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.hero-carousel-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, width 0.2s ease;
}

.hero-carousel-dot.is-active {
  width: 28px;
  border-radius: var(--radius-pill);
  background: var(--yellow-bright);
}

.hero-carousel-dot:hover {
  transform: scale(1.15);
}

.hero-phone {
  position: relative;
  display: flex;
  justify-content: center;
  perspective: 900px;
}

.phone-frame {
  position: relative;
  z-index: 2;
  width: min(100%, 300px);
  padding: 12px;
  border-radius: 36px;
  background: linear-gradient(145deg, #2a2a2e, #0f0f12);
  border: 4px solid #3a3a42;
  box-shadow:
    0 40px 80px rgba(0, 0, 0, 0.45),
    inset 0 0 0 2px rgba(255, 255, 255, 0.06);
  transform-style: preserve-3d;
  animation: phone-float 5s ease-in-out infinite;
}

.phone-notch {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 22px;
  border-radius: 0 0 14px 14px;
  background: #0f0f12;
  z-index: 3;
}

.phone-screen {
  width: 100%;
  height: auto;
  border-radius: 26px;
  object-fit: cover;
  aspect-ratio: 9 / 19.5;
}

.phone-glow {
  position: absolute;
  inset: 10% 5%;
  background: radial-gradient(circle, rgba(255, 224, 102, 0.35), transparent 65%);
  filter: blur(40px);
  z-index: 1;
  animation: glow-pulse 4s ease-in-out infinite;
}

@keyframes phone-float {
  0%,
  100% {
    transform: translateY(0) rotateY(-8deg) rotateX(4deg);
  }
  50% {
    transform: translateY(-14px) rotateY(-4deg) rotateX(2deg);
  }
}

@keyframes glow-pulse {
  0%,
  100% {
    opacity: 0.6;
  }
  50% {
    opacity: 1;
  }
}

.section {
  position: relative;
  z-index: 1;
  padding: clamp(64px, 10vw, 112px) clamp(20px, 5vw, 80px);
}

.section-head {
  max-width: 680px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-head h2,
.section-grid h2,
.section-download h2 {
  margin: 12px 0 16px;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--text);
}

.section-lead {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.65;
  font-weight: 600;
}

.eyebrow {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}

.eyebrow-dark {
  color: var(--blue-600);
}

.section-captures {
  background-color: var(--blue-100);
  background-image:
    linear-gradient(45deg, rgba(255, 255, 255, 0.55) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(255, 255, 255, 0.55) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(255, 255, 255, 0.55) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(255, 255, 255, 0.55) 75%);
  background-size: 48px 48px;
  background-position: 0 0, 0 24px, 24px -24px, -24px 0;
}

.section-captures .eyebrow {
  color: var(--blue-800);
}

.captures-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2.5vw, 28px);
  max-width: 1200px;
  margin: 0 auto;
}

.hero-perks-label--short {
  display: none;
}

.capture-card {
  margin: 0;
  text-align: center;
}

.capture-phone {
  padding: 10px;
  border-radius: 28px;
  background: linear-gradient(145deg, #2a2a2e, #121216);
  border: 3px solid rgba(26, 47, 107, 0.75);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.capture-phone img {
  width: 100%;
  border-radius: 20px;
  aspect-ratio: 9 / 19;
  object-fit: cover;
  object-position: top center;
}

.capture-phone:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow);
}

.capture-card figcaption {
  margin-top: 14px;
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--text);
}

.section-game {
  background: var(--white);
}

.section-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.section-grid p {
  color: var(--text-muted);
  line-height: 1.65;
  font-weight: 600;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.feature-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.feature-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--blue-50);
  border: 2px solid var(--blue-100);
  font-size: 1.2rem;
}

.feature-list strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1.05rem;
}

.feature-list p {
  margin: 0;
  font-size: 0.95rem;
}

.game-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.game-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--red), #d63031);
  color: var(--white);
  border: var(--border-game);
  box-shadow: var(--shadow-soft);
}

.game-card--alt {
  background: linear-gradient(135deg, var(--blue-700), var(--blue-900));
}

.game-card-label {
  margin: 0 0 8px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.85;
}

.game-card h3 {
  margin: 0 0 8px;
  font-size: 1.35rem;
  font-weight: 900;
}

.game-card-xp {
  margin: 0 0 16px;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--yellow-bright);
}

.game-card p {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.88) !important;
  font-weight: 600;
}

.progress-bar {
  height: 10px;
  border-radius: var(--radius-pill);
  background: rgba(0, 0, 0, 0.25);
  overflow: hidden;
}

.progress-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--yellow-bright), var(--orange-cta));
}

.progress-bar--green span {
  background: linear-gradient(90deg, #55efc4, #00b894);
}

.game-card-next {
  margin: 10px 0 0 !important;
  font-size: 0.88rem !important;
}

.section-steps {
  background: var(--blue-50);
}

.steps {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 960px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  counter-reset: step;
}

.steps li {
  padding: 32px 24px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 2px solid var(--blue-100);
  box-shadow: var(--shadow-soft);
  text-align: center;
}

.step-num {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--yellow-bright), var(--orange-cta));
  border: var(--border-game);
  font-weight: 900;
  font-size: 1.2rem;
  color: var(--blue-900);
}

.steps h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
  font-weight: 900;
}

.steps p {
  margin: 0;
  color: var(--text-muted);
  font-weight: 600;
  line-height: 1.55;
  font-size: 0.95rem;
}

.section-download {
  background: linear-gradient(135deg, var(--blue-800), var(--blue-900));
  color: var(--white);
}

.download-box {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
  padding: clamp(32px, 5vw, 48px);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.06);
  border: 2px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
}

.section-download .eyebrow {
  color: var(--yellow-bright);
}

.section-download h2 {
  color: var(--white);
}

.section-download p {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
  line-height: 1.6;
}

.store-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.store-button {
  display: inline-flex;
  padding: 10px 14px;
  border-radius: 14px;
  background: var(--white);
  border: 2px solid rgba(26, 47, 107, 0.2);
  transition: transform 0.2s ease;
}

.store-button:hover {
  transform: translateY(-3px);
}

.download-stats {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.download-stats div {
  padding: 20px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.download-stats strong {
  display: block;
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--yellow-bright);
  margin-bottom: 4px;
}

.download-stats span {
  font-size: 0.9rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.78);
}

.footer {
  position: relative;
  z-index: 1;
  padding: 28px clamp(20px, 5vw, 80px);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  background: var(--blue-900);
  color: rgba(255, 255, 255, 0.75);
  font-weight: 700;
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a:hover {
  color: var(--yellow-bright);
}

.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1024px) {
  .captures-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-grid,
  .section-grid,
  .download-box {
    grid-template-columns: 1fr;
  }

  .hero-showcase {
    order: -1;
    margin: 0 auto;
    max-width: 520px;
  }

  .hero-carousel {
    grid-template-columns: 1fr;
    text-align: center;
    max-width: 100%;
  }

  .hero-carousel-caption {
    align-items: center;
  }

  .hero-carousel-dots {
    justify-content: center;
  }

  .hero-carousel-phone {
    width: min(100%, 260px);
  }
}

@media (max-width: 768px) {
  .hero-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 100%;
  }

  .hero-copy {
    order: 1;
    text-align: center;
    padding: 0 4px;
  }

  .hero-perks {
    order: 2;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-evenly;
    gap: 10px;
    width: 100%;
    margin: 20px 0 24px;
    padding: 14px 16px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    font-size: clamp(0.78rem, 3.4vw, 0.92rem);
    font-weight: 700;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.25;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .hero-perks::-webkit-scrollbar {
    display: none;
  }

  .hero-perks-label--long {
    display: none;
  }

  .hero-perks-label--short {
    display: inline;
  }

  .hero-showcase {
    order: 3;
    margin: 0 auto;
    max-width: 100%;
    width: 100%;
    overflow: visible;
  }

  .hero-perks-item {
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
    flex-shrink: 0;
    white-space: nowrap;
  }

  .hero-perks-item strong {
    color: var(--yellow-bright);
    font-weight: 900;
    font-size: 1.12em;
  }

  .hero-perks-sep {
    color: rgba(255, 255, 255, 0.35);
    font-weight: 400;
    flex-shrink: 0;
    padding: 0 2px;
  }

  .hero-copy .badge {
    margin-bottom: 14px;
    font-size: 0.72rem;
    letter-spacing: 0.06em;
  }

  .hero-copy h1 {
    margin-bottom: 14px;
    font-size: clamp(2.15rem, 10vw, 2.75rem);
    line-height: 1.02;
  }

  .hero-subtitle {
    max-width: 34ch;
    margin: 0 auto;
    font-size: 1.02rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.9);
  }

  .hero-subtitle strong {
    color: var(--white);
    font-weight: 900;
  }

  .hero-copy .hero-actions {
    margin: 22px 0 0;
  }

  .hero-copy .hero-actions .btn-ghost {
    display: none;
  }

  .hero-copy .stats {
    display: none;
  }

  .hero-carousel {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    touch-action: pan-y pinch-zoom;
  }

  .hero-carousel-visual {
    order: 1;
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 300px;
    justify-content: center;
    padding-top: 0;
    margin-bottom: 0;
  }

  .hero-carousel-phone {
    width: 100%;
    max-width: 300px;
    animation: none;
    transform: none !important;
    box-shadow:
      0 32px 64px rgba(0, 0, 0, 0.45),
      inset 0 0 0 2px rgba(255, 255, 255, 0.06);
  }

  .hero-carousel-slides {
    aspect-ratio: 9 / 19.5;
    min-height: 0;
  }

  .hero-carousel-caption {
    order: 2;
    position: relative;
    z-index: 1;
    width: 100%;
    margin: 0;
    padding: 8px 0 0;
    background: none;
    border: none;
    backdrop-filter: none;
    box-shadow: none;
    text-align: center;
    align-items: center;
  }

  .hero-carousel-caption::after {
    display: none;
  }

  .hero-carousel-eyebrow {
    font-size: 0.7rem;
    margin-bottom: 6px;
  }

  .hero-carousel-title {
    font-size: 1.2rem;
    margin-bottom: 8px;
  }

  .hero-carousel-text {
    font-size: 0.95rem;
    line-height: 1.55;
    max-width: none;
    margin: 0;
    padding: 0 4px;
  }

  .hero-carousel-dots {
    margin-top: 12px;
    justify-content: center;
  }

  .phone-glow {
    inset: 8% 5% 8%;
    opacity: 0.75;
  }

  .hero {
    padding: 16px 16px 56px;
    min-height: auto;
    overflow: visible;
  }

  .hero-grid {
    position: relative;
    z-index: 1;
  }

  .hero-showcase {
    z-index: 1;
  }

  .nav {
    position: relative;
    flex-wrap: wrap;
    margin-bottom: 28px;
    z-index: 50;
  }

  .logo {
    font-size: 1rem;
    gap: 8px;
    max-width: calc(100% - 52px);
  }

  .logo-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .logo-mark {
    width: 72px;
    height: 40px;
    flex-shrink: 0;
  }

  .nav-toggle {
    display: flex;
    z-index: 3;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    left: 0;
    flex-direction: column;
    padding: 16px;
    margin-top: 0;
    border-radius: var(--radius-md);
    background: rgba(26, 47, 107, 0.97);
    border: 2px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
    z-index: 60;
    box-shadow: var(--shadow);
  }

  .nav-links a {
    width: 100%;
    text-align: center;
    padding: 10px 0;
  }

  .nav-cta {
    width: 100%;
    text-align: center;
  }

  .lang-switch {
    width: 100%;
    justify-content: center;
    margin-bottom: 4px;
  }

  .nav-links.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .section {
    padding: 56px 16px;
  }

  .download-box {
    padding: 24px 20px;
    gap: 28px;
  }

  .store-buttons {
    justify-content: center;
  }

  .store-button img {
    height: 42px;
    width: auto;
  }

  .footer {
    flex-direction: column;
    text-align: center;
    padding: 24px 16px;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .captures-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }

  .capture-card {
    display: flex;
    flex-direction: column;
    padding: 10px;
    border-radius: 28px;
    background: linear-gradient(145deg, #2a2a2e, #121216);
    border: 3px solid rgba(26, 47, 107, 0.75);
    box-shadow: var(--shadow-soft);
    text-align: center;
  }

  .capture-phone {
    padding: 0;
    border-radius: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    overflow: hidden;
  }

  .capture-phone:hover {
    transform: none;
    box-shadow: none;
  }

  .capture-phone img {
    border-radius: 20px;
  }

  .capture-card figcaption {
    margin: 10px 0 0;
    padding: 10px 8px 4px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    background: transparent;
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--yellow-bright);
    letter-spacing: -0.01em;
  }
}

@media (max-width: 520px) {
  .captures-grid {
    max-width: min(100%, 300px);
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .hero-carousel {
    max-width: 100%;
  }

  .hero-carousel-visual {
    max-width: 280px;
  }

  .hero-carousel-phone {
    width: 100%;
    max-width: 280px;
  }

  .hero-carousel-text {
    font-size: 0.92rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .phone-frame,
  .phone-glow,
  .hero-carousel-phone {
    animation: none;
  }

  .hero-carousel-slide {
    transition: none;
  }
}
