/* ==========================================================================
   MFD Expert — public site styles
   Palette: deep navy + logo orange on clean neutrals.
   ========================================================================== */

:root {
  --brand:        #f15a24;
  --brand-600:    #dc4a16;
  --brand-50:     #fff3ed;
  --brand-100:    #ffe2d3;

  --navy-900:     #0b1b33;
  --navy-800:     #12264a;
  --navy-700:     #1b345f;

  --ink:          #0f172a;
  --ink-2:        #334155;
  --muted:        #64748b;
  --line:         #e2e8f0;
  --line-2:       #eef2f7;
  --bg:           #ffffff;
  --bg-soft:      #f6f8fb;

  --ok:           #16a34a;
  --warn:         #d97706;
  --bad:          #dc2626;

  --radius:       14px;
  --radius-sm:    10px;
  --shadow-sm:    0 1px 2px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .06);
  --shadow:       0 10px 30px -12px rgba(15, 23, 42, .18);
  --shadow-lg:    0 30px 60px -20px rgba(11, 27, 51, .35);

  --font:         'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-head:    'Plus Jakarta Sans', var(--font);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--brand-600); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.2; margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.2vw, 3.25rem); font-weight: 800; letter-spacing: -.025em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.35rem); font-weight: 700; letter-spacing: -.02em; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul { padding: 0; margin: 0; list-style: none; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.container.narrow { max-width: 820px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.mt-lg { margin-top: 2.5rem; }
.ico { flex-shrink: 0; }

.skip-link { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 100; }
.skip-link:focus { left: 1rem; top: 1rem; }

:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 4px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font: 600 .95rem/1 var(--font);
  padding: .85rem 1.35rem;
  border-radius: 10px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background .18s, color .18s, border-color .18s, transform .18s, box-shadow .18s;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-lg { padding: 1rem 1.6rem; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px -8px rgba(241, 90, 36, .65); }
.btn-primary:hover { background: var(--brand-600); }
.btn-outline { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: var(--ink); }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .3); }
.btn-ghost-light:hover { border-color: #fff; }
.btn-whatsapp { background: #25d366; color: #fff; }
.btn-whatsapp:hover { background: #1ebe5b; }

.link-arrow { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .45rem;
  font: 600 .78rem/1 var(--font);
  text-transform: uppercase; letter-spacing: .1em;
  color: var(--brand-600);
  margin-bottom: 1rem;
}

/* ---------- Top bar + header ---------- */
.topbar { background: var(--navy-900); color: #cbd5e1; font-size: .82rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-top: .5rem; padding-bottom: .5rem; }
.topbar-links { display: flex; gap: 1.5rem; }
.topbar a { color: #e2e8f0; display: inline-flex; align-items: center; gap: .4rem; }
.topbar a:hover { color: #fff; text-decoration: none; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line-2);
  transition: box-shadow .2s;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand img { height: 46px; width: auto; }

.site-nav { display: flex; align-items: center; gap: 2rem; }
.site-nav ul { display: flex; gap: .25rem; }
.site-nav ul a {
  display: block; padding: .5rem .9rem; border-radius: 8px;
  color: var(--ink-2); font-weight: 500; font-size: .95rem;
}
.site-nav ul a:hover { color: var(--ink); background: var(--bg-soft); text-decoration: none; }
.site-nav ul a.active { color: var(--brand-600); }

.nav-toggle { display: none; background: none; border: 0; padding: .5rem; color: var(--ink); cursor: pointer; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 4.5rem 0 3rem;
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(241, 90, 36, .10), transparent 60%),
    radial-gradient(700px 400px at 0% 100%, rgba(27, 52, 95, .08), transparent 60%),
    linear-gradient(180deg, #fff, var(--bg-soft));
  overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(var(--line-2) 1px, transparent 1px), linear-gradient(90deg, var(--line-2) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.5), transparent 70%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.5), transparent 70%);
  pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 3.5rem; align-items: center; }
.hero .eyebrow { background: var(--brand-50); border: 1px solid var(--brand-100); padding: .5rem .8rem; border-radius: 999px; text-transform: none; letter-spacing: 0; font-size: .85rem; }
.hero h1 { margin-bottom: 1.1rem; }
.lead { font-size: 1.125rem; color: var(--muted); max-width: 40rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 2rem 0 1.5rem; }
.hero-actions.center { justify-content: center; }
.hero-points { display: flex; flex-wrap: wrap; gap: 1.4rem; font-size: .92rem; color: var(--ink-2); font-weight: 500; }
.hero-points li { display: inline-flex; align-items: center; gap: .4rem; }
.hero-points .ico { color: var(--ok); }

/* Product mock */
.hero-visual { position: relative; }
.mock {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow-lg); overflow: hidden;
  transform: perspective(1400px) rotateY(-4deg) rotateX(2deg);
}
.mock-bar { display: flex; align-items: center; gap: 6px; padding: .7rem 1rem; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: #e2e8f0; }
.mock-bar i:nth-child(1) { background: #fca5a5; } .mock-bar i:nth-child(2) { background: #fcd34d; } .mock-bar i:nth-child(3) { background: #86efac; }
.mock-bar span { margin-left: .8rem; font-size: .75rem; color: var(--muted); background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: .15rem .6rem; }
.mock-body { padding: 1.2rem; display: grid; gap: 1rem; }
.mock-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; }
.mock-kpis div { border: 1px solid var(--line-2); border-radius: 10px; padding: .75rem; background: #fff; }
.mock-kpis small { display: block; font-size: .7rem; color: var(--muted); }
.mock-kpis strong { display: block; font-family: var(--font-head); font-size: 1.15rem; color: var(--ink); margin: .15rem 0; }
.mock-kpis em { font-style: normal; font-size: .7rem; color: var(--muted); }
.mock-kpis em.up, .up { color: var(--ok); }
.mock-chart { border: 1px solid var(--line-2); border-radius: 10px; padding: .8rem .9rem .4rem; }
.mock-chart-head { display: flex; justify-content: space-between; font-size: .78rem; font-weight: 600; color: var(--ink); margin-bottom: .3rem; }
.pill { font-weight: 500; font-size: .68rem; color: var(--muted); background: var(--bg-soft); border-radius: 999px; padding: .1rem .5rem; }
.mock-chart svg { width: 100%; height: 110px; }
.mock-list { display: grid; gap: .45rem; }
.mock-list div { display: grid; grid-template-columns: 10px 1fr auto auto; align-items: center; gap: .7rem; font-size: .78rem; padding: .55rem .7rem; border-radius: 8px; background: var(--bg-soft); }
.mock-list b { font-weight: 600; color: var(--ink); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--navy-700); }
.dot.ok { background: var(--ok); } .dot.warn { background: var(--warn); }
.tag { font-size: .68rem; font-weight: 600; padding: .15rem .5rem; border-radius: 999px; background: #e0e7ff; color: #3730a3; }
.tag.ok { background: #dcfce7; color: #166534; } .tag.warn { background: #fef3c7; color: #92400e; }

.float-card {
  position: absolute; display: flex; align-items: center; gap: .7rem;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: .7rem 1rem; box-shadow: var(--shadow);
  font-size: .82rem; animation: float 6s ease-in-out infinite;
}
.float-card b { display: block; color: var(--ink); }
.float-card small { color: var(--muted); }
.float-card .ico { color: #fff; background: var(--ok); border-radius: 8px; padding: 6px; width: 30px; height: 30px; }
.fc-1 { left: -28px; bottom: 70px; }
.fc-2 { right: -18px; top: -18px; animation-delay: -3s; }
.fc-2 .ico { background: var(--brand); }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.integrations { position: relative; display: flex; align-items: center; gap: 2rem; margin-top: 3.5rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.integrations > span { font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); white-space: nowrap; }
.integrations ul { display: flex; flex-wrap: wrap; gap: .6rem 2.4rem; }
.integrations li { font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; color: #94a3b8; }

/* ---------- Stats ---------- */
.stats { background: var(--navy-900); color: #cbd5e1; padding: 2.75rem 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.stat { padding-left: 1.2rem; border-left: 3px solid var(--brand); }
.stat strong { display: block; font-family: var(--font-head); font-size: 2rem; font-weight: 800; color: #fff; line-height: 1.1; }
.stat span { display: block; font-weight: 600; color: #e2e8f0; margin-top: .25rem; }
.stat small { display: block; font-size: .82rem; color: #94a3b8; }

/* ---------- Sections ---------- */
.section { padding: 5.5rem 0; }
.section-soft { background: var(--bg-soft); }
.section-dark { background: linear-gradient(160deg, var(--navy-900), var(--navy-800)); color: #cbd5e1; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .eyebrow { color: #ff8a5c; }
.section-head { max-width: 720px; margin-bottom: 3rem; }
.section-head.center { margin-left: auto; margin-right: auto; }
.section-head p { color: var(--muted); font-size: 1.08rem; }

.icon-box {
  display: inline-grid; place-items: center;
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--brand-50); color: var(--brand-600);
  flex-shrink: 0;
}
.icon-box.lg { width: 60px; height: 60px; border-radius: 16px; margin-bottom: 1.2rem; }

.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.feature-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem; transition: border-color .2s, box-shadow .2s, transform .2s;
}
.feature-card:hover { border-color: var(--brand-100); box-shadow: var(--shadow); transform: translateY(-3px); }
.feature-card .icon-box { margin-bottom: 1.1rem; }
.feature-card p { font-size: .93rem; color: var(--muted); margin: 0; }

.checklist { display: grid; gap: .65rem; margin: 1.4rem 0 1.8rem; }
.checklist li { display: flex; gap: .6rem; align-items: flex-start; font-size: .95rem; }
.checklist .ico { color: var(--ok); margin-top: .2rem; }
.checklist.lg li { font-size: 1rem; color: var(--ink-2); }

/* Split section */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.split-visual { display: flex; justify-content: center; }
.phone {
  position: relative; width: 280px; padding: 14px; border-radius: 42px;
  background: var(--navy-900); box-shadow: var(--shadow-lg);
}
.phone-island { position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 64px; height: 16px; background: var(--navy-900); border-radius: 99px; z-index: 2; }
.phone-shot { display: block; width: 100%; height: auto; border-radius: 30px; background: #fff; }
.phone::after { content: ''; position: absolute; right: -3px; top: 120px; width: 3px; height: 60px; border-radius: 0 3px 3px 0; background: var(--navy-700); }
.phone-screen { background: var(--bg-soft); border-radius: 30px; padding: 2.6rem 1.1rem 1.4rem; min-height: 500px; display: grid; gap: .7rem; align-content: start; }
.ph-head small { display: block; color: var(--muted); font-size: .78rem; }
.ph-head b { font-family: var(--font-head); color: var(--ink); font-size: 1.1rem; }
.ph-card { background: linear-gradient(135deg, var(--brand), #ff7a45); color: #fff; border-radius: 16px; padding: 1.1rem; margin: .3rem 0; }
.ph-card small { opacity: .85; font-size: .75rem; }
.ph-card strong { display: block; font-family: var(--font-head); font-size: 1.6rem; margin: .1rem 0; }
.ph-card .up { color: #fff; font-size: .78rem; opacity: .95; }
.ph-row { display: flex; justify-content: space-between; background: #fff; border-radius: 10px; padding: .7rem .85rem; font-size: .8rem; }
.ph-row span { color: var(--muted); }
.ph-row b { color: var(--ink); }
.ph-progress { height: 8px; background: var(--line); border-radius: 99px; overflow: hidden; }
.ph-progress i { display: block; height: 100%; background: var(--ok); border-radius: 99px; }
.ph-btn { margin-top: .5rem; text-align: center; background: var(--navy-900); color: #fff; border-radius: 12px; padding: .8rem; font-weight: 600; font-size: .88rem; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; counter-reset: s; padding: 0; margin: 0; list-style: none; }
.steps li { position: relative; padding: 2rem; border-radius: var(--radius); background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); }
.step-no { display: inline-block; font-family: var(--font-head); font-weight: 800; font-size: 2.4rem; color: var(--brand); line-height: 1; margin-bottom: 1rem; }
.steps p { color: #94a3b8; margin: 0; }

/* Testimonials */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.quote { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; display: flex; flex-direction: column; justify-content: space-between; gap: 1.5rem; }
.quote blockquote { margin: 0; color: var(--ink-2); }
.quote figcaption { display: flex; align-items: center; gap: .8rem; }
.quote figcaption b { display: block; color: var(--ink); }
.quote figcaption small { color: var(--muted); }
.avatar { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--navy-800); color: #fff; font-weight: 700; }

/* Packages */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; align-items: stretch; }
.plans-4 { grid-template-columns: repeat(4, 1fr); }
.plans-5 { grid-template-columns: repeat(5, 1fr); }
.plan { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 1.6rem 1.4rem; transition: box-shadow .2s, transform .2s; }
.plan:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.plan h3 { font-size: 1.25rem; margin-bottom: .35rem; }
.plan .checklist { flex: 1; margin: 1.1rem 0 1.4rem; gap: .55rem; align-content: start; }
.plan .checklist li { font-size: .88rem; line-height: 1.45; }
.plan .checklist li.core { color: var(--muted); }
.plan-featured { border: 2px solid var(--brand); box-shadow: var(--shadow); }
.plan-badge { position: absolute; top: -12px; left: 1.4rem; background: var(--brand); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .02em; padding: .28rem .75rem; border-radius: 999px; }
.plan-tagline { color: var(--muted); font-size: .88rem; line-height: 1.5; min-height: 3em; margin-bottom: 1rem; }
.plan-meter { display: grid; gap: .4rem; font-size: .8rem; color: var(--muted); }
.plan-meter b { color: var(--ink); font-size: .95rem; }
.plan-meter i { display: block; height: 6px; border-radius: 99px; background: var(--line-2); overflow: hidden; }
.plan-meter em { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--brand), #ff8a5c); }

/* Comparison table */
.compare-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: var(--shadow-sm); }
.compare-wrap:focus-visible { outline-offset: 4px; }
.compare { width: 100%; min-width: 860px; border-collapse: separate; border-spacing: 0; font-size: .93rem; }
.compare th, .compare td { padding: 1rem 1rem; text-align: center; border-bottom: 1px solid var(--line-2); vertical-align: middle; }
.compare thead th { position: sticky; top: 0; z-index: 2; background: #fff; padding: 1.6rem 1rem 1.2rem; border-bottom: 1px solid var(--line); vertical-align: bottom; }
.compare-plan { display: block; font-family: var(--font-head); font-size: 1.05rem; font-weight: 800; color: var(--ink); }
.compare-badge { display: inline-block; margin-bottom: .45rem; font-size: .68rem; font-weight: 700; color: #fff; background: var(--brand); padding: .2rem .6rem; border-radius: 99px; }
.compare .compare-feature { position: sticky; left: 0; z-index: 1; background: #fff; text-align: left; width: 34%; min-width: 240px; }
.compare thead .compare-feature { z-index: 3; font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.compare tbody th span { display: block; font-weight: 600; color: var(--ink); }
.compare tbody th small { display: block; font-weight: 400; font-size: .8rem; color: var(--muted); margin-top: .15rem; line-height: 1.4; }
.compare-group th { position: sticky; left: 0; text-align: left !important; background: var(--bg-soft) !important; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--brand-600); padding: .7rem 1rem !important; }
.compare td.is-featured, .compare th.is-featured { background: #fff8f4; }
.compare thead th.is-featured { border-top: 3px solid var(--brand); border-radius: 0; }
.compare tbody tr:hover th, .compare tbody tr:hover td { background: #fbfcfe; }
.compare tbody tr:hover td.is-featured { background: #fff1e9; }
.compare tfoot td, .compare tfoot th { border-bottom: 0; padding: 1.2rem 1rem 1.4rem; }
.mark { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; }
.mark.yes { background: #dcfce7; color: #15803d; }
.mark.yes .ico { width: 16px; height: 16px; stroke-width: 2.6; }
.mark.no::before { content: ''; width: 12px; height: 2px; border-radius: 2px; background: #cbd5e1; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.compare-hint { display: none; align-items: center; justify-content: center; gap: .4rem; font-size: .82rem; color: var(--muted); margin-top: .8rem; }

.included { margin-top: 3.5rem; padding: 2rem; border-radius: 18px; background: var(--bg-soft); border: 1px solid var(--line); }
.included h3 { text-align: center; margin-bottom: 1.5rem; }
.included ul { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.included li { display: flex; gap: .7rem; align-items: center; font-weight: 500; color: var(--ink-2); }
.included .ico { color: var(--brand-600); }

/* FAQ */
.faq { display: grid; gap: .75rem; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 0 1.4rem; transition: border-color .2s; }
.faq details[open] { border-color: var(--brand-100); box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; list-style: none; padding: 1.15rem 2rem 1.15rem 0; font-family: var(--font-head); font-weight: 700; color: var(--ink); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 400; color: var(--brand); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 1.2rem; margin: 0; }

/* CTA band */
.cta-band { padding: 4.5rem 0; background: linear-gradient(120deg, var(--navy-900) 0%, var(--navy-700) 100%); position: relative; overflow: hidden; }
.cta-band::after { content: ''; position: absolute; right: -120px; top: -120px; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(241, 90, 36, .35), transparent 70%); }
.cta-inner { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; gap: 2rem; }
.cta-band h2 { color: #fff; margin-bottom: .4rem; }
.cta-band p { color: #cbd5e1; max-width: 40rem; margin: 0; }
.cta-actions { display: flex; gap: .8rem; flex-wrap: wrap; }

/* ---------- Inner page hero ---------- */
.page-hero { padding: 4rem 0 3.5rem; background: linear-gradient(160deg, var(--navy-900), var(--navy-800)); color: #cbd5e1; position: relative; overflow: hidden; }
.page-hero::after { content: ''; position: absolute; right: -100px; bottom: -160px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(241, 90, 36, .28), transparent 70%); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; max-width: 820px; }
.page-hero .lead { color: #cbd5e1; margin: 0; }
.crumbs { font-size: .85rem; color: #94a3b8; margin-bottom: 1rem; }
.crumbs a { color: #cbd5e1; }
.crumbs span { margin: 0 .35rem; }

/* Features page */
.module-index { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin-bottom: 4rem; }
.module-index a { display: inline-flex; align-items: center; gap: .45rem; padding: .55rem 1rem; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-2); font-weight: 500; font-size: .9rem; background: #fff; }
.module-index a:hover { border-color: var(--brand); color: var(--brand-600); text-decoration: none; }
.module-index .ico { color: var(--brand); }
.module { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; padding: 3.5rem 0; border-top: 1px solid var(--line-2); scroll-margin-top: 100px; }
.module:first-of-type { border-top: 0; }
.module.reverse .module-copy { order: 2; }
.module-copy .eyebrow { display: flex; }
.module-art { border-radius: 22px; background: linear-gradient(145deg, var(--bg-soft), #fff); border: 1px solid var(--line); padding: 2.5rem; position: relative; overflow: hidden; }
.module-art::before { content: ''; position: absolute; width: 260px; height: 260px; right: -80px; top: -80px; border-radius: 50%; background: radial-gradient(circle, rgba(241, 90, 36, .14), transparent 70%); }
.module-art-inner { position: relative; display: grid; gap: .8rem; }
.big-icon { display: grid; place-items: center; width: 110px; height: 110px; border-radius: 28px; background: var(--navy-900); color: var(--brand); margin-bottom: 1rem; box-shadow: var(--shadow); }
.mini-row { display: flex; align-items: center; gap: .6rem; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: .75rem 1rem; font-size: .9rem; font-weight: 500; color: var(--ink); box-shadow: var(--shadow-sm); }
.mini-row .ico { color: #fff; background: var(--ok); border-radius: 50%; padding: 3px; width: 20px; height: 20px; }

/* About */
.values { display: grid; gap: 1rem; }
.value { display: flex; gap: 1rem; padding: 1.3rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.value h3 { margin-bottom: .25rem; }
.value p { margin: 0; color: var(--muted); font-size: .95rem; }

/* Contact + demo */
.contact-grid { display: grid; grid-template-columns: 360px 1fr; gap: 2rem; align-items: start; }
.contact-cards { display: grid; gap: .9rem; }
.contact-card { display: flex; gap: 1rem; align-items: center; padding: 1.1rem 1.2rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); color: inherit; }
a.contact-card:hover { border-color: var(--brand-100); box-shadow: var(--shadow-sm); text-decoration: none; }
.contact-card small { display: block; color: var(--muted); font-size: .8rem; }
.contact-card b { display: block; color: var(--ink); word-break: break-word; }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 2.2rem; box-shadow: var(--shadow); }
.form-card h2 { font-size: 1.5rem; margin-bottom: .3rem; }

.demo-hero { padding: 4.5rem 0 5.5rem; background: linear-gradient(180deg, var(--bg-soft), #fff); }
.demo-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 3.5rem; align-items: start; }
.demo-points { display: grid; gap: 1.2rem; margin-top: 2rem; }
.demo-points li { display: flex; gap: 1rem; }
.demo-points b { color: var(--ink); font-family: var(--font-head); }
.demo-points p { margin: .15rem 0 0; color: var(--muted); font-size: .95rem; }

.lead-form { margin-top: 1.5rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.1rem; margin-bottom: 1.4rem; }
.field { display: flex; flex-direction: column; gap: .35rem; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .85rem; font-weight: 600; color: var(--ink); }
.req { color: var(--bad); }
.field input, .field select, .field textarea {
  font: 400 .95rem var(--font); color: var(--ink);
  padding: .75rem .9rem; border: 1.5px solid var(--line); border-radius: 10px; background: #fff;
  transition: border-color .15s, box-shadow .15s; width: 100%;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(241, 90, 36, .12); }
.field.has-error input, .field.has-error textarea { border-color: var(--bad); }
.error { color: var(--bad); font-size: .8rem; }
.alert { padding: .9rem 1.1rem; border-radius: 10px; margin-bottom: 1rem; font-size: .92rem; }
.alert-error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.form-note { display: flex; gap: .4rem; align-items: center; justify-content: center; font-size: .8rem; color: var(--muted); margin: 1rem 0 0; text-align: center; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Thanks / 404 */
.thanks .icon-circle { display: inline-grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: #dcfce7; color: var(--ok); margin-bottom: 1.5rem; }
.thanks .lead { margin: 0 auto; }
.big-404 { display: block; font-family: var(--font-head); font-size: 6rem; font-weight: 800; color: var(--brand); line-height: 1; margin-bottom: 1rem; }

/* Prose (legal pages) */
.prose h2 { font-size: 1.3rem; margin-top: 2.2rem; }
.prose ul { list-style: disc; padding-left: 1.3rem; margin-bottom: 1em; }
.prose li { margin-bottom: .4rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #94a3b8; padding-top: 4rem; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 2.5rem; padding-bottom: 3rem; }
.footer-logo { display: inline-block; background: #fff; padding: .6rem .9rem; border-radius: 12px; margin-bottom: 1.2rem; }
.footer-logo img { height: 40px; width: auto; }
.site-footer h3 { color: #fff; font-size: .95rem; margin-bottom: 1.1rem; }
.site-footer ul { display: grid; gap: .6rem; }
.site-footer a { color: #cbd5e1; }
.site-footer a:hover { color: #fff; }
.contact-list li { display: flex; gap: .6rem; align-items: flex-start; }
.contact-list .ico { color: var(--brand); margin-top: .25rem; }
.socials { display: flex !important; flex-wrap: wrap; gap: .6rem !important; margin-top: 1.2rem; }
.socials a { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12); color: #cbd5e1; transition: background .2s, color .2s, border-color .2s, transform .2s; }
.socials a:hover, .socials a:focus-visible { background: var(--brand); border-color: var(--brand); color: #fff; text-decoration: none; transform: translateY(-2px); }
.socials svg { width: 18px; height: 18px; }

.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 1.6rem 20px; font-size: .82rem; }
.footer-bottom p { margin: 0 0 .5rem; }
.disclaimer { color: #64748b; }

/* Demo popup */
.modal {
  width: min(680px, calc(100% - 32px)); max-height: calc(100vh - 48px);
  padding: 0; border: 0; border-radius: 18px;
  background: #fff; color: var(--ink-2);
  box-shadow: var(--shadow-lg);
  overflow: auto;
}
.modal::backdrop { background: rgba(11, 27, 51, .6); backdrop-filter: blur(3px); }
.modal[open] { animation: modal-in .22s ease-out; }
@keyframes modal-in { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
.modal-box { position: relative; padding: 2rem 2.2rem 1.6rem; }
.modal-head { padding-right: 2rem; }
.modal-head .eyebrow { margin-bottom: .6rem; }
.modal-head h2 { font-size: 1.6rem; margin-bottom: .3rem; }
.modal-head p { margin: 0; font-size: .95rem; }
.modal .lead-form { margin-top: 1.3rem; }
.modal-close {
  position: absolute; top: 1rem; right: 1rem;
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--line); background: #fff; color: var(--ink);
  font-size: 1.5rem; line-height: 1; cursor: pointer;
}
.modal-close:hover { background: var(--bg-soft); }
body.modal-open { overflow: hidden; }

/* WhatsApp float */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 10px 25px -6px rgba(37, 211, 102, .6); transition: transform .2s; }
.wa-float:hover { transform: scale(1.07); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .plans-4, .plans-5 { grid-template-columns: repeat(3, 1fr); }
  .fc-1 { left: 0; }
  .fc-2 { right: 0; }
}

@media (max-width: 900px) {
  .topbar-inner > span:first-child { display: none; }
  .topbar-inner { justify-content: center; }
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 1rem;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    padding: 1rem 20px 1.5rem;
    display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav ul { flex-direction: column; }
  .site-nav ul a { padding: .8rem .5rem; border-bottom: 1px solid var(--line-2); border-radius: 0; }

  .hero { padding-top: 3rem; }
  .hero-grid, .split, .module, .demo-grid, .contact-grid { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
  .hero-grid > *, .split > *, .module > *, .demo-grid > *, .contact-grid > * { min-width: 0; }
  .module.reverse .module-copy { order: 0; }
  .mock { transform: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .quotes, .steps { grid-template-columns: 1fr; }
  .plans, .plans-4, .plans-5 { grid-template-columns: repeat(2, 1fr); }
  .compare-hint { display: flex; }
  .included ul { grid-template-columns: 1fr 1fr; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .integrations { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .section { padding: 4rem 0; }
}

@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .topbar-links a:last-child, .topbar-links .hide-sm { display: none; }
  .header-inner { height: 66px; }
  .brand img { height: 38px; }
  .feature-grid, .form-grid, .included ul, .footer-grid { grid-template-columns: 1fr; }
  .mock-kpis { grid-template-columns: 1fr 1fr; }
  .mock-kpis div:last-child { display: none; }
  .mock-list div { grid-template-columns: 10px 1fr auto; }
  .mock-list .tag { display: none; }
  .float-card { display: none; }
  .form-card { padding: 1.5rem; }
  .modal { width: calc(100% - 16px); max-height: calc(100vh - 16px); }
  .modal-box { padding: 1.5rem 1.2rem 1.2rem; }
  .modal-head h2 { font-size: 1.35rem; }
  .hero-actions .btn, .cta-actions .btn { width: 100%; }
  .btn { white-space: normal; text-align: center; }
  .mock-bar span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
  .mock-list div > * { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .plans, .plans-4, .plans-5 { grid-template-columns: 1fr; }
  .compare .compare-feature { min-width: 170px; width: auto; }
  .compare { min-width: 720px; font-size: .88rem; }
  .compare tbody th small { display: none; }
  .stat strong { font-size: 1.6rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Hero dashboard preview ---------- */
.dash-app { display: grid; grid-template-columns: 124px 1fr; min-height: 360px; }
.dash-side { background: var(--navy-900); color: #94a3b8; padding: 1rem .55rem; font-size: .72rem; }
.dash-logo { display: flex; align-items: center; gap: .45rem; padding: 0 .4rem .9rem; margin-bottom: .6rem; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.dash-logo img { width: 22px; height: 22px; border-radius: 6px; }
.dash-logo b { font-family: var(--font-head); color: #fff; font-size: .82rem; white-space: nowrap; }
.dash-logo b span { color: var(--brand); }
.dash-side ul { display: grid; gap: .15rem; }
.dash-side li { display: flex; align-items: center; gap: .5rem; padding: .45rem .5rem; border-radius: 7px; white-space: nowrap; }
.dash-side li svg { width: 13px; height: 13px; flex-shrink: 0; opacity: .75; }
.dash-side li.on { background: rgba(241, 90, 36, .15); color: #fff; font-weight: 600; }
.dash-side li.on svg { color: var(--brand); opacity: 1; }

.dash-main { background: var(--bg-soft); padding: .9rem; display: grid; gap: .7rem; align-content: start; min-width: 0; }
.dash-top { display: flex; justify-content: space-between; align-items: center; }
.dash-top small { display: block; font-size: .64rem; color: var(--muted); }
.dash-top b { font-family: var(--font-head); color: var(--ink); font-size: .95rem; }
.dash-user { display: flex; align-items: center; gap: .4rem; font-size: .68rem; font-weight: 600; color: var(--ink-2); }
.dash-user i { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--brand); color: #fff; font-style: normal; font-size: .7rem; }

.dash-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.dash-kpis > div { display: flex; align-items: center; gap: .6rem; background: #fff; border: 1px solid var(--line-2); border-radius: 10px; padding: .65rem .75rem; }
.dk-ico { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; flex-shrink: 0; }
.dk-ico svg { width: 16px; height: 16px; }
.dk-ico.green { background: #dcfce7; color: #16a34a; }
.dk-ico.blue { background: #dbeafe; color: #2563eb; }
.dash-kpis small { display: block; font-size: .66rem; color: var(--muted); }
.dash-kpis strong { display: block; font-family: var(--font-head); font-size: 1.1rem; color: var(--ink); line-height: 1.2; }

.dash-chart { background: #fff; border: 1px solid var(--line-2); border-radius: 10px; padding: .7rem .8rem .5rem; }
.dash-chart-head { display: flex; justify-content: space-between; align-items: center; gap: .5rem; font-size: .74rem; margin-bottom: .35rem; }
.dash-chart-head b { color: var(--ink); }
.dash-legend { display: flex; align-items: center; gap: .3rem; font-size: .6rem; color: var(--muted); }
.dash-legend i { width: 8px; height: 8px; border-radius: 2px; background: var(--brand); }
.dash-legend i.inv { background: var(--navy-700); margin-left: .45rem; }
.dash-chart svg { width: 100%; height: 100px; }
.dash-months { display: flex; justify-content: space-between; font-size: .58rem; color: #94a3b8; margin-top: .25rem; }

.dash-stats { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--navy-900); border-radius: 10px; padding: .75rem .3rem; text-align: center; }
.dash-stats div + div { border-left: 1px solid rgba(255, 255, 255, .1); }
.dash-stats strong { display: block; font-family: var(--font-head); color: #fff; font-size: .95rem; line-height: 1.2; }
.dash-stats small { display: block; font-size: .56rem; color: #94a3b8; text-transform: uppercase; letter-spacing: .06em; margin-top: .2rem; }

@media (max-width: 600px) {
  .dash-app { grid-template-columns: 1fr; min-height: 0; }
  .dash-side { display: none; }
  .dash-stats { grid-template-columns: 1fr 1fr; row-gap: .8rem; }
  .dash-stats div:nth-child(3) { border-left: 0; }
}

/* ---------- 7-day free trial highlight ---------- */
.trial-badge { display: inline-flex; align-items: center; gap: .55rem; padding: .6rem .95rem; border-radius: 10px; background: var(--brand-50); border: 1px dashed var(--brand); color: var(--ink); font-size: .92rem; font-weight: 500; line-height: 1.35; }
.trial-badge svg { width: 18px; height: 18px; color: var(--brand); flex-shrink: 0; }
.trial-badge b { color: var(--brand-600); font-weight: 700; }
.trial-badge.dark { background: rgba(241, 90, 36, .12); border-color: rgba(241, 90, 36, .6); color: #fff; }
.trial-badge.dark b { color: #ff8a5c; }
.hero-copy .trial-badge { margin: -.4rem 0 1.4rem; }
.form-card .trial-badge, .cta-band .trial-badge { margin: 0 0 1rem; }
.modal-head .trial-badge { margin: .9rem 0 0; }
