/* ====================== Tokens ====================== */
:root {
  --navy-deep: #16294f;
  --navy: #1e3a6b;
  --navy-cta: #122244;
  --blue: #2563eb;
  --blue-400: #3b82f6;
  --blue-300: #60a5fa;
  --green: #16a34a;
  --green-400: #22c55e;

  --white: #ffffff;
  --light: #f5f8fd;
  --text: #1f2a44;
  --muted: #5b6b86;
  --border: #e3eaf5;

  --shadow-sm: 0 1px 2px rgba(18, 34, 68, .06), 0 2px 8px rgba(18, 34, 68, .05);
  --shadow-md: 0 6px 20px rgba(18, 34, 68, .08), 0 2px 6px rgba(18, 34, 68, .05);
  --shadow-lg: 0 24px 60px rgba(18, 34, 68, .16);

  --radius: 16px;
  --radius-sm: 10px;
  --max: 1160px;
}

/* ====================== Base ====================== */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: "Poppins", "Inter", sans-serif; color: var(--navy-deep); line-height: 1.2; margin: 0; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

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

:focus-visible { outline: 3px solid var(--blue-300); outline-offset: 2px; border-radius: 6px; }

/* ====================== Buttons ====================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  font-family: "Inter", sans-serif;
  font-weight: 600; font-size: .95rem;
  padding: 11px 20px; border-radius: 12px;
  border: 1.5px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-lg { padding: 14px 26px; font-size: 1rem; }
.btn-block { width: 100%; }

.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px rgba(37, 99, 235, .28); }
.btn-primary:hover { background: var(--blue-400); box-shadow: 0 10px 26px rgba(37, 99, 235, .35); }

.btn-ghost { background: transparent; color: var(--navy); border-color: var(--border); }
.btn-ghost:hover { background: var(--light); border-color: var(--blue-300); }

.btn-outline { background: #fff; color: var(--blue); border-color: var(--blue-300); }
.btn-outline:hover { background: #eff5ff; border-color: var(--blue); }

.btn-white { background: #fff; color: var(--navy-deep); }
.btn-white:hover { background: #eef3fb; }

/* ====================== Navbar ====================== */
.navbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s ease, border-color .25s ease;
}
.navbar.scrolled { box-shadow: var(--shadow-sm); border-color: var(--border); }
.nav-inner { display: flex; align-items: center; gap: 24px; height: 72px; }
.nav-logo img { height: 40px; width: auto; }
.nav-links { display: flex; gap: 28px; margin-left: auto; }
.nav-links a { font-weight: 500; color: var(--navy); font-size: .95rem; transition: color .2s; }
.nav-links a:hover { color: var(--blue); }
.nav-actions { display: flex; gap: 12px; align-items: center; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 8px; cursor: pointer; margin-left: auto; }
.nav-toggle span { width: 24px; height: 2.5px; background: var(--navy-deep); border-radius: 2px; transition: .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.mobile-menu { display: none; flex-direction: column; padding: 12px 24px 24px; border-top: 1px solid var(--border); background: #fff; }
.mobile-menu a { padding: 12px 4px; font-weight: 500; color: var(--navy); border-bottom: 1px solid var(--border); }
.mobile-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }

/* ====================== Hero ====================== */
.hero {
  background:
    radial-gradient(1100px 500px at 85% -10%, rgba(96, 165, 250, .18), transparent 60%),
    radial-gradient(900px 500px at 0% 10%, rgba(34, 197, 94, .12), transparent 55%),
    linear-gradient(180deg, #f5f8fd 0%, #ffffff 100%);
  padding: 84px 0 96px;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-block; font-size: .82rem; font-weight: 600; letter-spacing: .02em;
  color: var(--blue); background: #eaf1ff; border: 1px solid #d6e4ff;
  padding: 7px 14px; border-radius: 999px; margin-bottom: 20px;
}
.hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); letter-spacing: -.01em; }
.grad { background: linear-gradient(90deg, var(--blue) 0%, var(--green) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 1.15rem; color: var(--muted); margin: 22px 0 30px; max-width: 540px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.trust-line { margin-top: 26px; font-size: .9rem; color: var(--muted); }

/* Mockup */
.hero-visual { position: relative; }
.mockup {
  background: #fff; border-radius: 18px; border: 1px solid var(--border);
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.mockup-bar { display: flex; gap: 7px; padding: 13px 16px; background: #f1f5fb; border-bottom: 1px solid var(--border); }
.dot { width: 11px; height: 11px; border-radius: 50%; }
.dot.red { background: #ff5f57; } .dot.yellow { background: #febc2e; } .dot.green { background: #28c840; }
.mockup-body { padding: 22px; }
.mockup-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.mockup-head strong { font-family: "Poppins"; color: var(--navy-deep); font-size: 1.1rem; }
.pill { font-size: .75rem; font-weight: 600; color: var(--blue); background: #eaf1ff; padding: 4px 12px; border-radius: 999px; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 18px; }
.kpi { background: var(--light); border: 1px solid var(--border); border-radius: 12px; padding: 14px; }
.kpi-label { display: block; font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.kpi-value { display: block; font-family: "Poppins"; font-weight: 700; color: var(--navy-deep); font-size: 1.1rem; margin-top: 4px; }
.chart-card { background: var(--light); border: 1px solid var(--border); border-radius: 12px; padding: 16px; }
.chart-title { font-size: .78rem; color: var(--muted); font-weight: 600; }
.bars { display: flex; align-items: flex-end; gap: 10px; height: 110px; margin-top: 14px; }
.bar { flex: 1; background: linear-gradient(180deg, var(--blue-300), var(--blue)); border-radius: 6px 6px 3px 3px; min-height: 8px; }
.bar.tall { background: linear-gradient(180deg, var(--green-400), var(--green)); }
.float-logo {
  position: absolute; width: 84px; height: auto; bottom: -26px; left: -26px;
  background: #fff; padding: 10px; border-radius: 16px; box-shadow: var(--shadow-md);
}

/* ====================== Trust strip ====================== */
.strip { background: var(--navy-deep); color: #cdd9ef; text-align: center; padding: 18px 0; }
.strip p { font-size: .92rem; letter-spacing: .03em; font-weight: 500; }

/* ====================== Sections ====================== */
.section { padding: 92px 0; }
.section-alt { background: var(--light); }
.section-head { max-width: 660px; margin: 0 auto 56px; text-align: center; }
.section-head .kicker { display: inline-block; font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); margin-bottom: 12px; }
.section-head h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
.section-head p { color: var(--muted); margin-top: 14px; font-size: 1.05rem; }
.section-head.light h2 { color: #fff; }
.section-head.light .kicker { color: var(--green-400); }
.section-head.light p { color: #b9c8e6; }

/* ====================== Features ====================== */
.features-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 22px; }
.feature {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #cfe0f8; }
.feat-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 14px; font-size: 1.5rem; margin-bottom: 16px;
}
.ic-blue { background: #e9f1ff; }
.ic-green { background: #e7f8ee; }
.feature h3 { font-size: 1.12rem; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: .94rem; }

/* ====================== Steps ====================== */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step {
  position: relative; background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 34px 28px; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s;
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 50%; font-family: "Poppins"; font-weight: 700;
  color: #fff; background: linear-gradient(135deg, var(--blue), var(--green)); margin-bottom: 18px; font-size: 1.2rem;
}
.step h3 { font-size: 1.15rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: .96rem; }

/* ====================== Security ====================== */
.security {
  background:
    radial-gradient(900px 400px at 90% 0%, rgba(37, 99, 235, .25), transparent 60%),
    linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 100%);
}
.security-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 22px; }
.sec-card {
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius); padding: 26px; backdrop-filter: blur(4px);
  transition: transform .2s, background .2s;
}
.sec-card:hover { transform: translateY(-4px); background: rgba(255, 255, 255, .1); }
.sec-icon { font-size: 1.7rem; display: block; margin-bottom: 14px; }
.sec-card h3 { color: #fff; font-size: 1.08rem; margin-bottom: 8px; }
.sec-card p { color: #c3d2ee; font-size: .92rem; }

/* ====================== Pricing ====================== */
.pricing-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; align-items: stretch; }
@media (max-width: 1200px) { .pricing-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .pricing-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .pricing-grid { grid-template-columns: 1fr; } }
.plan {
  position: relative; background: #fff; border: 1px solid var(--border); border-radius: 20px;
  padding: 32px 28px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  transition: transform .2s, box-shadow .2s;
}
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.plan h3 { font-size: 1.25rem; }
.plan-featured { border: 2px solid var(--blue); box-shadow: var(--shadow-lg); }
.plan-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--blue); color: #fff; font-size: .75rem; font-weight: 700;
  padding: 5px 14px; border-radius: 999px; letter-spacing: .02em;
}
.price { margin: 16px 0 22px; display: flex; align-items: baseline; gap: 4px; flex-wrap: wrap; }
.price .amount { font-family: "Poppins"; font-weight: 700; font-size: 2rem; color: var(--navy-deep); white-space: nowrap; }
.price .per { color: var(--muted); font-weight: 500; }
.price.price-quote .amount { font-size: 1.5rem; white-space: normal; }
.plan-feats { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 12px; }
.plan-feats li { position: relative; padding-left: 28px; color: var(--text); font-size: .95rem; }
.plan-feats li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--green); font-weight: 700;
  width: 18px; height: 18px; display: inline-flex; align-items: center; justify-content: center;
  background: #e7f8ee; border-radius: 50%; font-size: .7rem; top: 3px;
}
.plan .btn { margin-top: auto; }
.pricing-note { text-align: center; color: var(--muted); font-size: .85rem; margin-top: 24px; }

/* ====================== CTA band ====================== */
.cta-band {
  background:
    radial-gradient(700px 300px at 80% 0%, rgba(37, 99, 235, .35), transparent 60%),
    var(--navy-cta);
  color: #fff; padding: 80px 0;
}
.cta-inner { text-align: center; max-width: 680px; margin: 0 auto; }
.cta-band h2 { color: #fff; font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
.cta-band p { color: #c3d2ee; margin: 16px 0 30px; font-size: 1.1rem; }

/* ====================== Footer ====================== */
.footer { background: var(--navy-cta); color: #b9c8e6; padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 48px; }
.footer-logo-badge { display: inline-block; background: #fff; padding: 10px 14px; border-radius: 12px; box-shadow: var(--shadow-md); }
.footer-logo-badge img { height: 34px; width: auto; }
.footer-brand p { margin-top: 18px; max-width: 320px; font-size: .94rem; color: #9fb1d4; }
.footer-col h4 { color: #fff; font-size: .95rem; margin-bottom: 16px; font-family: "Poppins"; }
.footer-col a { display: block; padding: 6px 0; color: #b9c8e6; font-size: .92rem; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 22px 0; }
.footer-bottom p { font-size: .85rem; color: #8aa0c8; }

/* ====================== Responsive ====================== */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { max-width: 520px; margin: 0 auto; }
  .steps-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav-links, .nav-actions { display: none; }
  .nav-toggle { display: flex; }
  .mobile-menu.open { display: flex; }
  .section { padding: 68px 0; }
  .hero { padding: 56px 0 72px; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .kpis { grid-template-columns: 1fr; }
  .float-logo { width: 64px; bottom: -18px; left: -14px; }
  .hero-ctas .btn { flex: 1; }
}
