/* ===== 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; }

/* Store buttons: Android + iOS side by side */
.store-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn--ghost {
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  color: var(--text-tertiary);
  cursor: default;
  opacity: 0.55;
}
.btn--ghost:hover,
.btn--ghost:focus { transform: none; box-shadow: none; opacity: 0.55; }

.coming-soon-badge {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  padding: 2px 6px;
  margin-left: 2px;
}

/* ===== 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-family: 'Grand Hotel', cursive; font-size: 2rem; font-weight: 400; letter-spacing: 0; background: linear-gradient(90deg, #FF2E93, #00F0FF); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; filter: drop-shadow(0 0 8px rgba(255,46,147,0.7)); }
.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 video strip ===== */
.hero__video-strip {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero__video-track {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 40px 0;
  width: max-content;
  will-change: transform;
}
.hero__video-track--animate {
  animation: ticker 20s linear infinite;
}
.hero__video-strip:hover .hero__video-track--animate {
  animation-play-state: paused;
}
@keyframes ticker {
  to { transform: translateX(-25%); }
}
.hero__video-card {
  flex-shrink: 0;
  height: calc(100% - 80px);
  aspect-ratio: 9 / 16;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  background: var(--surface-2);
  margin-right: 14px;
}
.hero__video-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero__vignette {
  position: absolute; inset: 0;
  background:
    linear-gradient(to right, rgba(10,10,15,1) 0%, transparent 18%, transparent 82%, rgba(10,10,15,1) 100%),
    radial-gradient(ellipse at center, rgba(10,10,15,.5) 0%, rgba(10,10,15,.88) 100%),
    linear-gradient(180deg, rgba(10,10,15,.5) 0%, transparent 25%, transparent 75%, rgba(10,10,15,.5) 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;
}


/* ===== Hero loader ===== */
.hero__loader {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  transition: opacity 0.8s ease;
}
.hero__loader--hidden { opacity: 0; pointer-events: none; }
.hero__loader-text {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--neon-cyan);
  animation: loaderPulse 1.5s ease-in-out infinite;
}
@keyframes loaderPulse {
  0%, 100% { opacity: 0.3; }
  50%       { opacity: 1; }
}

/* ===== 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;
}
.how__num {
  font-size: clamp(3.5rem, 7vw, 5rem);
  font-weight: 800;
  color: var(--neon-pink);
  opacity: 0.18;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 16px;
}
.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;
}

/* Screenshots scrolling strip */
.screenshots-strip {
  margin-top: 64px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}
.screenshots-track {
  display: flex;
  gap: 20px;
  width: max-content;
  padding: 16px 0 40px;
  animation: screenshotsScroll 38s linear infinite;
}
.screenshots-strip:hover .screenshots-track {
  animation-play-state: paused;
}
@keyframes screenshotsScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(calc(-6 * (190px + 20px))); }
}
.phone-slide {
  flex-shrink: 0;
  width: 190px;
  aspect-ratio: 9 / 19;
  border-radius: 26px;
  overflow: hidden;
  box-shadow:
    0 24px 48px rgba(0, 0, 0, 0.6),
    0 0 0 1.5px rgba(255, 255, 255, 0.07);
}
.phone-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.12);
  display: block;
}

@media (max-width: 960px) {
  .how__steps { grid-template-columns: 1fr; gap: 48px; }
  .screenshots-strip { margin-top: 48px; }
}

/* ===== 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: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--pink), var(--cyan));
  margin-bottom: 18px;
}
.feature-card__icon svg {
  width: 22px;
  height: 22px;
  stroke: #fff;
  stroke-width: 1.75;
  fill: none;
}
.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; }
}

/* ===== Showcase tabs ===== */
.showcase-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 32px;
}
.showcase-tab {
  padding: 10px 36px;
  border-radius: 999px;
  border: 1.5px solid var(--border-soft);
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  font-family: inherit;
}
.showcase-tab--active {
  background: var(--neon-pink);
  border-color: var(--neon-pink);
  color: #fff;
}
.showcase-tab:not(.showcase-tab--active):hover {
  border-color: rgba(255,255,255,.25);
  color: var(--text-primary);
}
.showcase-panel--hidden { display: none !important; }

/* Fade-out + "and more" */
.showcase-more {
  position: relative;
  margin-top: -100px;
  margin-left: 0;
  margin-right: 0;
  pointer-events: none;
  z-index: 2;
  width: 100%;
  display: block;
}
.showcase-more__fade {
  height: 100px;
  width: 100%;
  background: linear-gradient(to bottom, transparent, var(--ink));
}
.showcase-more__text {
  display: block;
  width: 100%;
  text-align: center !important;
  padding: 0.5rem 1rem 1.5rem;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  background: var(--ink);
  box-sizing: border-box;
}

/* Photo grid — CSS columns masonry */
.showcase-photo-grid {
  columns: 5 140px;
  gap: 8px;
  max-width: 1300px;
  margin: 0 auto;
}
.showcase-photo-item {
  display: block;
  width: 100%;
  border-radius: 8px;
  margin-bottom: 8px;
  cursor: pointer;
  object-fit: cover;
  transition: transform 0.2s ease, opacity 0.2s ease;
  break-inside: avoid;
}
.showcase-photo-item:hover { transform: scale(1.02); opacity: 0.88; }

/* Video grid */
.showcase-video-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  max-width: 900px;
  margin: 0 auto;
}
.showcase-video-item {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  background: var(--surface-2);
}
.showcase-video-item video {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.showcase-video-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  transition: background 0.2s ease;
}
.showcase-video-item:hover .showcase-video-play { background: rgba(0,0,0,0.32); }
.showcase-video-play::after {
  content: '';
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(255,255,255,0.88);
  clip-path: polygon(32% 18%, 82% 50%, 32% 82%);
  opacity: 0;
  transition: opacity 0.2s ease;
}
.showcase-video-item:hover .showcase-video-play::after { opacity: 1; }

/* Fullscreen overlay */
.showcase-fs {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.showcase-fs--open { opacity: 1; pointer-events: all; }
.showcase-fs__close {
  position: absolute;
  top: 16px; right: 16px;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
  font-family: inherit;
}
.showcase-fs__close:hover { background: rgba(255,255,255,0.18); }
.showcase-fs__img {
  max-width: min(90vw, 600px);
  max-height: 90vh;
  border-radius: 12px;
  object-fit: contain;
  display: none;
}
.showcase-fs__video {
  max-width: min(90vw, 480px);
  max-height: 90vh;
  border-radius: 12px;
  display: none;
}

@media (max-width: 768px) {
  .showcase-photo-grid { columns: 3 100px; }
  .showcase-video-grid { grid-template-columns: repeat(2, 1fr); }
  .showcase-fs__img  { max-width: 95vw; }
  .showcase-fs__video { max-width: 95vw; }
}

/* ===== 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; }
  .store-btns { flex-direction: column; align-items: center; }
  .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;
  }
}
