:root {
  --m-dark: #16223f;
  --m-dark2: #1d2c52;
  --m-accent: #2f5fe0;
  --m-accent-light: #6f8dff;
  --m-green: #1e9d55;
  --m-ink: #10192e;
  --m-ink-soft: #5a6578;
  --m-line: #e3e7f0;
  --m-bg: #f6f7fb;
}
* { box-sizing: border-box; }
body {
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  background: var(--m-bg);
  color: var(--m-ink);
  margin: 0;
}
a { color: inherit; }

.m-nav {
  background: var(--m-dark);
  color: #fff;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.m-nav .brand {
  font-size: 19px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #fff;
}
.m-nav .brand .dot { color: var(--m-accent-light); }
.m-nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
}
.m-nav-links a {
  color: #cdd6ec;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}
.m-nav-links a:hover { color: #fff; }
.m-nav-btn {
  background: var(--m-accent);
  color: #fff !important;
  padding: 9px 18px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
}
.m-nav-btn:hover { background: #2450c4; }

.m-hero {
  background: linear-gradient(180deg, var(--m-dark) 0%, var(--m-dark2) 100%);
  color: #fff;
  text-align: center;
  padding: 80px 24px 90px;
}
.m-hero .kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 24px;
}
.m-hero .kicker .dot { width: 7px; height: 7px; border-radius: 999px; background: #56d17a; }
.m-hero h1 {
  font-size: 46px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
.m-hero p {
  font-size: 18px;
  color: #b9c3e0;
  max-width: 600px;
  margin: 0 auto 34px;
  line-height: 1.6;
}
.m-hero-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.m-btn-primary {
  background: var(--m-accent);
  color: #fff;
  padding: 15px 30px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 15.5px;
  text-decoration: none;
  display: inline-block;
}
.m-btn-primary:hover { background: #2450c4; }
.m-btn-ghost {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.22);
  color: #fff;
  padding: 15px 30px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 15.5px;
  text-decoration: none;
  display: inline-block;
}
.m-btn-ghost:hover { background: rgba(255,255,255,0.14); }

.m-section { max-width: 1080px; margin: 0 auto; padding: 70px 24px; }
.m-section h2 { font-size: 30px; font-weight: 800; text-align: center; margin: 0 0 12px; }
.m-section .lead { text-align: center; color: var(--m-ink-soft); font-size: 16px; max-width: 560px; margin: 0 auto 48px; }

.m-toolgrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.m-toolcard {
  background: #fff;
  border: 1px solid var(--m-line);
  border-radius: 14px;
  padding: 26px;
  text-decoration: none;
  color: var(--m-ink);
  transition: box-shadow .15s, transform .15s, border-color .15s;
}
.m-toolcard:hover {
  box-shadow: 0 10px 30px rgba(20,40,90,0.10);
  border-color: var(--m-accent);
  transform: translateY(-2px);
}
.m-toolcard .icon {
  width: 44px; height: 44px;
  border-radius: 11px;
  background: #eef2ff;
  color: var(--m-accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  margin-bottom: 16px;
}
.m-toolcard h3 { font-size: 17px; font-weight: 800; margin: 0 0 8px; }
.m-toolcard p { font-size: 13.5px; color: var(--m-ink-soft); line-height: 1.55; margin: 0; }

.m-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
  margin-top: 10px;
}
.m-feature { text-align: center; }
.m-feature .fi {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: #eafaf0;
  color: var(--m-green);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  margin: 0 auto 16px;
}
.m-feature h4 { font-size: 15.5px; font-weight: 800; margin: 0 0 8px; }
.m-feature p { font-size: 13.5px; color: var(--m-ink-soft); line-height: 1.55; margin: 0; }

.m-cta {
  background: var(--m-dark);
  color: #fff;
  text-align: center;
  padding: 64px 24px;
}
.m-cta h2 { font-size: 28px; font-weight: 800; margin: 0 0 14px; }
.m-cta p { color: #b9c3e0; margin: 0 0 30px; font-size: 15.5px; }

.m-footer {
  background: var(--m-dark2);
  color: #b9c3e0;
  padding: 48px 24px 28px;
}
.m-footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 32px;
}
.m-footer h5 { color: #fff; font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; margin: 0 0 14px; }
.m-footer p { font-size: 13.5px; line-height: 1.6; margin: 0; max-width: 320px; }
.m-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.m-footer a { color: #b9c3e0; text-decoration: none; font-size: 13.5px; }
.m-footer a:hover { color: #fff; }
.m-footer-bottom {
  max-width: 1080px;
  margin: 36px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 12.5px;
  color: #8894b5;
  text-align: center;
}

@media (max-width: 640px) {
  .m-hero h1 { font-size: 32px; }
  .m-hero p { font-size: 15.5px; }
  .m-footer-inner { grid-template-columns: 1fr; }
  .m-nav { padding: 14px 16px; }
}
