:root {
  --ink: #101828;
  --muted: #5b6475;
  --line: #dbe3ed;
  --page: #f7fafc;
  --surface: #ffffff;
  --navy: #15294b;
  --teal: #0f9f8f;
  --green: #21a67a;
  --amber: #d98a10;
  --red: #d64545;
  --blue: #2f6fed;
  --shadow: 0 24px 70px rgba(21, 41, 75, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--page);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

svg {
  display: block;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 14px clamp(20px, 5vw, 72px);
  background: rgba(247, 250, 252, 0.86);
  border-bottom: 1px solid rgba(219, 227, 237, 0.82);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--navy);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: #ffffff;
  background: var(--navy);
  border-radius: 8px;
}

.brand-mark svg {
  width: 24px;
  height: 24px;
}

.brand-mark path:first-child {
  fill: currentColor;
  opacity: 0.18;
  stroke: currentColor;
  stroke-width: 2;
}

.brand-mark path:last-child,
.icon path {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.main-nav {
  display: flex;
  gap: 26px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
}

.main-nav a:hover,
.header-action:hover {
  color: var(--teal);
}

.header-action {
  color: var(--navy);
  font-weight: 800;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.87fr) minmax(360px, 1.13fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  min-height: calc(100vh - 72px);
  padding: clamp(42px, 7vw, 88px) clamp(20px, 5vw, 72px) clamp(34px, 5vw, 60px);
  background: var(--page);
}

.hero-copy {
  max-width: 660px;
}

.eyebrow {
  margin: 0 0 13px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  color: var(--navy);
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: 0.9;
  letter-spacing: 0;
  overflow-wrap: break-word;
}

h2 {
  margin-bottom: 18px;
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 11px;
  color: var(--navy);
  font-size: 1.2rem;
}

.hero-text,
.section-copy,
.status-copy p,
.feature-card p,
.price-card p,
.site-footer p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.68;
}

.hero-text {
  max-width: 590px;
  font-size: clamp(1.05rem, 2vw, 1.32rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 800;
  white-space: nowrap;
}

.button.primary {
  color: #ffffff;
  background: var(--navy);
  border-color: var(--navy);
}

.button.secondary {
  color: var(--navy);
  background: rgba(255, 255, 255, 0.74);
}

.button:hover {
  transform: translateY(-1px);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 560px;
  margin: 0;
}

.hero-stats div {
  padding: 16px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(219, 227, 237, 0.92);
  border-radius: 8px;
}

.hero-stats dt {
  color: var(--navy);
  font-size: 1.32rem;
  font-weight: 800;
}

.hero-stats dd {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.monitor-shell {
  overflow: hidden;
  width: 100%;
  min-height: 570px;
  background: #0d1829;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.monitor-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 52px;
  padding: 0 18px;
  color: #bfd0e8;
  background: #111f35;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.86rem;
}

.window-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 5px;
  border-radius: 50%;
}

.red {
  background: #ff6b6b;
}

.yellow {
  background: #ffd166;
}

.green {
  background: #2ed27e;
}

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #c9f7e7;
  font-weight: 800;
}

.live-pill span {
  width: 8px;
  height: 8px;
  background: #2ed27e;
  border-radius: 50%;
  box-shadow: 0 0 0 7px rgba(46, 210, 126, 0.13);
}

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

.panel {
  min-height: 190px;
  padding: 20px;
  color: #eaf2ff;
  background: #14233b;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
}

.panel-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.panel-heading.compact {
  display: block;
}

.panel-heading p {
  margin-bottom: 8px;
  color: #8da3c3;
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
}

.panel-heading strong {
  display: block;
  font-size: 1.28rem;
}

.status-panel {
  grid-column: span 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 210px;
  background:
    radial-gradient(circle at 78% 45%, rgba(15, 159, 143, 0.32), transparent 34%),
    #14233b;
}

.uptime-ring {
  display: grid;
  place-items: center;
  width: min(30vw, 178px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: conic-gradient(#2ed27e 0 87%, #31445f 87% 100%);
}

.uptime-ring span {
  display: grid;
  place-items: center;
  width: 74%;
  aspect-ratio: 1;
  color: #ffffff;
  background: #14233b;
  border-radius: 50%;
  font-weight: 800;
}

.sparkline {
  display: flex;
  align-items: end;
  gap: 9px;
  height: 110px;
  margin-top: 22px;
}

.sparkline span {
  flex: 1;
  min-width: 8px;
  background: linear-gradient(180deg, #68d8c9, #2f6fed);
  border-radius: 6px 6px 0 0;
}

.incidents ul {
  display: grid;
  gap: 13px;
  padding: 0;
  margin: 20px 0 0;
  list-style: none;
}

.incidents li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #c8d7ed;
  font-size: 0.92rem;
}

.severity {
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.severity.warning {
  background: var(--amber);
}

.severity.ok {
  background: var(--green);
}

.probe-map {
  position: relative;
  height: 120px;
  margin-top: 18px;
  background:
    linear-gradient(90deg, transparent 49%, rgba(255, 255, 255, 0.08) 50%, transparent 51%),
    linear-gradient(0deg, transparent 49%, rgba(255, 255, 255, 0.08) 50%, transparent 51%);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 8px;
}

.probe {
  position: absolute;
  width: 14px;
  height: 14px;
  background: var(--teal);
  border: 3px solid #c8fff4;
  border-radius: 50%;
  box-shadow: 0 0 0 10px rgba(15, 159, 143, 0.18);
}

.p1 {
  top: 32%;
  left: 18%;
}

.p2 {
  top: 56%;
  left: 34%;
}

.p3 {
  top: 26%;
  left: 55%;
}

.p4 {
  top: 48%;
  left: 72%;
}

.p5 {
  top: 68%;
  left: 84%;
}

.section {
  padding: clamp(64px, 9vw, 112px) clamp(20px, 5vw, 72px);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 34px;
}

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

.feature-card,
.price-card {
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 32px rgba(21, 41, 75, 0.06);
}

.icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 20px;
  color: var(--teal);
  background: #e8f8f4;
  border-radius: 8px;
}

.icon svg {
  width: 25px;
  height: 25px;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
  gap: clamp(28px, 6vw, 90px);
  align-items: center;
  background: #ffffff;
}

.section-copy {
  max-width: 620px;
}

.integration-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.integration-row span {
  padding: 10px 13px;
  color: var(--navy);
  background: #edf5fb;
  border: 1px solid #d6e2ec;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 800;
}

.alert-console {
  display: grid;
  gap: 14px;
  padding: 18px;
  background: #0d1829;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.alert-item {
  padding: 18px;
  color: #eaf2ff;
  background: #14233b;
  border-left: 5px solid var(--amber);
  border-radius: 8px;
}

.alert-item.critical {
  border-color: var(--red);
}

.alert-item.resolved {
  border-color: var(--green);
}

.alert-item span,
.alert-item small {
  display: block;
  color: #9fb2cf;
  font-size: 0.84rem;
  font-weight: 800;
}

.alert-item strong {
  display: block;
  margin: 8px 0;
}

.status-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1.2fr);
  gap: clamp(28px, 7vw, 104px);
  align-items: center;
  background: #eef6f9;
}

.status-board {
  display: grid;
  gap: 12px;
  padding: 18px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px;
  background: #f8fbfd;
  border: 1px solid #e4ebf2;
  border-radius: 8px;
}

.status-row span {
  color: var(--navy);
  font-weight: 800;
}

.status-row strong {
  color: var(--green);
  font-size: 0.94rem;
}

.status-row.degraded strong {
  color: var(--amber);
}

.pricing {
  background: #ffffff;
}

.price-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 320px;
}

.price-card.featured {
  border-color: rgba(15, 159, 143, 0.55);
  box-shadow: 0 24px 54px rgba(15, 159, 143, 0.16);
}

.plan-badge {
  width: fit-content;
  padding: 8px 10px;
  color: #075f56;
  background: #dff7f1;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 800;
}

.price {
  margin-bottom: 0;
  color: var(--navy);
  font-size: 2.8rem;
  font-weight: 800;
}

.price span {
  color: var(--muted);
  font-size: 1rem;
}

.price-card .button {
  margin-top: auto;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px clamp(20px, 5vw, 72px);
  background: #101828;
}

.site-footer .brand {
  color: #ffffff;
}

.site-footer p {
  max-width: 560px;
  margin-bottom: 0;
  color: #b8c4d5;
  text-align: right;
}

@media (max-width: 980px) {
  .hero,
  .split-section,
  .status-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .monitor-shell {
    min-height: auto;
  }

  .feature-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .site-header {
    position: static;
    flex-wrap: wrap;
    gap: 14px;
  }

  .main-nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
    gap: 8px;
    overflow-x: auto;
  }

  .hero {
    padding-top: 36px;
  }

  h1 {
    font-size: clamp(3.4rem, 18vw, 5.4rem);
  }

  .hero-stats,
  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .status-panel {
    grid-column: span 1;
    flex-direction: column;
    align-items: flex-start;
  }

  .uptime-ring {
    width: min(65vw, 170px);
  }

  .topbar-title {
    display: none;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer p {
    text-align: left;
  }
}

@media (max-width: 440px) {
  .header-action {
    display: none;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .status-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }
}
