/* Bilioners Agente — original stylesheet. Palette sampled from public DocsBot brand colors. */
:root {
  --cyan-50: #ecfeff;
  --cyan-100: #cffafe;
  --cyan-200: #a5f3fc;
  --cyan-300: #67e8f9;
  --cyan-400: #22d3ee;
  --cyan-500: #06b6d4;
  --cyan-600: #0891b2;
  --cyan-700: #0e7490;
  --cyan-800: #155e75;
  --cyan-900: #164e63;
  --cyan-950: #083344;
  --teal-400: #2dd4bf;
  --teal-500: #14b8a6;
  --teal-600: #0d9488;
  --lime: #d1f470;
  --ink: #111827;
  --ink-2: #1f2937;
  --muted: #4b5563;
  --muted-2: #374151;
  --line: #e5e7eb;
  --line-2: #d1d5db;
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --bg-soft: #f3f4f6;
  --shadow: 0 18px 50px -20px rgba(8, 145, 178, 0.28);
  --ease: cubic-bezier(0.4, 0, 0.6, 1);
  --ease-out: cubic-bezier(0.25, 0.1, 0.3, 1);
  --nav-h: 64px;
  --radius: 16px;
  --radius-sm: 12px;
  --pill: 999px;
  --content: 1120px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica Neue, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-size: 17px;
  line-height: 1.6;
  letter-spacing: -0.011em;
  min-height: 100%;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--cyan-800); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--cyan-600); outline-offset: 2px; }
.skip-link {
  position: absolute; left: 12px; top: -40px; z-index: 100;
  background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 8px;
}
.skip-link:focus { top: 12px; }
.wrap { width: min(var(--content), 92%); margin: 0 auto; }
.wrap-wide { width: min(1200px, 92%); margin: 0 auto; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50; height: var(--nav-h);
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(209, 213, 219, 0.7);
}
.nav-inner {
  height: 100%; width: min(1200px, 94%); margin: 0 auto;
  display: flex; align-items: center; gap: 8px;
}
.wordmark {
  display: flex; align-items: baseline; gap: 8px;
  font-weight: 700; color: var(--ink); text-decoration: none;
  letter-spacing: -0.03em; margin-right: 12px; white-space: nowrap;
}
.wordmark:hover { text-decoration: none; color: var(--cyan-800); }
.wordmark .ba { color: var(--cyan-700); }
.nav-links { display: flex; align-items: center; gap: 2px; flex: 1; }
.nav-links a, .nav-drop > button {
  color: var(--ink-2); font-size: 14px; font-weight: 500;
  background: none; border: 0; padding: 8px 10px; border-radius: 8px;
  cursor: pointer; font-family: inherit; line-height: 1.2;
}
.nav-links a:hover, .nav-drop > button:hover { background: var(--cyan-50); text-decoration: none; color: var(--cyan-800); }
.nav-drop { position: relative; }
.nav-drop > button { display: flex; align-items: center; gap: 4px; }
.nav-drop > button .chev { font-size: 10px; opacity: 0.7; }
.dropdown {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 240px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  box-shadow: 0 16px 40px rgba(17, 24, 39, 0.12);
  padding: 8px; display: none; z-index: 60;
}
.nav-drop.open > .dropdown, .nav-drop:hover > .dropdown { display: block; }
.dropdown a {
  display: block; padding: 10px 12px; border-radius: 8px;
  color: var(--ink-2); font-size: 14px; font-weight: 500;
}
.dropdown a:hover { background: var(--cyan-50); color: var(--cyan-800); text-decoration: none; }
.nav-cta { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; border-radius: var(--pill); font-weight: 600; font-size: 15px;
  padding: 11px 20px; min-height: 44px; border: 1px solid transparent;
  cursor: pointer; font-family: inherit; line-height: 1; text-decoration: none;
  transition: background 0.32s var(--ease), color 0.32s var(--ease), transform 0.24s var(--ease), box-shadow 0.32s var(--ease);
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--cyan-700); color: #fff; }
.btn-primary:hover { background: var(--cyan-800); color: #fff; }
.btn-secondary { background: #fff; color: var(--cyan-800); border-color: var(--line-2); }
.btn-secondary:hover { background: var(--cyan-50); color: var(--cyan-900); border-color: var(--cyan-300); }
.btn-lime { background: var(--lime); color: var(--ink); }
.btn-lime:hover { background: #c3e85c; color: var(--ink); }
.btn-ghost { background: transparent; color: var(--cyan-800); }
.menu-toggle {
  display: none; margin-left: auto; width: 44px; height: 44px;
  border: 0; background: none; cursor: pointer; border-radius: 8px;
}
.menu-toggle span { display: block; height: 2px; background: var(--ink); margin: 6px 10px; }

/* Hero + motion backgrounds */
.hero {
  position: relative; overflow: hidden;
  padding: 72px 0 56px;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(103, 232, 249, 0.42), transparent 58%),
    radial-gradient(ellipse 45% 40% at 100% 0%, rgba(45, 212, 191, 0.22), transparent 55%),
    radial-gradient(ellipse 40% 45% at 0% 20%, rgba(6, 182, 212, 0.18), transparent 55%),
    linear-gradient(180deg, #ecfeff 0%, #ffffff 72%);
}
.orb {
  position: absolute; border-radius: 50%; pointer-events: none; filter: blur(40px);
  animation: drift 18s var(--ease-out) infinite alternate;
}
.orb-a { width: 420px; height: 420px; background: rgba(103, 232, 249, 0.35); top: -80px; right: 8%; }
.orb-b { width: 320px; height: 320px; background: rgba(20, 184, 166, 0.22); bottom: -60px; left: 5%; animation-delay: -6s; }
@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(24px, 18px, 0) scale(1.08); }
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--cyan-800); background: rgba(255,255,255,0.7);
  border: 1px solid var(--cyan-200); border-radius: var(--pill);
  padding: 6px 12px; margin-bottom: 18px;
}
.hero h1, h1.page-title {
  font-size: 56px; line-height: 1.07; letter-spacing: -0.03em;
  margin: 0 0 16px; font-weight: 700; color: var(--ink);
}
.lead { font-size: 20px; line-height: 1.5; color: var(--muted); max-width: 640px; margin: 0 0 28px; }
.hero-actions, .cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.fine { font-size: 14px; color: var(--muted); margin-top: 16px; }
.phone-placeholder { font-weight: 600; color: var(--cyan-800); }

/* Sections */
section { position: relative; }
.section { padding: 88px 0; }
.section-alt {
  background:
    radial-gradient(ellipse 70% 50% at 0% 0%, rgba(165, 243, 252, 0.35), transparent 55%),
    var(--bg-alt);
}
.section-dark {
  background:
    radial-gradient(ellipse 60% 50% at 80% 0%, rgba(14, 116, 144, 0.45), transparent 55%),
    linear-gradient(180deg, #083344, #111827);
  color: #f5f5f7;
}
.section-dark h2, .section-dark h3 { color: #f8fafc; }
.section-dark p, .section-dark .sub { color: #cbd5e1; }
.section-dark a { color: var(--cyan-300); }
.kicker { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--cyan-700); margin: 0 0 10px; }
.section-dark .kicker { color: var(--cyan-300); }
h2 { font-size: 40px; line-height: 1.15; letter-spacing: -0.025em; margin: 0 0 12px; }
.sub { font-size: 18px; color: var(--muted); max-width: 640px; margin: 0 0 36px; }
h3 { font-size: 22px; letter-spacing: -0.02em; margin: 0 0 8px; }
p { margin: 0 0 1em; }
.center { text-align: center; }
.center .sub, .center .lead { margin-left: auto; margin-right: auto; }

/* Cards / grids */
.grid-3, .grid-2, .grid-4 { display: grid; gap: 16px; }
.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: 24px; transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), border-color 0.3s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--cyan-200); }
.card p:last-child { margin-bottom: 0; }
.card .icon {
  width: 40px; height: 40px; border-radius: 10px; margin-bottom: 14px;
  background: linear-gradient(135deg, var(--cyan-50), var(--cyan-200));
  color: var(--cyan-800); display: grid; place-items: center; font-weight: 700;
}
.steps { counter-reset: step; display: grid; gap: 16px; grid-template-columns: repeat(3, 1fr); }
.step { position: relative; }
.step .num {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--cyan-700); color: #fff; display: grid; place-items: center;
  font-weight: 700; margin-bottom: 12px; font-size: 14px;
}

/* Pricing */
.price-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 20px; align-items: stretch; }
.price-card.featured {
  background:
    linear-gradient(180deg, rgba(236, 254, 255, 0.9), #fff 40%),
    #fff;
  border: 2px solid var(--cyan-600);
  box-shadow: var(--shadow);
  padding: 32px;
}
.price-amt { font-size: 48px; font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.price-amt span { font-size: 18px; font-weight: 600; color: var(--muted); }
.price-list { list-style: none; padding: 0; margin: 20px 0 28px; }
.price-list li { padding: 8px 0 8px 28px; position: relative; border-bottom: 1px solid var(--line); }
.price-list li::before { content: "✓"; position: absolute; left: 0; color: var(--teal-600); font-weight: 700; }
.badge {
  display: inline-block; background: var(--cyan-700); color: #fff;
  font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  padding: 4px 10px; border-radius: var(--pill); margin-bottom: 12px;
}

/* Demo slot */
.demo-frame {
  border: 1px solid var(--line); border-radius: 20px; overflow: hidden;
  background: #fff; box-shadow: var(--shadow); min-height: 480px;
  display: flex; flex-direction: column;
}
.demo-frame header {
  background: linear-gradient(90deg, var(--cyan-800), var(--teal-600));
  color: #fff; padding: 14px 18px; font-weight: 600; font-size: 14px;
}
.demo-slot {
  flex: 1; min-height: 420px; display: grid; place-items: center;
  padding: 32px; text-align: center; background:
    linear-gradient(180deg, var(--cyan-50), #fff);
  color: var(--muted);
  border: 2px dashed var(--cyan-200); margin: 16px; border-radius: 12px;
}
.demo-slot strong { color: var(--ink); display: block; margin-bottom: 8px; }
.demo-layout { display: grid; grid-template-columns: 1fr 1.1fr; gap: 32px; align-items: start; }

/* FAQ */
.faq details {
  border-bottom: 1px solid var(--line); padding: 16px 0;
}
.faq summary {
  cursor: pointer; font-weight: 600; list-style: none; display: flex;
  justify-content: space-between; gap: 12px; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--cyan-700); font-size: 22px; font-weight: 500; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 12px 0 0; color: var(--muted); }

/* Quote placeholders */
.quote {
  background: var(--bg-alt); border-radius: var(--radius); padding: 28px;
  border-left: 4px solid var(--cyan-500);
  color: var(--muted-2); font-style: italic;
}
.quote cite { display: block; margin-top: 12px; font-style: normal; font-size: 14px; color: var(--muted); font-weight: 600; }

/* Forms */
form { display: grid; gap: 14px; }
label { font-size: 14px; font-weight: 600; color: var(--ink-2); }
input, textarea, select {
  width: 100%; border: 1px solid var(--line-2); border-radius: 10px;
  padding: 12px 14px; font: inherit; background: #fff; color: var(--ink);
}
input:focus, textarea:focus { border-color: var(--cyan-600); outline: 2px solid rgba(8,145,178,.25); }
.form-note { font-size: 13px; color: var(--muted); }

/* Footer */
footer.site {
  background: #0f172a; color: #94a3b8; padding: 64px 0 28px; font-size: 14px;
}
footer.site a { color: #cbd5e1; }
footer.site a:hover { color: #fff; }
footer.site h2, footer.site h3 { color: #f8fafc; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; margin: 0 0 14px; }
.foot-grid { display: grid; grid-template-columns: 1.3fr repeat(4, 1fr); gap: 28px 20px; }
.foot-grid ul, .industries { list-style: none; padding: 0; margin: 0; }
.foot-grid li { margin: 0 0 8px; }
.foot-grid a { display: inline-block; padding-block: 4px; min-height: 24px; }
.legal-line { border-top: 1px solid rgba(148,163,184,0.2); margin-top: 40px; padding-top: 20px; font-size: 12px; line-height: 1.6; }
.brand-mark { font-size: 20px; font-weight: 700; color: #fff; letter-spacing: -0.03em; margin-bottom: 10px; }
.brand-mark span { color: var(--cyan-300); }

/* Page hero (inner pages) */
.page-hero { padding: 56px 0 24px; background: linear-gradient(180deg, #ecfeff, #fff 80%); }
.crumb { font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.prose { max-width: 760px; }
.prose h2 { font-size: 28px; margin-top: 2em; }
.notice {
  background: var(--cyan-50); border: 1px solid var(--cyan-200);
  border-radius: 12px; padding: 16px 18px; color: var(--cyan-950); margin: 16px 0 24px;
}

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

/* Mobile bar */
.mobile-bar { display: none; }

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: repeat(2, 1fr); }
  .hero h1, h1.page-title { font-size: 44px; }
  .demo-layout, .price-grid { grid-template-columns: 1fr; }
}
@media (max-width: 833px) {
  .nav-links, .nav-cta { display: none; }
  .nav.open .nav-links {
    display: flex; flex-direction: column; align-items: stretch;
    position: absolute; top: var(--nav-h); left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 12px 16px 20px; box-shadow: 0 16px 30px rgba(0,0,0,.08);
  }
  .nav.open .nav-cta { display: flex; flex-direction: column; position: static; margin: 12px 16px 16px; }
  .nav.open .dropdown { position: static; box-shadow: none; border: 0; display: none; padding-left: 8px; }
  .nav.open .nav-drop.open > .dropdown { display: block; }
  .menu-toggle { display: inline-block; }
  .hero h1, h1.page-title { font-size: 34px; }
  h2 { font-size: 28px; }
  .grid-3, .grid-2, .steps, .price-grid { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .hero { padding: 48px 0 40px; }
  .mobile-bar {
    display: flex; gap: 8px; position: fixed; left: 10px; right: 10px;
    bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 40;
    background: rgba(15, 23, 42, 0.88); backdrop-filter: blur(16px);
    border-radius: 18px; padding: 8px; align-items: center;
  }
  .mobile-bar .btn { flex: 1; }
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .orb { display: none; }
}

/* —— Layout additions: splits, chips, mockups —— */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.split.reverse { direction: rtl; }
.split.reverse > * { direction: ltr; }
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0 0; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--cyan-200);
  color: var(--cyan-900); font-size: 14px; font-weight: 600;
  padding: 10px 14px; border-radius: var(--pill);
  box-shadow: 0 1px 0 rgba(8,145,178,0.06);
}
.source-grid, .icon-grid { display: grid; gap: 14px; }
.source-grid { grid-template-columns: repeat(4, 1fr); }
.icon-grid { grid-template-columns: repeat(3, 1fr); }
.source-card, .benefit {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 18px 16px; text-align: left;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), border-color 0.3s;
}
.source-card:hover, .benefit:hover {
  transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--cyan-200);
}
.source-card h3, .benefit h3 { font-size: 16px; margin: 8px 0 4px; }
.source-card p, .benefit p { font-size: 14px; color: var(--muted); margin: 0; }
.ico {
  width: 40px; height: 40px; border-radius: 10px;
  background: linear-gradient(135deg, var(--cyan-50), var(--cyan-200));
  color: var(--cyan-800); display: grid; place-items: center;
}
.ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.steps-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

/* Device / product mockups */
.mock {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.mock-bar {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 14px;
  background: linear-gradient(90deg, var(--cyan-800), var(--teal-600));
  color: #fff; font-size: 12px; font-weight: 600;
}
.mock-dots { display: flex; gap: 5px; margin-right: 8px; }
.mock-dots i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.55); display: block; }
.mock-body { padding: 16px; background: linear-gradient(180deg, var(--cyan-50), #fff 40%); min-height: 280px; }
.bubble { max-width: 82%; padding: 10px 12px; border-radius: 14px; font-size: 14px; line-height: 1.45; margin: 0 0 10px; }
.bubble.user { background: #e2e8f0; color: var(--ink); margin-left: auto; border-bottom-right-radius: 4px; }
.bubble.agent { background: #fff; border: 1px solid var(--cyan-200); color: var(--ink-2); border-bottom-left-radius: 4px; }
.bubble .who { display: block; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--cyan-700); margin-bottom: 2px; }
.bubble.user .who { color: var(--muted); text-align: right; }
.mock-input {
  display: flex; gap: 8px; padding: 12px 14px; border-top: 1px solid var(--line);
  background: #fff;
}
.mock-input span {
  flex: 1; border: 1px solid var(--line-2); border-radius: 999px;
  padding: 8px 14px; font-size: 13px; color: var(--muted);
}
.mock-input b {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--cyan-700); color: #fff;
  display: grid; place-items: center; font-size: 16px;
}

/* Phone mock */
.phone-wrap { display: flex; justify-content: center; }
.mock-phone {
  width: 280px; border-radius: 32px; border: 10px solid #0f172a;
  box-shadow: var(--shadow); background: #fff; overflow: hidden;
}
.mock-phone .notch {
  width: 86px; height: 18px; background: #0f172a; border-radius: 0 0 12px 12px; margin: 0 auto 8px;
}
.mock-phone .status { font-size: 11px; text-align: center; color: var(--teal-600); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 4px 0 8px; }
.call-pulse {
  width: 72px; height: 72px; border-radius: 50%; margin: 8px auto 12px;
  background: linear-gradient(135deg, var(--cyan-500), var(--teal-500));
  display: grid; place-items: center; color: #fff;
  box-shadow: 0 0 0 8px rgba(6,182,212,.18), 0 0 0 16px rgba(6,182,212,.08);
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
  50% { box-shadow: 0 0 0 12px rgba(6,182,212,.12), 0 0 0 24px rgba(6,182,212,.05); }
}
.mock-report { padding: 0; }
.mock-report .row { display: flex; justify-content: space-between; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 14px; }
.mock-report .row b { color: var(--ink); }
.mock-report .bar { height: 8px; border-radius: 99px; background: var(--cyan-100); overflow: hidden; margin-top: 6px; }
.mock-report .bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--cyan-600), var(--teal-500)); border-radius: 99px; }
.avatar-ph {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--cyan-100); color: var(--cyan-800);
  display: grid; place-items: center; font-weight: 700; font-size: 14px;
  flex-shrink: 0;
}
.quote { display: flex; flex-direction: column; gap: 8px; }
.quote-top { display: flex; align-items: center; gap: 12px; margin-bottom: 4px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.list-check { list-style: none; padding: 0; margin: 0 0 24px; }
.list-check li { position: relative; padding: 8px 0 8px 28px; }
.list-check li::before { content: "✓"; position: absolute; left: 0; color: var(--teal-600); font-weight: 700; }

@media (max-width: 1024px) {
  .split, .split.reverse, .hero-grid, .steps-4, .source-grid { grid-template-columns: 1fr 1fr; }
  .split.reverse { direction: ltr; }
}
@media (max-width: 734px) {
  .split, .hero-grid, .steps-4, .source-grid, .icon-grid { grid-template-columns: 1fr; }
  .mock-phone { width: 100%; max-width: 300px; }
}
