@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700&display=swap');

:root {
  --green:   #10B981;
  --dark:    #0F172A;
  --mid:     #1E293B;
  --surface: #1C1F23;
  --border:  #2E3238;
  --text:    #F8FAFC;
  --muted:   #64748B;
  --subtle:  #4B5563;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Syne', sans-serif;
  background: var(--dark);
  color: var(--text);
  line-height: 1.6;
}

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

#nav,
#hero,
#problem,
#how,
#features,
#for-who,
#not-this,
#access,
#footer {
  scroll-margin-top: 80px;
}

/* ============================================================
   Nav
   ============================================================ */

#nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--dark);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1100px;
  margin: auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--green);
  text-decoration: none;
}

.nav-links {
  display: flex;
  align-items: center;
}

.nav-link {
  font-size: 0.85rem;
  color: var(--muted);
  text-decoration: none;
  margin-left: 2rem;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--text);
}

.nav-cta {
  background: var(--green);
  color: white;
  padding: 0.5rem 1.25rem;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  margin-left: 2rem;
  transition: opacity 0.2s;
}

.nav-cta:hover {
  opacity: 0.9;
}

/* ============================================================
   Hero
   ============================================================ */

#hero {
  width: 100%;
  padding: 5rem 2rem 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-inner {
  max-width: 720px;
  margin: auto;
}

.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 1.25rem;
}

.hero-h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 1.5rem;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

.hero-cta-primary {
  background: var(--green);
  color: white;
  padding: 0.75rem 1.75rem;
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.95rem;
  transition: opacity 0.2s;
}

.hero-cta-primary:hover {
  opacity: 0.9;
}

.hero-cta-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  padding: 0.75rem 1.75rem;
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.95rem;
  transition: border-color 0.2s;
}

.hero-cta-secondary:hover {
  border-color: var(--muted);
}

/* ============================================================
   Hero animation — phone mockup
   ============================================================ */

.hero-animation {
  max-width: 420px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
}

.qanim-phone {
  width: 240px;
  margin: 0 auto;
  background: var(--surface);
  border-radius: 40px;
  border: 2px solid var(--border);
  padding: 12px 12px 8px;
  box-shadow:
    0 0 0 1px #0a0f1a,
    0 32px 80px rgba(0, 0, 0, 0.7),
    0 0 60px rgba(16, 185, 129, 0.06);
}

.qanim-notch {
  width: 64px;
  height: 5px;
  background: var(--border);
  border-radius: 3px;
  margin: 0 auto 10px;
}

#qanim-screen {
  background: var(--dark);
  border-radius: 28px;
  overflow: hidden;
  height: 460px;
  position: relative;
}

.qanim-home-bar {
  width: 72px;
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  margin: 10px auto 0;
}

#qanim-progress {
  display: flex;
  gap: 5px;
  justify-content: center;
  margin-top: 14px;
}

#qanim-progress button {
  height: 3px;
  width: 6px;
  background: var(--border);
  border: none;
  border-radius: 2px;
  padding: 0;
  cursor: pointer;
  transition: background 0.3s, width 0.3s;
}

/* ============================================================
   Mobile
   ============================================================ */

/* ============================================================
   Shared section typography
   ============================================================ */

.section-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 1rem;
}

.section-h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.1rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1.75rem;
  line-height: 1.25;
}

.section-body {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

/* ============================================================
   Problem section
   ============================================================ */

#problem {
  background: var(--mid);
  padding: 5rem 2rem;
}

.problem-inner {
  max-width: 660px;
  margin: auto;
  text-align: center;
}

/* ============================================================
   How It Works
   ============================================================ */

#how {
  background: var(--dark);
  padding: 5rem 2rem;
}

.how-inner {
  max-width: 900px;
  margin: auto;
}

.how-header {
  text-align: center;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3.5rem;
}

.step {
  border-top: 2px solid var(--border);
  padding-top: 1.5rem;
}

.step-num {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--green);
  display: block;
  line-height: 1;
  margin-bottom: 1rem;
}

.step h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.6rem;
}

.step p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ============================================================
   Shared green button
   ============================================================ */

.btn-green {
  background: var(--green);
  color: white;
  padding: 0.75rem 1.75rem;
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.95rem;
  display: inline-block;
  transition: opacity 0.2s;
}

.btn-green:hover {
  opacity: 0.9;
}

/* ============================================================
   Features
   ============================================================ */

#features {
  background: var(--mid);
  padding: 5rem 2rem;
}

.features-inner {
  max-width: 900px;
  margin: auto;
}

.features-header {
  text-align: center;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 3rem;
}

.feature-card {
  background: var(--dark);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.75rem;
}

.card-glyph {
  font-size: 1.1rem;
  display: block;
  margin-bottom: 0.85rem;
}

.feature-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ============================================================
   For Who
   ============================================================ */

#for-who {
  background: var(--dark);
  padding: 5rem 2rem;
  text-align: center;
}

.for-who-inner {
  max-width: 640px;
  margin: auto;
}

.for-who-body {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.8;
  margin: 1.5rem auto;
}

.pull-quote {
  margin: 2.5rem auto;
  padding: 1.5rem 2rem;
  border-left: 3px solid var(--green);
  text-align: left;
  max-width: 480px;
  background: var(--mid);
  border-radius: 0 8px 8px 0;
}

.pull-quote p {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.5;
}

/* ============================================================
   Not This
   ============================================================ */

#not-this {
  background: var(--mid);
  padding: 4rem 2rem;
}

.not-this-inner {
  max-width: 640px;
  margin: auto;
  text-align: center;
}

.not-this-inner .section-h2 {
  margin-bottom: 2rem;
}

.not-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  text-align: left;
  max-width: 360px;
  margin: 0 auto 2rem;
}

.not-item {
  font-size: 1rem;
  color: var(--muted);
}

.not-this-footer {
  font-size: 0.9rem;
  color: var(--subtle);
  line-height: 1.7;
}

/* ============================================================
   Access (waitlist)
   ============================================================ */

#access {
  background: var(--green);
  padding: 5rem 2rem;
  text-align: center;
}

.access-inner {
  max-width: 520px;
  margin: auto;
}

.access-h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: white;
  margin-bottom: 0.75rem;
}

.access-sub {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2.5rem;
}

#waitlist-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 400px;
  margin: 0 auto;
}

.waitlist-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

#waitlist-form input {
  padding: 0.75rem 1rem;
  border-radius: 6px;
  border: none;
  font-size: 0.95rem;
  font-family: inherit;
  background: white;
  color: #0F172A;
  width: 100%;
}

#waitlist-form input:focus {
  outline: 2px solid #0F172A;
  outline-offset: 1px;
}

#waitlist-form button[type="submit"] {
  background: #0F172A;
  color: white;
  padding: 0.75rem;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  width: 100%;
  font-family: inherit;
  transition: background 0.2s ease;
}

#waitlist-form button[type="submit"]:hover {
  background: #1E293B;
}

#confirm {
  color: white;
  font-size: 1.05rem;
  font-weight: 600;
  margin-top: 0.5rem;
}

/* ============================================================
   Footer
   ============================================================ */

#footer {
  background: var(--dark);
  border-top: 1px solid var(--border);
  padding: 2rem;
}

.footer-inner {
  max-width: 1100px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-logo {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--green);
  display: block;
  margin-bottom: 0.25rem;
}

.footer-tagline {
  font-size: 0.8rem;
  color: var(--subtle);
}

.footer-right {
  display: flex;
  gap: 1.5rem;
}

.footer-link {
  font-size: 0.8rem;
  color: var(--subtle);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--text);
}

/* ============================================================
   Mobile
   ============================================================ */

@media (max-width: 768px) {
  .hero-h1 {
    font-size: 1.9rem;
  }

  .hero-sub {
    font-size: 0.95rem;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: center;
  }

  .nav-link {
    display: none;
  }

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

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

  .waitlist-row {
    grid-template-columns: 1fr;
  }

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

  .footer-right {
    justify-content: center;
  }
}
