/* =============================================================
   HelloPrize – main.css
   Brand colours, reset, layout, every section, responsive
============================================================= */

/* ── 1. CSS Custom Properties ──────────────────────────────── */
:root {
  /* Brand */
  --pink:        #D81B60;
  --pink-deep:   #AD1457;
  --pink-light:  rgba(216, 27, 96, 0.08);
  --ink:         #141416;
  --charcoal:    #1F2023;
  --mid-grey:    #6C7079;
  --soft-grey:   #9A9894;
  --border:      #E3E1DE;
  --wash:        #F7F6F4;
  --phone-bg:    #0A0B0D;
  --amber:       #FFB020;
  --white:       #FFFFFF;

  /* Typography */
  --font:        'Figtree', system-ui, -apple-system, sans-serif;
  --fw-regular:  400;
  --fw-medium:   500;
  --fw-semibold: 600;
  --fw-bold:     700;
  --fw-extrabold:800;

  /* Spacing */
  --space-1:  4px;
  --space-2:  8px;
  --space-3:  12px;
  --space-4:  16px;
  --space-5:  20px;
  --space-6:  24px;
  --space-8:  32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;
  --space-32: 128px;

  /* Radius */
  --radius-sm:  6px;
  --radius-md:  10px;
  --radius-lg:  16px;
  --radius-xl:  24px;
  --radius-full: 9999px;

  /* Shadow */
  --shadow-sm:  0 1px 3px rgba(20,20,22,0.06), 0 1px 2px rgba(20,20,22,0.04);
  --shadow-md:  0 4px 16px rgba(20,20,22,0.08), 0 2px 6px rgba(20,20,22,0.05);
  --shadow-lg:  0 12px 40px rgba(20,20,22,0.12), 0 4px 12px rgba(20,20,22,0.06);
  --shadow-xl:  0 24px 64px rgba(20,20,22,0.16), 0 8px 24px rgba(20,20,22,0.08);
  --shadow-pink: 0 8px 32px rgba(216,27,96,0.24);

  /* Header */
  --header-h: 68px;

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --dur-fast:   150ms;
  --dur-base:   240ms;
  --dur-slow:   400ms;
}

/* ── 2. Reset ───────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}


img, svg { display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea { font-family: inherit; }

/* Screen-reader only */
.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;
}

/* Focus ring */
:focus-visible {
  outline: 2px solid var(--pink);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* ── 3. Layout ──────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: var(--space-6);
}

@media (min-width: 1200px) {
  .container { padding-inline: var(--space-8); }
}

section {
  padding-block: var(--space-24);
}

/* ── 4. Typography helpers ──────────────────────────────────── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 12px;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: var(--space-4);
}

.section-label::before {
  content: '';
  display: block;
  width: 20px; height: 2px;
  background: var(--pink);
  border-radius: 2px;
  flex-shrink: 0;
}

.section-heading {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: var(--fw-extrabold);
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: var(--space-4);
  max-width: 640px;
}

.section-sub {
  font-size: 17px;
  color: var(--mid-grey);
  max-width: 560px;
  margin-bottom: var(--space-12);
  line-height: 1.65;
}

/* ── 5. Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-size: 14px;
  font-weight: var(--fw-semibold);
  line-height: 1;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  transition: background var(--dur-base) var(--ease),
              color var(--dur-base) var(--ease),
              box-shadow var(--dur-base) var(--ease),
              transform var(--dur-fast) var(--ease);
  white-space: nowrap;
}

.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--pink);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(216,27,96,0.2);
}

.btn-primary:hover {
  background: var(--pink-deep);
  box-shadow: var(--shadow-pink);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--border);
}

.btn-ghost:hover {
  background: var(--wash);
  border-color: #ccc;
}

.btn-lg {
  font-size: 15px;
  padding: 13px 28px;
  border-radius: var(--radius-md);
}

.btn-full { width: 100%; }

/* ── 6. Reveal / scroll animations ─────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--dur-slow) var(--ease),
              transform var(--dur-slow) var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.reveal[data-delay="1"] { transition-delay: 80ms; }
.reveal[data-delay="2"] { transition-delay: 160ms; }
.reveal[data-delay="3"] { transition-delay: 240ms; }

/* ── 7. Header ──────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur-base) var(--ease),
              box-shadow var(--dur-base) var(--ease),
              background var(--dur-base) var(--ease);
}

.site-header.stuck {
  background: rgba(255,255,255,0.92);
  border-bottom-color: var(--border);
  box-shadow: 0 2px 16px rgba(20,20,22,0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  height: 100%;
  gap: var(--space-6);
}

.header-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.logo-svg { height: 30px; width: auto; }

.header-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.header-nav ul {
  display: flex;
  gap: var(--space-2);
}

.header-nav a {
  font-size: 14px;
  font-weight: var(--fw-medium);
  color: var(--mid-grey);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: color var(--dur-fast) var(--ease),
              background var(--dur-fast) var(--ease);
}

.header-nav a:hover {
  color: var(--ink);
  background: var(--wash);
}

.header-cta { margin-left: auto; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  margin-left: auto;
}

.nav-toggle-bar {
  display: block;
  width: 22px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform var(--dur-base) var(--ease),
              opacity var(--dur-base) var(--ease);
}

.nav-toggle.is-open .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.is-open .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle.is-open .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav */
.mobile-nav {
  position: absolute;
  top: var(--header-h);
  left: 0; right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  padding: var(--space-4) var(--space-6) var(--space-6);
}

.mobile-nav ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.mobile-nav-link {
  display: block;
  font-size: 15px;
  font-weight: var(--fw-medium);
  color: var(--ink);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  transition: background var(--dur-fast) var(--ease);
}

.mobile-nav-link:hover { background: var(--wash); }

/* ── 8. Hero ────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-h) + var(--space-12));
  padding-bottom: var(--space-20);
  overflow: hidden;
}

.hero-bg-gradient {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 60% 20%, rgba(216,27,96,0.07) 0%, transparent 70%),
              radial-gradient(ellipse 60% 50% at 20% 80%, rgba(173,20,87,0.05) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
  width: 100%;
}

.hero-content { max-width: 700px; }

/* Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 13px;
  font-weight: var(--fw-semibold);
  color: var(--pink);
  background: var(--pink-light);
  border: 1px solid rgba(216,27,96,0.18);
  border-radius: var(--radius-full);
  padding: 6px 14px;
  margin-bottom: var(--space-6);
  animation: fadeSlideDown 0.6s var(--ease) both;
}

.hero-badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--pink);
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.85); }
}

/* Headline */
.hero-heading {
  font-size: clamp(36px, 5.5vw, 64px);
  font-weight: var(--fw-extrabold);
  line-height: 1.1;
  letter-spacing: -0.04em;
  color: var(--ink);
  margin-bottom: var(--space-6);
  animation: fadeSlideUp 0.7s 0.1s var(--ease) both;
}

.hero-line {
  display: block;
  white-space: nowrap;
}

/* Rotating words container */
.rotate-wrap {
  display: inline-grid;
  position: relative;
  vertical-align: baseline;
}




.rotate-word {
  display: block;
  grid-area: 1 / 1;
  color: var(--pink);
  position: relative;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
  pointer-events: none;
  white-space: nowrap;
}

/* The active (visible) word sits in flow */
.rotate-word.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Hero sub */
.hero-sub {
  font-size: 18px;
  color: var(--mid-grey);
  line-height: 1.7;
  margin-bottom: var(--space-8);
  max-width: 480px;
  animation: fadeSlideUp 0.7s 0.2s var(--ease) both;
}

/* CTA row */
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-bottom: var(--space-8);
  animation: fadeSlideUp 0.7s 0.3s var(--ease) both;
}

.hero-learn {
  color: var(--ink);
  font-weight: var(--fw-semibold);
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 13px 20px;
  border-radius: var(--radius-md);
  transition: gap var(--dur-fast) var(--ease), color var(--dur-fast);
}

.hero-learn:hover { gap: var(--space-3); color: var(--pink); }

/* Social proof */
.hero-proof-banner {
  border-top: 1px solid rgba(17,17,17,0.08);
  border-bottom: 1px solid rgba(17,17,17,0.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.2);
}

.hero-proof-banner-inner {
  display: flex;
  align-items: start;
  justify-content: center;
  gap: var(--space-8);
  padding-block: 14px;
}

.hero-proof-brand {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 55px;
}

.hero-proof-brand img {
  max-width: 100%;
  height: 60px;
  width: auto;
  object-fit: contain;
  filter: brightness(1.08);
}

.hero-proof-banner-copy {
  position: relative;
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.hero-proof-banner-arrow {
  width: 0;
  height: 0;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-right: 18px solid rgba(17,17,17,0.06);
  flex-shrink: 0;
}

.hero-proof-banner-copy p {
  margin: 0;
  color: var(--ink);
  font-size: clamp(18px, 2vw, 28px);
  line-height: 1.3;
  letter-spacing: -0.03em;
  font-weight: var(--fw-medium);
}

/* Hero phone visual */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeSlideUp 0.9s 0.2s var(--ease) both;
}

.phone-hero {
  width: 240px;
  height: 480px;
  background: var(--phone-bg);
  border-radius: 36px;
  border: 6px solid #222;
  box-shadow: 0 32px 80px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.06) inset;
  position: relative;
  overflow: hidden;
  animation: floatPhone 4s ease-in-out infinite;
}

@keyframes floatPhone {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-12px); }
}

.phone-hero-screen {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(ellipse at 40% 30%, #1a0010 0%, var(--phone-bg) 70%);
}

.phone-screen-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-6);
  text-align: center;
}

.prize-balloon-hero svg {
  width: 100px;
  filter: drop-shadow(0 8px 24px rgba(216,27,96,0.5));
  animation: balloonBob 3s ease-in-out infinite;
}

@keyframes balloonBob {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50%       { transform: translateY(-8px) rotate(2deg); }
}

.phone-tap-label {
  font-size: 16px;
  font-weight: var(--fw-bold);
  color: var(--white);
}

.phone-tap-sub {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  animation: fadeIn 1s 1s both;
}

.scroll-dot {
  display: inline-grid;
  width: 6px; height: 6px;
  vertical-align: baseline;
  border-radius: 50%;
  animation: scrollBounce 1.6s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { opacity: 0.4; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(8px); }
}

/* ── 9. Experience Section ──────────────────────────────────── */
.experience {
  background: var(--wash);
}

.exp-step {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
}

.exp-step--reverse { direction: rtl; }
.exp-step--reverse > * { direction: ltr; }

/* Phone frame */
.phone-frame {
  width: 220px;
  height: 440px;
  background: var(--phone-bg);
  border-radius: 32px;
  border: 5px solid #1c1c1e;
  box-shadow: var(--shadow-xl), 0 0 0 1px rgba(255,255,255,0.05) inset;
  overflow: hidden;
  position: relative;
  margin: 0 auto;
}

/* Notch */
.phone-frame::before {
  content: '';
  position: absolute;
  top: 10px; left: 50%;
  transform: translateX(-50%);
  width: 60px; height: 5px;
  background: #111;
  border-radius: 3px;
  z-index: 2;
}

.phone-screen {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-screen--dark {
  background: radial-gradient(ellipse at 40% 30%, #1a0010 0%, var(--phone-bg) 75%);
}

/* Step 1 content */
.step1-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-6);
  text-align: center;
  width: 100%;
}

.balloon-wrap {
  cursor: pointer;
  transition: transform var(--dur-fast) var(--ease-spring);
  -webkit-tap-highlight-color: transparent;
}

.balloon-wrap:hover { transform: scale(1.05); }
.balloon-wrap:active { transform: scale(0.92) rotate(-5deg); }

.balloon-svg {
  width: 90px;
  filter: drop-shadow(0 8px 24px rgba(216,27,96,0.5));
  animation: balloonBob 3s ease-in-out infinite;
}

/* Balloon tap/squash animation */
@keyframes balloonTap {
  0%   { transform: scale(1); }
  25%  { transform: scale(1.15, 0.85); }
  50%  { transform: scale(0.9, 1.1); }
  75%  { transform: scale(1.05, 0.95); }
  100% { transform: scale(1); }
}

.balloon-wrap.tapped {
  animation: balloonTap 0.4s var(--ease-spring);
}

.tap-hint {
  font-size: 15px;
  font-weight: var(--fw-bold);
  color: var(--white);
}

.tap-sub {
  font-size: 11px;
  color: rgba(255,255,255,0.45);
}

/* Step 2 content */
.step2-content {
  position: relative;
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.confetti-wrap {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

#confetti-canvas {
  width: 100%; height: 100%;
}

.win-card {
  position: relative;
  z-index: 1;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  text-align: center;
  backdrop-filter: blur(8px);
  animation: winPop 0.5s 0.3s var(--ease-spring) both;
}

@keyframes winPop {
  from { transform: scale(0.7); opacity: 0; }
  to   { transform: scale(1);   opacity: 1; }
}

.win-icon { font-size: 36px; margin-bottom: var(--space-2); }

.win-title {
  font-size: 20px;
  font-weight: var(--fw-extrabold);
  color: var(--white);
  margin-bottom: var(--space-4);
}

.voucher {
  background: var(--pink);
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-3);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

#winScreen {
  position: relative;
}

#winScreen .mini-confetti {
  position: absolute;
  left: 50%;
  top: 30%;
  width: 8px;
  height: 10px;
  opacity: 0;
  pointer-events: none;
  z-index: 2;
}

#winScreen .mini-confetti.run {
  animation: miniBurst 1.6s ease-out infinite;
}

@keyframes miniBurst {
  0% { opacity: 1; transform: translate(0, 0) rotate(0deg); }
  100% { opacity: 0; transform: translate(var(--mx), var(--my)) rotate(var(--mr)); }
}

.voucher-label {
  font-size: 22px;
  font-weight: var(--fw-extrabold);
  color: var(--white);
  letter-spacing: -0.02em;
}

.voucher-brand {
  font-size: 11px;
  color: rgba(255,255,255,0.75);
  font-weight: var(--fw-medium);
}

/* Step 3 content */
.step3-content {
  padding: var(--space-4) var(--space-5);
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.claim-heading {
  font-size: 14px;
  font-weight: var(--fw-bold);
  color: var(--white);
  margin-bottom: var(--space-1);
}

.claim-form { display: flex; flex-direction: column; gap: var(--space-3); }

.form-label {
  display: block;
  font-size: 11px;
  font-weight: var(--fw-semibold);
  color: rgba(255,255,255,0.55);
  margin-bottom: 4px;
  letter-spacing: 0.02em;
}

.form-input {
  width: 100%;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-size: 12px;
  padding: 8px 10px;
  transition: border-color var(--dur-fast) var(--ease),
              background var(--dur-fast) var(--ease);
}

.form-input::placeholder { color: rgba(255,255,255,0.25); }

.form-input:focus {
  outline: none;
  border-color: var(--pink);
  background: rgba(216,27,96,0.07);
}

.consent-text {
  font-size: 9px;
  color: rgba(255,255,255,0.35);
  line-height: 1.5;
  text-align: center;
}

/* Experience step info */
.exp-step-info { padding: var(--space-4); }

.step-number {
  font-size: 64px;
  font-weight: var(--fw-extrabold);
  line-height: 1;
  color: var(--border);
  letter-spacing: -0.04em;
  margin-bottom: var(--space-3);
  font-variant-numeric: tabular-nums;
}

.exp-step-info h3 {
  font-size: 26px;
  font-weight: var(--fw-extrabold);
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: var(--space-3);
}

.exp-step-info p {
  font-size: 16px;
  color: var(--mid-grey);
  line-height: 1.7;
  max-width: 420px;
}

/* ── 10. Dashboard Section ──────────────────────────────────── */
.dashboard-section {
  background: var(--white);
}

/* Browser frame */
.dashboard-browser {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xl);
}

.browser-chrome {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  background: #f0efed;
  padding: 10px 16px;
  border-bottom: 1px solid var(--border);
}

.browser-dots { display: flex; gap: 6px; }

.browser-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
}

.dot-red   { background: #FF5F57; }
.dot-amber { background: #FEBC2E; }
.dot-green { background: #28C840; }

.browser-bar {
  flex: 1;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 5px 12px;
  font-size: 12px;
  color: var(--mid-grey);
  text-align: center;
  max-width: 300px;
  margin: 0 auto;
}

/* Dashboard UI */
.dashboard-ui {
  display: flex;
  min-height: 540px;
  background: var(--white);
}

/* Sidebar */
.dash-sidebar {
  width: 180px;
  flex-shrink: 0;
  background: var(--wash);
  border-right: 1px solid var(--border);
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.dash-logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: var(--fw-bold);
  font-size: 14px;
  color: var(--ink);
  padding-bottom: var(--space-5);
  border-bottom: 1px solid var(--border);
}

.dash-nav { display: flex; flex-direction: column; gap: 2px; }

.dash-nav-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 13px;
  font-weight: var(--fw-medium);
  color: var(--mid-grey);
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background var(--dur-fast), color var(--dur-fast);
}

.dash-nav-item:hover { background: var(--border); color: var(--ink); }

.dash-nav-item--active {
  background: var(--pink-light);
  color: var(--pink);
  font-weight: var(--fw-semibold);
}

/* Dashboard main */
.dash-main {
  flex: 1;
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  min-width: 0;
}

.dash-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

.dash-topbar-left { display: flex; align-items: center; gap: var(--space-3); }

.dash-page-title {
  font-size: 16px;
  font-weight: var(--fw-bold);
  color: var(--ink);
}

.campaign-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: var(--fw-semibold);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  background: rgba(40,200,64,0.1);
  color: #16a34a;
}

.status-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #16a34a;
  animation: pulse 2s infinite;
}

.dash-date-range {
  font-size: 12px;
  color: var(--mid-grey);
}

/* KPI Grid */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
}

.kpi-card {
  background: var(--wash);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.kpi-label {
  font-size: 11px;
  font-weight: var(--fw-semibold);
  color: var(--mid-grey);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.kpi-value {
  font-size: 24px;
  font-weight: var(--fw-extrabold);
  color: var(--ink);
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}

.kpi-delta {
  font-size: 11px;
  font-weight: var(--fw-semibold);
}

.kpi-delta--up { color: #16a34a; }
.kpi-delta--down { color: #dc2626; }

/* Bottom row */
.dash-bottom-row {
  display: grid;
  grid-template-columns: 1fr 240px;
  gap: var(--space-3);
}

/* Panels */
.dash-panel {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-4);
}

.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-3);
}

.panel-title {
  font-size: 13px;
  font-weight: var(--fw-semibold);
  color: var(--ink);
}

.panel-period {
  font-size: 11px;
  color: var(--mid-grey);
}

.panel-link {
  font-size: 12px;
  font-weight: var(--fw-semibold);
  color: var(--pink);
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  transition: background var(--dur-fast);
}

.panel-link:hover { background: var(--pink-light); }

/* Chart */
.chart-area { width: 100%; overflow: hidden; }
.plays-chart { width: 100%; height: auto; }

.chart-bar {
  transform-origin: bottom;
  animation: barGrow 0.6s var(--ease) both;
}

@keyframes barGrow {
  from { transform: scaleY(0); }
  to   { transform: scaleY(1); }
}

/* Placements */
.placement-list { display: flex; flex-direction: column; gap: var(--space-3); }

.placement-item {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  gap: 3px 8px;
  align-items: center;
}

.placement-name {
  font-size: 12px;
  font-weight: var(--fw-medium);
  color: var(--ink);
  grid-column: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.placement-bar-wrap {
  grid-column: 1;
  height: 5px;
  background: var(--border);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.placement-bar {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--pink), var(--pink-deep));
  border-radius: var(--radius-full);
  transition: width 0.8s var(--ease);
}

.placement-count {
  grid-row: 1 / 3;
  grid-column: 2;
  font-size: 13px;
  font-weight: var(--fw-bold);
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

/* Winners table */
.dash-panel--winners { margin-top: 0; }

.winners-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

.winners-table th {
  text-align: left;
  font-size: 11px;
  font-weight: var(--fw-semibold);
  color: var(--mid-grey);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0 8px var(--space-3);
  border-bottom: 1px solid var(--border);
}

.winners-table td {
  padding: 10px 8px;
  color: var(--ink);
  border-bottom: 1px solid #f3f2f0;
  vertical-align: middle;
}

.winners-table tr:last-child td { border-bottom: none; }

.winner-status {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: var(--fw-semibold);
  padding: 3px 8px;
  border-radius: var(--radius-full);
}

.winner-status--claimed { background: rgba(22,163,74,0.1); color: #16a34a; }
.winner-status--sent    { background: rgba(59,130,246,0.1); color: #2563eb; }
.winner-status--pending { background: rgba(255,176,32,0.1); color: #b45309; }

.dash-disclaimer {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 11px;
  color: var(--mid-grey);
  background: rgba(255,176,32,0.06);
  border: 1px solid rgba(255,176,32,0.2);
  border-radius: var(--radius-sm);
  padding: var(--space-3) var(--space-4);
}

/* ── 11. Offline → Online ───────────────────────────────────── */
.offline-online {
  background: var(--ink);
  color: var(--white);
}

.offline-online .section-label {
  color: var(--pink);
}

.offline-online .section-label::before { background: var(--pink); }

.offline-online .section-heading { color: var(--white); }

.offline-online .section-sub { color: rgba(255,255,255,0.5); }

/* Flow layout */
.oto-flow {
  display: flex;
  align-items: center;
  gap: 0;
}

.oto-stage {
  flex: 1;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  min-height: 280px;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  transition: border-color var(--dur-base), background var(--dur-base);
  width: 100%;
}

.oto-stage:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(216,27,96,0.3);
}

.oto-stage-icon {
  width: 48px; height: 48px;
  flex-shrink: 0;
}

.oto-stage-title {
  font-size: 17px;
  font-weight: var(--fw-bold);
  color: var(--white);
}

.oto-stage-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.oto-stage-list li {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  line-height: 1.5;
}

/* Arrow between stages */
.oto-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  padding-inline: var(--space-3);
}

.oto-arrow svg { width: 60px; flex-shrink: 0; }

.oto-arrow-label {
  font-size: 11px;
  font-weight: var(--fw-semibold);
  color: var(--pink);
  white-space: nowrap;
  letter-spacing: 0.04em;
}

/* Integrations */
.integration-logos {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.integration-chip {
  font-size: 11px;
  font-weight: var(--fw-semibold);
  color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-full);
  padding: 4px 10px;
  white-space: nowrap;
  transition: background var(--dur-fast), border-color var(--dur-fast);
}

.integration-chip:hover {
  background: var(--pink-light);
  border-color: rgba(216,27,96,0.3);
  color: var(--pink);
}

.integration-note {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 9px;
  color: rgba(255,176,32,0.8);
}

/* ── 12. Funnel Comparison ──────────────────────────────────── */
.funnel { background: var(--wash); }

.funnel-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

/* Scrollbar for the table region */
.funnel-table-wrap::-webkit-scrollbar { height: 6px; }
.funnel-table-wrap::-webkit-scrollbar-track { background: var(--border); }
.funnel-table-wrap::-webkit-scrollbar-thumb {
  background: var(--soft-grey);
  border-radius: 3px;
}

.funnel-table {
  width: 100%;
  min-width: 560px;
  table-layout: fixed;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

/* Header row */
.funnel-table thead tr {
  background: var(--ink);
}

.funnel-table th {
  padding: var(--space-5) var(--space-6);
  text-align: left;
  vertical-align: top;
}

.funnel-th-stage { width: 140px; }

.funnel-col-label {
  display: block;
  font-size: 13px;
  font-weight: var(--fw-bold);
  margin-bottom: 3px;
}

.funnel-col-label--without { color: var(--soft-grey); }
.funnel-col-label--with    { color: var(--white); }
.funnel-col-label--with svg { max-width: 100%; height: auto; }

.funnel-col-sub {
  display: block;
  font-size: 11px;
  font-weight: var(--fw-regular);
  color: rgba(255,255,255,0.35);
}

/* Rows */
.funnel-row td,
.funnel-row th {
  padding: var(--space-4) var(--space-6);
  vertical-align: middle;
  border-bottom: 1px solid var(--border);
}

.funnel-row:last-child td,
.funnel-row:last-child th {
  border-bottom: none;
}

.funnel-stage-label {
  font-size: 13px;
  font-weight: var(--fw-semibold);
  color: var(--ink);
  text-align: left;
}

.funnel-stage-content {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.funnel-stage-content svg,
.funnel-cell-content svg {
  flex-shrink: 0;
}

.funnel-cell {
  font-size: 13px;
  line-height: 1.5;
}

.funnel-cell--without {
  color: var(--mid-grey);
}

.funnel-cell--with {
  background-color: #FAF2F4;
  color: var(--ink);
  font-weight: var(--fw-medium);
}

.funnel-cell-content {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

/* ── 13. Our Work ───────────────────────────────────────────── */
.our-work { background: var(--white); padding-bottom: 0; }

/* Marquee */
.marquee-wrap {
  overflow: hidden;
  position: relative;
  padding-block: var(--space-10);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-block: var(--space-12);
}

/* Fade edges */
.marquee-wrap::before,
.marquee-wrap::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}




.marquee-track {
  display: flex;
  width: 100%;
  justify-content: center;
}

.marquee-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
  gap: var(--space-12);
  padding-inline: var(--space-6);
  flex-shrink: 0;
}

.marquee-item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Placeholder chips until real logos arrive */
.marquee-placeholder {
  font-size: 15px;
  font-weight: var(--fw-bold);
  color: var(--mid-grey);
  letter-spacing: -0.02em;
  padding: 8px 24px;
  transition: color var(--dur-fast), border-color var(--dur-fast);
}

.marquee-item img {
  display: block;
  width: auto;
  max-width: 100%;
  height: 60px;
  object-fit: contain;
}

.marquee-track:hover .marquee-placeholder {
  color: var(--ink);
  border-color: #ccc;
}

.marquee-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-size: 11px;
  color: rgba(255,176,32,0.9);
  text-align: center;
  padding-bottom: var(--space-4);
}

/* Testimonial */
/* .testimonial {
  padding-bottom: var(--space-24);
} */

.testimonial-inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.testimonial-quote {
  margin: 0 auto var(--space-5);
}

.testimonial-text {
  font-size: 20px;
  line-height: 1.65;
  color: var(--ink);
  font-style: italic;
  font-weight: var(--fw-medium);
  margin-bottom: var(--space-6);
}

.testimonial-footer { display: flex; flex-direction: column; gap: 2px; }

.testimonial-author {
  font-size: 14px;
  font-weight: var(--fw-bold);
  color: var(--ink);
}

.testimonial-role {
  font-size: 13px;
  color: var(--mid-grey);
}

/* ── 14. Contact CTA ────────────────────────────────────────── */
.contact-cta {
  background: var(--ink);
  padding-block: var(--space-20);
  overflow: hidden;
}

.cta-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-12);
  align-items: center;
}

.cta-heading {
  font-size: clamp(26px, 3.5vw, 42px);
  font-weight: var(--fw-extrabold);
  letter-spacing: -0.04em;
  color: var(--white);
  margin-bottom: var(--space-4);
  line-height: 1.15;
  max-width: 520px;
}

.cta-sub {
  font-size: 17px;
  color: rgba(255,255,255,0.5);
  line-height: 1.65;
  margin-bottom: var(--space-8);
  max-width: 440px;
}

/* Balloon group decoration */
.cta-balloon-group {
  position: relative;
  width: 160px;
  height: 200px;
  flex-shrink: 0;
}

.cta-balloon {
  position: absolute;
  width: 80px;
}

.cta-balloon-1 {
  bottom: 0; left: 40px;
  animation: floatPhone 3s ease-in-out infinite;
}

.cta-balloon-2 {
  bottom: 30px; left: 0;
  animation: floatPhone 3.5s 0.5s ease-in-out infinite;
}

.cta-balloon-3 {
  bottom: 20px; left: 80px;
  animation: floatPhone 4s 1s ease-in-out infinite;
}

/* ── 15. Footer ─────────────────────────────────────────────── */
.site-footer {
  background: #0d0d0f;
  color: rgba(255,255,255,0.55);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-12);
  padding-top: var(--space-16);
  padding-bottom: var(--space-12);
  align-items: start;
}

.footer-logo { display: flex; align-items: center; }
.logo-svg--footer { height: 28px; }

.footer-tagline {
  font-size: 13px;
  color: rgba(255,255,255,0.35);
  margin-top: var(--space-3);
  max-width: 260px;
  line-height: 1.6;
}

.footer-nav {
  display: flex;
  gap: var(--space-12);
}

.footer-nav-col { display: flex; flex-direction: column; gap: var(--space-4); }

.footer-nav-heading {
  font-size: 12px;
  font-weight: var(--fw-semibold);
  color: rgba(255,255,255,0.3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-nav ul { display: flex; flex-direction: column; gap: var(--space-2); }

.footer-nav a {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  transition: color var(--dur-fast);
}

.footer-nav a:hover { color: var(--white); }

.footer-link-btn {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  transition: color var(--dur-fast);
  text-align: left;
  padding: 0;
}

.footer-link-btn:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: var(--space-5);
}

.footer-copy,
.footer-location {
  font-size: 12px;
  color: rgba(255,255,255,0.25);
}

/* ── Privacy policy page ────────────────────────────────────── */
.privacy-page {
  padding-top: var(--header-h);
}

.privacy-intro {
  padding-block: clamp(64px, 9vw, 112px) var(--space-12);
}

.privacy-intro-content {
  max-width: 760px;
  margin-inline: auto;
}

.privacy-intro .section-label {
  margin-bottom: var(--space-3);
}

.privacy-intro .section-heading {
  margin-bottom: var(--space-3);
  font-size: clamp(36px, 5vw, 56px);
}

.privacy-updated {
  color: var(--mid-grey);
  font-size: 14px;
}

.privacy-content {
  padding-block: 0 var(--space-24);
}

.privacy-card {
  max-width: 840px;
  margin-inline: auto;
  padding: clamp(24px, 5vw, 56px);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
}

.privacy-opening {
  padding-bottom: var(--space-8);
  border-bottom: 1px solid var(--border);
  color: var(--charcoal);
  font-size: 17px;
  line-height: 1.8;
}

.privacy-section {
  padding-top: var(--space-8) !important;
}

.privacy-section h2 {
  margin-bottom: var(--space-3);
  color: var(--ink);
  font-size: 21px;
  font-weight: var(--fw-bold);
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.privacy-section p,
.privacy-section li {
  color: var(--mid-grey);
  font-size: 15px;
  line-height: 1.8;
}

.privacy-section p + p {
  margin-top: var(--space-3);
}

.privacy-section ul {
  display: grid;
  gap: var(--space-2);
  margin-block: var(--space-3);
  padding-left: var(--space-6);
  list-style: disc;
}

.privacy-section li::marker {
  color: var(--pink);
}

.privacy-section a {
  color: var(--pink-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.privacy-section a:hover {
  color: var(--pink);
}

/* ── 16. Modal ──────────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-5);
  background: rgba(20, 20, 22, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: modalFadeIn var(--dur-base) var(--ease) both;
}

.modal-overlay[hidden] {
  display: none;
}

@keyframes modalFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.modal-panel {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  width: 100%;
  max-width: 480px;
  position: relative;
  animation: modalSlideUp var(--dur-slow) var(--ease-spring) both;
  max-height: 90vh;
  overflow-y: auto;
}

@keyframes modalSlideUp {
  from { transform: translateY(32px) scale(0.97); opacity: 0; }
  to   { transform: translateY(0) scale(1); opacity: 1; }
}

.modal-close {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--wash);
  color: var(--mid-grey);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--dur-fast), color var(--dur-fast);
  z-index: 1;
}

.modal-close:hover {
  background: var(--border);
  color: var(--ink);
}

.modal-body { padding: var(--space-8); }

.modal-header-content {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

.modal-icon { flex-shrink: 0; margin-top: 2px; }

.modal-heading {
  font-size: 22px;
  font-weight: var(--fw-extrabold);
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 4px;
}

.modal-desc {
  font-size: 14px;
  color: var(--mid-grey);
  line-height: 1.55;
}

/* Contact form (modal) */
.contact-form { display: flex; flex-direction: column; }

.contact-form .form-label {
  font-size: 13px;
  font-weight: var(--fw-semibold);
  color: var(--ink);
  margin-bottom: 6px;
  display: block;
}

.required { color: var(--pink); }

.contact-form .form-input {
  width: 100%;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--ink);
  font-size: 15px;
  padding: 11px 14px;
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
}

.contact-form .form-input::placeholder { color: var(--soft-grey); }

.contact-form .form-input:focus {
  outline: none;
  border-color: var(--pink);
  box-shadow: 0 0 0 3px rgba(216,27,96,0.1);
}

.contact-form .form-input.is-error {
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(220,38,38,0.08);
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
}

.form-error {
  display: block;
  font-size: 12px;
  color: #dc2626;
  min-height: 16px;
}

.recaptcha-container {
  min-height: 78px;
}

.recaptcha-error {
  margin-top: -8px;
}

/* Submit button states */
.btn-submit {
  margin-top: var(--space-2);
  gap: var(--space-2);
  font-size: 15px;
  padding: 14px;
}

.btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.spinner-svg {
  animation: spinnerRotate 0.8s linear infinite;
}

@keyframes spinnerRotate {
  to { transform: rotate(360deg); }
}

/* Success / Error state */

/* hidden attribute global override – ensures JS .hidden = true always hides */
[hidden] { display: none !important; }

.form-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
  text-align: center;
  padding: var(--space-10) var(--space-6);
  animation: fadeSlideUp 0.4s var(--ease) both;
}

.form-success h3 {
  font-size: 22px;
  font-weight: var(--fw-bold);
  color: var(--ink);
  margin: 0;
}

.form-success p {
  font-size: 15px;
  color: var(--mid-grey);
  line-height: 1.6;
  margin: 0;
}

.success-icon {
  animation: winPop 0.5s var(--ease-spring) both;
}

.form-error-state {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  text-align: left;
  font-size: 13px;
  color: var(--mid-grey);
  background: #fff5f5;
  border: 1px solid #fecaca;
  border-radius: var(--radius-md);
  padding: var(--space-4);
  margin-top: var(--space-4);
  line-height: 1.55;
  animation: fadeSlideUp 0.3s var(--ease) both;
}

.form-error-state svg { flex-shrink: 0; margin-top: 1px; }

.form-error-state a { color: var(--pink); text-decoration: underline; }

/* ── 17. Keyframes (shared) ─────────────────────────────────── */
@keyframes fadeSlideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ── 18. Reduced Motion ─────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html { scroll-behavior: auto; }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .marquee-track { animation: none; }
  .phone-hero    { animation: none; }
  .balloon-svg   { animation: none; }
  .prize-balloon-hero svg { animation: none; }
  .scroll-dot    { animation: none; }
  .cta-balloon   { animation: none; }
}

/* ── 19. Responsive ─────────────────────────────────────────── */

/* ════════════════════════════════════════════
   TABLET  –  max 1024px
════════════════════════════════════════════ */
@media (max-width: 1024px) {
  :root { --header-h: 64px; }

  section { padding-block: var(--space-20); }

  /* ── Hero ── */
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--space-10);
  }
  .hero-content { max-width: 100%; }
  .hero-sub     { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-proof   { justify-content: center; }
  .hero-visual  { display: none; }

  /* ── Experience ── */
  .exp-step,
  .exp-step--reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    text-align: center;
    gap: var(--space-8);
  }
  .exp-step-info {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .exp-step-info p { text-align: center; max-width: 480px; }

  /* ── Dashboard ── */
  .kpi-grid         { grid-template-columns: repeat(2, 1fr); }
  .dash-bottom-row  { grid-template-columns: 1fr; }

  /* ── Offline→Online ── */
  .oto-flow {
    flex-direction: column;
    gap: var(--space-3);
  }
  .oto-arrow {
    flex-direction: row;
    padding-block: 0;
    padding-inline: var(--space-5);
    justify-content: center;
  }
  .oto-arrow svg { transform: rotate(90deg); width: 40px; }

  /* ── CTA ── */
  .cta-inner { grid-template-columns: 1fr; text-align: center; }
  .cta-visual { display: none; }
  .cta-heading { max-width: 100%; }
  .cta-sub     { max-width: 100%; margin-inline: auto; }

  /* ── Footer ── */
  .footer-inner { grid-template-columns: 1fr; gap: var(--space-8); }
  .footer-nav   { flex-wrap: wrap; gap: var(--space-8); }
}

/* ════════════════════════════════════════════
   MOBILE  –  max 768px
════════════════════════════════════════════ */
@media (max-width: 768px) {
  :root { --header-h: 60px; }

  section { padding-block: var(--space-16); }

  /* ── Header ── */
  .header-inner { gap: var(--space-3); }
  .header-logo svg {
    width: min(240px, calc(100vw - 80px));
    height: auto;
  }
  .header-nav  { display: none; }
  .header-cta  { display: none; }
  .nav-toggle  { display: flex; }

  /* ── Hero ── */
  .hero {
    min-height: auto;
    padding-top: calc(var(--header-h) + var(--space-8));
    padding-bottom: var(--space-16);
  }
  .hero-heading { font-size: clamp(28px, 7.5vw, 44px); }
  
  .hero-sub     { font-size: 16px; }
  .hero-badge   { font-size: 12px; padding: 5px 12px; }
  .hero-actions { flex-direction: column; width: 100%; gap: var(--space-3); }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-proof-banner-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero-proof-brand {
    width: 110px;
    height: 52px;
    margin: auto;
  }
  .hero-proof-banner-arrow { display: none; }
  .hero-proof-banner-copy p {
    font-size: clamp(16px, 4.4vw, 22px);
  }
  .hero-scroll  { display: none; }

  /* Typography */
  .section-heading { font-size: clamp(22px, 6vw, 34px); max-width: 100%; }
  .section-sub     { font-size: 15px; max-width: 100%; margin-bottom: var(--space-8); }

  /* ── Experience ── */
  .exp-steps { gap: var(--space-16); }
  .phone-frame {
    width: 190px;
    height: 390px;
    border-radius: 28px;
  }
  .phone-frame::before { width: 48px; height: 4px; }
  .step-number  { font-size: 42px; margin-bottom: var(--space-2); }
  .exp-step-info h3 { font-size: 22px; }
  .exp-step-info p  { font-size: 15px; }
  .win-title    { font-size: 18px; }
  .voucher-label { font-size: 20px; }

  /* ── Dashboard ── */
  .dash-sidebar { display: none; }
  .dashboard-browser { border-radius: var(--radius-lg); }
  .dash-main { padding: var(--space-4); gap: var(--space-3); }
  .dash-topbar { flex-wrap: wrap; gap: var(--space-2); }
  .dash-topbar-right { width: 100%; }
  .kpi-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-2); }
  .kpi-card { padding: var(--space-3); }
  .kpi-value { font-size: 20px; }
  .kpi-label { font-size: 10px; }
  .dash-bottom-row { grid-template-columns: 1fr; gap: var(--space-3); }
  .dash-panel { padding: var(--space-3); }
  .plays-chart { display: none; } /* hide chart on small screens, keep placement list */
  .winners-table th:nth-child(3),
  .winners-table td:nth-child(3),
  .winners-table th:nth-child(4),
  .winners-table td:nth-child(4) { display: none; }
  .winners-table th,
  .winners-table td { padding: 8px 6px; font-size: 11px; }

  /* ── Offline→Online ── */
  .oto-stage { padding: var(--space-5); min-height: auto; }
  .oto-stage-title { font-size: 15px; }
  .integration-logos { gap: var(--space-2); }
  .integration-chip  { font-size: 10px; padding: 3px 8px; }

  /* ── Funnel ── */
  .funnel-table-wrap { border-radius: var(--radius-lg); }
  .funnel-table { min-width: 460px; }
  .funnel-th-stage { width: 25%; }
  .funnel-th-without,
  .funnel-th-with { width: 37.5%; }
  .funnel-table th { padding: var(--space-4) var(--space-4); }
  .funnel-row td,
  .funnel-row th   { padding: var(--space-3) var(--space-4); }
  .funnel-cell     { font-size: 12px; }

  /* ── Marquee ── */
  .marquee-wrap::before,
  .marquee-wrap::after { width: 60px; }
  .marquee-inner { gap: var(--space-8); }
  .marquee-placeholder { font-size: 13px; padding: 6px 16px; }

  /* ── Testimonial ── */
  .testimonial { padding-bottom: var(--space-16); }
  .testimonial-text { font-size: 17px; }

  /* ── Contact CTA ── */
  .contact-cta { padding-block: var(--space-16); }
  .cta-heading { font-size: clamp(22px, 6vw, 36px); }
  .cta-sub     { font-size: 15px; }

  /* ── Footer ── */
  .footer-inner { padding-top: var(--space-12); padding-bottom: var(--space-8); }
  .footer-nav   { gap: var(--space-6); }
  .footer-nav-col { gap: var(--space-3); }
  .footer-bottom-inner {
    flex-direction: column;
    gap: var(--space-2);
    text-align: center;
    padding-block: var(--space-4);
  }

  /* ── Modal ── */
  .modal-overlay { padding: var(--space-4); align-items: flex-end; }
  .modal-panel {
    max-width: 100%;
    max-height: 92vh;
  }
  .modal-body { padding: var(--space-6); }
  .modal-heading { font-size: 20px; }
}

/* ════════════════════════════════════════════
   SMALL MOBILE  –  max 480px
════════════════════════════════════════════ */
@media (max-width: 480px) {
  :root { --header-h: 56px; }

  .container { padding-inline: var(--space-4); }

  /* ── Hero ── */
  .hero-heading { font-size: 26px; letter-spacing: -0.03em; }
  .hero-sub     { font-size: 15px; }

  /* Force outcome word onto its own line on small phones */
  .hero-line-2 {
    display: flex;
    align-items: flex-start;
    white-space: normal;
    gap: 4px;
  }
  .rotate-wrap--outcome {
    display: inline-grid;
  }

  /* ── Section headings ── */
  .section-heading { font-size: 22px; }
  .section-sub     { font-size: 14px; }

  /* ── Experience ── */
  .exp-steps      { gap: var(--space-12); }
  .phone-frame {
    width: 170px;
    height: 350px;
    border-radius: 26px;
  }
  .balloon-svg    { width: 70px; }
  .win-card       { padding: var(--space-4); }
  .win-icon       { font-size: 28px; }
  .voucher-label  { font-size: 18px; }
  .step3-content  { padding: var(--space-3) var(--space-4); }
  .step-number    { font-size: 40px; }
  .exp-step-info h3 { font-size: 20px; }
  .exp-step-info p  { font-size: 14px; }

  /* ── Dashboard ── */
  .kpi-grid  { grid-template-columns: repeat(2, 1fr); gap: var(--space-2); }
  .kpi-card  { padding: var(--space-2) var(--space-3); }
  .kpi-value { font-size: 18px; }
  .kpi-label { font-size: 9px; }
  .kpi-delta { font-size: 10px; }
  .dash-page-title { font-size: 14px; }
  .dash-disclaimer { font-size: 10px; flex-wrap: wrap; }

  /* Winners table – show only 3 cols */
  .winners-table th:nth-child(2),
  .winners-table td:nth-child(2) { display: none; }

  /* ── Offline→Online ── */
  .oto-stage       { padding: var(--space-4); border-radius: var(--radius-lg); }
  .oto-stage-icon  { width: 40px; height: 40px; }
  .oto-stage-title { font-size: 14px; }
  .oto-stage-list li { font-size: 12px; }
  .integration-chip { font-size: 10px; padding: 3px 8px; }

  /* ── Funnel ── */
  .funnel-table { min-width: 360px; }
  .funnel-th-stage { width: 25%; }
  .funnel-table th  { padding: var(--space-3) var(--space-3); }
  .funnel-row td,
  .funnel-row th    { padding: var(--space-3); }
  .funnel-cell,
  .funnel-stage-label { font-size: 11px; }
  .funnel-col-label { font-size: 12px; }
  .funnel-col-sub   { font-size: 10px; }

  /* ── Marquee ── */
  .marquee-wrap     { padding-block: var(--space-6); margin-block: var(--space-8); }
  .marquee-inner {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-5) var(--space-4);
    padding-inline: var(--space-4);
  }
  .marquee-item {
    width: 100%;
    height: 44px;
    min-width: 0;
    padding: 0;
  }
  .marquee-item img { height: 44px; }
  .marquee-placeholder { font-size: 12px; padding: 0; }

  /* ── Testimonial ── */
  .testimonial-text   { font-size: 15px; }
  .testimonial-author { font-size: 13px; }
  .testimonial-role   { font-size: 12px; }

  /* ── CTA ── */
  .cta-heading { font-size: 22px; }
  .cta-sub     { font-size: 14px; }

  /* ── Footer ── */
  .footer-tagline  { font-size: 12px; }
  .footer-nav      { flex-direction: column; gap: var(--space-5); }
  .footer-nav-col  { gap: var(--space-2); }
  .footer-nav a,
  .footer-link-btn { font-size: 13px; }

  /* ── Modal ── */
  .modal-body       { padding: var(--space-5); }
  .modal-heading    { font-size: 18px; }
  .modal-desc       { font-size: 13px; }
  .modal-header-content { gap: var(--space-3); }
  .contact-form .form-input { font-size: 14px; padding: 10px 12px; }
  .btn-submit       { padding: 13px; font-size: 14px; }

  /* ── Buttons ── */
  .btn-lg { font-size: 14px; padding: 12px 22px; }
}

/* ════════════════════════════════════════════
   VERY SMALL  –  max 390px  (iPhone SE / Galaxy S)
════════════════════════════════════════════ */
@media (max-width: 390px) {
  :root { --header-h: 54px; }

  .container { padding-inline: var(--space-4); }

  /* ── Hero ── */
  .hero-heading { font-size: 24px; }
  .hero-sub     { font-size: 14px; }
  .hero-badge   { font-size: 11px; padding: 4px 10px; }
  .hero-badge-dot { width: 6px; height: 6px; }

  /* ── Section ── */
  .section-heading { font-size: 20px; }
  .section-label   { font-size: 11px; }

  /* ── Experience ── */
  .phone-frame {
    width: 155px;
    height: 320px;
    border-radius: 24px;
    border-width: 4px;
  }
  .balloon-svg  { width: 64px; }
  .tap-hint     { font-size: 13px; }
  .step-number  { font-size: 36px; }
  .exp-step-info h3 { font-size: 18px; }
  .exp-step-info p  { font-size: 13px; }

  /* ── Dashboard ── */
  .kpi-value  { font-size: 16px; }
  .kpi-label  { font-size: 9px; }
  .browser-bar { font-size: 11px; }

  /* ── Funnel ── */
  .funnel-table { min-width: 320px; }
  .funnel-th-stage { width: 25%; }
  .funnel-cell,
  .funnel-stage-label { font-size: 10px; }

  /* ── Modal ── */
  .modal-body     { padding: var(--space-4); }
  .modal-heading  { font-size: 17px; }
  .contact-form .form-input { font-size: 13px; }

  /* ── Buttons ── */
  .btn     { font-size: 13px; padding: 9px 16px; }
  .btn-lg  { font-size: 13px; padding: 11px 18px; }
}

/* ════════════════════════════════════════════
   EXTRA TINY  –  max 320px  (older/smallest)
════════════════════════════════════════════ */
@media (max-width: 320px) {
  .hero-heading { font-size: 22px; }
  .hero-sub     { font-size: 13px; }

  .phone-frame {
    width: 140px;
    height: 290px;
    border-radius: 22px;
  }
  .balloon-svg  { width: 56px; }

  .kpi-grid { grid-template-columns: 1fr 1fr; }
  .kpi-value { font-size: 15px; }

  .funnel-table { min-width: 280px; }

  .btn-lg { font-size: 12px; padding: 10px 14px; }
}

/* ════════════════════════════════════════════
   LANDSCAPE PHONES  (height < 500px)
════════════════════════════════════════════ */
@media (max-height: 500px) and (orientation: landscape) {
  .hero {
    min-height: auto;
    padding-top: calc(var(--header-h) + var(--space-6));
    padding-bottom: var(--space-8);
  }
  .hero-heading  { font-size: 22px; }
  .hero-sub      { display: none; }
  .hero-scroll   { display: none; }
  .hero-proof-banner { display: none; }
  .modal-overlay { align-items: center; }
  .modal-panel   { border-radius: var(--radius-xl); max-height: 96vh; }
}
