/* ============================================
   EarnBee — theme tokens
   Change these variables to restyle the site.
   ============================================ */
:root {
  --purple-950: #190052;
  --purple-900: #2a0868;
  --purple-800: #36007a;
  --purple-700: #4c1d95;
  --purple-600: #6d28d9;
  --purple-500: #8519eb;
  --purple-100: #f3ebff;
  --purple-50: #f8f4ff;

  --gold-500: #ffba00;
  --gold-400: #ffd10f;
  --gold-100: #fff4cc;
  --gold-text: #8a5e00;

  --ink: #1c1430;
  --ink-soft: #3c3454;
  --muted: #534b66;
  --line: rgba(54, 0, 122, 0.1);

  --cream: #fbf7f2;
  --cream-deep: #f3ece4;
  --white: #ffffff;

  --shadow-sm: 0 8px 22px rgba(44, 20, 84, 0.06);
  --shadow-md: 0 16px 40px rgba(44, 20, 84, 0.1);
  --shadow-lg: 0 28px 70px rgba(25, 0, 82, 0.16);

  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 28px;

  --header-h: 96px;
  --font-display: "Segoe UI Variable Display", "Segoe UI", system-ui, sans-serif;
  --font-body: "Segoe UI Variable Text", "Segoe UI", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 112px;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  text-rendering: optimizeLegibility;
}

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

button,
input,
textarea {
  font: inherit;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  line-height: 1.15;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.05rem, 4.6vw, 4.05rem);
  font-weight: 700;
  color: var(--purple-950);
  margin-bottom: 18px;
}

h2 {
  font-size: clamp(1.75rem, 3vw, 2.55rem);
  font-weight: 700;
  color: var(--purple-950);
  margin-bottom: 12px;
}

h3 {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 8px;
}

p {
  margin-bottom: 1rem;
  text-wrap: pretty;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--purple-700);
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--gold-500);
  outline-offset: 3px;
}

::selection {
  background: #ffe08a;
  color: var(--purple-950);
}

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

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

.container {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}

.container-narrow {
  width: min(780px, calc(100% - 32px));
}

.section {
  padding: 88px 0;
  position: relative;
}

.section-white {
  background: var(--white);
}

.section-head {
  max-width: 680px;
  margin-bottom: 48px;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.lede {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 0;
}

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

.section-head.center .eyebrow {
  justify-content: center;
}

.eyebrow span {
  width: 22px;
  height: 2px;
  border-radius: 99px;
  background: var(--gold-500);
  flex: none;
}

.eyebrow-light {
  color: #ffe7a3;
}

.eyebrow-light span {
  background: var(--gold-400);
}

.text-mark {
  background-image: linear-gradient(#ffe08a, #ffe08a);
  background-repeat: no-repeat;
  background-size: 100% 0.28em;
  background-position: 0 88%;
}

.fine-print {
  color: var(--muted);
  font-size: 0.92rem;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(180deg, #6a22c5 0%, #45148a 100%);
  box-shadow: 0 10px 24px rgba(54, 0, 122, 0.28);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(54, 0, 122, 0.34);
  color: #fff;
}

.btn-secondary {
  color: var(--purple-800);
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(54, 0, 122, 0.18);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  background: #fff;
  border-color: rgba(54, 0, 122, 0.32);
  color: var(--purple-800);
}

.btn-gold {
  color: var(--purple-900);
  background: linear-gradient(180deg, #ffd24a 0%, #ffba00 100%);
  box-shadow: 0 10px 24px rgba(255, 186, 0, 0.32);
}

.btn-gold:hover {
  transform: translateY(-2px);
  color: var(--purple-950);
  box-shadow: 0 16px 30px rgba(255, 186, 0, 0.4);
}

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

/* Google Play badge */
.play-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 54px;
  padding: 8px 18px 8px 12px;
  border-radius: 12px;
  background: #141414;
  color: #fff;
  text-decoration: none;
  border: 1px solid #141414;
  box-shadow: 0 10px 24px rgba(20, 20, 20, 0.18);
  transition: transform 0.2s var(--ease), box-shadow 0.2s ease;
}

.play-btn:hover {
  transform: translateY(-2px);
  color: #fff;
  box-shadow: 0 16px 28px rgba(20, 20, 20, 0.24);
}

.play-btn svg {
  width: 26px;
  height: 26px;
  flex: none;
}

.play-btn span {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.05;
}

.play-btn small {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.82;
}

.play-btn strong {
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.play-btn-light {
  background: #fff;
  color: #161616;
  border-color: transparent;
}

.play-btn-light:hover {
  color: #161616;
}

.nav-cta.play-btn {
  min-height: 46px;
  padding: 6px 12px 6px 8px;
  border-radius: 10px;
  box-shadow: none;
}

.nav-cta.play-btn svg {
  width: 22px;
  height: 22px;
}

.nav-cta.play-btn strong {
  font-size: 0.95rem;
}

/* ============================================
   Header and navigation
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(251, 247, 242, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

body.nav-open {
  overflow: hidden;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.94);
  border-bottom-color: rgba(54, 0, 122, 0.06);
  box-shadow: 0 10px 30px rgba(25, 0, 82, 0.08);
}

.nav-bar {
  display: flex;
  align-items: center;
  height: var(--header-h);
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--purple-950);
  min-width: 0;
}

.brand-mark {
  width: 78px;
  height: 78px;
  flex: none;
  background: transparent;
}

.brand-mark img {
  width: 78px;
  height: 78px;
  max-width: none;
  object-fit: contain;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.04em;
  line-height: 1;
}

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

.nav-panel {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
}

.nav-links a {
  position: relative;
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.94rem;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  border-radius: 99px;
  background: var(--gold-500);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.25s var(--ease);
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--purple-800);
}

.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after,
.nav-links a[aria-current="true"]::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border: 0;
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
  color: var(--purple-900);
}

.nav-toggle-box {
  display: block;
  width: 22px;
  height: 16px;
  margin: 0 auto;
  position: relative;
}

.nav-toggle-box span {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.25s var(--ease), opacity 0.2s ease, top 0.25s var(--ease);
}

.nav-toggle-box span:nth-child(1) { top: 0; }
.nav-toggle-box span:nth-child(2) { top: 7px; }
.nav-toggle-box span:nth-child(3) { top: 14px; }

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

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

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

/* ============================================
   Hero
   ============================================ */
.hero {
  position: relative;
  overflow: hidden;
  margin-top: calc(var(--header-h) * -1);
  padding: calc(var(--header-h) + 36px) 0 72px;
  background:
    radial-gradient(circle at 8% 20%, rgba(133, 25, 235, 0.08), transparent 32%),
    radial-gradient(circle at 92% 10%, rgba(255, 186, 0, 0.16), transparent 28%),
    var(--cream);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(54, 0, 122, 0.055) 0.7px, transparent 0.7px);
  background-size: 18px 18px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 78%);
  pointer-events: none;
}

.blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.blob-violet {
  width: 460px;
  height: 460px;
  right: -120px;
  top: 40px;
  background: radial-gradient(circle, rgba(133, 25, 235, 0.16), transparent 68%);
}

.blob-gold {
  width: 340px;
  height: 340px;
  left: -100px;
  bottom: 20px;
  background: radial-gradient(circle, rgba(255, 186, 0, 0.2), transparent 70%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 40px;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(54, 0, 122, 0.1);
  color: var(--purple-800);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.hero-lead {
  max-width: 38rem;
  color: var(--muted);
  font-size: 1.08rem;
  margin-bottom: 26px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-weight: 600;
}

.hero-trust svg {
  color: var(--purple-700);
  flex: none;
}

.hero-stage {
  position: relative;
  isolation: isolate;
  width: min(520px, 100%);
  margin-inline: auto;
  padding: 12px 0 8px;
}

.hero-copy > * {
  animation: rise 0.7s var(--ease) both;
}

.hero-copy > *:nth-child(1) { animation-delay: 0.04s; }
.hero-copy > *:nth-child(2) { animation-delay: 0.12s; }
.hero-copy > *:nth-child(3) { animation-delay: 0.2s; }
.hero-copy > *:nth-child(4) { animation-delay: 0.28s; }
.hero-copy > *:nth-child(5) { animation-delay: 0.36s; }

/* ============================================
   Phone mockup
   ============================================ */
.phone {
  position: relative;
  width: min(270px, 100%);
  margin-inline: auto;
  padding: 16px 11px 14px;
  border-radius: 36px;
  background: linear-gradient(165deg, #4a2d72 0%, #1a0d30 55%, #12091f 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.16),
    0 24px 50px rgba(25, 0, 82, 0.24);
}

.phone-speaker {
  position: absolute;
  top: 6px;
  left: 50%;
  width: 68px;
  height: 5px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.28);
  transform: translateX(-50%);
}

.phone-screen {
  overflow: hidden;
  border-radius: 26px;
  background: #fff6ea;
  aspect-ratio: 768 / 1376;
}

.phone-screen img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.phone-float::after {
  content: "";
  position: absolute;
  inset: 8% -8%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 186, 0, 0.22), rgba(133, 25, 235, 0.08) 46%, transparent 70%);
  pointer-events: none;
}

.shot .phone,
.split-media .phone {
  width: min(250px, 100%);
}

.float-cards {
  list-style: none;
  margin: 0;
  padding: 0;
}

.float-card {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow-md);
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.mini-ico {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: var(--purple-100);
  color: var(--purple-700);
  flex: none;
}

.mini-ico--gold {
  background: var(--gold-100);
  color: var(--gold-text);
}

/* ============================================
   Features
   ============================================ */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.feature-card {
  position: relative;
  overflow: hidden;
  padding: 26px 24px 24px;
  border-radius: var(--radius-md);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform 0.28s var(--ease), box-shadow 0.28s ease;
}

.section-white .feature-card {
  background: linear-gradient(180deg, #ffffff 0%, #fcfaff 100%);
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--purple-600), var(--gold-500));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.35s var(--ease);
}

.feature-card:hover,
.js .feature-card.reveal.is-in:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 16px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #f7f1ff, #efe4ff);
  color: var(--purple-700);
}

.feature-card:nth-child(even) .feature-icon,
.stat-card:nth-child(even) .feature-icon {
  background: linear-gradient(180deg, #fff8e6, #fff1c7);
  color: var(--gold-text);
}

.feature-card p,
.stat-card p {
  color: var(--muted);
  margin: 0;
  font-size: 0.98rem;
}

/* ============================================
   How it works
   ============================================ */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  list-style: none;
  position: relative;
}

.steps::before {
  content: "";
  position: absolute;
  top: 46px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: linear-gradient(90deg, rgba(109, 40, 217, 0.35), rgba(255, 186, 0, 0.7));
}

.step {
  position: relative;
  padding: 22px 20px 20px;
  border-radius: var(--radius-md);
  background: #fff;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-sm);
}

.step-num {
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(145deg, #7a2ad4, #3a0d86);
  box-shadow: 0 8px 16px rgba(54, 0, 122, 0.25);
}

.step:nth-child(even) .step-num {
  color: var(--purple-900);
  background: linear-gradient(145deg, #ffe07a, #f0b000);
}

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

/* ============================================
   Screenshots
   ============================================ */
.shots {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 42px 28px;
}

.shot {
  text-align: center;
}

.shot h3 {
  margin: 18px 0 8px;
}

.shot p {
  max-width: 32ch;
  margin: 0 auto;
  color: var(--muted);
  font-size: 0.96rem;
}

.phone-zoom {
  transition: transform 0.35s var(--ease), box-shadow 0.35s ease;
}

.phone-zoom .phone-screen img {
  transition: transform 0.55s var(--ease);
}

.phone-zoom:hover {
  transform: translateY(-8px);
}

.phone-zoom:hover .phone-screen img {
  transform: scale(1.045);
}

/* ============================================
   Feature banner
   ============================================ */
.banner-section {
  padding-top: 20px;
}

.banner-card {
  position: relative;
  overflow: hidden;
  min-height: 440px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  background: #2a0868;
}

.banner-card > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center right;
}

.banner-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  min-height: 440px;
  max-width: 560px;
  padding: 52px;
  color: #fff;
  background: linear-gradient(90deg, rgba(25, 0, 82, 0.9) 0%, rgba(25, 0, 82, 0.72) 58%, rgba(25, 0, 82, 0) 100%);
}

.banner-copy h2,
.banner-copy p {
  color: #fff;
}

.banner-copy .lede,
.banner-copy p {
  color: rgba(255, 255, 255, 0.88);
  max-width: 34rem;
}

.banner-copy .btn {
  margin-top: 8px;
}

/* ============================================
   Rewards experience
   ============================================ */
.experience-grid,
.split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 56px;
  align-items: center;
}

.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.stat-card {
  padding: 18px 16px 16px;
  border-radius: var(--radius-md);
  background: var(--purple-50);
  border: 1px solid rgba(54, 0, 122, 0.08);
}

.stat-card .feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  margin-bottom: 12px;
}

.points {
  list-style: none;
  margin: 8px 0 16px;
  padding: 0;
}

.points li {
  position: relative;
  margin: 10px 0;
  padding-left: 32px;
  color: var(--ink-soft);
}

.points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--gold-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2336007A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.section-withdraw .split-copy .btn {
  margin-top: 8px;
}

/* ============================================
   Leaderboard
   ============================================ */
.section-leaderboard {
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 18%, rgba(133, 25, 235, 0.09), transparent 28%),
    radial-gradient(circle at 92% 84%, rgba(255, 186, 0, 0.18), transparent 26%),
    #f7f2ea;
}

.orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.orb-a {
  width: 280px;
  height: 280px;
  left: -90px;
  bottom: -80px;
  border: 1px solid rgba(74, 22, 143, 0.12);
}

.orb-b {
  width: 180px;
  height: 180px;
  right: 8%;
  top: 36px;
  background: rgba(255, 186, 0, 0.12);
}

.section-withdraw .split-media {
  order: -1;
}

/* ============================================
   FAQ
   ============================================ */
.faq-list {
  max-width: 820px;
  margin-inline: auto;
  display: grid;
  gap: 12px;
}

.faq-item {
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  interpolate-size: allow-keywords;
}

.faq-item[open] {
  border-color: rgba(74, 22, 143, 0.18);
  box-shadow: var(--shadow-md);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  cursor: pointer;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  list-style: none;
}

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

.faq-question:hover {
  color: var(--purple-800);
}

.faq-icon {
  position: relative;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--purple-100);
  flex: none;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  background: var(--purple-800);
  border-radius: 1px;
  transition: transform 0.25s var(--ease);
}

.faq-icon::before {
  width: 12px;
  height: 2px;
  top: 12px;
  left: 7px;
}

.faq-icon::after {
  width: 2px;
  height: 12px;
  top: 7px;
  left: 12px;
}

.faq-item[open] .faq-icon::after {
  transform: scaleY(0);
}

.faq-body {
  padding: 0 20px 18px;
  color: var(--muted);
}

.faq-item::details-content {
  height: 0;
  opacity: 0;
  overflow: clip;
  transition: height 0.35s var(--ease), opacity 0.35s ease, content-visibility 0.35s ease allow-discrete;
}

.faq-item[open]::details-content {
  height: auto;
  opacity: 1;
}

/* ============================================
   Final call to action
   ============================================ */
.cta-section {
  padding-top: 20px;
}

.cta-panel {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 64px 28px;
  border-radius: 32px;
  color: #fff;
  background:
    radial-gradient(circle at 15% 20%, rgba(133, 25, 235, 0.45), transparent 36%),
    radial-gradient(circle at 90% 80%, rgba(255, 186, 0, 0.22), transparent 32%),
    linear-gradient(160deg, #4a1788 0%, #241046 70%);
  box-shadow: var(--shadow-lg);
}

.cta-panel h2,
.cta-panel p {
  color: #fff;
}

.cta-panel p {
  max-width: 38rem;
  margin-inline: auto;
  color: rgba(255, 255, 255, 0.86);
}

.cta-logo {
  width: 156px;
  height: 156px;
  margin: 0 auto 18px;
  object-fit: contain;
  filter: drop-shadow(0 16px 28px rgba(0, 0, 0, 0.28));
}

.cta-note {
  margin-top: 16px;
  font-size: 0.95rem;
}

.cta-note a {
  color: var(--gold-400);
  font-weight: 700;
}

.cta-glow {
  position: absolute;
  width: 280px;
  height: 280px;
  right: -80px;
  top: -90px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 209, 15, 0.2), transparent 68%);
  pointer-events: none;
}

/* ============================================
   Footer
   ============================================ */
.site-footer {
  background: var(--purple-950);
  color: rgba(255, 255, 255, 0.78);
  padding-top: 56px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 36px;
}

.site-footer .brand-name {
  color: #fff;
}

.site-footer .brand-name span {
  color: var(--gold-500);
}

.footer-tag {
  margin: 14px 0 6px;
  color: #fff;
  font-weight: 600;
}

.footer-company,
.footer-note {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.95rem;
}

.footer-title {
  margin: 0 0 14px;
  color: #fff;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.footer-links {
  list-style: none;
  display: grid;
  gap: 8px;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--gold-400);
}

.footer-support address {
  font-style: normal;
  overflow-wrap: anywhere;
}

.footer-note {
  margin-top: 12px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 18px 0 22px;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.62);
}

/* ============================================
   Legal pages
   ============================================ */
.page-hero {
  margin-top: calc(var(--header-h) * -1);
  padding: calc(var(--header-h) + 48px) 0 28px;
  background:
    radial-gradient(circle at 90% 0%, rgba(255, 186, 0, 0.16), transparent 30%),
    radial-gradient(circle at 0% 40%, rgba(133, 25, 235, 0.08), transparent 32%),
    var(--cream);
}

.legal-meta {
  display: inline-flex;
  margin-top: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--purple-800);
  font-size: 0.88rem;
  font-weight: 700;
}

.legal {
  padding-bottom: 80px;
}

.legal-card {
  padding: 36px 40px 28px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.legal-card h2 {
  font-size: 1.35rem;
  margin-top: 2rem;
  margin-bottom: 0.6rem;
}

.legal-card h2:first-child,
.toc + h2,
.legal-card > section:first-of-type h2 {
  margin-top: 0;
}

.legal-card p,
.legal-card li {
  color: var(--ink-soft);
}

.legal-card ul,
.legal-card ol {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
}

.legal-card li + li {
  margin-top: 0.35rem;
}

.toc {
  margin-bottom: 28px;
  padding: 16px 18px;
  border-radius: 16px;
  background: var(--purple-50);
  border: 1px solid rgba(54, 0, 122, 0.08);
}

.toc p {
  margin-bottom: 8px;
  font-weight: 700;
  color: var(--purple-900);
}

.toc ol {
  margin: 0;
  columns: 2;
  column-gap: 28px;
}

.toc a {
  text-decoration: none;
  font-weight: 600;
}

.toc a:hover {
  text-decoration: underline;
}

.legal-card section[id] {
  scroll-margin-top: 96px;
}

/* ============================================
   Scroll reveal
   ============================================ */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

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

/* ============================================
   Motion
   ============================================ */
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@media (prefers-reduced-motion: no-preference) {
  .phone-float {
    animation: floaty 7s ease-in-out infinite;
  }
}

@media (min-width: 1100px) and (prefers-reduced-motion: no-preference) {
  .float-card--a { animation: floaty 5.6s ease-in-out infinite; }
  .float-card--b { animation: floaty 6.4s ease-in-out -1.2s infinite; }
  .float-card--c { animation: floaty 6s ease-in-out -2s infinite; }
  .float-card--d { animation: floaty 5.2s ease-in-out -0.6s infinite; }
}

/* ============================================
   Responsive
   ============================================ */
@media (min-width: 768px) {
  .container,
  .container-narrow {
    width: min(1120px, calc(100% - 48px));
  }

  .container-narrow {
    width: min(780px, calc(100% - 48px));
  }
}

@media (min-width: 1200px) {
  .shots {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 1440px) {
  .container {
    width: min(1160px, calc(100% - 64px));
  }
}

@media (min-width: 1100px) {
  .float-card {
    position: absolute;
    z-index: 2;
  }

  .float-card--a { top: 7%; left: 0; }
  .float-card--b { top: 26%; right: 0; }
  .float-card--c { top: 58%; left: 0; }
  .float-card--d { bottom: 8%; right: 0; }

  .hero-stage .phone {
    width: min(262px, 62%);
  }
}

@media (max-width: 1099px) {
  .float-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 18px;
  }

  .float-card {
    justify-content: center;
    white-space: normal;
  }
}

@media (max-width: 1180px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-panel {
    position: absolute;
    top: calc(100% - 6px);
    left: 16px;
    right: 16px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    margin-left: 0;
    padding: 12px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid rgba(54, 0, 122, 0.08);
    box-shadow: 0 22px 50px rgba(40, 16, 70, 0.16);
    max-height: calc(100vh - 100px);
    max-height: calc(100dvh - 100px);
    overflow: auto;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.24s ease, transform 0.24s var(--ease), visibility 0.24s;
  }

  .nav-panel.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }

  .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }

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

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

  .nav-links a:hover,
  .nav-links a[aria-current="page"] {
    background: var(--purple-50);
  }

  .nav-cta {
    width: 100%;
  }
}

@media (max-width: 900px) {
  .hero-grid,
  .experience-grid,
  .split,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .steps {
    grid-template-columns: 1fr 1fr;
  }

  .steps::before {
    display: none;
  }

  .section-withdraw .split-media {
    order: 2;
  }

  .section-withdraw .split-copy,
  .split-copy {
    order: 1;
  }

  .split-media {
    order: 2;
  }

  .footer-grid {
    gap: 28px;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 64px 0;
  }

  .section-head {
    margin-bottom: 32px;
  }

  .banner-copy {
    max-width: none;
    min-height: 520px;
    justify-content: flex-end;
    padding: 28px 22px 32px;
    background: linear-gradient(180deg, rgba(25, 0, 82, 0) 18%, rgba(25, 0, 82, 0.9) 58%);
  }

  .banner-card,
  .banner-copy {
    min-height: 520px;
  }

  .cta-panel {
    padding: 48px 20px;
  }

  .legal-card {
    padding: 24px 18px 12px;
  }

  .toc ol {
    columns: 1;
  }
}

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

  .shot .phone,
  .split-media .phone,
  .hero-stage .phone {
    width: min(260px, 100%);
  }
}

@media (max-width: 480px) {
  .section {
    padding: 52px 0;
  }

  .hero {
    padding-bottom: 48px;
  }

  .hero-actions .btn,
  .hero-actions .play-btn,
  .split-copy .btn,
  .split-copy .play-btn,
  .banner-copy .btn,
  .cta-panel .btn,
  .cta-panel .play-btn {
    width: 100%;
  }

  .play-btn {
    justify-content: center;
  }

  .stat-grid,
  .float-cards {
    grid-template-columns: 1fr;
  }

  .btn {
    white-space: normal;
    text-align: center;
    padding-inline: 16px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .js .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}
