/* ==========================================================
   FYDELIA — SECTION STYLES
   ========================================================== */

/* ======================= HERO ======================= */
.hero {
  position: relative;
  padding: 72px 0 56px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero-bg {
  position: absolute; inset: 0;
  pointer-events: none;
}
.hero-grid { display: none; }
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.6;
}
.hero-glow--a {
  width: 700px; height: 700px;
  background: radial-gradient(circle, var(--red-glow) 0%, transparent 70%);
  top: -200px; right: -200px;
}
.hero-glow--b {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(154,108,255,0.18) 0%, transparent 70%);
  bottom: -150px; left: -150px;
}

.hero-wrap {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 72px;
  align-items: center;
  min-height: 600px;
}
.hero-copy { max-width: 640px; }
.hero-title {
  margin: 20px 0 22px;
  font-size: clamp(48px, 6.2vw, 92px);
}
.ht-line { display: block; }
.ht-line--muted { color: var(--fg-3); }
.hero-sub {
  font-size: 18px; color: var(--fg-2);
  max-width: 540px; line-height: 1.55;
  margin-bottom: 32px;
}

.hero-form {
  display: flex; gap: 8px;
  max-width: 520px;
  padding: 6px;
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  border-radius: 14px;
  transition: all 0.3s var(--ease);
}
.hero-form:focus-within {
  border-color: rgba(255,43,43,0.35);
  box-shadow: 0 0 0 4px rgba(255,43,43,0.08);
}
.hero-form-field {
  flex: 1;
  display: flex; align-items: center;
  padding: 0 12px;
}
.hero-form-prefix {
  font-family: var(--mono);
  color: var(--fg-4);
  font-size: 14px;
}
.hero-form-input {
  flex: 1;
  background: transparent; border: none; outline: none;
  font-family: var(--mono);
  font-size: 14.5px;
  color: var(--fg);
  padding: 10px 8px;
}
.hero-form-input::placeholder { color: var(--fg-4); }

.hero-bullets {
  display: flex; gap: 24px; margin-top: 22px;
  list-style: none;
  flex-wrap: wrap;
}
.hero-bullets li {
  display: flex; align-items: center; gap: 8px;
  font-size: 13.5px; color: var(--fg-3);
  font-family: var(--mono);
}
.tick {
  width: 14px; height: 14px; border-radius: 50%;
  background: rgba(0,212,126,0.15);
  position: relative; display: inline-block;
}
.tick::after {
  content: ''; position: absolute;
  top: 3px; left: 4px;
  width: 4px; height: 7px;
  border-right: 1.5px solid var(--green);
  border-bottom: 1.5px solid var(--green);
  transform: rotate(45deg);
}

.hero-stage {
  position: relative;
  display: flex; justify-content: center; align-items: center;
  min-height: 620px;
  --reveal-x: 96px;
}

/* Floating chips */
.hero-chip {
  position: absolute;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 12px 8px 10px;
  background: rgba(20,20,25,0.9);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line-strong);
  border-radius: 100px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--fg-2);
  box-shadow: 0 8px 24px -8px rgba(0,0,0,0.6);
  white-space: nowrap;
  animation: float-chip 6s ease-in-out infinite;
  z-index: 10;
}
.hero-chip--1 { top: 8%; left: -8%; animation-delay: 0s; }
.hero-chip--2 { top: 48%; right: -14%; animation-delay: 1s; }
.hero-chip--3 { bottom: 10%; left: -4%; animation-delay: 2s; }
@keyframes float-chip {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.chip-dot { width: 7px; height: 7px; border-radius: 50%; }
.chip-dot--green { background: var(--green); box-shadow: 0 0 8px var(--green); }
.chip-dot--red { background: var(--red); box-shadow: 0 0 8px var(--red); animation: pulse-red 1.5s infinite; }
.chip-icon { font-size: 14px; }
.chip-meta {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--fg-4);
  padding-left: 6px;
  border-left: 1px solid var(--line-2);
  margin-left: 2px;
}

/* Ticker */
.hero-ticker {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  margin-top: 80px;
  padding: 28px 32px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, var(--bg-1) 0%, var(--bg) 100%);
}
.ticker-item { display: flex; flex-direction: column; gap: 6px; }
.tk-num {
  font-family: var(--sans);
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 500;
  letter-spacing: -0.04em;
  color: var(--fg);
}
.tk-label {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--fg-4);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.ticker-div { width: 1px; height: 42px; background: var(--line); }

/* ---------- Demo phone frame + hero video carousel ---------- */
.hero-phone-stage,
.sp-phone-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 560px;
}
.hero-phone-carousel,
.sp-hero-phone-carousel {
  position: relative;
  width: 252px;
  height: 516px;
  z-index: 1;
}
.hero-phone-slide,
.sp-hero-phone-slide {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  opacity: 0;
  transform: translateX(144px);
  pointer-events: none;
  z-index: 1;
}
.hero-phone-slide.is-shown,
.sp-hero-phone-slide.is-shown {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
  z-index: 2;
}
.hero-phone-slide.is-leaving,
.sp-hero-phone-slide.is-leaving {
  animation: hero-phone-exit 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  pointer-events: none;
  z-index: 1;
}
.hero-phone-slide.is-entering,
.sp-hero-phone-slide.is-entering {
  animation: hero-phone-enter 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  pointer-events: none;
  z-index: 3;
}
@keyframes hero-phone-exit {
  from { opacity: 1; transform: translateX(0); }
  to { opacity: 0; transform: translateX(-144px); }
}
@keyframes hero-phone-enter {
  from { opacity: 0; transform: translateX(144px); }
  to { opacity: 1; transform: translateX(0); }
}
.hero-phone-slide .demo-phone,
.hero-phone-slide .sp-gallery-phone,
.sp-hero-phone-slide .demo-phone,
.sp-hero-phone-slide .sp-gallery-phone {
  margin: 0;
}
.hero-phone-slide video,
.sp-hero-phone-slide video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.demo-phone,
.sp-gallery-phone {
  position: relative;
  width: 252px;
  height: 516px;
  border-radius: 38px;
  background: #16161B;
  padding: 10px;
  box-shadow:
    0 0 0 2px #25252D,
    0 0 0 3px #0A0A0C,
    0 28px 64px -20px rgba(0,0,0,0.75),
    inset 0 0 0 1px rgba(255,255,255,0.05);
}
.demo-phone-notch,
.sp-gallery-phone-notch {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 86px;
  height: 24px;
  background: #0A0A0C;
  border-radius: 100px;
  z-index: 3;
  pointer-events: none;
}
.demo-phone-notch::after,
.sp-gallery-phone-notch::after {
  content: '';
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #1a1a1f;
  box-shadow: inset 0 0 0 1px #25252D;
}
.demo-phone-screen,
.sp-gallery-phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 28px;
  overflow: hidden;
  background: #0A0A0C;
  position: relative;
}
.demo-phone-screen video,
.demo-phone-screen img,
.sp-gallery-phone-screen video,
.sp-gallery-phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  border-radius: 28px;
}

@media (prefers-reduced-motion: reduce) {
  .hero-phone-slide.is-leaving,
  .hero-phone-slide.is-entering,
  .sp-hero-phone-slide.is-leaving,
  .sp-hero-phone-slide.is-entering {
    animation: none;
  }
  .hero-phone-slide:not(.is-shown),
  .sp-hero-phone-slide:not(.is-shown) {
    display: none;
  }
}

@media (max-width: 980px) {
  .hero-wrap { grid-template-columns: 1fr; gap: 60px; }
  .hero-stage { min-height: 560px; }
  .hero-chip--1 { left: 0%; }
  .hero-chip--3 { left: 0%; }
  .hero-ticker { grid-template-columns: 1fr 1fr; gap: 20px 16px; padding: 22px; }
  .ticker-div { display: none; }
}

/* ======================= LOGOS ======================= */
.logos {
  padding: 48px 0 56px;
  overflow-x: clip;
  overflow-y: visible;
}
.logos.band-light {
  padding-bottom: 32px;
}
.logos-kicker {
  text-align: center;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--fg-4);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 32px;
}
.logo-track-wrap {
  position: relative;
  overflow: visible;
  padding: 20px 0;
}
.logo-track-wrap::before,
.logo-track-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 12%;
  z-index: 2;
  pointer-events: none;
}
.logo-track-wrap::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg) 0%, transparent 100%);
}
.logo-track-wrap::after {
  right: 0;
  background: linear-gradient(270deg, var(--bg) 0%, transparent 100%);
}
.logo-track {
  display: flex;
  gap: 64px;
  width: max-content;
  animation: logo-scroll 40s linear infinite;
  align-items: center;
  padding: 4px 0;
}
.logo-track:hover { animation-play-state: paused; }
@media (max-width: 768px) {
  .logo-track { animation-duration: calc(40s / 3); }
}
@keyframes logo-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.logo-item {
  flex-shrink: 0;
  font-size: 24px;
  color: var(--fg-3);
  transition: color 0.3s var(--ease);
  line-height: 1;
  padding: 8px 0;
}
.logo-item:hover { color: var(--fg); }
.client-logo {
  flex-shrink: 0;
  height: 72px;
  width: auto;
  object-fit: contain;
  opacity: 0.72;
  transition: opacity 0.3s var(--ease);
  filter: none;
}
.client-logo:hover { opacity: 1; }
.client-logo--tall { height: 110px; }
.client-logo--wide { height: 78px; }
.client-logo--invert {
  filter: none;
  opacity: 0.72;
}
.client-logo--invert:hover { opacity: 1; }
.logos.band-light .client-logo,
.logos.band-light .client-logo--invert {
  filter: none;
  opacity: 0.65;
}
.logos.band-light .client-logo:hover,
.logos.band-light .client-logo--invert:hover {
  opacity: 0.9;
}

/* ======================= BAND ALTERNATION ======================= */

section.band-light,
section.band-dark,
footer.band-dark {
  position: relative;
  z-index: 1;
  border-top: none;
  border-bottom: none;
}

/* ---- Light band: local CSS vars ---- */
section.band-light {
  --bg: #FFFFFF;
  --bg-1: #FAFAFA;
  --bg-2: #FFFFFF;
  --bg-3: #F2F2EE;
  --bg-4: #E8E8E2;
  --line: rgba(10, 10, 12, 0.07);
  --line-2: rgba(10, 10, 12, 0.11);
  --line-strong: rgba(10, 10, 12, 0.16);
  --fg: #0A0A0C;
  --fg-2: #2A2A30;
  --fg-3: #5A5A62;
  --fg-4: #8B8B94;
  --red-glow-soft: rgba(233, 30, 30, 0.08);
  background-color: #FFFFFF;
  color: var(--fg);
}

/* ---- Dark band: local CSS vars ---- */
section.band-dark,
footer.band-dark {
  --bg: #0A0A0C;
  --bg-1: #0F0F12;
  --bg-2: #141419;
  --bg-3: #1C1C22;
  --bg-4: #25252D;
  --line: rgba(255, 255, 255, 0.06);
  --line-2: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.14);
  --fg: #F5F5F7;
  --fg-2: #C8C8CE;
  --fg-3: #8B8B94;
  --fg-4: #5E5E66;
  --red-glow-soft: rgba(255, 43, 43, 0.12);
  background-color: #0A0A0C;
  color: var(--fg);
}

/* sr-head sticky background fix on light/dark bands */
section.band-light .sr-head {
  background: linear-gradient(180deg, #FFFFFF 70%, transparent);
}
section.band-dark .sr-head {
  background: linear-gradient(180deg, #0A0A0C 70%, transparent);
}

/* Band sections use flat horizontal edges via background-color (band-light / band-dark). */

/* ======================= GENERIC SECTION HEADER ======================= */
.sec-head {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 64px;
  max-width: 740px;
}
.sec-head--center { margin-left: auto; margin-right: auto; text-align: center; align-items: center; }
.sec-head h2 { margin: 0; }
.sec-head .lead { font-size: 19px; color: var(--fg-3); max-width: 580px; }

/* ======================= ADCARDS ======================= */
.adcards {
  padding: 140px 0;
  position: relative;
  overflow: hidden;
}
.adcards.band-light {
  padding-top: 64px;
}
.adcards-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 40% at 80% 20%, var(--red-glow-soft) 0%, transparent 60%),
    radial-gradient(ellipse 50% 30% at 10% 80%, rgba(154,108,255,0.1) 0%, transparent 60%);
}
.adcards-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px;
  align-items: center;
  position: relative;
}
.adcards-text h2 { margin-bottom: 24px; }
.adcards-feats {
  list-style: none; margin-top: 36px;
  display: flex; flex-direction: column; gap: 18px;
}
.adcards-feats li {
  display: flex; gap: 14px; align-items: flex-start;
  font-size: 15.5px; color: var(--fg-2);
}
.ad-check {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 6px;
  background: rgba(255,43,43,0.12);
  border: 1px solid rgba(255,43,43,0.3);
  display: grid; place-items: center;
  color: var(--red);
  font-size: 13px;
  margin-top: 1px;
}

.adcards-stage {
  position: relative;
  height: 560px;
  perspective: 1400px;
  display: flex;
  align-items: center;
  justify-content: center;
  --reveal-x: 96px;
}

.adcards-slider {
  position: relative;
  width: min(340px, 88vw);
  height: 520px;
}

.adcards-slider-track {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
}

.adcards-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transform: translateX(48px) scale(0.9) rotate(2.5deg);
  transition:
    transform 0.52s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.38s ease,
    filter 0.38s ease;
  z-index: 1;
  filter: blur(1px);
}

.adcards-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0) scale(1) rotate(-1.5deg);
  z-index: 3;
  filter: blur(0);
}

.adcards-slide.is-prev {
  opacity: 0;
  transform: translateX(-72%) scale(0.76) rotate(-11deg);
  z-index: 2;
  filter: blur(3px);
  transition:
    transform 0.46s cubic-bezier(0.55, 0, 1, 0.38),
    opacity 0.34s ease,
    filter 0.34s ease;
}

.adcards-slide img {
  display: block;
  max-height: 510px;
  width: auto;
  max-width: 100%;
  border-radius: 18px;
  box-shadow:
    0 30px 60px -20px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(255, 255, 255, 0.03);
}

.adcards-slide.is-active img {
  animation: adcard-pop 0.52s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes adcard-pop {
  0% { transform: scale(0.94); }
  55% { transform: scale(1.02); }
  100% { transform: scale(1); }
}

.adcards-slider-ui {
  position: absolute;
  left: 50%;
  bottom: -20px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.adcards-slider-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}

.adcards-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: rgba(10, 10, 12, 0.18);
  cursor: pointer;
  transition:
    width 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.25s ease,
    transform 0.25s ease;
}

.adcards-dot:hover {
  transform: scale(1.15);
  background: rgba(255, 43, 43, 0.45);
}

.adcards-dot.is-active {
  width: 28px;
  background: var(--red);
}

@media (prefers-reduced-motion: reduce) {
  .adcards-slide,
  .adcards-slide.is-prev,
  .adcards-slide.is-active img,
  .adcards-dot {
    transition: none;
    animation: none;
    filter: none;
  }
  .gami-arcade-btn__face,
  .gami-arcade-btn__ring {
    animation: none;
  }
}

/* ======================= FLASH OFFERS ======================= */
.flash {
  padding: 120px 0;
  background: var(--bg-1);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.flash-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 72px;
  align-items: center;
}
.flash-stage {
  position: relative;
  height: 560px;
  display: grid;
  place-items: center;
  --reveal-x: 96px;
}

.flash-phone-wrap {
  position: relative;
  z-index: 2;
}

.phone--flash {
  transform: scale(0.86);
  transform-origin: center center;
}

.flash-phone-body {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 18px 24px;
}

.flash-push {
  width: 100%;
  background:
    linear-gradient(145deg, rgba(255, 43, 43, 0.16), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 43, 43, 0.28);
  border-radius: 18px;
  padding: 18px 16px 16px;
  box-shadow:
    0 18px 36px -16px rgba(0, 0, 0, 0.65),
    0 0 32px -12px var(--red-glow);
}

.flash-push-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
}

.flash-push-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 8px var(--red);
  animation: flash-push-pulse 1.6s ease-in-out infinite;
}

@keyframes flash-push-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.85); }
}

.flash-push-text {
  margin: 14px 0 16px;
  font-size: 15px;
  line-height: 1.45;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--fg);
}

.flash-push-cta {
  width: 100%;
  padding: 11px 14px;
  border: none;
  border-radius: 10px;
  background: var(--red);
  color: #fff;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  cursor: default;
  box-shadow: 0 10px 24px -10px var(--red-glow);
}


/* ======================= SCROLL REVEAL (sticky) ======================= */
.scrollreveal {
  padding: 40px 0 80px;
  position: relative;
}
.sr-head {
  position: sticky;
  top: 100px;
  z-index: 2;
  padding-bottom: 40px;
  background: linear-gradient(180deg, var(--bg) 70%, transparent);
}
.sr-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: start;
}
.sr-text-col { padding: 0 0 4vh; }
.sr-step {
  min-height: 52vh;
  padding: 3vh 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0.3;
  transition: opacity 0.5s var(--ease);
}
.sr-step:first-child {
  min-height: auto;
  padding-top: 0;
  padding-bottom: 3vh;
  justify-content: flex-start;
}
.sr-step:last-child {
  padding-bottom: 0;
  min-height: 44vh;
}
.sr-step.active { opacity: 1; }
.sr-step-num {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--red);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.sr-step h3 { font-size: clamp(28px, 3.2vw, 44px); margin-bottom: 16px; line-height: 1.1; }
.sr-step p { font-size: 17px; color: var(--fg-3); max-width: 440px; }

.sr-sticky {
  position: sticky;
  top: 120px;
  height: calc(100vh - 160px);
  max-height: 640px;
  min-height: 500px;
  display: grid; place-items: center;
  --reveal-x: 96px;
}
.sr-panel {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(24px) scale(0.96);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  pointer-events: none;
  display: grid; place-items: center;
}
.sr-panel.active {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* ======================= INTEGRATIONS ======================= */
.integrations {
  padding: 140px 0;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
}
.int-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 40% 50% at 50% 50%, var(--red-glow-soft), transparent 60%);
  pointer-events: none;
}
.int-stage {
  position: relative;
  height: 640px;
  display: grid;
  place-items: center;
  margin-top: 40px;
}

/* ======================= HARDWARE ======================= */
.hardware {
  padding: 140px 0;
  background: var(--bg-1);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.hw-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.hw-list {
  margin-top: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 12px;
}
.hw-list li {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 0;
  font-size: 15px; color: var(--fg-2);
  font-family: var(--mono);
  border-bottom: 1px solid var(--line);
  list-style: none;
}
.hw-list li::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  flex-shrink: 0;
}

/* ======================= GAMIFICATION / SCRATCH CARD ======================= */
.gami {
  padding: 140px 0;
  position: relative;
  overflow: hidden;
}
.gami-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 50% 40% at 70% 50%, var(--red-glow-soft), transparent 60%);
  pointer-events: none;
}
.gami-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.gami-stage {
  position: relative;
  display: grid;
  place-items: center;
  padding: 40px;
  --reveal-x: 96px;
}
.scratch-hint {
  margin-top: 24px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--fg-3);
  text-align: center;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.gami-arcade-btn {
  display: inline-block;
  margin-top: 32px;
  position: relative;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.gami-arcade-btn__ring {
  position: absolute;
  inset: -10px -14px;
  border: 3px solid var(--fg-4);
  border-radius: 22px;
  background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg-1) 100%);
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.06),
    0 8px 20px rgba(0, 0, 0, 0.25);
  animation: gami-arcade-ring-pulse 1.8s ease-in-out infinite;
}

.gami-arcade-btn__face {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: min(100%, 340px);
  padding: 24px 40px;
  font-family: var(--sans);
  font-size: clamp(16px, 2.2vw, 20px);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
  background: linear-gradient(180deg, #ff5a5a 0%, var(--red) 42%, var(--red-700) 100%);
  border: 3px solid #111;
  border-radius: 16px;
  box-shadow:
    0 7px 0 #7a0f0f,
    0 12px 28px rgba(0, 0, 0, 0.35),
    inset 0 3px 0 rgba(255, 255, 255, 0.35),
    inset 0 -4px 0 rgba(0, 0, 0, 0.15);
  animation: gami-arcade-pulse 1.8s ease-in-out infinite;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.gami-arcade-btn:hover .gami-arcade-btn__face {
  animation-play-state: paused;
  transform: translateY(-2px) scale(1.03);
  box-shadow:
    0 9px 0 #7a0f0f,
    0 16px 36px rgba(229, 30, 30, 0.45),
    inset 0 3px 0 rgba(255, 255, 255, 0.4),
    inset 0 -4px 0 rgba(0, 0, 0, 0.15);
}

.gami-arcade-btn:active .gami-arcade-btn__face {
  animation: none;
  transform: translateY(5px);
  box-shadow:
    0 2px 0 #7a0f0f,
    0 4px 12px rgba(0, 0, 0, 0.3),
    inset 0 2px 0 rgba(255, 255, 255, 0.2),
    inset 0 -2px 0 rgba(0, 0, 0, 0.2);
}

@keyframes gami-arcade-pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow:
      0 7px 0 #7a0f0f,
      0 12px 28px rgba(0, 0, 0, 0.35),
      inset 0 3px 0 rgba(255, 255, 255, 0.35),
      inset 0 -4px 0 rgba(0, 0, 0, 0.15),
      0 0 0 0 var(--red-glow);
  }
  50% {
    transform: scale(1.05);
    box-shadow:
      0 7px 0 #7a0f0f,
      0 16px 44px rgba(255, 43, 43, 0.5),
      inset 0 3px 0 rgba(255, 255, 255, 0.45),
      inset 0 -4px 0 rgba(0, 0, 0, 0.15),
      0 0 36px 6px var(--red-glow);
  }
}

@keyframes gami-arcade-ring-pulse {
  0%, 100% { opacity: 0.85; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.02); }
}

/* ======================= STATS ======================= */
.stats {
  padding: 140px 0;
  background: var(--bg-1);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.stats::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 25% 50%, var(--red-glow-soft), transparent 55%),
    radial-gradient(ellipse 40% 40% at 75% 50%, rgba(0,212,126,0.08), transparent 55%);
  pointer-events: none;
}
.stats-quote {
  max-width: 820px;
  margin: 0 auto 72px;
  text-align: center;
  position: relative; z-index: 1;
}
.stats-quote blockquote {
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--fg);
  font-weight: 400;
}
.stats-quote .qmark {
  font-family: var(--sans);
  font-size: 80px;
  color: var(--red);
  line-height: 0.5;
  display: inline-block;
  margin-bottom: -20px;
  opacity: 0.4;
}
.stats-quote cite {
  display: block; font-style: normal;
  font-family: var(--mono); font-size: 12px;
  color: var(--fg-4);
  margin-top: 20px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.stats-compare {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
  align-items: stretch;
  position: relative; z-index: 1;
}
.stats-card {
  padding: 40px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: var(--bg-2);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.stats-card--hi {
  border-color: rgba(0,212,126,0.3);
  background: linear-gradient(180deg, rgba(0,212,126,0.06) 0%, var(--bg-2) 70%);
  box-shadow: 0 0 60px -20px rgba(0,212,126,0.3);
}
.stats-card--hi::before {
  content: 'WITH FYDELIA';
  position: absolute; top: 16px; right: 16px;
  font-family: var(--mono); font-size: 10px;
  color: var(--green);
  letter-spacing: 0.15em;
  padding: 4px 8px;
  background: rgba(0,212,126,0.1);
  border: 1px solid rgba(0,212,126,0.25);
  border-radius: 100px;
}
.stats-num {
  font-family: var(--sans);
  font-size: clamp(72px, 9vw, 120px);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 1;
}
.stats-card--hi .stats-num { color: var(--green); }
.stats-label {
  font-family: var(--mono); font-size: 12px;
  color: var(--fg-4);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 16px;
  line-height: 1.5;
}
.stats-vs {
  display: grid; place-items: center;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--fg-4);
  letter-spacing: 0.25em;
  font-weight: 500;
}
.stats-vs span {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--bg-3);
  border: 1px solid var(--line-2);
  display: grid; place-items: center;
}

/* ======================= WHY ======================= */
.why { padding: 140px 0; position: relative; }
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.why-card {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--bg-1);
  transition: all 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}
.why-card::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at var(--mx, 50%) var(--my, 0%), var(--red-glow-soft), transparent 50%);
  opacity: 0; transition: opacity 0.4s var(--ease);
  pointer-events: none;
}
.why-card:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.why-card:hover::before { opacity: 1; }

.why-num {
  font-family: var(--mono); font-size: 12px;
  color: var(--red);
  letter-spacing: 0.15em;
  margin-bottom: 14px;
  display: inline-flex; align-items: center; gap: 8px;
}
.why-num::before {
  content: ''; width: 18px; height: 1px; background: var(--red);
}
.why-card h3 { font-size: 22px; margin-bottom: 10px; }
.why-card p { font-size: 15px; color: var(--fg-3); line-height: 1.6; }

/* ======================= TESTIMONIALS ======================= */
.testi { padding: 120px 0; border-top: 1px solid var(--line); }
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
}
.testi-card {
  padding: 32px;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: 18px;
  display: flex; flex-direction: column; gap: 20px;
  transition: all 0.3s var(--ease);
}
.testi-card:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.testi-card blockquote {
  font-size: 16px;
  line-height: 1.55;
  color: var(--fg-2);
  flex: 1;
}
.testi-stars {
  display: flex; gap: 3px;
  color: var(--red);
  font-size: 14px;
}
.testi-author {
  display: flex; gap: 12px; align-items: center;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.testi-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(135deg, var(--bg-3), var(--bg-4));
  display: grid; place-items: center;
  font-weight: 600; font-size: 14px;
  color: var(--fg-2);
  border: 1px solid var(--line-2);
}
.testi-meta .n { font-weight: 500; font-size: 14px; color: var(--fg); }
.testi-meta .r { font-family: var(--mono); font-size: 11.5px; color: var(--fg-4); letter-spacing: 0.05em; }

/* ======================= CTA ======================= */
.cta-sec {
  padding: 140px 0;
  position: relative;
  overflow: hidden;
  /*border-top: 1px solid var(--line);*/
}
.cta-box {
  position: relative;
  padding: 80px 60px;
  border-radius: 28px;
  background:
    radial-gradient(ellipse 80% 100% at 50% 0%, rgba(255,43,43,0.15) 0%, transparent 60%),
    linear-gradient(180deg, var(--bg-1) 0%, var(--bg) 100%);
  border: 1px solid var(--line-strong);
  text-align: center;
  overflow: hidden;
}
.cta-box::before {
  content: ''; position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, var(--line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 50% 60% at 50% 40%, black 10%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 50% 60% at 50% 40%, black 10%, transparent 70%);
  pointer-events: none;
}
.cta-box::after {
  content: ''; position: absolute;
  top: -1px; left: 20%; right: 20%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
}
.cta-box > * { position: relative; }
.cta-box h2 { font-size: clamp(36px, 4.4vw, 64px); margin-bottom: 18px; }
.cta-box p { font-size: 18px; color: var(--fg-3); max-width: 520px; margin: 0 auto 36px; }

.cta-form {
  display: flex; gap: 8px;
  max-width: 480px;
  margin: 0 auto;
  padding: 6px;
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  border-radius: 14px;
}
.cta-form input {
  flex: 1;
  background: transparent; border: none; outline: none;
  font-family: var(--mono);
  font-size: 14.5px;
  color: var(--fg);
  padding: 10px 14px;
}
.cta-form input::placeholder { color: var(--fg-4); }

.cta-meta {
  margin-top: 24px;
  font-family: var(--mono); font-size: 12px;
  color: var(--fg-4);
  letter-spacing: 0.1em;
}

/* ======================= FOOTER ======================= */
footer.ft {
  padding: 80px 0 40px;
  border-top: 1px solid var(--line);
  background: var(--bg-1);
}
footer.ft.band-dark {
  background-color: #0A0A0C;
  border-top: none;
}
.ft-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}
.ft-brand-col .brand { margin-bottom: 18px; font-size: 20px; }
.ft-brand-col p { font-size: 14px; color: var(--fg-4); max-width: 260px; }
.ft-col h4 {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--fg-3);
  margin-bottom: 18px;
  font-weight: 500;
}
.ft-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.ft-col a { color: var(--fg-3); font-size: 14px; transition: color 0.2s; }
.ft-col a:hover { color: var(--fg); }

.ft-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 30px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 12px;
  color: var(--fg-4);
  letter-spacing: 0.05em;
}

/* Centered smaller footer social icons */
.ft-social-centered {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
  margin-bottom: 8px;
  width: 100%;
}
.ft-social-link-small {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: var(--fg-4);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.25s var(--ease);
}
.ft-social-link-small svg {
  width: 13px;
  height: 13px;
}
.ft-social-link-small:hover {
  color: var(--red);
  background: rgba(255, 43, 43, 0.1);
  border-color: var(--red);
  transform: translateY(-2px);
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .adcards-grid, .flash-grid, .sr-layout, .hw-grid, .gami-grid { grid-template-columns: 1fr; gap: 48px; }
  .gami-text .gami-arcade-btn { display: block; width: fit-content; margin-left: auto; margin-right: auto; }
  .why-grid { grid-template-columns: 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
  .stats-compare { grid-template-columns: 1fr; }
  .stats-vs { order: 2; }
  .sr-sticky { position: relative; top: 0; height: auto; min-height: 400px; }
  .sr-step { min-height: auto; padding: 20px 0; opacity: 1; }
  .ft-grid { grid-template-columns: 1fr 1fr; }
  .hw-list { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .hero-stage {
    display: none;
  }
}

@media (max-width: 580px) {
  .hero-form {
    flex-direction: column;
    background: transparent;
    border: none;
    padding: 0;
    gap: 12px;
  }
  .hero-form-field {
    background: var(--bg-2);
    border: 1px solid var(--line-2);
    border-radius: 12px;
    width: 100%;
    padding: 4px 12px;
  }
  .hero-form button {
    width: 100%;
    justify-content: center;
    height: 48px;
    border-radius: 12px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: clamp(36px, 10vw, 48px);
  }
}
