:root {
  --navy: #0f223a;
  --navy-2: #183252;
  --teal: #49c2b4;
  --teal-soft: #e8f8f6;
  --blue: #2f80ed;
  --gold: #d3a74a;
  --text: #1f2937;
  --muted: #667085;
  --bg: #f7fafc;
  --white: #ffffff;
  --line: #e6ebf2;
  --shadow: 0 10px 30px rgba(15, 34, 58, 0.08);
  --radius: 18px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(247, 250, 252, 0.88);
  border-bottom: 1px solid rgba(230, 235, 242, 0.9);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand img {
  height: 56px;
  width: auto;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--navy);
}

.brand-sub {
  font-size: 0.78rem;
  color: var(--muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.nav-links a {
  font-size: 0.95rem;
  color: var(--muted);
}

.nav-links a:hover { color: var(--navy); }
.nav-links a.active { color: var(--navy); font-weight: 700; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 20px;
  border-radius: 12px;
  font-weight: 700;
  transition: 0.22s ease;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--navy);
  color: var(--white);
  box-shadow: var(--shadow);
}

.btn-primary:hover { background: var(--navy-2); }

.btn-secondary {
  background: var(--white);
  color: var(--navy);
  border-color: var(--line);
}

.btn-secondary:hover { border-color: #c9d3e2; }

.hero {
  padding: 72px 0 36px;
  background:
    radial-gradient(circle at 20% 10%, rgba(47,128,237,0.08), transparent 30%),
    radial-gradient(circle at 85% 0%, rgba(73,194,180,0.12), transparent 28%),
    linear-gradient(180deg, #f9fcff 0%, #f7fafc 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 34px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--teal-soft);
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 16px;
  font-size: clamp(2.3rem, 5vw, 4.5rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
  color: var(--navy);
}

.hero p {
  margin: 0;
  max-width: 720px;
  font-size: 1.08rem;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.hero-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.hero-point {
  background: rgba(255,255,255,0.78);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
}

.hero-point strong {
  display: block;
  color: var(--navy);
  font-size: 1rem;
  margin-bottom: 4px;
}

.hero-point span {
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 24px;
  overflow: hidden;
}

.hero-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  gap: 12px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 0.82rem;
  font-weight: 700;
  background: #eef4ff;
  color: var(--blue);
}

.status-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 18px;
}

.status-card {
  background: #fbfdff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
}

.status-card h4 {
  margin: 0 0 10px;
  font-size: 0.95rem;
  color: var(--navy);
}

.status-bar {
  height: 10px;
  border-radius: 999px;
  background: #e9eef7;
  overflow: hidden;
  margin-bottom: 8px;
}

.status-bar > span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--teal));
}

.status-note {
  font-size: 0.85rem;
  color: var(--muted);
}

.mini-list {
  display: grid;
  gap: 10px;
}

.mini-item {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fcfeff;
  font-size: 0.92rem;
}

.mini-item strong {
  color: var(--navy);
  font-size: 0.92rem;
}

section {
  padding: 84px 0;
}

.section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-head h2 {
  margin: 0 0 12px;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--navy);
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px;
  box-shadow: 0 6px 20px rgba(15, 34, 58, 0.04);
}

.icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #eef4ff, #e8fbf8);
  color: var(--navy);
  font-size: 1.2rem;
  margin-bottom: 14px;
  font-weight: 800;
}

.card h3 {
  margin: 0 0 10px;
  font-size: 1.05rem;
  color: var(--navy);
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.dark-band {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  color: var(--white);
}

.dark-band .section-head h2,
.dark-band .section-head p,
.dark-band .card h3,
.dark-band .card p {
  color: var(--white);
}

.dark-band .card {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.12);
  box-shadow: none;
}

.dark-band .icon {
  background: rgba(255,255,255,0.12);
  color: var(--white);
}

.process {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.process-step {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px;
}

.step-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-weight: 800;
  margin-bottom: 16px;
}

.process-step h3 {
  margin: 0 0 8px;
  color: var(--navy);
}

.process-step p {
  margin: 0;
  color: var(--muted);
}

.cta {
  padding: 84px 0;
}

.cta-box {
  background: linear-gradient(135deg, #eff6ff 0%, #ebfaf7 100%);
  border: 1px solid #dce7f5;
  border-radius: 28px;
  padding: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cta-box h2 {
  margin: 0 0 10px;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--navy);
}

.cta-box p {
  margin: 0;
  max-width: 700px;
  color: var(--muted);
}

footer {
  padding: 28px 0 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: #fbfdff;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ───────────────────────── multi-page additions ───────────────────────── */

/* Compact page hero for interior pages */
.page-hero {
  padding: 64px 0 12px;
  background:
    radial-gradient(circle at 18% 0%, rgba(47,128,237,0.07), transparent 32%),
    radial-gradient(circle at 88% 0%, rgba(73,194,180,0.10), transparent 30%),
    linear-gradient(180deg, #f9fcff 0%, #f7fafc 100%);
}
.page-hero h1 { font-size: clamp(2rem, 4vw, 3.4rem); }
.page-hero .lead {
  margin: 0;
  max-width: 760px;
  color: var(--muted);
  font-size: 1.08rem;
}

/* Small inline tags for tiers/packs */
.tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid var(--line);
}
.tag-free { background: var(--teal-soft); color: #14756a; border-color: #bfe9e3; }
.tag-standard { background: #eef4ff; color: var(--blue); border-color: #d3e2fb; }
.tag-enterprise { background: #fbf3e2; color: #9a7212; border-color: #ecdcb3; }

/* Pricing plan cards */
.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}
.plan-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 26px;
  box-shadow: 0 6px 20px rgba(15, 34, 58, 0.04);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.plan-card.featured {
  border-color: var(--blue);
  box-shadow: 0 14px 40px rgba(47,128,237,0.16);
  position: relative;
}
.plan-card.featured::before {
  content: "Most popular";
  position: absolute;
  top: -12px;
  left: 26px;
  background: var(--blue);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
}
.plan-name { margin: 6px 0 4px; font-size: 1.3rem; font-weight: 800; color: var(--navy); }
.plan-tagline { margin: 0 0 16px; color: var(--muted); font-size: 0.95rem; min-height: 42px; }
.plan-price { font-size: 1.9rem; font-weight: 800; color: var(--navy); letter-spacing: -0.02em; }
.plan-price small { font-size: 0.9rem; font-weight: 600; color: var(--muted); }
.plan-meta {
  margin: 14px 0;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 6px;
  font-size: 0.9rem;
  color: var(--muted);
}
.plan-meta b { color: var(--navy); }
.feature-list { list-style: none; margin: 16px 0 22px; padding: 0; display: grid; gap: 10px; }
.feature-list li { position: relative; padding-left: 26px; font-size: 0.93rem; color: var(--text); }
.feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0; top: 0;
  color: var(--teal);
  font-weight: 800;
}
.feature-list li.off { color: var(--muted); }
.feature-list li.off::before { content: "–"; color: #c2ccda; }
.plan-card .btn { margin-top: auto; width: 100%; }

/* Comparison table */
.cmp-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 18px; background: var(--white); }
table.cmp { width: 100%; border-collapse: collapse; min-width: 640px; }
table.cmp th, table.cmp td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); font-size: 0.93rem; }
table.cmp thead th { background: #fbfdff; color: var(--navy); font-weight: 800; }
table.cmp td:first-child, table.cmp th:first-child { color: var(--navy); font-weight: 600; }
table.cmp tr:last-child td { border-bottom: none; }
table.cmp .yes { color: var(--teal); font-weight: 800; }
table.cmp .no { color: #c2ccda; font-weight: 800; }

/* Module catalog */
.module-group { margin-bottom: 30px; }
.module-group > h3 {
  margin: 0 0 14px;
  font-size: 1.05rem;
  color: var(--navy);
  display: flex; align-items: center; gap: 10px;
}
.module-group > h3 .chip {
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--blue); background: #eef4ff; border-radius: 999px; padding: 3px 10px;
}
.module-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; }
.module-card {
  background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px;
}
.module-card h4 { margin: 0 0 6px; font-size: 1rem; color: var(--navy); }
.module-card p { margin: 0; font-size: 0.9rem; color: var(--muted); }
.module-card .free-flag { display: inline-block; margin-top: 10px; }

/* Callout note */
.note {
  background: var(--teal-soft);
  border: 1px solid #bfe9e3;
  border-radius: 16px;
  padding: 18px 20px;
  color: #14564f;
  font-size: 0.96rem;
}
.note b { color: #0f3d38; }

.center { text-align: center; }
.muted { color: var(--muted); }

@media (max-width: 1080px) {
  .hero-grid,
  .grid-4,
  .grid-3,
  .process,
  .plans,
  .module-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav { flex-direction: column; align-items: flex-start; }
  .nav-links { width: 100%; justify-content: space-between; gap: 12px; }
  .hero, section, .cta { padding: 58px 0; }
  .hero-points,
  .status-grid,
  .grid-4,
  .grid-3,
  .grid-2,
  .process,
  .plans,
  .module-grid {
    grid-template-columns: 1fr;
  }
  .brand img { height: 48px; }
  .cta-box { padding: 28px; }
}
