/* =============================================
   WWYD LANDING PAGE
   ============================================= */

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

:root {
  --purple: #5B2FFF;
  --pink: #FF3366;
  --cyan: #00E5FF;
  --bg: #0D0D0D;
  --surface: #1A1A2E;
  --text: #F5F5FF;
  --muted: #8888AA;
  --radius: 16px;
  --radius-sm: 10px;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Rounded', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

/* ---------- UTILITIES ---------- */
.section-title {
  font-size: clamp(1.8rem, 5vw, 3.2rem);
  font-weight: 800;
  text-align: center;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.section-sub {
  text-align: center;
  color: var(--muted);
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  margin-top: 0.6rem;
}

/* Scroll-triggered animation base */
.anim-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.anim-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* stagger children */
.anim-in:nth-child(2) { transition-delay: 0.08s; }
.anim-in:nth-child(3) { transition-delay: 0.16s; }
.anim-in:nth-child(4) { transition-delay: 0.24s; }

/* ---------- FLOATING ANIMATION ---------- */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.floating { animation: float 5s ease-in-out infinite; }

/* =============================================
   HERO
   ============================================= */
.hero {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 2rem 1.5rem 4rem;
  overflow: hidden;
}

/* Background glows */
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.35;
  pointer-events: none;
  will-change: transform;
}
.hero-glow--purple { width: 500px; height: 500px; background: var(--purple); top: -10%; left: -10%; animation: float 8s ease-in-out infinite; }
.hero-glow--pink   { width: 400px; height: 400px; background: var(--pink);   bottom: 5%; right: -5%; animation: float 7s ease-in-out infinite 1s; }
.hero-glow--cyan   { width: 300px; height: 300px; background: var(--cyan);   top: 30%; right: 20%; opacity: 0.15; animation: float 9s ease-in-out infinite 2s; }

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.8rem;
  max-width: 520px;
  width: 100%;
}

/* Logo */
.hero-logo {
  font-size: clamp(4.5rem, 15vw, 9rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  background: linear-gradient(135deg, var(--purple), var(--pink), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  user-select: none;
}

.hero-logo__letter {
  display: inline-block;
  animation: logoIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) calc(var(--i) * 0.08s) both;
}

@keyframes logoIn {
  from { opacity: 0; transform: translateY(30px) scale(0.8); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.hero-tagline {
  font-size: clamp(1rem, 3vw, 1.35rem);
  color: var(--muted);
  text-align: center;
  animation: fadeUp 0.8s 0.4s both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Phone frame */
.phone-frame {
  position: relative;
  width: 100%;
  max-width: 380px;
  padding: 2px;
  border-radius: 32px;
  background: linear-gradient(135deg, var(--purple), var(--pink), var(--cyan), var(--purple));
  background-size: 300% 300%;
  animation: fadeUp 0.8s 0.6s both, neonBorder 4s ease infinite;
  box-shadow:
    0 0 20px rgba(91, 47, 255, 0.3),
    0 0 60px rgba(91, 47, 255, 0.15),
    0 0 100px rgba(255, 51, 102, 0.1);
}

.phone-frame__notch {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 24px;
  background: var(--bg);
  border-radius: 0 0 14px 14px;
  z-index: 2;
}

@keyframes neonBorder {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Hero prompt card */
.hero-card {
  width: 100%;
  background: var(--surface);
  border: none;
  border-radius: 30px;
  padding: 2.5rem 1.25rem 1.25rem;
}

.hero-card__header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.8rem;
}

.hero-card__avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), var(--pink));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.8rem;
}

.hero-card__name { color: var(--muted); font-size: 0.85rem; }
.hero-card__name strong { color: var(--text); }

.hero-card__prompt {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.hero-card__options { display: flex; flex-direction: column; gap: 0.45rem; }

.hero-card__option {
  padding: 0.6rem 0.9rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.85rem;
  text-align: left;
  transition: all 0.3s;
}

.hero-card__option--selected {
  background: linear-gradient(135deg, rgba(91, 47, 255, 0.25), rgba(255, 51, 102, 0.15));
  border-color: var(--purple);
  color: #fff;
}

/* App Store button */
.app-store-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: rgba(255, 255, 255, 0.1);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.7rem 1.4rem;
  border-radius: 12px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  animation: fadeUp 0.8s 0.8s both;
  cursor: default;
}
.app-store-btn:hover {
  transform: none;
  border-color: rgba(91, 47, 255, 0.4);
}
.app-store-btn__text { display: flex; flex-direction: column; line-height: 1.2; }
.app-store-btn__small { font-size: 0.55rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.04em; }
.app-store-btn__big { font-size: 1.05rem; font-weight: 700; }
.app-store-btn--large { padding: 0.85rem 1.8rem; }
.app-store-btn--large .app-store-btn__big { font-size: 1.15rem; }

/* Scroll hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}
.hero-scroll-hint span {
  display: block;
  width: 24px;
  height: 38px;
  border: 2px solid var(--muted);
  border-radius: 12px;
  position: relative;
}
.hero-scroll-hint span::after {
  content: '';
  width: 4px;
  height: 8px;
  background: var(--muted);
  border-radius: 2px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollDot 1.8s infinite;
}
@keyframes scrollDot {
  0%   { opacity: 1; transform: translateX(-50%) translateY(0); }
  100% { opacity: 0; transform: translateX(-50%) translateY(14px); }
}

/* =============================================
   HOW IT WORKS
   ============================================= */
.how-it-works {
  padding: 6rem 1.5rem 4rem;
  max-width: 900px;
  margin: 0 auto;
}

.steps { display: flex; flex-direction: column; gap: 6rem; margin-top: 3.5rem; }

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.step__label {
  font-size: clamp(1.05rem, 2.5vw, 1.3rem);
  font-weight: 700;
  text-align: center;
}

.step__number {
  display: inline-block;
  background: linear-gradient(135deg, var(--purple), var(--pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
  margin-right: 0.4rem;
}

.step__mockup {
  width: 100%;
  max-width: 380px;
  perspective: 800px;
}

/* ----- Mock Card (Step 1) ----- */
.mock-card {
  background: var(--surface);
  border: 1px solid rgba(91, 47, 255, 0.15);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.mock-card__header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
}

.mock-card__avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.75rem;
}
.mock-card__avatar--s { background: linear-gradient(135deg, var(--pink), var(--purple)); }

.mock-card__name { color: var(--muted); font-size: 0.82rem; }
.mock-card__name strong { color: var(--text); }

.mock-card__badge {
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--pink);
  color: #fff;
  padding: 0.15rem 0.45rem;
  border-radius: 6px;
  margin-left: auto;
}

.mock-card__prompt {
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 1rem;
}

.mock-card__options { display: flex; flex-direction: column; gap: 0.4rem; }

.mock-opt {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 0.85rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.84rem;
  position: relative;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mock-opt__radio {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.15);
  flex-shrink: 0;
  transition: all 0.4s;
  position: relative;
}

.mock-opt__check {
  position: absolute;
  right: 0.85rem;
  opacity: 0;
  color: var(--cyan);
  font-weight: 700;
  transition: opacity 0.3s 0.15s;
}

/* Selected state - activated by JS */
.mock-opt--selected {
  background: linear-gradient(135deg, rgba(91, 47, 255, 0.2), rgba(255, 51, 102, 0.12));
  border-color: var(--purple);
}

.mock-opt--selected .mock-opt__radio {
  border-color: var(--purple);
  background: var(--purple);
  box-shadow: inset 0 0 0 3px var(--surface);
}

.mock-opt--selected .mock-opt__check {
  opacity: 1;
}

/* Options stagger in */
.mock-card.animate .mock-opt {
  opacity: 0;
  transform: translateX(-10px);
  animation: optIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.mock-card.animate .mock-opt:nth-child(1) { animation-delay: 0.1s; }
.mock-card.animate .mock-opt:nth-child(2) { animation-delay: 0.25s; }
.mock-card.animate .mock-opt:nth-child(3) { animation-delay: 0.4s; }
.mock-card.animate .mock-opt:nth-child(4) { animation-delay: 0.55s; }

@keyframes optIn {
  from { opacity: 0; transform: translateX(-10px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* ----- Mock Notification (Step 2) ----- */
.step__mockup--notif {
  max-width: 380px;
  background: #000;
  border-radius: 28px;
  padding: 0;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.mock-phone-top { padding: 0.6rem 1.5rem 0; }
.mock-status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  font-weight: 600;
  color: #fff;
  padding-bottom: 0.5rem;
}
.mock-status-icons {
  display: flex;
  gap: 0.3rem;
  align-items: center;
}

.mock-notification {
  display: flex;
  gap: 0.7rem;
  padding: 0.85rem 1rem;
  margin: 0.4rem 0.6rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 16px;
  opacity: 0;
  transform: translateY(-30px);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.mock-notification.slide-in {
  opacity: 1;
  transform: translateY(0);
}
.mock-notification--2 {
  margin-bottom: 0.8rem;
  transition-delay: 0.3s;
}

.mock-notification__icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--purple), var(--pink));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.mock-notification__body { flex: 1; min-width: 0; }

.mock-notification__app {
  font-size: 0.7rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.mock-notification__time { margin-left: 0.4rem; }

.mock-notification__title {
  font-size: 0.85rem;
  font-weight: 700;
  margin-top: 0.1rem;
}

.mock-notification__text {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 0.1rem;
}

/* ----- Mock Reveal (Step 3) ----- */
.step__mockup--reveal { max-width: 380px; }

.mock-reveal__card {
  background: var(--surface);
  border: 1px solid rgba(91, 47, 255, 0.15);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.mock-reveal__q {
  font-size: 0.88rem;
  color: var(--muted);
  font-style: italic;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.mock-reveal__answer {
  margin-bottom: 1.2rem;
}
.mock-reveal__tag {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  display: block;
  margin-bottom: 0.3rem;
}
.mock-reveal__choice {
  font-weight: 700;
  font-size: 1rem;
  color: var(--cyan);
}

.mock-reveal__who {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  margin-bottom: 1rem;
}

.mock-reveal__avatar-wrap {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  display: flex;
  align-items: center;
  justify-content: center;
}
.mock-reveal__avatar {
  font-weight: 700;
  font-size: 0.85rem;
}

.mock-reveal__name {
  font-weight: 700;
  font-size: 1rem;
  transition: filter 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.mock-reveal__name--blurred {
  filter: blur(12px);
}
.mock-reveal__name--revealed {
  filter: blur(0);
}

.mock-reveal__cta {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--purple);
  font-weight: 700;
  transition: opacity 0.4s;
}
.mock-reveal.revealed .mock-reveal__cta {
  opacity: 0;
}

/* =============================================
   PROMPT MARQUEE
   ============================================= */
.prompts {
  padding: 6rem 0 5rem;
  overflow: hidden;
}

.prompts .section-title,
.prompts .section-sub { padding: 0 1.5rem; }

.marquee {
  margin-top: 2.5rem;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee__track {
  display: flex;
  gap: 1rem;
  width: max-content;
  animation: marquee 60s linear infinite;
}

.marquee--reverse .marquee__track {
  animation-direction: reverse;
  animation-duration: 55s;
}

.marquee + .marquee { margin-top: 1rem; }

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.marquee__item {
  flex-shrink: 0;
  padding: 0.75rem 1.2rem;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  font-size: 0.85rem;
  color: var(--muted);
  white-space: nowrap;
  transition: border-color 0.3s, color 0.3s;
}

.marquee__item:hover {
  border-color: rgba(91, 47, 255, 0.3);
  color: var(--text);
}

/* =============================================
   FOMO / VIRAL
   ============================================= */
.fomo {
  padding: 6rem 1.5rem;
  position: relative;
  overflow: hidden;
}

.fomo-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 51, 102, 0.15), transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.fomo-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
  max-width: 900px;
  margin: 2.5rem auto 0;
}

@media (min-width: 700px) {
  .fomo-grid {
    grid-template-columns: 1fr 1fr;
  }
  .fomo-card--text { grid-row: span 2; }
}

@media (min-width: 960px) {
  .fomo-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .fomo-card--text { grid-row: span 1; }
}

.fomo-card {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

/* Text message mockup */
.fomo-card__bubble {
  padding: 0.6rem 0.9rem;
  border-radius: 14px;
  font-size: 0.84rem;
  max-width: 85%;
  margin-bottom: 0.4rem;
  line-height: 1.35;
}
.fomo-card__bubble--in {
  background: rgba(255, 255, 255, 0.08);
  border-bottom-left-radius: 4px;
}
.fomo-card__bubble--out {
  background: var(--purple);
  margin-left: auto;
  border-bottom-right-radius: 4px;
}
.fomo-card__sender {
  display: block;
  font-size: 0.65rem;
  color: var(--muted);
  margin-bottom: 0.15rem;
  font-weight: 600;
}

/* Notification list */
.fomo-notif {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.65rem 0;
  font-size: 0.84rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.fomo-notif:last-child { border: none; }

.fomo-notif__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--purple);
  flex-shrink: 0;
  animation: pulse 2s infinite;
}
.fomo-notif__dot--pink { background: var(--pink); animation-delay: 0.3s; }
.fomo-notif__dot--cyan { background: var(--cyan); animation-delay: 0.6s; }

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.5; transform: scale(0.7); }
}

/* Invite card */
.fomo-invite {
  text-align: center;
}
.fomo-invite__header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}
.fomo-invite__icon {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: linear-gradient(135deg, var(--purple), var(--pink));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.7rem;
}
.fomo-invite__text {
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.4;
  margin-bottom: 0.9rem;
}
.fomo-invite__btn {
  display: inline-block;
  padding: 0.55rem 1.4rem;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--purple), var(--pink));
  font-weight: 700;
  font-size: 0.85rem;
  transition: transform 0.2s;
}
.fomo-invite__btn:hover { transform: scale(1.04); }

/* CTA */
.fomo-cta {
  text-align: center;
  margin-top: 3.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
}
.fomo-cta__text {
  font-size: clamp(1.2rem, 3.5vw, 1.8rem);
  font-weight: 800;
  background: linear-gradient(135deg, var(--pink), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  padding: 2.5rem 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.footer-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-logo {
  font-weight: 900;
  font-size: 1.2rem;
  background: linear-gradient(135deg, var(--purple), var(--pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-link {
  color: var(--muted);
  font-size: 0.85rem;
  transition: color 0.2s;
}
.footer-link:hover { color: var(--text); }

.footer-domain {
  color: var(--muted);
  font-size: 0.85rem;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 480px) {
  .phone-frame, .hero-card, .step__mockup {
    max-width: 100%;
  }
  .steps { gap: 4rem; }
}

@media (min-width: 768px) {
  .steps { gap: 8rem; }
}
