/* ==========================================================================
   Business AI Accelerator — Design System
   Tokens first: your dev should map these 1:1 to Elementor Global Styles.
   ========================================================================== */

:root {
  /* Brand colours */
  --navy-950: #060D1A;   /* footer / deepest */
  --navy-900: #0A1930;   /* primary dark background */
  --navy-800: #0F2240;   /* raised cards on dark */
  --navy-700: #16325C;   /* borders / hover on dark */
  --orange-500: #F97316; /* primary CTA / accent */
  --orange-400: #FB923C; /* hover / gradient end */
  --orange-050: #FFF3EA; /* tint backgrounds on light */
  --ink-900: #101828;    /* headings on light */
  --ink-600: #475467;    /* body on light */
  --paper: #FFFFFF;
  --paper-2: #F5F7FA;    /* alternate light section */
  --line: #E4E7EC;       /* borders on light */
  --white-70: rgba(255,255,255,.72);
  --white-40: rgba(255,255,255,.40);

  /* Type */
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Rhythm */
  --radius: 16px;
  --radius-sm: 10px;
  --section-y: 96px;
  --maxw: 1160px;

  --shadow-card: 0 8px 28px rgba(10, 25, 48, .08);
  --shadow-cta: 0 8px 24px rgba(249, 115, 22, .35);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink-900);
  background: var(--paper);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -0.02em; font-weight: 800; }
h1 { font-size: clamp(2.4rem, 5.2vw, 3.9rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.05rem; }
.lead { font-size: 1.2rem; color: var(--ink-600); }
.on-dark .lead, .on-dark p { color: var(--white-70); }
.accent { color: var(--orange-500); }

.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--orange-500);
  background: var(--orange-050);
  border: 1px solid rgba(249,115,22,.25);
  border-radius: 999px;
  padding: 6px 14px;
  margin-bottom: 18px;
}
.on-dark .eyebrow { background: rgba(249,115,22,.12); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 12px;
  padding: 15px 28px;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  cursor: pointer;
  border: 0;
}
.btn-primary { background: var(--orange-500); color: #fff; box-shadow: var(--shadow-cta); }
.btn-primary:hover { background: var(--orange-400); transform: translateY(-2px); }
.btn-ghost { border: 1.5px solid var(--white-40); color: #fff; }
.btn-ghost:hover { border-color: var(--orange-400); color: var(--orange-400); }
.btn-ghost-dark { border: 1.5px solid var(--line); color: var(--ink-900); }
.btn-ghost-dark:hover { border-color: var(--orange-500); color: var(--orange-500); }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 25, 48, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.logo { font-size: 1.15rem; font-weight: 800; color: #fff; letter-spacing: -0.01em; display: flex; align-items: center; gap: 10px; }
.logo-mark {
  width: 34px; height: 34px; border-radius: 9px; flex: 0 0 auto;
  background: linear-gradient(135deg, var(--orange-500), var(--orange-400));
  display: grid; place-items: center; color: #fff; font-size: .8rem; font-weight: 800;
}
.logo .ai { color: var(--orange-400); }
.nav-links { display: flex; align-items: center; gap: 26px; list-style: none; }
.nav-links > li { position: relative; }
.nav-links a { color: var(--white-70); font-weight: 600; font-size: .95rem; padding: 8px 0; white-space: nowrap; }
.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-links a.active { border-bottom: 2px solid var(--orange-500); }
.nav-cta { margin-left: 6px; padding: 11px 20px; font-size: .9rem; }

/* dropdown */
.has-drop > a::after { content: " ▾"; font-size: .7em; color: var(--white-40); }
.drop {
  display: none; position: absolute; top: 100%; left: -14px; min-width: 250px;
  background: var(--navy-800); border: 1px solid var(--navy-700);
  border-radius: var(--radius-sm); padding: 8px; list-style: none;
  box-shadow: 0 16px 40px rgba(0,0,0,.35);
}
.has-drop:hover .drop { display: block; }
.drop a { display: block; padding: 10px 14px; border-radius: 8px; font-size: .92rem; }
.drop a:hover { background: var(--navy-700); }

/* mobile */
.menu-btn { display: none; background: none; border: 0; color: #fff; font-size: 1.6rem; cursor: pointer; }
@media (max-width: 920px) {
  .menu-btn { display: block; }
  .nav-links {
    display: none; position: absolute; top: 74px; left: 0; right: 0;
    background: var(--navy-900); flex-direction: column; align-items: flex-start;
    gap: 0; padding: 12px 24px 24px; border-bottom: 1px solid var(--navy-700);
  }
  .nav-links.open { display: flex; }
  .nav-links > li { width: 100%; }
  .nav-links a { display: block; padding: 12px 0; }
  .drop { display: block; position: static; background: none; border: 0; box-shadow: none; padding: 0 0 0 16px; }
  .nav-cta { margin: 12px 0 0; }
}

/* ---------- Sections ---------- */
.section { padding: var(--section-y) 0; }
.section-alt { background: var(--paper-2); }
.section-dark { background: var(--navy-900); color: #fff; }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { margin-top: 14px; }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(900px 480px at 82% -10%, rgba(249,115,22,.22), transparent 60%),
    radial-gradient(700px 420px at -10% 110%, rgba(22,50,92,.9), transparent 60%),
    var(--navy-900);
  color: #fff;
  padding: 110px 0 96px;
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: center; }
.hero h1 { margin: 0 0 22px; }
.hero .lead { margin-bottom: 34px; max-width: 560px; }
.hero-note { margin-top: 18px; font-size: .9rem; color: var(--white-40); }

/* hero visual card (placeholder for product/dashboard image) */
.hero-visual {
  background: linear-gradient(160deg, var(--navy-800), var(--navy-700));
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 30px 60px rgba(0,0,0,.4);
}
.hero-visual .stat-line { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.hero-visual .stat-line:last-child { border-bottom: 0; }
.hero-visual .k { color: var(--white-70); font-size: .92rem; }
.hero-visual .v { font-weight: 800; font-size: 1.15rem; color: var(--orange-400); }
@media (max-width: 920px) { .hero-grid { grid-template-columns: 1fr; } }

/* ---------- Proof bar ---------- */
.proof-bar { background: var(--navy-950); color: #fff; padding: 34px 0; }
.proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; text-align: center; }
.proof-grid .num { font-size: 1.9rem; font-weight: 800; color: var(--orange-400); letter-spacing: -0.02em; }
.proof-grid .lbl { font-size: .88rem; color: var(--white-70); margin-top: 4px; }
@media (max-width: 720px) { .proof-grid { grid-template-columns: 1fr; gap: 20px; } }

/* ---------- Cards & grids ---------- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 920px) { .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-card);
  transition: transform .15s ease, border-color .15s ease;
}
a.card:hover { transform: translateY(-4px); border-color: var(--orange-500); }
.card h3 { margin: 14px 0 10px; }
.card p { color: var(--ink-600); font-size: .98rem; }
.card .more { display: inline-block; margin-top: 16px; font-weight: 700; color: var(--orange-500); font-size: .95rem; }

.icon-chip {
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--orange-050); border: 1px solid rgba(249,115,22,.25);
  display: grid; place-items: center; font-size: 1.3rem;
}

.card-dark { background: var(--navy-800); border-color: var(--navy-700); color: #fff; }
.card-dark p { color: var(--white-70); }

/* ---------- Growth path (ladder) ---------- */
.ladder { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; counter-reset: rung; }
.ladder > .rung { flex: 1 1 240px; max-width: 300px; }
@media (max-width: 1180px) { .ladder > .rung { flex-basis: 260px; } }
@media (max-width: 920px) { .ladder { flex-direction: column; align-items: stretch; } .ladder > .rung { max-width: none; } }
.rung {
  position: relative;
  background: var(--navy-800); border: 1px solid var(--navy-700);
  border-radius: var(--radius); padding: 34px 28px 28px; color: #fff;
}
.rung::before {
  counter-increment: rung; content: counter(rung);
  position: absolute; top: -18px; left: 26px;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--orange-500); color: #fff;
  display: grid; place-items: center; font-weight: 800;
  box-shadow: var(--shadow-cta);
}
.rung .model { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--orange-400); margin-bottom: 10px; }
.rung h3 { margin-bottom: 10px; }
.rung p { color: var(--white-70); font-size: .96rem; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
@media (max-width: 920px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .steps { grid-template-columns: 1fr; } }
.step { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.step::before {
  counter-increment: step; content: "Step " counter(step);
  display: inline-block; font-size: .78rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: var(--orange-500); margin-bottom: 12px;
}
.step h3 { font-size: 1.1rem; margin-bottom: 8px; }
.step p { color: var(--ink-600); font-size: .95rem; }

/* ---------- Feature split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
@media (max-width: 920px) { .split { grid-template-columns: 1fr; gap: 36px; } }
.split h2 { margin-bottom: 16px; }
.split .lead { margin-bottom: 20px; }
.checklist { list-style: none; margin: 22px 0; }
.checklist li { padding: 8px 0 8px 34px; position: relative; color: var(--ink-600); }
.on-dark .checklist li { color: var(--white-70); }
.checklist li::before {
  content: "✓"; position: absolute; left: 0; top: 6px;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--orange-050); color: var(--orange-500);
  font-weight: 800; font-size: .85rem; display: grid; place-items: center;
  border: 1px solid rgba(249,115,22,.25);
}
.on-dark .checklist li::before { background: rgba(249,115,22,.12); }

.visual-block {
  border-radius: var(--radius);
  min-height: 340px;
  background:
    radial-gradient(400px 260px at 70% 20%, rgba(249,115,22,.25), transparent 60%),
    linear-gradient(160deg, var(--navy-800), var(--navy-900));
  border: 1px solid var(--navy-700);
  display: grid; place-items: center;
  color: var(--white-40); font-weight: 600; font-size: .9rem; text-align: center; padding: 20px;
}

/* ---------- Testimonials ---------- */
.t-card { background: var(--navy-800); border: 1px solid var(--navy-700); border-radius: var(--radius); padding: 30px; color: #fff; display: flex; flex-direction: column; gap: 18px; }
.t-card .stars { color: var(--orange-400); letter-spacing: 3px; }
.t-card blockquote { font-size: 1rem; color: var(--white-70); flex: 1; }
.t-who { display: flex; align-items: center; gap: 12px; }
.t-avatar { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--orange-500), var(--orange-400)); display: grid; place-items: center; font-weight: 800; font-size: .9rem; }
.t-who .name { font-weight: 700; font-size: .95rem; }
.t-who .role { font-size: .82rem; color: var(--white-40); }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin: 0 auto; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--paper); margin-bottom: 12px; overflow: hidden; }
.faq summary { cursor: pointer; font-weight: 700; padding: 20px 24px; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 24px; color: var(--orange-500); font-size: 1.3rem; font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 24px 20px; color: var(--ink-600); }

/* ---------- CTA band ---------- */
.cta-band {
  background:
    radial-gradient(700px 380px at 85% 0%, rgba(249,115,22,.28), transparent 60%),
    var(--navy-900);
  color: #fff; text-align: center; padding: 90px 0;
}
.cta-band h2 { margin-bottom: 16px; }
.cta-band p { color: var(--white-70); max-width: 620px; margin: 0 auto 32px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background:
    radial-gradient(800px 400px at 85% -20%, rgba(249,115,22,.18), transparent 60%),
    var(--navy-900);
  color: #fff; padding: 90px 0 70px;
}
.page-hero .crumb { font-size: .85rem; color: var(--white-40); margin-bottom: 18px; }
.page-hero .crumb a { color: var(--white-70); }
.page-hero .crumb a:hover { color: var(--orange-400); }
.page-hero h1 { max-width: 800px; margin-bottom: 18px; }
.page-hero .lead { max-width: 640px; }
.page-hero .btn-row { margin-top: 30px; }

/* ---------- Next-step / segue panel ---------- */
.segue {
  border-left: 4px solid var(--orange-500);
  background: var(--orange-050);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 26px 30px;
}
.segue h3 { margin-bottom: 8px; }
.segue p { color: var(--ink-600); margin-bottom: 12px; }
.segue a { font-weight: 700; color: var(--orange-500); }

/* ---------- Case study ---------- */
.case { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-bottom: 24px; background: var(--paper); box-shadow: var(--shadow-card); }
@media (max-width: 920px) { .case { grid-template-columns: 1fr; } }
.case > div { padding: 30px; }
.case .label { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--orange-500); margin-bottom: 10px; }
.case .situation { background: var(--paper-2); }
.case .result { background: var(--navy-900); color: #fff; }
.case .result .big { font-size: 2rem; font-weight: 800; color: var(--orange-400); margin-bottom: 6px; letter-spacing: -0.02em; }
.case p { font-size: .95rem; color: var(--ink-600); }
.case .result p { color: var(--white-70); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: var(--white-70); padding: 70px 0 36px; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
@media (max-width: 920px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 16px; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 10px; }
.site-footer a:hover { color: var(--orange-400); }
.footer-entity { max-width: 340px; margin-top: 14px; color: var(--white-40); font-size: .88rem; }
.footer-legal { border-top: 1px solid rgba(255,255,255,.08); padding-top: 28px; font-size: .82rem; color: var(--white-40); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

/* ---------- Utility ---------- */
.mt-1 { margin-top: 16px; } .mt-2 { margin-top: 32px; } .mt-3 { margin-top: 56px; }
.center { text-align: center; }

/* ---------- Health & Beauty slider (replaces visual-block placeholder) ---------- */
.hb-slider {
  position: relative; display: block; border-radius: var(--radius);
  min-height: 340px; overflow: hidden; border: 1px solid var(--navy-700);
  text-decoration: none; box-shadow: var(--shadow-card);
}
.hb-track { position: absolute; inset: 0; }
.hb-slide {
  position: absolute; inset: 0; margin: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity .8s ease; display: flex; align-items: flex-end;
}
.hb-slide.is-active { opacity: 1; }
.hb-slide::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6,13,26,0) 40%, rgba(6,13,26,.78) 100%),
              radial-gradient(400px 260px at 70% 20%, rgba(249,115,22,.22), transparent 60%);
}
.hb-slide figcaption {
  position: relative; z-index: 1; color: #fff; font-weight: 600;
  padding: 20px 24px; font-size: 1.05rem; letter-spacing: .2px;
}
.hb-dots { position: absolute; bottom: 16px; right: 18px; z-index: 2; display: flex; gap: 8px; }
.hb-dots i {
  width: 8px; height: 8px; border-radius: 50%; background: var(--white-40);
  transition: background .3s ease, transform .3s ease;
}
.hb-dots i { cursor: pointer; }
.hb-dots i.is-active { background: var(--orange-500); transform: scale(1.25); }

/* Book-a-demo pill (always visible, links to demo) */
.hb-cta {
  position: absolute; top: 16px; left: 18px; z-index: 3;
  background: var(--orange-500); color: #fff; font-size: .8rem; font-weight: 600;
  padding: 6px 12px; border-radius: 999px; text-decoration: none;
  transition: background .2s ease, transform .2s ease;
}
.hb-cta:hover { background: var(--orange-400); transform: translateY(-1px); }

/* Prev / next arrows */
.hb-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--white-40); background: rgba(6,13,26,.55);
  color: #fff; font-size: 1.5rem; line-height: 1; cursor: pointer;
  display: grid; place-items: center; padding: 0;
  transition: background .2s ease, border-color .2s ease;
}
.hb-arrow:hover { background: var(--orange-500); border-color: var(--orange-500); }
.hb-prev { left: 14px; }
.hb-next { right: 14px; }

/* Single image in a split layout (solution pages) */
.split-media { margin: 0; }
.split-img { width: 100%; height: auto; border-radius: var(--radius); display: block; }

/* Contact form (book-a-demo) */
.contact-form { max-width: 720px; margin: 0 auto; }
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px){ .cf-row { grid-template-columns: 1fr; } }
.cf-field { display: flex; flex-direction: column; margin-bottom: 18px; }
.cf-field label { font-weight: 600; margin-bottom: 6px; font-size: .92rem; }
.cf-field input, .cf-field textarea {
  padding: 12px 14px; border: 1px solid var(--line, #e5e7eb); border-radius: 10px;
  font-family: inherit; font-size: 15px; background: #fff;
}
.cf-field input:focus, .cf-field textarea:focus { outline: 2px solid var(--orange-400, #fb923c); border-color: transparent; }
.cf-field .field-error { border-color: #e4572e; background: #fdecea; }
.cf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { max-width: 720px; margin: 0 auto 20px; padding: 14px 18px; border-radius: 10px; font-weight: 500; }
.form-note.ok { background: #e6f7ec; color: #127a33; }
.form-note.err { background: #fdecea; color: #b3261e; }
.form-note a { color: inherit; text-decoration: underline; }

/* Contact form: subject select + turnstile spacing */
.cf-field select {
  padding: 12px 14px; border: 1px solid var(--line, #e5e7eb); border-radius: 10px;
  font-family: inherit; font-size: 15px; background: #fff;
}
.cf-field select:focus { outline: 2px solid var(--orange-400, #fb923c); border-color: transparent; }
.cf-turnstile { margin: 4px 0 20px; }
.cf-hint { font-weight: 400; color: var(--muted, #6b7280); font-size: .85rem; }

/* Found Revenue additions */
.ladder.ladder-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 920px) { .ladder.ladder-3 { grid-template-columns: 1fr; } }
.card .tier-name { display: block; font-size: .85rem; font-weight: 700; color: var(--orange-500); margin-bottom: 8px; }
.trust-line { font-weight: 600; margin-top: 18px; }
.guarantee { border-left: 4px solid var(--orange-500); padding: 18px 22px; background: rgba(249,115,22,.08); border-radius: 10px; margin-top: 24px; }
.guarantee h3 { margin-bottom: 6px; }
.split.top { align-items: start; }
.nav-cta { white-space: nowrap; }
.section .lead a { color: var(--orange-500); text-decoration: underline; text-underline-offset: 3px; }
.who-for { margin-top: 56px; padding-top: 48px; border-top: 1px solid var(--line); }
.who-for h3 { margin-top: 8px; }
.who-for > .lead { max-width: 760px; margin-top: 12px; }
.who-for .grid-2 { margin: 28px 0 8px; }
.who-for > .lead + .lead { margin-top: 10px; }
.checklist.not-yet li::before { content: "–"; background: var(--line); color: var(--ink-600); }
