:root {
  --bg: #07090c;
  --bg-elevated: #10141a;
  --bg-panel: rgba(16, 20, 26, 0.78);
  --gold: #f0b90b;
  --gold-soft: #ffe08a;
  --gold-deep: #c99200;
  --text: #f5f7fa;
  --text-muted: #a8b0bd;
  --line: rgba(255, 255, 255, 0.08);
  --blue-glow: rgba(58, 160, 255, 0.28);
  --gold-glow: rgba(240, 185, 11, 0.28);
  --radius: 10px;
  --container: 1180px;
  --font: "Outfit", "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.text-gold {
  color: var(--gold);
  background: linear-gradient(120deg, var(--gold-soft), var(--gold) 45%, var(--gold-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Background atmosphere */
.page-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 45% at 70% 35%, rgba(35, 90, 160, 0.18), transparent 70%),
    radial-gradient(ellipse 45% 40% at 15% 20%, rgba(240, 185, 11, 0.08), transparent 65%),
    linear-gradient(180deg, #05070a 0%, #0a0e14 55%, #07090c 100%);
}

.page-bg__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
}

.page-bg__glow--left {
  width: 420px;
  height: 420px;
  left: -120px;
  top: 180px;
  background: rgba(240, 185, 11, 0.08);
}

.page-bg__glow--right {
  width: 560px;
  height: 560px;
  right: -80px;
  top: 40px;
  background: rgba(40, 120, 220, 0.16);
}

.page-bg__grid {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: rgba(7, 9, 12, 0.72);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(7, 9, 12, 0.9);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo__mark {
  width: 60px;
  height: 60px;
  border-radius: 11px;
  object-fit: cover;
  flex-shrink: 0;
}

.logo__text {
  font-size: 1.28rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  background: linear-gradient(135deg, var(--gold-soft) 0%, var(--gold) 48%, var(--gold-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.logo--sm .logo__mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
}

.logo--sm .logo__text {
  font-size: 1.05rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav__link {
  position: relative;
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(245, 247, 250, 0.82);
  transition: color 0.2s ease;
}

.nav__link:hover,
.nav__link.is-active {
  color: #fff;
}

.nav__link.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--gold-soft), var(--gold));
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 4px;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.9rem;
}

.lang-switch {
  position: relative;
}

.lang-switch.is-open .lang {
  color: var(--gold);
}

.lang__menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 60;
  min-width: 150px;
  margin: 0;
  padding: 6px;
  list-style: none;
  border-radius: 10px;
  background: rgba(12, 16, 22, 0.96);
  border: 1px solid var(--line);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
}

.lang__menu[hidden] {
  display: none;
}

.lang__menu li {
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(245, 247, 250, 0.88);
  cursor: pointer;
  white-space: nowrap;
}

.lang__menu li:hover,
.lang__menu li[aria-selected='true'] {
  color: #0b0e11;
  background: linear-gradient(135deg, #ffe08a, #f0b90b);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  gap: 5px;
  flex-direction: column;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: #fff;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--sm {
  min-height: 38px;
  padding: 0 16px;
}

.btn--lg {
  min-height: 52px;
  padding: 0 24px;
  font-size: 1rem;
}

.btn--primary {
  color: #0b0e11;
  background: linear-gradient(135deg, #ffe08a 0%, #f0b90b 48%, #d4a008 100%);
  box-shadow: 0 8px 28px rgba(240, 185, 11, 0.28);
}

.btn--primary:hover {
  box-shadow: 0 10px 34px rgba(240, 185, 11, 0.4);
}

.btn--ghost {
  color: rgba(255, 255, 255, 0.9);
  background: transparent;
}

.btn--outline {
  color: #fff;
  border: 1px solid rgba(240, 185, 11, 0.55);
  background: rgba(255, 255, 255, 0.02);
}

.btn--outline:hover {
  border-color: var(--gold);
  background: rgba(240, 185, 11, 0.08);
}

/* Hero */
.hero {
  padding: 36px 0 28px;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 36px;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #0b0e11;
  background: linear-gradient(135deg, #ffe08a, #f0b90b);
  box-shadow: 0 0 24px rgba(240, 185, 11, 0.25);
}

.badge__star {
  font-size: 0.85rem;
}

.hero__title {
  margin: 18px 0 16px;
  font-size: clamp(2.4rem, 4.4vw, 3.85rem);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.hero__lead {
  margin: 0 0 28px;
  max-width: 34rem;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.feature-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 28px;
}

.feature-row__item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.feature-row__icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.feature-row__icon img {
  width: 40px;
  height: 40px;
  display: block;
  object-fit: contain;
}

.feature-row__item strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
}

.feature-row__item span {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.35;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.cta-row--center {
  justify-content: center;
  margin-bottom: 0;
}

.store-btns {
  gap: 12px;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}

.store-btn:hover {
  transform: translateY(-1px);
}

.store-btn__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.store-btn--apple {
  color: #0b0e11;
  background: linear-gradient(135deg, #ffe08a 0%, #f0b90b 48%, #d4a008 100%);
  box-shadow: 0 8px 28px rgba(240, 185, 11, 0.28);
}

.store-btn--apple:hover {
  box-shadow: 0 10px 34px rgba(240, 185, 11, 0.4);
}

.store-btn--google,
.store-btn--download {
  color: #fff;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(240, 185, 11, 0.55);
}

.store-btn--google:hover,
.store-btn--download:hover {
  border-color: var(--gold);
  background: rgba(240, 185, 11, 0.08);
}

.social-proof {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.avatars {
  display: flex;
  align-items: center;
}

.avatars__item,
.avatars__more {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid #0b0e11;
  margin-left: -10px;
}

.avatars__item:first-child {
  margin-left: 0;
}

.avatars__item {
  object-fit: cover;
  background: #2a3038;
}

.avatars__more {
  display: grid;
  place-items: center;
  font-size: 0.68rem;
  font-weight: 800;
  color: #0b0e11;
  background: linear-gradient(135deg, #ffe08a, #f0b90b);
}

.social-proof__label {
  margin: 0 0 2px;
  font-size: 0.88rem;
  font-weight: 600;
}

.social-proof__rating {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-size: 0.84rem;
  color: var(--text-muted);
}

.stars {
  color: var(--gold);
  letter-spacing: 1px;
}

/* Visual stage */
.hero__visual {
  position: relative;
  min-height: 700px;
}

.visual-stage {
  position: relative;
  height: 100%;
  min-height: 700px;
  display: grid;
  place-items: center;
}

.globe {
  position: absolute;
  width: min(100%, 460px);
  aspect-ratio: 1;
  top: 50%;
  left: 46%;
  transform: translate(-50%, -54%);
  filter: drop-shadow(0 0 40px rgba(58, 160, 255, 0.35));
  animation: globePulse 6s ease-in-out infinite;
}

.globe__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0.95;
}

.phone {
  position: relative;
  z-index: 3;
  width: min(100%, 600px);
  animation: phoneFloat 5.5s ease-in-out infinite;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.45));
}

.phone__img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.phone__bezel {
  position: relative;
  border-radius: 36px;
  padding: 10px;
  background: linear-gradient(160deg, #2a3038, #12161c 40%, #0a0d11);
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 0 50px rgba(58, 160, 255, 0.18);
}

.phone__notch {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 88px;
  height: 18px;
  border-radius: 999px;
  background: #05070a;
  z-index: 2;
}

.phone__screen {
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(180deg, #121820 0%, #0c1016 100%);
  min-height: 540px;
  padding: 34px 14px 16px;
}

.app-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.app-top__brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
}

.app-top__logo {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  object-fit: cover;
  box-shadow: 0 0 8px rgba(58, 160, 255, 0.35);
}

.app-top__bell {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
}

.app-balance {
  padding: 16px;
  border-radius: 16px;
  margin-bottom: 14px;
  background:
    radial-gradient(circle at 85% 20%, rgba(240, 185, 11, 0.22), transparent 45%),
    linear-gradient(145deg, #1a2230, #121820);
  border: 1px solid rgba(240, 185, 11, 0.18);
}

.app-balance span {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
}

.app-balance strong {
  display: block;
  margin-top: 4px;
  font-size: 1.35rem;
  font-weight: 800;
}

.app-balance em {
  display: block;
  margin-top: 2px;
  font-style: normal;
  font-size: 0.72rem;
  color: var(--gold);
}

.app-actions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-bottom: 16px;
}

.app-actions button {
  min-height: 34px;
  border-radius: 8px;
  font-size: 0.62rem;
  font-weight: 700;
  color: #0b0e11;
  background: linear-gradient(135deg, #ffe08a, #f0b90b);
}

.app-section + .app-section {
  margin-top: 12px;
}

.app-section__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-size: 0.75rem;
}

.app-section__head span {
  color: var(--gold);
  font-size: 0.68rem;
}

.app-cards,
.app-coins {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.app-card,
.app-coin {
  border-radius: 10px;
  padding: 10px 6px;
  text-align: center;
  font-size: 0.68rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.app-card--amazon {
  background: linear-gradient(160deg, #2b2114, #1a140e);
  color: #ff9900;
}

.app-card--itunes {
  background: linear-gradient(160deg, #2a1630, #17101c);
  color: #fc3c44;
}

.app-card--steam {
  background: linear-gradient(160deg, #152433, #101820);
  color: #66c0f4;
}

.app-coin {
  display: grid;
  gap: 2px;
}

.app-coin em {
  font-style: normal;
  font-size: 0.6rem;
  color: #3dd68c;
}

.pedestal {
  position: absolute;
  z-index: 1;
  bottom: 28px;
  left: 50%;
  transform: translateX(-54%);
  width: 260px;
  height: 90px;
  display: grid;
  place-items: center;
}

.pedestal span {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(90, 180, 255, 0.35);
  background: radial-gradient(circle, rgba(58, 160, 255, 0.18), transparent 70%);
  box-shadow:
    0 0 30px rgba(58, 160, 255, 0.4),
    inset 0 0 25px rgba(58, 160, 255, 0.18);
}

.pedestal span:nth-child(1) {
  width: 220px;
  height: 54px;
  bottom: 20px;
}

.pedestal span:nth-child(2) {
  width: 170px;
  height: 40px;
  bottom: 10px;
  opacity: 0.8;
}

.pedestal span:nth-child(3) {
  width: 120px;
  height: 28px;
  bottom: 2px;
  opacity: 0.65;
}

.shield-badge {
  position: absolute;
  z-index: 4;
  right: 75px;
  top: 20%;
  width: 64px;
  filter: drop-shadow(0 0 28px rgba(240, 185, 11, 0.5));
  animation: shieldFloat 4.8s ease-in-out infinite;
}

.shield-badge img {
  width: 100%;
  height: auto;
  display: block;
}

.float-features {
  position: absolute;
  z-index: 5;
  right: -8px;
  top: 38%;
  display: grid;
  gap: 12px;
  width: min(230px, 42%);
}

.float-card {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px 12px;
  border-radius: 14px;
  background: rgba(12, 16, 22, 0.78);
  border: 1px solid rgba(240, 185, 11, 0.18);
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
}

.float-card__icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: transparent;
  border-radius: 0;
}

.float-card__icon img {
  width: 22px;
  height: 22px;
  display: block;
  object-fit: contain;
}

.float-card strong {
  display: block;
  font-size: 0.72rem;
  line-height: 1.25;
}

.float-card span {
  display: block;
  margin-top: 2px;
  font-size: 0.65rem;
  color: var(--text-muted);
}

/* Stats bar */
.stats {
  position: relative;
  z-index: 2;
  margin-top: 12px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(12, 16, 22, 0.72);
  backdrop-filter: blur(12px);
  overflow: visible;
}

.stats__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  overflow: visible;
}

.stats__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  flex: 1;
}

.stats__list li {
  display: flex;
  align-items: center;
  gap: 12px;
}

.stats__icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.stats__icon img {
  width: 40px;
  height: 40px;
  display: block;
  object-fit: contain;
}

.stats__list strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 800;
}

.stats__list span {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.laurel {
  position: relative;
  z-index: 5;
  width: 118px;
  height: 118px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  margin-top: -42px;
  margin-bottom: -8px;
  transform: translateY(-18px);
  animation: laurelFloat 4.5s ease-in-out infinite;
}

.laurel__img {
  width: 118px;
  height: 118px;
  object-fit: contain;
  filter:
    drop-shadow(0 12px 18px rgba(0, 0, 0, 0.55))
    drop-shadow(0 0 22px rgba(240, 185, 11, 0.55));
}

@keyframes laurelFloat {
  0%, 100% { transform: translateY(-18px); }
  50% { transform: translateY(-26px); }
}

/* Lower sections */
.section {
  padding: 88px 0;
}

.section--alt {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.015), transparent);
  border-block: 1px solid var(--line);
}

.section--cta {
  padding-bottom: 110px;
}

/* Product demo */
.demo {
  position: relative;
  padding: 96px 0 110px;
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: linear-gradient(180deg, #070b12 0%, #0a1018 50%, #07090c 100%);
}

.demo__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.18;
  background-image:
    radial-gradient(circle at 12% 30%, rgba(240, 185, 11, 0.18), transparent 28%),
    radial-gradient(circle at 88% 70%, rgba(74, 163, 255, 0.14), transparent 30%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 40px),
    linear-gradient(45deg, rgba(255, 255, 255, 0.02) 0 1px, transparent 1px 48px);
  background-size: auto, auto, 80px 80px, 96px 96px;
}

.demo__inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.demo__badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #9fd0ff;
  background: rgba(74, 140, 220, 0.16);
  border: 1px solid rgba(120, 180, 255, 0.28);
}

.demo__title {
  margin: 18px 0 12px;
  font-size: clamp(1.9rem, 3.4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.demo__lead {
  margin: 0 auto 36px;
  max-width: 520px;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.demo__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  width: min(100%, 1200px);
  margin: 0 auto;
  text-align: left;
  align-items: start;
}

.demo__item {
  display: flex;
  flex-direction: column;
}

.demo__item-title {
  margin: 0 0 14px;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  color: #fff;
  text-align: center;
}

.demo__player {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: #000;
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(240, 185, 11, 0.08);
}

.demo__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
  background: #000;
}

.demo__player.is-playing .demo__play {
  opacity: 0;
  pointer-events: none;
}

.demo__player.is-playing:hover .demo__play {
  opacity: 1;
  pointer-events: auto;
}

.demo__play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(5, 8, 14, 0.18);
  transition: opacity 0.25s ease, transform 0.2s ease;
}

.demo__play svg {
  width: 64px;
  height: 64px;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.45));
  transition: transform 0.2s ease;
}

.demo__play:hover svg {
  transform: scale(1.06);
}

.demo__expand {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: #fff;
  background: rgba(8, 12, 18, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
}

.demo__expand:hover {
  background: rgba(240, 185, 11, 0.18);
  border-color: rgba(240, 185, 11, 0.5);
}

.demo__expand svg {
  width: 18px;
  height: 18px;
}

@media (max-width: 960px) {
  .demo__grid {
    grid-template-columns: 1fr;
    max-width: min(100%, 420px);
    gap: 32px;
  }
}

@media (max-width: 720px) {
  .demo {
    padding: 72px 0 84px;
  }

  .demo__player {
    border-radius: 18px;
  }

  .demo__play svg {
    width: 56px;
    height: 56px;
  }
}

/* Start CTA under demo */
.start-cta {
  padding: 72px 0 96px;
  text-align: center;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(240, 185, 11, 0.04), transparent 60%);
}

.start-cta__inner {
  max-width: 720px;
  margin-inline: auto;
}

.start-cta__title {
  margin: 0 0 14px;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.start-cta__lead {
  margin: 0 auto 28px;
  max-width: 420px;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.55;
  white-space: pre-line;
}

.start-cta__btns {
  justify-content: center;
  margin-bottom: 0;
}

/* Invite / referral — layout aligned with apexrate.co invite section */
.invite {
  position: relative;
  padding: 72px 0 96px;
  border-bottom: 1px solid var(--line);
  background: transparent;
  overflow: hidden;
}

.invite__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: center;
}

.invite__visual {
  display: flex;
  justify-content: center;
  width: 100%;
  min-height: 0;
  padding: 0;
  background: transparent;
}

.invite-phone {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 335px;
  margin: 0 auto;
  aspect-ratio: 9 / 19;
  padding: 8px;
  border-radius: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: #0d1118;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.38);
  overflow: hidden;
}

.invite-phone__notch {
  display: block;
  width: 80px;
  height: 14px;
  margin: 0 auto 8px;
  border-radius: 0 0 16px 16px;
  background: #000;
}

.invite-phone__screen {
  position: relative;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  border-radius: 1.45rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #111722;
}

.invite-phone__screen img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.invite__badge {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #0b0e11;
  background: linear-gradient(135deg, #ffe08a, #f0b90b);
  border: 1px solid rgba(240, 185, 11, 0.35);
}

.invite__title {
  margin: 16px 0 12px;
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  text-wrap: balance;
}

.invite__lead {
  margin: 0 0 24px;
  max-width: 36rem;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.invite__cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 16px;
}

.invite-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-align: left;
}

.invite-card__label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.invite-card__value {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.invite-card__code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
}

.invite-card__code-wrap {
  width: 100%;
}

.invite-card__code-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 4px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.16);
}

.invite-card__icon,
.invite-card__copy {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border-radius: 12px;
  color: var(--gold);
  background: rgba(240, 185, 11, 0.14);
}

.invite-card__copy {
  width: 36px;
  height: 36px;
  border: 0;
  cursor: pointer;
  color: var(--text-muted);
  background: transparent;
}

.invite-card__copy:hover {
  color: var(--gold);
}

.invite-card__icon svg,
.invite-card__copy svg {
  width: 20px;
  height: 20px;
}

.invite__steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  padding: 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.invite-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 8px 12px;
  border-radius: 12px;
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  background: rgba(0, 0, 0, 0.16);
}

.invite-step__icon {
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border-radius: 0;
  color: var(--gold);
  background: transparent;
}

.invite-step__icon svg {
  width: 18px;
  height: 18px;
}

.invite__arrow {
  color: var(--text-muted);
  font-weight: 700;
}

.invite__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 28px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1rem;
  color: #0b0e11;
  background: linear-gradient(135deg, #ffe08a 0%, #f0b90b 48%, #d4a008 100%);
  box-shadow: 0 10px 32px rgba(240, 185, 11, 0.32);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.invite__cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 36px rgba(240, 185, 11, 0.42);
}

.section__inner {
  text-align: center;
}

.section__inner--narrow {
  max-width: 720px;
}

.section__eyebrow {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section__title {
  margin: 0 0 14px;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.section__lead {
  margin: 0 auto 28px;
  max-width: 560px;
  color: var(--text-muted);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  text-align: left;
}

.feature-tile {
  padding: 24px;
  border-radius: 16px;
  background: rgba(16, 20, 26, 0.8);
  border: 1px solid rgba(240, 185, 11, 0.14);
}

.feature-tile h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
  color: var(--gold-soft);
}

.feature-tile p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.gift-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.gift-pill {
  min-width: 120px;
  padding: 14px 18px;
  border-radius: 999px;
  font-weight: 700;
  color: #0b0e11;
  background: linear-gradient(135deg, #ffe08a, #f0b90b);
}

.footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 40px;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px 24px;
  flex-wrap: wrap;
}

.footer-social {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px 22px;
  margin: 0;
  padding: 0;
}

.footer-social__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  color: rgba(255, 255, 255, 0.72);
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-social__link svg {
  width: 22px;
  height: 22px;
  display: block;
}

.footer-social__link:hover,
.footer-social__link:focus-visible {
  color: #f0b90b;
  transform: translateY(-1px);
  outline: none;
}

.footer p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Motion */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: riseIn 0.8s ease forwards;
}

.reveal-delay-1 { animation-delay: 0.08s; }
.reveal-delay-2 { animation-delay: 0.16s; }
.reveal-delay-3 { animation-delay: 0.24s; }
.reveal-delay-4 { animation-delay: 0.32s; }
.reveal-delay-5 { animation-delay: 0.4s; }

@keyframes riseIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes phoneFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes shieldFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes globePulse {
  0%, 100% { opacity: 0.75; }
  50% { opacity: 1; }
}

/* Responsive */
@media (max-width: 1100px) {
  .nav {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .header.is-open .nav {
    display: flex;
    position: absolute;
    top: 76px;
    left: 20px;
    right: 20px;
    flex-direction: column;
    gap: 0;
    padding: 12px;
    border-radius: 14px;
    background: rgba(12, 16, 22, 0.96);
    border: 1px solid var(--line);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
  }

  .header.is-open .nav__link {
    padding: 12px 10px;
  }

  .header.is-open .nav__link.is-active::after {
    display: none;
  }

  .hero__grid {
    grid-template-columns: 1fr;
  }

  .invite__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .invite__visual {
    order: 2;
  }

  .invite__content {
    order: 1;
    text-align: center;
  }

  .invite-phone {
    max-width: 260px;
  }

  .invite__lead {
    margin-inline: auto;
  }

  .invite__steps {
    justify-content: center;
  }

  .invite__lead {
    margin-inline: auto;
  }

  .invite__steps {
    justify-content: center;
  }

  .hero__visual,
  .visual-stage {
    min-height: 560px;
  }

  .float-features {
    right: 0;
    width: min(210px, 48%);
  }

  .stats__inner {
    flex-direction: column;
  }

  .stats__list {
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .header__actions .btn--ghost {
    display: none;
  }

  .feature-row {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 24px;
  }

  .hero__visual,
  .visual-stage {
    min-height: 520px;
  }

  .float-features {
    display: none;
  }

  .shield-badge {
    width: 84px;
    right: 4%;
    top: 12%;
  }

  .phone {
    width: min(100%, 250px);
  }

  .stats__list {
    grid-template-columns: 1fr;
  }

  .cta-row .btn,
  .cta-row .store-btn,
  .start-cta__btns .store-btn {
    width: 100%;
  }

  .invite__cards {
    grid-template-columns: 1fr;
  }

  .invite-phone {
    max-width: 220px;
  }

  .invite__steps {
    display: flex;
    flex-direction: column;
    border-radius: 16px;
    align-items: stretch;
  }

  .invite__arrow {
    display: none;
  }

  .invite__cta {
    width: 100%;
  }

  .footer__inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .phone,
  .shield-badge,
  .laurel,
  .globe {
    animation: none !important;
    opacity: 1;
    transform: none;
  }

  .laurel {
    transform: translateY(-18px);
  }
}

/* Intro video modal */
.intro-modal {
  position: fixed;
  inset: 0;
  z-index: 2100;
  display: grid;
  place-items: center;
  padding: 16px;
}

.intro-modal[hidden] {
  display: none;
}

.intro-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 7, 12, 0.86);
  backdrop-filter: blur(6px);
}

.intro-modal__dialog {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: min(calc(100vw - 32px), 390px);
  max-height: calc(100vh - 32px);
}

.intro-modal__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding: 0 4px;
}

.intro-modal__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}

.intro-modal__close {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.intro-modal__close svg {
  width: 16px;
  height: 16px;
}

.intro-modal__close:hover {
  background: rgba(240, 185, 11, 0.12);
  border-color: rgba(240, 185, 11, 0.45);
}

.intro-modal__phone {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-height: min(calc(100vh - 120px), 780px);
  aspect-ratio: 9 / 19;
  padding: 10px;
  border-radius: 34px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.16);
  background: #0d1118;
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.5),
    inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.intro-modal__notch {
  display: block;
  width: 88px;
  height: 16px;
  margin: 0 auto 8px;
  border-radius: 0 0 16px 16px;
  background: #000;
}

.intro-modal__screen {
  position: relative;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #000;
}

.intro-modal__video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000;
}

.intro-modal__play {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  border: 0;
  background: rgba(0, 0, 0, 0.35);
  cursor: pointer;
}

.intro-modal__play[hidden] {
  display: none;
}

.intro-modal__play svg {
  width: 56px;
  height: 56px;
  color: #fff;
  filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.35));
}

@media (max-width: 720px) {
  .intro-modal {
    padding: 12px;
  }

  .intro-modal__dialog {
    width: min(calc(100vw - 24px), 360px);
  }

  .intro-modal__phone {
    max-height: min(calc(100vh - 112px), 720px);
    border-radius: 30px;
  }

  .intro-modal__screen {
    border-radius: 22px;
  }

  .intro-modal__play svg {
    width: 48px;
    height: 48px;
  }
}

/* Sign up modal */
.signup-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: 16px;
}

.signup-modal[hidden] {
  display: none;
}

.signup-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 7, 12, 0.78);
  backdrop-filter: blur(6px);
}

.signup-modal__dialog {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: min(calc(100vw - 32px), 390px);
  max-height: calc(100vh - 32px);
}

.signup-modal__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding: 0 4px;
}

.signup-modal__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
}

.signup-modal__close {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.signup-modal__close svg {
  width: 16px;
  height: 16px;
}

.signup-modal__close:hover {
  background: rgba(240, 185, 11, 0.12);
  border-color: rgba(240, 185, 11, 0.45);
}

.signup-modal__phone {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-height: min(calc(100vh - 140px), 780px);
  aspect-ratio: 9 / 19;
  padding: 10px;
  border-radius: 34px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.16);
  background: #0d1118;
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.5),
    inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.signup-modal__notch {
  display: block;
  width: 88px;
  height: 16px;
  margin: 0 auto 8px;
  border-radius: 0 0 16px 16px;
  background: #000;
}

.signup-modal__screen {
  position: relative;
  flex: 1;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #f5f5f5;
  -webkit-overflow-scrolling: touch;
}

.signup-modal__screen::-webkit-scrollbar {
  width: 4px;
}

.signup-modal__screen::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.15);
  border-radius: 4px;
}

.signup-modal__footer {
  display: flex;
  justify-content: center;
  padding: 12px 4px 0;
}

.signup-modal__external {
  font-size: 0.88rem;
  font-weight: 600;
  color: #9fd0ff;
}

.signup-modal__external:hover {
  color: var(--gold);
}

@media (max-width: 720px) {
  .signup-modal {
    padding: 12px;
  }

  .signup-modal__dialog {
    width: min(calc(100vw - 24px), 360px);
  }

  .signup-modal__phone {
    max-height: min(calc(100vh - 132px), 720px);
    border-radius: 30px;
  }

  .signup-modal__screen {
    border-radius: 22px;
  }
}
