/* ============================================
   NightsOut — Early Access Landing Page
   Redesign v2: Apple product-launch quality
   Brand: #a855f7 purple (eyebrows, accents)
         #ec4899 pink (CTA gradient only)
   ============================================ */

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

/* ---- Base ---- */
html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

:root {
  --bg: #0a0a10;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-border: rgba(255, 255, 255, 0.09);
  --text-soft: rgba(255, 255, 255, 0.62);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'DM Sans', 'Segoe UI', sans-serif;
  background:
    radial-gradient(1200px 700px at 50% -8%, rgba(124, 58, 237, 0.17), transparent 58%),
    linear-gradient(180deg, #08080e 0%, #090911 38%, #0a0a10 100%);
  color: #fff;
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(600px circle at var(--glow-x, 50%) var(--glow-y, 25%), rgba(168, 85, 247, 0.14), transparent 60%),
    radial-gradient(500px circle at 82% 10%, rgba(236, 72, 153, 0.10), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.045) 0.6px, transparent 0.6px);
  background-size: 3px 3px;
  opacity: 0.06;
  mix-blend-mode: soft-light;
  pointer-events: none;
  z-index: 0;
}

.cursor-glow {
  position: fixed;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.22) 0%, rgba(168, 85, 247, 0.05) 38%, transparent 70%);
  pointer-events: none;
  filter: blur(12px);
  transform: translate(-50%, -50%);
  left: var(--glow-x, 50%);
  top: var(--glow-y, 35%);
  z-index: 2;
  opacity: 0.9;
}

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

/* ============================================
   NAV
   ============================================ */
.nav {
  position: fixed;
  top: env(safe-area-inset-top, 0px);
  left: 0;
  right: 0;
  z-index: 100;
  height: 64px;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, backdrop-filter 0.3s ease, border-color 0.3s ease;
}

.nav__progress {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: var(--scroll-progress, 0%);
  background: linear-gradient(90deg, #a855f7, #ec4899);
  box-shadow: 0 0 16px rgba(168, 85, 247, 0.6);
}

.nav--scrolled {
  background: rgba(10, 10, 16, 0.62) !important;
  border-bottom-color: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(24px) saturate(120%);
  -webkit-backdrop-filter: blur(24px) saturate(120%);
}

.nav__logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  user-select: none;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.nav--brand-visible .nav__logo {
  opacity: 1;
  transform: none;
}

.nav__logo-img {
  display: block;
  height: 100px;
  width: auto;
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  border: 1px solid rgba(168, 85, 247, 0.48);
  border-radius: 100px;
  padding: 8px 18px;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), rgba(168, 85, 247, 0.06));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.nav__cta:hover {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.32), rgba(168, 85, 247, 0.1));
  border-color: rgba(168, 85, 247, 0.82);
  transform: translateY(-1px);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  height: 86svh;
  min-height: 600px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  background: transparent;
  padding-top: calc(env(safe-area-inset-top, 0px) + 28px);
}

.hero,
.form-section,
.copyright {
  position: relative;
  z-index: 1;
}

/* Single radial glow at top */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 82vw 62vh at 50% -4%, rgba(88, 28, 135, 0.26) 0%, transparent 72%),
    radial-gradient(ellipse 42vw 30vh at 80% 16%, rgba(236, 72, 153, 0.12) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 10%;
  width: min(740px, 88vw);
  height: 200px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse 62% 60% at 50% 50%, rgba(168, 85, 247, 0.18), transparent 72%);
  filter: blur(30px);
  pointer-events: none;
  z-index: 0;
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: clamp(24px, 5vh, 60px) 32px 0;
  max-width: 660px;
  width: 100%;
}

.hero__brand {
  margin: 0 auto 18px;
  width: min(252px, 38vw);
  transform: translateY(calc(var(--hero-logo-progress, 0) * -48px)) scale(calc(1 - (var(--hero-logo-progress, 0) * 0.42)));
  transform-origin: center top;
  opacity: calc(1 - (var(--hero-logo-progress, 0) * 0.92));
  transition: transform 0.12s linear, opacity 0.12s linear;
  will-change: transform, opacity;
}

.hero__brand-img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 12px 32px rgba(168, 85, 247, 0.22));
}

.hero__eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #a855f7;
  margin-bottom: 12px;
}

.hero__headline {
  font-size: clamp(44px, 5.8vw, 66px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.048em;
  background: linear-gradient(135deg, #fff 0%, #fff 45%, #c084fc 75%, #a855f7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 36px rgba(168, 85, 247, 0.18);
  max-width: 12ch;
  margin: 0 auto;
  padding-bottom: 0.08em;
}

.hero__subline {
  font-size: 18px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.64);
  margin-top: 14px;
  line-height: 1.45;
  max-width: 34ch;
  margin-left: auto;
  margin-right: auto;
}

/* Scroll chevron */
.scroll-cue {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.52);
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  animation: chevron-pulse 1.5s ease-in-out infinite;
  transition: opacity 0.3s ease;
}

@keyframes chevron-pulse {
  0%, 100% { opacity: 0.4; transform: translateY(0); }
  50%       { opacity: 0.7; transform: translateY(6px); }
}

/* Phone mockup — peek effect: phone sits below hero content, top ~60% visible */
.hero__phone-container {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  margin-top: 48px;
  flex-shrink: 0;
}

.hero__phone {
  width: 260px;
  border: 3px solid rgba(255,255,255,0.08);
  border-radius: 40px;
  overflow: hidden;
  box-shadow:
    0 0 80px rgba(168, 85, 247, 0.15),
    0 0 200px rgba(168, 85, 247, 0.07),
    0 40px 80px rgba(0,0,0,0.5);
  opacity: 0; /* hero-animate--phone controls reveal */
  transform-style: preserve-3d;
  will-change: transform;
}

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

/* ============================================
   HERO LOAD ANIMATIONS
   ============================================ */
.hero-animate {
  opacity: 0;
  transform: translateY(20px);
  animation: hero-in 0.7s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
}

@keyframes hero-in {
  to { opacity: 1; transform: none; }
}

.hero-animate--eyebrow  { animation-delay: 0.10s; }
.hero-animate--headline { animation-delay: 0.25s; }
.hero-animate--subline  { animation-delay: 0.45s; }
.hero-animate--brand    { animation-delay: 0.05s; }

/* Phone has its own entrance */
.hero-animate--phone {
  animation: phone-in 1.0s cubic-bezier(0.34, 1.2, 0.64, 1) 0.3s forwards;
}

@keyframes phone-in {
  from { opacity: 0; transform: translateY(40px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* Gentle float — applied via JS after entrance completes */
@keyframes phone-float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-10px); }
}

/* ============================================
   REVEAL ANIMATIONS (scroll-triggered)
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.reveal--left {
  transform: translateX(-30px);
}

.reveal--left.is-visible {
  transform: none;
}

.reveal--right {
  transform: translateX(30px);
}

.reveal--right.is-visible {
  transform: none;
}

.reveal--delay-1 { transition-delay: 0.08s; }
.reveal--delay-2 { transition-delay: 0.18s; }
.reveal--delay-3 { transition-delay: 0.28s; }

/* ============================================
   PREVIEW STRIP
   ============================================ */
.preview {
  min-height: auto;
  padding: 36px 24px 84px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0;
}

.preview__header {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.preview__headline {
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1.06;
  letter-spacing: -0.03em;
  font-weight: 700;
  margin-bottom: 14px;
}

.preview__subline {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.58);
}

.preview__video {
  position: relative;
  isolation: isolate;
  width: min(980px, 100%);
  margin: 0 auto;
  border-radius: 0;
  overflow: hidden;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.preview__video::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 10, 16, 0.35) 0%, rgba(10, 10, 16, 0.06) 45%, rgba(10, 10, 16, 0.46) 100%);
  pointer-events: none;
  z-index: 2;
}

.preview__video-el {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #050508;
  transform: scale(1.015);
  filter: saturate(1.08) contrast(1.06) brightness(0.9);
  -webkit-mask-image: radial-gradient(120% 110% at 50% 50%, #000 58%, rgba(0, 0, 0, 0) 100%);
  mask-image: radial-gradient(120% 110% at 50% 50%, #000 58%, rgba(0, 0, 0, 0) 100%);
}

.preview__video-vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
  background:
    radial-gradient(80% 100% at 50% 50%, transparent 58%, rgba(10, 10, 16, 0.45) 100%),
    radial-gradient(70% 50% at 50% 0%, rgba(168, 85, 247, 0.14), transparent 70%);
}

/* ============================================
   INTERACTIVE SHOWCASE
   ============================================ */
.showcase {
  min-height: 305vh;
  position: relative;
  padding: 0 24px;
  margin-top: -18px;
}

.showcase__sticky {
  position: sticky;
  top: 0;
  min-height: 100svh;
  display: flex;
  align-items: center;
}

.showcase__container {
  width: min(1200px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr minmax(320px, 460px);
  align-items: center;
  gap: clamp(44px, 7vw, 104px);
}

.showcase__content {
  min-height: 370px;
  position: relative;
  padding: 24px 0;
}

.showcase__step {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(26px);
  pointer-events: none;
  transition: opacity 0.5s ease, transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.showcase__step.active {
  opacity: 1;
  transform: translateY(0);
}

.showcase__eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #a855f7;
  margin-bottom: 18px;
}

.showcase__headline {
  font-size: clamp(46px, 6.2vw, 82px);
  line-height: 1.01;
  letter-spacing: -0.045em;
  font-weight: 800;
  color: #fff;
  margin-bottom: 18px;
  max-width: 12ch;
}

.showcase__body {
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.58;
  color: rgba(255, 255, 255, 0.62);
  max-width: 34ch;
}

.showcase__pager {
  position: absolute;
  left: 0;
  bottom: -18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.showcase__dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, 0.25);
  padding: 0;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.showcase__dot.active {
  background: #a855f7;
  box-shadow: 0 0 0 4px rgba(168, 85, 247, 0.2);
  transform: scale(1.06);
}

.showcase__visual {
  display: flex;
  justify-content: center;
  perspective: 1600px;
  transform: translateY(-6px);
}

.showcase__phone {
  width: min(84vw, 372px);
  aspect-ratio: 9 / 19.5;
  border-radius: 50px;
  position: relative;
  background: #07070b;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    inset 0 0 0 2px rgba(255, 255, 255, 0.04),
    0 55px 120px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(168, 85, 247, 0.16);
  overflow: hidden;
  transform: rotateY(calc(-8deg + (var(--showcase-progress, 0) * 8deg))) rotateX(calc(4deg - (var(--showcase-progress, 0) * 4deg))) translateY(calc(var(--showcase-progress, 0) * -14px));
  transform-style: preserve-3d;
  transition: transform 0.25s linear;
}

.showcase__phone::before {
  content: '';
  position: absolute;
  inset: 10px;
  border-radius: 40px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  pointer-events: none;
  z-index: 4;
}

.showcase__phone-notch {
  position: absolute;
  left: 50%;
  top: 8px;
  transform: translateX(-50%);
  width: 40%;
  height: 28px;
  border-radius: 0 0 16px 16px;
  background: #050507;
  z-index: 5;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}

.showcase__screen {
  position: absolute;
  inset: 10px;
  border-radius: 40px;
  overflow: hidden;
  background: #06060b;
}

.showcase__screen::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  pointer-events: none;
  z-index: 2;
}

.showcase__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 0.5s ease, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  filter: saturate(1.04) contrast(1.02);
  border-radius: inherit;
}

.showcase__img.active {
  opacity: 1;
  transform: scale(1);
}

.showcase__map-chip {
  position: absolute;
  left: 50%;
  top: 16px;
  transform: translateX(-50%) translateY(-4px);
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(7, 7, 11, 0.78);
  color: rgba(255, 255, 255, 0.9);
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 5;
}

.showcase[data-active-step='2'] .showcase__map-chip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.showcase__phone-glare {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 6;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.14) 0%, transparent 21%, transparent 78%, rgba(255, 255, 255, 0.08) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.015) 0%, transparent 22%, rgba(0, 0, 0, 0.36) 100%);
}

/* ============================================
   SCREEN GALLERY
   ============================================ */
.gallery {
  padding: 80px 0 96px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0));
}

.gallery__header {
  width: min(960px, 100%);
  margin: 0 auto;
  text-align: center;
  padding: 0 24px;
}

.gallery__headline {
  font-size: clamp(40px, 5.6vw, 72px);
  line-height: 1.03;
  letter-spacing: -0.038em;
  font-weight: 800;
  color: #fff;
  margin-bottom: 14px;
}

.gallery__subline {
  font-size: 19px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.6);
  max-width: 38ch;
  margin: 0 auto;
}

.gallery__track {
  margin-top: 42px;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(240px, 300px);
  gap: 18px;
  padding: 0 24px 10px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.gallery__track::-webkit-scrollbar {
  height: 8px;
}

.gallery__track::-webkit-scrollbar-thumb {
  background: rgba(168, 85, 247, 0.35);
  border-radius: 999px;
}

.gallery__card {
  margin: 0;
  scroll-snap-align: center;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  box-shadow:
    0 22px 48px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
  transition: transform 0.28s ease, border-color 0.25s ease, opacity 0.25s ease, filter 0.25s ease;
  opacity: 0.78;
  filter: saturate(0.86) brightness(0.92);
}

.gallery__card:hover {
  transform: translateY(-4px);
  border-color: rgba(168, 85, 247, 0.38);
}

.gallery__card.is-focus {
  opacity: 1;
  filter: saturate(1.02) brightness(1);
  border-color: rgba(168, 85, 247, 0.5);
  transform: translateY(-3px) scale(1.01);
}

.gallery__img {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 19.5;
  object-fit: cover;
  background: #06060b;
}

.gallery__caption {
  padding: 12px 14px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

/* ============================================
   FEATURE SECTIONS (3 × 100vh)
   ============================================ */
.feature {
  height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 0 80px;
  gap: 80px;
  background: transparent;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Feature 02: reverse column order */
.feature--reverse .feature__copy   { order: 2; }
.feature--reverse .feature__visual { order: 1; }

/* ---- Copy block ---- */
.feature__eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #a855f7;
  margin-bottom: 16px;
  display: block;
}

.feature__headline {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 20px;
}

.feature__body {
  font-size: 19px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-soft);
  max-width: 380px;
}

.feature__copy {
  padding: 36px;
  border-radius: 28px;
  border: 1px solid var(--surface-border);
  background: var(--surface);
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

/* ---- Feature visual: app screenshot (Feature 01) ---- */
.feature__screenshot {
  display: block;
  max-width: 380px;
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.4);
  transform: rotate(5deg);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.tilt-card {
  transition: transform 0.25s ease, filter 0.25s ease;
  transform-style: preserve-3d;
  will-change: transform;
}

.tilt-card:hover {
  filter: brightness(1.04);
}

/* Swipe card screenshot — upright, no tilt */
.feature__screenshot--swipe {
  transform: none;
  max-width: 340px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
}

.feature__screenshot--swipe:hover {
  transform: scale(1.01);
}

/* ---- Feature visual: CSS heatmap (Feature 02) ---- */
.feature__heatmap {
  width: 380px;
  height: 280px;
  border-radius: 20px;
  background: #0d0d1a;
  background-image:
    radial-gradient(ellipse 65% 60% at 55% 45%, rgba(168, 85, 247, 0.35) 0%, rgba(88, 28, 135, 0.18) 35%, transparent 65%),
    radial-gradient(ellipse 28% 22% at 30% 68%, rgba(139, 92, 246, 0.18) 0%, transparent 55%);
  position: relative;
  overflow: hidden;
}

.feature__heatmap::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 28px 28px;
  border-radius: 20px;
}

/* ---- Feature visual: dual map images (Feature 02) ---- */
.feature__dual-maps {
  position: relative;
  width: 400px;
  height: 340px;
  flex-shrink: 0;
}

.feature__dual-maps__img {
  display: block;
  width: 76%;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.55);
  position: absolute;
  object-fit: cover;
}

.feature__dual-maps__img--top {
  top: 0;
  right: 0;
  z-index: 2;
  transform: rotate(2deg);
}

.feature__dual-maps__img--bottom {
  bottom: 0;
  left: 0;
  z-index: 1;
  transform: rotate(-2deg);
}

/* Mobile: flatten dual maps */
@media (max-width: 768px) {
  .feature__dual-maps {
    width: 100%;
    max-width: 360px;
    height: 300px;
  }
}

/* ---- Feature visual: CSS map (Feature 03) ---- */
.feature__map {
  width: 380px;
  height: 280px;
  border-radius: 20px;
  background: #0d0d1a;
  position: relative;
  overflow: hidden;
}

.feature__map::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 10, 16, 0.04) 0%, rgba(10, 10, 16, 0.28) 100%);
  z-index: 1;
}

.feature__map-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% 42%;
  transform: scale(1.08);
}

/* ---- Feature visual: Venue Hub UI placeholder (Feature 03) ---- */
.feature__venue-hub-placeholder {
  width: 380px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #0d0d1a;
  overflow: hidden;
  box-shadow: 0 32px 64px rgba(0, 0, 0, 0.5);
}

.feature__venue-hub-inner {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.feature__venue-hub-search {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 10px 14px;
}

.feature__venue-hub-icon {
  font-size: 16px;
  opacity: 0.6;
}

.feature__venue-hub-text {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.35);
  font-style: italic;
}

.feature__venue-hub-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.feature__venue-hub-chip {
  font-size: 12px;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.04);
  white-space: nowrap;
}

.feature__venue-hub-chip--active {
  border-color: rgba(168, 85, 247, 0.5);
  color: #c084fc;
  background: rgba(168, 85, 247, 0.1);
}

.feature__venue-hub-results {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feature__venue-hub-result {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 10px 12px;
}

.feature__venue-hub-thumb {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid rgba(255,255,255,0.06);
}

.feature__venue-hub-thumb--placeholder {
  background: rgba(168, 85, 247, 0.12);
  border: 1px solid rgba(168, 85, 247, 0.15);
}

.feature__venue-hub-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.feature__venue-hub-name {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.feature__venue-hub-meta {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.38);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Mobile: Venue Hub width */
@media (max-width: 768px) {
  .feature__venue-hub-placeholder {
    width: 100%;
    max-width: 380px;
  }
}

/* ============================================
   FORM SECTION (id="form")
   ============================================ */
.form-section {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: #0a0a10;
  padding: 80px 24px;
}

.form-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 600px 400px at 50% 50%, rgba(139, 92, 246, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.form-section__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 560px;
  text-align: center;
  padding: 44px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02));
  box-shadow:
    0 40px 90px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px) saturate(120%);
  -webkit-backdrop-filter: blur(12px) saturate(120%);
}

.form-section__headline {
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 12px;
}

.form-section__subline {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 40px;
  line-height: 1.5;
}

.form-section__body {
  width: 100%;
}

.form-section__honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---- Inputs ---- */
.form-section__input {
  display: block;
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 18px 20px;
  font-family: inherit;
  font-size: 16px;
  color: #fff;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  margin-bottom: 12px;
}

.form-section__input:focus {
  border-color: rgba(168, 85, 247, 0.5);
  box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.1);
}

.form-section__input[aria-invalid='true'] {
  border-color: rgba(248, 113, 113, 0.8);
  box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.18);
}

.form-section__input::placeholder {
  color: rgba(255, 255, 255, 0.25);
}

/* ---- Submit button ---- */
.form-section__btn {
  display: block;
  width: 100%;
  background: linear-gradient(135deg, #a855f7, #ec4899);
  border: none;
  border-radius: 12px;
  padding: 18px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 16px 34px rgba(168, 85, 247, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease, filter 0.2s ease;
}

.form-section__btn:hover {
  transform: translateY(-1px) scale(1.01);
  box-shadow: 0 20px 38px rgba(168, 85, 247, 0.4);
  filter: brightness(1.04);
}

.form-section__btn:disabled {
  opacity: 0.6;
  transform: none;
  cursor: not-allowed;
}

.form-section__disclaimer {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.25);
  text-align: center;
  margin-top: 4px;
}

.form-section__error {
  font-size: 14px;
  color: #f87171;
  margin-top: 8px;
  min-height: 1.4em;
  text-align: center;
}

/* ============================================
   CONFIRMATION STATE
   ============================================ */
.confirmation__icon {
  display: flex;
  justify-content: center;
  margin-top: 40px;
  margin-bottom: 16px;
}

.signup__confirmation-title {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.signup__confirmation-position {
  font-size: 17px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 8px;
}

.confirmation__subtext {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 24px;
  line-height: 1.5;
}

/* Referral block */
/* ============================================
   COPYRIGHT
   ============================================ */
.copyright {
  text-align: center;
  padding: 32px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.015);
}

.copyright p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.25);
}

/* ============================================
   MOBILE  (max-width: 768px)
   ============================================ */
@media (max-width: 768px) {

  /* Nav */
  .nav {
    padding: 0 20px;
  }

  .nav__logo-img {
    height: 40px;
  }

  /* Hero */
  .hero__content {
    padding: calc(env(safe-area-inset-top, 0px) + 34px) 24px 0;
  }

  .hero__headline {
    font-size: clamp(36px, 8.6vw, 52px);
    line-height: 1.03;
    max-width: 10ch;
  }

  .hero__brand {
    width: min(198px, 56vw);
    margin-bottom: 10px;
  }

  .scroll-cue {
    margin-top: 14px;
  }

  .feature__copy {
    padding: 26px;
    border-radius: 22px;
  }

  .form-section__inner {
    padding: 30px 24px;
    border-radius: 22px;
  }

  .hero__phone-container {
    margin-top: 28px;
  }

  .hero__phone {
    width: 240px;
  }

  .showcase {
    min-height: 420vh;
    padding: 0 16px;
    margin-top: 0;
  }

  .gallery__track {
    margin-top: 30px;
    grid-auto-columns: minmax(220px, 76vw);
    gap: 14px;
    padding: 0 16px 8px;
  }

  .showcase__sticky {
    position: sticky;
    top: 70px;
    min-height: calc(100svh - 70px);
    align-items: center;
  }

  .showcase__container {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .showcase__content {
    min-height: 220px;
    text-align: center;
    padding: 8px 0 0;
  }

  .showcase__headline {
    font-size: clamp(34px, 9vw, 46px);
    margin-left: auto;
    margin-right: auto;
    max-width: 14ch;
    margin-bottom: 12px;
  }

  .showcase__body {
    font-size: 16px;
    line-height: 1.5;
    max-width: 30ch;
    margin-left: auto;
    margin-right: auto;
  }

  .showcase__pager {
    position: static;
    margin-top: 14px;
    justify-content: center;
    width: 100%;
  }

  .showcase__phone {
    width: min(64vw, 270px);
  }

  .showcase__map-chip {
    top: 12px;
    padding: 7px 12px;
    font-size: 11px;
  }

  /* Feature sections: stack vertically */
  .feature {
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 100vh;
    padding: 60px 24px;
    gap: 40px;
    justify-content: center;
  }

  .feature__copy {
    order: 1;
  }

  .feature__visual {
    order: 2;
    display: flex;
    justify-content: center;
    max-width: 100%;
  }

  /* Reset feature--reverse column swap on mobile */
  .feature--reverse .feature__copy   { order: 1; }
  .feature--reverse .feature__visual { order: 2; }

  .feature__screenshot {
    max-width: 100%;
    transform: rotate(3deg);
  }

  .feature__heatmap,
  .feature__map {
    width: 100%;
    max-width: 380px;
  }

  /* Form */
  .form-section {
    padding: 60px 24px;
  }
}

@media (max-width: 480px) {
  .hero__content {
    padding: calc(env(safe-area-inset-top, 0px) + 30px) 18px 0;
  }

  .hero__headline {
    font-size: clamp(32px, 10.2vw, 42px);
    line-height: 1.04;
    max-width: 10ch;
  }

  .hero__brand {
    width: min(164px, 58vw);
    margin-bottom: 6px;
  }

  .nav__logo-img {
    height: 36px;
  }

  .hero__meta {
    margin-top: 20px;
    gap: 8px;
  }

  .hero__meta-chip {
    min-height: 30px;
    padding: 7px 11px;
    font-size: 11px;
    letter-spacing: 0.04em;
  }

  .form-section__inner {
    padding: 26px 18px;
  }

  .hero {
    height: 80svh;
    min-height: 520px;
    padding-top: calc(env(safe-area-inset-top, 0px) + 24px);
  }

  .showcase__headline {
    font-size: clamp(30px, 8.8vw, 40px);
  }

  .showcase__body {
    font-size: 15px;
    max-width: 28ch;
  }

  .feature__body {
    font-size: 17px;
  }
}

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

  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }

  .hero-animate,
  .reveal {
    opacity: 1;
    transform: none;
  }

  .hero__brand {
    transform: none;
    opacity: 1;
    transition: none;
  }

  .showcase {
    min-height: auto;
  }

  .showcase__step {
    position: static;
    display: none;
    opacity: 1;
    transform: none;
    transition: none;
  }

  .showcase__step.active {
    display: block;
  }

  .showcase__img {
    transition: none;
  }

  .showcase__phone {
    transform: none;
  }

  .feature__copy,
  .form-section__inner,
  .scroll-cue {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .showcase__map-chip {
    transition: none;
  }

  .gallery__card {
    transition: none;
    opacity: 1;
    filter: none;
  }

  .cursor-glow,
  body::before,
  body::after,
  .nav__progress {
    display: none;
  }
}
