:root {
  --black: #070a0d;
  --panel: #10151b;
  --panel-soft: #151c23;
  --line: #29323b;
  --text: #f4f7f9;
  --muted: #89949f;
  --blue: #4e8dff;
  --cyan: #36e5c3;
  --acid: #c8ff48;
  --paper: #eff2f3;
  --ink: #101419;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  margin: 0;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; }
.metrika-pixel { left: -9999px; position: absolute; }

.site-header {
  align-items: center;
  backdrop-filter: blur(18px);
  background: rgba(7, 10, 13, 0.9);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  height: 82px;
  padding: 0 5vw;
  position: sticky;
  top: 0;
  z-index: 20;
}

.logo {
  align-items: center;
  display: flex;
  font-size: 18px;
  font-weight: 900;
  gap: 8px;
  letter-spacing: -0.04em;
}

.logo-mark {
  align-items: center;
  background: var(--blue);
  border-radius: 7px;
  color: white;
  display: inline-flex;
  font-size: 11px;
  height: 31px;
  justify-content: center;
  letter-spacing: 0;
  transform: rotate(-5deg);
  width: 31px;
}

.logo i {
  color: var(--cyan);
  font-size: 9px;
  font-style: normal;
  letter-spacing: 0.16em;
  margin-left: 1px;
  margin-top: -13px;
}

nav { display: flex; gap: 34px; }

nav a,
.header-action {
  color: #c5ccd2;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

nav a:hover { color: var(--cyan); }

.header-action {
  border-bottom: 1px solid #626a71;
  justify-self: end;
  padding: 7px 0;
}

.header-action span { color: var(--cyan); margin-left: 8px; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(430px, 0.95fr);
  min-height: 730px;
  overflow: hidden;
  position: relative;
}

.hero::before {
  background-image: linear-gradient(rgba(78, 141, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(78, 141, 255, 0.07) 1px, transparent 1px);
  background-size: 58px 58px;
  content: "";
  inset: 0;
  mask-image: linear-gradient(to right, black, transparent 70%);
  pointer-events: none;
  position: absolute;
}

.hero-copy {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 90px 4vw 85px 7vw;
  position: relative;
  z-index: 2;
}

.status {
  align-items: center;
  border: 1px solid #244036;
  border-radius: 99px;
  color: #9aafa8;
  display: flex;
  font-family: monospace;
  font-size: 9px;
  gap: 9px;
  letter-spacing: 0.12em;
  margin-bottom: 33px;
  padding: 8px 12px;
}

.status i {
  animation: blink 1.5s infinite;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--cyan);
  height: 6px;
  width: 6px;
}

@keyframes blink { 50% { opacity: 0.35; } }

.hero h1 {
  font-size: clamp(51px, 6vw, 92px);
  letter-spacing: -0.07em;
  line-height: 0.92;
  margin: 0;
  max-width: 850px;
}

.hero h1 span {
  color: var(--blue);
  display: block;
}

.hero-copy > p {
  color: #9aa4ad;
  font-size: 18px;
  line-height: 1.55;
  margin: 35px 0 0;
  max-width: 620px;
}

.hero-actions { display: flex; gap: 13px; margin-top: 38px; }

.button {
  border: 1px solid #3a434c;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 16px 20px;
  text-transform: uppercase;
}

.button-primary { background: var(--blue); border-color: var(--blue); }
.button-primary:hover { background: var(--cyan); border-color: var(--cyan); color: var(--ink); }
.button-ghost:hover { border-color: var(--cyan); color: var(--cyan); }

.hero-points {
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 62px;
  padding-top: 20px;
}

.hero-points span { color: #7c8790; font-size: 10px; }
.hero-points i { color: var(--cyan); font-family: monospace; font-style: normal; margin-right: 7px; }

.bot-console {
  align-self: center;
  background: #111821;
  border: 1px solid #35404a;
  box-shadow: 0 35px 100px rgba(0, 0, 0, 0.55), 16px 16px 0 #101316;
  margin: 60px 6vw 60px 2vw;
  min-height: 550px;
  position: relative;
  transform: rotate(1deg);
  z-index: 2;
}

.bot-console::before {
  background: var(--blue);
  content: "";
  filter: blur(110px);
  height: 250px;
  opacity: 0.22;
  position: absolute;
  right: -60px;
  top: -40px;
  width: 250px;
  z-index: -1;
}

.console-head {
  align-items: center;
  background: #1a232c;
  border-bottom: 1px solid #303a43;
  display: flex;
  height: 72px;
  justify-content: space-between;
  padding: 0 22px;
}

.console-user { align-items: center; display: flex; gap: 12px; }
.avatar { align-items: center; background: var(--blue); border-radius: 50%; display: flex; font-size: 12px; font-weight: 900; height: 39px; justify-content: center; width: 39px; }
.console-user strong { display: block; font-size: 13px; }
.console-user small { color: #7d8993; display: block; font-size: 10px; margin-top: 2px; }
.console-dots { display: flex; gap: 5px; }
.console-dots i { background: #59636c; border-radius: 50%; height: 4px; width: 4px; }

.chat {
  background-image: radial-gradient(rgba(78, 141, 255, 0.12) 1px, transparent 1px);
  background-size: 20px 20px;
  display: flex;
  flex-direction: column;
  min-height: 407px;
  padding: 25px;
}

.message {
  font-size: 13px;
  line-height: 1.5;
  max-width: 77%;
  padding: 13px 15px 17px;
  position: relative;
}

.message small { color: var(--cyan); display: block; font-size: 7px; font-weight: 800; letter-spacing: 0.12em; margin-bottom: 5px; }
.message time { bottom: 4px; color: #65717b; font-size: 7px; position: absolute; right: 7px; }
.message-bot { align-self: flex-start; background: #1c2630; border-radius: 3px 12px 12px 12px; }
.message-user { align-self: flex-end; background: #244c8d; border-radius: 12px 3px 12px 12px; margin-top: 16px; }
.message-user time { color: #a7c3ef; }
.message.compact { margin-top: 9px; }

.typing { align-self: flex-start; background: #1c2630; border-radius: 12px; display: flex; gap: 4px; margin-top: 10px; padding: 9px 12px; }
.typing i { animation: typing 1.2s infinite; background: #72808b; border-radius: 50%; height: 4px; width: 4px; }
.typing i:nth-child(2) { animation-delay: 0.15s; }
.typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes typing { 50% { background: var(--cyan); transform: translateY(-2px); } }

.chat-actions { display: flex; gap: 7px; margin-top: 18px; }
.chat-actions button { background: transparent; border: 1px solid #315382; color: #80afff; cursor: pointer; font-size: 9px; padding: 9px 10px; }
.chat-actions button:hover { background: #1f477e; color: white; }

.console-flow {
  align-items: center;
  border-top: 1px solid #303a43;
  color: #6f7b85;
  display: flex;
  font-family: monospace;
  font-size: 8px;
  gap: 9px;
  height: 70px;
  justify-content: center;
  letter-spacing: 0.08em;
}
.console-flow i { color: #47515a; font-style: normal; }
.console-flow .active { color: var(--cyan); }

.signal-line {
  align-items: center;
  background: var(--blue);
  color: white;
  display: flex;
  font-size: 10px;
  font-weight: 800;
  justify-content: space-around;
  letter-spacing: 0.12em;
  padding: 15px 5vw;
}
.signal-line span { color: var(--acid); margin-right: 7px; }
.signal-line i { font-style: normal; }

.section { padding: 110px 7vw; }

.kicker {
  color: var(--blue);
  font-family: monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin: 0 0 24px;
}
.kicker.light { color: var(--cyan); }

.section h2 {
  font-size: clamp(43px, 5vw, 72px);
  letter-spacing: -0.06em;
  line-height: 0.97;
  margin: 0;
}

.solutions { background: var(--paper); color: var(--ink); }
.section-head { align-items: end; display: grid; gap: 9vw; grid-template-columns: 1fr 0.65fr; margin-bottom: 60px; }
.section-head > p { color: #667079; font-size: 16px; line-height: 1.55; margin: 0; max-width: 470px; }

.solution-grid { border-left: 1px solid #bfc6ca; border-top: 1px solid #bfc6ca; display: grid; grid-template-columns: repeat(2, 1fr); }
.solution-grid article { border-bottom: 1px solid #bfc6ca; border-right: 1px solid #bfc6ca; min-height: 395px; padding: 29px; }
.solution-top { display: flex; font-family: monospace; font-size: 9px; justify-content: space-between; }
.solution-top code { color: #6c7880; }
.solution-icon { align-items: flex-end; border: 1px solid #aeb7bc; display: flex; gap: 6px; height: 90px; margin: 48px 0 34px; padding: 16px; width: 90px; }
.solution-icon i { background: var(--blue); height: 30%; width: 12px; }
.solution-icon i:nth-child(2) { background: var(--cyan); height: 62%; }
.solution-icon i:nth-child(3) { background: var(--ink); height: 93%; }
.solution-grid h3 { font-size: 28px; letter-spacing: -0.04em; margin: 0 0 15px; }
.solution-grid p { color: #657078; font-size: 14px; line-height: 1.55; margin: 0; max-width: 510px; }

.process { display: grid; gap: 9vw; grid-template-columns: 0.65fr 1.35fr; }
.workflow { border-top: 1px solid var(--line); }
.workflow article { align-items: start; border-bottom: 1px solid var(--line); display: grid; gap: 24px; grid-template-columns: 38px 1fr auto; padding: 31px 0; }
.workflow article > span { color: var(--cyan); font-family: monospace; font-size: 10px; }
.workflow h3 { font-size: 23px; margin: 0 0 8px; }
.workflow p { color: var(--muted); font-size: 14px; line-height: 1.5; margin: 0; max-width: 580px; }
.workflow article > i { color: #4c5861; font-style: normal; }

.technology { background: #0d1319; display: grid; gap: 8vw; grid-template-columns: 1fr 1fr; }
.tech-visual { min-height: 510px; position: relative; }
.tech-visual::before { border: 1px solid #1f3c56; border-radius: 50%; content: ""; height: 390px; left: 50%; position: absolute; top: 50%; transform: translate(-50%, -50%); width: 390px; }
.tech-visual::after { border: 1px dashed #263540; border-radius: 50%; content: ""; height: 260px; left: 50%; position: absolute; top: 50%; transform: translate(-50%, -50%); width: 260px; }
.node { align-items: center; background: #17212a; border: 1px solid #34414c; display: flex; font-family: monospace; font-size: 10px; height: 58px; justify-content: center; position: absolute; width: 72px; z-index: 3; }
.node-main { background: var(--blue); border: 0; border-radius: 50%; flex-direction: column; height: 118px; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 118px; }
.node-main span { font-family: Arial, sans-serif; font-size: 29px; font-weight: 900; }
.node-main small { font-size: 7px; margin-top: 5px; }
.node-a { left: 8%; top: 14%; }
.node-b { right: 4%; top: 19%; }
.node-c { bottom: 11%; left: 11%; }
.node-d { bottom: 8%; right: 9%; }
.line { background: #2d5364; height: 1px; left: 50%; position: absolute; top: 50%; transform-origin: left; width: 160px; }
.line-a { transform: rotate(-137deg); }
.line-b { transform: rotate(-38deg); }
.line-c { transform: rotate(139deg); }
.line-d { transform: rotate(39deg); }
.tech-copy { align-self: center; }
.tech-copy > p:not(.kicker) { color: var(--muted); font-size: 16px; line-height: 1.6; margin: 30px 0; }
.tech-copy ul { list-style: none; margin: 0; padding: 0; }
.tech-copy li { border-top: 1px solid var(--line); font-size: 13px; padding: 14px 0; }
.tech-copy li:last-child { border-bottom: 1px solid var(--line); }
.tech-copy li span { color: var(--cyan); font-family: monospace; font-size: 9px; margin-right: 20px; }

.about { background: var(--blue); color: white; display: grid; gap: 8vw; grid-template-columns: 0.8fr 1.2fr; }
.about .kicker { color: var(--acid); }
.about-content .lead { font-size: 27px; letter-spacing: -0.025em; line-height: 1.35; margin: 0 0 45px; }
.about-columns { border-top: 1px solid rgba(255,255,255,0.35); display: grid; gap: 40px; grid-template-columns: 1fr 1fr; padding-top: 25px; }
.about-columns p { color: #d9e4fa; font-size: 14px; line-height: 1.6; margin: 0; }

.seo-block { background: var(--paper); color: var(--ink); display: grid; gap: 8vw; grid-template-columns: 200px minmax(0, 780px); justify-content: center; }
.seo-label { border-top: 1px solid #7d878d; font-family: monospace; font-size: 9px; height: min-content; letter-spacing: 0.1em; padding-top: 12px; }
.seo-block article { font-family: Georgia, "Times New Roman", serif; }
.seo-block h2 { font-family: Arial, sans-serif; font-size: clamp(38px, 4vw, 58px); margin-bottom: 42px; }
.seo-block h3 { font-family: Arial, sans-serif; font-size: 27px; letter-spacing: -0.03em; margin: 48px 0 18px; }
.seo-block p { color: #343a3e; font-size: 18px; line-height: 1.72; margin: 0 0 24px; }

.faq { background: var(--paper); border-top: 1px solid #bdc4c8; color: var(--ink); display: grid; gap: 9vw; grid-template-columns: 0.65fr 1.35fr; }
.faq-list { border-top: 1px solid #737c82; }
.faq details { border-bottom: 1px solid #aab2b6; padding: 23px 0; }
.faq summary { align-items: center; cursor: pointer; display: grid; font-size: 18px; font-weight: 700; gap: 18px; grid-template-columns: 38px 1fr auto; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary span { color: var(--blue); font-family: monospace; font-size: 10px; }
.faq summary i { font-size: 23px; font-style: normal; font-weight: 400; transition: transform 0.2s; }
.faq details[open] summary i { transform: rotate(45deg); }
.faq details p { color: #647078; font-size: 14px; line-height: 1.55; margin: 18px 50px 2px 56px; max-width: 650px; }

.start { background: var(--acid); color: var(--ink); overflow: hidden; padding: 100px 7vw; position: relative; text-align: center; }
.start-noise { color: rgba(16,20,25,0.13); font-family: monospace; font-size: clamp(30px, 8vw, 120px); font-weight: 900; left: 50%; letter-spacing: -0.08em; position: absolute; top: 50%; transform: translate(-50%, -50%); white-space: nowrap; }
.start > p { font-family: monospace; font-size: 10px; letter-spacing: 0.13em; margin: 0 0 24px; position: relative; }
.start h2 { font-size: clamp(52px, 7vw, 100px); letter-spacing: -0.07em; line-height: 0.9; margin: 0; position: relative; }
.start > a { background: var(--ink); color: white; display: inline-flex; font-size: 11px; font-weight: 800; gap: 35px; letter-spacing: 0.08em; margin-top: 40px; padding: 17px 20px; position: relative; text-transform: uppercase; }
.start > a span { color: var(--cyan); }

footer { background: var(--black); padding: 70px 7vw 30px; }
.footer-logo { font-size: 30px; }
footer > p { color: var(--muted); font-size: 14px; margin: 24px 0 55px; }
footer > div { border-top: 1px solid var(--line); display: flex; font-family: monospace; font-size: 9px; justify-content: space-between; letter-spacing: 0.08em; padding-top: 20px; }

@media (max-width: 980px) {
  .site-header { grid-template-columns: 1fr auto; }
  nav { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { padding-bottom: 45px; }
  .bot-console { margin: 15px 8vw 80px; }
  .process, .technology, .about, .faq { grid-template-columns: 1fr; }
  .tech-visual { min-height: 470px; }
}

@media (max-width: 650px) {
  .site-header { height: 70px; padding: 0 20px; }
  .header-action { font-size: 9px; }
  .hero-copy { padding: 65px 20px 35px; }
  .hero h1 { font-size: 50px; }
  .hero-copy > p { font-size: 16px; }
  .hero-actions { align-items: stretch; flex-direction: column; width: 100%; }
  .button { text-align: center; }
  .hero-points { flex-direction: column; margin-top: 43px; }
  .bot-console { margin: 15px 20px 60px; min-height: 515px; }
  .chat { min-height: 373px; padding: 17px; }
  .message { max-width: 88%; }
  .chat-actions { flex-direction: column; }
  .signal-line { gap: 16px; justify-content: flex-start; overflow: hidden; white-space: nowrap; }
  .signal-line div:nth-of-type(n+3), .signal-line i:nth-of-type(n+3) { display: none; }
  .section { padding: 78px 20px; }
  .section-head { align-items: start; gap: 25px; grid-template-columns: 1fr; }
  .solution-grid { grid-template-columns: 1fr; }
  .solution-grid article { min-height: 365px; }
  .workflow article { grid-template-columns: 32px 1fr auto; }
  .tech-visual { min-height: 390px; transform: scale(0.85); }
  .tech-visual::before { height: 340px; width: 340px; }
  .about-columns { grid-template-columns: 1fr; }
  .seo-block { grid-template-columns: 1fr; }
  .seo-label { display: none; }
  .seo-block p { font-size: 17px; }
  .faq details p { margin-left: 56px; margin-right: 15px; }
  .start { padding-left: 20px; padding-right: 20px; }
  footer { padding-left: 20px; padding-right: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .status i, .typing i { animation: none; }
  * { transition: none !important; }
}
