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

/* ============================================================
   CUSTOM PROPERTIES
   ============================================================ */
:root {
  --yellow:       #F5C030;
  --yellow-glow:  rgba(245, 192, 48, 0.22);
  --yellow-dim:   rgba(245, 192, 48, 0.10);
  --white:        #ffffff;
  --dim:          rgba(255, 255, 255, 0.44);
  --dimmer:       rgba(255, 255, 255, 0.22);
  --card-bg:      rgba(255, 255, 255, 0.048);
  --card-border:  rgba(255, 255, 255, 0.09);
  --font:         -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI',
                  'Helvetica Neue', Arial, sans-serif;
  --max-w:        1100px;
  --radius-card:  20px;
}

/* ============================================================
   BASE
   ============================================================ */
html {
  scroll-behavior: smooth;
}

body {
  background: #000;
  color: var(--white);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  line-height: 1.5;
}

/* ============================================================
   UTILITIES
   ============================================================ */
.container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 24px;
}

/* Scroll-reveal base state */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ============================================================
   NAV
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--card-border);
}

.nav-inner {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 24px;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-bulb {
  font-size: 24px;
  filter: drop-shadow(0 0 8px var(--yellow));
}

.nav-name {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.3px;
}

.nav-cta {
  background: var(--yellow);
  color: #000;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  padding: 8px 20px;
  border-radius: 999px;
  letter-spacing: -0.2px;
  transition: opacity 0.15s;
}
.nav-cta:hover { opacity: 0.82; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 100px 24px 80px;
}

.hero-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 65% 55% at 50% 25%,
      rgba(245, 192, 48, 0.20) 0%, transparent 70%),
    radial-gradient(ellipse 40% 35% at 20% 70%,
      rgba(245, 192, 48, 0.06) 0%, transparent 60%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 680px;
  width: 100%;
}

.hero-icon {
  margin-bottom: 28px;
}

.hero-bulb {
  display: inline-block;
  font-size: 96px;
  line-height: 1;
  animation: bulbPulse 3.5s ease-in-out infinite;
}

@keyframes bulbPulse {
  0%, 100% {
    filter: drop-shadow(0 0 28px rgba(245, 192, 48, 0.55));
    transform: scale(1);
  }
  50% {
    filter: drop-shadow(0 0 52px rgba(245, 192, 48, 0.9));
    transform: scale(1.05);
  }
}

.hero-headline {
  font-size: clamp(42px, 9vw, 78px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -2.5px;
  margin-bottom: 24px;
}

.hero-body {
  font-size: clamp(17px, 2.5vw, 21px);
  color: var(--dim);
  line-height: 1.65;
  max-width: 500px;
  margin-inline: auto;
  margin-bottom: 44px;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.hero-pill {
  font-size: 14px;
  color: var(--dimmer);
  letter-spacing: 0.3px;
}

/* ============================================================
   APP STORE BUTTON
   ============================================================ */
.btn-store {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  background: var(--white);
  color: #000;
  text-decoration: none;
  border-radius: 14px;
  padding: 13px 22px;
  border: 1px solid transparent;
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.btn-store:hover {
  transform: scale(1.03);
  opacity: 0.9;
}

.btn-store--dark {
  background: #111;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.12);
}
.btn-store--dark:hover {
  opacity: 1;
  background: #1c1c1c;
}

.store-apple {
  width: 22px;
  height: 22px;
  fill: currentColor;
  flex-shrink: 0;
}

.btn-store-label {
  display: flex;
  flex-direction: column;
  text-align: left;
  gap: 2px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
}

.btn-store-label small {
  font-size: 10px;
  font-weight: 400;
  opacity: 0.7;
  letter-spacing: 0.3px;
  line-height: 1;
}

/* ============================================================
   SHARED SECTION HEADINGS
   ============================================================ */
.eyebrow {
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 14px;
}

.section-title {
  text-align: center;
  font-size: clamp(30px, 5vw, 50px);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 64px;
}

/* Staggered reveal delay for eyebrow/title pairs */
.eyebrow.reveal { transition-delay: 0s; }
.section-title.reveal { transition-delay: 0.08s; }

/* ============================================================
   FEATURES
   ============================================================ */
.features {
  padding: 110px 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-card);
  padding: 32px 28px;
  transition: opacity 0.5s ease, transform 0.5s ease, border-color 0.2s ease;
}

.feature-card:hover {
  border-color: rgba(245, 192, 48, 0.28);
}

/* Stagger each card slightly after becoming visible */
.feature-card:nth-child(1).is-visible { transition-delay: 0.04s; }
.feature-card:nth-child(2).is-visible { transition-delay: 0.09s; }
.feature-card:nth-child(3).is-visible { transition-delay: 0.14s; }
.feature-card:nth-child(4).is-visible { transition-delay: 0.19s; }
.feature-card:nth-child(5).is-visible { transition-delay: 0.24s; }
.feature-card:nth-child(6).is-visible { transition-delay: 0.29s; }

.feature-icon {
  width: 40px;
  height: 40px;
  color: var(--yellow);
  margin-bottom: 20px;
}
.feature-icon svg {
  width: 100%;
  height: 100%;
}

.feature-name {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.3px;
  margin-bottom: 10px;
}

.feature-desc {
  font-size: 14.5px;
  color: var(--dim);
  line-height: 1.65;
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.steps {
  padding: 110px 0;
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
}

.steps-list {
  list-style: none;
  max-width: 600px;
  margin-inline: auto;
}

.step {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  padding: 40px 0;
  border-top: 1px solid var(--card-border);
}
.step:last-child { border-bottom: 1px solid var(--card-border); }

.step:nth-child(1).is-visible { transition-delay: 0.04s; }
.step:nth-child(2).is-visible { transition-delay: 0.10s; }
.step:nth-child(3).is-visible { transition-delay: 0.16s; }

.step-num {
  font-size: 12px;
  font-weight: 700;
  color: var(--yellow);
  letter-spacing: 1.5px;
  padding-top: 5px;
  flex-shrink: 0;
  width: 28px;
}

.step-name {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.4px;
  margin-bottom: 10px;
}

.step-desc {
  font-size: 15px;
  color: var(--dim);
  line-height: 1.7;
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  padding: 80px 0;
}

.cta-card {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  background: var(--yellow-dim);
  border: 1px solid rgba(245, 192, 48, 0.18);
  border-radius: 28px;
  padding: 48px;
}

.cta-bulb {
  font-size: 56px;
  flex-shrink: 0;
  filter: drop-shadow(0 0 20px var(--yellow-glow));
}

.cta-copy {
  flex: 1;
  min-width: 180px;
}

.cta-headline {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 6px;
}

.cta-sub {
  font-size: 16px;
  color: var(--dim);
}

.cta-card .btn-store {
  flex-shrink: 0;
  margin-left: auto;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  padding: 36px 0;
  border-top: 1px solid var(--card-border);
}

.footer-row {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
}

.footer-links {
  display: flex;
  gap: 22px;
  margin-left: auto;
}

.footer-links a {
  color: var(--dim);
  font-size: 14px;
  text-decoration: none;
  transition: color 0.15s;
}
.footer-links a:hover { color: var(--white); }

.footer-copy {
  font-size: 13px;
  color: var(--dimmer);
}

/* ============================================================
   PROSE (Privacy Policy page)
   ============================================================ */
.prose {
  max-width: 680px;
  padding-top: 80px;
  padding-bottom: 100px;
}

.prose h1 {
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 800;
  letter-spacing: -1.5px;
  margin-bottom: 8px;
}

.prose .updated {
  color: var(--dimmer);
  font-size: 14px;
  margin-bottom: 56px;
}

.prose h2 {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.3px;
  margin-top: 44px;
  margin-bottom: 12px;
}

.prose p {
  font-size: 16px;
  color: var(--dim);
  line-height: 1.8;
  margin-bottom: 16px;
}

.prose a {
  color: var(--yellow);
  text-decoration: none;
}
.prose a:hover { text-decoration: underline; }

.prose strong {
  color: var(--white);
  font-weight: 600;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .features-grid {
    grid-template-columns: 1fr;
  }

  .hero-headline {
    letter-spacing: -1.5px;
  }

  .section-title {
    letter-spacing: -1px;
  }

  .cta-card {
    padding: 32px 24px;
    flex-direction: column;
    align-items: flex-start;
  }
  .cta-card .btn-store {
    margin-left: 0;
  }

  .container {
    padding-inline: 18px;
  }

  .nav-inner {
    padding-inline: 18px;
  }

  .footer-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .footer-links {
    margin-left: 0;
  }
}
