:root {
  color-scheme: dark;
  --base-void: #05070c;
  --base-abyss: #0a0f1a;
  --base-iron: #121826;
  --text-ice: #e6e9ef;
  --text-ash: #a6b0c3;
  --text-muted: #7c879a;
  --accent-blue: #3d7eff;
  --accent-teal: #22d3ee;
  --accent-gold: #f2b705;
  --accent-red: #ff5c5c;
  --glow-blue: rgba(61, 126, 255, 0.4);
  --glow-teal: rgba(34, 211, 238, 0.35);
  --glow-gold: rgba(242, 183, 5, 0.35);
  --radius-card: 14px;
  --radius-pill: 999px;
  --shadow-soft: 0 14px 40px rgba(5, 7, 12, 0.6);
  --shadow-lift: 0 20px 60px rgba(5, 7, 12, 0.75);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: var(--text-ash);
  background: radial-gradient(circle at 15% 10%, rgba(61, 126, 255, 0.18), transparent 45%),
    radial-gradient(circle at 85% 0%, rgba(34, 211, 238, 0.18), transparent 40%),
    linear-gradient(180deg, var(--base-abyss), var(--base-void));
}

h1,
h2,
h3 {
  font-family: "Space Grotesk", system-ui, -apple-system, sans-serif;
  color: var(--text-ice);
  margin: 0 0 16px 0;
}

h1 {
  font-size: clamp(2.7rem, 3.6vw, 4.4rem);
  line-height: 1.05;
}

h2 {
  font-size: clamp(1.8rem, 2.4vw, 2.8rem);
}

p {
  line-height: 1.65;
  color: var(--text-ash);
}

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

.bg-grid,
.bg-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.bg-grid {
  background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 90px 90px;
  opacity: 0.25;
}

.bg-glow {
  background: radial-gradient(circle at 30% 30%, rgba(61, 126, 255, 0.25), transparent 50%),
    radial-gradient(circle at 80% 60%, rgba(34, 211, 238, 0.22), transparent 45%);
  opacity: 0.8;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(5, 7, 12, 0.65);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-ice);
}

.logo-dot {
  width: 10px;
  height: 10px;
  background: var(--accent-blue);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--glow-blue);
}

.nav-links {
  display: flex;
  gap: 18px;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.nav-cta {
  display: flex;
  gap: 12px;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-ice);
  margin: 5px 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.9rem;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
  background: linear-gradient(120deg, var(--accent-blue), var(--accent-teal));
  color: #0a0f1a;
  box-shadow: 0 12px 28px rgba(34, 211, 238, 0.25);
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--text-ice);
  background: rgba(255, 255, 255, 0.04);
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-soft);
}

main {
  position: relative;
  z-index: 1;
}

.hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 96px 24px 80px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 48px;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--accent-teal);
  margin-bottom: 16px;
}

.hero p {
  font-size: 1.1rem;
}

.hero-cta {
  display: flex;
  gap: 12px;
  margin: 24px 0;
  flex-wrap: wrap;
}

.hero-proof {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.pill {
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
}

.radar-frame {
  position: relative;
  width: min(440px, 92%);
  aspect-ratio: 1;
  border-radius: 24px;
  background: radial-gradient(circle at center, rgba(34, 211, 238, 0.15), transparent 55%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-lift);
  overflow: hidden;
}

.radar-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.4;
}

.radar-sweep {
  position: absolute;
  inset: -20%;
  background: conic-gradient(
    from 180deg,
    rgba(34, 211, 238, 0) 0deg,
    rgba(34, 211, 238, 0.28) 20deg,
    rgba(61, 126, 255, 0.7) 40deg,
    rgba(34, 211, 238, 0) 60deg,
    rgba(34, 211, 238, 0) 360deg
  );
  animation: sweep 6s linear infinite;
  mix-blend-mode: screen;
}

.radar-ring {
  position: absolute;
  inset: 18%;
  border: 1px solid rgba(34, 211, 238, 0.2);
  border-radius: 50%;
}

.ring-1 {
  inset: 12%;
}

.ring-2 {
  inset: 32%;
}

.radar-dot {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-teal);
  box-shadow: 0 0 12px var(--glow-teal);
}

.dot-1 {
  top: 28%;
  left: 62%;
}

.dot-2 {
  bottom: 24%;
  right: 55%;
  background: var(--accent-blue);
  box-shadow: 0 0 12px var(--glow-blue);
}

.hero-card {
  margin-top: 24px;
  background: linear-gradient(180deg, rgba(18, 24, 38, 0.92), rgba(10, 15, 26, 0.95));
  border-radius: var(--radius-card);
  padding: 20px;
  box-shadow: var(--shadow-lift);
  border: 1px solid rgba(255, 255, 255, 0.08);
  width: min(320px, 100%);
  position: relative;
  z-index: 2;
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.chip {
  padding: 6px 10px;
  border-radius: var(--radius-pill);
  background: rgba(34, 211, 238, 0.18);
  color: var(--accent-teal);
  font-size: 0.7rem;
  font-weight: 600;
}

.card-title {
  font-weight: 600;
  color: var(--text-ice);
}

.card-sub {
  color: var(--text-muted);
  margin-bottom: 12px;
  font-size: 0.9rem;
}

.card-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 12px;
  margin: 12px 0;
}

.metric-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.metric-value {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-ice);
}

.card-footer {
  padding-top: 10px;
  border-top: 1px dashed rgba(255, 255, 255, 0.12);
  font-size: 0.82rem;
  color: var(--text-ash);
}

.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 88px 24px;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.section::before {
  content: "";
  display: block;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  margin-bottom: 40px;
}

.section-head {
  max-width: 620px;
  margin-bottom: 32px;
}

.workflow .section-head p {
  max-width: none;
  white-space: nowrap;
}

.section-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  align-items: center;
}

.compare-card {
  background: linear-gradient(180deg, rgba(18, 24, 38, 0.95), rgba(10, 15, 26, 0.98));
  border-radius: var(--radius-card);
  padding: 24px;
  box-shadow: var(--shadow-lift);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.compare-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.compare-row.highlight {
  color: var(--accent-teal);
  font-weight: 600;
}

.compare-row:last-child {
  border-bottom: none;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.card {
  background: linear-gradient(180deg, rgba(18, 24, 38, 0.95), rgba(10, 15, 26, 0.98));
  border-radius: var(--radius-card);
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-soft);
}

.card h3 {
  color: var(--text-ice);
}

.feature {
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: center;
}

.feature-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
  color: var(--text-ash);
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-teal);
  box-shadow: 0 0 8px var(--glow-teal);
}

.feature-panel {
  background: linear-gradient(180deg, rgba(18, 24, 38, 0.95), rgba(10, 15, 26, 0.98));
  border-radius: var(--radius-card);
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-lift);
}

.workflow-steps {
  position: relative;
  display: grid;
  gap: 22px 0;
  grid-template-columns: minmax(0, 1fr) 60px minmax(0, 1fr);
  max-width: 980px;
  margin: 0 auto;
}

.workflow-steps::before {
  content: "";
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(
    180deg,
    transparent,
    rgba(34, 211, 238, 0.5),
    rgba(61, 126, 255, 0.5),
    transparent
  );
  opacity: 0.8;
}

.workflow-step {
  background: linear-gradient(180deg, rgba(18, 24, 38, 0.95), rgba(10, 15, 26, 0.98));
  border-radius: var(--radius-card);
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-soft);
  position: relative;
  z-index: 1;
}

.workflow-step::before {
  content: "";
  position: absolute;
  top: 26px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-teal));
  box-shadow: 0 0 12px var(--glow-teal);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.workflow-step::after {
  content: "";
  position: absolute;
  top: 31px;
  width: 30px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-teal));
  opacity: 0.7;
}

.workflow-step:nth-child(odd) {
  grid-column: 1;
}

.workflow-step:nth-child(odd)::before {
  right: -36px;
}

.workflow-step:nth-child(odd)::after {
  right: -30px;
}

.workflow-step:nth-child(even) {
  grid-column: 3;
}

.workflow-step:nth-child(even)::before {
  left: -36px;
}

.workflow-step:nth-child(even)::after {
  left: -30px;
}

.workflow-step:last-child {
  grid-column: 1 / -1;
  justify-self: center;
  width: min(820px, 100%);
}

.workflow-step:last-child::before,
.workflow-step:last-child::after {
  display: none;
}

.workflow-step-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.workflow-index {
  font-family: "Space Mono", monospace;
  font-size: 0.75rem;
  padding: 4px 8px;
  border-radius: var(--radius-pill);
  color: var(--accent-teal);
  background: rgba(34, 211, 238, 0.12);
  border: 1px solid rgba(34, 211, 238, 0.3);
}

.workflow-time {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

.workflow-step h3 {
  margin-bottom: 8px;
}

.workflow-step p {
  margin: 0 0 12px;
}

.workflow-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.workflow-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  color: var(--text-ash);
  font-size: 0.92rem;
}

.workflow-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-teal));
  box-shadow: 0 0 10px rgba(34, 211, 238, 0.3);
}

.panel-header {
  font-weight: 600;
  color: var(--text-ice);
}

.panel-metric {
  margin: 12px 0;
  font-family: "Space Mono", monospace;
}

.panel-list {
  display: grid;
  gap: 10px;
  font-size: 0.85rem;
}

.badge {
  width: 10px;
  height: 10px;
  display: inline-block;
  border-radius: 50%;
  margin-right: 8px;
}

.badge.high {
  background: var(--accent-teal);
}

.badge.med {
  background: var(--accent-gold);
}

.badge.low {
  background: rgba(255, 255, 255, 0.2);
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.badge-pill {
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-muted);
}

.local-graph {
  padding: 28px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(18, 24, 38, 0.96), rgba(10, 15, 26, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-lift);
}

.local-graph-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.local-graph-header h3 {
  color: var(--text-ice);
  margin: 0 0 8px 0;
}

.local-graph-header p {
  margin: 0;
  color: var(--text-ash);
}

.local-graph-stat {
  display: grid;
  gap: 6px;
  padding: 16px 20px;
  border-radius: 16px;
  background: rgba(61, 126, 255, 0.12);
  border: 1px solid rgba(61, 126, 255, 0.25);
  text-align: right;
  min-width: 180px;
}

.local-graph-stat .stat-value {
  font-size: 1.6rem;
  font-family: "Space Mono", monospace;
  color: var(--accent-teal);
}

.local-graph-stat .stat-label {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.local-graph-systems {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.system-card {
  padding: 18px;
  border-radius: var(--radius-card);
  background: rgba(5, 7, 12, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-soft);
}

.system-title {
  font-weight: 600;
  color: var(--text-ice);
  margin-bottom: 8px;
}

.integration-card {
  padding: 20px;
  border-radius: var(--radius-card);
  background: linear-gradient(180deg, rgba(18, 24, 38, 0.95), rgba(10, 15, 26, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-soft);
}

.integration-title {
  font-weight: 600;
  color: var(--text-ice);
  margin-bottom: 12px;
}

.integration-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px;
  color: var(--text-muted);
}

.integration-notes {
  margin: 12px 0 0;
  padding: 0;
  color: var(--text-ash);
  font-size: 0.9rem;
  list-style: none;
}

.integration-notes li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 8px;
}

.integration-notes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-teal));
  box-shadow: 0 0 12px rgba(34, 211, 238, 0.3);
}

.proof {
  padding-bottom: 64px;
}

.stats {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.stat {
  background: linear-gradient(180deg, rgba(18, 24, 38, 0.95), rgba(10, 15, 26, 0.98));
  border-radius: var(--radius-card);
  padding: 20px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.stat-number {
  font-size: 2rem;
  font-family: "Space Mono", monospace;
  color: var(--accent-teal);
}

.stat-label {
  color: var(--text-muted);
}

.cta {
  padding-bottom: 96px;
}

.cta-card {
  background: linear-gradient(120deg, rgba(61, 126, 255, 0.2), rgba(34, 211, 238, 0.12));
  border-radius: 24px;
  padding: 40px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-lift);
}

.cta-card p {
  color: var(--text-ash);
}

.cta-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.cta-form input {
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(5, 7, 12, 0.6);
  color: var(--text-ice);
  font-family: inherit;
}

.cta-form input::placeholder {
  color: var(--text-muted);
}

.cta-form .btn {
  width: 100%;
}

.footer {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px;
  display: flex;
  justify-content: space-between;
  color: var(--text-muted);
}

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

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

@keyframes sweep {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@media (max-width: 960px) {
  .nav {
    flex-wrap: wrap;
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: block;
    margin-left: auto;
    padding: 6px;
  }

  .nav-links,
  .nav-cta {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
  }
}

@media (max-width: 720px) {
  .hero {
    padding-top: 80px;
  }

  .hero-visual {
    order: -1;
    width: 100%;
  }

  .radar-frame {
    width: min(320px, 100%);
  }

  .workflow .section-head p {
    white-space: normal;
  }

  .workflow-step {
    grid-column: 1;
  }

  .workflow-steps {
    grid-template-columns: 1fr;
  }

  .workflow-steps::before,
  .workflow-step::before,
  .workflow-step::after {
    display: none;
  }

  .footer {
    flex-direction: column;
    gap: 12px;
  }
}
