/*
  agniai.store v2 — global stylesheet
  Dark theme. Slightly different accent (purple-blue #6366f1) than shopagni.com (#4f8fff)
  to signal it's a sibling brand under Agni Consulting, not the same thing.

  Built specifically for SMB owner-operators (vet / chiro / HVAC) — bigger fonts,
  warmer palette, less "B2B SaaS" feel than shopagni.com.
*/

:root {
  --bg0: #0a0d14;
  --bg1: #0f1320;
  --bg2: #161b2c;
  --tx: #edf1ff;
  --tx-soft: #9ba5c0;
  --tx-dim: #6c7591;
  --accent: #6366f1;       /* indigo */
  --accent-hover: #4f52d4;
  --accent-soft: rgba(99, 102, 241, 0.12);
  --accent-warm: #f97316;  /* used sparingly for "missed call" / problem callouts */
  --green: #10b981;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
}

* { box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg0);
  color: var(--tx);
  line-height: 1.6;
  font-size: 17px;
}

a { color: var(--accent); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--accent-hover); }

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  color: var(--tx);
  letter-spacing: -0.02em;
  font-weight: 700;
  margin: 0 0 16px;
  line-height: 1.2;
}
h1 { font-size: clamp(36px, 5vw, 56px); }
h2 { font-size: clamp(28px, 3.5vw, 40px); }
h3 { font-size: clamp(20px, 2.4vw, 26px); }
h4 { font-size: 18px; }

p { margin: 0 0 16px; }

/* ─── Layout ─── */
.ai-wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.ai-narrow { max-width: 720px; margin: 0 auto; }
.ai-section { padding: 80px 0; }
.ai-section-tight { padding: 56px 0; }

/* ─── Header / nav ─── */
.ai-site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(10, 13, 20, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.ai-nav {
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.ai-brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--tx);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.ai-brand-logo img { width: 32px; height: 32px; flex: 0 0 32px; }
.ai-brand-logo > svg { width: 32px !important; height: 32px !important; flex: 0 0 32px; }
.ai-brand-logo:hover { color: var(--tx); }
.ai-brand-mark { display: flex; flex-direction: column; line-height: 1.05; gap: 1px; }
.ai-brand-name { font-weight: 700; font-size: 18px; letter-spacing: -0.01em; white-space: nowrap; }
.ai-brand-sub { font-size: 10.5px; font-weight: 500; color: var(--tx-soft); letter-spacing: 0.02em; white-space: nowrap; }
.ai-nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 24px;
  align-items: center;
}
.ai-nav-links a {
  color: var(--tx-soft);
  font-size: 14.5px;
  font-weight: 500;
}
.ai-nav-links a:hover { color: var(--tx); }
.ai-nav-cta {
  background: var(--accent);
  color: #fff !important;
  padding: 9px 18px;
  border-radius: 999px;
  font-weight: 600;
  transition: background .15s ease;
}
.ai-nav-cta:hover { background: var(--accent-hover); }

@media (max-width: 720px) {
  .ai-nav-links { gap: 14px; }
  .ai-nav-links li:not(:last-child) { display: none; }
}

/* ─── Hero ─── */
.ai-hero {
  padding: 96px 24px 64px;
  text-align: center;
  max-width: 920px;
  margin: 0 auto;
}
.ai-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 18px;
}
.ai-hero h1 { margin-bottom: 24px; }
.ai-lead {
  font-size: 19px;
  color: var(--tx-soft);
  line-height: 1.65;
  margin-bottom: 32px;
}

/* ─── Buttons ─── */
.ai-btn,
.ai-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15.5px;
  cursor: pointer;
  border: none;
  transition: all .15s ease;
}
.ai-btn {
  background: var(--accent);
  color: #fff;
}
.ai-btn:hover {
  background: var(--accent-hover);
  color: #fff;
  transform: translateY(-1px);
}
.ai-btn-ghost {
  background: transparent;
  color: var(--tx);
  border: 1px solid var(--border-strong);
}
.ai-btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.ai-cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 8px;
}

/* ─── Cards / sections ─── */
.ai-card {
  background: var(--bg1);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 26px;
}
.ai-card h3 { color: var(--tx); margin-bottom: 12px; }
.ai-card p { color: var(--tx-soft); margin: 0; }

.ai-grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.ai-grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

/* ─── Vertical lander selector strip ─── */
.ai-vertical-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin: 32px 0;
}
.ai-vertical-card {
  display: block;
  padding: 32px 26px;
  background: var(--bg1);
  border: 1px solid var(--border);
  border-radius: 16px;
  text-align: left;
  transition: all .2s ease;
  color: var(--tx);
}
.ai-vertical-card:hover {
  border-color: var(--accent);
  background: var(--bg2);
  transform: translateY(-3px);
  color: var(--tx);
}
.ai-vertical-card-icon {
  width: 44px;
  height: 44px;
  color: var(--accent);
  margin-bottom: 16px;
}
.ai-vertical-card h3 { margin-bottom: 8px; font-size: 22px; }
.ai-vertical-card p { color: var(--tx-soft); font-size: 14.5px; margin: 0 0 14px; }
.ai-vertical-card-arrow {
  font-size: 14px;
  color: var(--accent);
  font-weight: 600;
}

/* ─── Stats / proof bars ─── */
.ai-stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
  margin: 56px 0;
  padding: 32px 24px;
  background: var(--bg1);
  border-radius: 16px;
  border: 1px solid var(--border);
}
.ai-stat { text-align: center; }
.ai-stat strong {
  display: block;
  font-size: 36px;
  color: var(--accent);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.ai-stat span {
  display: block;
  font-size: 13px;
  color: var(--tx-soft);
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ─── Bullets with check ─── */
.ai-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}
.ai-checklist li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  color: var(--tx-soft);
  line-height: 1.55;
}
.ai-checklist li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--green);
  font-weight: 700;
  font-size: 18px;
}

/* ─── "What's broken" pain bullets (red) ─── */
.ai-painlist {
  list-style: none;
  padding: 0;
  margin: 0;
}
.ai-painlist li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  color: var(--tx-soft);
  line-height: 1.55;
}
.ai-painlist li::before {
  content: '✗';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent-warm);
  font-weight: 700;
  font-size: 18px;
}

/* ─── Pricing tiers ─── */
.ai-tiers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin: 32px 0;
}
.ai-tier {
  background: var(--bg1);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
}
.ai-tier-featured {
  border-color: var(--accent);
  position: relative;
}
.ai-tier-featured::before {
  content: 'Most clinics start here';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  padding: 4px 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  white-space: nowrap;
}
.ai-tier h3 { margin-bottom: 6px; font-size: 22px; }
.ai-tier-tagline { color: var(--accent); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 18px; }
.ai-tier-price { font-size: 40px; font-weight: 800; color: var(--tx); letter-spacing: -0.02em; line-height: 1; margin-bottom: 4px; }
.ai-tier-price-sub { font-size: 13px; color: var(--tx-soft); margin-bottom: 24px; }
.ai-tier ul { flex: 1; margin-bottom: 24px; }
.ai-tier .ai-btn { width: 100%; justify-content: center; }

/* ─── ROI calculator (vet-specific) ─── */
.ai-calc {
  background: var(--bg1);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 36px 32px;
  margin: 48px 0;
}
.ai-calc h3 { margin-bottom: 8px; }
.ai-calc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin: 24px 0;
}
.ai-calc-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ai-calc-field label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--tx-soft);
  font-weight: 600;
}
.ai-calc-field input {
  background: var(--bg0);
  border: 1px solid var(--border-strong);
  color: var(--tx);
  font-size: 18px;
  font-weight: 600;
  padding: 12px 14px;
  border-radius: 10px;
  font-family: inherit;
}
.ai-calc-field input:focus {
  outline: none;
  border-color: var(--accent);
}
.ai-calc-output {
  margin-top: 24px;
  padding: 24px;
  background: var(--accent-soft);
  border: 1px solid var(--accent);
  border-radius: 14px;
}
.ai-calc-output p {
  font-size: 15px;
  color: var(--tx-soft);
  margin: 0 0 8px;
}
.ai-calc-output .ai-calc-big {
  font-size: 36px;
  font-weight: 800;
  color: var(--tx);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

/* ─── Footer ─── */
.ai-site-footer {
  background: var(--bg0);
  border-top: 1px solid var(--border);
  padding: 48px 24px 32px;
  margin-top: 96px;
}
.ai-footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
}
.ai-footer-brand p {
  color: var(--tx-soft);
  font-size: 13px;
  margin: 12px 0 0;
  max-width: 380px;
  line-height: 1.55;
}
.ai-footer-cols {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}
.ai-footer-col h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--tx-dim);
  margin: 0 0 12px;
  font-weight: 700;
}
.ai-footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.ai-footer-col li { margin-bottom: 8px; }
.ai-footer-col a { color: var(--tx-soft); font-size: 14px; }
.ai-footer-col a:hover { color: var(--tx); }
.ai-footer-bottom {
  max-width: 1180px;
  margin: 32px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 12.5px;
  color: var(--tx-dim);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.ai-footer-bottom a { color: var(--tx-dim); }
.ai-footer-bottom a:hover { color: var(--tx-soft); }

/* ─── FAQ blocks ─── */
.ai-faq {
  border-top: 1px solid var(--border);
  padding: 22px 0;
}
.ai-faq:last-child { border-bottom: 1px solid var(--border); }
.ai-faq h3 { font-size: 17px; margin: 0 0 8px; color: var(--tx); }
.ai-faq p { margin: 0; line-height: 1.65; }

/* ─── Responsive ─── */
@media (max-width: 720px) {
  body { font-size: 16px; }
  .ai-hero { padding: 64px 20px 40px; }
  .ai-section { padding: 56px 0; }
  .ai-stats-row { padding: 24px 16px; gap: 16px; }
  .ai-stat strong { font-size: 28px; }
}
