/* ============================================================
   REAL CEO — Real Estate Management Software
   Corporate theme · Deep navy / corporate blue / slate / white
   Full-width layout · Pure CSS3 · no external libraries · mobile-first
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  /* corporate blue scale */
  --brand-50:  #eff6ff;
  --brand-100: #dbeafe;
  --brand-200: #bfdbfe;
  --brand-300: #93c5fd;
  --brand-400: #60a5fa;
  --brand-500: #3b82f6;
  --brand-600: #2563eb;
  --brand-700: #1d4ed8;
  --brand-800: #1e40af;
  --brand-900: #1e3a8a;

  /* structural navy (headers of navy sections, footer) */
  --navy-900: #0b1b34;
  --navy-800: #0f2747;
  --navy-700: #16345e;
  --navy-600: #1d4ed8;

  /* slate neutrals */
  --ink:    #0f172a;
  --ink-2:  #1e293b;
  --body:   #475569;
  --muted:  #64748b;
  --line:   #e2e8f0;
  --line-2: #cbd5e1;
  --grey-50:  #f8fafc;
  --grey-100: #f1f5f9;
  --white: #ffffff;

  /* legacy aliases (kept so any inherited markup stays on-brand) */
  --emerald:     #2563eb;
  --emerald-600: #1d4ed8;
  --emerald-700: #1e40af;
  --blue-500:    #3b82f6;

  --ring: rgba(37, 99, 235, 0.32);
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow: 0 14px 34px -16px rgba(15, 23, 42, 0.20);
  --shadow-lg: 0 34px 64px -26px rgba(15, 23, 42, 0.30);

  /* squarer, corporate radii */
  --radius: 10px;
  --radius-sm: 8px;
  --radius-lg: 16px;

  /* full-width container (fills ~90–95% of typical laptop/desktop viewports) */
  --maxw: 1760px;
  --gutter: clamp(20px, 4.5vw, 64px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body {
  font-family: var(--font);
  color: var(--body);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding-bottom: 72px; /* room for always-on conversion bar */
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--brand-700); text-decoration: none; }
a:hover { color: var(--brand-600); }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.18; font-weight: 800; letter-spacing: -0.02em; }
::selection { background: var(--brand-600); color: #fff; }

/* ---------- Layout (full-width) ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(54px, 7vw, 100px); }
.section--tight { padding-block: clamp(36px, 5vw, 60px); }
.section--grey { background: var(--grey-50); }
.section--navy { background: var(--navy-900); color: #c2d1e6; }
.section--navy h2, .section--navy h3 { color: #fff; }
.center { text-align: center; }
.narrow { max-width: 820px; margin-inline: auto; }

/* ---------- Typography ---------- */
.eyebrow {
  display: inline-block; font-size: 0.76rem; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--brand-700); margin-bottom: 14px;
}
.section--navy .eyebrow { color: var(--brand-300); }
h1 { font-size: clamp(2.1rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--body); }
.section--navy .lead { color: #b3c3da; }
p { margin-bottom: 1rem; }
.prose { max-width: 72ch; }
.prose p { margin-bottom: 1.1rem; }
/* justified body paragraphs across all pages */
.prose p, .ai-answer p { text-align: justify; -webkit-hyphens: auto; hyphens: auto; }
.prose h2 { margin: 2.2rem 0 1rem; }
.prose h3 { margin: 1.8rem 0 0.8rem; }
.prose ul { margin: 0 0 1.2rem; }
.prose ul li { position: relative; padding-left: 28px; margin-bottom: 10px; }
.prose ul li::before {
  content: ""; position: absolute; left: 4px; top: 9px; width: 9px; height: 9px;
  border-radius: 3px; background: var(--brand-600);
}
.text-emerald { color: var(--brand-700); }

/* ---------- Buttons (squarer / corporate) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 22px; border-radius: 8px; font-weight: 700; font-size: 0.97rem;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease), color .2s, border-color .2s;
  white-space: nowrap; line-height: 1;
}
.btn svg { width: 17px; height: 17px; }
.btn--primary { background: var(--brand-600); color: #fff; box-shadow: 0 10px 22px -10px rgba(37,99,235,.65); }
.btn--primary:hover { background: var(--brand-700); color: #fff; transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(37,99,235,.75); }
.btn--navy { background: var(--navy-800); color: #fff; }
.btn--navy:hover { background: var(--navy-700); color: #fff; transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line-2); }
.btn--ghost:hover { border-color: var(--brand-600); color: var(--brand-700); }
.btn--white { background: #fff; color: var(--brand-800); }
.btn--white:hover { background: var(--brand-50); color: var(--brand-900); transform: translateY(-2px); }
.btn--lg { padding: 16px 30px; font-size: 1.04rem; }
.btn--block { display: flex; width: 100%; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(140%) blur(10px); border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 18px; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.2rem; color: var(--ink); letter-spacing: -0.02em; }
.brand .logo {
  width: 38px; height: 38px; border-radius: 9px; flex: none; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--brand-800), var(--brand-500)); color: #fff; font-weight: 800; font-size: 1rem;
}
.brand small { display: block; font-size: 0.62rem; font-weight: 600; letter-spacing: 0.08em; color: var(--muted); text-transform: uppercase; }
.nav-spacer { flex: 1; }
.nav-menu { display: flex; align-items: center; }
.nav-menu ul { flex-wrap: nowrap; }
.nav-menu li { display: flex; align-items: center; }
.nav-menu li > a, .nav-menu li > button {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 15px; border-radius: 8px;
  font-size: 1.02rem; font-weight: 600; line-height: 1; color: var(--ink-2); white-space: nowrap;
}
.nav-menu li > button > svg { margin-top: 1px; }
.nav-menu li > a:hover, .nav-menu .dropdown:hover > button { background: var(--grey-100); color: var(--brand-700); }
.nav-cta { display: flex; align-items: center; gap: 10px; }

/* dropdown */
.dropdown { position: relative; }
.dropdown-menu {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 280px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 10px; opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: .2s var(--ease); display: grid; gap: 2px; max-height: 70vh; overflow: auto;
}
.dropdown:hover .dropdown-menu, .dropdown:focus-within .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu a { padding: 9px 12px; border-radius: 6px; font-size: 0.9rem; font-weight: 600; color: var(--ink-2); }
.dropdown-menu a:hover { background: var(--brand-50); color: var(--brand-700); }
.dropdown-grid { grid-template-columns: 1fr 1fr; min-width: 480px; }

/* burger */
.burger { display: none; width: 44px; height: 44px; border-radius: 8px; border: 1px solid var(--line-2); }
.burger span { display: block; width: 20px; height: 2px; background: var(--ink); margin: 4px auto; transition: .3s var(--ease); }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* mobile panel */
.mobile-nav {
  position: fixed; inset: 72px 0 0; background: #fff; z-index: 99; transform: translateX(100%);
  transition: transform .35s var(--ease); overflow-y: auto; padding: 18px var(--gutter) 40px;
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav details { border-bottom: 1px solid var(--line); }
.mobile-nav summary { padding: 15px 0; font-weight: 700; font-size: 1.05rem; color: var(--ink); cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav summary::after { content: "+"; font-size: 1.4rem; color: var(--muted); }
.mobile-nav details[open] summary::after { content: "–"; }
.mobile-nav .sub { padding: 0 0 14px; display: grid; gap: 4px; }
.mobile-nav .sub a { padding: 8px 10px; border-radius: 6px; font-size: 0.95rem; font-weight: 600; color: var(--body); }
.mobile-nav .sub a:hover { background: var(--brand-50); }
.mobile-nav .top-link { display: block; padding: 15px 0; font-weight: 700; font-size: 1.05rem; color: var(--ink); border-bottom: 1px solid var(--line); }
.mobile-nav .btn { margin-top: 22px; }

/* ---------- Hero ---------- */
.hero { position: relative; background:
    radial-gradient(900px 520px at 88% -10%, rgba(37,99,235,0.14), transparent 60%),
    radial-gradient(820px 520px at -5% 8%, rgba(30,64,175,0.10), transparent 55%),
    var(--white);
  padding-block: clamp(48px, 7vw, 92px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero .pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 100px;
  background: var(--brand-50); color: var(--brand-700); font-weight: 700; font-size: 0.82rem; margin-bottom: 18px;
  border: 1px solid var(--brand-100);
}
.hero .pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand-600); }
.hero h1 { margin-bottom: 18px; }
.hero h1 .hl { color: var(--brand-700); }
.hero-sub { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--body); max-width: 56ch; margin-bottom: 26px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 18px 26px; color: var(--muted); font-size: 0.9rem; font-weight: 600; }
.hero-trust span { display: inline-flex; align-items: center; gap: 7px; }
.hero-trust svg { width: 16px; height: 16px; color: var(--brand-600); }

/* ---------- Illustrations (real images) ---------- */
.img-ph {
  position: relative; border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #ffffff, var(--brand-50));
  overflow: hidden; box-shadow: var(--shadow); line-height: 0;
}
.img-ph.hero-ph { box-shadow: var(--shadow-lg); }
.img-ph .rc-illus { width: 100%; height: auto; display: block; }

/* ---------- AI answer block ---------- */
.ai-answer {
  border: 1px solid var(--line); border-left: 4px solid var(--brand-600); background: var(--grey-50);
  border-radius: var(--radius); padding: 22px 24px;
}
.ai-answer .tag { display: inline-flex; align-items: center; gap: 7px; font-size: 0.74rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brand-700); margin-bottom: 8px; }
.ai-answer p { margin-bottom: 0; color: var(--ink); font-size: 1.02rem; }

/* ---------- Grids / cards ---------- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--brand-200); }
.card .ic {
  width: 48px; height: 48px; border-radius: 10px; display: grid; place-items: center; margin-bottom: 16px;
  background: var(--brand-50); color: var(--brand-700); font-size: 1.4rem; border: 1px solid var(--brand-100);
}
.card h3 { margin-bottom: 8px; }
.card p { color: var(--body); margin-bottom: 0; font-size: 0.97rem; }

/* benefit list grid */
.benefits { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.benefit { display: flex; gap: 13px; align-items: flex-start; }
.benefit .tick { flex: none; width: 26px; height: 26px; border-radius: 7px; background: var(--brand-50); color: var(--brand-700); display: grid; place-items: center; font-weight: 800; border: 1px solid var(--brand-100); }
.benefit b { color: var(--ink); display: block; }
.benefit span { font-size: 0.94rem; }

/* use cases */
.usecase { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.usecase h3 { font-size: 1.15rem; margin-bottom: 8px; }
.usecase p { margin-bottom: 0; font-size: 0.95rem; }

/* ---------- Stats / trust strip ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat { text-align: center; padding: 22px 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.stat .n { font-size: clamp(1.8rem, 4vw, 2.5rem); font-weight: 800; color: var(--brand-700); letter-spacing: -0.03em; }
.stat .l { font-size: 0.88rem; color: var(--muted); margin-top: 4px; }

/* ---------- Dark full-width counter ---------- */
.counter-section {
  position: relative; overflow: hidden; color: #fff;
  padding-block: clamp(40px, 6vw, 76px);
  background:
    radial-gradient(720px 320px at 12% -20%, rgba(37,99,235,0.30), transparent 60%),
    radial-gradient(720px 320px at 88% 120%, rgba(59,130,246,0.22), transparent 60%),
    linear-gradient(135deg, #0a1830 0%, #0f2747 55%, #112d54 100%);
  border-block: 1px solid rgba(255,255,255,0.08);
}
.counter-section .counter-glow {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, transparent, rgba(96,165,250,0.6), transparent) top/100% 1px no-repeat,
    radial-gradient(60% 100% at 50% 0%, rgba(59,130,246,0.10), transparent 70%);
}
.counter-section .container { position: relative; }
.counter-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.counter-item { text-align: center; padding: 6px 24px; position: relative; }
.counter-item + .counter-item::before {
  content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 1px; height: 58px; background: linear-gradient(transparent, rgba(255,255,255,0.22), transparent);
}
.counter-item .c-num {
  font-size: clamp(2.3rem, 5.2vw, 3.6rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1;
  background: linear-gradient(120deg, #ffffff 0%, #bfdbfe 55%, #60a5fa 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.counter-item .c-label {
  margin-top: 12px; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: #9fb3d4;
}
.counter-cta { text-align: center; margin-top: clamp(28px, 4vw, 44px); }
.counter-cta .btn--white { box-shadow: 0 16px 36px -16px rgba(0,0,0,0.6); }

/* ---------- Logos / markets ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { padding: 8px 16px; border-radius: 100px; background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: 0.92rem; color: var(--ink); }

/* ---------- Pricing ---------- */
.offer-band {
  background: linear-gradient(135deg, var(--navy-900), var(--brand-800)); color: #fff; border-radius: var(--radius-lg);
  padding: clamp(28px, 5vw, 52px); text-align: center; position: relative; overflow: hidden;
}
.offer-band::after { content: ""; position: absolute; right: -60px; top: -60px; width: 240px; height: 240px; border-radius: 50%; background: rgba(59,130,246,0.35); filter: blur(20px); }
.offer-band h2 { color: #fff; position: relative; }
.offer-band .price { font-size: clamp(2.4rem, 7vw, 4rem); font-weight: 800; letter-spacing: -0.03em; color: #fff; position: relative; }
.offer-band .price small { font-size: 1rem; font-weight: 600; color: #bcd0ee; }
.offer-band p { color: #cdddf4; position: relative; }

.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: stretch; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; }
.plan:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--brand-200); }
.plan.featured { border-color: var(--brand-600); box-shadow: var(--shadow); position: relative; }
.plan.featured::before { content: "Most popular"; position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--brand-600); color: #fff; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; padding: 5px 12px; border-radius: 100px; }
.plan h3 { font-size: 1.25rem; margin-bottom: 6px; }
.plan .who { color: var(--muted); font-size: 0.9rem; margin-bottom: 16px; min-height: 40px; }
.plan .amt { font-size: 1.6rem; font-weight: 800; color: var(--ink); margin-bottom: 14px; }
.plan .amt small { font-size: 0.85rem; font-weight: 600; color: var(--muted); }
.plan ul { display: grid; gap: 10px; margin-bottom: 22px; }
.plan li { position: relative; padding-left: 26px; font-size: 0.93rem; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--brand-600); font-weight: 800; }
.plan .btn { margin-top: auto; }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--brand-800), var(--brand-600)); color: #fff;
  border-radius: var(--radius-lg); padding: clamp(30px, 5vw, 56px); text-align: center; position: relative; overflow: hidden;
}
.cta-banner::after { content: ""; position: absolute; left: -50px; bottom: -70px; width: 260px; height: 260px; border-radius: 50%; background: rgba(255,255,255,0.10); }
.cta-banner h2 { color: #fff; position: relative; }
.cta-banner p { color: rgba(255,255,255,0.9); max-width: 56ch; margin-inline: auto; position: relative; }
.cta-banner .btn--white { margin-top: 8px; position: relative; }

/* mid-page inline CTA */
.cta-inline { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; background: var(--navy-900); color: #fff; border-radius: var(--radius); padding: 26px 32px; }
.cta-inline h3 { color: #fff; margin-bottom: 4px; }
.cta-inline p { color: #b3c3da; margin-bottom: 0; font-size: 0.95rem; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 4px; font-weight: 700; color: var(--ink); font-size: 1.05rem; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 30px; height: 30px; border: 1px solid var(--line-2); border-radius: 8px; display: grid; place-items: center; font-size: 1.2rem; color: var(--muted); transition: .2s var(--ease); }
.faq details[open] summary::after { content: "−"; background: var(--brand-600); color: #fff; border-color: var(--brand-600); }
.faq details[open] summary { color: var(--brand-700); }
.faq .answer { padding: 0 4px 22px; color: var(--body); }
.faq .answer p:last-child { margin-bottom: 0; }

/* ---------- Forms ---------- */
.signup-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: clamp(22px, 3vw, 34px); }
.signup-card .head { margin-bottom: 18px; }
.signup-card .head h3 { font-size: 1.4rem; }
.signup-card .head .price-mini { display: inline-block; margin-top: 6px; font-weight: 700; color: var(--brand-700); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 0.85rem; font-weight: 700; color: var(--ink); }
.field input, .field select {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line-2); border-radius: var(--radius-sm);
  font-size: 0.97rem; color: var(--ink); background: #fff; font-family: inherit; transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--brand-600); box-shadow: 0 0 0 3px var(--ring); }
.field .err { font-size: 0.78rem; color: #dc2626; display: none; }
.field.invalid input, .field.invalid select { border-color: #dc2626; }
.field.invalid .err { display: block; }
.form-note { font-size: 0.82rem; color: var(--muted); margin-top: 12px; text-align: center; }
/* regular-size (content-width) submit button, not full-length */
.signup-form .submit-row { align-items: center; }
.form-success { display: none; margin-top: 14px; padding: 14px 16px; border-radius: var(--radius-sm); background: var(--brand-50); border: 1px solid var(--brand-200); color: var(--brand-800); font-weight: 600; }
.form-success.show { display: block; }

/* ---------- Breadcrumb ---------- */
.crumbs { font-size: 0.85rem; color: var(--muted); padding-block: 14px; }
.crumbs a { color: var(--muted); font-weight: 600; }
.crumbs a:hover { color: var(--brand-700); }
.crumbs span { color: var(--ink); }

/* ---------- Related links ---------- */
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.related-grid a { display: block; padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); font-weight: 600; font-size: 0.93rem; color: var(--ink); transition: .2s var(--ease); }
.related-grid a:hover { border-color: var(--brand-600); color: var(--brand-700); transform: translateY(-2px); }

/* ---------- All modules grid ---------- */
.modules-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.module-card {
  display: flex; align-items: flex-start; gap: 12px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 18px; transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s;
}
.module-card:hover { border-color: var(--brand-600); box-shadow: var(--shadow); transform: translateY(-3px); }
.module-card .m-ic {
  flex: none; width: 44px; height: 44px; border-radius: 11px; display: grid; place-items: center;
  font-size: 1.35rem; line-height: 1; background: var(--brand-50); border: 1px solid var(--brand-100);
}
.module-card:hover .m-ic { background: var(--brand-100); }
.module-card .m-body { display: flex; flex-direction: column; gap: 3px; }
.module-card .m-body b { color: var(--ink); font-size: 0.98rem; }
.module-card .m-body span { color: var(--body); font-size: 0.86rem; line-height: 1.5; }
.module-card .m-arrow { margin-left: auto; color: var(--brand-600); font-weight: 800; flex: none; }

/* ---------- Always-on conversion bar ---------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: #fff; border-top: 1px solid var(--line);
  padding: 10px var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 12px;
  box-shadow: 0 -8px 24px -16px rgba(15,23,42,0.4); transform: translateY(110%); transition: transform .3s var(--ease);
}
.sticky-cta.show { transform: translateY(0); }
.sticky-cta .label { font-size: 0.9rem; font-weight: 700; color: var(--ink); line-height: 1.3; }
.sticky-cta .label small { display: block; color: var(--muted); font-weight: 600; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-900); color: #8ea3c2; padding-block: 56px 28px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; gap: 34px; }
.footer h4 { color: #fff; font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 16px; font-weight: 700; }
.footer a { color: #8ea3c2; font-size: 0.92rem; display: block; padding: 5px 0; }
.footer a:hover { color: var(--brand-300); }
.footer .brand { color: #fff; }
.footer .brand .logo { background: linear-gradient(135deg, var(--brand-700), var(--brand-400)); }
.footer .blurb { font-size: 0.92rem; margin: 14px 0; max-width: 40ch; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.84rem; color: #6f819b; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Sales sections ---------- */
.hero-badges { gap: 12px 22px; }

/* CTA actions (two buttons) */
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 8px; }
.btn--ghostlight { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.45); }
.btn--ghostlight:hover { background: rgba(255,255,255,0.12); color: #fff; border-color: #fff; transform: translateY(-2px); }

/* Sales impact grid */
.impact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.impact-card {
  display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 18px 20px; transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s;
}
.impact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--brand-200); }
.impact-card .ic {
  flex: none; width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center;
  font-size: 1.3rem; line-height: 1; background: var(--brand-50); border: 1px solid var(--brand-100);
}
.impact-card b { color: var(--ink); font-size: 0.98rem; }

/* Sales process flow */
.sales-flow { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; }
.sales-flow .flow-step {
  display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.16); border-radius: 100px; padding: 11px 20px; color: #fff; font-weight: 700;
}
.sales-flow .flow-step .n {
  flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--brand-500), var(--brand-700)); color: #fff; font-size: 0.8rem; font-weight: 800;
}
.sales-flow .flow-arr { color: var(--brand-300); font-size: 1.2rem; font-weight: 800; }

/* Sales engines */
.engine-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.engine-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.engine-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--brand-200); }
.engine-card .ic {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 16px;
  font-size: 1.45rem; line-height: 1; background: var(--brand-50); border: 1px solid var(--brand-100);
}
.engine-card h3 { margin-bottom: 12px; }
.engine-card ul { display: grid; gap: 9px; }
.engine-card li { position: relative; padding-left: 24px; font-size: 0.93rem; color: var(--body); }
.engine-card li::before { content: "✓"; position: absolute; left: 0; color: var(--brand-600); font-weight: 800; }

/* Manager deal room alerts (navy) */
.alert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.alert-card {
  display: flex; flex-direction: column; gap: 10px; background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.14); border-left: 3px solid var(--brand-500);
  border-radius: var(--radius); padding: 18px 20px; color: #fff;
}
.alert-card .ic { font-size: 1.5rem; line-height: 1; }
.alert-card b { font-size: 0.98rem; }

/* Revenue dashboard tiles */
.rev-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 4px; }
.rev-tile {
  display: flex; align-items: center; gap: 11px; background: var(--grey-50); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 13px 15px;
}
.rev-tile .dot { flex: none; width: 10px; height: 10px; border-radius: 3px; background: linear-gradient(135deg, var(--brand-600), var(--brand-400)); }
.rev-tile b { color: var(--ink); font-size: 0.9rem; }

/* ROI calculator */
.roi { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.roi-inputs { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(22px,3vw,32px); display: grid; gap: 16px; align-content: start; }
.roi-results {
  background: linear-gradient(135deg, #0a1830, #0f2747); color: #fff; border-radius: var(--radius-lg);
  padding: clamp(22px,3vw,32px); display: flex; flex-direction: column; gap: 12px;
}
.roi-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.12); }
.roi-row span { color: #aebfd8; font-weight: 600; }
.roi-row b { font-size: 1.3rem; color: #fff; }
.roi-row.highlight b { color: var(--brand-300); }
.roi-big { margin-top: auto; padding: 18px 0 16px; }
.roi-big span { display: block; color: #aebfd8; font-weight: 600; font-size: 0.9rem; margin-bottom: 4px; }
.roi-big b { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; letter-spacing: -0.03em;
  background: linear-gradient(120deg, #fff, #bfdbfe 55%, #60a5fa); -webkit-background-clip: text; background-clip: text; color: transparent; }
.roi-results .btn { margin-top: 6px; }

/* sales proof 3-col stats */
.stats.stats-3 { grid-template-columns: repeat(3, 1fr); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .nav-menu, .nav-cta .btn--ghost { display: none; }
  .burger { display: block; }
  .impact-grid { grid-template-columns: repeat(2, 1fr); }
  .engine-grid { grid-template-columns: repeat(2, 1fr); }
  .alert-grid { grid-template-columns: repeat(2, 1fr); }
  .roi { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .modules-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .nav-menu, .nav-cta .btn--ghost { display: none; }
  .burger { display: block; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .counter-grid { grid-template-columns: repeat(2, 1fr); gap: 30px 0; }
  .counter-item + .counter-item::before { display: none; }
}
@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .benefits { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .plans { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .modules-grid { grid-template-columns: 1fr; }
  .impact-grid, .engine-grid, .alert-grid { grid-template-columns: 1fr; }
  .rev-grid { grid-template-columns: 1fr; }
  .stats.stats-3 { grid-template-columns: 1fr 1fr; }
  .cta-inline { flex-direction: column; align-items: flex-start; }
  .sticky-cta .label small { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
