:root {
  --bg: #0b1220;
  --bg-alt: #10192b;
  --surface: #152136;
  --surface-2: #1b2a44;
  --ink: #f3f6fb;
  --muted: #9eb0cc;
  --line: rgba(148, 176, 218, 0.16);
  --royal: #1d4ed8;
  --teal: #2a95a8;
  --gold: #f5c518;
  --green: #22c55e;
  --red: #ef4444;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  background: radial-gradient(circle at 12% 8%, rgba(42, 149, 168, 0.16), transparent 36%), var(--bg);
  color: var(--ink);
  line-height: 1.58;
}
h1, h2, h3 { font-family: "Space Grotesk", sans-serif; line-height: 1.15; margin: 0 0 12px; }
p { margin: 0 0 14px; color: var(--muted); }
code { background: rgba(255,255,255,0.08); padding: 2px 6px; border-radius: 6px; color: #dbeafe; font-size: 0.9em; }

.container { width: min(1140px, calc(100% - 32px)); margin: 0 auto; }

.topbar {
  position: sticky; top: 0; z-index: 30;
  backdrop-filter: blur(12px);
  background: rgba(11, 18, 32, 0.84);
  border-bottom: 1px solid var(--line);
}
.topbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 12px 0;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-badge {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px;
  background: linear-gradient(135deg, #163791, #2a95a8);
  border: 2px solid rgba(245, 197, 24, 0.7);
  font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 15px; color: #fff;
}
.brand strong { display: block; font-size: 18px; color: #fff; }
.brand small { display: block; font-size: 12px; color: var(--muted); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  text-decoration: none; font-weight: 600; border-radius: 12px;
  transition: transform 0.15s ease, filter 0.15s ease;
  cursor: pointer; border: 0;
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.06); }
.btn-sm { padding: 9px 14px; font-size: 14px; }
.btn-lg { padding: 14px 22px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-wa { background: linear-gradient(135deg, #16a34a, #22c55e); color: #052e16; font-weight: 700; }
.btn-outline { background: transparent; color: #e2e8f0; border: 1px solid rgba(226,232,240,0.28); }

.hero { padding: 48px 0 64px; }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 40px; align-items: center;
}
.eyebrow {
  display: inline-block; padding: 6px 12px; border-radius: 999px;
  background: rgba(239, 68, 68, 0.15); border: 1px solid rgba(239, 68, 68, 0.45);
  color: #fecaca; font-size: 13px; font-weight: 600; margin-bottom: 16px;
}
.hero h1 { font-size: clamp(32px, 4.4vw, 52px); color: #fff; margin-bottom: 18px; }
.hero h1 span { color: var(--gold); }
.lead { font-size: 18px; color: #cbd5e1; margin-bottom: 22px; }
.lead strong { color: #fff; }

.erp-strip {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  margin-bottom: 24px; font-size: 13px; color: var(--muted);
}
.erp-pill {
  padding: 5px 11px; border-radius: 999px;
  background: rgba(42, 149, 168, 0.14); border: 1px solid rgba(42, 149, 168, 0.4);
  color: #e0f2fe; font-weight: 600;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }

.hero-stats {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px; padding-top: 20px; border-top: 1px solid var(--line);
}
.hero-stats strong { display: block; font-size: 26px; font-family: "Space Grotesk", sans-serif; color: #fff; }
.hero-stats span { font-size: 13px; color: var(--muted); }

.video-shell { display: flex; flex-direction: column; align-items: center; }
.phone-frame {
  width: min(350px, 100%);
  aspect-ratio: 9 / 16;
  background: #050a14;
  border-radius: 26px;
  padding: 10px;
  border: 2px solid rgba(245, 197, 24, 0.45);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}
.phone-frame video {
  width: 100%; height: 100%; border-radius: 18px; object-fit: cover; display: block; background: #000;
}
.chapter-bar {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 6px;
  margin-top: 14px; max-width: 390px;
}
.chapter-bar button {
  background: var(--surface); color: #dbeafe; border: 1px solid var(--line);
  border-radius: 999px; padding: 6px 10px; font-size: 12px; font-weight: 600;
  cursor: pointer; transition: background 0.15s ease, border-color 0.15s ease;
}
.chapter-bar button:hover { background: var(--surface-2); border-color: var(--gold); }
.video-note { font-size: 12px; color: var(--muted); text-align: center; margin-top: 10px; }

.section { padding: 68px 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 720px; margin-bottom: 34px; }
.section-head h2 { font-size: clamp(26px, 3.2vw, 38px); color: #fff; }
.tag {
  display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700;
  background: rgba(239, 68, 68, 0.16); color: #fca5a5; margin-bottom: 10px; text-transform: uppercase; letter-spacing: 0.04em;
}
.tag-ok { background: rgba(42, 149, 168, 0.18); color: #7dd3fc; }
.tag-gold { background: rgba(245, 197, 24, 0.18); color: var(--gold); }

.cards-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 18px; padding: 22px;
}
.card h3 { font-size: 20px; color: #fff; }
.card p { font-size: 14.5px; margin-bottom: 0; }
.card-pain { border-top: 3px solid rgba(239, 68, 68, 0.65); }
.card-kicker { font-size: 12px; font-weight: 700; color: #fca5a5; text-transform: uppercase; margin-bottom: 8px; }
.card-pillar { border-top: 3px solid var(--teal); position: relative; }
.pillar-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 10px;
  background: rgba(29, 78, 216, 0.35); border: 1px solid rgba(245, 197, 24, 0.55);
  color: var(--gold); font-family: "Space Grotesk", sans-serif; font-weight: 700; margin-bottom: 12px;
}

.section-cta { background: linear-gradient(180deg, rgba(22, 55, 145, 0.28), rgba(11, 18, 32, 0.95)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cta-box {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 32px; align-items: center;
}
.check-list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.check-list li {
  padding-left: 26px; position: relative; color: #dbeafe; font-size: 15px;
}
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0; color: var(--green); font-weight: 700;
}
.cta-panel {
  background: var(--surface); border: 2px solid rgba(245, 197, 24, 0.5);
  border-radius: 20px; padding: 26px; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}
.cta-panel-title { font-family: "Space Grotesk", sans-serif; font-size: 22px; font-weight: 700; color: #fff; margin-bottom: 10px; }
.cta-meta { font-size: 12.5px; color: var(--muted); text-align: center; margin-top: 12px; }

.faq-wrap { max-width: 820px; }
details {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 14px; padding: 16px 20px; margin-bottom: 12px;
}
summary {
  font-weight: 600; color: #fff; cursor: pointer; font-size: 16px; list-style: none;
}
details p { margin-top: 12px; margin-bottom: 0; font-size: 15px; }

.footer { border-top: 1px solid var(--line); padding: 24px 0 76px; font-size: 14px; color: var(--muted); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.footer a { color: #86efac; text-decoration: none; font-weight: 600; }

.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 40;
  background: #22c55e; color: #052e16; font-weight: 700; font-size: 14px;
  padding: 12px 18px; border-radius: 999px; text-decoration: none;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
}

@media (max-width: 920px) {
  .hero-grid, .cta-box { grid-template-columns: minmax(0, 1fr); }
  .cards-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .cards-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-stats { grid-template-columns: minmax(0, 1fr); }
  .topbar-inner .btn-sm { padding: 8px 10px; font-size: 12.5px; }
}
