:root {
  --primary: #0891B2;
  --primary-dark: #0E7490;
  --primary-light: #22D3EE;
  --accent: #F59E0B;
  --accent-soft: #FEF3C7;
  --bg: #F8FAFC;
  --surface: #FFFFFF;
  --text: #0F172A;
  --muted: #64748B;
  --border: #E2E8F0;
  --danger: #EF4444;
  --success: #10B981;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 6px 20px rgba(8,145,178,0.12);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px; line-height: 1.55; color: var(--text); background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 0.5em; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.2rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; color: var(--text); }

.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.container-sm { max-width: 760px; margin: 0 auto; padding: 0 24px; }

/* Header */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250,250,247,0.85); backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.brand { display: flex; align-items: center; gap: 8px; font-weight: 800; color: var(--primary); font-size: 1.3rem; }
.brand-icon { width: 32px; height: 32px; display: block; flex-shrink: 0; }
.footer .brand-icon { width: 36px; height: 36px; }
.admin-header .brand-icon { width: 32px; height: 32px; filter: drop-shadow(0 1px 1px rgba(0,0,0,0.15)); }
.nav-links { display: flex; gap: 24px; align-items: center; }
.nav-links a { color: var(--text); font-weight: 500; }
.nav-links a:hover { color: var(--primary); text-decoration: none; }
.nav-cta { background: var(--primary); color: #fff !important; padding: 9px 18px; border-radius: 8px; font-weight: 600; }
.nav-cta:hover { background: var(--primary-dark); text-decoration: none; }
.nav-toggle { display: none; background: none; border: 0; font-size: 24px; cursor: pointer; }

/* Buttons */
.btn { display: inline-block; padding: 13px 24px; border-radius: var(--radius); font-weight: 600; border: 0; cursor: pointer; font-size: 1rem; transition: all 0.15s; text-align: center; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); text-decoration: none; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: var(--primary); border: 1.5px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; text-decoration: none; }
.btn-lg { padding: 16px 32px; font-size: 1.05rem; }
.btn-block { display: block; width: 100%; }

/* Hero */
.hero { padding: 80px 0 60px; text-align: center; }
.hero .eyebrow { display: inline-block; background: #ECFEFF; color: var(--primary-dark); padding: 6px 14px; border-radius: 999px; font-weight: 600; font-size: 0.85rem; margin-bottom: 20px; }
.brand-tagline { display: block; font-size: 0.65rem; font-weight: 500; color: var(--muted); letter-spacing: 2px; text-transform: uppercase; margin-top: 2px; }
.brand { line-height: 1.1; }
.brand-icon { width: 32px; height: auto; }
.hero p.lead { font-size: 1.2rem; color: var(--muted); max-width: 640px; margin: 0 auto 32px; }
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 12px; }
.hero-meta { color: var(--muted); font-size: 0.9rem; }

/* Sections */
section { padding: 70px 0; }
section.alt { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-eyebrow { color: var(--primary); font-weight: 700; text-transform: uppercase; font-size: 0.85rem; letter-spacing: 0.05em; }
.section-title { text-align: center; margin-bottom: 12px; }
.section-sub { text-align: center; color: var(--muted); max-width: 600px; margin: 0 auto 48px; font-size: 1.05rem; }

/* Feature grid */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.feature {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 28px; transition: transform 0.2s, box-shadow 0.2s;
}
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.feature-icon { font-size: 2rem; margin-bottom: 12px; display: block; }
.feature h3 { margin-bottom: 8px; }
.feature p { color: var(--muted); margin: 0; }

/* How it works steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; counter-reset: step; }
.step { text-align: center; counter-increment: step; }
.step-num { width: 48px; height: 48px; background: var(--primary); color: #fff; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 1.3rem; font-weight: 700; margin-bottom: 14px; }

/* Tech section */
.tech-section { background: linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%); }
.tech-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 980px; margin: 0 auto; }
@media (max-width: 720px) { .tech-grid { grid-template-columns: 1fr; } }
.tech-card { background: var(--surface); border: 1.5px solid var(--border); border-radius: var(--radius-lg); padding: 28px; transition: all 0.2s; }
.tech-card:hover { border-color: var(--primary); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.tech-icon { font-size: 2.4rem; display: inline-block; margin-bottom: 8px; }
.tech-card h3 { font-size: 1.4rem; color: var(--text); margin-bottom: 4px; }
.tech-tagline { font-weight: 600; color: var(--primary-dark); margin-bottom: 12px; }
.tech-list { list-style: none; padding: 0; margin: 16px 0 0; }
.tech-list li { padding: 6px 0; color: var(--muted); font-size: 0.95rem; }
.tech-list li::before { content: '✓ '; color: var(--accent); font-weight: 700; }
.tech-footnote { text-align: center; color: var(--muted); font-size: 0.85rem; margin-top: 28px; font-style: italic; }

/* Floating Assistant Button */
.fab-assistant {
  position: fixed; bottom: 20px; right: 20px; z-index: 100;
  background: var(--primary); color: white;
  padding: 14px 22px 14px 18px;
  border-radius: 999px; border: 0;
  font-size: 0.95rem; font-weight: 700;
  display: flex; align-items: center; gap: 10px;
  box-shadow: 0 10px 28px rgba(8,145,178,0.35);
  cursor: pointer; transition: all 0.2s;
  text-decoration: none;
}
.fab-assistant:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 14px 32px rgba(8,145,178,0.45); text-decoration: none; }
.fab-assistant .mic-icon { font-size: 1.2rem; }
@media (max-width: 600px) { .fab-assistant { padding: 12px 18px; font-size: 0.85rem; } }

/* Pricing */
.pricing { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 800px; margin: 0 auto; }
.price-card { background: var(--surface); border: 2px solid var(--border); border-radius: var(--radius-lg); padding: 32px; }
.price-card.featured { border-color: var(--primary); }
.price-card h3 { color: var(--primary); }
.price-amount { font-size: 2.5rem; font-weight: 800; color: var(--text); margin: 12px 0; }
.price-amount small { font-size: 1rem; font-weight: 500; color: var(--muted); }
.price-features { list-style: none; padding: 0; margin: 20px 0; }
.price-features li { padding: 8px 0; color: var(--muted); }
.price-features li::before { content: '✓ '; color: var(--success); font-weight: 700; }

/* Waitlist form */
.waitlist-form { max-width: 480px; margin: 24px auto 0; }
.form-row { display: flex; gap: 8px; }
.form-row input, .form-row select { flex: 1; min-width: 0; }
.input {
  width: 100%; padding: 14px 16px; border: 1.5px solid var(--border); border-radius: var(--radius);
  background: var(--surface); font-size: 1rem; color: var(--text); font-family: inherit;
}
.input:focus { outline: 0; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(11,110,79,0.12); }
textarea.input { min-height: 120px; resize: vertical; }
.field { margin-bottom: 14px; }
.field label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 6px; color: var(--text); }
.waitlist-result { text-align: center; margin-top: 14px; font-weight: 600; min-height: 24px; }
.waitlist-result.success { color: var(--success); }
.waitlist-result.error { color: var(--danger); }

/* FAQ */
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 12px; }
.faq-item summary { padding: 18px 20px; cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 1.4rem; color: var(--primary); transition: transform 0.2s; }
.faq-item[open] summary::after { content: '−'; }
.faq-item .faq-body { padding: 0 20px 18px; color: var(--muted); }

/* Counter */
.counter-box { display: inline-block; background: #EEF6F1; padding: 10px 18px; border-radius: 999px; font-weight: 600; color: var(--primary); font-size: 0.95rem; margin-top: 8px; }

/* Footer */
.footer { background: #0F1B17; color: #C9CDCB; padding: 50px 0 24px; margin-top: 60px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 32px; }
.footer h4 { color: #fff; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { padding: 4px 0; }
.footer a { color: #C9CDCB; font-size: 0.92rem; }
.footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid #1F2D27; padding-top: 16px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 0.85rem; color: #8B928F; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.6s, transform 0.6s; }
.reveal.in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 860px) {
  .grid-3, .grid-4, .steps, .pricing, .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--surface); padding: 16px 24px; border-bottom: 1px solid var(--border); gap: 12px; }
  .form-row { flex-direction: column; }
}
@media (max-width: 520px) {
  .grid-3, .grid-4, .steps, .pricing, .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: 48px 0 32px; }
}
