:root {
  --navy: #0b1220;
  --blue: #0b5fff;
  --blue-dark: #063fc7;
  --blue-light: #e8f1ff;
  --sky: #4fa8ff;
  --sky-light: #eef6ff;
  --red: #e30613;
  --red-dark: #b8050f;
  --red-light: #fde9ea;
  --green: #17a672;
  --green-light: #e4f7ef;
  --ink: #10131a;
  --muted: #5b6472;
  --bg: #ffffff;
  --card: #ffffff;
  --line: #e4e9f2;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Poppins", -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
}

a { color: inherit; }
img { max-width: 100%; }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  row-gap: 10px;
  padding: 10px 24px;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}
.nav-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  flex-shrink: 0;
  margin-right: 12px;
}
.nav-logo img {
  height: 54px;
  width: auto;
  display: block;
}
.nav-logo .nav-slogan {
  font-size: 10px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.01em;
  line-height: 1.35;
}
.nav-links {
  display: flex;
  gap: 4px;
  align-items: center;
  flex-wrap: wrap;
  row-gap: 8px;
  justify-content: flex-end;
  flex: 1;
}
.nav-links a, .nav-links button {
  border: none;
  background: none;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  padding: 9px 14px;
  border-radius: 20px;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  display: inline-block;
  transition: background 0.15s, color 0.15s;
}
.nav-links a:hover, .nav-links button:hover { background: var(--blue-light); color: var(--blue-dark); }
.nav-links a.active, .nav-links button.active { background: var(--navy); color: white; }
.nav-links a.cta, .nav-links button.cta {
  background: linear-gradient(135deg, var(--blue), var(--sky));
  color: white;
}
.nav-lang {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: 6px;
  padding-left: 10px;
  border-left: 1px solid var(--line);
}
.nav-lang a {
  border: none;
  background: none;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--muted);
  padding: 6px 9px;
  border-radius: 14px;
  text-decoration: none;
  white-space: nowrap;
}
.nav-lang a:hover { background: var(--blue-light); color: var(--blue-dark); }
.nav-lang a.active { background: var(--navy); color: white; }
.nav-links a.cta:hover, .nav-links button.cta:hover {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  color: white;
}
.nav-back {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.nav-back:hover { color: var(--blue-dark); }

/* ---------- Sections generic ---------- */
.section-inner {
  max-width: 1040px;
  margin: 0 auto;
  padding: 64px 32px;
}
.eyebrow {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-dark);
  background: var(--blue-light);
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
}
h1, h2, h3 { font-weight: 800; letter-spacing: -0.02em; margin: 0 0 12px; }
.section-title { font-size: 32px; }
.section-sub { color: var(--muted); font-size: 16px; max-width: 560px; margin: 0 0 36px; }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(circle at 12% 20%, rgba(79, 168, 255, 0.28), transparent 40%),
    radial-gradient(circle at 90% 10%, rgba(11, 95, 255, 0.18), transparent 45%),
    radial-gradient(circle at 80% 90%, rgba(227, 6, 19, 0.08), transparent 45%),
    linear-gradient(180deg, var(--sky-light), var(--bg) 70%);
  padding: 56px 32px 40px;
  text-align: center;
}
.hero-inner { max-width: 680px; margin: 0 auto; }
.hero h1 {
  font-size: 44px;
  line-height: 1.12;
  background: linear-gradient(100deg, var(--navy), var(--blue) 60%, var(--sky));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p { color: var(--muted); font-size: 17px; margin: 0 auto 30px; max-width: 480px; }
.hero p.hero-question { font-size: 20px; font-weight: 700; color: var(--ink); margin: 0 auto 14px; max-width: 520px; }
.hero p.hero-usp { font-size: 13.5px; color: var(--muted); margin: -16px auto 30px; max-width: 480px; line-height: 1.5; }
.hero-usp b { color: var(--ink); }
.hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero p.hero-tagline { font-size: 13px; font-weight: 600; font-style: italic; color: var(--blue-dark); margin: 40px auto 0; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  border: none;
  border-radius: 30px;
  padding: 13px 26px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--sky));
  color: white;
  box-shadow: 0 10px 24px rgba(11, 95, 255, 0.3);
}
.btn-secondary {
  background: white;
  color: var(--ink);
  border: 1.5px solid var(--line);
}

/* ---------- Service cards ---------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
}
.cards-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .cards-grid.cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cards-grid.cols-4 { grid-template-columns: 1fr; } }
.cards-grid.cols-2 { grid-template-columns: repeat(2, 1fr); max-width: 720px; margin: 0 auto 34px; }
@media (max-width: 640px) { .cards-grid.cols-2 { grid-template-columns: 1fr; } }
.channel-card { text-align: center; }
.channel-card .svc-icon { margin: 0 auto 16px; }
.channel-card .btn { margin-top: 14px; }
.svc-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 26px 22px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.svc-card:hover { transform: translateY(-4px); box-shadow: 0 16px 30px rgba(11, 18, 32, 0.08); }
.svc-icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
}
.svc-card h3 { font-size: 17px; margin-bottom: 6px; }
.svc-card p { color: var(--muted); font-size: 14px; margin: 0; }
.svc-card .price-tag {
  display: inline-block;
  margin-top: 14px;
  font-size: 12.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
}
.svc-card.c-blue .svc-icon { background: var(--blue-light); }
.svc-card.c-blue .price-tag { background: var(--blue-light); color: var(--blue-dark); }
.svc-card.c-sky .svc-icon { background: var(--sky-light); }
.svc-card.c-sky .price-tag { background: var(--sky-light); color: var(--blue); }
.svc-card.c-navy .svc-icon { background: #eef0f4; }
.svc-card.c-navy .price-tag { background: #eef0f4; color: var(--navy); }
.svc-card.c-red .svc-icon { background: var(--red-light); }
.svc-card.c-red .price-tag { background: var(--red-light); color: var(--red-dark); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px,1fr)); gap: 18px; }
.contact-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
}
.contact-card .lbl { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); margin-bottom: 6px; }
.contact-card .val { font-size: 16px; font-weight: 700; }

/* ---------- Footer ---------- */
.site-footer {
  text-align: center;
  padding: 30px;
  color: var(--muted);
  font-size: 13px;
  border-top: 1px solid var(--line);
}
.site-footer-slogan {
  margin-top: 8px;
  font-size: 12px;
  font-weight: 600;
  font-style: italic;
  color: var(--blue-dark);
}
.site-footer-referral {
  margin-top: 14px;
}
.site-footer-referral a {
  color: var(--blue-dark);
  font-weight: 700;
  text-decoration: none;
}
.site-footer-referral a:hover {
  text-decoration: underline;
}

/* ---------- Quote tab ---------- */
.quote-wrap {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 26px;
  align-items: start;
}
@media (max-width: 820px) { .quote-wrap { grid-template-columns: 1fr; } }

.quote-side {
  background: linear-gradient(160deg, var(--blue), var(--navy));
  border-radius: 22px;
  padding: 28px 24px;
  color: white;
}
.quote-side h3 { font-size: 18px; margin-bottom: 14px; }
.flow-steps { display: flex; flex-direction: column; gap: 0; }
.flow-step {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
}
.flow-step .num {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 800;
  flex-shrink: 0;
}
.flow-step span.label { font-size: 13.5px; font-weight: 600; }
.flow-connector { width: 1px; height: 14px; background: rgba(255,255,255,0.3); margin-left: 13px; }
.quote-side .note {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.25);
  font-size: 12.5px;
  color: rgba(255,255,255,0.85);
}

.quote-panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 560px;
  box-shadow: 0 20px 50px rgba(11, 18, 32, 0.08);
}
.quote-panel-head {
  background: linear-gradient(120deg, var(--blue), var(--navy));
  color: white;
  padding: 16px 20px;
}
.quote-panel-head .title { font-weight: 800; font-size: 15px; }
.quote-panel-head .subtitle { font-size: 12px; opacity: 0.9; }

.referral-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(11, 18, 32, 0.08);
}
.referral-card-head {
  background: linear-gradient(120deg, var(--blue), var(--navy));
  color: white;
  padding: 18px 22px;
}
.referral-card-head .title { font-weight: 800; font-size: 16px; }
.referral-card-head .subtitle { font-size: 12.5px; opacity: 0.9; margin-top: 2px; }
#referral-form, #referral-success { padding: 22px; }
#referral-form textarea.dcf-input { min-height: 70px; }

.dealz-messages {
  flex: 1;
  overflow-y: auto;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #fbfcff;
}
/* Without this, cards with their own `overflow: hidden` (quote card, email
   preview…) get flex-shrunk toward zero height once the conversation grows
   taller than the panel, instead of the panel simply scrolling. */
.dealz-messages > * {
  flex-shrink: 0;
}

.dealz-msg {
  max-width: 78%;
  padding: 11px 15px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.5;
  white-space: pre-wrap;
}
.dealz-msg.user {
  align-self: flex-end;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: white;
  border-bottom-right-radius: 4px;
}
.dealz-msg.assistant {
  align-self: flex-start;
  background: var(--sky-light);
  color: var(--ink);
  border-bottom-left-radius: 4px;
}
.dealz-msg.typing {
  align-self: flex-start;
  background: var(--sky-light);
  color: var(--muted);
  font-style: italic;
}
.dealz-msg.system-success {
  align-self: stretch;
  background: var(--green-light);
  color: #0d6b4b;
  border: 1px solid rgba(23, 166, 114, 0.3);
  border-bottom-left-radius: 16px;
}
.dealz-msg.system-decline {
  align-self: stretch;
  background: #f3f4f6;
  color: var(--muted);
  border: 1px solid var(--line);
  border-bottom-left-radius: 16px;
}

.dealz-quote-card {
  align-self: stretch;
  background: white;
  border: 1.5px solid var(--blue);
  border-radius: 14px;
  overflow: hidden;
  font-size: 13.5px;
  box-shadow: 0 8px 20px rgba(11, 95, 255, 0.15);
}
.dealz-quote-card .qc-head {
  background: linear-gradient(120deg, var(--blue), var(--navy));
  color: white;
  padding: 10px 14px;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.04em;
}
.dealz-quote-card .qc-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 14px;
  border-bottom: 1px solid #f0f2f6;
}
.dealz-quote-card .qc-total {
  display: flex;
  justify-content: space-between;
  padding: 12px 14px;
  font-weight: 800;
  background: var(--blue-light);
  color: var(--blue-dark);
}
.dealz-quote-card .qc-actions {
  display: flex;
  gap: 10px;
  padding: 12px 14px;
  background: #fafbfd;
}
.dealz-quote-card .qc-actions button {
  flex: 1;
  border: none;
  border-radius: 20px;
  padding: 9px 12px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.dealz-quote-card .qc-accept {
  background: linear-gradient(135deg, var(--green), #0d8f5f);
  color: white;
}
.dealz-quote-card .qc-decline {
  background: white;
  color: var(--muted);
  border: 1.5px solid var(--line) !important;
}
.dealz-quote-card .qc-actions button:disabled {
  opacity: 0.45;
  cursor: default;
}

.dealz-post-cta {
  align-self: stretch;
  background: white;
  border: 1.5px solid var(--blue);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(11, 95, 255, 0.15);
}
.dealz-post-cta .dpc-text {
  margin: 0;
  padding: 14px 14px 10px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
}
.dealz-post-cta .dpc-actions {
  display: flex;
  gap: 10px;
  padding: 4px 14px 14px;
}
.dealz-post-cta .dpc-btn {
  flex: 1;
  text-align: center;
  border-radius: 20px;
  padding: 9px 12px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
.dealz-post-cta .dpc-btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: white;
}
.dealz-post-cta .dpc-btn-secondary {
  background: white;
  color: var(--muted);
  border: 1.5px solid var(--line);
}

.dealz-email-preview {
  align-self: stretch;
  background: white;
  border: 1.5px dashed var(--line);
  border-radius: 14px;
  overflow: hidden;
  font-size: 13px;
}
.dealz-email-preview .dep-head {
  background: #fafbfd;
  color: var(--muted);
  padding: 8px 14px;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--line);
}
.dealz-email-preview .dep-meta {
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  line-height: 1.6;
}
.dealz-email-preview .dep-body {
  padding: 12px 14px;
  color: var(--ink);
}
.dealz-email-preview .dep-body table { width: 100%; border-collapse: collapse; }
.dealz-email-preview .dep-body td { padding: 4px 0; font-size: 13px; }
.dealz-email-preview .dep-body h2 { font-size: 15px; margin: 0 0 8px; }
.dealz-email-preview .dep-body a { color: var(--blue); }

.dealz-inputbar {
  display: flex;
  gap: 10px;
  padding: 14px;
  border-top: 1px solid var(--line);
  background: white;
}
.dealz-inputbar input {
  flex: 1;
  border: 1.5px solid var(--line);
  border-radius: 24px;
  padding: 11px 16px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
}
.dealz-inputbar input:focus { border-color: var(--blue); }
.dealz-inputbar button {
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: white;
  border: none;
  border-radius: 24px;
  padding: 0 20px;
  font-size: 14px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
}
.dealz-inputbar button:disabled { opacity: 0.5; cursor: default; }

/* ---------- Quote PDF modal ---------- */
.dealz-pdf-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11, 18, 32, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000000;
  padding: 20px;
}
.dealz-pdf-modal {
  background: white;
  border-radius: 18px;
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}
.dealz-pdf-modal-head {
  background: linear-gradient(120deg, var(--blue), var(--navy));
  color: white;
  padding: 14px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 800;
  font-size: 14px;
  flex-shrink: 0;
}
.dealz-pdf-modal-head button {
  background: none;
  border: none;
  color: white;
  font-size: 18px;
  cursor: pointer;
}
.dealz-pdf-body {
  flex: 1;
  min-height: 320px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  overflow-y: auto;
}
.dealz-pdf-loading { color: var(--muted); font-size: 13.5px; text-align: center; margin: 40px 0; }
.dealz-pdf-frame {
  width: 100%;
  height: 55vh;
  min-height: 300px;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.dealz-pdf-download {
  font-size: 13px;
  font-weight: 700;
  color: var(--blue-dark);
  text-decoration: none;
}
.dealz-pdf-actions {
  display: flex;
  gap: 10px;
  padding: 14px;
  border-top: 1px solid var(--line);
  flex-shrink: 0;
}
.dealz-pdf-actions button { flex: 1; padding: 11px; font-size: 14px; border-radius: 22px; }
@media (max-width: 480px) {
  .dealz-pdf-modal { max-height: 95vh; }
  .dealz-pdf-frame { height: 45vh; }
}

/* ---------- Objection picker (decline flow) ---------- */
.dealz-objection-picker {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.dop-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.dop-chip {
  border: 1.5px solid var(--line);
  background: white;
  border-radius: 20px;
  padding: 7px 13px;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  color: var(--ink);
  transition: border-color 0.15s, background 0.15s;
}
.dop-chip:hover { border-color: var(--blue); background: var(--sky-light); }
.dop-chip:disabled { opacity: 0.4; cursor: default; }
.dop-chip.selected { border-color: var(--blue); background: var(--blue-light); color: var(--blue-dark); font-weight: 700; }
.dop-free { display: flex; gap: 8px; }
.dop-free-input {
  flex: 1;
  border: 1.5px solid var(--line);
  border-radius: 20px;
  padding: 8px 14px;
  font-family: inherit;
  font-size: 13px;
  outline: none;
}
.dop-free-input:focus { border-color: var(--blue); }
.dop-free-btn {
  background: var(--navy);
  color: white;
  border: none;
  border-radius: 20px;
  padding: 0 16px;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
}
.dop-free-btn:disabled, .dop-free-input:disabled { opacity: 0.5; cursor: default; }

/* ---------- Contact capture form (accept / decline flows) ---------- */
.dealz-contact-form {
  align-self: stretch;
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.dcf-intro { font-size: 13px; color: var(--muted); margin: 0 0 2px; font-weight: 600; }
.dcf-input {
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 8px 12px;
  font-family: inherit;
  font-size: 13.5px;
  outline: none;
  width: 100%;
}
.dcf-input:focus { border-color: var(--blue); }
.dcf-input:disabled { opacity: 0.5; }
.dcf-submit {
  margin-top: 4px;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: white;
  border: none;
  border-radius: 20px;
  padding: 9px 14px;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
}
.dcf-submit:disabled { opacity: 0.5; cursor: default; }
.dealz-msg.system-success a, .dealz-msg.system-decline a { color: inherit; font-weight: 700; }

/* ---------- Contact flow (index.html #contact — docs/contact-flow.js) ---------- */
.contact-panel { height: 640px; max-width: 620px; margin: 0 auto; }
.flow-block { display: flex; flex-direction: column; gap: 10px; align-self: stretch; }
.flow-back {
  align-self: flex-start;
  border: none;
  background: none;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  padding: 2px 0;
}
.flow-back:hover { color: var(--blue-dark); }
.flow-back:disabled { opacity: 0.4; cursor: default; }

.flow-plan-grid, .flow-billing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
}
.flow-plan-card, .flow-billing-card {
  position: relative;
  background: white;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.flow-plan-card.featured, .flow-billing-card.highlight { border-color: var(--blue); background: var(--blue-light); }
.flow-plan-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--blue), var(--sky));
  color: white;
  font-size: 9.5px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 20px;
  white-space: nowrap;
}
.flow-plan-name { font-size: 13px; font-weight: 800; color: var(--ink); margin-top: 4px; }
.flow-plan-price, .flow-billing-price { font-size: 16px; font-weight: 800; color: var(--blue-dark); }
.flow-plan-tagline { font-size: 11.5px; color: var(--muted); line-height: 1.4; min-height: 30px; }
.flow-plan-pick, .flow-billing-pick { width: 100%; margin-top: 6px; font-size: 12.5px; padding: 8px 10px; }
.flow-billing-label { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); margin-top: 6px; }
.flow-billing-line { font-size: 11.5px; color: var(--muted); }
.flow-billing-line s { color: var(--muted); }
.flow-billing-save { font-size: 11.5px; font-weight: 700; color: var(--blue-dark); }
.flow-whatsapp-note {
  font-size: 12px;
  color: var(--muted);
  background: var(--blue-light);
  border-radius: 12px;
  padding: 10px 12px;
  margin: 10px 0 0;
  line-height: 1.4;
}

.flow-recommend-prompt { align-self: stretch; }
.flow-recommend-btn {
  background: none;
  border: 1.5px dashed var(--line);
  border-radius: 14px;
  padding: 10px 14px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--blue-dark);
  cursor: pointer;
  width: 100%;
  text-align: center;
}
.flow-recommend-btn:hover { border-color: var(--blue); background: var(--sky-light); }

.flow-recommendation {
  align-self: stretch;
  background: var(--blue-light);
  border: 1.5px solid var(--blue);
  border-radius: 14px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.flow-recommendation-label { font-size: 14px; font-weight: 800; color: var(--blue-dark); }
.flow-recommendation-reason { font-size: 13px; color: var(--ink); line-height: 1.5; margin: 0; }
.flow-recommendation-price { font-size: 15px; font-weight: 800; color: var(--ink); }

.flow-summary-card {
  align-self: stretch;
  background: white;
  border: 1.5px solid var(--blue);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(11, 95, 255, 0.12);
}
.flow-summary-title {
  background: linear-gradient(120deg, var(--blue), var(--navy));
  color: white;
  padding: 10px 14px;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.04em;
}
.flow-summary-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 14px;
  border-bottom: 1px solid #f0f2f6;
  font-size: 13px;
}
.flow-summary-row:last-child { border-bottom: none; }
.flow-summary-label { color: var(--muted); font-weight: 600; flex-shrink: 0; }
.flow-summary-value { color: var(--ink); font-weight: 700; text-align: right; word-break: break-word; }
.flow-summary-actions { display: flex; gap: 10px; flex-wrap: wrap; align-self: stretch; }
.flow-summary-actions .btn { flex: 1; justify-content: center; white-space: nowrap; }

/* ---------- Lead-capture gate (in front of the demo chat) ---------- */
.dealz-lead-gate {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 18px;
  justify-content: center;
}
.dlg-intro { font-size: 13.5px; color: var(--muted); margin: 0 0 4px; font-weight: 600; }
.dlg-msg { font-size: 12.5px; margin: 6px 0 0; display: none; }
.dlg-msg.show { display: block; }
.dlg-msg.ok { color: var(--green); }
.dlg-msg.err { color: var(--red); }
.dealz-chat-body { flex: 1; display: flex; flex-direction: column; min-height: 0; }

/* ================= B2B funnel sections ================= */

.section-alt { background: #f7f9fd; }

/* ---------- Problem section ---------- */
.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: stretch;
}
@media (max-width: 720px) { .problem-grid { grid-template-columns: 1fr; } }
.problem-card {
  border-radius: 18px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.problem-card.without {
  background: #fff8f7;
  border: 1.5px solid var(--red-light);
}
.problem-card.with {
  background: linear-gradient(160deg, var(--blue), var(--navy));
  color: white;
}
.problem-card .pc-label {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.problem-card.without .pc-label { color: var(--red-dark); }
.problem-card.with .pc-label { color: rgba(255,255,255,0.75); }
.problem-line {
  font-size: 14px;
  padding: 10px 14px;
  border-radius: 12px;
  line-height: 1.45;
}
.problem-card.without .problem-line { background: white; border: 1px solid var(--red-light); color: var(--ink); }
.problem-card.without .problem-line.q { font-weight: 700; }
.problem-card.with .problem-line { background: rgba(255,255,255,0.12); color: white; }
.problem-card.with .problem-line.q { font-weight: 700; background: rgba(255,255,255,0.2); }

/* ---------- How it works ---------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 20px;
}
.step-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px 20px;
}
.step-card .step-num {
  font-size: 28px;
  font-weight: 800;
  color: var(--blue-light);
  -webkit-text-stroke: 1.5px var(--blue);
  margin-bottom: 10px;
}
.step-card h3 { font-size: 15.5px; margin-bottom: 6px; }
.step-card p { font-size: 13.5px; color: var(--muted); margin: 0; }

/* ---------- Differentiator mock conversation ---------- */
.diff-chat { display: flex; flex-direction: column; gap: 10px; justify-content: center; height: 100%; }
.diff-note {
  margin-top: 18px;
  font-size: 14px;
  color: var(--muted);
  text-align: center;
}
.diff-note b { color: var(--ink); }

/* ---------- Excel -> AI -> Devis (transform-flow) ---------- */
.transform-flow {
  display: grid;
  grid-template-columns: 1fr 36px 1fr 36px 1fr;
  gap: 16px;
  align-items: center;
}
@media (max-width: 900px) {
  .transform-flow { grid-template-columns: 1fr; }
  .transform-flow .flow-arrow { transform: rotate(90deg); }
}
.transform-flow .flow-arrow { font-size: 22px; color: var(--blue); text-align: center; }

/* Real Excel look */
.real-excel {
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(11, 18, 32, 0.06);
}
.excel-titlebar {
  background: #217346;
  color: white;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 12px;
}
.excel-grid { width: 100%; border-collapse: collapse; font-size: 12px; }
.excel-grid th, .excel-grid td {
  border: 1px solid #d6dbe3;
  padding: 7px 9px;
  text-align: left;
}
.excel-grid thead th {
  background: #f3f4f6;
  color: var(--muted);
  font-weight: 700;
  text-align: center;
  width: 30%;
}
.excel-grid td.rn, .excel-grid th.rn {
  background: #f3f4f6;
  color: var(--muted);
  font-weight: 700;
  text-align: center;
  width: 22px;
}
.excel-grid td.hdr { background: #eef3ee; font-weight: 700; }

/* PDF offer mockup */
.pdf-offer {
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(11, 18, 32, 0.08);
}
.pdf-head {
  background: var(--navy);
  color: white;
  font-size: 12.5px;
  font-weight: 800;
  padding: 10px 14px;
}
.pdf-body { padding: 4px 0; }
.pdf-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 14px;
  font-size: 12.5px;
  border-bottom: 1px solid #f0f2f6;
}
.pdf-total {
  display: flex;
  justify-content: space-between;
  padding: 10px 14px;
  font-weight: 800;
  font-size: 13px;
  background: var(--blue-light);
  color: var(--blue-dark);
}
.pdf-actions {
  display: flex;
  gap: 8px;
  padding: 10px 14px;
}
.pdf-actions button {
  flex: 1;
  border: none;
  border-radius: 18px;
  padding: 8px 10px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.pdf-actions button:disabled { opacity: 0.45; cursor: default; }
.pdf-result {
  display: none;
  padding: 10px 14px;
  font-size: 11.5px;
  line-height: 1.5;
}
.pdf-result.show { display: block; }
.pdf-result.success { background: var(--green-light); color: #0d6b4b; }
.pdf-result.decline { background: #f3f4f6; color: var(--muted); }
.excel-table tr:last-child td { border-bottom: none; }

/* ---------- Competitor comparison ---------- */
.compare-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  font-size: 13px;
}
.compare-table th, .compare-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.compare-table th {
  background: var(--navy);
  color: white;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 700;
}
.compare-table tr:last-child td { border-bottom: none; }
.compare-table tr.highlight td {
  background: var(--blue-light);
  font-weight: 700;
  color: var(--navy);
}
.compare-table tr.highlight td:first-child { border-left: 3px solid var(--blue); }

/* ---------- Software layer (keep vs add) ---------- */
.layer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
@media (max-width: 720px) { .layer-grid { grid-template-columns: 1fr; } }
.layer-card {
  border-radius: 18px;
  padding: 24px;
  border: 1px solid var(--line);
}
.layer-card.keep { background: #f7f9fd; }
.layer-card.add { background: var(--blue-light); border-color: var(--blue); }
.layer-card .lc-title { font-size: 15px; font-weight: 800; margin-bottom: 12px; }
.layer-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.layer-card li { font-size: 13.5px; color: var(--ink); display: flex; gap: 8px; align-items: center; }

/* ---------- Dashboard mock ---------- */
.dash-label {
  display: inline-block;
  background: var(--navy);
  color: white;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 14px;
}
.dash-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 680px) { .dash-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .dash-grid { grid-template-columns: 1fr; } }
.dash-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
}
.dash-card .dv { font-size: 24px; font-weight: 800; color: var(--blue-dark); }
.dash-card .dl { font-size: 12px; color: var(--muted); margin-top: 4px; }

.recap-email {
  background: var(--card);
  border: 1.5px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(11, 25, 60, 0.08);
}
.recap-email-head {
  background: #fafbfd;
  color: var(--muted);
  padding: 10px 22px;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--line);
}
.recap-email-meta {
  padding: 16px 22px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 14px;
  line-height: 1.7;
}
.recap-email-body {
  padding: 22px;
}

/* ---------- Pricing ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.price-card {
  background: var(--card);
  border: 1.5px solid var(--line);
  border-radius: 20px;
  padding: 26px 22px;
  position: relative;
  display: flex;
  flex-direction: column;
}
.price-card.featured {
  border-color: var(--blue);
  box-shadow: 0 20px 40px rgba(11, 95, 255, 0.15);
}
.price-card .badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background: linear-gradient(135deg, var(--blue), var(--sky));
  color: white;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 20px;
}
.price-card .plan-name { font-size: 13px; font-weight: 800; letter-spacing: 0.04em; color: var(--muted); text-transform: uppercase; }
.price-card .plan-setup { font-size: 30px; font-weight: 800; margin: 10px 0 0; color: var(--ink); }
.price-card .plan-setup .lbl { font-size: 12px; font-weight: 600; color: var(--muted); }
.price-card .plan-monthly { font-size: 15px; color: var(--blue-dark); font-weight: 700; margin: 4px 0 16px; }
.price-card .plan-desc { font-size: 13.5px; color: var(--muted); margin: 0 0 18px; }
.price-card .plan-price { font-size: 32px; font-weight: 800; margin: 10px 0 2px; color: var(--ink); }
.price-card .plan-price .per { font-size: 13px; font-weight: 600; color: var(--muted); }
.price-card .plan-tagline { font-size: 13.5px; font-style: italic; color: var(--blue-dark); margin: 0 0 16px; font-weight: 600; }
.price-card .plan-included-label { font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); margin: 0 0 8px; }
.price-card .plan-features { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.price-card .plan-features li { font-size: 13px; color: var(--ink); display: flex; gap: 7px; align-items: flex-start; line-height: 1.4; }
.price-card .plan-features li span.chk { color: var(--blue); flex-shrink: 0; font-weight: 800; }
.pricing-philosophy { font-size: 15px; color: var(--muted); max-width: 640px; margin: 0 0 32px; line-height: 1.6; }
.pricing-note { text-align: center; font-size: 13px; color: var(--muted); margin-top: 24px; }
.pricing-setup-note {
  text-align: center;
  font-size: 13.5px;
  color: var(--muted);
  margin-top: 28px;
  background: #f7f9fd;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 18px;
}
.pricing-setup-note b { color: var(--ink); }

.price-card .plan-cta {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: 20px;
  text-align: center;
  font-size: 14px;
  padding: 12px 20px;
}
.price-card .plan-features {
  margin-bottom: auto;
}
.pricing-roi-note {
  text-align: center;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--blue-dark);
  margin: 28px 0 0;
}

/* ---------- Installation panel ---------- */
.install-panel {
  margin-top: 24px;
  background: #f7f9fd;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px 24px;
}
.install-label { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); }
.install-price { font-size: 30px; font-weight: 800; margin: 8px 0 2px; color: var(--ink); }
.install-price .lbl { font-size: 13px; font-weight: 600; color: var(--muted); }
.install-desc { font-size: 13.5px; color: var(--muted); max-width: 580px; margin: 8px 0 18px; line-height: 1.55; }
.install-checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 8px 20px;
}
.install-checklist li { font-size: 13px; color: var(--ink); display: flex; gap: 7px; align-items: flex-start; line-height: 1.4; }
.install-checklist li span.chk { color: var(--blue); flex-shrink: 0; font-weight: 800; }
.install-offer {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  border-top: 1px dashed var(--line);
  padding-top: 20px;
}
.install-offer-col {
  background: white;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 16px 18px;
}
.install-offer-col.highlight { border-color: var(--blue); background: var(--blue-light); }
.install-offer-label { font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); }
.install-offer-price { font-size: 22px; font-weight: 800; color: var(--ink); margin: 6px 0 2px; }
.install-offer-price .per { font-size: 12px; font-weight: 600; color: var(--muted); }
.install-offer-line { font-size: 13px; color: var(--muted); }
.install-offer-free { font-size: 13.5px; font-weight: 800; color: var(--blue-dark); margin-top: 2px; }
.install-offer-caption { font-size: 12px; color: var(--muted); margin: 14px 0 0; }

.pricing-usp { text-align: center; margin-top: 28px; }
.pricing-usp-headline { font-size: 16px; font-weight: 800; color: var(--ink); margin: 0 0 6px; }
.pricing-usp-sub { font-size: 13.5px; color: var(--muted); max-width: 640px; margin: 0 auto; line-height: 1.6; }

/* ---------- Final CTA ---------- */
.final-cta {
  background: linear-gradient(160deg, var(--navy), var(--blue-dark));
  color: white;
  border-radius: 28px;
  padding: 56px 32px;
  text-align: center;
}
.final-cta h2 { font-size: 28px; margin-bottom: 6px; }
.final-cta .lead-line { font-size: 15px; color: rgba(255,255,255,0.8); margin-bottom: 24px; }
.final-cta .reassurance { margin-top: 18px; font-size: 12.5px; color: rgba(255,255,255,0.65); }

/* ---------- Lead form ---------- */
.lead-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  max-width: 620px;
}
@media (max-width: 600px) { .lead-form { grid-template-columns: 1fr; } }
.lead-form .full { grid-column: 1 / -1; }
.lead-form label { font-size: 12.5px; font-weight: 700; color: var(--muted); display: block; margin-bottom: 6px; }
.lead-form input, .lead-form textarea {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  font-family: inherit;
  font-size: 14px;
  outline: none;
}
.lead-form input:focus, .lead-form textarea:focus { border-color: var(--blue); }
.lead-form textarea { resize: vertical; min-height: 80px; }
.lead-confirm {
  display: none;
  background: var(--green-light);
  color: #0d6b4b;
  border: 1px solid rgba(23, 166, 114, 0.3);
  border-radius: 12px;
  padding: 16px 18px;
  font-size: 14px;
  max-width: 620px;
}
.lead-confirm.show { display: block; }

/* ---------- Demo page ---------- */
.demo-intro {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 36px;
}
.demo-flag {
  display: inline-block;
  background: var(--blue-light);
  color: var(--blue-dark);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 20px;
  margin-bottom: 14px;
}
.demo-followup {
  display: none;
  margin-top: 40px;
  background: linear-gradient(160deg, var(--navy), var(--blue-dark));
  color: white;
  border-radius: 24px;
  padding: 40px 32px;
  text-align: center;
}
.demo-followup.show { display: block; }
.demo-followup h2 { font-size: 24px; margin-bottom: 4px; }
.demo-followup .imagine-lines { color: rgba(255,255,255,0.85); font-size: 14.5px; line-height: 1.7; margin: 14px 0 26px; }
.demo-followup-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
