/* BetPulse — Home + Nav */

@import url("https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Manrope:wght@400;500;600;700&display=swap");

:root {
  --color-bg: #000000;
  --color-fg: #ffffff;
  --color-muted: #b8b8b8;
  --color-red: #e10600;
  --color-red-bright: #ff1a1a;
  --color-red-deep: #6b0000;
  --nav-height: 72px;
  --font-display: "Bebas Neue", Impact, Haettenschweiler, sans-serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;
  --ease: 200ms ease;
  --max-width: 1200px;
  /* Sub-1200 image scale: 1px on desktop; fluid vw/1200 below 1200px */
  --bp-unit: 1px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  color: var(--color-fg);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  background-color: var(--color-bg);
  background-image: url("../images/desktop/bg-1.png");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: 100% auto;
}

/* Per-section backdrops — each section uses its own folder's bg.png */
.home,
.about,
.why,
.platforms,
.performance,
.services,
.packages,
.stats,
.faq,
.contact {
  background-color: var(--color-bg);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 100% 100%;
}

.home {
  background-image: none;
  aspect-ratio: 1920 / 1470;
}

.home::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url("../images/desktop/sec1/bg.png") center center / 100% 100% no-repeat;
  filter: brightness(1.4) saturate(1.25) contrast(1.05);
  pointer-events: none;
}

.about {
  background-image: none;
  aspect-ratio: auto;
}

.why {
  background-image: url("../images/desktop/sec3_why betpluse/bg.png");
  aspect-ratio: 1920 / 984;
}

.platforms {
  background-image: url("../images/desktop/sec4_platforms/bg.png");
  aspect-ratio: 1920 / 1298;
}

.performance {
  background-image: url("../images/desktop/sec5_proven performance/bg.png");
  aspect-ratio: 1920 / 1263;
}

.services {
  background-image: url("../images/desktop/sec6_our service/bg.png");
  aspect-ratio: 1920 / 3287;
  background-size: 100% 100%;
  background-position: center;
}

.packages {
  background-image: url("../images/desktop/sec7_our package/bg.png");
  aspect-ratio: 1920 / 1541;
  background-size: 100% 100%;
  background-position: center;
}

.stats {
  background-image: url("../images/desktop/sec8_performance number/bg.png");
  aspect-ratio: 1920 / 1011;
}

.faq {
  background-image: url("../images/desktop/sec9_FAQ/bg.png");
  aspect-ratio: 1920 / 1154;
}

.contact {
  background-image: url("../images/desktop/sec10_contact us/bg.png");
  aspect-ratio: 1920 / 1424;
}

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

/* picture must keep a box so <source media> selection works (display:contents breaks it) */
picture {
  display: block;
  max-width: 100%;
  line-height: 0;
}

picture > img {
  max-width: 100%;
}

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

ul {
  list-style: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ——— Sticky Nav ——— */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  background-color: var(--color-bg);
  background-image: url("../images/desktop/_header/header.png");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: 100% 100%;
}

.navbar__inner {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.navbar__logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  transition: opacity var(--ease);
}

.navbar__logo:hover {
  opacity: 0.85;
}

.navbar__logo img {
  height: max(30px, calc(36 * var(--bp-unit)));
  width: auto;
}

.navbar__links {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2.25rem);
}

.navbar__links a {
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--color-fg);
  transition: color var(--ease);
  position: relative;
}

.navbar__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: var(--color-red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--ease);
}

.navbar__links a:hover,
.navbar__links a:focus-visible {
  color: var(--color-red-bright);
}

.navbar__links a:hover::after,
.navbar__links a:focus-visible::after,
.navbar__links a.is-active::after {
  transform: scaleX(1);
}

.navbar__links a:focus-visible {
  outline: 2px solid var(--color-red);
  outline-offset: 4px;
}

.navbar__cta {
  flex-shrink: 0;
  display: inline-flex;
  transition: transform var(--ease), filter var(--ease);
}

.navbar__cta:hover {
  transform: translateY(-1px);
  filter: brightness(1.1);
}

.navbar__cta:focus-visible {
  outline: 2px solid var(--color-red);
  outline-offset: 4px;
}

.navbar__cta img {
  height: max(32px, calc(40 * var(--bp-unit)));
  width: auto;
}

.navbar__toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  background: #1a1a1a;
}

.navbar__toggle:focus-visible {
  outline: 2px solid var(--color-red);
  outline-offset: 2px;
}

/* Vertical 3-dot (kebab) menu — matches mobile guide */
.navbar__toggle-bar {
  display: block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--color-fg);
  position: relative;
  transition: background var(--ease);
}

.navbar__toggle-bar::before,
.navbar__toggle-bar::after {
  content: "";
  position: absolute;
  left: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--color-fg);
  transition: transform var(--ease), top var(--ease), width var(--ease),
    height var(--ease), left var(--ease), border-radius var(--ease);
}

.navbar__toggle-bar::before {
  top: -7px;
}

.navbar__toggle-bar::after {
  top: 7px;
}

.navbar.is-open .navbar__toggle-bar {
  background: transparent;
}

.navbar.is-open .navbar__toggle-bar::before {
  top: 0;
  left: -7px;
  width: 18px;
  height: 2px;
  border-radius: 1px;
  transform: rotate(45deg);
}

.navbar.is-open .navbar__toggle-bar::after {
  top: 0;
  left: -7px;
  width: 18px;
  height: 2px;
  border-radius: 1px;
  transform: rotate(-45deg);
}

/* ——— Home / Hero ——— */

.home {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--nav-height);
}

.home__content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1440px;
  margin: -30vh auto 0;
  padding: clamp(1.25rem, 4vw, 3rem);
}

.home__title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.home__title-img {
  display: block;
  height: auto;
}

.home__title-img--1 {
  width: clamp(min(82vw, 400px), calc(560 * var(--bp-unit)), 560px);
}

.home__title-img--2 {
  width: clamp(min(96vw, 540px), calc(760 * var(--bp-unit)), 760px);
  filter: drop-shadow(0 0 18px rgba(225, 6, 0, 0.45));
  /* margin (not padding) so the image box keeps intrinsic aspect */
  margin-bottom: 1.5rem;
}

.home__subtitle {
  display: block;
  width: clamp(min(80vw, 340px), calc(440 * var(--bp-unit)), 440px);
  height: auto;
  margin-bottom: 3.5rem; /* was 2rem margin + 1.5rem padding */
  opacity: 0.95;
}

.home__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
  transition: transform var(--ease), box-shadow var(--ease), filter var(--ease);
}

.home__cta picture {
  display: block;
  line-height: 0;
}

.home__cta img {
  display: block;
  width: clamp(min(60vw, 250px), calc(300 * var(--bp-unit)), 300px);
  height: auto;
}

.home__cta:hover {
  transform: translateY(-2px);
  filter: brightness(1.08) drop-shadow(0 0 16px rgba(225, 6, 0, 0.55));
}

.home__cta:focus-visible {
  outline: 2px solid var(--color-fg);
  outline-offset: 3px;
}

.home__social {
  position: fixed;
  right: 2rem;
  bottom: 1.75rem;
  z-index: 900;
  display: flex;
  flex-direction: column;
  /* 0.75rem × former container scale 1.2 */
  gap: 0.9rem;
}

.home__social a {
  /* 56px × former container scale 1.2 */
  width: calc(67.2 * var(--bp-unit));
  height: calc(67.2 * var(--bp-unit));
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: transform var(--ease), filter var(--ease);
  filter: drop-shadow(0 0 8px rgba(0, 0, 0, 0.5));
}

.home__social a:hover {
  transform: scale(1.08);
  filter: drop-shadow(0 0 12px rgba(225, 6, 0, 0.5));
}

.home__social a:focus-visible {
  outline: 2px solid var(--color-red);
  outline-offset: 3px;
}

.home__social img {
  /* 52px × former container scale 1.2 */
  width: calc(62.4 * var(--bp-unit));
  height: calc(62.4 * var(--bp-unit));
  object-fit: contain;
}

/* ——— Scroll reveal (gated by .js-ready) ——— */

.js-ready [data-reveal] {
  opacity: 0;
  transition:
    transform 0.85s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.65s ease,
    filter 0.7s ease;
  transition-delay: 0s;
  will-change: transform, opacity;
}

.js-ready [data-reveal="fade"] {
  transform: none;
}

.js-ready [data-reveal="up"] {
  transform: translateY(36px);
}

.js-ready [data-reveal="left"] {
  transform: translateX(-72px);
}

.js-ready [data-reveal="right"] {
  transform: translateX(72px);
}

.js-ready [data-reveal="zoom"] {
  transform: scale(0.88);
}

.js-ready [data-reveal].is-revealed {
  opacity: 1;
  transform: none;
  filter: none;
}

.js-ready [data-reveal-delay="1"].is-revealed {
  transition-delay: 0.1s;
}

.js-ready [data-reveal-delay="2"].is-revealed {
  transition-delay: 0.2s;
}

.js-ready [data-reveal-delay="3"].is-revealed {
  transition-delay: 0.3s;
}

.js-ready [data-reveal-delay="4"].is-revealed {
  transition-delay: 0.4s;
}

.js-ready [data-reveal-delay="5"].is-revealed {
  transition-delay: 0.5s;
}

.js-ready .home__title[data-reveal="left"]:not(.is-revealed) {
  transform: translateX(-100px) scale(0.94);
  filter: blur(8px);
}

.js-ready .home__subtitle[data-reveal="left"]:not(.is-revealed),
.js-ready .home__cta[data-reveal="left"]:not(.is-revealed) {
  transform: translateX(-80px) scale(0.96);
  filter: blur(6px);
}

.js-ready .home__cta[data-reveal].is-revealed:hover {
  transform: translateY(-3px) scale(1.04);
  filter: brightness(1.12) drop-shadow(0 0 18px rgba(225, 6, 0, 0.65));
}

.js-ready .why__card[data-reveal].is-revealed:hover {
  transform: translateY(-4px);
  filter:
    brightness(1.3)
    saturate(1.4)
    drop-shadow(0 0 10px rgba(255, 26, 26, 0.65))
    drop-shadow(0 0 24px rgba(225, 6, 0, 0.45));
}

.js-ready .contact__heading[data-reveal="zoom"] {
  transform: translateY(28px) scale(0.86);
}

.js-ready .contact__eyebrow[data-reveal="up"] {
  transform: translateY(-48px);
}

.js-ready .contact__cta[data-reveal].is-revealed:hover {
  transform: translateY(-4px) scale(1.04);
  filter: brightness(1.12) drop-shadow(0 0 22px rgba(225, 6, 0, 0.7));
}

.js-ready .services__row[data-reveal="left"]:not(.is-revealed) {
  transform: translateX(-12%);
}

.js-ready .services__row[data-reveal="right"]:not(.is-revealed) {
  transform: translateX(12%);
}

/* Preserve absolute centering on About overlays */
.js-ready .about__title[data-reveal],
.js-ready .about__title[data-reveal].is-revealed {
  transform: translateX(-50%);
}

.js-ready .about__crown[data-reveal],
.js-ready .about__crown[data-reveal].is-revealed {
  transform: translate(-50%, -50%);
}

/* ——— About Us ——— */

.about {
  position: relative;
  padding: clamp(2.5rem, 6vh, 4.5rem) 1.5rem clamp(4rem, 8vh, 6rem);
}

.about__inner {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.about__visual {
  position: relative;
  width: min(1200px, 100%);
  margin: 0 auto;
}

.about__scene {
  display: block;
  width: 100%;
  height: auto;
  user-select: none;
  pointer-events: none;
}

.about__title {
  position: absolute;
  top: 4.5%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: block;
  width: 15.8%;
  max-width: none;
  height: auto;
  margin: 0;
  padding: 0;
  filter: drop-shadow(0 0 16px rgba(225, 6, 0, 0.4));
}

.about__crown {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  display: block;
  /* Match the crown's 300px width to the 1920px scene at every viewport. */
  width: 15.625%;
  max-width: none;
  height: auto;
  margin: 0;
  pointer-events: none;
  user-select: none;
  filter: drop-shadow(0 0 24px rgba(225, 6, 0, 0.45));
}

.about__footer {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: min(920px, 92%);
  margin: -21% auto 0;
  padding-bottom: 15%;
}

.about__topic {
  display: block;
  /* Former min(292px, 55vw) × scale 0.7 → layout matches visual size */
  width: min(204.4px, 38.5vw);
  height: auto;
  margin: 0 auto calc(7% + clamp(1rem, 2vw, 1.5rem));
}

.about__copy {
  display: block;
  width: min(820px, 100%);
  height: auto;
  margin: 0 auto;
}

/* ——— Why BetPulse ——— */

.why {
  position: relative;
  padding: clamp(4rem, 10vh, 7rem) 1.5rem clamp(5rem, 12vh, 8rem);
}

.why__inner {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.why__title {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: clamp(2rem, 4vh, 3rem);
}

.why__title-img {
  display: block;
  width: clamp(min(88vw, 280px), calc(560 * var(--bp-unit)), 560px);
  height: auto;
  filter: drop-shadow(0 0 14px rgba(225, 6, 0, 0.35));
}

/* Desktop: wrappers are transparent so the 4-col grid stays unchanged */
.why__carousel {
  width: 100%;
}

.why__viewport {
  width: 100%;
}

.why__grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(0.75rem, 2vw, 1.5rem);
  list-style: none;
}

.why__card {
  display: flex;
  transition: transform 250ms ease, filter 250ms ease;
}

/* Loop clones exist in the DOM for mobile — hide extras on desktop grid */
.why__grid > .why__card:nth-child(n + 5) {
  display: none;
}

.why__card img {
  width: 100%;
  height: auto;
  border-radius: 1.5rem;
}

.why__card:hover {
  transform: translateY(-4px);
  filter:
    brightness(1.3)
    saturate(1.4)
    drop-shadow(0 0 10px rgba(255, 26, 26, 0.65))
    drop-shadow(0 0 24px rgba(225, 6, 0, 0.45));
}

.why__dots {
  display: none;
}

/* ——— Platforms ——— */

.platforms {
  position: relative;
  padding: clamp(3rem, 8vh, 5rem) 1.5rem clamp(4rem, 10vh, 6rem);
  overflow: hidden;
  /* Carousel sizing — fluid below 1200 via --bp-unit; desktop caps match prior px */
  --platform-w: clamp(48px, calc(96 * var(--bp-unit)), 96px);
  --platform-h: clamp(58px, calc(114 * var(--bp-unit)), 114px);
  --platform-active-scale: 1.75;
  --platform-gap: clamp(0.45rem, 1.2vw, 1rem);
  --platform-arrow-size: clamp(34px, calc(56 * var(--bp-unit)), 56px);
  --platform-arrow-img: clamp(26px, calc(48 * var(--bp-unit)), 48px);
  --platform-carousel-min-h: clamp(140px, calc(240 * var(--bp-unit)), 240px);
  --platform-viewport-min-h: clamp(120px, calc(220 * var(--bp-unit)), 220px);
  --platform-viewport-max: min(900px, calc(900 * var(--bp-unit)));
  --platform-viewport-flex: min(800px, calc(800 * var(--bp-unit)));
  --platform-footer-overlap: calc(-80 * var(--bp-unit));
}

.platforms__inner {
  position: relative;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.platforms__carousel {
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: var(--platform-carousel-min-h);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.25rem, 0.8vw, 0.5rem);
  padding: 0;
}

.platforms__viewport {
  /* ~7 icons: 3 side + active center + 3 side */
  flex: 0 1 var(--platform-viewport-flex);
  width: 100%;
  max-width: var(--platform-viewport-max);
  overflow: hidden;
  min-height: var(--platform-viewport-min-h);
  display: flex;
  align-items: center;
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 8%,
    #000 92%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 8%,
    #000 92%,
    transparent 100%
  );
}

.platforms__track {
  display: flex;
  align-items: center;
  gap: var(--platform-gap);
  /* max-content avoids 120vw expanding document scrollWidth; setTransform() uses item offsets */
  width: max-content;
  will-change: transform;
  transition: transform 1.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.platforms__item {
  flex: 0 0 auto;
  width: var(--platform-w);
  height: var(--platform-h);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transform: scale(1);
  margin-inline: 0;
  /* Enlarge with scale; active adds margin so side gap grows — layout box stays for setTransform() */
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    margin 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.platforms__item > picture {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.platforms__item.is-active {
  /* 50% larger gap vs neighbors: gap + 0.5*gap each side = 1.5× track gap */
  margin-inline: calc(var(--platform-gap) * 0.5);
  transform: scale(var(--platform-active-scale));
  z-index: 3;
}

.platforms__icon {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.platforms__icon--bright {
  display: none;
}

.platforms__icon--dark {
  display: block;
  opacity: 0.85;
}

.platforms__item.is-active .platforms__icon--bright {
  display: block;
  filter: drop-shadow(0 0 20px rgba(225, 6, 0, 0.7));
}

.platforms__item.is-active .platforms__icon--dark {
  display: none;
}

.platforms__arrow {
  flex-shrink: 0;
  width: var(--platform-arrow-size);
  height: var(--platform-arrow-size);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  transition: transform var(--ease), opacity var(--ease);
  opacity: 0.9;
}

.platforms__arrow img {
  width: var(--platform-arrow-img);
  height: var(--platform-arrow-img);
  object-fit: contain;
}

.platforms__arrow:hover {
  transform: scale(1.08);
  opacity: 1;
}

.platforms__arrow:focus-visible {
  outline: 2px solid var(--color-red);
  outline-offset: 3px;
}

.platforms__footer {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: var(--platform-footer-overlap);
}

.platforms__hand {
  /* Former min(300px, 56vw) × scale 1.3 */
  width: min(calc(390 * var(--bp-unit)), 72.8vw);
  height: auto;
  margin-top: 15%;
  transform: translateY(clamp(-3.5rem, -4vw, -2rem));
  pointer-events: none;
}

.platforms__title {
  display: none;
  position: relative;
  z-index: 2;
  width: min(78vw, 320px);
  margin: 0 auto clamp(1.25rem, 4vw, 2rem);
}

.platforms__title img {
  width: 100%;
  height: auto;
}

.platforms__title-accent {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1;
  background: linear-gradient(180deg, #ff3b3b 0%, #e10600 50%, #9a0000 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 14px rgba(225, 6, 0, 0.35));
}

.platforms__title-sub {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.2rem, 2.6vw, 1.85rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-fg);
  line-height: 1.15;
}

/* ——— Proven Performance ——— */

.performance {
  position: relative;
  padding: clamp(4rem, 10vh, 7rem) 1.5rem clamp(5rem, 12vh, 8rem);
  overflow: hidden;
}

.performance__inner {
  position: relative;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) 1.15fr;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3rem);
}

.performance__intro {
  position: relative;
  z-index: 3;
}

.performance__eyebrow {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-fg);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.performance__title {
  display: block;
  margin-bottom: 1.25rem;
}

.performance__title img {
  width: clamp(min(72vw, 240px), calc(380 * var(--bp-unit)), 380px);
  height: auto;
  filter: drop-shadow(0 0 16px rgba(225, 6, 0, 0.45));
}

.performance__copy {
  max-width: 42ch;
  font-size: clamp(0.9rem, 1.1vw, 1rem);
  line-height: 1.7;
  color: var(--color-muted);
}

.performance__stage {
  position: relative;
  z-index: 2;
  min-height: clamp(320px, 40vw, 460px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.performance__stack {
  position: relative;
  top: clamp(5rem, 10vw, 9rem);
  left: clamp(-4.5rem, -8vw, -2.5rem);
  z-index: 2;
  width: min(560px, 92%);
  aspect-ratio: 765 / 628;
  /* Same size per layer; guide-like up-right cascade */
  --perf-depth: 1;
  --win-x-back: calc(32% * var(--perf-depth));
  --win-y-back: calc(12% * var(--perf-depth));
  --win-x-mid: calc(16% * var(--perf-depth));
  --win-y-mid: calc(24% * var(--perf-depth));
  --win-x-front: 0%;
  --win-y-front: calc(36% * var(--perf-depth));
  --win-lift: calc(4% * var(--perf-depth));
}

.performance__window {
  position: absolute;
  inset: 0;
  transition:
    transform 2s cubic-bezier(0.16, 1, 0.3, 0.8),
    filter 0.9s ease;
}

.performance__window img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  /* Opaque fill so glass PNG edges don't reveal the card behind */
  background-color: #14030600;
}

.performance__window--back {
  transform: translate(var(--win-x-back), var(--win-y-back));
  z-index: 1;
  filter: brightness(0.9);
}

.performance__window--mid {
  transform: translate(var(--win-x-mid), var(--win-y-mid));
  z-index: 2;
  filter: brightness(0.96);
}

.performance__window--front {
  transform: translate(var(--win-x-front), var(--win-y-front));
  z-index: 3;
  filter: drop-shadow(0 18px 32px rgba(0, 0, 0, 0.5));
}

/* Windows only — logos stay outside so they always paint above the deck */
.performance__deck {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: visible;
}

.performance__stack.is-gsap-ready .performance__window {
  transition: none;
  will-change: transform;
  backface-visibility: hidden;
}

.performance__window--back:hover {
  transform: translate(var(--win-x-back), calc(var(--win-y-back) - var(--win-lift)));
}

.performance__window--mid:hover {
  transform: translate(var(--win-x-mid), calc(var(--win-y-mid) - var(--win-lift)));
}

.performance__window--front:hover {
  transform: translate(var(--win-x-front), calc(var(--win-y-front) - var(--win-lift)));
}

.performance__logo {
  position: absolute;
  z-index: 20;
  pointer-events: none;
  user-select: none;
  height: auto;
  transform-origin: center;
}

.performance__logo--google {
  left: -29%;
  top: 65%;
  width: 40%;
  transform: rotate(-8deg);
  filter:
    brightness(1.08)
    saturate(1.3)
    contrast(1.05)
    drop-shadow(0 12px 14px rgba(0, 0, 0, 0.75))
    drop-shadow(0 0 12px rgba(255, 52, 35, 0.45));
}

.performance__logo--tg {
  right: -36%;
  top: 55%;
  bottom: auto;
  width: 30%;
  transform: rotate(11deg);
  filter:
    brightness(1.12)
    saturate(1.35)
    contrast(1.05)
    drop-shadow(0 12px 14px rgba(0, 0, 0, 0.75))
    drop-shadow(0 0 13px rgba(29, 196, 255, 0.65));
}

/* ——— Our Service ——— */

.services {
  position: relative;
  padding: clamp(4rem, 8vh, 6rem) 1.5rem 0;
  overflow: visible;
}

.services__inner {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.services__title {
  display: block;
  width: clamp(min(62vw, 200px), calc(280 * var(--bp-unit)), 280px);
  height: auto;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  padding-bottom: 2rem;
  filter: drop-shadow(0 0 16px rgba(225, 6, 0, 0.4));
}

.services__list {
  /* Smooth 85% → 100% from 1200px down to ~700px (replaces 85/92/100 jumps) */
  width: min(100%, max(85%, calc(85% + 15% * (1200px - 100vw) / 500px)));
  display: flex;
  flex-direction: column;
  gap: clamp(5rem, 8vw, 6rem);
}

.services__row {
  position: relative;
  width: 100%;
}

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

/* Text overlays the empty half of each baked graphic */
.services__text {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42%;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.services__row--text-right .services__text {
  right: 4%;
  text-align: left;
}

.services__row--text-left .services__text {
  left: 4%;
  text-align: left;
}

.services__heading {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.4rem, 2.6vw, 2.25rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.05;
  color: var(--color-fg);
}

.services__copy {
  font-size: clamp(0.82rem, 1.15vw, 1rem);
  line-height: 1.6;
  color: var(--color-muted);
}

@media (max-width: 700px) {
  .services__text {
    width: 46%;
    gap: 0.4rem;
  }

  .services__copy {
    line-height: 1.4;
  }
}

@media (max-width: 480px) {
  .services__copy {
    display: none;
  }
}

/* ——— Our Package ——— */

.packages {
  position: relative;
  padding: clamp(4rem, 10vh, 7rem) 1.5rem clamp(4rem, 10vh, 6rem);
  overflow: visible;
}

.packages__inner {
  position: relative;
  width: 100%;
  max-width: 1080px;
  margin: clamp(2rem, 4vw, 4rem) auto 0;
  padding-top: 6rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.packages__title {
  position: relative;
  z-index: 2;
  display: block;
  width: clamp(min(64vw, 180px), calc(300 * var(--bp-unit)), 300px);
  height: auto;
  margin-bottom: clamp(1.5rem, 4vh, 2.75rem);
  filter: drop-shadow(0 0 16px rgba(225, 6, 0, 0.4));
}

.packages__rows {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(0.75rem, 2vw, 1.35rem);
}

.packages__row {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.5rem, 1vw, 0.875rem);
}

.packages__item {
  width: auto;
  height: clamp(2rem, 4.65vw, 3.3125rem);
  max-width: 100%;
  object-fit: contain;
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.35s ease;
  transform-origin: center;
}

.packages__item:hover {
  transform: scale(1.06);
  filter: brightness(1.35) drop-shadow(0 0 18px rgba(255, 35, 28, 0.7));
}

@media (max-width: 600px) {
  .packages__rows {
    gap: clamp(0.6rem, 2.2vw, 0.9rem);
  }

  .packages__row {
    gap: clamp(0.4rem, 1.5vw, 0.65rem);
  }

  .packages__item {
    height: clamp(2.4rem, 10vw, 3rem);
  }
}

/* ——— Performance That Speaks (stats) ——— */

.stats {
  position: relative;
  padding: clamp(3rem, 8vh, 5rem) 1.5rem clamp(4rem, 10vh, 6rem);
  overflow: hidden;
}

.stats__inner {
  position: relative;
  width: 100%;
  max-width: var(--max-width);
  margin: clamp(2rem, 4vw, 6rem) auto 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* scale: 0.9; */
}

.stats__float {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  user-select: none;
  opacity: 0.92;
  height: auto;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.55));
}

.stats__float--snack {
  left: -5%;
  top: 15%;
  /* Former min(11vw, 96px) × scale 2 */
  width: min(22vw, calc(192 * var(--bp-unit)));
  transform: rotate(-8deg);
}

.stats__float--tg {
  right: 5%;
  /* Desktop -45%; clamped safer below 1200 via media */
  bottom: -45%;
  /* Former min(9vw, 80px) × scale 1.5 */
  width: min(13.5vw, calc(120 * var(--bp-unit)));
  transform: rotate(6deg);
}

.stats__float--tiktok {
  right: 2%;
  top: 35%;
  /* Former min(7vw, 62px) × scale 1.5 */
  width: min(10.5vw, calc(93 * var(--bp-unit)));
  transform: rotate(10deg);
}

.stats__float--yt {
  left: 48%;
  top: 40%;
  /* Former min(5vw, 46px) × scale 1.5 */
  width: min(7.5vw, calc(69 * var(--bp-unit)));
  transform: rotate(-6deg);
}

.stats__float--x {
  left: 5%;
  bottom: -50%;
  /* Former min(4.5vw, 40px) × scale 1.5 */
  width: min(6.75vw, calc(60 * var(--bp-unit)));
  transform: rotate(8deg);
}

.stats__title {
  position: relative;
  z-index: 3;
  display: block;
  width: clamp(min(84vw, 280px), calc(520 * var(--bp-unit)), 520px);
  height: auto;
  margin-bottom: clamp(4rem, 8vh, 6rem);
  padding: 3rem 0;
  filter: drop-shadow(0 0 18px rgba(225, 6, 0, 0.45));
}

.stats__grid {
  position: relative;
  z-index: 2;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1rem, 3vw, 2rem);
}

.stats__item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 0;
}

.stats__value {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0.02em;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--color-fg);
  filter: drop-shadow(0 0 14px rgba(225, 6, 0, 0.5));
}

/* red.png sits as a glowing background halo behind each + / x / % symbol */
.stats__sym {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 0.4em;
  margin-top: 0.06em;
  align-self: flex-start;
}

.stats__sym picture {
  display: inline-flex;
  line-height: 0;
}

.stats__sym::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 4em;
  height: 4em;
  transform: translate(-50%, -50%);
  background: url("../images/desktop/sec8_performance number/red.png") center / contain no-repeat;
  z-index: 0;
  pointer-events: none;
}

.stats__sym img {
  position: relative;
  z-index: 1;
  height: 100%;
  width: auto;
  display: block;
}

.stats__label {
  position: relative;
  z-index: 1;
  display: block;
  width: auto;
  height: clamp(12px, 1.4vw, 16px);
}

@media (max-width: 700px) {
  .stats__float--x {
    opacity: 0.35;
  }
}

/* ——— FAQ ——— */

.faq {
  position: relative;
  padding: clamp(5rem, 15vh, 8rem) 1.5rem clamp(4rem, 10vh, 6rem);
}

.faq__inner {
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.faq__title {
  display: block;
  width: auto;
  height: clamp(40px, min(7vw, calc(66 * var(--bp-unit))), 66px);
  margin-bottom: clamp(1.75rem, 4vh, 3rem);
  filter: drop-shadow(0 0 16px rgba(225, 6, 0, 0.45));
}

.faq__list {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.faq__details {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(20, 4, 4, 0.55);
  padding: 0 clamp(1rem, 2.5vw, 1.75rem);
  transition: border-color 0.45s ease, box-shadow 0.45s ease, background 0.45s ease;
}

.faq__details.is-open {
  border-color: rgba(225, 6, 0, 0.7);
  background: linear-gradient(180deg, rgba(60, 6, 6, 0.6) 0%, rgba(20, 4, 4, 0.55) 100%);
  box-shadow:
    0 0 0 1px rgba(225, 6, 0, 0.4),
    0 0 26px rgba(225, 6, 0, 0.28);
}

.faq__q {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: clamp(0.9rem, 2vw, 1.25rem) 0;
  cursor: pointer;
  user-select: none;
}

.faq__q::-webkit-details-marker {
  display: none;
}

.faq__q-text {
  font-size: clamp(0.95rem, 1.4vw, 1.1rem);
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--color-fg);
  transition: color 0.35s ease;
}

.faq__details.is-open .faq__q-text {
  color: var(--color-red-bright);
}

.faq__icon {
  flex-shrink: 0;
  /* Floor 24px keeps a usable tap target below 1200 */
  width: clamp(24px, calc(26 * var(--bp-unit)), 26px);
  height: clamp(24px, calc(26 * var(--bp-unit)), 26px);
  background: url("../images/desktop/sec9_FAQ/down.png") center / contain no-repeat;
  transition: transform 0.35s ease, background-image 0.35s ease;
}

.faq__details.is-open .faq__icon {
  background-image: url("../images/desktop/sec9_FAQ/up.png");
}

.faq__q:focus-visible {
  outline: 2px solid var(--color-red);
  outline-offset: 4px;
  border-radius: 8px;
}

.faq__a {
  overflow: hidden;
  padding: 0 0 clamp(1rem, 2.2vw, 1.35rem);
}

.faq__a p {
  font-size: clamp(0.85rem, 1.2vw, 0.98rem);
  line-height: 1.7;
  color: var(--color-muted);
  max-width: 68ch;
}

@media (prefers-reduced-motion: reduce) {
  .faq__details,
  .faq__q-text,
  .faq__icon {
    transition: none;
  }
}

/* ——— Contact Us / CTA ——— */

.contact {
  position: relative;
  padding: clamp(7rem, 17vw, 20rem) 1.5rem clamp(5rem, 10vw, 12rem);
  overflow: hidden;
}

.contact__glow {
  position: absolute;
  left: 50%;
  bottom: -10%;
  width: min(900px, 120vw, calc(900 * var(--bp-unit)));
  height: 60%;
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(
    ellipse 50% 60% at 50% 100%,
    rgba(225, 6, 0, 0.4) 0%,
    rgba(225, 6, 0, 0.12) 40%,
    transparent 72%
  );
}

.contact__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.contact__eyebrow {
  display: block;
  width: clamp(min(60vw, 160px), calc(250 * var(--bp-unit)), 250px);
  height: auto;
  margin-bottom: clamp(3rem, 7vw, 5rem);
  filter: drop-shadow(0 0 14px rgba(225, 6, 0, 0.45));
}

.contact__heading {
  display: block;
  width: clamp(min(88vw, 280px), calc(550 * var(--bp-unit)), 550px);
  height: auto;
  margin-bottom: clamp(1.25rem, 3vw, 2rem);
  padding-bottom: 2rem;
  filter: drop-shadow(0 0 22px rgba(225, 6, 0, 0.4));
}

.contact__sub {
  display: block;
  width: clamp(min(82vw, 240px), calc(460 * var(--bp-unit)), 460px);
  height: auto;
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
  opacity: 0.95;
}

.contact__cta {
  display: inline-flex;
  transition: transform var(--ease), filter var(--ease);
}

.contact__cta img {
  width: clamp(min(72vw, 200px), calc(300 * var(--bp-unit)), 300px);
  height: auto;
}

.contact__cta:hover {
  transform: translateY(-2px);
  filter: brightness(1.08) drop-shadow(0 0 18px rgba(225, 6, 0, 0.6));
}

.contact__cta:focus-visible {
  outline: 2px solid var(--color-fg);
  outline-offset: 4px;
}

/* ——— Terms & Conditions ——— */

.terms {
  position: relative;
  padding: clamp(4.5rem, 10vw, 8rem) 1.5rem;
  background:
    radial-gradient(ellipse 70% 35% at 50% 0%, rgba(120, 0, 0, 0.2), transparent 75%),
    linear-gradient(180deg, #120202 0%, #050000 45%, #000 100%);
}

.terms__inner {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
}

.terms__title {
  margin-bottom: clamp(1.25rem, 3vw, 2rem);
  font-size: clamp(1.6rem, 2.8vw, 2.25rem);
  line-height: 1;
  letter-spacing: 0.02em;
}

.terms__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(3rem, 8vw, 7rem);
}

.terms__column {
  display: flex;
  flex-direction: column;
  gap: clamp(2rem, 4vw, 3.5rem);
}

.terms__block h3 {
  width: fit-content;
  margin-bottom: 1rem;
  border-bottom: 1px solid currentColor;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.25;
  text-transform: uppercase;
}

.terms__block p,
.terms__block li {
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(0.88rem, 1.25vw, 1rem);
  line-height: 1.55;
}

.terms__block > p {
  margin-bottom: 0.35rem;
}

.terms__block ul {
  padding-left: 1.1rem;
}

.terms__block li + li {
  margin-top: 0.65rem;
}

.terms__block ul ul {
  margin-top: 0.3rem;
  padding-left: 1.25rem;
  list-style-type: "-  ";
}

.terms__block strong {
  color: var(--color-fg);
}

@media (max-width: 700px) {
  .terms__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .terms__column {
    gap: 2rem;
  }
}

/* ——— Responsive ——— */

/* Tablet / iPad Pro: lift title + stack so the card drop isn't cropped */
@media (max-width: 1399px) {
  .performance {
    padding-bottom: clamp(7rem, 14vh, 12rem);
  }

  .performance__inner {
    align-items: start;
    padding-top: clamp(0.5rem, 2vw, 1.5rem);
  }

  .performance__intro {
    margin-top: clamp(0.25rem, 1.5vw, 1rem);
  }

  .performance__title {
    margin-bottom: 0.75rem;
  }

  .performance__stage {
    min-height: clamp(380px, 48vw, 560px);
  }

  .performance__stack {
    top: clamp(1rem, 3.5vw, 3.5rem);
  }

  .performance__logo--google {
    top: 52%;
  }

  .performance__logo--tg {
    top: 42%;
  }
}

@media (max-width: 1199px) {
  :root {
    --bp-unit: calc(100vw / 1200);
  }

  .why,
  .platforms,
  .performance,
  .stats,
  .faq,
  .contact {
    aspect-ratio: auto;
    background-size: cover;
    background-position: center;
  }

  .packages {
    aspect-ratio: auto;
    min-height: 80.2604vw;
    background-size: 100% auto;
    background-position: center top;
  }

  .performance {
    min-height: 65.78125vw;
  }

  .why__grid {
    gap: 0.85rem;
  }

  .stats__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(1.75rem, 4vw, 2.75rem) clamp(1rem, 3vw, 2rem);
  }

  .stats__value {
    font-size: clamp(2.1rem, 4vw, 3rem);
  }

  .stats__float--tg {
    bottom: -25%;
  }

  .stats__float--x {
    bottom: -28%;
  }

  .performance__stage {
    min-height: clamp(400px, 53vw, 640px);
  }

  .performance__stack {
    width: min(92%, calc(560 * var(--bp-unit)));
    /* Unitless depth so translate % offsets scale with viewport */
    --perf-depth: clamp(0.45, calc(100vw / 1200px), 1);
  }

  .faq,
  .contact,
  .terms {
    padding-top: clamp(3.5rem, 8vw, 6rem);
    padding-bottom: clamp(3rem, 7vw, 5rem);
  }
}

@media (max-width: 900px) {
  .navbar__toggle {
    display: inline-flex;
  }

  .navbar__cta {
    display: none;
  }

  .navbar__links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 0;
    background: rgba(0, 0, 0, 0.96);
    border-bottom: 1px solid rgba(225, 6, 0, 0.3);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: transform var(--ease), opacity var(--ease), visibility var(--ease);
  }

  .navbar.is-open .navbar__links {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .navbar__links a {
    padding: 0.9rem 1.5rem;
    font-size: 1.1rem;
  }

  .navbar__links a::after {
    display: none;
  }

  /* Mobile section backgrounds — native image size (750×H), full art, no cover crop */
  .home::before {
    background-image: url("../images/mobile/sec1/bg.png");
    background-size: 100% 100%;
    background-position: center top;
  }

  .why {
    background-image: url("../images/mobile/sec3_why betpluse/bg.png");
    aspect-ratio: 750 / 1076;
    min-height: unset;
    background-size: 100% 100%;
    background-position: center top;
  }

  .platforms {
    background-image: url("../images/mobile/sec4_platforms/bg.png");
    aspect-ratio: 750 / 1252;
    min-height: unset;
    background-size: 100% 100%;
    background-position: center top;
  }

  .performance {
    background-image: url("../images/mobile/sec5_proven performance/bg.png");
    aspect-ratio: 750 / 1297;
    min-height: unset;
    background-size: 100% 100%;
    background-position: center top;
  }

  .services {
    background-image: url("../images/mobile/sec6_our service/bg.png");
    aspect-ratio: 750 / 2774;
    min-height: unset;
    background-size: 100% 100%;
    background-position: center top;
  }

  .packages {
    background-image: url("../images/mobile/sec7_our package/bg.png");
    aspect-ratio: 750 / 1249;
    min-height: unset;
    background-size: 100% 100%;
    background-position: center top;
  }

  .stats {
    background-image: url("../images/mobile/sec8_performance number/bg.png");
    aspect-ratio: 750 / 1533;
    min-height: unset;
    background-size: 100% 100%;
    background-position: center top;
  }

  .faq {
    background-image: url("../images/mobile/sec9_FAQ/bg.png");
    aspect-ratio: 750 / 1108;
    min-height: unset;
    background-size: 100% 100%;
    background-position: center top;
  }

  .contact {
    background-image: url("../images/mobile/sec10_contact us/bg.png");
    aspect-ratio: 750 / 2201;
    min-height: unset;
    background-size: 100% 100%;
    background-position: center top;
  }

  .faq__icon {
    background-image: url("../images/mobile/sec9_FAQ/down.png");
  }

  .faq__details.is-open .faq__icon {
    background-image: url("../images/mobile/sec9_FAQ/up.png");
  }

  .home {
    aspect-ratio: 750 / 1583;
    min-height: unset;
    align-items: flex-start;
  }

  /* Mobile About — guide stack: ABOUT US → graphic → WHO WE ARE → copy */
  .about {
    aspect-ratio: auto;
    padding: 0 0 clamp(3rem, 8vh, 5rem);
    background-color: #000;
  }

  .about__inner {
    width: 100%;
    max-width: 100%;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .about__visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    width: 100%;
    max-width: none;
    margin: 0;
  }

  /* ABOUT US sits just above the crown on the graphic */
  .about__visual > picture:has(.about__title) {
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    width: min(34vw, 140px);
    margin: 0;
    z-index: 3;
  }

  .about__visual > picture:has(.about__scene) {
    width: 100%;
    order: 0;
  }

  .about__title {
    position: static;
    left: auto;
    top: auto;
    transform: none;
    width: 100%;
    margin: 0;
    z-index: 2;
  }

  .js-ready .about__title[data-reveal],
  .js-ready .about__title[data-reveal].is-revealed,
  .js-ready .about__title[data-reveal="fade"]:not(.is-revealed) {
    transform: none;
  }

  /* Intrinsic size only — no stretch */
  .about__scene {
    display: block;
    width: 100%;
    max-width: none;
    height: auto;
    aspect-ratio: auto;
    order: 0;
  }

  /* Crown on the standing red pawn */
  .about__crown {
    top: 22%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(18%, 96px);
  }

  .js-ready .about__crown[data-reveal],
  .js-ready .about__crown[data-reveal].is-revealed {
    transform: translate(-50%, -50%);
  }

  /* Pull into the black lower area of the bg so the stack matches the guide */
  .about__footer {
    position: relative;
    z-index: 2;
    width: min(90%, 400px);
    margin: calc(-100vw * 1272 / 750 * 0.46) auto 0;
    padding: 0 1.25rem;
  }

  .about__topic {
    width: min(40vw, 170px);
    margin: 0 auto 1.35rem;
  }

  .about__copy {
    width: min(88vw, 380px);
  }

  body {
    background-image: none;
  }

  .home__veil {
    display: none;
  }

  .home__content {
    padding: clamp(1.5rem, 5vw, 2.5rem) clamp(1.25rem, 4vw, 2rem) 0;
    margin-top: 0;
  }

  .home__title-img--1 {
    width: clamp(min(88vw, 280px), 72vw, 340px);
  }

  .home__title-img--2 {
    width: clamp(min(80vw, 250px), 64vw, 300px);
    margin-bottom: 1rem;
  }

  .home__subtitle {
    width: clamp(min(88vw, 280px), 72vw, 340px);
    margin-bottom: 2rem;
  }

  .home__cta img {
    width: clamp(min(70vw, 220px), 58vw, 280px);
  }

  .home__social {
    right: 0.75rem;
    bottom: 1rem;
    gap: 0.5rem;
  }

  .home__social a {
    width: 48px;
    height: 48px;
  }

  .home__social img {
    width: 44px;
    height: 44px;
  }

  .why__title-img {
    width: min(78vw, 340px);
  }

  /* Full-bleed carousel — remove side padding so peek cards aren't covered by a black strip */
  .why {
    padding-left: 0;
    padding-right: 0;
  }

  .why__title {
    padding: 0 1.25rem;
  }

  .why__carousel {
    width: 100%;
    max-width: 100%;
  }

  .why__viewport {
    width: 100%;
    overflow: hidden;
  }

  .why__grid {
    display: flex;
    grid-template-columns: none;
    gap: 0.75rem;
    width: max-content;
    will-change: transform;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .why__card {
    flex: 0 0 auto;
    display: flex;
    width: min(48vw, 200px);
  }

  .why__grid > .why__card:nth-child(n + 5) {
    display: flex;
  }

  .why__card:hover {
    transform: none;
    filter: none;
  }

  .why__card img {
    border-radius: 1.25rem;
    filter: none;
    transition: filter 0.35s ease;
  }

  /* Active (slid-to) card — brighter than original */
  .why__card.is-active img {
    filter:
      brightness(1.25)
      saturate(1.15)
      drop-shadow(0 0 14px rgba(225, 6, 0, 0.45));
  }

  .why__dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    margin-top: clamp(1.5rem, 5vw, 2.25rem);
    padding: 0 1.25rem;
  }

  .why__dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border-radius: 50%;
    background: #3a3a3a;
    transition: background var(--ease), transform var(--ease);
  }

  .why__dot.is-active {
    background: var(--color-red-bright);
    transform: scale(1.15);
  }

  .why__dot:focus-visible {
    outline: 2px solid var(--color-red);
    outline-offset: 3px;
  }

  .platforms__title {
    display: block;
    width: min(72vw, 290px);
    margin: 0 auto clamp(1.25rem, 4vw, 2rem);
  }

  .platforms {
    --platform-w: clamp(72px, 19vw, 96px);
    --platform-h: clamp(86px, 23vw, 114px);
    --platform-active-scale: 1.65;
    --platform-gap: clamp(0.65rem, 2.5vw, 1rem);
    --platform-carousel-min-h: clamp(180px, 48vw, 240px);
    --platform-viewport-min-h: clamp(160px, 44vw, 210px);
    --platform-viewport-max: 100%;
    --platform-viewport-flex: 100%;
    --platform-footer-overlap: clamp(-4rem, -12vw, -2.5rem);
  }

  .platforms__carousel {
    padding: 0.75rem 0;
  }

  .platforms__viewport {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .platforms__arrow {
    display: none;
  }

  .platforms__hand {
    width: min(280px, 62vw);
    margin-top: 4%;
  }

  /* Our Package — desktop row layout (3 / 3 / 2), larger + centered */
  .packages {
    overflow-x: hidden;
  }

  .packages__title {
    margin-bottom: clamp(3rem, 7vw, 4.5rem);
  }

  .packages__rows {
    gap: clamp(0.75rem, 2.8vw, 1.15rem);
    width: 120%;
    align-items: center;
  }

  .packages__row {
    width: 100%;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: clamp(0.45rem, 1.8vw, 0.75rem);
  }

  .packages__row > picture {
    flex: 0 0 auto;
    line-height: 0;
  }

  .packages__item {
    width: auto;
    height: clamp(2.55rem, 7.2vw, 3.25rem);
    max-width: none;
    flex: 0 0 auto;
  }

  .services__list {
    width: 100%;
    gap: clamp(6.5rem, 14vw, 10rem);
  }

  .services__art {
    width: 100%;
  }

  .services__title {
    width: clamp(min(55vw, 180px), 48vw, 240px);
  }

  .services__text {
    display: none;
  }

  .contact__eyebrow {
    width: min(55vw, 220px);
  }

  .contact__heading {
    width: min(88vw, 400px);
  }

  .contact__sub {
    width: min(80vw, 360px);
  }

  .contact__cta img {
    width: min(78vw, 340px);
  }

  /* Proven Performance — compose over bg like the guide (title up, stack+icons lower) */
  .performance {
    padding: 0;
    overflow: hidden;
  }

  .performance__inner {
    position: absolute;
    inset: 0;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    display: block;
    grid-template-columns: none;
    gap: 0;
    justify-items: unset;
    align-items: unset;
    text-align: center;
  }

  .performance__intro {
    position: absolute;
    top: 7.5%;
    left: 50%;
    width: min(78vw, 320px);
    margin: 0;
    margin-top: 0;
    transform: translateX(-50%);
    z-index: 3;
  }

  .js-ready .performance__intro[data-reveal],
  .js-ready .performance__intro[data-reveal].is-revealed,
  .js-ready .performance__intro[data-reveal="left"]:not(.is-revealed) {
    transform: translateX(-50%);
  }

  .performance__title {
    margin-bottom: 0;
  }

  .performance__title img {
    width: 100%;
    margin-inline: auto;
  }

  .performance__copy {
    margin: 0 auto;
  }

  .performance__stage {
    position: absolute;
    top: 17%;
    left: 0;
    right: 0;
    bottom: 6%;
    width: 100%;
    min-height: 0;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    padding: 0;
  }

  .performance__stack {
    width: min(68vw, 290px);
    left: -5%;
    top: -6%;
    --perf-depth: 1;
  }

  .performance__logo--google {
    left: -28%;
    top: 60%;
    width: 42%;
  }

  .performance__logo--tg {
    /* Guide: tucked beside the stack, not hanging far right */
    right: -37%;
    top: 35%;
    width: 40%;
  }

  .packages__inner {
    padding-top: clamp(4.5rem, 12vw, 6.5rem);
    margin-top: clamp(1.5rem, 4vw, 2.5rem);
  }

  /* Reset desktop scale-compensation offsets; keep bp-unit widths (no hard 120px jump) */

  .stats__inner {
    margin-top: clamp(2rem, 5vw, 3.5rem);
  }

  .stats__grid {
    grid-template-columns: 1fr;
    row-gap: clamp(1.75rem, 5.5vw, 2.75rem);
    isolation: isolate;
  }

  /* Remove dark overlay behind numbers */
  .stats__grid::before {
    display: none;
  }

  .stats__item {
    z-index: 1;
  }

  .stats__label {
    filter: brightness(1.45) drop-shadow(0 2px 5px rgba(0, 0, 0, 0.95));
  }

  .stats__title {
    width: min(92vw, 420px);
    margin-top: clamp(3.25rem, 10vw, 5rem);
    margin-bottom: clamp(1.5rem, 4vh, 2.25rem);
    padding: 0.5rem 0 0.75rem;
  }

  /* Larger numbers + smaller superscript symbols */
  .stats__value {
    position: relative;
    font-size: clamp(2rem, 7vw, 2.6rem);
    align-items: flex-start;
  }

  /* red.png centered behind the number text */
  .stats__value::before {
    content: "";
    position: absolute;
    top: 80%;
    left: 50%;
    width: 5em;
    height: 5em;
    transform: translate(-50%, -50%);
    background: url("../images/mobile/sec8_performance number/red.png") center / contain
      no-repeat;
    z-index: -1;
    pointer-events: none;
  }

  .stats__sym {
    height: 9px;
    margin-top: 0.14em;
    margin-left: 0.06em;
  }

  .stats__sym img {
    height: 9px;
    width: auto;
    max-width: none;
  }

  /* x and % assets read larger — shrink further */
  .stats__item:nth-child(3) .stats__sym,
  .stats__item:nth-child(4) .stats__sym {
    height: 7px;
  }

  .stats__item:nth-child(3) .stats__sym img,
  .stats__item:nth-child(4) .stats__sym img {
    height: 7px;
  }

  .stats__sym::before {
    display: none;
  }

  .stats__float {
    opacity: 0.55;
  }

  .stats__float--snack {
    left: -2%;
  }

  .stats__float--tg {
    right: 2%;
    bottom: -20%;
  }

  .stats__float--tiktok {
    right: 1%;
  }

  .stats__float--x {
    bottom: -20%;
  }

  .faq {
    padding: clamp(3rem, 8vh, 5rem) 1.25rem clamp(2.5rem, 6vh, 4rem);
  }

  .faq__list {
    gap: 0.7rem;
  }

  .contact {
    padding: clamp(7rem, 18vw, 11rem) 1.25rem clamp(3rem, 8vw, 5rem);
  }

  .contact__inner {
    padding-top: clamp(1.5rem, 5vw, 3rem);
  }

  .contact__eyebrow {
    margin-bottom: clamp(1.75rem, 5vw, 3rem);
  }

  .terms {
    display: none;
  }

  .navbar__links a[href="#tnc"] {
    display: none;
  }

  .js-ready [data-reveal="left"] {
    transform: translateX(-40px);
  }

  .js-ready [data-reveal="right"] {
    transform: translateX(40px);
  }

  .js-ready .home__title[data-reveal="left"]:not(.is-revealed),
  .js-ready .home__subtitle[data-reveal="left"]:not(.is-revealed),
  .js-ready .home__cta[data-reveal="left"]:not(.is-revealed) {
    transform: translateX(-48px) scale(0.97);
    filter: blur(4px);
  }

  .js-ready .services__row[data-reveal="left"]:not(.is-revealed),
  .js-ready .services__row[data-reveal="right"]:not(.is-revealed) {
    transform: translateX(0);
    opacity: 0;
  }

  .js-ready .services__row[data-reveal="left"]:not(.is-revealed) {
    transform: translateX(-8%);
  }

  .js-ready .services__row[data-reveal="right"]:not(.is-revealed) {
    transform: translateX(8%);
  }
}

@media (max-width: 700px) {
  .why {
    padding: clamp(3rem, 8vh, 5rem) 0;
  }

  .platforms__viewport {
    max-width: 100%;
  }

  .platforms__hand {
    width: min(240px, 58vw);
  }

  .performance__intro {
    top: 6.5%;
    width: min(82vw, 300px);
  }

  .performance__stage {
    top: 20%;
  }

  .performance__stack {
    width: min(72vw, 270px);
    left: -6%;
    top: -8%;
  }

  .stats__grid {
    gap: clamp(1.35rem, 4vw, 2rem);
  }

  .stats__value {
    font-size: clamp(2.1rem, 9vw, 2.7rem);
  }

  .stats__sym {
    height: 12px;
  }

  .stats__sym img {
    height: 12px;
  }

  .stats__item:nth-child(3) .stats__sym,
  .stats__item:nth-child(4) .stats__sym {
    height: 12px;
  }

  .stats__item:nth-child(3) .stats__sym img,
  .stats__item:nth-child(4) .stats__sym img {
    height: 12px;
  }

  .stats__label {
    height: clamp(11px, 2.8vw, 14px);
  }

  .faq__q-text {
    font-size: 0.95rem;
  }

  .faq__a p {
    font-size: 0.88rem;
    line-height: 1.6;
  }

  .contact__sub {
    margin-bottom: clamp(1.75rem, 4vw, 2.5rem);
  }

  .terms__grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .terms__column {
    gap: 1.75rem;
  }
}

@media (max-width: 600px) {
  .why__card {
    width: min(52vw, 190px);
  }
}

@media (max-width: 480px) {
  :root {
    --nav-height: 64px;
  }

  .navbar__logo img {
    height: 30px;
  }

  .home__content {
    padding: 1.25rem 1.1rem;
  }

  .home__social {
    right: 0.5rem;
    bottom: 0.75rem;
  }

  .home__social a {
    width: 42px;
    height: 42px;
  }

  .home__social img {
    width: 38px;
    height: 38px;
  }

  .platforms__hand {
    width: min(220px, 56vw);
  }

  .stats__float--snack,
  .stats__float--yt {
    opacity: 0.3;
  }

  .faq__details {
    padding-inline: 0.9rem;
    border-radius: 12px;
  }

  .faq__q {
    padding: 0.85rem 0;
    gap: 0.65rem;
  }

  .contact {
    padding: 3.25rem 1.1rem 2.75rem;
  }

  .terms {
    padding: 2.75rem 1.1rem;
  }

  .terms__block h3 {
    margin-bottom: 0.75rem;
  }

  .js-ready [data-reveal="up"] {
    transform: translateY(24px);
  }

  .js-ready [data-reveal="left"],
  .js-ready [data-reveal="right"] {
    transform: translateX(0) translateY(20px);
  }

  .js-ready .home__title[data-reveal="left"]:not(.is-revealed),
  .js-ready .home__subtitle[data-reveal="left"]:not(.is-revealed),
  .js-ready .home__cta[data-reveal="left"]:not(.is-revealed) {
    transform: translateX(-28px) scale(0.98);
    filter: blur(3px);
  }
}

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

  .home__title,
  .home__subtitle,
  .home__cta {
    animation: none;
  }

  .platforms__track {
    transition: none;
  }

  .performance__window {
    transition: none;
  }

  .packages__row img {
    transition: none;
  }

  .js-ready [data-reveal] {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
    will-change: auto;
  }

  .js-ready .home__title[data-reveal="left"],
  .js-ready .home__subtitle[data-reveal="left"],
  .js-ready .home__cta[data-reveal="left"],
  .js-ready .contact__heading[data-reveal="zoom"],
  .js-ready .contact__eyebrow[data-reveal="up"],
  .js-ready .services__row[data-reveal="left"],
  .js-ready .services__row[data-reveal="right"] {
    opacity: 1;
    transform: none;
    filter: none;
  }

  .js-ready .about__title[data-reveal],
  .js-ready .about__title[data-reveal].is-revealed {
    transform: translateX(-50%);
  }

  .js-ready .about__crown[data-reveal],
  .js-ready .about__crown[data-reveal].is-revealed {
    transform: translate(-50%, -50%);
  }
}
