/* ===========================================================================
   Wildz Casino KeyHub — marketing site
   Brand tokens lifted 1:1 from the iOS app (lib/theme/colors.dart + typography).
   =========================================================================== */

:root {
  /* Core palette — exact app values */
  --brand-purple: #473093;
  --vivid-purple: #7a12ff;
  --deep-purple: #3e2a7e;
  --cyan: #1fe9e0;
  --yellow: #ffe61a;
  --coral: #ff6147;
  --ink: #16161c;
  --mist: #f3f2f7;
  --hairline: #d4d2dc;
  --orange-text: #ffb070;
  --white: #ffffff;

  /* Signature gradient — app brandGradient (-45deg vivid→coral→yellow) */
  --brand-gradient: linear-gradient(-45deg, var(--vivid-purple), var(--coral), var(--yellow));
  /* Hero — deepPurple → brandPurple, the app's splash/onboarding base */
  --hero-gradient: linear-gradient(160deg, var(--deep-purple) 0%, var(--brand-purple) 60%, #2c1d5c 100%);

  /* The single notable shadow in the app: rgba(0,0,0,.3) 0 32 68 */
  --brand-shadow: 0 32px 68px rgba(0, 0, 0, 0.3);
  --soft-shadow: 0 12px 32px rgba(71, 48, 147, 0.16);

  --radius-pill: 999px;
  --radius-card: 24px;
  --radius-sm: 14px;

  --container: 1200px;
  --nav-h: 72px;

  --font: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* ---- Reset ---- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: var(--vivid-purple);
  text-decoration: none;
}
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
h1,
h2,
h3,
h4 {
  font-weight: 700;
  color: var(--brand-purple);
  line-height: 1.12;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}
p {
  margin: 0 0 1em;
}

/* ---- Layout ---- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(0.75rem, 4vw, 2rem);
}
.section {
  padding-block: clamp(3rem, 9vw, 7rem);
}
.section--tight {
  padding-block: clamp(2rem, 6vw, 4rem);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--vivid-purple);
  margin-bottom: 0.9rem;
}
.eyebrow i {
  color: var(--cyan);
}
.section-title {
  font-size: clamp(1.6rem, 5vw, 2.8rem);
}
.section-lead {
  font-size: clamp(1rem, 2.4vw, 1.18rem);
  color: rgba(22, 22, 28, 0.66);
  max-width: 60ch;
}
.text-center {
  text-align: center;
}
.text-center .section-lead {
  margin-inline: auto;
}

/* ---- Buttons (app WildzButton specs) ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 56px;
  padding: 0.85rem 1.8rem;
  border-radius: var(--radius-pill);
  font-family: var(--font);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  border: none;
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.25s ease, background 0.25s ease, opacity 0.25s ease;
  white-space: nowrap;
}
.btn:active {
  transform: scale(0.97);
}
/* primary = cyan fill, purple label */
.btn--primary {
  background: var(--cyan);
  color: var(--brand-purple);
  box-shadow: 0 10px 26px rgba(31, 233, 224, 0.36);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(31, 233, 224, 0.5);
}
/* secondary = purple fill, white label */
.btn--secondary {
  background: var(--brand-purple);
  color: var(--white);
}
.btn--secondary:hover {
  transform: translateY(-2px);
  background: var(--vivid-purple);
}
/* ghost = transparent, cyan outline */
.btn--ghost {
  background: transparent;
  color: var(--cyan);
  border: 1.5px solid var(--cyan);
  min-height: 50px;
}
.btn--ghost:hover {
  background: rgba(31, 233, 224, 0.12);
}
.btn--light {
  background: var(--white);
  color: var(--brand-purple);
}
.btn--light:hover {
  transform: translateY(-2px);
  box-shadow: var(--soft-shadow);
}
.btn--block {
  width: 100%;
}

/* App-store style download button */
.btn-store {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--ink);
  color: var(--white);
  padding: 0.7rem 1.5rem;
  border-radius: var(--radius-sm);
  min-height: 60px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.btn-store:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.3);
}
.btn-store i {
  font-size: 2rem;
  line-height: 1;
}
.btn-store .store-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.05;
}
.btn-store .store-small {
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.82;
}
.btn-store .store-big {
  font-size: 1.18rem;
  font-weight: 700;
}
.btn-store[aria-disabled="true"] {
  cursor: default;
  opacity: 0.92;
}
.btn-store[aria-disabled="true"]:hover {
  transform: none;
  box-shadow: none;
}

/* ---- Header / nav ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(71, 48, 147, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  pointer-events: none;
}
main {
  position: relative;
  z-index: 1;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  gap: 1rem;
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}
.nav__brand img {
  height: 30px;
  width: auto;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.nav__links a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-pill);
  transition: background 0.2s ease, color 0.2s ease;
}
.nav__links a:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}
.nav__links a.is-active {
  color: var(--brand-purple);
  background: var(--yellow);
  font-weight: 700;
}
.nav__cta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}
.nav__cta .btn {
  min-height: 44px;
  padding: 0.55rem 1.2rem;
  font-size: 0.92rem;
}
.nav__toggle {
  display: none;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: var(--white);
  width: 44px;
  height: 44px;
  border-radius: 12px;
  font-size: 1.2rem;
  cursor: pointer;
}

/* ---- Footer ---- */
.site-footer {
  background: var(--brand-purple);
  color: rgba(255, 255, 255, 0.74);
  padding-block: clamp(2.5rem, 6vw, 4rem) 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 2rem;
}
.footer-brand img {
  height: 34px;
  margin-bottom: 1rem;
}
.footer-brand p {
  font-size: 0.92rem;
  max-width: 32ch;
}
.footer-col h4 {
  color: var(--yellow);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.footer-col a {
  display: block;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.92rem;
  padding: 0.32rem 0;
  transition: color 0.2s ease, padding-left 0.2s ease;
}
.footer-col a:hover {
  color: var(--cyan);
  padding-left: 4px;
}
.footer-social {
  display: flex;
  gap: 0.6rem;
  margin-top: 1.2rem;
}
.footer-social a {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  transition: background 0.25s ease, transform 0.25s ease;
}
.footer-social a:hover {
  background: var(--cyan);
  color: var(--brand-purple);
  transform: translateY(-3px);
}
.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.84rem;
}

/* ---- Hero ---- */
.hero {
  position: relative;
  background: var(--hero-gradient);
  color: var(--white);
  overflow: hidden;
  padding-block: clamp(3rem, 8vw, 6rem) clamp(3rem, 9vw, 7rem);
}
.hero::before {
  /* faint dot texture echoing the splash chips */
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 26px 26px;
  opacity: 0.6;
  pointer-events: none;
}
.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  pointer-events: none;
}
.hero__glow--1 {
  width: 420px;
  height: 420px;
  background: var(--vivid-purple);
  top: -120px;
  right: -80px;
}
.hero__glow--2 {
  width: 340px;
  height: 340px;
  background: var(--cyan);
  bottom: -140px;
  left: -100px;
  opacity: 0.35;
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hero h1 {
  color: var(--white);
  font-size: clamp(2.1rem, 6.4vw, 4rem);
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}
.hero h1 .accent {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__lead {
  font-size: clamp(1.02rem, 2.4vw, 1.28rem);
  color: rgba(255, 255, 255, 0.86);
  max-width: 46ch;
  margin-bottom: 1.8rem;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  align-items: center;
}
.hero__note {
  margin-top: 1.4rem;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.hero__phones {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 1rem;
}

/* Phone frame */
.phone {
  position: relative;
  border-radius: 38px;
  background: #0c0c14;
  padding: 8px;
  box-shadow: var(--brand-shadow);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.phone img {
  border-radius: 30px;
  width: 248px;
  height: auto;
}
.phone--lead {
  z-index: 2;
}
.phone--back {
  position: absolute;
  top: 36px;
  left: 50%;
  transform: translateX(-58%) rotate(-7deg) scale(0.9);
  opacity: 0.92;
  z-index: 1;
}
.phone--back2 {
  position: absolute;
  top: 36px;
  left: 50%;
  transform: translateX(-12%) rotate(7deg) scale(0.9);
  opacity: 0.92;
  z-index: 1;
}

/* ---- Stat band ---- */
.stat-band {
  background: var(--mist);
}
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}
.stat-grid .stat__num {
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  font-weight: 700;
  color: var(--vivid-purple);
}
.stat-grid .stat__label {
  font-size: 0.84rem;
  color: rgba(22, 22, 28, 0.6);
  font-weight: 500;
}

/* ---- Feature cards ---- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.feature-card {
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-card);
  padding: 2rem 1.75rem;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.3s ease, border-color 0.3s ease;
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--soft-shadow);
  border-color: transparent;
}
.feature-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  color: var(--white);
  background: var(--brand-gradient);
  margin-bottom: 1.2rem;
}
.feature-card h3 {
  font-size: 1.2rem;
}
.feature-card p {
  color: rgba(22, 22, 28, 0.66);
  font-size: 0.96rem;
  margin: 0;
}

/* ---- Alternating showcase rows ---- */
.showcase-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.showcase-row + .showcase-row {
  margin-top: clamp(3rem, 8vw, 6rem);
}
.showcase-row--reverse .showcase-row__media {
  order: 2;
}
.showcase-row__media {
  display: flex;
  justify-content: center;
}
.showcase-row__media .phone img {
  width: 270px;
}
.showcase-row__body .feature-list {
  margin-top: 1.4rem;
}
.feature-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.55rem 0;
  color: rgba(22, 22, 28, 0.78);
  font-size: 0.98rem;
}
.feature-list li i {
  color: var(--cyan);
  background: rgba(31, 233, 224, 0.14);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 0.78rem;
  margin-top: 2px;
}

/* ---- Screenshot gallery ---- */
.gallery {
  background: var(--hero-gradient);
  position: relative;
  overflow: hidden;
}
.gallery::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 26px 26px;
}
.gallery .eyebrow {
  color: var(--cyan);
}
.gallery .section-title {
  color: var(--white);
}
.gallery .section-lead {
  color: rgba(255, 255, 255, 0.78);
}
.gallery-track {
  position: relative;
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  padding: 1rem 0.5rem 1.5rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.gallery-track::-webkit-scrollbar {
  display: none;
}
.gallery-track .phone {
  flex-shrink: 0;
  scroll-snap-align: center;
}
.gallery-track .phone img {
  width: 230px;
}
.gallery-hint {
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.84rem;
  margin-top: 0.5rem;
}

/* ---- CTA band ---- */
.cta-band {
  position: relative;
  background: var(--brand-gradient);
  color: var(--white);
  border-radius: var(--radius-card);
  padding: clamp(2.5rem, 7vw, 4.5rem);
  text-align: center;
  overflow: hidden;
}
.cta-band h2 {
  color: var(--white);
  font-size: clamp(1.6rem, 5vw, 2.6rem);
}
.cta-band p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 50ch;
  margin-inline: auto;
}
.cta-band__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.8rem;
}

/* ---- Page hero (sub-pages) ---- */
.page-hero {
  background: var(--hero-gradient);
  color: var(--white);
  padding-block: clamp(2.5rem, 7vw, 5rem);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 26px 26px;
}
.page-hero h1 {
  color: var(--white);
  font-size: clamp(1.9rem, 6vw, 3.2rem);
  position: relative;
}
.page-hero p {
  color: rgba(255, 255, 255, 0.82);
  max-width: 58ch;
  position: relative;
  margin: 0;
}
.breadcrumb {
  position: relative;
  display: flex;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 1rem;
}
.breadcrumb a {
  color: rgba(255, 255, 255, 0.82);
}
.breadcrumb a:hover {
  color: var(--cyan);
}

/* ---- Prose (legal pages) ---- */
.prose {
  max-width: 80ch;
  margin-inline: auto;
}
.prose h2 {
  font-size: 1.4rem;
  margin-top: 2.2rem;
}
.prose h3 {
  font-size: 1.1rem;
  margin-top: 1.6rem;
  color: var(--vivid-purple);
}
.prose p,
.prose li {
  color: rgba(22, 22, 28, 0.78);
}
.prose ul {
  list-style: disc;
  padding-left: 1.4rem;
  margin-bottom: 1rem;
}
.prose li {
  margin-bottom: 0.4rem;
}
.prose .updated {
  display: inline-block;
  background: var(--mist);
  color: var(--brand-purple);
  font-weight: 600;
  font-size: 0.82rem;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1.5rem;
}
.prose a {
  color: var(--vivid-purple);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ---- FAQ accordion ---- */
.faq-list {
  max-width: 800px;
  margin-inline: auto;
}
.faq-item {
  border: 1px solid var(--hairline);
  border-radius: var(--radius-sm);
  margin-bottom: 0.9rem;
  overflow: hidden;
  background: var(--white);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.faq-item.is-open {
  border-color: var(--vivid-purple);
  box-shadow: var(--soft-shadow);
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: none;
  border: none;
  text-align: left;
  padding: 1.15rem 1.3rem;
  font-family: var(--font);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--brand-purple);
  cursor: pointer;
}
.faq-q i {
  color: var(--vivid-purple);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}
.faq-item.is-open .faq-q i {
  transform: rotate(180deg);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-a__inner {
  padding: 0 1.3rem 1.2rem;
  color: rgba(22, 22, 28, 0.74);
}

.contact-email {
  max-width: 640px;
  margin-inline: auto;
}
.contact-email__card {
  text-align: center;
  padding: clamp(2rem, 5vw, 3rem);
}
.contact-email__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.25rem;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  color: var(--white);
  background: var(--brand-gradient);
}
.contact-email__card h2 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}
.contact-email__card p {
  color: rgba(22, 22, 28, 0.72);
  max-width: 46ch;
  margin-inline: auto;
  margin-bottom: 1.5rem;
}
.contact-email__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--brand-purple);
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-pill);
  background: rgba(31, 233, 224, 0.16);
  border: 1.5px solid var(--cyan);
  transition: background 0.2s ease, transform 0.2s ease;
}
.contact-email__link:hover {
  background: rgba(31, 233, 224, 0.28);
  transform: translateY(-2px);
}

/* ---- Contact ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}
.card {
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-card);
  padding: clamp(1.5rem, 4vw, 2.5rem);
}
.form-row {
  margin-bottom: 1.2rem;
}
.form-row label {
  display: block;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--brand-purple);
  margin-bottom: 0.4rem;
}
.form-row input,
.form-row textarea,
.form-row select {
  width: 100%;
  font-family: var(--font);
  font-size: 1rem;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--hairline);
  border-radius: var(--radius-sm);
  background: var(--mist);
  color: var(--ink);
  transition: border-color 0.2s ease, background 0.2s ease;
}
.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
  outline: none;
  border-color: var(--vivid-purple);
  background: var(--white);
}
.form-row textarea {
  resize: vertical;
  min-height: 130px;
}
.form-note {
  font-size: 0.8rem;
  color: rgba(22, 22, 28, 0.55);
  margin-top: 0.4rem;
}
.form-status {
  margin-top: 1rem;
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 600;
  display: none;
  align-items: center;
  gap: 0.6rem;
}
.form-status.is-visible {
  display: flex;
}
.form-status.is-success {
  background: rgba(31, 233, 224, 0.14);
  color: #0a8a84;
}
.form-status.is-error {
  background: rgba(255, 97, 71, 0.12);
  color: var(--coral);
}
.contact-info .info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem 0;
  border-bottom: 1px solid var(--hairline);
}
.contact-info .info-item:last-child {
  border-bottom: none;
}
.contact-info .info-item i {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(122, 18, 255, 0.1);
  color: var(--vivid-purple);
  font-size: 1.1rem;
}
.contact-info .info-item .label {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(22, 22, 28, 0.5);
  font-weight: 600;
}
.contact-info .info-item .value {
  font-weight: 600;
  color: var(--brand-purple);
}

/* ---- About / values ---- */
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.value-card {
  text-align: center;
  padding: 2rem 1.5rem;
}
.value-card i {
  font-size: 1.8rem;
  color: var(--vivid-purple);
  margin-bottom: 0.8rem;
}
.about-banner {
  border-radius: var(--radius-card);
  overflow: hidden;
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  box-shadow: var(--brand-shadow);
}
.about-banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-banner__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(62, 42, 126, 0.92), rgba(62, 42, 126, 0.1));
}
.about-banner__text {
  position: relative;
  padding: 2rem;
}
.about-banner__text h3 {
  color: var(--white);
}
.about-banner__text p {
  color: rgba(255, 255, 255, 0.86);
  margin: 0;
}

/* ---- How it works steps ---- */
.steps {
  counter-reset: step;
  display: grid;
  gap: 1.5rem;
}
.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  align-items: start;
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-card);
  padding: 1.6rem;
}
.step__num {
  counter-increment: step;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--brand-gradient);
  color: var(--white);
  font-weight: 700;
  font-size: 1.3rem;
  display: grid;
  place-items: center;
}
.step__num::before {
  content: counter(step);
}
.step h3 {
  margin-bottom: 0.3rem;
  font-size: 1.15rem;
}
.step p {
  margin: 0;
  color: rgba(22, 22, 28, 0.66);
}

/* ---- Utilities ---- */
.mt-1 {
  margin-top: 1rem;
}
.mt-2 {
  margin-top: 2rem;
}
.divider {
  height: 1px;
  background: var(--hairline);
  border: none;
  margin: 0;
}

/* ===========================================================================
   Responsive — down to 250px
   =========================================================================== */
@media (max-width: 980px) {
  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero__lead {
    margin-inline: auto;
  }
  .hero__actions,
  .hero__note {
    justify-content: center;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .feature-grid,
  .value-grid {
    grid-template-columns: 1fr 1fr;
  }
  .showcase-row,
  .showcase-row--reverse {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .showcase-row--reverse .showcase-row__media {
    order: 0;
  }
  .showcase-row__body .feature-list {
    text-align: left;
    max-width: 420px;
    margin-inline: auto;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  body.nav-open {
    overflow: hidden;
  }
  .nav {
    position: relative;
    z-index: 10001;
    height: var(--nav-h);
    min-height: var(--nav-h);
    max-height: var(--nav-h);
  }
  .nav__links {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    z-index: 10000;
    flex-direction: column;
    align-items: stretch;
    background: var(--brand-purple);
    padding: 1rem 1.25rem 1.5rem;
    gap: 0.625rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    max-height: calc(100dvh - var(--nav-h));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    /* Fully off-screen when closed (plain -100% leaves the menu overlapping the header). */
    transform: translateY(calc(-100% - var(--nav-h)));
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
      visibility 0.3s;
  }
  .nav__links.is-open {
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
  }
  .nav__links li {
    display: block;
  }
  .nav__links a {
    display: block;
    width: 100%;
    padding: 0.9rem 1.15rem;
    font-size: 1rem;
    line-height: 1.35;
    border-radius: var(--radius-sm);
  }
  .nav__links a.is-active {
    padding: 0.9rem 1.15rem;
  }
  .nav__cta {
    align-self: center;
  }
  .nav__cta .btn span.cta-text {
    display: none;
  }
  .nav__toggle {
    display: grid;
    place-items: center;
  }
  .stat-grid {
    grid-template-columns: 1fr 1fr;
  }
  .feature-grid,
  .value-grid {
    grid-template-columns: 1fr;
  }
  .phone--back,
  .phone--back2 {
    display: none;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-brand p {
    margin-inline: auto;
  }
  .footer-social {
    justify-content: center;
  }
  .footer-bottom {
    justify-content: center;
    text-align: center;
  }
  .hero__actions .btn,
  .hero__actions .btn-store,
  .cta-band__actions .btn,
  .cta-band__actions .btn-store {
    width: 100%;
    justify-content: center;
  }
}

/* Ultra-narrow — 250–360px */
@media (max-width: 360px) {
  :root {
    --nav-h: 64px;
  }
  .nav__brand img {
    height: 24px;
  }
  .nav__cta .btn {
    padding: 0.5rem 0.8rem;
    font-size: 0.82rem;
  }
  .btn,
  .btn-store {
    width: 100%;
    justify-content: center;
  }
  .hero__actions,
  .cta-band__actions {
    flex-direction: column;
  }
  .phone img,
  .showcase-row__media .phone img,
  .gallery-track .phone img {
    width: 200px;
  }
  .section {
    padding-block: 2.4rem;
  }
  .card {
    padding: 1.1rem;
  }
  .step {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .step__num {
    margin-inline: auto;
  }
}

@media (max-width: 280px) {
  .phone img,
  .showcase-row__media .phone img,
  .gallery-track .phone img {
    width: 168px;
  }
  .container {
    padding-inline: 0.6rem;
  }
  .feature-card,
  .card {
    padding: 1rem;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  [data-aos] {
    opacity: 1 !important;
    transform: none !important;
  }
}
