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

:root {
  --green:        #16A34A;
  --green-dark:   #15803D;
  --green-light:  #DCFCE7;
  --slate-900:    #0F172A;
  --slate-700:    #334155;
  --slate-500:    #64748B;
  --slate-300:    #CBD5E1;
  --slate-200:    #E2E8F0;
  --slate-100:    #F1F5F9;
  --bg:           #F8FAFC;
  --white:        #FFFFFF;
  --font:         'Manrope', system-ui, -apple-system, sans-serif;
  --max-width:    1200px;
  --radius-card:  24px;
  --radius-btn:   14px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--white);
  color: var(--slate-900);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  display: block;
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

/* ============================================================
   ACCESSIBILITY
============================================================ */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

/* ============================================================
   BUTTONS
============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border-radius: var(--radius-btn);
  font-family: var(--font);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: background 0.15s ease, box-shadow 0.15s ease, transform 0.1s ease, opacity 0.15s ease;
  white-space: nowrap;
  line-height: 1;
}

.btn-primary {
  background: var(--green);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--green-dark);
  box-shadow: 0 4px 16px rgba(22, 163, 74, 0.35);
}

.btn-primary:active {
  transform: translateY(1px);
}

.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
}

/* ============================================================
   LOGO
============================================================ */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--slate-900);
}

.logo-name {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.3px;
}

/* ============================================================
   NAV
============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--slate-200);
}

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

/* ============================================================
   OVERLINE BADGE
============================================================ */
.overline {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-dark);
  background: var(--green-light);
  padding: 5px 13px;
  border-radius: 100px;
  margin-bottom: 20px;
}

/* ============================================================
   SECTION HEADER
============================================================ */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 800;
  letter-spacing: -0.6px;
  color: var(--slate-900);
  margin-bottom: 12px;
}

.section-header p {
  font-size: 21px;
  color: var(--slate-700);
  max-width: 480px;
  margin: 0 auto;
}

/* ============================================================
   WAITLIST FORM
============================================================ */
.waitlist-form .form-row {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}

.waitlist-form input[type="email"] {
  flex: 1;
  min-width: 0;
  padding: 13px 18px;
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-btn);
  font-family: var(--font);
  font-size: 15px;
  font-weight: 500;
  color: var(--slate-900);
  background: var(--white);
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.waitlist-form input[type="email"]:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.12);
}

.waitlist-form input[type="email"]::placeholder {
  color: var(--slate-300);
}

.form-note {
  font-size: 13px;
  color: var(--slate-500);
  font-weight: 500;
}

.form-success {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 20px;
  background: var(--green-light);
  border-radius: var(--radius-btn);
  font-size: 15px;
  font-weight: 600;
  color: var(--green-dark);
}

/* ============================================================
   HERO
============================================================ */
.hero {
  padding: 80px 0 72px;
  background: linear-gradient(180deg, var(--white) 0%, var(--bg) 100%);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-text {
  max-width: 540px;
}

.hero-text h1 {
  font-size: clamp(44px, 5.5vw, 68px);
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1.03;
  color: var(--slate-900);
  margin-bottom: 22px;
}

.hero-sub {
  font-size: 22px;
  color: var(--slate-700);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 440px;
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-screenshot {
  width: 100%;
  max-width: 320px;
  max-height: 600px;
  object-fit: cover;
  object-position: top;
  border-radius: 32px;
  box-shadow:
    0 8px 24px rgba(15, 23, 42, 0.08),
    0 32px 80px rgba(15, 23, 42, 0.14);
}

/* ============================================================
   COMPARISON HOOK & BADGES
============================================================ */
.hero-comparison {
  margin-top: 32px;
  font-size: 15px;
  font-weight: 600;
  color: var(--slate-500);
}

.store-badges {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  opacity: 0.6;
  filter: grayscale(1);
}

.store-badge {
  height: 40px;
  width: auto;
}

.store-note {
  font-size: 12px;
  font-weight: 700;
  color: var(--slate-400);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

/* ============================================================
   TRUST BAR
============================================================ */
.trust-bar {
  background: var(--bg);
  border-top: 1px solid var(--slate-200);
  border-bottom: 1px solid var(--slate-200);
  padding: 18px 0;
}

.trust-bar-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.trust-text {
  font-size: 13px;
  font-weight: 700;
  color: var(--slate-500);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.tech-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.badge {
  display: inline-block;
  padding: 4px 13px;
  background: var(--white);
  border: 1.5px solid var(--slate-200);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: var(--slate-700);
}

/* ============================================================
   FEATURES
============================================================ */
.features {
  padding: 96px 0;
  background: var(--white);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--bg);
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-card);
  padding: 40px 36px;
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.feature-card:hover {
  box-shadow: 0 12px 40px rgba(22, 163, 74, 0.1);
  border-color: rgba(22, 163, 74, 0.35);
  transform: translateY(-3px);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: var(--green-light);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--green);
}

.feature-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 10px;
  letter-spacing: -0.2px;
}

.feature-card p {
  font-size: 18px;
  color: var(--slate-700);
  line-height: 1.7;
}

/* ============================================================
   HOW IT WORKS
============================================================ */
.how-it-works {
  padding: 96px 0;
  background: var(--bg);
  border-top: 1px solid var(--slate-200);
  border-bottom: 1px solid var(--slate-200);
}

.steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
}

.step {
  flex: 1;
  max-width: 280px;
  text-align: center;
  padding: 0 32px;
}

.step-number {
  width: 52px;
  height: 52px;
  background: var(--green);
  color: var(--white);
  font-size: 20px;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.step h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 10px;
  letter-spacing: -0.2px;
}

.step p {
  font-size: 18px;
  color: var(--slate-700);
  line-height: 1.7;
}

.step-connector {
  flex: 0 0 48px;
  height: 2px;
  background: var(--slate-200);
  margin-top: 26px; /* vertically aligned with center of 52px step-number */
}

/* ============================================================
   FAQ
============================================================ */
.faq {
  padding: 96px 0;
  background: var(--white);
}

.faq-grid {
  max-width: 800px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px 64px;
}

.faq-item h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 12px;
}

.faq-item p {
  font-size: 16px;
  color: var(--slate-700);
  line-height: 1.6;
}

/* ============================================================
   ANIMATIONS
============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), 
              transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}


/* ============================================================
   SCREENSHOTS
============================================================ */
.screenshots {
  padding: 64px 0 112px; /* Slightly reduced top padding to balance gallery padding */
  background: var(--bg);
  overflow: hidden;
}

.screenshot-gallery {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 28px;
  padding: 40px 24px 24px; /* Internal headroom for lift and bottom room for shadow */
  margin-top: -20px; /* Offset the top padding to keep header spacing clean */
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--slate-200) transparent;
}

.screenshot-gallery::-webkit-scrollbar {
  height: 4px;
}

.screenshot-gallery::-webkit-scrollbar-track {
  background: transparent;
}

.screenshot-gallery::-webkit-scrollbar-thumb {
  background: var(--slate-200);
  border-radius: 2px;
}

.screenshot-gallery:hover .screenshot-item:not(:hover) {
  opacity: 0.7;
  filter: blur(1px);
}

.screenshot-item {
  flex: 0 0 270px;
  width: 270px;
  height: auto;
  display: block;
  border-radius: 28px;
  box-shadow:
    0 4px 12px rgba(15, 23, 42, 0.05),
    0 12px 32px rgba(15, 23, 42, 0.08);
  transition: 
    transform 0.4s cubic-bezier(0.2, 1, 0.2, 1), 
    box-shadow 0.4s cubic-bezier(0.2, 1, 0.2, 1),
    opacity 0.4s ease,
    filter 0.4s ease;
}

.screenshot-item:hover {
  transform: translateY(-20px);
  opacity: 1 !important;
  filter: blur(0) !important;
  box-shadow:
    0 20px 48px rgba(15, 23, 42, 0.12),
    0 40px 96px rgba(15, 23, 42, 0.16);
}

/* ============================================================
   FINAL CTA
============================================================ */
.cta-section {
  padding: 96px 0;
  background: var(--slate-900);
  text-align: center;
}

.cta-inner {
  max-width: 560px;
}

.cta-section h2 {
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.8px;
  color: var(--white);
  margin-bottom: 14px;
}

.cta-section > .cta-inner > p {
  font-size: 22px;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 36px;
  line-height: 1.65;
}

.cta-section .waitlist-form input[type="email"] {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  color: var(--white);
}

.cta-section .waitlist-form input[type="email"]:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.2);
}

.cta-section .waitlist-form input[type="email"]::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.cta-section .form-note {
  color: rgba(255, 255, 255, 0.4);
}

.cta-section .form-success {
  background: rgba(22, 163, 74, 0.2);
  color: #86EFAC;
  justify-content: center;
}

/* ============================================================
   FOOTER
============================================================ */
.footer {
  background: var(--slate-900);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 32px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.footer-logo {
  color: var(--white);
}

.footer-links {
  display: flex;
  gap: 28px;
}

.footer-links a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-copy {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.25);
}

/* ============================================================
   RESPONSIVE — TABLET (< 900px)
============================================================ */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }

  .hero-text {
    max-width: 100%;
  }

  .hero-sub {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-image {
    order: -1;
  }

  .hero-screenshot {
    max-width: 260px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .steps {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }

  .step-connector {
    display: none;
  }

  .step {
    padding: 0 16px;
  }
}

/* ============================================================
   RESPONSIVE — MOBILE (< 600px)
============================================================ */
@media (max-width: 600px) {
  .nav-cta {
    display: none;
  }

  .hero {
    padding: 56px 0 48px;
  }

  .hero-text h1 {
    font-size: 42px;
    letter-spacing: -1.5px;
  }

  .hero-sub {
    font-size: 16px;
  }

  .waitlist-form .form-row {
    flex-direction: column;
  }

  .waitlist-form .btn {
    width: 100%;
  }

  .features,
  .how-it-works,
  .screenshots,
  .cta-section {
    padding: 64px 0;
  }

  .section-header {
    margin-bottom: 40px;
  }

  .feature-card {
    padding: 28px 24px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .trust-bar-inner {
    justify-content: center;
    text-align: center;
  }

  .trust-text {
    width: 100%;
    text-align: center;
  }
}
