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

:root {
  --navy:       #1E3A5F;
  --navy-deep:  #152d4a;
  --navy-mid:   #274d7a;
  --gold:       #EF9F27;
  --gold-dark:  #d4891a;
  --green:      #5DCAA5;
  --bg:         #F0F4F8;
  --white:      #ffffff;
  --text:       #1E3A5F;
  --muted:      #64748b;
  --border:     rgba(30,58,95,0.1);
  --r:          14px;
  --r-lg:       24px;
  --shadow:     0 4px 24px rgba(30,58,95,0.10);
  --shadow-lg:  0 12px 48px rgba(30,58,95,0.16);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Typography ── */
h1, h2, h3 { font-family: 'Playfair Display', Georgia, serif; line-height: 1.2; }

h1 { font-size: clamp(2.6rem, 6vw, 4.2rem); font-weight: 700; color: var(--white); }
h1 em { font-style: italic; color: var(--gold); }

h2 { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 700; }

h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: 8px; }

p { line-height: 1.7; color: var(--muted); }

.eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.light-eyebrow { color: rgba(239,159,39,0.8); }

.text-center { text-align: center; }
.light-h2 { color: var(--white); }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 28px;
  border-radius: 50px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}
.btn-gold {
  background: var(--gold);
  color: var(--white);
}
.btn-gold:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(239,159,39,0.4);
}
.btn-gold:active { transform: translateY(0); }

/* ── Waitlist Form ── */
.waitlist-form {
  display: flex;
  gap: 10px;
  max-width: 480px;
  flex-wrap: wrap;
}
.waitlist-form input[type="email"] {
  flex: 1;
  min-width: 200px;
  padding: 13px 20px;
  border-radius: 50px;
  border: 1.5px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.12);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  backdrop-filter: blur(8px);
}
.waitlist-form input[type="email"]::placeholder { color: rgba(255,255,255,0.55); }
.waitlist-form input[type="email"]:focus {
  border-color: var(--gold);
  background: rgba(255,255,255,0.18);
}

/* Final CTA form — light version */
.final-cta .waitlist-form input[type="email"] {
  border-color: rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.1);
}

/* ── Navbar ── */
#nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: background 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}
#nav.scrolled {
  background: var(--navy-deep);
  padding: 12px 0;
  box-shadow: 0 2px 24px rgba(0,0,0,0.3);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.01em;
}
.nav-cta { padding: 10px 22px; font-size: 0.88rem; }

/* ── Hero ── */
.hero {
  background: var(--navy);
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding-top: 90px;
}

.hero-orbs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.18;
}
.orb-1 {
  width: 500px;
  height: 500px;
  background: var(--gold);
  top: -150px;
  right: -100px;
}
.orb-2 {
  width: 400px;
  height: 400px;
  background: var(--green);
  bottom: 0;
  left: -120px;
}
.orb-3 {
  width: 300px;
  height: 300px;
  background: #4a90e2;
  top: 40%;
  left: 30%;
}

.hero-inner {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 80px 24px 120px;
  max-width: 1160px;
  margin: 0 auto;
  width: 100%;
}

.hero-content { display: flex; flex-direction: column; gap: 28px; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.9);
  font-size: 0.8rem;
  font-weight: 500;
  padding: 7px 16px;
  border-radius: 50px;
  width: fit-content;
  backdrop-filter: blur(8px);
}
.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}

.hero-sub {
  font-size: 1.1rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.78);
}
.hero-sub strong { color: var(--white); font-weight: 600; }

.hero-footnote {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  margin-top: -10px;
}

/* ── App Mockup Image ── */
.mockup-img {
  width: 100%;
  max-width: 300px;
  height: auto;
  display: block;
  margin: 0 auto;
  mix-blend-mode: screen;
  filter: brightness(0.85) contrast(1.1) saturate(1.15);
}

/* ── Phone Mockup ── */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.phone-wrap {
  position: relative;
  width: 260px;
}
.phone {
  width: 260px;
  height: 520px;
  background: #0f1f35;
  border-radius: 42px;
  border: 2px solid rgba(255,255,255,0.12);
  box-shadow: 0 32px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.04) inset;
  overflow: hidden;
  position: relative;
}
.phone-island {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 26px;
  background: #000;
  border-radius: 20px;
  z-index: 10;
}
.phone-screen {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.app-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 52px 18px 10px;
  background: #0f1f35;
}
.app-topbar-title {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
}
.app-topbar-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.app-map {
  flex: 1;
  background: #162840;
  position: relative;
  overflow: hidden;
}
.map-dot-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 20px 20px;
}
.map-pin {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.pin-dot {
  width: 10px;
  height: 10px;
  background: var(--gold);
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.4);
  box-shadow: 0 0 0 4px rgba(239,159,39,0.2);
}
.pin-label {
  background: rgba(15,31,53,0.9);
  color: rgba(255,255,255,0.85);
  font-size: 0.6rem;
  font-weight: 500;
  padding: 2px 6px;
  border-radius: 4px;
  white-space: nowrap;
  backdrop-filter: blur(4px);
}
.pin-1 { top: 28%; left: 38%; }
.pin-2 { top: 52%; left: 62%; }
.pin-3 { top: 18%; left: 68%; }
.pin-4 { top: 68%; left: 22%; }

.app-bar {
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 10px 8px 20px;
  background: #0f1f35;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.app-bar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  color: rgba(255,255,255,0.35);
  font-size: 0.55rem;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.2s;
}
.app-bar-item.active { color: var(--gold); }
.app-bar-add {
  width: 36px;
  height: 36px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  margin-top: -8px;
}

/* ── Floating Cards ── */
.float-card {
  position: absolute;
  background: rgba(15,31,53,0.92);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  min-width: 200px;
}
.float-icon { font-size: 1.2rem; flex-shrink: 0; }
.float-title {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.3;
}
.float-sub {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.45);
  margin-top: 2px;
}
.card-discovered {
  top: 60px;
  right: -60px;
  animation: floatA 4s ease-in-out infinite;
}
.float-card-glow {
  position: absolute;
  inset: -1px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(239,159,39,0.3), transparent);
  z-index: -1;
}
.card-stats {
  bottom: 80px;
  left: -50px;
  animation: floatB 5s ease-in-out infinite;
}
@keyframes floatA {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes floatB {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* ── Hero Wave ── */
.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  line-height: 0;
}
.hero-wave svg {
  width: 100%;
  height: 80px;
  display: block;
}

/* ── Reveal Animations ── */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-child {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal-child.visible { opacity: 1; transform: translateY(0); }

/* ── Section Spacing ── */
section { padding: 100px 0; }

/* ── Generational Memory ── */
.gen-memory { background: var(--bg); }
.gen-memory-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.gen-memory-text { display: flex; flex-direction: column; gap: 20px; }
.gen-memory-text h2 { color: var(--navy); line-height: 1.2; }
.gen-p { font-size: 1.05rem; color: var(--muted); }
.gen-callout {
  font-size: 1.05rem;
  color: var(--navy);
  background: rgba(239,159,39,0.08);
  border-left: 3px solid var(--gold);
  padding: 16px 20px;
  border-radius: 0 10px 10px 0;
}
.gen-callout strong { color: var(--navy); }

.gen-memory-visual { display: flex; flex-direction: column; gap: 16px; }
.memory-card {
  background: var(--white);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}
.memory-card-top {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
}
.mem-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.mem-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy);
}
.mem-location {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 2px;
}
.mem-year-tag {
  margin-left: auto;
  background: rgba(239,159,39,0.12);
  color: var(--gold-dark);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
}
.memory-photo {
  height: 140px;
  background: linear-gradient(135deg, #1a2f4a 0%, #2d5a8e 50%, #1a3a6a 100%);
  position: relative;
  display: flex;
  align-items: flex-end;
}
.memory-photo-gradient {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 40%, rgba(93,202,165,0.3), transparent 60%),
              radial-gradient(ellipse at 70% 60%, rgba(239,159,39,0.2), transparent 60%);
}
.memory-photo-label {
  position: relative;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.8);
  padding: 8px 16px;
  background: rgba(0,0,0,0.3);
  backdrop-filter: blur(4px);
  width: 100%;
}
.memory-quote {
  padding: 16px 20px;
  font-size: 0.88rem;
  color: var(--muted);
  font-style: italic;
  line-height: 1.6;
}

.found-notification {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  border: 1.5px solid rgba(93,202,165,0.4);
  border-radius: var(--r);
  padding: 14px 18px;
  box-shadow: 0 4px 16px rgba(93,202,165,0.15);
  position: relative;
}
.found-pulse {
  position: absolute;
  top: -3px;
  right: -3px;
  width: 12px;
  height: 12px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
.found-icon-wrap { font-size: 1.3rem; }
.found-text { display: flex; flex-direction: column; }
.found-text strong { font-size: 0.88rem; color: var(--navy); }
.found-text span { font-size: 0.78rem; color: var(--muted); margin-top: 2px; }

/* ── Features ── */
.features { background: var(--white); }
.features h2 { color: var(--navy); margin-bottom: 56px; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--bg);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  border: 1px solid var(--border);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.feature-card h3 { color: var(--navy); margin: 16px 0 8px; }
.feature-card p { font-size: 0.93rem; }

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.navy-icon { background: rgba(30,58,95,0.1); color: var(--navy); }
.gold-icon { background: rgba(239,159,39,0.12); color: var(--gold-dark); }
.green-icon { background: rgba(93,202,165,0.15); color: #3aaa85; }

/* ── How It Works ── */
.how-it-works { background: var(--bg); }
.how-it-works h2 { color: var(--navy); margin-bottom: 64px; }
.steps {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  justify-content: center;
}
.step {
  flex: 1;
  max-width: 280px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.step-num {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 700;
  color: rgba(239,159,39,0.25);
  line-height: 1;
}
.step h3 { color: var(--navy); text-align: center; }
.step p { font-size: 0.93rem; text-align: center; }
.step-connector {
  flex-shrink: 0;
  color: rgba(30,58,95,0.25);
  margin-top: 48px;
}

/* ── Comparison ── */
.comparison {
  background: var(--navy);
  padding: 100px 0;
}
.comparison h2 { margin-bottom: 48px; }
.comp-table {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.comp-header {
  display: grid;
  grid-template-columns: 1.5fr 1.5fr 1.5fr;
  background: rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.comp-label-head, .comp-em-head, .comp-other-head {
  padding: 16px 20px;
  font-size: 0.82rem;
  font-weight: 600;
}
.comp-em-head {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  border-left: 1px solid rgba(255,255,255,0.08);
  border-right: 1px solid rgba(255,255,255,0.08);
}
.comp-other-head { color: rgba(255,255,255,0.45); }

.comp-row {
  display: grid;
  grid-template-columns: 1.5fr 1.5fr 1.5fr;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background 0.2s;
}
.comp-row:last-child { border-bottom: none; }
.comp-row:hover { background: rgba(255,255,255,0.03); }

.comp-label { padding: 18px 20px; font-size: 0.9rem; color: rgba(255,255,255,0.65); font-weight: 500; }
.comp-yes {
  padding: 18px 20px;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.9);
  border-left: 1px solid rgba(255,255,255,0.06);
  border-right: 1px solid rgba(255,255,255,0.06);
}
.comp-no { padding: 18px 20px; font-size: 0.88rem; color: rgba(255,255,255,0.35); }
.check { color: var(--green); font-weight: 700; margin-right: 6px; }
.cross { color: rgba(255,255,255,0.25); margin-right: 6px; }

/* ── Who It's For ── */
.who { background: var(--white); }
.who h2 { color: var(--navy); margin-bottom: 56px; }
.who-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.who-card {
  background: var(--bg);
  border-radius: var(--r-lg);
  padding: 32px 24px;
  text-align: center;
  border: 1px solid var(--border);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.who-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.who-emoji { font-size: 2.2rem; margin-bottom: 16px; }
.who-card h3 { color: var(--navy); margin-bottom: 10px; }
.who-card p { font-size: 0.9rem; }

/* ── Final CTA ── */
.final-cta {
  background: var(--navy);
  padding: 120px 0;
}
.final-cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
}
.final-cta h2 { color: var(--white); }
.cta-sub { color: rgba(255,255,255,0.65); max-width: 460px; font-size: 1.05rem; line-height: 1.7; }
.final-cta .waitlist-form { justify-content: center; }
.cta-footnote { font-size: 0.82rem; color: rgba(255,255,255,0.35); }

/* ── Footer ── */
.footer {
  background: var(--navy-deep);
  padding: 48px 0;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.7);
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
}
.footer-tagline {
  font-style: italic;
  color: rgba(255,255,255,0.4);
  font-size: 0.9rem;
}
.footer-copy {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.25);
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 60px 24px 100px;
  }
  .hero-content { align-items: center; }
  .badge { align-self: center; }
  .waitlist-form { justify-content: center; }
  .hero-visual { display: none; }

  .gen-memory-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .features-grid { grid-template-columns: repeat(2, 1fr); }

  .steps {
    flex-direction: column;
    align-items: center;
  }
  .step-connector { transform: rotate(90deg); margin: 0; }

  .who-grid { grid-template-columns: repeat(2, 1fr); }

  .comp-header, .comp-row {
    grid-template-columns: 1fr 1fr;
  }
  .comp-label-head, .comp-label { display: none; }
}

@media (max-width: 600px) {
  section { padding: 72px 0; }
  h2 { font-size: 1.8rem; }
  .features-grid { grid-template-columns: 1fr; }
  .who-grid { grid-template-columns: 1fr; }
  .waitlist-form { flex-direction: column; }
  .waitlist-form input[type="email"] { width: 100%; min-width: unset; }
  .waitlist-form .btn { width: 100%; }
  .comp-header, .comp-row { grid-template-columns: 1fr 1fr; }
}
