:root {
  /* EPMS brand: navy + gold, from the logo */
  --brand: #22357a;
  --brand-dark: #111c45;
  --brand-soft: #eef1fb;
  --navy: #1b2a5e;
  --navy-deep: #0d1638;
  --gold: #d4af37;
  --gold-light: #f2d27a;
  --gold-dark: #b8892b;
  --ink: #111a33;
  --muted: #5b6478;
  --line: #e2e6ef;
  --bg: #ffffff;
  --bg-alt: #f6f7fb;
  --accent: #d4af37;
  --good: #15803d;
  --danger: #dc2626;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(17, 28, 69, .09);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 16px/1.6 -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; color: var(--ink); background: var(--bg); }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); }
img { max-width: 100%; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.center { text-align: center; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 10px; font-weight: 600; border: 2px solid transparent; cursor: pointer; font-size: 15px; transition: .15s; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); color: #fff; }
.btn-ghost { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-light { background: #fff; color: var(--brand); }
.btn-light:hover { color: var(--brand-dark); background: #f0fdfa; }
.btn-outline-light { border-color: rgba(255,255,255,.6); color: #fff; }
.btn-outline-light:hover { background: rgba(255,255,255,.1); color: #fff; }
.btn-sm { padding: 8px 14px; font-size: 14px; }
.btn-block { width: 100%; justify-content: center; }

/* header */
.top { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.95); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 24px; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; color: var(--ink); }
.logo img { height: 40px; width: auto; border-radius: 6px; }
.logo .mark { width: 36px; height: 36px; border-radius: 9px; background: var(--brand); color: #fff; display: grid; place-items: center; font-size: 18px; }
.nav { display: flex; gap: 22px; margin-left: 18px; }
.nav a { color: var(--muted); font-weight: 500; font-size: 15px; }
.nav a:hover { color: var(--ink); }
.top .actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.top .phone { color: var(--muted); font-size: 14px; white-space: nowrap; }
.menu-toggle { display: none; background: none; border: 0; font-size: 22px; color: var(--ink); cursor: pointer; }

/* hero */
.hero { background: radial-gradient(1200px 500px at 85% -10%, #d7f0ea 0, transparent 60%), linear-gradient(180deg, #f3faf8, #fff); padding: 72px 0 56px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-block; background: var(--brand-soft); color: var(--brand-dark); font-weight: 600; font-size: 13px; padding: 6px 12px; border-radius: 999px; margin-bottom: 18px; }
.hero h1 { font-size: 46px; letter-spacing: -.5px; }
.hero h1 span { color: var(--brand); }
.hero .lead { font-size: 18px; color: var(--muted); margin: 0 0 26px; max-width: 560px; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
.ticks { display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--muted); font-size: 14px; padding: 0; margin: 0; list-style: none; }
.ticks li::before { content: "\f00c"; font-family: FontAwesome; color: var(--brand); margin-right: 7px; }

/* dashboard preview (illustration) */
.preview { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); padding: 18px; }
.preview .bar { display: flex; gap: 6px; margin-bottom: 14px; }
.preview .bar i { width: 10px; height: 10px; border-radius: 50%; background: #e5e7eb; display: block; }
.preview .bar b { margin-left: 10px; font-size: 13px; color: var(--muted); font-weight: 600; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 14px; }
.kpi { background: var(--bg-alt); border-radius: 10px; padding: 10px; }
.kpi small { display: block; color: var(--muted); font-size: 11px; }
.kpi strong { font-size: 18px; }
.chart { display: flex; align-items: flex-end; gap: 8px; height: 110px; padding: 10px; background: var(--bg-alt); border-radius: 10px; margin-bottom: 14px; }
.chart span { flex: 1; background: linear-gradient(180deg, #14b8a6, var(--brand)); border-radius: 5px 5px 0 0; opacity: .9; }
.alerts { display: grid; gap: 8px; }
.alert-row { display: flex; align-items: center; justify-content: space-between; font-size: 13px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 9px; }
.pill { font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 999px; }
.pill.g { background: #dcfce7; color: #166534; }
.pill.a { background: #fef3c7; color: #92400e; }
.pill.r { background: #fee2e2; color: #991b1b; }
.preview .note { text-align: center; font-size: 11px; color: var(--muted); margin-top: 10px; }

/* tags strip */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; padding: 22px 0; }
.strip .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; justify-content: center; }
.strip strong { margin-right: 6px; }
.tag { border: 1px solid var(--line); border-radius: 999px; padding: 5px 13px; font-size: 14px; color: var(--muted); background: var(--bg-alt); }

/* sections */
section.block { padding: 84px 0; }
section.alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 46px; }
.section-head h2 { font-size: 34px; letter-spacing: -.3px; }
.section-head p { color: var(--muted); font-size: 17px; margin: 0; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; transition: .15s; }
.feature:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.feature .ic { width: 46px; height: 46px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; font-size: 20px; margin-bottom: 14px; }
.feature h3 { font-size: 18px; }
.feature p { color: var(--muted); margin: 0; font-size: 15px; }

/* lifecycle */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: step; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; position: relative; }
.step .n { font-weight: 800; color: var(--brand); font-size: 13px; letter-spacing: 1px; }
.step h4 { margin: 6px 0 4px; font-size: 17px; }
.step p { margin: 0; color: var(--muted); font-size: 14px; }

/* how trial works */
.howto { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.howto div { text-align: center; padding: 10px; }
.howto .ic { width: 56px; height: 56px; border-radius: 50%; margin: 0 auto 12px; background: var(--brand); color: #fff; display: grid; place-items: center; font-size: 22px; }
.howto h4 { font-size: 16px; margin-bottom: 4px; }
.howto p { font-size: 14px; color: var(--muted); margin: 0; }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 360px)); justify-content: center; gap: 20px; align-items: stretch; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 28px; display: flex; flex-direction: column; position: relative; }
.plan.hot { border: 2px solid var(--brand); box-shadow: var(--shadow); }
.plan .badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--brand); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.plan h3 { font-size: 20px; margin-bottom: 4px; }
.plan .tagline { color: var(--muted); font-size: 14px; margin: 0; min-height: 42px; }
.plan .price { font-size: 38px; font-weight: 800; margin: 14px 0 2px; letter-spacing: -.5px; }
.plan .price .cur { font-size: 17px; font-weight: 700; color: var(--muted); margin-right: 4px; vertical-align: 14px; letter-spacing: 0; }
.plan .price small { font-size: 15px; font-weight: 500; color: var(--muted); }
.plan ul { list-style: none; padding: 0; margin: 18px 0 24px; flex: 1; }
.plan li { padding: 6px 0; font-size: 15px; border-bottom: 1px dashed var(--line); }
.plan li::before { content: "\f00c"; font-family: FontAwesome; color: var(--brand); margin-right: 9px; }
.pricing-note { text-align: center; color: var(--muted); margin-top: 26px; font-size: 15px; }

/* highlight strip */
.highlights { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.highlights div { display: flex; gap: 12px; align-items: flex-start; }
.highlights .ic { color: var(--brand); font-size: 22px; width: 28px; }
.highlights h4 { font-size: 16px; margin: 0 0 2px; }
.highlights p { margin: 0; color: var(--muted); font-size: 14px; }

/* faq */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px; margin-bottom: 10px; }
.faq summary { font-weight: 600; cursor: pointer; }
.faq details p { color: var(--muted); margin: 10px 0 0; }

/* closing cta */
.final { background: linear-gradient(135deg, var(--brand), #134e4a); color: #fff; border-radius: 22px; padding: 54px 40px; text-align: center; }
.final h2 { font-size: 32px; }
.final p { opacity: .9; font-size: 17px; max-width: 640px; margin: 0 auto 24px; }
.final .cta { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }

/* footer */
footer { background: var(--ink); color: #b6c2cf; padding: 48px 0 26px; margin-top: 84px; font-size: 15px; }
footer .cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 30px; }
footer h4 { color: #fff; font-size: 15px; }
footer a { color: #b6c2cf; display: block; padding: 3px 0; }
footer a:hover { color: #fff; }
footer .logo { color: #fff; margin-bottom: 10px; }
footer .copy { border-top: 1px solid #23364a; margin-top: 30px; padding-top: 18px; font-size: 13px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.wa-float { position: fixed; right: 20px; bottom: 20px; width: 54px; height: 54px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; font-size: 28px; box-shadow: 0 6px 18px rgba(0,0,0,.2); z-index: 60; }
.wa-float:hover { color: #fff; transform: scale(1.05); }

/* register */
.reg { padding: 56px 0 20px; background: linear-gradient(180deg, #f3faf8, #fff 340px); }
.reg .wrap { display: grid; grid-template-columns: 1fr 1.25fr; gap: 40px; align-items: start; }
.reg aside h1 { font-size: 34px; }
.reg aside ol { padding-left: 0; list-style: none; counter-reset: s; margin: 24px 0; }
.reg aside ol li { counter-increment: s; position: relative; padding: 0 0 18px 48px; }
.reg aside ol li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 14px; }
.reg aside ol li strong { display: block; }
.reg aside ol li span { color: var(--muted); font-size: 15px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); padding: 30px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.field label small { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; padding: 11px 13px; border: 1px solid #cfd8e1; border-radius: 9px; font: inherit; font-size: 15px; background: #fff; color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(15,118,110,.15); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); margin: 6px 0 20px; }
.check input { margin-top: 4px; }
.errors { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; border-radius: 10px; padding: 12px 16px 12px 34px; margin-bottom: 18px; font-size: 15px; }
.errors li { margin: 2px 0; }
.hp { position: absolute; left: -5000px; }
.done { text-align: center; max-width: 640px; margin: 0 auto; padding: 70px 0 10px; }
.done .ic { width: 76px; height: 76px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; font-size: 34px; margin: 0 auto 20px; }
.done h1 { font-size: 32px; }
.done .box { text-align: left; margin: 26px 0; }

@media (max-width: 980px) {
  .hero .wrap, .reg .wrap { grid-template-columns: 1fr; }
  .hero h1 { font-size: 36px; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .steps, .howto, .highlights { grid-template-columns: repeat(2, 1fr); }
  .nav, .top .phone { display: none; }
  .menu-toggle { display: block; }
  .top.open .nav { display: flex; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0; background: #fff; padding: 14px 20px; border-bottom: 1px solid var(--line); margin: 0; }
}
.hero .wrap > *, .reg .wrap > *, .features > *, .plans > * { min-width: 0; }
body { overflow-x: hidden; }
@media (max-width: 620px) {
  .wrap { padding: 0 16px; }
  .top .wrap { gap: 10px; }
  .logo img { height: 30px; }
  .logo.has-img .brand-name { display: none; }
  .top .actions { gap: 6px; }
  .top .actions .btn-primary { padding: 7px 11px; font-size: 13px; }
  .hero .cta .btn { width: 100%; justify-content: center; }
  .hero { padding: 44px 0 36px; }
  .hero h1 { font-size: 30px; }
  .features, .steps, .howto, .highlights, .grid2, footer .cols { grid-template-columns: 1fr; }
  .kpis { grid-template-columns: repeat(2, 1fr); }
  section.block { padding: 56px 0; }
  .section-head h2, .final h2 { font-size: 26px; }
  .final { padding: 36px 20px; }
  .top .actions .btn-ghost { display: none; }
  .card { padding: 20px; }
}
