/* BlueMon - Blue Monitor */
:root {
  --navy-950: #050d1c;
  --navy-900: #0a1730;
  --navy-800: #0f2244;
  --navy-700: #16305c;
  --blue-500: #2f6bff;
  --blue-400: #4c8dff;
  --blue-300: #8db6ff;
  --white: #ffffff;
  --ink: #0b1a33;
  --muted: #5b6b85;
  --line: #e3e9f3;
  --bg-soft: #f4f7fc;
  --ok: #19c37d;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(10, 23, 48, .10);
  --max: 1160px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--blue-500); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { width: min(var(--max), 100% - 40px); margin-inline: auto; }
.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--blue-500); margin-bottom: 12px;
}
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 640px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 23, 48, .92); backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--white); font-weight: 800; font-size: 1.25rem; }
.brand:hover { text-decoration: none; }
.brand img { width: 34px; height: 34px; }
.brand small { display: block; font-weight: 500; font-size: .7rem; color: var(--blue-300); letter-spacing: .08em; text-transform: uppercase; margin-top: -2px; }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: rgba(255, 255, 255, .82); font-weight: 500; font-size: .95rem; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--white); text-decoration: none; }
.nav-toggle { display: none; background: none; border: 0; color: var(--white); cursor: pointer; padding: 8px; }
.nav-toggle svg { width: 26px; height: 26px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 999px;
  font-weight: 600; font-size: .98rem; border: 2px solid transparent; transition: .2s ease; cursor: pointer;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--blue-500); color: var(--white); box-shadow: 0 8px 22px rgba(47, 107, 255, .35); }
.btn-primary:hover { background: var(--blue-400); }
.btn-ghost { border-color: rgba(255, 255, 255, .35); color: var(--white); }
.btn-ghost:hover { border-color: var(--white); }
.btn-outline { border-color: var(--blue-500); color: var(--blue-500); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: var(--white);
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(76, 141, 255, .35), transparent 60%),
    radial-gradient(700px 400px at -10% 110%, rgba(47, 107, 255, .25), transparent 60%),
    linear-gradient(180deg, var(--navy-900), var(--navy-950));
  padding: 96px 0 110px;
}
.hero::before {
  content: ""; position: absolute; inset: 0; opacity: .12; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.4) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.4) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero .lead { color: rgba(255, 255, 255, .78); }
.hero .eyebrow { color: var(--blue-300); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 34px; padding: 0; list-style: none; color: rgba(255,255,255,.75); font-size: .92rem; }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points svg { width: 18px; height: 18px; color: var(--ok); }
.page-hero { padding: 80px 0 70px; }

/* Dashboard mock */
.console {
  background: linear-gradient(180deg, rgba(22, 48, 92, .9), rgba(10, 23, 48, .95));
  border: 1px solid rgba(141, 182, 255, .25); border-radius: 18px; padding: 18px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, .45);
}
.console-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; font-size: .8rem; color: var(--blue-300); }
.dots { display: flex; gap: 6px; }
.dots span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.25); }
.live { display: inline-flex; align-items: center; gap: 6px; color: var(--ok); font-weight: 600; }
.live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); animation: pulse 1.6s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(25,195,125,.7);} 70% { box-shadow: 0 0 0 10px rgba(25,195,125,0);} 100% { box-shadow: 0 0 0 0 rgba(25,195,125,0);} }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.tile { background: rgba(255,255,255,.06); border-radius: 10px; padding: 12px; }
.tile b { display: block; font-size: 1.3rem; color: var(--white); }
.tile span { font-size: .72rem; color: var(--blue-300); text-transform: uppercase; letter-spacing: .06em; }
.chart { height: 90px; margin-bottom: 14px; background: rgba(255,255,255,.04); border-radius: 10px; padding: 8px; }
.alerts { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.alerts li { display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,.05); border-radius: 10px; padding: 10px 12px; font-size: .82rem; color: rgba(255,255,255,.85); }
.sev { font-size: .68rem; font-weight: 700; padding: 3px 8px; border-radius: 999px; text-transform: uppercase; }
.sev.high { background: rgba(255, 92, 92, .18); color: #ff8a8a; }
.sev.med { background: rgba(255, 184, 0, .18); color: #ffcf5c; }
.sev.ok { background: rgba(25, 195, 125, .18); color: #5ee3a8; }
.alerts time { margin-left: auto; color: rgba(255,255,255,.45); font-size: .75rem; }

/* ---------- Sections ---------- */
section { padding: 96px 0; }
.section-soft { background: var(--bg-soft); }
.section-dark { background: linear-gradient(180deg, var(--navy-900), var(--navy-800)); color: var(--white); }
.section-dark .lead, .section-dark p { color: rgba(255,255,255,.75); }
.section-head { max-width: 720px; margin-bottom: 50px; }
.section-head.center { text-align: center; margin-inline: auto; }
.section-head.center .lead { margin-inline: auto; }

.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; transition: .25s ease; height: 100%;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card p { color: var(--muted); margin-bottom: 0; }
.icon {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(76,141,255,.15), rgba(47,107,255,.08)); color: var(--blue-500);
}
.icon svg { width: 24px; height: 24px; }
.section-dark .card { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.1); }
.section-dark .card p { color: rgba(255,255,255,.7); }
.section-dark .icon { background: rgba(76,141,255,.18); color: var(--blue-300); }

/* Platforms */
.platform { display: flex; flex-direction: column; gap: 10px; }
.platform-name { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 1.15rem; }
.platform-badge {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; font-size: .95rem;
  color: var(--white); background: linear-gradient(135deg, var(--navy-700), var(--blue-500));
}
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 10px; }
.tag { font-size: .75rem; font-weight: 600; color: var(--navy-700); background: var(--bg-soft); border-radius: 999px; padding: 4px 10px; }

/* Steps */
.steps { counter-reset: step; }
.step { position: relative; padding-left: 64px; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  position: absolute; left: 0; top: 0; width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center; font-weight: 800; color: var(--white); background: var(--blue-500);
}
.step p { color: var(--muted); }

/* Checklist */
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks svg { flex: 0 0 22px; width: 22px; height: 22px; color: var(--blue-500); margin-top: 2px; }
.section-dark .checks svg { color: var(--blue-300); }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.panel { background: var(--bg-soft); border-radius: 20px; padding: 36px; }

/* CTA */
.cta {
  border-radius: 24px; padding: 56px; color: var(--white); text-align: center;
  background: radial-gradient(600px 300px at 80% 0%, rgba(76,141,255,.45), transparent 60%),
              linear-gradient(135deg, var(--navy-800), var(--navy-950));
}
.cta p { color: rgba(255,255,255,.78); max-width: 620px; margin: 0 auto 26px; }

/* Table */
.compare { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.compare th, .compare td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--line); font-size: .95rem; }
.compare th { background: var(--navy-900); color: var(--white); font-weight: 600; }
.compare tr:last-child td { border-bottom: 0; }
.table-wrap { overflow-x: auto; }

/* Form */
.form { display: grid; gap: 16px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { font-weight: 600; font-size: .9rem; display: grid; gap: 6px; }
input, select, textarea {
  font: inherit; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); color: var(--ink);
}
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(47,107,255,.25); border-color: var(--blue-500); }
textarea { min-height: 140px; resize: vertical; }
.form-note { font-size: .85rem; color: var(--muted); }

/* Footer */
.site-footer { background: var(--navy-950); color: rgba(255,255,255,.7); padding: 64px 0 28px; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 40px; }
.site-footer h4 { color: var(--white); font-size: .95rem; margin: 0 0 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: rgba(255,255,255,.7); }
.site-footer a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 22px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: .82rem; color: rgba(255,255,255,.5); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .live::before { animation: none; } html { scroll-behavior: auto; } }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid, .split { grid-template-columns: 1fr; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--navy-900); padding: 8px 20px 20px; display: none; border-bottom: 1px solid rgba(255,255,255,.08);
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 12px 0; }
  .nav-links .btn { margin-top: 8px; }
  .grid-3, .grid-2, .grid-4, .form .row { grid-template-columns: 1fr; }
  section { padding: 72px 0; }
  .hero { padding: 64px 0 80px; }
  .cta { padding: 40px 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .tiles { grid-template-columns: repeat(3, 1fr); }
}

/* Platform cards used as links: keep normal text colours */
a.card { color: var(--ink); }
a.card:hover { text-decoration: none; }
