:root {
  --bg-0: #07050f;
  --bg-1: #120c22;
  --bg-2: #1e1636;
  --panel: rgba(36, 28, 64, 0.72);
  --ink: #fffdf8;
  --ink-soft: #efe8ff;
  --muted: #b8afd0;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);

  --green: #3fcb66;
  --green-hot: #5be682;
  --green-deep: #1f8f3f;
  --gold: #f5b925;
  --gold-hot: #ffe06a;
  --gold-deep: #c78400;
  --purple: #6d63e6;
  --purple-hot: #958dff;
  --red: #e62117;
  --sky: #4aa8f5;

  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.45);
  --shadow-soft: 0 16px 40px rgba(0, 0, 0, 0.28);
  --font-display: "Fredoka", sans-serif;
  --font-body: "Nunito", sans-serif;
  --max: 1120px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 4.35rem;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

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

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(1000px 520px at 70% -10%, rgba(74, 168, 245, 0.18), transparent 55%),
    radial-gradient(720px 480px at -5% 30%, rgba(109, 99, 230, 0.16), transparent 50%),
    radial-gradient(640px 420px at 100% 70%, rgba(63, 203, 102, 0.08), transparent 55%),
    linear-gradient(180deg, #090612 0%, #120c22 45%, #0a0714 100%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.045;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

body > * {
  position: relative;
  z-index: 2;
}

:focus-visible {
  outline: 2px solid var(--gold-hot);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 300;
  padding: 0.7rem 1.1rem;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--green-hot), var(--green));
  color: #042012;
  font-weight: 800;
  font-family: var(--font-display);
  transition: top 0.2s var(--ease);
}

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

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

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

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* --- Header --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  background: rgba(7, 5, 15, 0.55);
  border-bottom: 1px solid transparent;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(10, 7, 20, 0.88);
  border-bottom-color: var(--line);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
}

.nav {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 0.85rem;
  min-height: var(--header-h);
  position: relative;
}

.brand {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  justify-self: start;
  z-index: 2;
  filter: drop-shadow(0 8px 18px rgba(230, 33, 23, 0.28));
  transition: transform 0.3s var(--ease);
}

.brand:hover {
  transform: scale(1.04) rotate(-1deg);
}

.brand-logo {
  width: auto;
  height: 2.9rem;
  max-width: min(12rem, 44vw);
  object-fit: contain;
  object-position: left center;
}

.nav-links {
  display: flex;
  gap: 1.4rem;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
  justify-self: center;
  align-items: center;
}

.nav-links .nav-cta {
  display: none;
}

.nav-links a {
  position: relative;
  padding: 0.25rem 0;
  transition: color 0.2s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.2rem;
  width: 100%;
  height: 2px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--gold), var(--green));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

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

.nav-links a:hover::after {
  transform: scaleX(1);
}

.nav-tools {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  justify-self: end;
  z-index: 2;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.18rem;
  padding: 0.22rem;
  border: 1px solid rgba(109, 99, 230, 0.28);
  border-radius: 999px;
  background: rgba(109, 99, 230, 0.12);
  backdrop-filter: blur(8px);
}

.lang-btn {
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid transparent;
  overflow: hidden;
  opacity: 0.7;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.lang-btn img {
  width: 1.05rem;
  height: 0.74rem;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25);
}

.lang-btn:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.lang-btn.active {
  opacity: 1;
  border-color: rgba(245, 185, 37, 0.7);
  background: rgba(245, 185, 37, 0.14);
  box-shadow: 0 0 0 2px rgba(245, 185, 37, 0.12);
}

.footer-langs-title {
  margin-top: 0 !important;
}

.lang-switch-footer {
  margin-top: 0.5rem;
  background: transparent;
}

.nav-toggle {
  display: none;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  border: 1px solid rgba(109, 99, 230, 0.35);
  background: rgba(109, 99, 230, 0.16);
  padding: 0;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.28rem;
}

.nav-toggle-bar {
  display: block;
  width: 1rem;
  height: 2px;
  border-radius: 99px;
  background: var(--ink);
  transition: transform 0.25s var(--ease), opacity 0.2s ease;
}

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

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

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

/* --- Hero (full-bleed) --- */
.hero {
  position: relative;
  min-height: min(100svh, 920px);
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 0 0 3.5rem;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media picture {
  position: absolute;
  inset: 0;
  display: block;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
  transform: scale(1.04);
  animation: heroDrift 22s linear both;
  will-change: transform;
}

.hero-media img.hero-settled,
.hero.is-settled .hero-media img {
  will-change: auto;
  animation: none;
  transform: scale(1.02);
}

.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 5, 15, 0.18) 0%, rgba(7, 5, 15, 0.08) 22%, rgba(7, 5, 15, 0.35) 52%, rgba(7, 5, 15, 0.88) 78%, rgba(7, 5, 15, 0.97) 100%),
    linear-gradient(90deg, rgba(7, 5, 15, 0.55) 0%, rgba(7, 5, 15, 0.18) 38%, transparent 68%),
    radial-gradient(ellipse 60% 45% at 70% 35%, rgba(245, 185, 37, 0.14), transparent 70%);
  pointer-events: none;
}

.hero-overlay {
  position: relative;
  z-index: 1;
  max-width: 38rem;
  padding-top: 7rem;
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto 0 max(1.25rem, calc((100% - var(--max)) / 2));
}

.eyebrow {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1rem;
  padding: 0.42rem 0.9rem;
  max-width: min(100%, 34rem);
  border: 1px solid rgba(245, 185, 37, 0.35);
  border-radius: 999px;
  background: rgba(12, 8, 24, 0.55);
  backdrop-filter: blur(10px);
  color: var(--gold-hot);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: var(--font-display);
  line-height: 1.35;
  text-align: center;
  text-wrap: balance;
}

.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3.1rem, 8vw, 5.6rem);
  line-height: 0.94;
  letter-spacing: -0.02em;
  font-weight: 700;
  text-wrap: balance;
  background: linear-gradient(180deg, #fffef6 10%, #ffe8a8 52%, #ffb31f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter:
    drop-shadow(0 2px 0 rgba(88, 18, 140, 0.75))
    drop-shadow(0 10px 24px rgba(230, 33, 23, 0.28));
  animation: titlePop 0.9s var(--ease) both;
}

.hero-lead {
  margin: 1.15rem 0 1.75rem;
  color: var(--ink-soft);
  font-size: clamp(1.02rem, 1.5vw, 1.15rem);
  max-width: 30rem;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55);
  font-weight: 600;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 3.25rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  font-size: 0.98rem;
  font-family: var(--font-display);
  letter-spacing: 0.01em;
  position: relative;
  overflow: hidden;
  text-align: center;
  white-space: normal;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

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

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.22), transparent 42%),
    linear-gradient(180deg, var(--green-hot), var(--green) 55%, var(--green-deep));
  color: #03180c;
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.22) inset,
    0 8px 18px rgba(0, 0, 0, 0.28);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.22);
}

.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.35) 50%, transparent 65%);
  transform: translateX(-120%);
  pointer-events: none;
}

.btn-primary:hover::after,
.btn-primary:focus-visible::after,
.sticky-cta.is-visible .sticky-cta-btn::after {
  animation: btnShine 0.85s ease-out 1;
}

.btn-primary:hover {
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.28) inset,
    0 10px 22px rgba(0, 0, 0, 0.32);
}

.btn-ghost {
  border-color: rgba(245, 185, 37, 0.42);
  background: rgba(12, 8, 24, 0.45);
  backdrop-filter: blur(10px);
  color: var(--gold-hot);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22);
}

.btn-ghost:hover {
  border-color: rgba(245, 185, 37, 0.75);
  background: rgba(245, 185, 37, 0.12);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.28);
}

.sticky-cta-btn.btn-primary {
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.2) inset,
    0 4px 12px rgba(0, 0, 0, 0.35);
}

.sticky-cta-btn.btn-primary:hover {
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.26) inset,
    0 6px 14px rgba(0, 0, 0, 0.4);
}

/* --- Sections --- */
section {
  padding: 5rem 0;
}

#stats {
  padding: 0;
  margin-top: -1.25rem;
  position: relative;
  z-index: 3;
}

.section-head {
  max-width: 38rem;
  margin-bottom: 2.1rem;
}

.section-head h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.85rem);
  letter-spacing: -0.015em;
  line-height: 1.05;
  font-weight: 700;
  text-shadow: 0 2px 0 rgba(70, 18, 120, 0.35);
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  font-weight: 600;
}

.section-head p + p {
  margin-top: 0.85rem;
}

.section-kicker {
  margin: 0 0 0.85rem;
  color: var(--green-hot);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: var(--font-display);
}

/* --- Demo --- */
.demo-shell {
  width: 100%;
  border: 1px solid rgba(109, 99, 230, 0.35);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #0a0614;
  box-shadow: var(--shadow), 0 0 60px rgba(109, 99, 230, 0.12);
}

.demo-chrome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1.05rem;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(109, 99, 230, 0.2), rgba(20, 14, 40, 0.7));
}

.demo-dots {
  display: flex;
  gap: 0.4rem;
}

.demo-dots span {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
}

.demo-dots span:nth-child(1) { background: var(--red); }
.demo-dots span:nth-child(2) { background: var(--gold); }
.demo-dots span:nth-child(3) { background: var(--green); }

.demo-chrome small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.demo-shell iframe {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  min-height: 0;
  border: 0;
  background: #0a0614;
  display: block;
}

.demo-shell iframe[hidden] {
  display: none;
}

.demo-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #0a0614;
}

.demo-poster {
  position: absolute;
  inset: 0;
  z-index: 0;
  margin: 0;
  pointer-events: none;
  background: #0a0614;
}

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

.demo-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(7, 5, 15, 0.12), rgba(7, 5, 15, 0.62));
}

.demo-shell.is-loaded .demo-stage {
  display: block;
  aspect-ratio: 16 / 9;
  background: #0a0614;
}

.demo-shell.is-loaded .demo-poster,
.demo-shell.is-loaded .demo-stage::after,
.demo-shell.is-loaded .demo-load {
  display: none;
}

.demo-load {
  position: relative;
  z-index: 2;
  min-width: min(16rem, 80%);
}

.demo-cta {
  margin-top: 1.25rem;
  justify-content: center;
}

/* --- Stats ribbon --- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid rgba(109, 99, 230, 0.28);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(18, 12, 36, 0.82);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-soft);
}

.stat {
  padding: 1.35rem 1.2rem;
  border-right: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(109, 99, 230, 0.12), transparent 70%);
  text-align: center;
}

.stat:last-child {
  border-right: 0;
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  letter-spacing: -0.01em;
  margin-bottom: 0.25rem;
  color: var(--gold-hot);
  text-shadow: 0 2px 0 rgba(90, 40, 0, 0.35);
}

.stat span {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
}

/* --- Split / media --- */
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.75rem, 3.5vw, 3rem);
  align-items: center;
}

.split-reverse {
  grid-template-columns: 0.95fr 1.05fr;
}

.media-frame {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(63, 203, 102, 0.2);
  background: #0a0614;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.media-frame:hover {
  transform: translate3d(0, -3px, 0);
  box-shadow: 0 24px 50px rgba(63, 203, 102, 0.12);
}

.media-frame picture,
.media-frame > img {
  display: block;
  width: 100%;
}

.media-frame img {
  width: 100%;
  height: auto;
}

.media-frame--phones {
  background:
    radial-gradient(ellipse 80% 60% at 50% 40%, rgba(109, 99, 230, 0.16), transparent 70%),
    #0a0614;
}

.phone-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  padding: 0.75rem;
}

.phone-pair img {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: center top;
  border-radius: calc(var(--radius) - 2px);
  border: 1px solid rgba(245, 185, 37, 0.18);
  background: #120c22;
}

.points-title {
  margin: 1.5rem 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
}

.points-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.75rem;
}

.points-list li {
  position: relative;
  padding-left: 1.45rem;
  color: var(--muted);
  font-size: 0.98rem;
  font-weight: 600;
}

.points-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(63, 203, 102, 0.16);
}

/* --- Steps --- */
.steps {
  display: grid;
  gap: 0;
  counter-reset: step;
  border-top: 1px solid var(--line);
}

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.1rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line);
}

.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
  width: 2.55rem;
  height: 2.55rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  border: 2px solid rgba(245, 185, 37, 0.4);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), transparent 45%),
    linear-gradient(180deg, var(--purple-hot), var(--purple));
  box-shadow: 0 6px 14px rgba(45, 35, 110, 0.4);
}

.step h3 {
  margin: 0 0 0.3rem;
  font-size: 1.12rem;
  font-family: var(--font-display);
  font-weight: 650;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
  font-weight: 600;
}

/* --- Features --- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.feature {
  padding: 1.45rem 0 1.25rem;
  border-top: 2px solid rgba(109, 99, 230, 0.35);
  background: transparent;
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.feature:hover {
  border-top-color: var(--green);
  transform: translate3d(0, -2px, 0);
}

.feature-index {
  display: inline-block;
  margin-bottom: 0.85rem;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.feature h3 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
}

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

/* --- Specs --- */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(109, 99, 230, 0.28);
  -webkit-overflow-scrolling: touch;
  box-shadow: var(--shadow-soft);
}

.specs-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: rgba(16, 11, 32, 0.9);
  min-width: 32rem;
}

.specs-table th,
.specs-table td {
  text-align: left;
  padding: 1.05rem 1.2rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.specs-table th {
  width: 34%;
  color: var(--muted);
  font-weight: 700;
  background: rgba(109, 99, 230, 0.1);
}

.specs-table td {
  color: var(--ink-soft);
  font-weight: 700;
}

.specs-table tr:last-child th,
.specs-table tr:last-child td {
  border-bottom: 0;
}

.specs-table tr:hover td,
.specs-table tr:hover th {
  background: rgba(63, 203, 102, 0.06);
}

/* --- Gallery --- */
.gallery-block + .gallery-block {
  margin-top: 2.25rem;
}

.gallery-wide {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.gallery-wide figure:first-child {
  grid-column: 1 / -1;
}

.gallery-portrait {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  align-items: start;
}

.shot {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(245, 185, 37, 0.16);
  background: #0a0614;
  box-shadow: var(--shadow-soft);
  transition: transform 0.22s var(--ease), border-color 0.22s ease;
}

.shot:hover {
  transform: translate3d(0, -3px, 0);
  border-color: rgba(245, 185, 37, 0.4);
}

.shot img {
  width: 100%;
  height: auto;
  display: block;
}

/* Show full frame. No forced crop. */
.shot-wide img,
.shot-portrait:not(.shot-scroll) img {
  aspect-ratio: auto;
  object-fit: unset;
  height: auto;
}

/* Tall paytable captures: scroll inside the card instead of stretching the page. */
.shot-scroll {
  max-height: min(68vh, 560px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}

.shot-scroll img {
  aspect-ratio: auto;
  object-fit: unset;
  height: auto;
}

.shot figcaption {
  display: none;
}

/* --- Geo --- */
.geo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.9rem;
}

.geo {
  padding: 1.25rem 0.2rem 0.4rem;
  border: 0;
  border-top: 3px solid var(--sky);
  border-radius: 0;
  background: transparent;
}

.geo:nth-child(2) { border-top-color: var(--green); }
.geo:nth-child(3) { border-top-color: var(--gold); }
.geo:nth-child(4) { border-top-color: var(--red); }

.geo strong {
  display: block;
  font-family: var(--font-display);
  margin-bottom: 0.35rem;
  font-size: 1.05rem;
}

.geo span {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
}

/* --- FAQ --- */
.faq {
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  background: transparent;
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq details:last-child {
  border-bottom: 0;
}

.faq summary {
  cursor: pointer;
  font-weight: 800;
  font-family: var(--font-display);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 0.15rem;
  transition: color 0.2s ease;
}

.faq summary:hover {
  color: var(--gold-hot);
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 2px solid rgba(63, 203, 102, 0.4);
  color: var(--green-hot);
  background: rgba(63, 203, 102, 0.1);
  font-size: 1.15rem;
  line-height: 1;
  font-family: var(--font-body);
}

.faq details[open] summary::after {
  content: "-";
}

.faq p {
  color: var(--muted);
  margin: 0;
  padding: 0 0 1.2rem;
  max-width: 48rem;
  font-weight: 600;
}

/* --- Footer --- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.25rem 0 1.75rem;
  color: var(--muted);
  font-size: 0.9rem;
  background: rgba(0, 0, 0, 0.28);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) auto;
  gap: 1.25rem 1.75rem;
  align-items: start;
}

.footer-brand {
  min-width: 0;
}

.footer-logo {
  display: inline-flex;
  line-height: 0;
  filter: drop-shadow(0 6px 14px rgba(230, 33, 23, 0.22));
}

.footer-logo .brand-logo {
  height: 2.35rem;
  max-width: 10.5rem;
}

.footer-about {
  margin: 0.7rem 0 0;
  max-width: 26rem;
  line-height: 1.5;
  font-weight: 600;
  font-size: 0.88rem;
}

.cross-links {
  margin: 1.15rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.55;
}

.cross-links a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
}

.cross-links a:hover,
.cross-links a:focus-visible {
  color: var(--gold-hot);
}

.page-404 .hero-404 {
  min-height: min(88vh, 52rem);
}

.page-404 .hero-404 .hero-overlay {
  max-width: 40rem;
}

.error-404-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.15rem;
  margin-top: 1.35rem;
}

.error-404-links a {
  color: var(--ink-soft);
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.error-404-links a:hover,
.error-404-links a:focus-visible {
  color: var(--gold);
  border-bottom-color: rgba(245, 185, 37, 0.55);
}

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

.footer-inner h3,
.footer-langs-title {
  margin: 0 0 0.55rem;
  color: var(--gold-hot);
  font-size: 0.88rem;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.footer-langs-title {
  margin-top: 0 !important;
}

.footer-links ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links li + li {
  margin-top: 0.32rem;
}

.footer-links a {
  font-weight: 700;
  font-size: 0.9rem;
}

.footer-links a:hover,
.footer-logo:hover {
  color: var(--green-hot);
}

.footer-langs {
  min-width: 0;
}

.lang-switch-footer {
  margin-top: 0.35rem;
  background: transparent;
  justify-content: flex-start;
}

.disclaimer {
  margin-top: 1.35rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: 0.78rem;
  line-height: 1.5;
}

.disclaimer p {
  margin: 0;
}

.disclaimer p + p {
  margin-top: 0.55rem;
}

.affiliate-disclosure {
  color: var(--ink-soft);
  font-weight: 700;
}

/* --- Sticky CTA --- */
.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  padding: 0.7rem 0.85rem calc(0.7rem + env(safe-area-inset-bottom, 0px));
  pointer-events: none;
  transform: translate3d(0, 110%, 0);
  opacity: 0;
  transition: transform 0.3s var(--ease), opacity 0.25s ease;
  contain: layout style;
}

.sticky-cta.is-visible {
  transform: translate3d(0, 0, 0);
  opacity: 1;
  pointer-events: auto;
}

.sticky-cta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem 1rem;
  width: min(100%, 40rem);
  margin: 0 auto;
  padding: 0.7rem 0.75rem 0.7rem 1rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background:
    linear-gradient(180deg, rgba(42, 32, 72, 0.96), rgba(16, 10, 32, 0.98));
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(63, 203, 102, 0.12);
}

.sticky-cta-copy {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.25;
  min-width: 0;
}

.sticky-cta-btn {
  flex-shrink: 0;
  min-width: 8.5rem;
  padding: 0.72rem 1.15rem;
  font-size: 0.92rem;
}

body.age-locked .sticky-cta {
  opacity: 0 !important;
  pointer-events: none !important;
  transform: translate3d(0, 110%, 0) !important;
}

@media (max-width: 560px) {
  .sticky-cta {
    padding: 0.55rem 0.65rem calc(0.55rem + env(safe-area-inset-bottom, 0px));
  }

  .sticky-cta-bar {
    width: 100%;
    border-radius: 18px;
    padding: 0.65rem;
    gap: 0.65rem;
  }

  .sticky-cta-copy {
    font-size: 0.8rem;
  }

  .sticky-cta-btn {
    min-width: 0;
    padding: 0.7rem 0.95rem;
  }
}

/* --- Age gate --- */
.age-gate {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  background: rgba(5, 3, 12, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.age-gate[hidden] {
  display: none !important;
}

.age-gate-card {
  width: min(100%, 26rem);
  padding: 1.7rem 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(109, 99, 230, 0.4);
  background: linear-gradient(180deg, rgba(36, 28, 64, 0.98), rgba(14, 10, 28, 0.98));
  box-shadow: var(--shadow);
}

.age-gate-card h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.45rem;
}

.age-gate-card p {
  margin: 0 0 1.2rem;
  color: var(--muted);
  font-weight: 600;
}

.age-gate-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.age-denied {
  margin-top: 1rem !important;
  color: var(--gold-hot) !important;
}

body.age-locked {
  overflow: hidden;
}

/* --- Motion --- */
.reveal {
  opacity: 0;
  transform: translate3d(0, 16px, 0);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
  will-change: opacity, transform;
}

.reveal.visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  will-change: auto;
}

.reveal:nth-child(2) { transition-delay: 0.04s; }
.reveal:nth-child(3) { transition-delay: 0.08s; }
.reveal:nth-child(4) { transition-delay: 0.12s; }

main > section:not(.hero):not(#stats) {
  content-visibility: auto;
  contain-intrinsic-size: 1px 720px;
}

@keyframes heroDrift {
  from { transform: scale(1.05); }
  to { transform: scale(1.02); }
}

@keyframes titlePop {
  from {
    opacity: 0;
    transform: translate3d(0, 14px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes btnShine {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(120%); }
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .hero {
    min-height: min(100svh, 820px);
    align-items: end;
  }

  .hero-overlay {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    max-width: 34rem;
  }

  .hero-lead {
    margin-inline: auto;
  }

  .cta-row {
    justify-content: center;
  }

  .hero-veil {
    background:
      linear-gradient(180deg, rgba(7, 5, 15, 0.22) 0%, rgba(7, 5, 15, 0.06) 26%, rgba(7, 5, 15, 0.2) 46%, rgba(7, 5, 15, 0.72) 70%, rgba(7, 5, 15, 0.96) 100%),
      radial-gradient(ellipse 90% 50% at 50% 35%, rgba(245, 185, 37, 0.1), transparent 70%);
  }

  .split,
  .split-reverse {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 1.1rem 1.25rem;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-langs {
    grid-column: 1 / -1;
  }

  .feature-grid,
  .geo-grid,
  .stats {
    grid-template-columns: 1fr 1fr;
  }

  .stats {
    gap: 0;
  }

  .stat:nth-child(2n) {
    border-right: 0;
  }

  .stat:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

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

  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 0.45rem;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 0.55rem);
    right: 0;
    width: min(18rem, calc(100vw - 1.6rem));
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.2rem;
    padding: 0.75rem;
    border: 1px solid rgba(109, 99, 230, 0.35);
    border-radius: var(--radius);
    background: rgba(12, 8, 24, 0.97);
    box-shadow: var(--shadow);
    backdrop-filter: blur(16px);
    z-index: 20;
    justify-self: end;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a:not(.nav-cta) {
    padding: 0.85rem 0.9rem;
    border-radius: 0.85rem;
    color: var(--ink-soft);
    text-align: center;
    width: 100%;
  }

  .nav-links a::after {
    display: none;
  }

  .nav-links a:not(.nav-cta):hover,
  .nav-links a:not(.nav-cta):focus-visible {
    background: rgba(109, 99, 230, 0.2);
    color: var(--ink);
  }

  .nav-links .nav-cta {
    display: inline-flex;
    width: 100%;
    margin-top: 0.45rem;
    min-height: 2.95rem;
  }

  body.nav-open {
    overflow: hidden;
  }

  .nav-tools {
    gap: 0.35rem;
  }

  .lang-switch {
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .lang-switch::-webkit-scrollbar {
    display: none;
  }

  #stats {
    margin-top: -0.75rem;
  }
}

/* Portrait poster: show the full frame, no cover crop. */
@media (max-width: 768px) {
  .hero {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    min-height: 0;
    padding: 0 0 2rem;
    overflow: visible;
  }

  .hero-media {
    position: relative;
    inset: auto;
    width: 100%;
    aspect-ratio: 900 / 1344;
    flex: 0 0 auto;
    background: #07050f;
  }

  .hero-media picture {
    position: absolute;
    inset: 0;
  }

  .hero-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center top;
    transform: none;
    animation: none;
  }

  .hero-veil {
    background:
      linear-gradient(180deg, rgba(7, 5, 15, 0.42) 0%, rgba(7, 5, 15, 0.12) 12%, transparent 28%, transparent 50%, rgba(7, 5, 15, 0.45) 70%, rgba(7, 5, 15, 0.97) 100%);
  }

  .hero-overlay {
    position: relative;
    z-index: 1;
    margin: -5.75rem auto 0;
    padding-top: 0;
    text-align: center;
    max-width: 34rem;
    width: min(100% - 1.5rem, var(--max));
  }

  .hero-lead {
    margin-inline: auto;
  }

  .cta-row {
    justify-content: center;
  }

  .specs-table {
    min-width: 0;
  }

  .specs-table th,
  .specs-table td {
    padding: 0.9rem 0.85rem;
    font-size: 0.92rem;
  }

  /* Phone-sized demo shell: matches <picture> poster switch + portrait game UI */
  .demo-shell {
    max-width: 26.25rem;
    margin-inline: auto;
  }

  .demo-stage,
  .demo-shell.is-loaded .demo-stage,
  .demo-shell iframe {
    aspect-ratio: 900 / 1344;
    max-height: none;
    min-height: 0;
  }

  .demo-poster img {
    object-fit: contain;
    object-position: center center;
  }

  .demo-stage::after {
    background: linear-gradient(180deg, rgba(7, 5, 15, 0.05), rgba(7, 5, 15, 0.48));
  }

  .demo-load {
    min-width: min(14rem, 84%);
  }
}

@media (max-width: 640px) {
  .container,
  .hero-overlay {
    width: min(100% - 1.5rem, var(--max));
  }

  .hero {
    padding-bottom: 1.75rem;
  }

  .hero h1 {
    font-size: clamp(2.2rem, 10vw, 2.9rem);
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .hero-overlay {
    margin-top: -5rem;
  }

  .hero-lead {
    font-size: 0.98rem;
    margin-bottom: 1.35rem;
  }

  .cta-row,
  .demo-cta {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .cta-row .btn,
  .demo-cta .btn {
    width: 100%;
  }

  .feature-grid,
  .geo-grid {
    grid-template-columns: 1fr;
  }

  .stats,
  .gallery-wide {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-wide {
    gap: 0.65rem;
  }

  .gallery-portrait {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-portrait .shot-scroll {
    grid-column: 1 / -1;
    max-height: min(62vh, 480px);
  }

  .stat {
    border-right: 0 !important;
    border-bottom: 1px solid var(--line);
  }

  .stat:last-child {
    border-bottom: 0;
  }

  .gallery-wide figure:first-child {
    grid-column: auto;
  }

  .media-frame {
    border-radius: calc(var(--radius-lg) * 0.85);
  }

  .phone-pair {
    gap: 0.45rem;
    padding: 0.5rem;
  }

  .phone-pair img {
    border-radius: 0.7rem;
  }

  .demo-chrome {
    padding: 0.7rem 0.85rem;
  }

  .demo-chrome small {
    font-size: 0.7rem;
  }

  .demo-load {
    min-width: min(14rem, 86%);
    min-height: 3rem;
  }

  .age-gate-actions {
    flex-direction: column;
  }

  .age-gate-actions .btn {
    width: 100%;
  }

  .faq summary {
    font-size: 0.98rem;
    padding-right: 2rem;
  }

  .lang-btn {
    width: 1.55rem;
    height: 1.55rem;
    flex-shrink: 0;
  }

  .lang-btn img {
    width: 0.9rem;
    height: 0.64rem;
  }

  .brand-logo {
    height: 2.25rem;
    max-width: min(9.5rem, 38vw);
  }

  .btn-primary,
  .btn-ghost {
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.28);
  }

  .sticky-cta-btn.btn-primary {
    box-shadow:
      0 1px 0 rgba(255, 255, 255, 0.2) inset,
      0 4px 10px rgba(0, 0, 0, 0.35);
  }

  section {
    padding: 3.5rem 0;
  }

  .site-footer {
    padding: 1.75rem 0 1.35rem;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 0.95rem;
  }

  .footer-brand {
    display: grid;
    gap: 0.4rem;
  }

  .footer-about {
    margin-top: 0;
    font-size: 0.84rem;
  }

  .footer-logo .brand-logo {
    height: 2.1rem;
  }

  .footer-links {
    width: 100%;
    gap: 0.65rem 1rem;
    padding-top: 0.15rem;
    border-top: 1px solid var(--line);
  }

  .footer-links h3 {
    margin-bottom: 0.4rem;
  }

  .footer-links li + li {
    margin-top: 0.28rem;
  }

  .footer-langs {
    padding-top: 0.15rem;
    border-top: 1px solid var(--line);
  }

  .lang-switch-footer {
    width: 100%;
    max-width: 100%;
    justify-content: space-between;
  }

  .disclaimer {
    margin-top: 0.85rem;
    padding-top: 0.85rem;
  }

  .site-header .container.nav {
    width: min(100% - 1rem, var(--max));
  }
}

@media (max-width: 380px) {
  .lang-switch {
    padding: 0.12rem;
    gap: 0.08rem;
  }

  .lang-btn {
    width: 1.4rem;
    height: 1.4rem;
  }

  .brand-logo {
    height: 2rem;
    max-width: 8.2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .hero-media img,
  .btn,
  .feature,
  .shot,
  .sticky-cta,
  .btn-primary::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
    will-change: auto;
  }

  .hero-media img {
    transform: scale(1.02);
    will-change: auto;
  }

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

@media (min-width: 1025px) {
  .hero-overlay .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (min-width: 1025px) and (max-width: 1100px) {
  .nav-links {
    gap: 0.9rem;
    font-size: 0.86rem;
  }
}
