:root {
  --blue: #155dfc;
  --blue-dark: #0c3fb0;
  --blue-soft: #e8f0ff;
  --blue-tint: #f4f8ff;
  --ink: #0f1b33;
  --muted: #5a6b85;
  --line: #e4ebf5;
  --white: #ffffff;
  --radius: 16px;
  --shadow: 0 10px 40px rgba(21, 93, 252, 0.10);
  --shadow-lg: 0 24px 60px rgba(21, 93, 252, 0.18);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 15px; border-radius: 10px;
  padding: 12px 22px; cursor: pointer; border: none;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 6px 18px rgba(21,93,252,.32); }
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-2px); box-shadow: 0 10px 26px rgba(21,93,252,.42); }
.btn-ghost { background: transparent; color: var(--blue); border: 1.5px solid var(--blue); }
.btn-ghost:hover { background: var(--blue-soft); }
.btn-white { background: #fff; color: var(--blue); }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(0,0,0,.18); }
.btn-outline-white { background: rgba(255,255,255,.12); color: #fff; border: 1.5px solid rgba(255,255,255,.55); }
.btn-outline-white:hover { background: rgba(255,255,255,.22); }

/* ---------- Header ---------- */
header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 22px; letter-spacing: -.5px; }
.logo-mark {
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--blue);
  display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 20px;
  box-shadow: 0 6px 16px rgba(21,93,252,.4);
}
.brand span:not(.logo-mark) { color: var(--blue); }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { font-weight: 500; font-size: 15px; color: var(--muted); transition: color .15s; }
.nav-links a:hover { color: var(--blue); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.menu-toggle { display: none; background: none; border: none; cursor: pointer; font-size: 26px; color: var(--ink); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1000px 500px at 85% -10%, rgba(21,93,252,.12), transparent 60%),
    radial-gradient(800px 400px at 0% 110%, rgba(21,93,252,.08), transparent 55%),
    var(--blue-tint);
  padding: 84px 0 96px;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--blue-soft); color: var(--blue);
  font-weight: 600; font-size: 13.5px; padding: 7px 14px; border-radius: 999px; margin-bottom: 22px;
}
.badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
.hero h1 { font-size: 52px; line-height: 1.12; font-weight: 800; letter-spacing: -1px; margin-bottom: 20px; }
.hero h1 .hl { color: var(--blue); }
.hero p.lead { font-size: 18.5px; color: var(--muted); max-width: 540px; margin-bottom: 32px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 30px; }
.hero-trust { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; color: var(--muted); font-size: 14px; }
.hero-trust .check { color: var(--blue); font-weight: 700; }

/* Hero visual / dashboard mockup */
.hero-visual { position: relative; }
.dash {
  background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg);
  border: 1px solid var(--line); overflow: hidden;
}
.dash-top { display: flex; align-items: center; gap: 8px; padding: 14px 18px; border-bottom: 1px solid var(--line); background: #fafcff; }
.dash-top .c { width: 11px; height: 11px; border-radius: 50%; }
.dash-top .c.r { background: #ff5f57; } .dash-top .c.y { background: #febc2e; } .dash-top .c.g { background: #28c840; }
.dash-top .url { margin-left: 12px; font-size: 12.5px; color: var(--muted); background:#fff; border:1px solid var(--line); padding:4px 12px; border-radius:7px; }
.dash-body { padding: 20px; }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 16px; }
.stat { background: var(--blue-tint); border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.stat .k { font-size: 12px; color: var(--muted); }
.stat .v { font-size: 22px; font-weight: 800; color: var(--ink); }
.stat .v small { font-size: 13px; color: #1aa260; font-weight: 700; }
.chart { display: flex; align-items: flex-end; gap: 10px; height: 130px; padding: 16px; background: var(--blue-tint); border: 1px solid var(--line); border-radius: 12px; }
.bar { flex: 1; background: linear-gradient(180deg, #4f8dff, var(--blue)); border-radius: 6px 6px 0 0; opacity: .9; }
.floating {
  position: absolute; background: #fff; border-radius: 12px; box-shadow: var(--shadow);
  border: 1px solid var(--line); padding: 12px 16px; display: flex; align-items: center; gap: 10px;
  font-size: 13.5px; font-weight: 600;
}
.floating .ic { width: 32px; height: 32px; border-radius: 8px; background: var(--blue-soft); display: grid; place-items: center; font-size: 16px; }
.float-1 { top: -18px; left: -26px; }
.float-2 { bottom: -20px; right: -22px; }

/* ---------- Logos / trust strip ---------- */
.trust-strip { padding: 36px 0; border-bottom: 1px solid var(--line); }
.trust-strip p { text-align: center; color: var(--muted); font-size: 14px; margin-bottom: 18px; }
.logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 44px; opacity: .7; }
.logos span { font-weight: 800; font-size: 19px; color: var(--muted); letter-spacing: -.5px; }

/* ---------- Section shared ---------- */
section.block { padding: 92px 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section-head .eyebrow { color: var(--blue); font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 12px; }
.section-head h2 { font-size: 38px; font-weight: 800; letter-spacing: -.6px; margin-bottom: 16px; }
.section-head p { font-size: 17.5px; color: var(--muted); }

/* ---------- Features grid ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s;
}
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.feature .ficon {
  width: 54px; height: 54px; border-radius: 13px; display: grid; place-items: center;
  background: var(--blue-soft); font-size: 26px; margin-bottom: 18px;
}
.feature h3 { font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.feature p { font-size: 14.8px; color: var(--muted); }

/* ---------- Modules / showcase ---------- */
.modules { background: var(--blue-tint); }
.module-row { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; margin-bottom: 90px; }
.module-row:last-child { margin-bottom: 0; }
.module-row.rev .m-text { order: 2; }
.m-text .eyebrow { color: var(--blue); font-weight: 700; font-size: 13.5px; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 12px; }
.m-text h3 { font-size: 30px; font-weight: 800; letter-spacing: -.5px; margin-bottom: 16px; }
.m-text p { font-size: 16.5px; color: var(--muted); margin-bottom: 20px; }
.m-list { list-style: none; display: grid; gap: 12px; }
.m-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 15.5px; }
.m-list .tick { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font-size: 13px; font-weight: 700; margin-top: 2px; }
.m-visual {
  background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px;
  box-shadow: var(--shadow); min-height: 280px;
}
.m-visual .mv-title { font-weight: 700; font-size: 15px; margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.mv-row { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; margin-bottom: 10px; font-size: 14px; }
.mv-row .pill { font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.pill.ok { background: #e3f7ec; color: #1aa260; }
.pill.wait { background: #fff3df; color: #c9851a; }
.pill.blue { background: var(--blue-soft); color: var(--blue); }

/* ---------- Stats band ---------- */
.stats-band { background: linear-gradient(135deg, var(--blue), var(--blue-dark)); color: #fff; padding: 70px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.stats-grid .num { font-size: 46px; font-weight: 800; letter-spacing: -1px; }
.stats-grid .lbl { font-size: 15px; opacity: .85; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step { text-align: center; position: relative; }
.step .n { width: 56px; height: 56px; border-radius: 50%; background: var(--blue-soft); color: var(--blue); font-weight: 800; font-size: 22px; display: grid; place-items: center; margin: 0 auto 18px; border: 2px solid var(--blue); }
.step h4 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.step p { font-size: 14.5px; color: var(--muted); }

/* ---------- CTA ---------- */
.cta-final { background: linear-gradient(135deg, var(--blue), var(--blue-dark)); border-radius: 24px; padding: 64px 48px; text-align: center; color: #fff; box-shadow: var(--shadow-lg); }
.cta-final h2 { font-size: 36px; font-weight: 800; letter-spacing: -.6px; margin-bottom: 14px; }
.cta-final p { font-size: 18px; opacity: .9; max-width: 560px; margin: 0 auto 28px; }
.cta-final .hero-cta { justify-content: center; }

/* ---------- Footer ---------- */
footer { background: #0b1a36; color: #c4d1e6; padding: 64px 0 30px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 44px; }
.foot-brand .brand { color: #fff; margin-bottom: 14px; }
.foot-brand p { font-size: 14.5px; color: #9fb0cc; max-width: 320px; }
.foot-col h5 { color: #fff; font-size: 15px; font-weight: 700; margin-bottom: 16px; }
.foot-col a { display: block; font-size: 14.5px; color: #9fb0cc; margin-bottom: 10px; transition: color .15s; }
.foot-col a:hover { color: #fff; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13.5px; color: #8295b3; }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero h1 { font-size: 40px; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .module-row, .module-row.rev .m-text { grid-template-columns: 1fr; order: 0; }
  .module-row .m-visual { order: 2; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 36px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .menu-toggle { display: block; }
  .nav-links.open { display: flex; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; background: #fff; padding: 20px 24px; border-bottom: 1px solid var(--line); gap: 18px; box-shadow: var(--shadow); }
}
@media (max-width: 560px) {
  .hero h1 { font-size: 32px; }
  .section-head h2 { font-size: 28px; }
  .features { grid-template-columns: 1fr; }
  .stats-grid, .steps { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .cta-final { padding: 44px 24px; }
  .cta-final h2 { font-size: 27px; }
}
