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

:root {
  --bg:          #0F1A1A;
  --surface:     #1A2929;
  --surface-2:   #1F3030;
  --input-bg:    #243636;
  --border:      #2a3f3f;
  --primary:     #11C0B1;
  --primary-dk:  #0D9E91;
  --accent:      #FF4D6A;
  --accent-lt:   #FF6B8A;
  --text:        #E8F5F5;
  --text-2:      #C8DCDC;
  --muted:       #7A9898;
  --disabled:    #4A6464;
  --radius:      14px;
  --max-w:       1120px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ── Typography helpers ── */
.gradient-text {
  background: linear-gradient(135deg, #11C0B1, #0D9E91 40%, #11C0B1 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-label {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: .75rem;
}

.section-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.65rem, 3.5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.5px;
  margin-bottom: 3.5rem;
}

.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  padding: .75rem 1.6rem;
  border-radius: 9999px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: opacity .18s, transform .18s, box-shadow .18s;
  white-space: nowrap;
}
.btn:hover  { opacity: .9; transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dk));
  color: #fff;
  box-shadow: 0 4px 20px rgba(17,192,177,.25);
}
.btn--primary:hover { box-shadow: 0 6px 28px rgba(17,192,177,.38); }

.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}
.btn--ghost:hover { border-color: var(--primary); color: var(--primary); }

.btn--sm { padding: .5rem 1.15rem; font-size: .85rem; }

/* ── Scroll-reveal ── */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s cubic-bezier(.22,.68,0,1.2), transform .6s cubic-bezier(.22,.68,0,1.2);
}
[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ── NAV ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .9rem 2rem;
  background: rgba(15,26,26,.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.nav.scrolled {
  border-bottom-color: var(--border);
  background: rgba(15,26,26,.96);
}

.nav__logo { display: flex; align-items: center; text-decoration: none; }

.nav__links {
  display: flex;
  gap: 2rem;
  list-style: none;
}
.nav__link {
  font-size: .9rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  transition: color .18s;
}
.nav__link:hover { color: var(--text); }

/* ── HERO ── */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 7rem 2rem 5rem;
}

.hero__content { flex: 1; max-width: 540px; }

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .35rem .9rem;
  border-radius: 9999px;
  background: rgba(17,192,177,.1);
  border: 1px solid rgba(17,192,177,.25);
  font-size: .8rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 1.4rem;
  letter-spacing: .02em;
}

.hero__title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2.5rem, 6vw, 4.2rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -1.5px;
  margin-bottom: 1.4rem;
}

.hero__sub {
  font-size: 1.1rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 440px;
}

/* Store badges */
.hero__stores {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  padding: .7rem 1.2rem;
  border-radius: 12px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  text-decoration: none;
  color: var(--text);
  transition: border-color .2s, background .2s, transform .18s;
  min-width: 160px;
}
.store-badge:hover {
  border-color: var(--primary);
  background: rgba(17,192,177,.06);
  transform: translateY(-2px);
}

.store-badge__icon { flex-shrink: 0; color: var(--text); }

.store-badge__text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.store-badge__label {
  font-size: .68rem;
  color: var(--muted);
  letter-spacing: .02em;
}
.store-badge__name {
  font-family: 'Poppins', sans-serif;
  font-size: .95rem;
  font-weight: 700;
  color: var(--text);
}

.store-badge--lg {
  padding: .85rem 1.4rem;
  min-width: 180px;
}
.store-badge--lg .store-badge__name { font-size: 1.05rem; }

.hero__note {
  font-size: .8rem;
  color: var(--disabled);
}

/* ── PHONE MOCKUP ── */
.hero__visual {
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-wrap {
  position: relative;
  width: 280px;
  height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Radar rings behind phone */
.phone-radar {
  position: absolute;
  inset: -80px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.phone-radar__ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid var(--primary);
  opacity: 0;
  animation: radar-pulse 3.6s ease-out infinite;
}
.phone-radar__ring--1 { width: 200px; height: 200px; animation-delay: 0s; }
.phone-radar__ring--2 { width: 320px; height: 320px; animation-delay: 1.2s; }
.phone-radar__ring--3 { width: 440px; height: 440px; animation-delay: 2.4s; }

@keyframes radar-pulse {
  0%   { opacity: .55; transform: scale(.45); }
  100% { opacity: 0;   transform: scale(1); }
}

/* Phone frame */
.phone {
  position: relative;
  width: 230px;
  height: 420px;
  background: var(--surface);
  border-radius: 36px;
  border: 2.5px solid var(--border);
  overflow: hidden;
  box-shadow:
    0 40px 80px rgba(0,0,0,.6),
    0 0 0 .5px rgba(255,255,255,.04),
    inset 0 1px 0 rgba(255,255,255,.06);
  z-index: 1;
}

.phone__notch {
  width: 90px;
  height: 22px;
  background: var(--bg);
  border-radius: 0 0 14px 14px;
  margin: 0 auto;
}

.phone__screen {
  padding: 8px 10px 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  height: calc(100% - 22px);
}

.phone__topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px 4px;
}
.phone__title {
  font-size: .72rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -.2px;
}
.phone__chip {
  font-size: .62rem;
  font-weight: 600;
  color: var(--primary);
  background: rgba(17,192,177,.12);
  border: 1px solid rgba(17,192,177,.2);
  border-radius: 20px;
  padding: 2px 7px;
}

/* Card mock inside phone */
.card-mock {
  flex: 1;
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: var(--input-bg);
  border: 1px solid var(--border);
}

.card-mock__photo {
  flex: 1;
  position: relative;
  background: linear-gradient(145deg, #1f3535 0%, #112525 50%, #1a2e2e 100%);
  display: flex;
  align-items: flex-end;
}

/* Silhouette illustration */
.card-mock__photo::before {
  content: '';
  position: absolute;
  bottom: 28%;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(17,192,177,.3), rgba(255,77,106,.2));
  border: 2px solid rgba(17,192,177,.25);
}
.card-mock__photo::after {
  content: '';
  position: absolute;
  bottom: 14%;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 38px;
  border-radius: 50px 50px 0 0;
  background: linear-gradient(135deg, rgba(17,192,177,.18), rgba(255,77,106,.12));
  border: 1.5px solid rgba(17,192,177,.15);
  border-bottom: none;
}

.card-mock__overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 55%;
  background: linear-gradient(to top, rgba(15,26,26,.95) 0%, transparent 100%);
}

.card-mock__info {
  position: relative;
  z-index: 1;
  padding: 8px 10px;
  width: 100%;
}
.card-mock__name {
  display: block;
  font-size: .75rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}
.card-mock__loc {
  display: block;
  font-size: .62rem;
  color: var(--muted);
}

.card-mock__actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 8px 0;
  background: var(--input-bg);
}

.card-act {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
  transition: transform .15s;
}
.card-act:hover { transform: scale(1.12); }

.card-act--pass {
  background: rgba(74,100,100,.4);
  color: var(--muted);
  border: 1px solid var(--border);
}
.card-act--like {
  background: rgba(255,77,106,.18);
  color: var(--accent);
  border: 1px solid rgba(255,77,106,.3);
  width: 42px;
  height: 42px;
}
.card-act--ping {
  background: rgba(17,192,177,.15);
  color: var(--primary);
  border: 1px solid rgba(17,192,177,.25);
}

/* Match toast floating above phone */
.match-toast {
  position: absolute;
  top: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--surface-2);
  border: 1px solid rgba(255,77,106,.3);
  border-radius: 14px;
  padding: 8px 14px;
  box-shadow:
    0 8px 28px rgba(0,0,0,.4),
    0 0 0 1px rgba(255,77,106,.08);
  white-space: nowrap;
  z-index: 2;
  animation: toast-float 5s ease-in-out infinite;
}

@keyframes toast-float {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(-6px); }
}

.match-toast__emoji { font-size: 1.1rem; }
.match-toast__title {
  font-size: .73rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}
.match-toast__sub {
  font-size: .62rem;
  color: var(--muted);
}

/* ── HOW IT WORKS ── */
.how {
  padding: 6rem 0;
}

.how .section-title,
.how .section-label { text-align: center; display: block; }

.steps {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.step {
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 2rem 1.75rem;
  transition: border-color .2s, transform .2s;
}
.step:hover {
  border-color: rgba(17,192,177,.4);
  transform: translateY(-4px);
}

.step__icon {
  font-size: 1.8rem;
  display: block;
  margin-bottom: .6rem;
}

.step__num {
  font-family: 'Poppins', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary);
  opacity: .35;
  line-height: 1;
  margin-bottom: .8rem;
}

.step__title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: .5rem;
}

.step__body {
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.65;
}

/* ── FEATURES ── */
.features {
  padding: 6rem 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.features .section-title,
.features .section-label { text-align: center; display: block; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.25rem;
}

.feature-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.75rem;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.feature-card:hover {
  border-color: rgba(17,192,177,.4);
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(17,192,177,.08);
}

.feature-card__icon {
  font-size: 1.8rem;
  display: block;
  margin-bottom: .9rem;
}
.feature-card h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: .4rem;
}
.feature-card p { color: var(--muted); font-size: .9rem; line-height: 1.6; }

/* ── DOWNLOAD CTA ── */
.download-cta {
  padding: 7rem 2rem;
  text-align: center;
  overflow: hidden;
}

.download-cta__inner {
  position: relative;
  max-width: 680px;
  margin: 0 auto;
}

.download-cta__glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse at center, rgba(17,192,177,.12) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.download-cta__inner > *:not(.download-cta__glow) { position: relative; z-index: 1; }

.download-cta .section-label { display: block; }

.download-cta__title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -1px;
  margin-bottom: 1rem;
}

.download-cta__sub {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 2.5rem;
}

.download-cta__stores {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── WAITLIST ── */
.waitlist {
  padding: 6rem 2rem;
  text-align: center;
}

.waitlist__inner {
  max-width: 560px;
  margin: 0 auto;
}

.waitlist .section-title { margin-bottom: .75rem; }

.waitlist__sub {
  color: var(--muted);
  font-size: 1rem;
  margin-bottom: 2rem;
}

.waitlist__form {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 1rem;
}

.waitlist__input {
  flex: 1;
  min-width: 220px;
  padding: .8rem 1.4rem;
  border-radius: 9999px;
  border: 1.5px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-size: .95rem;
  font-family: 'Inter', sans-serif;
  outline: none;
  transition: border-color .18s, box-shadow .18s;
}
.waitlist__input::placeholder { color: var(--disabled); }
.waitlist__input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(17,192,177,.12);
}

.waitlist__confirm {
  color: var(--primary);
  font-weight: 600;
  margin-top: 1rem;
  font-size: .95rem;
}

.waitlist__privacy {
  margin-top: .75rem;
  font-size: .78rem;
  color: var(--disabled);
}

/* ── FOOTER ── */
.footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 2rem;
}

.footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-w);
  margin: 0 auto 1.5rem;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer__logo { display: flex; text-decoration: none; }

.footer__links {
  display: flex;
  gap: 1.75rem;
  flex-wrap: wrap;
}
.footer__links a {
  font-size: .88rem;
  color: var(--muted);
  text-decoration: none;
  transition: color .15s;
}
.footer__links a:hover { color: var(--text); }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-w);
  margin: 0 auto;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  font-size: .82rem;
  color: var(--disabled);
}

.footer__legal {
  display: flex;
  gap: 1.25rem;
}
.footer__legal a {
  color: var(--disabled);
  text-decoration: none;
  transition: color .15s;
}
.footer__legal a:hover { color: var(--muted); }

/* ── Responsive ── */
@media (max-width: 880px) {
  .hero {
    flex-direction: column;
    padding: 5rem 1.5rem 4rem;
    text-align: center;
  }
  .hero__sub { margin: 0 auto 2.5rem; }
  .hero__stores { justify-content: center; }
  .hero__note { text-align: center; }
  .steps { flex-direction: column; }
  .phone-wrap { margin-top: 1rem; }
}

@media (max-width: 640px) {
  .nav__links { display: none; }
  .nav { padding: .85rem 1.25rem; }
  .section-inner { padding: 0 1.25rem; }
  .how, .features { padding: 4.5rem 0; }
  .download-cta { padding: 5rem 1.25rem; }
  .waitlist { padding: 4.5rem 1.25rem; }
  .footer { padding: 2rem 1.25rem; }
  .footer__top { flex-direction: column; align-items: flex-start; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .footer__legal { justify-content: center; }
  .store-badge { min-width: 0; flex: 1; }
  .hero__stores { gap: .75rem; }
}
