:root {
  --navy: #0b1a3a;
  --navy-2: #12285a;
  --blue: #1565e8;
  --cyan: #1fb6f0;
  --ink: #142033;
  --muted: #5d6b7e;
  --line: #e2e8f0;
  --bg: #ffffff;
  --soft: #f3f8fd;
  --good: #1f9d55;
  --warn: #d97706;
  --radius: 18px;
  --shadow: 0 20px 50px rgba(11, 26, 58, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
h1, h2, h3 { line-height: 1.15; margin: 0; letter-spacing: -.02em; }
.wrap { width: min(1140px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); }
.center { text-align: center; }

/* Header */
.top {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.top-row { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--navy); font-weight: 800; letter-spacing: .14em; font-size: 18px; }
.brand.small { font-size: 14px; }
.nav { display: flex; gap: 24px; margin-left: 12px; }
.nav a { color: var(--muted); font-weight: 600; font-size: 15px; }
.nav a:hover { color: var(--ink); }
.top-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.lang {
  border: 1px solid var(--line); background: #fff; color: var(--ink);
  font-weight: 700; font-size: 13px; border-radius: 999px; height: 36px; min-width: 44px; cursor: pointer;
}
.menu { display: none; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 40px; padding: 0 18px; border-radius: 999px;
  font-weight: 700; font-size: 15px; white-space: nowrap;
  border: 1px solid transparent; transition: transform .15s, box-shadow .15s, background .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn.primary { background: linear-gradient(135deg, var(--blue), var(--cyan)); color: #fff; box-shadow: 0 8px 20px rgba(21, 101, 232, .28); }
.btn.ghost { background: #fff; color: var(--navy); border-color: #cdd8e6; }
.btn.light { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn.lg { height: 50px; padding: 0 26px; font-size: 16px; }
.btn.block { width: 100%; margin-top: auto; }

/* Hero */
.hero { background: radial-gradient(1000px 500px at 85% 0%, #dff1ff 0%, transparent 60%), linear-gradient(180deg, #f7fbff, #fff); padding: 72px 0 88px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.eyebrow { color: var(--blue); font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: .14em; margin: 0 0 14px; }
h1 { font-size: clamp(38px, 5.4vw, 62px); color: var(--navy); }
h1 em { font-style: normal; background: linear-gradient(135deg, var(--blue), var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 19px; color: var(--muted); margin: 22px 0 30px; max-width: 34em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.center-row { justify-content: center; }
.fine { color: var(--muted); font-size: 14px; margin-top: 16px; }

/* Hero mock */
.mock { background: #fff; border-radius: 22px; box-shadow: var(--shadow); border: 1px solid var(--line); overflow: hidden; position: relative; }
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; background: var(--navy); color: #c9d6ee; font-size: 13px; font-weight: 600; }
.mock-bar i { width: 9px; height: 9px; border-radius: 50%; background: #2c4479; }
.mock-bar span { margin-left: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-body { padding: 20px; display: grid; gap: 18px; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.kpis div { background: var(--soft); border-radius: 12px; padding: 12px; }
.kpis span { display: block; font-size: 12px; color: var(--muted); font-weight: 600; }
.kpis b { font-size: 19px; color: var(--navy); }
.kpis .good b { color: var(--good); }
.bars { display: grid; gap: 10px; }
.bars div { display: grid; grid-template-columns: 70px 1fr 74px; align-items: center; gap: 10px; font-size: 13px; }
.bars span { color: var(--muted); font-weight: 600; }
.bars i { height: 10px; border-radius: 99px; background: #e8eff8; position: relative; overflow: hidden; }
.bars i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); border-radius: 99px; background: linear-gradient(90deg, var(--blue), var(--cyan)); }
.bars b { text-align: right; color: var(--ink); }
.rows { display: grid; gap: 6px; }
.rows div { display: grid; grid-template-columns: 1fr auto 90px; gap: 10px; align-items: center; font-size: 13px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 10px; }
.rows span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rows em { font-style: normal; font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 99px; }
.rows .ok { background: #e3f6ea; color: var(--good); }
.rows .due { background: #fff2df; color: var(--warn); }
.rows b { text-align: right; }
.mock-note { position: absolute; right: 12px; bottom: 6px; margin: 0; font-size: 10px; color: #a3afbf; text-transform: uppercase; letter-spacing: .1em; }

/* Sections */
.section { padding: 88px 0; }
.section.alt { background: var(--soft); }
h2 { font-size: clamp(28px, 3.6vw, 42px); color: var(--navy); margin-bottom: 44px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; background: #fff; transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.ic { width: 46px; height: 46px; border-radius: 12px; background: var(--soft); display: grid; place-items: center; font-size: 22px; margin-bottom: 16px; }
.card h3 { font-size: 19px; color: var(--navy); margin-bottom: 8px; }
.card p { margin: 0; color: var(--muted); }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.steps li { background: #fff; border-radius: var(--radius); padding: 28px; border: 1px solid var(--line); }
.steps b { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--navy); color: #fff; margin-bottom: 16px; }
.steps h3 { font-size: 19px; color: var(--navy); margin-bottom: 6px; }
.steps p { margin: 0; color: var(--muted); }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: stretch; }
.plan { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; background: #fff; position: relative; }
.plan h3 { font-size: 20px; color: var(--navy); }
.price { font-size: 40px; font-weight: 800; color: var(--navy); margin: 10px 0 4px; letter-spacing: -.02em; }
.price span { font-size: 16px; color: var(--muted); font-weight: 600; }
.plan-sub { color: var(--muted); margin: 0 0 16px; font-size: 15px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 9px; font-size: 15px; }
.plan li { padding-left: 24px; position: relative; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--blue); font-weight: 800; }
.plan.featured { border: 2px solid var(--blue); box-shadow: var(--shadow); }
.badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); margin: 0; background: linear-gradient(135deg, var(--blue), var(--cyan)); color: #fff; font-size: 12px; font-weight: 800; padding: 4px 12px; border-radius: 99px; white-space: nowrap; }

/* FAQ */
details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 0 22px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 700; color: var(--navy); padding: 18px 0; list-style: none; position: relative; padding-right: 28px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 0; top: 14px; font-size: 22px; color: var(--blue); }
details[open] summary::after { content: "−"; }
details p { margin: 0 0 18px; color: var(--muted); }

/* Final CTA + footer */
.final { background: linear-gradient(135deg, var(--navy), var(--navy-2)); color: #fff; }
.final h2 { color: #fff; margin-bottom: 28px; }
.contact-line { margin: 26px 0 0; color: #b9c7e3; }
.contact-line a { color: #fff; font-weight: 700; }
.foot { border-top: 1px solid var(--line); padding: 26px 0; color: var(--muted); font-size: 14px; }
.foot-row { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.foot-row p { margin: 0; }
.foot-row nav { margin-left: auto; display: flex; gap: 18px; }
.foot-row nav a { color: var(--muted); font-weight: 600; }

/* Tablet */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .plans { grid-template-columns: repeat(2, 1fr); row-gap: 26px; }
  .grid3 { grid-template-columns: repeat(2, 1fr); }
}

/* Phone */
@media (max-width: 760px) {
  .top-row { gap: 10px; }
  .hide-sm { display: none; }
  .menu {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 4px;
    width: 40px; height: 40px; border: 1px solid var(--line); background: #fff; border-radius: 10px; padding: 0 10px; cursor: pointer;
  }
  .menu span { height: 2px; background: var(--navy); border-radius: 2px; }
  .nav {
    display: none; position: absolute; top: 68px; left: 0; right: 0; margin: 0;
    flex-direction: column; gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 16px 16px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .hero { padding: 44px 0 60px; }
  .lead { font-size: 17px; }
  .cta-row .btn { flex: 1 1 auto; }
  .section { padding: 64px 0; }
  h2 { margin-bottom: 30px; }
  .grid3, .steps, .plans { grid-template-columns: 1fr; }
  .kpis b { font-size: 16px; }
  .rows div { grid-template-columns: 1fr auto 74px; }
  .foot-row nav { margin-left: 0; }
}
.bars .w62 { --w: 62%; } .bars .w48 { --w: 48%; } .bars .w21 { --w: 21%; }
