/* ===== Design Tokens ===== */
:root {
  /* Existing tokens — KEEP */
  --ink:          #0A0A0F;
  --neon-pink:    #FF2E93;
  --neon-cyan:    #00F0FF;
  --neon-violet:  #9B5DE5;
  --text-primary: #FFFFFF;
  --text-secondary: rgba(255, 255, 255, 0.60);
  --text-tertiary:  rgba(255, 255, 255, 0.35);
  --gradient-cta: linear-gradient(135deg, #FF2E93, #9B5DE5);

  /* NEW — placeholder gradient variants (used on carousel slides, phone screens, tiles) */
  --grad-pink-violet:  linear-gradient(135deg, #FF2E93 0%, #9B5DE5 100%);
  --grad-cyan-violet:  linear-gradient(135deg, #00F0FF 0%, #9B5DE5 100%);
  --grad-pink-cyan:    linear-gradient(135deg, #FF2E93 0%, #00F0FF 100%);
  --grad-violet-pink:  linear-gradient(135deg, #9B5DE5 0%, #FF2E93 100%);
  --grad-cyan-pink:    linear-gradient(135deg, #00F0FF 0%, #FF2E93 100%);

  /* NEW — surface + spacing + radius */
  --surface-1: rgba(255, 255, 255, 0.03);
  --surface-2: rgba(255, 255, 255, 0.06);
  --border-soft: rgba(255, 255, 255, 0.08);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 36px;
  --radius-pill: 9999px;
  --shadow-glow-pink: 0 0 24px rgba(255, 46, 147, 0.30);
  --shadow-glow-pink-strong: 0 0 48px rgba(255, 46, 147, 0.55);

  --section-pad-y: clamp(64px, 10vw, 128px);
  --section-pad-x: clamp(20px, 5vw, 80px);
}

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

html {
  background: var(--ink);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text-primary);
  background: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;   /* vertical scroll is allowed */
}

img, video { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }

ul, ol { list-style: none; }

:focus-visible {
  outline: 2px solid var(--neon-cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ===== Typography utilities ===== */
.eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--neon-cyan);
}

.section__intro {
  max-width: 720px;
  margin: 0 auto clamp(32px, 5vw, 64px);
  text-align: center;
  padding: 0 20px;
}

.section__title {
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-top: 12px;
}

/* ===== Reusable .btn ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
  will-change: transform;
}

.btn--primary {
  background: var(--gradient-cta);
  color: var(--text-primary);
  box-shadow: var(--shadow-glow-pink);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-glow-pink-strong); }
.btn--primary:active { transform: translateY(0); opacity: .95; }

.btn--large { padding: 16px 40px; font-size: 1.05rem; }

/* ===== Phone mockup primitive ===== */
.phone {
  position: relative;
  width: min(260px, 70vw);
  aspect-ratio: 9 / 19;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  border: 2px solid var(--border-soft);
  background: var(--surface-2);
  padding: 10px;
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.phone::before {
  /* notch */
  content: "";
  position: absolute;
  top: 14px; left: 50%;
  transform: translateX(-50%);
  width: 80px; height: 18px;
  background: #000;
  border-radius: 999px;
  z-index: 2;
}
.phone__screen {
  width: 100%; height: 100%;
  border-radius: calc(var(--radius-lg) - 10px);
  background: var(--g, var(--grad-pink-violet));
  background-size: 200% 200%;
  animation: gradShift 10s ease-in-out infinite;
}
@keyframes gradShift {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

/* ===== Site header ===== */
.site-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px clamp(20px, 4vw, 48px);
}
.logo { font-size: 1.3rem; font-weight: 800; letter-spacing: -0.02em; }
.logo-accent { color: var(--neon-pink); }
.site-header__cta {
  font-size: 0.9rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-soft);
  background: var(--surface-1);
  transition: background .2s ease, border-color .2s ease;
}
.site-header__cta:hover { background: var(--surface-2); border-color: rgba(255,255,255,.18); }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100dvh;
  overflow: hidden;
  isolation: isolate;
}
.hero__carousel {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__slide {
  position: absolute;
  inset: 0;
  background: var(--g, var(--grad-pink-violet));
  background-size: 200% 200%;
  animation: gradShift 12s ease-in-out infinite;
  opacity: 0;
  transition: opacity .6s ease-in-out;
}
.hero__slide.is-active { opacity: 1; }
.hero__vignette {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at center, transparent 20%, rgba(10,10,15,.75) 100%),
    linear-gradient(180deg, rgba(10,10,15,.35) 0%, rgba(10,10,15,.75) 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 0 24px;
  text-align: center;
}
.hero__eyebrow {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--neon-cyan);
}
.hero__headline {
  font-size: clamp(2.25rem, 7vw, 5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  max-width: 16ch;
  text-shadow: 0 0 60px rgba(255, 46, 147, 0.25);
}
.hero__subcopy {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 46ch;
}

/* Progress dots */
.hero__progress {
  position: absolute;
  bottom: clamp(24px, 5vh, 48px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 10px;
}
.hero__dot {
  width: 28px;
  height: 3px;
  border-radius: 2px;
  background: rgba(255,255,255,.25);
  transition: background .3s ease, width .3s ease;
}
.hero__dot.is-active {
  width: 44px;
  background: var(--neon-pink);
  box-shadow: 0 0 12px rgba(255, 46, 147, 0.7);
}

/* ===== How it works ===== */
.how { padding: var(--section-pad-y) var(--section-pad-x); }
.how__steps {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(32px, 5vw, 64px);
}
.how__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}
.how__num {
  position: absolute;
  top: -20px;
  font-size: clamp(4rem, 8vw, 6rem);
  font-weight: 800;
  color: var(--neon-pink);
  opacity: 0.18;
  letter-spacing: -0.04em;
  line-height: 1;
  z-index: 0;
}
.how__step .phone { margin-bottom: 24px; position: relative; z-index: 1; }
.how__title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.how__desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  max-width: 32ch;
}

@media (max-width: 960px) {
  .how__steps { grid-template-columns: 1fr; gap: 56px; }
}

/* ===== Features ===== */
.features { padding: var(--section-pad-y) var(--section-pad-x); background: var(--surface-1); }
.features__grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  padding: 28px;
  border-radius: var(--radius-md);
  background: var(--surface-2);
  border: 1px solid var(--border-soft);
  transition: border-color .2s ease, transform .2s ease;
}
.feature-card:hover { border-color: rgba(255, 46, 147, 0.35); transform: translateY(-3px); }
.feature-card__icon {
  display: inline-block;
  font-size: 1.8rem;
  margin-bottom: 14px;
  filter: drop-shadow(0 0 12px rgba(0, 240, 255, 0.35));
}
.feature-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 6px; }
.feature-card p  { color: var(--text-secondary); font-size: 0.9rem; }

@media (max-width: 960px) { .features__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .features__grid { grid-template-columns: 1fr; } }

/* ===== Showcase ===== */
.showcase { padding: var(--section-pad-y) var(--section-pad-x); }
.showcase__grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 180px;
  grid-auto-flow: dense;
  gap: 14px;
}
.showcase__tile {
  background: var(--g, var(--grad-pink-violet));
  background-size: 200% 200%;
  animation: gradShift 14s ease-in-out infinite;
  border-radius: var(--radius-md);
  position: relative;
  overflow: hidden;
}
.showcase__tile::after {
  /* subtle inner ring */
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
  pointer-events: none;
}
.showcase__tile--tall { grid-row: span 2; }
.showcase__tile--wide { grid-column: span 2; }

@media (max-width: 960px) {
  .showcase__grid { grid-template-columns: repeat(3, 1fr); }
  .showcase__tile--wide { grid-column: span 2; }
}
@media (max-width: 600px) {
  .showcase__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 140px; }
  .showcase__tile--tall { grid-row: span 2; }
  .showcase__tile--wide { grid-column: span 2; }
}

/* ===== Final CTA ===== */
.final-cta {
  padding: var(--section-pad-y) var(--section-pad-x);
  background:
    radial-gradient(ellipse at top, rgba(155, 93, 229, 0.18), transparent 60%),
    radial-gradient(ellipse at bottom, rgba(255, 46, 147, 0.15), transparent 60%),
    var(--ink);
  text-align: center;
}
.final-cta__inner { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.final-cta__title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  text-shadow: 0 0 60px rgba(255, 46, 147, 0.25);
}
.final-cta__sub { color: var(--text-secondary); font-size: 1.1rem; }
.final-cta__email { color: var(--neon-cyan); font-size: 0.9rem; margin-top: 8px; }
.final-cta__email:hover { text-decoration: underline; }

/* ===== Footer ===== */
.site-footer {
  padding: 32px var(--section-pad-x);
  border-top: 1px solid var(--border-soft);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: var(--text-tertiary);
}
.site-footer__links { display: inline-flex; gap: 10px; }
.site-footer__links a:hover { color: var(--text-secondary); }

/* ===== Mobile polish ===== */
@media (max-width: 600px) {
  .site-header { padding: 16px 20px; }
  .site-header__cta { padding: 6px 14px; font-size: 0.82rem; }
  .btn--large { width: 100%; max-width: 320px; }
  .site-footer { flex-direction: column; text-align: center; }
}

/* ===== Reduced motion ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .hero__slide:not(.is-active) { opacity: 0; }  /* respect the JS is-active state */
}
