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

:root {
  --brand-600: #059669;
  --brand-700: #047857;
  --brand-50: #ecfdf5;
  --hero-from: #0f172a;
  --hero-to: #1e293b;
  --text: #0f172a;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --surface: #ffffff;
  --font: 'Inter', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--font); color: var(--text); line-height: 1.6; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* Nav */
.site-nav {
  background: rgba(15,23,42,.95); backdrop-filter: blur(8px);
  position: sticky; top: 0; z-index: 100; border-bottom: 1px solid rgba(255,255,255,.08);
}
.site-nav-inner {
  max-width: 1140px; margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; color: #fff; text-decoration: none; }
.brand img { width: 32px; height: 32px; }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a { color: rgba(255,255,255,.8); text-decoration: none; font-weight: 500; font-size: 15px; }
.nav-links a:hover { color: #fff; }
.nav-cta {
  background: var(--brand-600); color: #fff !important; padding: 10px 18px; border-radius: 8px; font-weight: 600;
}
.nav-cta:hover { background: var(--brand-700); }
.nav-toggle { display: none; background: none; border: none; color: #fff; font-size: 24px; cursor: pointer; }

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--hero-from), var(--hero-to));
  color: #fff; padding: 80px 0 100px; text-align: center;
}
.hero-badge {
  display: inline-block; background: rgba(5,150,105,.15); border: 1px solid rgba(5,150,105,.4);
  color: #6ee7b7; padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; margin-bottom: 24px;
}
.hero h1 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 800; line-height: 1.1; max-width: 780px; margin: 0 auto 20px; }
.hero h1 span { color: #34d399; }
.hero p { font-size: 18px; color: rgba(255,255,255,.75); max-width: 600px; margin: 0 auto 32px; }
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; padding: 12px 24px; border-radius: 8px; font-weight: 600; font-size: 15px; text-decoration: none; border: none; cursor: pointer; font-family: inherit; }
.btn-primary { background: var(--brand-600); color: #fff; }
.btn-primary:hover { background: var(--brand-700); }
.btn-outline { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.3); }
.btn-outline:hover { border-color: #fff; }
.hero-note { margin-top: 16px; font-size: 14px; color: rgba(255,255,255,.5); }

/* Sections */
section { padding: 72px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-head h2 { font-size: clamp(1.75rem, 3vw, 2.25rem); font-weight: 800; margin-bottom: 12px; }
.section-head p { color: var(--text-muted); font-size: 17px; }
.section-gray { background: #f8fafc; }

.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.feature-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 28px;
  transition: box-shadow .2s, transform .2s;
}
.feature-card:hover { box-shadow: 0 12px 40px rgba(15,23,42,.08); transform: translateY(-2px); }
.feature-icon {
  width: 48px; height: 48px; background: var(--brand-50); border-radius: 10px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px; color: var(--brand-700); font-size: 22px;
}
.feature-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.feature-card p { color: var(--text-muted); font-size: 15px; }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; max-width: 960px; margin: 0 auto; }
.price-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 32px 28px; text-align: center;
}
.price-card.featured { border-color: var(--brand-600); box-shadow: 0 0 0 1px var(--brand-600); position: relative; }
.price-tag {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--brand-600); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 999px;
}
.price-name { font-weight: 700; color: var(--brand-700); margin-bottom: 8px; }
.price-amt { font-size: 42px; font-weight: 800; }
.price-amt small { font-size: 16px; font-weight: 500; color: var(--text-muted); }
.price-features { list-style: none; text-align: left; margin: 24px 0; }
.price-features li { padding: 8px 0; font-size: 14px; color: var(--text-muted); display: flex; gap: 8px; }
.price-features li::before { content: '✓'; color: var(--brand-600); font-weight: 700; }

/* FAQ */
.faq-item { border: 1px solid var(--border); border-radius: 10px; margin-bottom: 8px; overflow: hidden; }
.faq-q {
  width: 100%; text-align: left; padding: 16px 20px; background: var(--surface); border: none;
  font-family: inherit; font-size: 15px; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between;
}
.faq-a { padding: 0 20px 16px; color: var(--text-muted); font-size: 14px; display: none; }
.faq-item.open .faq-a { display: block; }

/* CTA band */
.cta-band { background: var(--brand-600); color: #fff; text-align: center; padding: 64px 24px; }
.cta-band h2 { font-size: 2rem; font-weight: 800; margin-bottom: 12px; }
.cta-band p { opacity: .9; margin-bottom: 24px; }
.cta-band .btn { background: #fff; color: var(--brand-700); }

/* Footer */
.site-footer { background: var(--hero-from); color: rgba(255,255,255,.6); padding: 48px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; margin-bottom: 32px; }
.site-footer a { color: rgba(255,255,255,.7); text-decoration: none; font-size: 14px; }
.site-footer a:hover { color: #fff; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 24px; text-align: center; font-size: 13px; }

/* Auth pages */
.auth-page {
  min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr;
}
.auth-brand {
  background: linear-gradient(135deg, var(--hero-from), var(--hero-to)); color: #fff;
  display: flex; flex-direction: column; justify-content: center; padding: 48px;
}
.auth-brand h1 { font-size: 2rem; font-weight: 800; margin: 24px 0 12px; }
.auth-brand p { color: rgba(255,255,255,.7); font-size: 16px; max-width: 360px; }
.auth-form-wrap { display: flex; align-items: center; justify-content: center; padding: 48px 24px; background: #f8fafc; }
.auth-box { width: 100%; max-width: 420px; }
.auth-box h2 { font-size: 24px; font-weight: 700; margin-bottom: 8px; }
.auth-box .sub { color: var(--text-muted); margin-bottom: 28px; }
.plan-pills { display: flex; gap: 8px; margin-bottom: 20px; }
.plan-pill {
  flex: 1; padding: 10px; border: 1px solid var(--border); border-radius: 8px; text-align: center;
  cursor: pointer; background: var(--surface); font-size: 13px; font-weight: 600;
}
.plan-pill.active { border-color: var(--brand-600); background: var(--brand-50); color: var(--brand-700); }
.field { margin-bottom: 16px; }
.label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.input { width: 100%; padding: 10px 12px; border: 1px solid var(--border); border-radius: 8px; font-family: inherit; font-size: 14px; }
.input:focus { outline: none; border-color: var(--brand-600); box-shadow: 0 0 0 3px rgba(5,150,105,.12); }
.auth-error { color: #dc2626; font-size: 14px; margin-top: 12px; min-height: 20px; }
.auth-foot { text-align: center; margin-top: 20px; font-size: 14px; color: var(--text-muted); }

@media (max-width: 768px) {
  .auth-page { grid-template-columns: 1fr; }
  .auth-brand { display: none; }
  .nav-links { display: none; }
  .nav-links.open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--hero-from); padding: 16px 24px; }
  .nav-toggle { display: block; }
  .footer-grid { grid-template-columns: 1fr; }
}
