:root {
  --pink: #ec4899;
  --pink-soft: #ec95c0;
  --pink-100: #fce7f3;
  --indigo: #4f46e5;
  --indigo-soft: #6366f1;
  --indigo-100: #eef2ff;
  --ink: #1f2238;
  --ink-soft: #4b4f6b;
  --muted: #6b7090;
  --bg: #fff7fb;
  --surface: #ffffff;
  --border: #f0e3ec;
  --shadow: 0 18px 50px rgba(80, 30, 90, 0.12);
  --shadow-sm: 0 8px 24px rgba(80, 30, 90, 0.08);
  --radius: 22px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 16px;
  border: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
}
.btn-primary {
  background: linear-gradient(90deg, var(--indigo), var(--pink));
  color: #fff;
  box-shadow: 0 12px 30px rgba(236, 72, 153, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(236, 72, 153, 0.42); }
.btn-ghost {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.btn-ghost:hover { transform: translateY(-2px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 247, 251, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 18px; }
.brand img { width: 40px; height: 40px; border-radius: 12px; }
.brand span small { display: block; font-size: 11px; font-weight: 600; color: var(--muted); letter-spacing: .12em; text-transform: uppercase; }
.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a { color: var(--ink-soft); font-weight: 600; font-size: 15px; }
.main-nav a:hover { color: var(--pink); }
.main-nav .btn { padding: 10px 20px; font-size: 14px; }
.main-nav a.btn-primary, .main-nav a.btn-primary:hover { color: #fff; }
@media (max-width: 760px) { .main-nav .nav-link { display: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 72px 0 90px; }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(620px 320px at 88% -8%, rgba(236, 149, 192, 0.35), transparent 60%),
    radial-gradient(560px 320px at -8% 12%, rgba(99, 102, 241, 0.22), transparent 55%);
  pointer-events: none;
}
.hero .container {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--pink-100);
  color: var(--pink);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .04em;
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(38px, 5.4vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
}
.hero h1 .grad {
  background: linear-gradient(90deg, var(--indigo), var(--pink));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  /* background-clip:text trims the paint box tight to the glyphs, which clips
     the right edge of the final letter. Pad the box and pull the next char
     back so nothing is cut and spacing stays natural. */
  padding-right: 0.12em;
  margin-right: -0.12em;
}
.hero p.lead { font-size: 19px; color: var(--ink-soft); margin: 0 0 30px; max-width: 520px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

.store-badges { display: flex; flex-wrap: wrap; gap: 12px; }
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--ink);
  color: #fff;
  padding: 11px 20px;
  border-radius: 14px;
  transition: transform .15s ease, opacity .15s ease;
}
.store-badge:hover { transform: translateY(-2px); opacity: .92; }
.store-badge svg { width: 26px; height: 26px; flex-shrink: 0; }
.store-badge .label { line-height: 1.1; }
.store-badge .label small { display: block; font-size: 11px; opacity: .8; font-weight: 500; }
.store-badge .label strong { font-size: 17px; font-weight: 700; }

.hero-trust { display: flex; gap: 26px; margin-top: 34px; flex-wrap: wrap; }
.hero-trust .item strong { display: block; font-size: 24px; font-weight: 800; color: var(--ink); }
.hero-trust .item span { font-size: 13px; color: var(--muted); }

/* ---------- Phone mockup ---------- */
.hero-visual { display: flex; justify-content: center; }
.phone {
  position: relative;
  width: 300px;
  height: 610px;
  background: #11131f;
  border-radius: 44px;
  padding: 14px;
  box-shadow: var(--shadow);
}
.phone::after {
  content: "";
  position: absolute;
  top: 18px; left: 50%; transform: translateX(-50%);
  width: 120px; height: 26px;
  background: #11131f;
  border-radius: 0 0 16px 16px;
  z-index: 3;
}
.phone-screen {
  position: relative;
  width: 100%; height: 100%;
  background: #f8fafc;
  border-radius: 32px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.app-top {
  display: flex; align-items: center; gap: 10px;
  padding: 40px 18px 14px;
  background: #fff;
  border-bottom: 1px solid #eef0f6;
}
.app-top img { width: 34px; height: 34px; }
.app-top .t strong { display: block; font-size: 16px; }
.app-top .t span { font-size: 11px; color: var(--muted); }
.app-card-area { flex: 1; padding: 18px; display: flex; flex-direction: column; }
.name-card {
  flex: 1;
  background: #fff;
  border-radius: 26px;
  box-shadow: 0 14px 34px rgba(30, 20, 60, 0.14);
  border: 1px solid #f1eef7;
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.gender-chip {
  align-self: flex-start;
  font-size: 12px; font-weight: 700;
  padding: 5px 12px; border-radius: 999px;
  background: var(--indigo-100); color: var(--indigo);
}
.name-card h3 { font-size: 40px; margin: 18px 0 4px; letter-spacing: -0.02em; }
.name-card .origin { font-size: 13px; color: var(--pink); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.name-card .meaning { font-size: 14px; color: var(--ink-soft); margin-top: 14px; }
.name-card .pop { margin-top: auto; font-size: 12px; color: var(--muted); }
.swipe-actions { display: flex; justify-content: center; gap: 26px; padding: 18px 0 8px; }
.swipe-btn {
  width: 62px; height: 62px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: none; box-shadow: 0 10px 22px rgba(0,0,0,0.12);
}
.swipe-btn svg { width: 28px; height: 28px; }
.swipe-no { background: #fff; color: #9aa0b5; }
.swipe-yes { background: linear-gradient(135deg, var(--pink), var(--indigo)); color: #fff; }

/* ---------- Section shells ---------- */
section { padding: 84px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 54px; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 40px); margin: 0 0 14px; letter-spacing: -0.02em; }
.section-head p { font-size: 18px; color: var(--ink-soft); margin: 0; }
.kicker { color: var(--pink); font-weight: 800; letter-spacing: .1em; text-transform: uppercase; font-size: 13px; }

/* ---------- Features ---------- */
.features { background: var(--surface); }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform .18s ease, box-shadow .18s ease;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.feature .ico {
  width: 54px; height: 54px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--indigo-100), var(--pink-100));
  margin-bottom: 18px;
}
.feature .ico svg { width: 28px; height: 28px; color: var(--indigo); }
.feature h3 { font-size: 19px; margin: 0 0 8px; }
.feature p { margin: 0; color: var(--ink-soft); font-size: 15px; }

/* ---------- How it works ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.step { text-align: center; padding: 0 10px; }
.step .num {
  width: 56px; height: 56px; margin: 0 auto 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--indigo), var(--pink));
  color: #fff; font-weight: 800; font-size: 22px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 24px rgba(236,72,153,0.3);
}
.step h3 { font-size: 19px; margin: 0 0 8px; }
.step p { margin: 0; color: var(--ink-soft); font-size: 15px; }

/* ---------- CTA band ---------- */
.cta-band { padding: 0 0 84px; }
.cta-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, var(--indigo), var(--pink));
  border-radius: 32px;
  padding: 64px 40px;
  text-align: center;
  color: #fff;
  box-shadow: var(--shadow);
}
.cta-card h2 { font-size: clamp(28px, 4vw, 42px); margin: 0 0 14px; letter-spacing: -0.02em; }
.cta-card p { font-size: 18px; opacity: .92; margin: 0 0 30px; }
.cta-card .store-badge { background: #fff; color: var(--ink); }
.cta-card .store-badges { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: #c9cce0;
  padding: 48px 0 36px;
}
.site-footer .container { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: center; }
.site-footer .brand { color: #fff; }
.site-footer .brand span small { color: #9aa0c0; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a { color: #c9cce0; font-size: 14px; }
.footer-links a:hover { color: #fff; }
.footer-base { border-top: 1px solid rgba(255,255,255,0.1); margin-top: 30px; padding-top: 22px; font-size: 13px; color: #8a8fb0; text-align: center; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { order: -1; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 560px) {
  section { padding: 60px 0; }
  .feature-grid { grid-template-columns: 1fr; }
  .hero { padding: 48px 0 64px; }
  .cta-card { padding: 48px 24px; }
}
