/* Lawn Sentry — shared styles */
:root {
  --bg: #0b1210;
  --bg-card: #111c17;
  --bg-elevated: #16241d;
  --border: #1f3329;
  --green: #34d399;
  --green-bright: #6ee7b7;
  --green-dark: #059669;
  --text: #e7f0ea;
  --text-dim: #9db4a7;
  --text-faint: #6b8577;
  --radius: 14px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; }

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

/* ---------- Nav ---------- */
nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 18, 16, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; letter-spacing: -0.02em; }
.logo svg { width: 28px; height: 28px; }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 14.5px; color: var(--text-dim); }
.nav-links a:hover { color: var(--text); }
.nav-cta { display: flex; align-items: center; gap: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 22px; border-radius: 10px;
  font-family: var(--font); font-size: 15px; font-weight: 600;
  cursor: pointer; border: 1px solid transparent;
  transition: all 0.15s ease;
}
.btn-primary {
  background: var(--green); color: #05130c;
}
.btn-primary:hover { background: var(--green-bright); transform: translateY(-1px); }
.btn-ghost {
  background: transparent; color: var(--text); border-color: var(--border);
}
.btn-ghost:hover { border-color: var(--green); color: var(--green-bright); }
.btn-lg { padding: 15px 32px; font-size: 16.5px; border-radius: 12px; }
.btn-full { width: 100%; }

/* ---------- Hero ---------- */
.hero { padding: 96px 0 72px; text-align: center; position: relative; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(600px 300px at 50% -10%, rgba(52, 211, 153, 0.12), transparent),
    radial-gradient(400px 200px at 85% 20%, rgba(52, 211, 153, 0.05), transparent);
  pointer-events: none;
}
.hero .container { position: relative; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--bg-elevated); border: 1px solid var(--border);
  color: var(--green-bright); font-size: 13px; font-weight: 600;
  padding: 6px 14px; border-radius: 100px; margin-bottom: 28px;
}
.badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
h1 {
  font-size: clamp(38px, 6vw, 62px); font-weight: 800; letter-spacing: -0.035em;
  line-height: 1.08; margin-bottom: 22px;
}
h1 .accent { color: var(--green); }
.hero-sub {
  font-size: clamp(17px, 2.2vw, 20px); color: var(--text-dim);
  max-width: 640px; margin: 0 auto 36px;
}
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 20px; }
.hero-note { font-size: 13.5px; color: var(--text-faint); }

/* ---------- Sections ---------- */
section { padding: 88px 0; }
.section-header { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.eyebrow {
  color: var(--green); font-size: 13.5px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 12px;
}
h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.15; margin-bottom: 14px; }
.section-sub { color: var(--text-dim); font-size: 17px; }

/* ---------- How it works ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px 28px;
  position: relative;
}
.step-num {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--bg-elevated); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--green); font-weight: 800; font-size: 17px;
  margin-bottom: 20px;
}
.step h3 { font-size: 19px; font-weight: 700; margin-bottom: 10px; letter-spacing: -0.01em; }
.step p { color: var(--text-dim); font-size: 15px; }

/* ---------- Features ---------- */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px 24px;
  transition: border-color 0.2s;
}
.feature:hover { border-color: rgba(52, 211, 153, 0.4); }
.feature-icon {
  width: 44px; height: 44px; border-radius: 11px;
  background: rgba(52, 211, 153, 0.1);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.feature-icon svg { width: 22px; height: 22px; stroke: var(--green); }
.feature h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.feature p { color: var(--text-dim); font-size: 14.5px; }

/* ---------- Works with ---------- */
.brands {
  display: flex; justify-content: center; align-items: center; gap: 48px; flex-wrap: wrap;
  padding: 28px 0;
}
.brand-chip {
  display: flex; align-items: center; gap: 10px;
  color: var(--text-dim); font-weight: 600; font-size: 16px;
  background: var(--bg-card); border: 1px solid var(--border);
  padding: 14px 26px; border-radius: 12px;
}
.brand-chip .soon { font-size: 11px; color: var(--text-faint); font-weight: 600; background: var(--bg-elevated); padding: 3px 8px; border-radius: 6px; }

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 780px; margin: 0 auto; }
.price-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 18px; padding: 36px 32px;
  display: flex; flex-direction: column;
}
.price-card.featured { border-color: var(--green); position: relative; }
.plan-tag {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--green); color: #05130c; font-size: 12px; font-weight: 700;
  padding: 4px 14px; border-radius: 100px; white-space: nowrap;
}
.price-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 6px; }
.price-card .plan-desc { color: var(--text-dim); font-size: 14.5px; margin-bottom: 22px; }
.price { font-size: 44px; font-weight: 800; letter-spacing: -0.03em; margin-bottom: 4px; }
.price .per { font-size: 16px; font-weight: 500; color: var(--text-dim); }
.price-note { color: var(--text-faint); font-size: 13px; margin-bottom: 24px; }
.plan-features { list-style: none; margin-bottom: 28px; flex: 1; }
.plan-features li {
  display: flex; align-items: flex-start; gap: 10px;
  color: var(--text-dim); font-size: 14.5px; padding: 7px 0;
}
.plan-features li svg { width: 17px; height: 17px; stroke: var(--green); flex-shrink: 0; margin-top: 3px; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 720px; margin: 0 auto; }
details {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 12px; margin-bottom: 12px; overflow: hidden;
}
summary {
  padding: 20px 24px; cursor: pointer; font-weight: 600; font-size: 15.5px;
  list-style: none; display: flex; justify-content: space-between; align-items: center;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; color: var(--green); font-size: 20px; font-weight: 400; }
details[open] summary::after { content: '−'; }
details .answer { padding: 0 24px 20px; color: var(--text-dim); font-size: 14.5px; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, rgba(52, 211, 153, 0.12), rgba(52, 211, 153, 0.03));
  border: 1px solid var(--border); border-radius: 20px;
  text-align: center; padding: 64px 32px;
}

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--border); padding: 40px 0; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.footer-inner p { color: var(--text-faint); font-size: 13.5px; }
.footer-links { display: flex; gap: 24px; font-size: 13.5px; color: var(--text-dim); }
.footer-links a:hover { color: var(--text); }

/* ---------- Auth pages ---------- */
.auth-wrap {
  min-height: calc(100vh - 64px);
  display: flex; align-items: center; justify-content: center;
  padding: 48px 24px;
}
.auth-card {
  width: 100%; max-width: 440px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 18px; padding: 40px 36px;
}
.auth-card h1 { font-size: 26px; margin-bottom: 8px; }
.auth-card .auth-sub { color: var(--text-dim); font-size: 14.5px; margin-bottom: 28px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 7px; color: var(--text-dim); }
.field input, .field select {
  width: 100%; padding: 12px 14px;
  background: var(--bg); border: 1px solid var(--border); border-radius: 10px;
  color: var(--text); font-family: var(--font); font-size: 14.5px;
  outline: none; transition: border-color 0.15s;
}
.field input:focus, .field select:focus { border-color: var(--green); }
.field .hint { font-size: 12.5px; color: var(--text-faint); margin-top: 6px; }
.field .hint a { color: var(--green); }
.auth-toggle { text-align: center; margin-top: 22px; font-size: 14px; color: var(--text-dim); }
.auth-toggle a { color: var(--green); font-weight: 600; cursor: pointer; }
.divider { display: flex; align-items: center; gap: 14px; margin: 26px 0; color: var(--text-faint); font-size: 12.5px; }
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }

.connect-step { display: none; }
.connect-step.active { display: block; }
.success-box {
  background: rgba(52, 211, 153, 0.08); border: 1px solid rgba(52, 211, 153, 0.35);
  border-radius: 12px; padding: 20px; text-align: center;
  color: var(--green-bright); font-size: 14.5px; font-weight: 500;
  margin-bottom: 20px; display: none;
}
.progress-dots { display: flex; gap: 8px; justify-content: center; margin-bottom: 28px; }
.progress-dots span { width: 8px; height: 8px; border-radius: 50%; background: var(--border); }
.progress-dots span.on { background: var(--green); }

/* ---------- Email capture ---------- */
.email-form {
  display: flex; gap: 10px; justify-content: center; align-items: stretch;
  max-width: 480px; margin: 0 auto 14px; flex-wrap: wrap;
}
.email-form input[type="email"] {
  flex: 1; min-width: 220px;
  padding: 14px 18px;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px;
  color: var(--text); font-family: var(--font); font-size: 15.5px;
  outline: none; transition: border-color 0.15s;
}
.email-form input[type="email"]:focus { border-color: var(--green); }
.email-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-msg { font-size: 14.5px; min-height: 22px; margin-bottom: 10px; }
.form-msg.ok { color: var(--green-bright); font-weight: 600; }
.form-msg.err { color: #f87171; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .steps, .features-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  section { padding: 64px 0; }
  .hero { padding: 64px 0 48px; }
}
