:root {
  color-scheme: dark;
  --bg: #07070d;
  --panel: rgba(18, 19, 34, 0.78);
  --panel-strong: rgba(23, 25, 43, 0.92);
  --line: rgba(255, 255, 255, 0.1);
  --text: #ffffff;
  --muted: #9ca3af;
  --soft: #c7d2fe;
  --violet: #8b5cf6;
  --indigo: #6366f1;
  --cyan: #22d3ee;
  --emerald: #10b981;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 50% 0%, rgba(99, 102, 241, 0.18), transparent 34rem),
    radial-gradient(circle at 0% 20%, rgba(34, 211, 238, 0.08), transparent 28rem),
    var(--bg);
  color: var(--text);
}

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

.page-shell {
  overflow: hidden;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 40px));
  height: 72px;
  margin: 0 auto;
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand,
.nav-links,
.hero-actions,
.widget-head,
.pilot-offer,
.node,
.route-card {
  display: flex;
  align-items: center;
}

.brand {
  gap: 11px;
  font-size: 20px;
  font-weight: 850;
  letter-spacing: -0.03em;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
}

.nav-links {
  gap: 28px;
  color: var(--muted);
  font-size: 14px;
}

.nav-cta {
  padding: 10px 18px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--indigo), var(--violet));
  font-weight: 750;
  box-shadow: 0 12px 36px rgba(99, 102, 241, 0.32);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(520px, 1.1fr);
  align-items: center;
  gap: 38px;
  width: min(1240px, calc(100% - 40px));
  min-height: calc(100vh - 72px);
  margin: 0 auto;
  padding: 78px 0;
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--soft);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 720px;
  margin-bottom: 22px;
  font-size: clamp(44px, 6vw, 82px);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.hero-copy p,
.section-heading p,
.split p,
.pilot-offer p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin: 34px 0 18px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: #fff;
  font-weight: 780;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

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

.button.primary {
  border-color: transparent;
  background: linear-gradient(135deg, var(--indigo), var(--violet));
  box-shadow: 0 16px 44px rgba(99, 102, 241, 0.34);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.07);
}

.button.ghost {
  color: var(--soft);
  background: rgba(99, 102, 241, 0.08);
}

.pilot-note {
  color: #7dd3fc;
  font-size: 14px;
}

.hero-visual,
.mock-demo,
.lead-form,
.vertical-grid article,
.steps article,
.pain-grid div,
.pilot-offer {
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: 0 30px 110px rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(18px);
}

.hero-visual {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border-radius: 32px;
  background:
    radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.24), transparent 35%),
    radial-gradient(circle at 20% 20%, rgba(34, 211, 238, 0.14), transparent 32%),
    rgba(8, 9, 18, 0.82);
}

.grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at center, black, transparent 78%);
}

.routing-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.flow-path {
  fill: none;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 12 18;
  animation: flow 4.5s linear infinite;
  filter: drop-shadow(0 0 10px rgba(34, 211, 238, 0.36));
}

.delay-one { animation-delay: -1.2s; }
.delay-two { animation-delay: -2.3s; }
.delay-three { animation-delay: -3.2s; }

@keyframes flow {
  from { stroke-dashoffset: 420; opacity: 0.2; }
  35% { opacity: 1; }
  to { stroke-dashoffset: 0; opacity: 0.3; }
}

@keyframes pulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -50%) scale(1.04); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.node {
  position: absolute;
  gap: 12px;
  min-width: 210px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(10, 11, 22, 0.84);
  animation: float 5s ease-in-out infinite;
}

.node strong,
.ai-core strong,
.route-card strong {
  display: block;
  color: #fff;
}

.node small,
.ai-core small,
.route-card p {
  color: var(--muted);
}

.node-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(165, 180, 252, 0.18);
  border-radius: 12px;
  color: var(--cyan);
  background: rgba(99, 102, 241, 0.16);
  font-size: 11px;
  font-weight: 900;
}

.source {
  left: 44px;
  top: 225px;
}

.reception {
  right: 54px;
  top: 84px;
}

.vip {
  right: 34px;
  top: 224px;
}

.sip {
  right: 72px;
  bottom: 74px;
}

.ai-core {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 170px;
  height: 170px;
  border: 1px solid rgba(165, 180, 252, 0.2);
  border-radius: 32px;
  background: rgba(14, 18, 35, 0.9);
  animation: pulse 4s ease-in-out infinite;
}

.ai-core img {
  width: 58px;
  height: 58px;
  margin-bottom: 10px;
}

.ring {
  position: absolute;
  inset: -34px;
  border: 1px solid rgba(34, 211, 238, 0.18);
  border-radius: 44px;
}

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 92px 0;
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 42px;
  align-items: center;
}

.pain-grid,
.steps,
.vertical-grid {
  display: grid;
  gap: 16px;
}

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

.pain-grid div,
.steps article,
.vertical-grid article {
  border-radius: 20px;
  padding: 22px;
}

.pain-grid div {
  color: #e5e7eb;
  font-weight: 720;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 36px;
}

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

.steps span {
  color: var(--cyan);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 13px;
  font-weight: 900;
}

.steps h3,
.vertical-grid h3 {
  margin: 14px 0 8px;
}

.steps p {
  color: var(--muted);
  line-height: 1.6;
}

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

.vertical-grid ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.vertical-grid li {
  padding: 10px 12px;
  border-radius: 999px;
  color: var(--soft);
  background: rgba(99, 102, 241, 0.1);
}

.mock-demo {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
  padding: 22px;
  border-radius: 28px;
}

.video-shell {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: 30px;
  background:
    radial-gradient(circle at 50% 42%, rgba(99, 102, 241, 0.28), transparent 34%),
    linear-gradient(145deg, rgba(255,255,255,0.055), rgba(255,255,255,0.012)),
    #090913;
  box-shadow: 0 30px 110px rgba(0, 0, 0, 0.42);
}

.video-shell iframe,
.video-placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 28px;
  text-align: center;
}

.play-orb {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 78px;
  height: 78px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--indigo), var(--violet));
  box-shadow: 0 0 50px rgba(99, 102, 241, 0.5);
  font-size: 28px;
}

.video-placeholder strong {
  font-size: clamp(24px, 4vw, 42px);
  letter-spacing: -0.04em;
}

.video-placeholder span {
  max-width: 560px;
  color: var(--muted);
  line-height: 1.65;
}

.video-placeholder code {
  color: var(--soft);
}

.widget-card,
.route-card {
  min-height: 320px;
  border-radius: 22px;
  background: var(--panel-strong);
  padding: 24px;
}

.widget-head {
  gap: 8px;
  margin-bottom: 22px;
  color: #5eead4;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 18px rgba(34, 197, 94, 0.8);
}

.department-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.department-buttons button {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 13px;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
}

.department-buttons button.active {
  border-color: rgba(34, 211, 238, 0.5);
  background: rgba(34, 211, 238, 0.12);
}

.flow-log {
  display: grid;
  gap: 9px;
}

.flow-log div {
  padding: 12px 14px;
  border-radius: 14px;
  color: #d1d5db;
  background: rgba(99, 102, 241, 0.1);
}

.route-card {
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.route-label {
  color: var(--soft);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.route-card strong {
  margin: 12px 0;
  font-size: 34px;
  letter-spacing: -0.04em;
}

.route-card p {
  line-height: 1.65;
}

.route-meter {
  width: 100%;
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.route-meter span {
  display: block;
  width: 78%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--cyan), var(--violet));
}

.pilot-offer {
  justify-content: space-between;
  gap: 28px;
  border-radius: 30px;
  padding: 36px;
}

.pilot-offer p {
  max-width: 720px;
  margin-bottom: 0;
}

.apply {
  padding-top: 40px;
}

.lead-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  border-radius: 28px;
  padding: 24px;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  min-height: 48px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0 14px;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  font: inherit;
}

.lead-form select {
  color-scheme: dark;
  background-color: #1b1c2b;
}

.lead-form select option {
  color: #f8fafc;
  background-color: #111223;
}

.lead-form textarea {
  grid-column: 1 / -1;
  min-height: 110px;
  padding-top: 14px;
  resize: vertical;
}

.lead-form button,
.form-message {
  grid-column: 1 / -1;
}

.form-message {
  min-height: 20px;
  margin: 0;
  color: #86efac;
}

@media (max-width: 980px) {
  .hero,
  .split,
  .mock-demo,
  .pilot-offer {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

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

  .nav-links {
    display: none;
  }

  .hero-visual {
    min-height: 620px;
  }

  .source,
  .reception,
  .vip,
  .sip {
    left: 24px;
    right: 24px;
    width: auto;
  }

  .source { top: 28px; }
  .ai-core { top: 275px; }
  .reception { top: auto; bottom: 178px; }
  .vip { top: auto; bottom: 102px; }
  .sip { bottom: 26px; }
}

@media (max-width: 640px) {
  .nav,
  .hero,
  .section {
    width: min(100% - 28px, 1180px);
  }

  .hero {
    padding-top: 48px;
  }

  .hero-actions,
  .button,
  .lead-form {
    width: 100%;
  }

  .steps,
  .vertical-grid,
  .pain-grid,
  .lead-form {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 590px;
    border-radius: 24px;
  }
}
