:root {
  --navy: #071536;
  --navy-2: #0b2460;
  --blue: #1d4ed8;
  --sky: #38bdf8;
  --text: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #f8fafc;
  --white: #fff;
  --radius: 18px;
  --max: 1140px;
  --shadow: 0 18px 40px rgba(7, 21, 54, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family: "DM Sans", "Segoe UI", sans-serif;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }

.wrap { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }
.eyebrow {
  display: inline-flex;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--blue);
  background: #eff6ff;
}
h1, h2, h3 { font-family: Outfit, "DM Sans", sans-serif; line-height: 1.15; margin: 0 0 12px; }
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 12px; color: var(--muted); }
.lead { font-size: 1.08rem; max-width: 64ch; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.topbar-inner, .nav-links, .nav-cta, .brand {
  display: flex;
  align-items: center;
}
.topbar-inner { justify-content: space-between; min-height: 72px; gap: 16px; }
.brand { gap: 10px; font-weight: 800; color: var(--navy); }
.brand img { width: 40px; height: 40px; }
.brand small { display: block; color: var(--muted); font-size: 11px; font-weight: 500; }
.nav-links { gap: 22px; }
.nav-links a { color: #334155; font-weight: 600; }
.nav-links a:hover, .nav-links a.active { color: var(--blue); }
.nav-cta { gap: 10px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 10px;
  padding: 11px 18px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: 0.18s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: #1e40af; }
.btn-ghost { border-color: var(--line); color: var(--navy); background: #fff; }
.btn-white { background: #fff; color: var(--navy); }
.btn-line { border-color: rgba(255,255,255,.35); color: #fff; }
.menu-btn { display: none; background: none; border: 0; font-size: 28px; cursor: pointer; color: var(--navy); }

.hero {
  background: linear-gradient(160deg, #071536 0%, #0b2460 55%, #12357a 100%);
  color: #fff;
  padding: 72px 0 64px;
}
.hero p, .hero .lead { color: #cbd5e1; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 28px; align-items: center; }
.hero h1 span { color: #7dd3fc; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 22px; }
.pill {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.1);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid rgba(255,255,255,.12);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.dash {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 20px;
  padding: 20px;
}
.dash img { border-radius: 12px; height: 210px; object-fit: cover; width: 100%; }
.dash-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.dash-row div { background: rgba(255,255,255,.08); border-radius: 12px; padding: 12px; }
.dash-row b { display: block; color: #fff; }

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: -28px;
  position: relative;
}
.stats .card, .card, .module, .plan {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
}
.stats .card { text-align: center; }
.stats b { display: block; font-size: 1.5rem; color: var(--navy); }

section { padding: 72px 0; }
.section-head { margin-bottom: 28px; }
.section-head.center { text-align: center; }
.section-head.center p { margin-inline: auto; }
.bg { background: var(--bg); }
.two, .three, .four, .plans, .contact-grid { display: grid; gap: 20px; }
.two { grid-template-columns: 1fr 1fr; }
.three { grid-template-columns: repeat(3, 1fr); }
.four { grid-template-columns: repeat(4, 1fr); }
.plans { grid-template-columns: repeat(4, 1fr); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.tag { background: #eff6ff; color: #1d4ed8; font-size: 12px; font-weight: 700; padding: 4px 8px; border-radius: 999px; }
.icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center; margin-bottom: 12px;
  background: #eff6ff; font-size: 22px;
}
.list { margin: 0; padding: 0; list-style: none; }
.list li { padding: 7px 0 7px 20px; position: relative; color: #334155; }
.list li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); position: absolute; left: 0; top: 14px; }
.plan.featured { outline: 2px solid var(--blue); }
.price { font-size: 1.7rem; color: var(--navy); margin: 8px 0; }
.price small { font-size: 14px; color: var(--muted); font-weight: 500; }
.table-wrap { overflow: auto; border: 1px solid var(--line); border-radius: 16px; }
table { width: 100%; border-collapse: collapse; min-width: 720px; }
th, td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); }
th { background: var(--bg); color: var(--navy); }
td { color: var(--muted); }

.cta {
  background: linear-gradient(160deg, #071536, #1d4ed8);
  color: #fff;
  border-radius: 24px;
  padding: 36px;
}
.cta p { color: #dbeafe; }

.contact-grid { grid-template-columns: 0.9fr 1.1fr; }
.contact-actions { display: grid; gap: 12px; }
.contact-link {
  display: flex; gap: 12px; align-items: center;
  padding: 16px; border-radius: 16px; border: 1px solid var(--line); background: #fff;
}
.contact-link:hover { border-color: var(--blue); }
.contact-link b { display: block; color: var(--navy); }
form { display: grid; gap: 12px; }
label { font-size: 13px; color: #334155; font-weight: 600; }
input, select, textarea {
  width: 100%; margin-top: 6px; padding: 12px 14px;
  border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--text);
}
textarea { min-height: 120px; resize: vertical; }
.alert { padding: 12px 14px; border-radius: 12px; background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }
.alert.error { background: #fef2f2; color: #b91c1c; border-color: #fecaca; }

.social { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.social a {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.2);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}
.social a:hover { background: rgba(255,255,255,.1); }
.social-light a { border-color: var(--line); color: var(--navy); }
.social-light a:hover { background: #eff6ff; }

.float-contact { position: fixed; right: 18px; bottom: 18px; z-index: 60; display: grid; gap: 8px; }
.float-contact a {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  font-weight: 800; box-shadow: var(--shadow); color: #fff; font-size: 12px;
}
.float-contact .mail { background: var(--blue); }
.float-contact .call { background: #0f766e; }
.float-contact .fb { background: #1877f2; }
.float-contact .yt { background: #ff0000; }

footer { background: var(--navy); color: #94a3b8; padding: 42px 0 24px; }
footer h3 { color: #fff; }
footer a:hover { color: #fff; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 24px; }
.copy { margin-top: 24px; font-size: 13px; border-top: 1px solid rgba(255,255,255,.08); padding-top: 16px; }

@media (max-width: 980px) {
  .hero-grid, .two, .three, .four, .stats, .plans, .contact-grid, .foot-grid, .dash-row {
    grid-template-columns: 1fr;
  }
  .nav-links, .nav-cta { display: none; }
  .topbar.open .nav-links, .topbar.open .nav-cta {
    display: flex; flex-direction: column; align-items: flex-start; width: 100%; padding-bottom: 16px;
  }
  .topbar.open .topbar-inner { flex-wrap: wrap; }
  .menu-btn { display: block; }
  .stats { margin-top: 24px; }
}
