/* LeadLoop CRM — public marketing site.
   Separate from app.css on purpose: the app is dense and utilitarian, the site
   is spacious and typographic. Sharing one stylesheet would compromise both. */

:root {
  --ink: #0b1220;
  --ink-2: #334155;
  --ink-3: #64748b;
  --ink-4: #94a3b8;
  --line: #e6e9ee;
  --line-2: #f1f3f6;
  --paper: #ffffff;
  --paper-2: #f8fafc;
  --brand: #0b1220;
  --accent: #2563eb;
  --good: #059669;
  --good-bg: #ecfdf5;
  --warn: #d97706;
  --bad: #e11d48;
  --r: 14px;
  --shadow: 0 1px 3px rgba(11,18,32,.06);
  --shadow-lg: 0 18px 50px rgba(11,18,32,.10);
  --max: 1140px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; }
.ic { flex-shrink: 0; vertical-align: -.15em; }

a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 22px; }
.narrow { max-width: 780px; margin: 0 auto; }

/* ---------------------------------------------------------------- headings */

h1, h2, h3 { letter-spacing: -.025em; line-height: 1.15; margin: 0; font-weight: 850; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.12rem; font-weight: 800; letter-spacing: -.01em; }
p { margin: 0 0 1rem; }

.eyebrow {
  font-size: 11.5px; font-weight: 850; letter-spacing: .13em;
  text-transform: uppercase; color: var(--ink-4); margin-bottom: 13px;
}
.lede { font-size: clamp(1.02rem, 1.7vw, 1.2rem); color: var(--ink-2); }
.muted { color: var(--ink-3); }
.small { font-size: 14px; }
.tiny { font-size: 12.5px; }
.center { text-align: center; }
.nowrap { white-space: nowrap; }

/* ------------------------------------------------------------------ header */

.site-head {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.88);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-head .bar { display: flex; align-items: center; gap: 26px; height: 62px; }
.logo { display: flex; align-items: center; gap: 9px; font-weight: 900; font-size: 16.5px; letter-spacing: -.02em; }
.logo .mark {
  width: 28px; height: 28px; border-radius: 8px; background: var(--brand); color: #fff;
  display: grid; place-items: center; font-size: 13px; font-weight: 900;
}
.site-nav { display: flex; gap: 22px; align-items: center; margin-left: auto; }
.site-nav a { font-size: 14.5px; font-weight: 600; color: var(--ink-2); }
.site-nav a:hover { color: var(--ink); }
.nav-toggle { display: none; background: none; border: 0; padding: 6px; cursor: pointer; color: var(--ink); }

/* ----------------------------------------------------------------- buttons */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 19px; border-radius: 11px;
  border: 1px solid var(--line); background: #fff; color: var(--ink);
  font: inherit; font-size: 14.5px; font-weight: 700; cursor: pointer;
  transition: transform .08s, box-shadow .16s, background .16s, border-color .16s;
}
.btn:hover { border-color: var(--ink-4); box-shadow: var(--shadow); }
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn.primary:hover { background: #1e293b; box-shadow: 0 8px 22px rgba(11,18,32,.22); }
.btn.lg { padding: 14px 26px; font-size: 15.5px; border-radius: 12px; }
.btn.ghost { border-color: transparent; background: transparent; }
.btn.block { width: 100%; }

/* -------------------------------------------------------------- structure */

section { padding: 78px 0; }
section.tight { padding: 52px 0; }
section.tinted { background: var(--paper-2); border-block: 1px solid var(--line); }

.section-head { max-width: 720px; margin-bottom: 42px; }
.section-head.center { margin-inline: auto; text-align: center; }

.grid { display: grid; gap: 22px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 52px; align-items: center; }

.card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r); padding: 24px;
}
.card.flush { padding: 0; overflow: hidden; }

.pill {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 13px; border-radius: 30px;
  background: var(--paper-2); border: 1px solid var(--line);
  font-size: 12.5px; font-weight: 750; color: var(--ink-2);
}
.pill.good { background: var(--good-bg); border-color: #a7f3d0; color: #065f46; }

/* -------------------------------------------------------------------- hero */

.hero { padding: 74px 0 62px; }
.hero h1 { margin-bottom: 20px; }
.hero .lede { max-width: 560px; margin-bottom: 28px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 22px; }
.hero-trust { display: flex; gap: 18px; flex-wrap: wrap; font-size: 13px; color: var(--ink-3); }
.hero-trust span { display: inline-flex; align-items: center; gap: 6px; }
.hero-trust .ic { color: var(--good); }

/* A small mock of the product, drawn in CSS. Beats a screenshot that goes stale. */
.mock {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.mock-bar {
  display: flex; align-items: center; gap: 7px;
  padding: 11px 15px; background: var(--paper-2); border-bottom: 1px solid var(--line);
}
.mock-bar i { width: 9px; height: 9px; border-radius: 50%; background: #d7dce3; }
.mock-row {
  display: flex; align-items: center; gap: 11px;
  padding: 11px 15px; border-bottom: 1px solid var(--line-2);
}
.mock-row:last-child { border-bottom: 0; }
.mock-av {
  width: 30px; height: 30px; border-radius: 50%; background: var(--brand); color: #fff;
  display: grid; place-items: center; font-size: 10.5px; font-weight: 800; flex-shrink: 0;
}
.mock-name { font-size: 13.5px; font-weight: 700; }
.mock-sub { font-size: 11.5px; color: var(--ink-4); }
.tag {
  margin-left: auto; font-size: 10.5px; font-weight: 800;
  padding: 3px 10px; border-radius: 20px; white-space: nowrap;
}
.tag.new  { background: #eff6ff; color: #2563eb; }
.tag.cont { background: #f0f9ff; color: #0284c7; }
.tag.qual { background: #f5f3ff; color: #7c3aed; }
.tag.conv { background: #ecfdf5; color: #059669; }

/* ------------------------------------------------------------- loop diagram */

.loop { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.loop .node {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 16px 14px; text-align: center; position: relative;
}
.loop .node .n {
  width: 26px; height: 26px; border-radius: 50%; margin: 0 auto 9px;
  background: var(--paper-2); border: 1px solid var(--line);
  display: grid; place-items: center; font-size: 11.5px; font-weight: 850; color: var(--ink-3);
}
.loop .node.hot { border-color: #a7f3d0; background: var(--good-bg); }
.loop .node.hot .n { background: var(--good); border-color: var(--good); color: #fff; }
.loop .node h4 { margin: 0 0 4px; font-size: 13.5px; font-weight: 800; }
.loop .node p { margin: 0; font-size: 12px; color: var(--ink-3); line-height: 1.45; }

/* ------------------------------------------------------------------ tables */

table.cmp { width: 100%; border-collapse: collapse; font-size: 14.5px; }
table.cmp th, table.cmp td { padding: 13px 15px; border-bottom: 1px solid var(--line); text-align: left; }
table.cmp thead th {
  font-size: 11.5px; font-weight: 850; letter-spacing: .07em; text-transform: uppercase;
  color: var(--ink-4); background: var(--paper-2);
}
table.cmp td.mid, table.cmp th.mid { text-align: center; }
table.cmp tbody tr:last-child td { border-bottom: 0; }
table.cmp .row-head {
  background: var(--paper-2); font-size: 11px; font-weight: 850;
  letter-spacing: .09em; text-transform: uppercase; color: var(--ink-4);
}
table.cmp .us { background: #fbfdff; font-weight: 700; }
.yes { color: var(--good); font-weight: 800; }
.no  { color: var(--ink-4); }
.part { color: var(--warn); font-weight: 700; font-size: 13px; }

/* ----------------------------------------------------------------- pricing */

.price-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; align-items: start; }
.price {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 28px; position: relative;
}
.price.featured { border-color: var(--brand); box-shadow: var(--shadow-lg); }
.price .flag {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--brand); color: #fff; font-size: 10.5px; font-weight: 850;
  letter-spacing: .09em; text-transform: uppercase; padding: 5px 14px; border-radius: 20px;
}
.price .amt { font-size: 2.5rem; font-weight: 900; letter-spacing: -.03em; line-height: 1; }
.price .per { font-size: 13.5px; color: var(--ink-3); margin-top: 7px; }
.price ul { list-style: none; padding: 0; margin: 22px 0; }
.price li { display: flex; gap: 10px; align-items: flex-start; padding: 6px 0; font-size: 14.5px; }
.price li .ic { color: var(--good); margin-top: 3px; }

/* --------------------------------------------------------------- features */

.feat { padding: 22px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.feat .ic-box {
  width: 38px; height: 38px; border-radius: 10px; background: var(--paper-2);
  border: 1px solid var(--line); display: grid; place-items: center; margin-bottom: 14px;
  color: var(--ink);
}
.feat h3 { margin-bottom: 6px; }
.feat p { margin: 0; font-size: 14.5px; color: var(--ink-3); }

/* ------------------------------------------------------------- industries */

.ind {
  display: block; padding: 20px; border: 1px solid var(--line);
  border-radius: var(--r); background: #fff; transition: border-color .15s, box-shadow .15s;
}
.ind:hover { border-color: var(--ink-4); box-shadow: var(--shadow); }
.ind h3 { margin-bottom: 5px; }
.ind p { margin: 0 0 10px; font-size: 14px; color: var(--ink-3); }
.ind .stages { display: flex; flex-wrap: wrap; gap: 5px; }
.ind .stages span {
  font-size: 11px; font-weight: 700; padding: 2px 9px;
  border-radius: 20px; background: var(--paper-2); border: 1px solid var(--line); color: var(--ink-3);
}

/* --------------------------------------------------------------------- faq */

details.faq { border-bottom: 1px solid var(--line); padding: 4px 0; }
details.faq summary {
  cursor: pointer; padding: 17px 0; font-weight: 750; font-size: 15.5px;
  list-style: none; display: flex; align-items: center; gap: 12px;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after {
  content: '+'; margin-left: auto; font-size: 21px; font-weight: 400;
  color: var(--ink-4); transition: transform .18s;
}
details.faq[open] summary::after { transform: rotate(45deg); }
details.faq .body { padding: 0 0 18px; color: var(--ink-2); font-size: 15px; }
details.faq .body p:last-child { margin-bottom: 0; }

/* -------------------------------------------------------------------- form */

label.f { display: block; margin-bottom: 15px; }
label.f > span { display: block; font-size: 13.5px; font-weight: 700; margin-bottom: 6px; }
label.f > span .req { color: var(--bad); }
.f input, .f select, .f textarea,
input.big, select.big, textarea.big {
  width: 100%; padding: 11px 13px; border: 1px solid var(--line);
  border-radius: 10px; font: inherit; background: #fff; color: var(--ink);
}
.f input:focus, .f select:focus, .f textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(37,99,235,.12);
}
textarea { min-height: 96px; resize: vertical; }

.note { padding: 15px 17px; border-radius: 12px; border: 1px solid; font-size: 14.5px; }
.note.good { background: var(--good-bg); border-color: #a7f3d0; color: #065f46; }
.note.bad  { background: #fff1f2; border-color: #fecdd3; color: #9f1239; }
.note.info { background: #eff6ff; border-color: #bfdbfe; color: #1e40af; }

/* --------------------------------------------------------------------- cta */

.cta {
  background: var(--brand); color: #fff; border-radius: 20px;
  padding: 52px 44px; text-align: center;
}
.cta h2 { color: #fff; margin-bottom: 13px; }
.cta p { color: #cbd5e1; max-width: 520px; margin: 0 auto 26px; }
.cta .btn { background: #fff; border-color: #fff; color: var(--brand); }
.cta .btn.ghost { background: transparent; border-color: #475569; color: #fff; }

/* ------------------------------------------------------------------ footer */

.site-foot { border-top: 1px solid var(--line); padding: 52px 0 30px; background: var(--paper-2); }
.foot-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 34px; margin-bottom: 34px; }
.foot-grid h4 {
  font-size: 11.5px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-4); margin: 0 0 13px;
}
.foot-grid a { display: block; font-size: 14px; color: var(--ink-2); padding: 4px 0; }
.foot-grid a:hover { color: var(--ink); }
.foot-base {
  border-top: 1px solid var(--line); padding-top: 22px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 13px; color: var(--ink-4);
}

/* Floating WhatsApp button — standard for Indian SMB sites. */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 70;
  width: 52px; height: 52px; border-radius: 50%;
  background: #25d366; color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 8px 24px rgba(37,211,102,.4);
}
.wa-float:hover { transform: scale(1.06); }

/* ------------------------------------------------------------- responsive */

@media (max-width: 940px) {
  .split { grid-template-columns: 1fr; gap: 34px; }
  .g4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .price-grid { grid-template-columns: 1fr; }
  .price.featured { order: -1; }
  .loop { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  section { padding: 54px 0; }
  .g2, .g3, .g4 { grid-template-columns: 1fr; }
  .loop { grid-template-columns: 1fr; }
  .cta { padding: 38px 24px; }
  .nav-toggle { display: inline-flex; margin-left: auto; }
  .site-nav {
    display: none; position: absolute; top: 62px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; gap: 0; padding: 10px 22px 18px;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 11px 0; border-bottom: 1px solid var(--line-2); }
  .site-nav .btn { margin-top: 12px; }
  table.cmp { font-size: 13px; }
  table.cmp th, table.cmp td { padding: 10px 9px; }
}
