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

:root {
  --green: #028A0F;
  --green-light: #DAF2DC;
  --green-dark: #016b0b;
  --bg: #ffffff;
  --bg-soft: #f6faf6;
  --text: #111813;
  --muted: #5a6b5c;
  --border: #e2ebe2;
  --card: #ffffff;
  --nav-bg: rgba(255,255,255,0.95);
  --pill-bg: var(--green-light);
  --pill-text: var(--green-dark);
  --warning-bg: #FFF8E7;
  --warning-border: #F5D060;
  --warning-text: #92610A;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d0d0d;
    --bg-soft: #151515;
    --text: #f0f0f0;
    --muted: #8a9a8b;
    --border: #2a2a2a;
    --card: #1a1a1a;
    --nav-bg: rgba(13,13,13,0.95);
    --pill-bg: rgba(2,138,15,0.18);
    --pill-text: #8FE8AE;
    --warning-bg: rgba(245,208,96,0.10);
    --warning-border: rgba(245,208,96,0.35);
    --warning-text: #F0C36D;
  }
  .phone { box-shadow: 0 0 0 7px #1c1c1e, 0 0 0 8px #3a3a3c; }
  .phone-back-left, .phone-back-right { box-shadow: 0 0 0 7px #1c1c1e; }
  .feature-screen { box-shadow: 0 0 0 6px #1c1c1e, 0 0 0 7px #3a3a3c; }
}

html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: "Inter", sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: background 0.3s, color 0.3s;
}

/* ── Nav ──────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 0 48px; height: 64px;
  display: flex; align-items: center; justify-content: space-between;
  background: var(--nav-bg);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-logo svg { height: 26px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 36px; list-style: none; }
.nav-links a { text-decoration: none; color: var(--muted); font-size: 14px; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--green); }
.nav-cta { background: var(--green) !important; color: white !important; padding: 9px 20px !important; border-radius: 8px; font-weight: 600 !important; font-size: 14px !important; }
.nav-cta:hover { background: var(--green-dark) !important; }

/* ── Hero ─────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  background: var(--bg);
  display: flex; align-items: center;
  padding: 80px 48px 60px;
  position: relative; overflow: hidden;
}
.hero-glow { position: absolute; pointer-events: none; }
.hero-glow-1 { top: -100px; right: 0; width: 600px; height: 600px; background: radial-gradient(circle, rgba(2,138,15,0.07) 0%, transparent 65%); }
.hero-glow-2 { bottom: -200px; left: -100px; width: 400px; height: 400px; background: radial-gradient(circle, rgba(86,150,2,0.05) 0%, transparent 65%); }
.hero-inner { max-width: 1200px; margin: 0 auto; width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; position: relative; z-index: 1; }

.hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; background: var(--pill-bg); color: var(--pill-text); padding: 5px 14px 5px 10px; border-radius: 20px; font-size: 12px; font-weight: 600; margin-bottom: 28px; border: 1px solid rgba(2,138,15,0.15); }
.eyebrow-dot { width: 6px; height: 6px; background: var(--green); border-radius: 50%; animation: pulse 2.5s ease infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(1.3); } }

h1 { font-size: clamp(38px, 4.5vw, 60px); font-weight: 700; line-height: 1.08; letter-spacing: -1.5px; color: var(--text); margin-bottom: 22px; }
h1 .accent { color: var(--green); }
.hero-desc { font-size: 17px; color: var(--muted); line-height: 1.75; margin-bottom: 32px; max-width: 460px; }

/* ── Store Badges ─────────────────────────────────── */
.store-badges { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 32px; align-items: center; }
.store-badge { display: block; height: 44px; opacity: 0.55; transition: opacity 0.2s, transform 0.15s; position: relative; }
.store-badge:hover { opacity: 0.75; transform: translateY(-1px); }
.store-badge svg { height: 44px; width: auto; display: block; }
.coming-tag { position: absolute; top: -8px; right: -6px; background: var(--green); color: white; font-size: 8px; font-weight: 700; padding: 2px 6px; border-radius: 4px; letter-spacing: 0.5px; font-family: "Inter", sans-serif; }

/* ── Waitlist ─────────────────────────────────────── */
.waitlist-wrap { display: flex; flex-direction: column; width: 100%; gap: 10px; max-width: 440px; }
.waitlist-row { display: flex; width: 100%; background: var(--card); border: 1.5px solid var(--border); border-radius: 12px; overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,0.06); transition: box-shadow 0.2s, border-color 0.2s; }
.waitlist-row:focus-within { border-color: var(--green); box-shadow: 0 2px 12px rgba(0,0,0,0.06), 0 0 0 3px rgba(2,138,15,0.12); }
.waitlist-row input { flex: 1; min-width: 0; padding: 14px 18px; border: none; font-size: 15px; font-family: "Inter", sans-serif; color: var(--text); background: transparent; outline: none; }
.waitlist-row input::placeholder { color: #888; }
.waitlist-row button { margin: 5px; padding: 10px 20px; background: var(--green); color: white; border: none; border-radius: 8px; font-size: 14px; font-weight: 600; font-family: "Inter", sans-serif; cursor: pointer; transition: background 0.2s; }
.waitlist-row button:hover { background: var(--green-dark); }
.waitlist-meta { display: flex; align-items: center; gap: 16px; font-size: 12px; color: var(--muted); }
.waitlist-success { display: none; padding: 14px 18px; background: var(--pill-bg); border-radius: 12px; color: var(--pill-text); font-weight: 500; font-size: 14px; border: 1px solid rgba(2,138,15,0.2); }

/* ── Phone Mockups ────────────────────────────────── */
.hero-visual { display: flex; justify-content: center; align-items: center; position: relative; padding: 40px 0; }
.phones-stack { position: relative; width: 340px; height: 600px; }
.phone { position: absolute; border-radius: 36px; overflow: hidden; box-shadow: 0 40px 80px rgba(0,0,0,0.25), 0 0 0 7px #1c1c1e, 0 0 0 8px #3a3a3c; }
.phone-main { width: 240px; height: 520px; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 3; animation: floatMain 5s ease-in-out infinite; }
.phone-back-left { width: 200px; height: 440px; left: -5px; top: 50%; transform: translateY(-50%) rotate(-8deg); z-index: 1; opacity: 0.7; animation: floatLeft 5s ease-in-out infinite 0.5s; box-shadow: 0 20px 50px rgba(0,0,0,0.2), 0 0 0 7px #1c1c1e; }
.phone-back-right { width: 200px; height: 440px; right: -5px; top: 50%; transform: translateY(-50%) rotate(8deg); z-index: 1; opacity: 0.7; animation: floatRight 5s ease-in-out infinite 1s; box-shadow: 0 20px 50px rgba(0,0,0,0.2), 0 0 0 7px #1c1c1e; }
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
@keyframes floatMain { 0%, 100% { transform: translate(-50%, -50%) translateY(0); } 50% { transform: translate(-50%, -50%) translateY(-10px); } }
@keyframes floatLeft { 0%, 100% { transform: translateY(-50%) rotate(-8deg) translateY(0); } 50% { transform: translateY(-50%) rotate(-8deg) translateY(-6px); } }
@keyframes floatRight { 0%, 100% { transform: translateY(-50%) rotate(8deg) translateY(0); } 50% { transform: translateY(-50%) rotate(8deg) translateY(-8px); } }

/* ── Trust Bar ────────────────────────────────────── */
.trust-bar { background: var(--bg-soft); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 36px 48px; text-align: center; }
.trust-label { font-size: 11px; font-weight: 700; color: var(--muted); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 24px; }
.trust-stats { display: flex; justify-content: center; gap: 80px; flex-wrap: wrap; }
.trust-stat { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.trust-num { font-size: 32px; font-weight: 700; color: var(--green); letter-spacing: -1px; }
.trust-desc { font-size: 13px; color: var(--muted); }

/* ── Sections ─────────────────────────────────────── */
.section { padding: 96px 48px; max-width: 1200px; margin: 0 auto; }
.section-tag { display: inline-block; font-size: 11px; font-weight: 700; color: var(--green); letter-spacing: 1.2px; text-transform: uppercase; margin-bottom: 14px; }
h2 { font-size: clamp(28px, 3.5vw, 44px); font-weight: 700; line-height: 1.12; letter-spacing: -1px; margin-bottom: 16px; color: var(--text); }
.section-desc { font-size: 16px; color: var(--muted); line-height: 1.75; max-width: 520px; margin-bottom: 56px; }

/* ── Features ─────────────────────────────────────── */
.feature-showcase { display: flex; flex-direction: column; gap: 80px; }
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.feature-row.reverse { direction: rtl; }
.feature-row.reverse > * { direction: ltr; }
.feature-number { font-size: 11px; font-weight: 700; color: var(--green); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 12px; opacity: 0.7; }
.feature-text h3 { font-size: 26px; font-weight: 700; letter-spacing: -0.5px; margin-bottom: 14px; line-height: 1.2; color: var(--text); }
.feature-text p { font-size: 15px; color: var(--muted); line-height: 1.8; margin-bottom: 20px; }
.feature-pill-list { display: flex; flex-wrap: wrap; gap: 8px; }
.feature-pill { background: var(--pill-bg); color: var(--pill-text); font-size: 12px; font-weight: 600; padding: 5px 12px; border-radius: 20px; border: 1px solid rgba(2,138,15,0.15); }
.feature-screen { border-radius: 28px; overflow: hidden; box-shadow: 0 24px 60px rgba(0,0,0,0.2), 0 0 0 6px #1c1c1e, 0 0 0 7px #3a3a3c; max-width: 260px; margin: 0 auto; }
.feature-screen img { width: 100%; display: block; }
.dual-screen { display: flex; gap: 16px; justify-content: center; align-items: flex-start; }
.dual-screen .feature-screen { max-width: 190px; }

/* ── How It Works ─────────────────────────────────── */
.how-section { padding: 96px 48px; background: var(--bg-soft); }
.how-inner { max-width: 1200px; margin: 0 auto; }

/* ── Providers ────────────────────────────────────── */
#providers { padding: 96px 48px; background: var(--bg-soft); }
#providers .providers-inner { max-width: 1200px; margin: 0 auto; }
#providers .section-desc { margin-left: auto; margin-right: auto; }
.how-inner h2 { font-size: 28px; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; }
.step-card { background: var(--card); border-radius: 20px; padding: 32px; border: 1px solid var(--border); text-align: center; }
.step-num { width: 52px; height: 52px; background: var(--green); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 700; color: white; margin: 0 auto 20px; }
.step-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; color: var(--text); }
.step-card p { font-size: 14px; color: var(--muted); line-height: 1.75; }

/* ── CTA ──────────────────────────────────────────── */
.cta-section { padding: 96px 48px; text-align: center; background: var(--bg); }
.cta-inner { max-width: 560px; margin: 0 auto; }
.cta-section h2 { margin-bottom: 16px; }
.cta-section p { font-size: 16px; color: var(--muted); margin-bottom: 40px; line-height: 1.7; }
.cta-form-box { display: flex; width: 100%; background: var(--card); border: 1.5px solid var(--border); border-radius: 12px; overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,0.06); max-width: 440px; margin: 0 auto; transition: border-color 0.2s, box-shadow 0.2s; }
.cta-form-box:focus-within { border-color: var(--green); box-shadow: 0 2px 12px rgba(0,0,0,0.06), 0 0 0 3px rgba(2,138,15,0.12); }
.cta-form-box input { flex: 1; min-width: 0; padding: 14px 18px; border: none; font-size: 15px; font-family: "Inter", sans-serif; color: var(--text); background: transparent; outline: none; }
.cta-form-box input::placeholder { color: #888; }
.cta-form-box button { margin: 5px; padding: 10px 20px; background: var(--green); color: white; border: none; border-radius: 8px; font-size: 14px; font-weight: 600; font-family: "Inter", sans-serif; cursor: pointer; transition: background 0.2s; }
.cta-form-box button:hover { background: var(--green-dark); }
.cta-success { display: none; color: var(--green); font-weight: 600; margin-top: 16px; }
.cta-note { font-size: 12px; color: var(--muted); margin-top: 12px; }

/* ── Footer ───────────────────────────────────────── */
.footer-wrap { background: #0d1a0e; padding: 56px 48px 32px; }
.footer-top { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.08); flex-wrap: wrap; }
.footer-brand p { font-size: 13px; color: rgba(255,255,255,0.4); margin-top: 14px; max-width: 240px; line-height: 1.7; }
.footer-cols { display: flex; gap: 60px; }
.footer-col h4 { font-size: 11px; font-weight: 700; color: rgba(255,255,255,0.4); letter-spacing: 0.8px; text-transform: uppercase; margin-bottom: 16px; }
.footer-col a { display: block; text-decoration: none; color: rgba(255,255,255,0.6); font-size: 14px; margin-bottom: 10px; transition: color 0.2s; }
.footer-col a:hover { color: white; }
.footer-bottom { max-width: 1200px; margin: 28px auto 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: 12px; color: rgba(255,255,255,0.25); }

/* ── Theme Switch ─────────────────────────────────── */
.theme-switch {
  width: 56px;
  height: 30px;
  background: var(--border);
  border-radius: 15px;
  position: relative;
  cursor: pointer;
  transition: background 0.3s;
  flex-shrink: 0;
}
.theme-switch.dark { background: var(--green); }
.theme-switch-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 24px;
  height: 24px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  color: #555;
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}
.theme-switch.dark .theme-switch-thumb {
  transform: translateX(26px);
  color: var(--green);
}

/* ── Manual theme overrides ───────────────────────── */
[data-theme="dark"] {
  --bg: #0d0d0d;
  --bg-soft: #151515;
  --text: #f0f0f0;
  --muted: #8a9a8b;
  --border: #2a2a2a;
  --card: #1a1a1a;
  --nav-bg: rgba(13,13,13,0.95);
  --pill-bg: rgba(2,138,15,0.18);
  --pill-text: #8FE8AE;
  --warning-bg: rgba(245,208,96,0.10);
  --warning-border: rgba(245,208,96,0.35);
  --warning-text: #F0C36D;
}
[data-theme="dark"] .phone { box-shadow: 0 0 0 7px #1c1c1e, 0 0 0 8px #3a3a3c; }
[data-theme="dark"] .phone-back-left, [data-theme="dark"] .phone-back-right { box-shadow: 0 0 0 7px #1c1c1e; }
[data-theme="dark"] .feature-screen { box-shadow: 0 0 0 6px #1c1c1e, 0 0 0 7px #3a3a3c; }
[data-theme="light"] {
  --bg: #ffffff;
  --bg-soft: #f6faf6;
  --text: #111813;
  --muted: #5a6b5c;
  --border: #e2ebe2;
  --card: #ffffff;
  --nav-bg: rgba(255,255,255,0.95);
  --pill-bg: var(--green-light);
  --warning-bg: #FFF8E7;
  --warning-border: #F5D060;
  --warning-text: #92610A;
  --pill-text: var(--green-dark);
}

/* ── Animations ───────────────────────────────────── */
.fade-up { opacity: 0; transform: translateY(28px); transition: opacity 0.65s ease, transform 0.65s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ── Responsive ───────────────────────────────────── */
@media (max-width: 900px) {
  nav { padding: 0 24px; }
  .nav-links li:not(:last-child) { display: none; }
  .hero { padding: 80px 24px 60px; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-desc { max-width: 100%; }
  .store-badges { justify-content: center; }
  .waitlist-wrap { max-width: 100%; margin: 0 auto; }
  .hero-visual { display: none; }
  .section { padding: 64px 24px; }
  .feature-row, .feature-row.reverse { grid-template-columns: 1fr; direction: ltr; gap: 40px; }
  .steps-grid { grid-template-columns: 1fr; }
  .how-section { padding: 64px 24px; }
  #providers { padding: 64px 24px; }
  .cta-section { padding: 64px 24px; }
  .footer-wrap { padding: 40px 24px 24px; }
  .footer-top { flex-direction: column; }
  .footer-cols { gap: 32px; flex-wrap: wrap; }
  .trust-bar { padding: 24px; }
  .trust-stats { gap: 32px; }
  .dual-screen { gap: 24px; }
  .dual-screen .feature-screen { max-width: 160px; }
}
