:root {
  --bg: #0b0d0f;
  --panel: #121416;
  --panel-2: #0f1215;
  --text: #e6e9ee;
  --muted: #93a1b2;
  --ring: rgba(255, 255, 255, 0.08);
  --teal: #1cd4d4;
  --cyan: #22a3ff;
  --blue: #0097a7;
  --purple: #7c5cff;
  --container: 1120px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Space Grotesk", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-bg {
  min-height: 100vh;
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(34, 163, 255, 0.12), transparent),
    radial-gradient(900px 600px at 110% 40%, rgba(28, 212, 212, 0.1), transparent),
    radial-gradient(600px 400px at 15% 20%, rgba(124, 92, 255, 0.1), transparent);
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(10px);
  background: rgba(8, 11, 15, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.topbar {
  min-height: 122px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 14px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0;
  font-weight: 700;
  letter-spacing: 0.2px;
  flex-shrink: 0;
  justify-self: start;
}

.brand img {
  height: 140px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.35));
}

.menu {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-self: center;
  color: #cbd5e1;
  font-weight: 600;
}

.menu a {
  padding: 8px 0;
  position: relative;
}

.menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(28, 212, 212, 0.6), transparent);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.menu a:hover::after {
  opacity: 0.9;
}

.menu a.active {
  color: #f3fbff;
}

.menu a.active::after {
  opacity: 0.9;
}

.header-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-self: end;
  justify-content: flex-end;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 11px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  padding: 9px 8px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: #d5deea;
  border-radius: 2px;
}

.menu-toggle span + span {
  margin-top: 6px;
}

.mobile-menu {
  display: none;
}

.btn {
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  color: var(--text);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
  transition: transform 180ms ease, filter 180ms ease;
}

.btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
}

.btn-primary {
  background: linear-gradient(135deg, rgba(28, 212, 212, 0.85), rgba(34, 163, 255, 0.85));
  color: #041318;
  border-color: transparent;
  box-shadow: 0 18px 40px rgba(34, 163, 255, 0.25);
}

.btn-ghost {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03));
}

.btn-outline {
  border-color: rgba(34, 163, 255, 0.35);
  background: rgba(9, 18, 24, 0.9);
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: center;
  padding: 46px 0 64px;
}

.hero h1 {
  font-size: clamp(2rem, 4.5vw, 2.8rem);
  line-height: 1.05;
  margin: 0 0 16px;
  letter-spacing: -0.6px;
}

.lead {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
  margin: 0 0 24px;
}

.hero-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.badge {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--ring);
  background: rgba(255, 255, 255, 0.03);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #b6c3d5;
}

.hero-actions {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}

.signal {
  display: flex;
  gap: 10px;
  align-items: center;
  color: #9fb1c3;
  font-size: 13px;
}

.hero-panel {
  position: relative;
  border-radius: 20px;
  background:
    radial-gradient(circle at 12% 18%, rgba(28, 212, 212, 0.16), transparent 55%),
    radial-gradient(circle at 90% 8%, rgba(34, 163, 255, 0.16), transparent 60%),
    var(--panel);
  border: 1px solid rgba(34, 163, 255, 0.2);
  padding: 22px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
}

.chart-shell {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 16px;
}

.signals-preview-grid {
  display: grid;
  gap: 16px;
  align-items: start;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.preview-shell {
  display: flex;
  flex-direction: column;
}

.preview-visual {
  height: 252px;
}

.mockup-shell {
  display: grid;
  gap: 12px;
}

.mockup-image-wrap {
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  background: rgba(4, 8, 12, 0.9);
  box-shadow: inset 0 0 0 1px rgba(34, 163, 255, 0.14);
}

.mockup-image-wrap img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
}

.mockup-caption {
  margin: 0;
  color: #a8b9cb;
  font-size: 12px;
  line-height: 1.45;
}

.chart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  color: #b6c3d5;
  font-size: 13px;
}

.chart-tag {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(28, 212, 212, 0.35);
  background: rgba(28, 212, 212, 0.08);
  color: #b9f3f4;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.chart-area {
  height: 252px;
  border-radius: 14px;
  background:
    radial-gradient(420px 180px at 80% 0%, rgba(34, 163, 255, 0.12), transparent),
    linear-gradient(180deg, rgba(10, 14, 18, 0.92), rgba(12, 18, 24, 0.78));
  border: 1px solid rgba(255, 255, 255, 0.07);
  padding: 10px;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(34, 163, 255, 0.12);
}

.chart-area svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.chart-area-crisp svg {
  position: relative;
  inset: auto;
  display: block;
  width: 100%;
  height: 100%;
}

.axis-line {
  stroke: rgba(214, 225, 237, 0.42);
  stroke-width: 1.2;
}

.grid-line {
  stroke: rgba(214, 225, 237, 0.2);
  stroke-width: 1;
}

.ideal-line {
  fill: none;
  stroke: rgba(88, 151, 245, 0.96);
  stroke-width: 3.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  shape-rendering: geometricPrecision;
}

.actual-line {
  fill: none;
  stroke: rgba(236, 99, 86, 0.95);
  stroke-width: 3.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  shape-rendering: geometricPrecision;
}

.chart-label {
  fill: #c7d4e2;
  font-size: 12px;
  font-weight: 500;
}

.tick-label {
  fill: #9fb0c4;
  font-size: 11px;
}

.chart-axis {
  position: absolute;
  left: 16px;
  right: 16px;
  top: 22px;
  bottom: 22px;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.chart-grid {
  position: absolute;
  inset: 22px 16px 22px 16px;
  background-image:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 100% 36px, 60px 100%;
  pointer-events: none;
  opacity: 0.6;
}

.chart-legend {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-top: 10px;
  color: #9fb1c3;
  font-size: 12px;
  flex-wrap: wrap;
}

.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.dot-b { background: rgba(34, 163, 255, 0.7); }
.dot-c { background: rgba(255, 91, 107, 0.8); }

.mini-metrics {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.metric {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.metric span {
  font-size: 13px;
  color: #a5b4c4;
}

.metric strong {
  display: inline-flex;
  align-items: baseline;
  gap: 1px;
  font-size: 16px;
  color: #e4f0ff;
}

.metric .good {
  color: var(--teal);
}

.metric .unit {
  font-size: 0.72em;
  font-weight: 700;
  color: #bdd0e3;
  line-height: 1;
}

.section {
  padding: 52px 0;
}

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

.section-head h2 {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 1.85rem);
  letter-spacing: -0.4px;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  max-width: 520px;
}

.vendor-grid,
.grid {
  display: grid;
  gap: 18px;
}

.vendor-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.vendor-card,
.card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

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

.vendor-head h3 {
  margin: 0;
  font-size: 17px;
}

.vendor-logo {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.vendor-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vendor-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  color: #a5b4c4;
  font-size: 11px;
  margin-top: 6px;
}

.vendor-pill {
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  line-height: 1;
  display: inline-flex;
  align-items: center;
  letter-spacing: 0.01em;
}

.card h3 {
  margin: 0 0 10px;
  font-size: 18px;
}

.card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 14px;
}

.step span {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 700;
  color: #b7f1ff;
  background: rgba(34, 163, 255, 0.15);
  border: 1px solid rgba(34, 163, 255, 0.35);
}

.quote {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(34, 163, 255, 0.25);
  background: rgba(15, 20, 24, 0.9);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.quote strong {
  color: #d9f2ff;
  font-size: 16px;
  display: block;
}

.quote span {
  color: var(--muted);
  font-size: 13px;
  display: inline-block;
  margin-top: 10px;
}

.contact-card {
  margin-top: 18px;
  border-radius: 18px;
  border: 1px solid rgba(28, 212, 212, 0.35);
  background:
    radial-gradient(620px 220px at 10% -10%, rgba(28, 212, 212, 0.2), transparent),
    rgba(12, 18, 24, 0.95);
  padding: 24px;
}

.contact-card h2 {
  margin: 0;
  font-size: clamp(1.4rem, 2.8vw, 2rem);
}

.contact-card p {
  margin: 10px 0 0;
  color: #aac0d4;
}

.contact-actions {
  margin-top: 16px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.site-footer {
  padding: 34px 0 56px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: #8ca0b3;
  font-size: 13px;
}

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

.footer-inner img {
  width: auto;
  height: 65px;
  object-fit: contain;
}

.footer-inner span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

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

  .signals-preview-grid {
    grid-template-columns: 1fr;
  }

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

  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .menu {
    display: none;
  }

  .menu-toggle {
    display: inline-block;
    margin-left: 0;
    grid-column: 3;
    justify-self: end;
  }

  .header-actions {
    display: none;
  }

  .mobile-menu {
    display: none;
    padding: 0 20px 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
  }

  .mobile-menu.open {
    display: grid;
    gap: 8px;
  }

.mobile-menu a {
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  color: #cbd5e1;
  font-weight: 600;
}

.mobile-menu a.active {
  border-color: rgba(34, 163, 255, 0.42);
  background: rgba(34, 163, 255, 0.12);
  color: #e8f6ff;
}
}

@media (max-width: 700px) {
  .topbar {
    min-height: 98px;
  }

  .header-actions {
    gap: 8px;
  }

  .btn {
    padding: 8px 12px;
    font-size: 13px;
  }

  .signal {
    width: 100%;
  }
}

@media (max-width: 390px) {
  .container {
    padding: 0 14px;
  }

  .topbar {
    min-height: 88px;
    gap: 10px;
  }

  .brand {
    min-width: 0;
  }

  .brand img {
    height: 72px;
  }

  .menu-toggle {
    width: 38px;
    height: 38px;
    padding: 8px 7px;
  }

  .mobile-menu {
    padding: 0 14px 12px;
  }
}
