:root {
  --navy: #0F172A;
  --navy-2: #1E293B;
  --teal: #14B8A6;
  --teal-dark: #0D9488;
  --teal-light: #99F6E4;
  --amber: #F59E0B;
  --purple: #7C3AED;
  --rose: #F43F5E;
  --bg: #FFFFFF;
  --bg-soft: #F8FAFC;
  --bg-muted: #F1F5F9;
  --text: #0F172A;
  --text-muted: #475569;
  --text-light: #94A3B8;
  --border: #E2E8F0;
  --shadow-sm: 0 1px 2px rgba(15,23,42,0.06);
  --shadow: 0 4px 12px rgba(15,23,42,0.08);
  --shadow-lg: 0 24px 48px -12px rgba(15,23,42,0.18);
  --radius: 12px;
  --radius-lg: 20px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--teal-dark); text-decoration: none; transition: color 0.15s; }
a:hover { color: var(--teal); }

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

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

/* ===== HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.85);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--border);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; color: var(--navy); }
.brand-mark {
  width: 32px; height: 32px; border-radius: 8px;
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
  display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 800; font-size: 16px;
  box-shadow: 0 4px 12px rgba(20,184,166,0.35);
}
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: var(--text-muted); font-weight: 500; font-size: 14px; }
.nav a:hover { color: var(--navy); }
.cta-group { display: flex; align-items: center; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 10px;
  font-weight: 600; font-size: 14px;
  border: 1px solid transparent; cursor: pointer;
  transition: all 0.15s ease;
  text-decoration: none; line-height: 1;
}
.btn-ghost { color: var(--text); }
.btn-ghost:hover { background: var(--bg-muted); }
.btn-secondary { background: var(--navy); color: white; }
.btn-secondary:hover { background: var(--navy-2); color: white; }
.btn-primary {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
  color: white; box-shadow: 0 4px 14px rgba(20,184,166,0.35);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(20,184,166,0.45); color: white; }
.btn-lg { padding: 14px 24px; font-size: 15px; border-radius: 12px; }

/* ===== HERO ===== */
.hero {
  position: relative;
  padding: 80px 0 100px;
  background: radial-gradient(ellipse at top, #ECFEFF 0%, #FFFFFF 50%);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 1200px; height: 600px;
  background: radial-gradient(circle, rgba(20,184,166,0.08) 0%, transparent 60%);
  pointer-events: none;
}
.hero .container { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 999px;
  background: var(--teal-light); color: var(--teal-dark);
  font-size: 12px; font-weight: 600;
  margin-bottom: 24px;
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }
h1 {
  font-size: 56px; line-height: 1.05; letter-spacing: -0.025em;
  font-weight: 800; color: var(--navy);
  margin-bottom: 20px;
}
h1 .accent { color: var(--teal-dark); }
.lead {
  font-size: 19px; color: var(--text-muted);
  margin-bottom: 32px; max-width: 540px;
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 32px; }
.hero-trust { display: flex; gap: 24px; flex-wrap: wrap; font-size: 13px; color: var(--text-muted); }
.hero-trust span { display: flex; align-items: center; gap: 6px; }
.hero-trust svg { color: var(--teal); }

.hero-visual {
  position: relative;
  border-radius: var(--radius-lg);
  background: white;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  padding: 0;
  overflow: hidden;
}
.dashboard-mock {
  padding: 0;
  background: linear-gradient(180deg, #FAFBFC 0%, #F1F5F9 100%);
}
.mock-bar {
  display: flex; align-items: center; gap: 6px;
  padding: 12px 16px;
  background: white; border-bottom: 1px solid var(--border);
}
.mock-bar .dot { width: 10px; height: 10px; border-radius: 50%; }
.mock-bar .dot.r { background: #FF5F57; }
.mock-bar .dot.y { background: #FEBC2E; }
.mock-bar .dot.g { background: #28C840; }
.mock-bar .url {
  flex: 1; margin-left: 12px;
  background: var(--bg-muted); border-radius: 6px;
  padding: 4px 12px; font-size: 12px; color: var(--text-muted);
}
.mock-body { padding: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mock-card {
  background: white; border: 1px solid var(--border); border-radius: 10px;
  padding: 16px; box-shadow: var(--shadow-sm);
}
.mock-card-label { font-size: 11px; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 6px; font-weight: 600; }
.mock-card-value { font-size: 22px; font-weight: 700; color: var(--navy); }
.mock-card-delta { font-size: 11px; color: var(--teal-dark); margin-top: 4px; font-weight: 600; }
.mock-card.danger .mock-card-delta { color: var(--rose); }
.mock-table { grid-column: span 2; background: white; border: 1px solid var(--border); border-radius: 10px; padding: 16px; }
.mock-table-row { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-bottom: 1px dashed var(--border); font-size: 12px; }
.mock-table-row:last-child { border-bottom: none; }
.mock-table-row .name { color: var(--text); font-weight: 600; }
.mock-table-row .meta { color: var(--text-light); }
.mock-pill { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 10px; font-weight: 600; }
.mock-pill.green { background: #DCFCE7; color: #166534; }
.mock-pill.amber { background: #FEF3C7; color: #92400E; }
.mock-pill.blue { background: #DBEAFE; color: #1E40AF; }

/* ===== TRUST BAR ===== */
.trust-bar { padding: 40px 0; border-bottom: 1px solid var(--border); background: var(--bg-soft); }
.trust-bar-label { text-align: center; font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-light); margin-bottom: 24px; font-weight: 600; }
.trust-logos { display: flex; justify-content: center; align-items: center; gap: 48px; flex-wrap: wrap; opacity: 0.6; }
.trust-logos .logo {
  font-weight: 700; font-size: 18px; color: var(--text-muted);
  letter-spacing: -0.02em;
}

/* ===== SECTIONS ===== */
section { padding: 80px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-eyebrow { color: var(--teal-dark); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 12px; }
h2 {
  font-size: 40px; line-height: 1.1; letter-spacing: -0.025em;
  font-weight: 800; color: var(--navy);
  margin-bottom: 16px;
}
.section-head p { font-size: 18px; color: var(--text-muted); }

/* ===== FEATURES ===== */
.features { background: var(--bg); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature {
  padding: 32px 28px; border: 1px solid var(--border); border-radius: var(--radius-lg);
  background: white; transition: all 0.2s;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--teal-light); }
.feature-icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--teal-light) 0%, #CCFBF1 100%);
  color: var(--teal-dark); margin-bottom: 20px;
}
.feature h3 { font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.feature p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* ===== HOW IT WORKS ===== */
.how-it-works { background: var(--bg-soft); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; position: relative; }
.step {
  text-align: center; position: relative;
  padding: 32px 24px;
}
.step-num {
  width: 56px; height: 56px; border-radius: 50%;
  background: white; color: var(--teal-dark);
  border: 2px solid var(--teal);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 22px; margin: 0 auto 20px;
  box-shadow: 0 8px 20px rgba(20,184,166,0.15);
}
.step h3 { font-size: 20px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.step p { color: var(--text-muted); font-size: 15px; }

/* ===== PRICING ===== */
.pricing { background: var(--bg); }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pricing-cta-row { text-align: center; margin-top: 32px; }
.pricing-detail-link { display: inline-block; }
.plan {
  padding: 36px 32px; border: 1px solid var(--border); border-radius: var(--radius-lg);
  background: white; position: relative;
  display: flex; flex-direction: column;
}
.plan.featured { border-color: var(--teal); border-width: 2px; transform: scale(1.02); box-shadow: var(--shadow); }
.plan-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
  color: white; padding: 4px 14px; border-radius: 999px;
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
}
.plan h3 { font-size: 18px; font-weight: 700; color: var(--text-muted); margin-bottom: 8px; }
.plan-price { font-size: 40px; font-weight: 800; color: var(--navy); letter-spacing: -0.02em; }
.plan-price .unit { font-size: 14px; color: var(--text-muted); font-weight: 500; }
.plan-desc { color: var(--text-muted); font-size: 14px; margin: 12px 0 24px; }
.plan-features { list-style: none; margin: 0 0 28px; flex: 1; }
.plan-features li {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 8px 0; font-size: 14px; color: var(--text);
}
.plan-features svg { color: var(--teal); flex-shrink: 0; margin-top: 2px; }
.plan .btn { width: 100%; justify-content: center; }

/* ===== CONTACT / LEAD FORM ===== */
.contact {
  background: linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 100%);
  padding: 96px 0;
  border-top: 1px solid var(--border);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: start;
}
.contact-left .section-eyebrow { color: var(--teal-dark); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 14px; }
.contact-left h2 { font-size: 36px; line-height: 1.15; margin-bottom: 16px; letter-spacing: -0.02em; }
.contact-left p { color: var(--text-muted); font-size: 16px; max-width: 480px; margin-bottom: 24px; }
.contact-bullets { list-style: none; padding: 0; }
.contact-bullets li { display: flex; align-items: center; gap: 10px; padding: 8px 0; color: var(--text); font-size: 15px; }
.contact-bullets svg { color: var(--teal-dark); flex: 0 0 auto; }

.lead-form {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 24px 48px -16px rgba(15,23,42,0.12), 0 2px 6px rgba(15,23,42,0.04);
}
.lf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.lf-field { display: block; margin-bottom: 16px; }
.lf-row .lf-field { margin-bottom: 0; }
.lf-field > span { display: block; font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.lf-field em { color: var(--rose); font-style: normal; }
.lf-field input,
.lf-field select,
.lf-field textarea {
  width: 100%;
  font: inherit;
  font-size: 14px;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.lf-field textarea { resize: vertical; min-height: 80px; font-family: inherit; }
.lf-field input:focus,
.lf-field select:focus,
.lf-field textarea:focus {
  outline: none;
  border-color: var(--teal-dark);
  box-shadow: 0 0 0 3px rgba(20,184,166,0.18);
}
.lf-field input::placeholder,
.lf-field textarea::placeholder { color: var(--text-light); }
.lf-foot { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 8px; }
.lf-foot .btn { min-width: 200px; position: relative; }
.lf-foot .btn[disabled] { opacity: 0.7; cursor: not-allowed; }
.lf-fine { color: var(--text-light); font-size: 12px; flex: 1; min-width: 200px; }
.lf-status { margin-top: 16px; font-size: 14px; font-weight: 500; min-height: 22px; }
.lf-status.lf-ok { color: var(--teal-dark); }
.lf-status.lf-err { color: var(--rose); }

.lf-spinner {
  display: none;
  width: 14px; height: 14px;
  border: 2px solid rgba(255,255,255,0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: lf-spin 0.7s linear infinite;
  margin-left: 10px;
  vertical-align: middle;
}
.is-loading .lf-spinner { display: inline-block; }
.is-loading .lf-submit-text::after { content: '...'; }
@keyframes lf-spin { to { transform: rotate(360deg); } }

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .contact { padding: 64px 0; }
  .contact-left h2 { font-size: 28px; }
  .lf-row { grid-template-columns: 1fr; }
  .lead-form { padding: 24px; }
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--navy); color: rgba(255,255,255,0.7);
  padding: 64px 0 24px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand { max-width: 320px; }
.footer-brand .brand { color: white; margin-bottom: 16px; }
.footer-brand p { font-size: 14px; line-height: 1.6; }
.footer-col h4 { color: white; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 16px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: rgba(255,255,255,0.6); font-size: 14px; }
.footer-col a:hover { color: white; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px;
}
.footer-bottom .legal { display: flex; gap: 24px; }
.footer-bottom .legal a { color: rgba(255,255,255,0.5); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero { padding: 56px 0 64px; }
  .hero .container { grid-template-columns: 1fr; gap: 40px; }
  h1 { font-size: 40px; }
  h2 { font-size: 30px; }
  .lead { font-size: 17px; }
  section { padding: 56px 0; }
  .feature-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .plan.featured { transform: none; }
  .nav { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; }
}
@media (max-width: 540px) {
  h1 { font-size: 32px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; }
}
