:root {
  color-scheme: dark;
  --bg: #0b1014;
  --surface: #111922;
  --surface-2: #16212d;
  --line: rgba(177, 205, 220, 0.18);
  --text: #ecf7f8;
  --muted: #9bb0bb;
  --cyan: #38d6cb;
  --blue: #5b8cff;
  --green: #8bdc65;
  --yellow: #f1c85b;
  --danger: #ff6464;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.36);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 16% 0%, rgba(56, 214, 203, 0.14), transparent 34rem),
    linear-gradient(180deg, #0b1014 0%, #0d1319 38%, #10151b 100%);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(177, 205, 220, 0.1);
  background: rgba(11, 16, 20, 0.82);
  backdrop-filter: blur(16px);
}

.brand,
.top-nav,
.hero-actions,
.panel-topline,
.site-footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(56, 214, 203, 0.55);
  border-radius: 8px;
  background: rgba(56, 214, 203, 0.12);
  color: var(--cyan);
}

.top-nav {
  gap: 8px;
}

.top-nav a,
.header-action {
  border-radius: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  padding: 9px 12px;
}

.top-nav a:hover,
.header-action:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.header-action {
  border: 1px solid var(--line);
  color: var(--text);
}

main {
  overflow: hidden;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: clamp(28px, 5vw, 72px);
  min-height: calc(100vh - 72px);
  padding: clamp(48px, 8vw, 110px) clamp(18px, 4vw, 56px) 72px;
}

.hero-copy {
  align-self: center;
  max-width: 780px;
}

.eyebrow,
.product-kicker,
.readout-label {
  margin: 0 0 12px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 820px;
  margin-bottom: 22px;
  font-size: clamp(42px, 7vw, 82px);
  line-height: 0.97;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(30px, 4.2vw, 54px);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 14px;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 680px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
  font-weight: 780;
  padding: 12px 18px;
}

.button:hover {
  border-color: rgba(236, 247, 248, 0.42);
  transform: translateY(-1px);
}

.button.primary {
  border-color: rgba(56, 214, 203, 0.6);
  background: linear-gradient(135deg, var(--cyan), #61a7ff);
  color: #061014;
}

.system-panel {
  align-self: center;
  min-height: 560px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    rgba(17, 25, 34, 0.82);
  background-size: 36px 36px;
  box-shadow: var(--shadow);
  padding: 18px;
}

.panel-topline {
  justify-content: space-between;
  color: var(--muted);
  font-family: "JetBrains Mono", Consolas, monospace;
  font-size: 13px;
}

.status-dot {
  color: var(--green);
}

.orbit-map {
  position: relative;
  min-height: 360px;
  margin-top: 22px;
  border: 1px solid rgba(177, 205, 220, 0.13);
  border-radius: 8px;
  background: rgba(5, 10, 14, 0.38);
}

.orbit-map::before,
.orbit-map::after {
  position: absolute;
  inset: 52px;
  border: 1px solid rgba(56, 214, 203, 0.15);
  border-radius: 50%;
  content: "";
}

.orbit-map::after {
  inset: 94px;
  border-color: rgba(91, 140, 255, 0.18);
}

.orbit-core {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 128px;
  height: 128px;
  place-items: center;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(56, 214, 203, 0.38);
  border-radius: 50%;
  background: #0b1117;
  box-shadow: 0 0 60px rgba(56, 214, 203, 0.18);
  text-align: center;
}

.orbit-core span {
  align-self: end;
  color: var(--muted);
  font-size: 13px;
}

.orbit-core strong {
  align-self: start;
  font-size: 24px;
}

.orbit-node {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(17, 25, 34, 0.94);
  color: var(--text);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  padding: 12px 14px;
}

.orbit-node:nth-child(1) {
  top: 42px;
  left: 50%;
  transform: translateX(-50%);
}

.orbit-node:nth-child(2) {
  right: 30px;
  bottom: 76px;
}

.orbit-node:nth-child(3) {
  left: 30px;
  bottom: 76px;
}

.orbit-node.active {
  border-color: rgba(56, 214, 203, 0.68);
  box-shadow: 0 0 0 4px rgba(56, 214, 203, 0.08);
}

.node-icon {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 8px;
  background: rgba(56, 214, 203, 0.11);
  color: var(--cyan);
}

.panel-readout {
  min-height: 116px;
  margin-top: 18px;
  border: 1px solid rgba(177, 205, 220, 0.13);
  border-radius: 8px;
  background: rgba(5, 10, 14, 0.42);
  padding: 18px;
}

.panel-readout strong {
  display: block;
  margin-bottom: 8px;
  font-size: 22px;
}

.panel-readout p {
  margin-bottom: 0;
  color: var(--muted);
}

.products,
.workflow-band,
.final-cta {
  padding: 86px clamp(18px, 4vw, 56px);
}

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

.product-card {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(17, 25, 34, 0.72);
  padding: clamp(18px, 4vw, 42px);
}

.product-card.reverse {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.78fr);
}

.product-card.reverse .product-visual {
  order: 2;
}

.product-content p:not(.product-kicker) {
  max-width: 760px;
  color: var(--muted);
  font-size: 17px;
}

.product-visual {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  border: 1px solid rgba(177, 205, 220, 0.13);
  border-radius: 8px;
  background: #0b1117;
}

.call-visual {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  padding: 16px;
}

.call-visual span {
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(56, 214, 203, 0.18), rgba(91, 140, 255, 0.08)),
    #14202a;
}

.call-visual span::after {
  display: block;
  width: 44px;
  height: 44px;
  margin: 28px auto 0;
  border-radius: 50%;
  background: rgba(236, 247, 248, 0.13);
  content: "";
}

.crm-visual {
  padding: 20px;
}

.crm-row {
  height: 42px;
  margin-bottom: 14px;
  border-radius: 8px;
  background: linear-gradient(90deg, rgba(91, 140, 255, 0.28), rgba(56, 214, 203, 0.08));
}

.crm-row:nth-child(2) {
  width: 82%;
}

.crm-row:nth-child(3) {
  width: 92%;
}

.crm-row:nth-child(4) {
  width: 68%;
}

.nocode-visual {
  min-height: 280px;
}

.flow-block,
.flow-line {
  position: absolute;
  display: block;
}

.flow-block {
  width: 112px;
  height: 58px;
  border: 1px solid rgba(56, 214, 203, 0.42);
  border-radius: 8px;
  background: rgba(22, 33, 45, 0.94);
}

.flow-block::after {
  position: absolute;
  inset: 18px 18px auto;
  height: 8px;
  border-radius: 999px;
  background: rgba(236, 247, 248, 0.62);
  content: "";
}

.flow-block.start {
  top: 48px;
  left: 32px;
}

.flow-block.logic {
  top: 112px;
  left: 50%;
  transform: translateX(-50%);
  border-color: rgba(241, 200, 91, 0.5);
}

.flow-block.api {
  right: 32px;
  bottom: 48px;
  border-color: rgba(139, 220, 101, 0.5);
}

.flow-line {
  height: 2px;
  background: rgba(177, 205, 220, 0.25);
  transform-origin: left center;
}

.flow-line.one {
  top: 102px;
  left: 140px;
  width: 140px;
  transform: rotate(18deg);
}

.flow-line.two {
  right: 128px;
  bottom: 116px;
  width: 140px;
  transform: rotate(23deg);
}

.feature-list {
  display: grid;
  gap: 10px;
  margin: 24px 0 28px;
  padding: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 24px;
  color: #d8e7ed;
}

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

.text-link {
  color: var(--cyan);
  font-weight: 850;
}

.text-link:hover {
  color: #73fff4;
}

.workflow-band {
  background: rgba(5, 10, 14, 0.34);
}

.workflow-band > div:first-child {
  max-width: 900px;
  margin-bottom: 34px;
}

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

.workflow-grid > div {
  border-top: 1px solid var(--line);
  padding-top: 22px;
}

.step-number {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--yellow);
  font-family: "JetBrains Mono", Consolas, monospace;
  font-size: 13px;
  font-weight: 800;
}

.workflow-grid h3 {
  font-size: 23px;
}

.workflow-grid p {
  color: var(--muted);
}

.final-cta {
  text-align: center;
}

.final-cta h2 {
  margin: 0 auto 24px;
  max-width: 760px;
}

.centered {
  justify-content: center;
}

.site-footer {
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 4vw, 56px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

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

  .product-card.reverse .product-visual {
    order: 0;
  }

  .system-panel {
    min-height: 500px;
  }

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

@media (max-width: 720px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .top-nav {
    width: 100%;
    overflow-x: auto;
  }

  .header-action {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 38px;
  }

  h1 {
    font-size: clamp(38px, 12vw, 56px);
  }

  .system-panel {
    min-height: 460px;
    padding: 12px;
  }

  .orbit-map {
    min-height: 300px;
  }

  .orbit-map::before {
    inset: 36px;
  }

  .orbit-map::after {
    inset: 72px;
  }

  .orbit-node {
    padding: 10px;
    font-size: 13px;
  }

  .orbit-node:nth-child(2) {
    right: 12px;
    bottom: 52px;
  }

  .orbit-node:nth-child(3) {
    left: 12px;
    bottom: 52px;
  }

  .orbit-core {
    width: 106px;
    height: 106px;
  }

  .product-visual {
    min-height: 230px;
  }

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