:root {
  --bg: #07090f;
  --bg-2: #0d111b;
  --card: #111725;
  --line: rgba(255, 255, 255, .09);
  --text: #eef1f7;
  --muted: #94a0b8;
  --lime: #c6ff3d;
  --lime-ink: #1a2400;
  --cyan: #3ee6ff;
  --violet: #8b6cff;
  --radius: 22px;
  --font-head: "Unbounded", system-ui, sans-serif;
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font: 16px/1.6 var(--font); color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
svg { display: block; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.015em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.7rem); font-weight: 700; }
h3 { font-size: 1.1rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; position: relative; }

.sparks { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; opacity: .55; }
main, .footer { position: relative; z-index: 1; }

.progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 60; }
.progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--lime), var(--cyan), var(--violet)); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .95em 1.6em; border-radius: 14px; border: 0; cursor: pointer; font: inherit; font-weight: 800; transition: transform .25s, box-shadow .25s, background .25s, color .25s; }
.btn:hover { transform: translateY(-2px); }
.btn--lime { background: var(--lime); color: var(--lime-ink); box-shadow: 0 0 0 0 rgba(198,255,61,.5), 0 12px 30px -10px rgba(198,255,61,.55); }
.btn--lime:hover { box-shadow: 0 0 0 6px rgba(198,255,61,.15), 0 16px 40px -10px rgba(198,255,61,.7); }
.btn--line { background: transparent; color: var(--text); border: 1px solid rgba(255,255,255,.22); }
.btn--line:hover { border-color: var(--lime); color: var(--lime); }
.btn--sm { padding: .6em 1.15em; font-size: .92rem; }
.btn--block { width: 100%; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }

/* nav */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; padding: 18px 0; transition: background .3s, padding .3s, border-color .3s; border-bottom: 1px solid transparent; }
.nav.is-solid { background: rgba(7,9,15,.8); backdrop-filter: blur(14px); padding: 10px 0; border-color: var(--line); }
.nav__in { display: flex; align-items: center; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 700; font-size: 1.12rem; }
.logo__mark { width: 34px; height: 34px; border-radius: 10px; background: var(--lime); display: grid; place-items: center; }
.logo__mark svg { width: 20px; fill: var(--lime-ink); }
.nav__links { display: flex; gap: 28px; margin-left: auto; font-weight: 600; font-size: .95rem; }
.nav__links a { color: var(--muted); transition: color .2s; }
.nav__links a:hover { color: var(--lime); }
.burger { display: none; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line); background: transparent; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 6px; }
.burger span { width: 18px; height: 2px; background: var(--text); transition: transform .3s; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* hero */
.hero { min-height: 100vh; display: flex; align-items: center; padding: 120px 0 80px; position: relative; overflow: hidden; }
.hero__glow { position: absolute; width: 900px; height: 900px; left: 50%; top: -300px; translate: -50% 0; background: radial-gradient(circle, rgba(139,108,255,.28), transparent 60%); pointer-events: none; animation: breathe 8s ease-in-out infinite; }
.hero__glow--b { top: auto; bottom: -500px; background: radial-gradient(circle, rgba(198,255,61,.14), transparent 60%); }
@keyframes breathe { 50% { transform: scale(1.12); opacity: .7; } }
.hero__in { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.tag { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,.04); font-size: .86rem; font-weight: 700; color: var(--muted); margin-bottom: 24px; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 0 rgba(198,255,61,.7); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(198,255,61,0); } 100% { box-shadow: 0 0 0 0 rgba(198,255,61,0); } }
.hl { color: var(--lime); display: inline-block; transition: opacity .3s, transform .3s, filter .3s; text-shadow: 0 0 40px rgba(198,255,61,.35); }
.hl.is-out { opacity: 0; transform: translateY(14px); filter: blur(6px); }
.lead { font-size: 1.14rem; color: var(--muted); max-width: 34em; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }

/* flow diagram */
.flow { position: relative; aspect-ratio: 1; max-width: 460px; width: 100%; margin-left: auto; }
.flow__wires { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.flow__wires path { fill: none; stroke: rgba(198,255,61,.28); stroke-width: 1.6; stroke-dasharray: 5 7; animation: dash 1s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -12; } }
.dot { fill: var(--lime); filter: drop-shadow(0 0 6px var(--lime)); }
.dot--b { fill: var(--cyan); filter: drop-shadow(0 0 6px var(--cyan)); }
.node { position: absolute; translate: -50% -50%; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 12px 16px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); font-weight: 700; font-size: .85rem; white-space: nowrap; box-shadow: 0 20px 40px -20px rgba(0,0,0,.8); animation: hover 6s ease-in-out infinite; }
.node span { font-size: 1.5rem; }
.node--1 { left: 17.5%; top: 17.5%; }
.node--2 { left: 82.5%; top: 17.5%; animation-delay: -1.5s; }
.node--3 { left: 17.5%; top: 82.5%; animation-delay: -3s; }
.node--4 { left: 82.5%; top: 82.5%; animation-delay: -4.5s; }
@keyframes hover { 50% { transform: translateY(-8px); } }
.core { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 120px; height: 120px; border-radius: 32px; background: linear-gradient(145deg, #1a2235, #0e1320); border: 1px solid rgba(198,255,61,.4); display: grid; place-items: center; align-content: center; gap: 4px; box-shadow: 0 0 0 10px rgba(198,255,61,.05), 0 0 60px rgba(198,255,61,.25); animation: glow 3s ease-in-out infinite; }
.core svg { width: 38px; fill: var(--lime); }
.core b { font-family: var(--font-head); font-size: .95rem; }
@keyframes glow { 50% { box-shadow: 0 0 0 18px rgba(198,255,61,.03), 0 0 90px rgba(198,255,61,.4); } }
.ticker { position: absolute; left: 50%; bottom: -46px; translate: -50% 0; white-space: nowrap; padding: 8px 14px; border-radius: 12px; background: var(--lime); color: var(--lime-ink); font-weight: 800; font-size: .82rem; transition: opacity .3s, transform .3s; }
.ticker.is-out { opacity: 0; transform: translateY(8px); }

/* marquee */
.marquee { border-block: 1px solid var(--line); background: var(--bg-2); padding: 18px 0; overflow: hidden; position: relative; z-index: 1; }
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee span { font-family: var(--font-head); font-size: 1.05rem; padding: 0 26px; white-space: nowrap; color: var(--muted); }
.marquee span::after { content: "⚡"; margin-left: 52px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* sections */
.section { padding: clamp(70px, 10vw, 120px) 0; position: relative; }
.section--alt { background: var(--bg-2); }
.head { text-align: center; max-width: 760px; margin: 0 auto 54px; }
.head p { color: var(--muted); font-size: 1.08rem; }
.head--left { text-align: left; margin-inline: 0; }
.kicker { display: inline-block; font-weight: 800; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--lime); margin-bottom: 14px; }

/* services */
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.service { position: relative; padding: 28px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); overflow: hidden; transition: transform .35s, border-color .35s; }
.service::before { content: ""; position: absolute; inset: 0; background: radial-gradient(380px circle at var(--mx, 50%) var(--my, -20%), rgba(198,255,61,.12), transparent 45%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.service:hover { transform: translateY(-6px); border-color: rgba(198,255,61,.35); }
.service:hover::before { opacity: 1; }
.service__ico { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; font-size: 1.5rem; background: rgba(255,255,255,.05); margin-bottom: 18px; transition: transform .4s; }
.service:hover .service__ico { transform: rotate(-8deg) scale(1.1); }
.service p { color: var(--muted); margin: 0 0 14px; }
.service ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; font-size: .9rem; }
.service li::before { content: "→ "; color: var(--lime); font-weight: 800; }

/* products */
.product { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; padding: 44px; border-radius: 30px; background: var(--card); border: 1px solid var(--line); margin-bottom: 28px; }
.product--rev .product__copy { order: 2; }
.product__label { display: inline-block; font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--cyan); margin-bottom: 10px; }
.product h3 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.product__copy > p { color: var(--muted); }
.ticks { list-style: none; padding: 0; margin: 18px 0 26px; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; font-weight: 600; }
.ticks li::before { content: "✓"; color: var(--lime); font-weight: 800; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 26px; }
.chips span { padding: 7px 12px; border-radius: 10px; background: rgba(255,255,255,.05); border: 1px solid var(--line); font-size: .85rem; font-weight: 600; transition: background .25s, color .25s; }
.chips span:hover { background: var(--lime); color: var(--lime-ink); }
.mock { border-radius: 20px; background: #0a0e18; border: 1px solid var(--line); box-shadow: 0 30px 70px -30px rgba(0,0,0,.9); overflow: hidden; }
.mock__bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: .78rem; color: var(--muted); }
.mock__bar i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.mock__bar i:nth-child(2) { background: #febc2e; } .mock__bar i:nth-child(3) { background: #28c840; }
.mock__bar span { margin-left: 8px; }
.mock__chess { display: grid; grid-template-columns: repeat(8, 1fr); gap: 5px; padding: 16px; }
.mock__chess i { aspect-ratio: 1.2; border-radius: 6px; background: #22c55e; transition: background .6s; }
.mock__chess i.b { background: #f5b301; } .mock__chess i.s { background: #3b82f6; }
.lights { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 16px 16px 6px; }
.light { padding: 10px; border-radius: 12px; background: rgba(255,255,255,.04); font-size: .74rem; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.light i { width: 10px; height: 10px; border-radius: 50%; flex: none; transition: background .5s, box-shadow .5s; }
.light i.g { background: #22c55e; box-shadow: 0 0 10px #22c55e; } .light i.y { background: #f5b301; box-shadow: 0 0 10px #f5b301; } .light i.r { background: #ef4444; box-shadow: 0 0 10px #ef4444; }
.funnel { padding: 10px 16px 18px; display: grid; gap: 7px; }
.funnel div { height: 30px; border-radius: 8px; background: linear-gradient(90deg, var(--violet), var(--cyan)); width: 0; transition: width 1.2s cubic-bezier(.2,.8,.2,1); display: flex; align-items: center; padding-left: 10px; font-size: .75rem; font-weight: 800; color: #fff; white-space: nowrap; overflow: visible; }
.is-visible .funnel div { width: var(--w); }

/* industries */
.tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.tabs button { font: inherit; font-weight: 700; padding: 10px 18px; border-radius: 12px; border: 1px solid var(--line); background: transparent; color: var(--muted); cursor: pointer; transition: all .25s; }
.tabs button[aria-selected="true"] { background: var(--lime); color: var(--lime-ink); border-color: var(--lime); }
.industry { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: center; padding: 40px; border-radius: 30px; background: var(--card); border: 1px solid var(--line); min-height: 320px; }
.industry__big { font-size: clamp(4rem, 10vw, 7rem); line-height: 1; margin-bottom: 14px; animation: pop .5s; }
.industry p { color: var(--muted); }
.industry ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.industry li { display: flex; gap: 12px; padding: 14px 16px; border-radius: 14px; background: rgba(255,255,255,.04); border: 1px solid var(--line); font-weight: 600; animation: slideIn .45s both; }
.industry li::before { content: "⚡"; }
@keyframes pop { from { transform: scale(.6) rotate(-10deg); opacity: 0; } }
@keyframes slideIn { from { transform: translateX(20px); opacity: 0; } }

/* process */
.process { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.process li { padding: 28px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); position: relative; }
.process li:not(:last-child)::after { content: ""; position: absolute; top: 46px; right: -18px; width: 18px; height: 2px; background: linear-gradient(90deg, var(--lime), transparent); }
.process b { font-family: var(--font-head); font-size: 2.2rem; color: transparent; -webkit-text-stroke: 1.5px var(--lime); display: block; margin-bottom: 12px; }
.process p { color: var(--muted); margin: 0; font-size: .95rem; }

/* why */
.why { display: grid; grid-template-columns: .85fr 1.15fr; gap: 50px; align-items: center; }
.why .head { margin-bottom: 0; }
.why__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.why__item { padding: 24px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); }
.why__item b { font-size: 1.6rem; display: block; margin-bottom: 8px; }
.why__item p { color: var(--muted); margin: 0; font-size: .93rem; }

/* prices */
.prices { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1024px) { .prices { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.price { padding: 26px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; transition: transform .3s, border-color .3s; }
.price:hover { transform: translateY(-4px); border-color: rgba(198,255,61,.4); }
.price span { font-size: 1.6rem; }
.price h3 { font-family: var(--font); font-weight: 800; font-size: 1.02rem; margin: 6px 0 0; }
.price b { font-family: var(--font-head); font-size: 1.35rem; color: var(--lime); }
.price small { color: var(--muted); font-size: .85rem; }
.price a { margin-top: auto; padding-top: 12px; font-weight: 800; font-size: .9rem; color: var(--cyan); }

/* faq */
.faq { max-width: 820px; }
.faq__list { display: grid; gap: 12px; }
details { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 0 24px; }
summary { list-style: none; cursor: pointer; padding: 20px 0; font-weight: 700; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; flex: 0 0 30px; height: 30px; border-radius: 50%; background: rgba(255,255,255,.06); display: grid; place-items: center; font-size: 1.2rem; transition: transform .3s, background .3s, color .3s; }
details[open] summary::after { transform: rotate(45deg); background: var(--lime); color: var(--lime-ink); }
details p { color: var(--muted); margin: 0; padding-bottom: 20px; }

/* contact */
.contact { overflow: hidden; }
.contact__in { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.contact__copy p { color: var(--muted); font-size: 1.1rem; }
.contact__links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.contact__links a { padding: 10px 16px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255,255,255,.04); font-weight: 700; transition: border-color .25s, color .25s; }
.contact__links a:hover { border-color: var(--lime); color: var(--lime); }
.form { position: relative; padding: 32px; border-radius: 26px; background: var(--card); border: 1px solid var(--line); display: grid; gap: 16px; box-shadow: 0 40px 100px -40px rgba(0,0,0,.9); }
.form label { display: grid; gap: 6px; font-weight: 700; font-size: .9rem; }
.form input, .form select { font: inherit; color: var(--text); padding: 13px 16px; border-radius: 12px; border: 1.5px solid var(--line); background: #0a0e18; width: 100%; transition: border-color .2s; }
.form input:focus, .form select:focus { border-color: var(--lime); outline: none; }
.form input.is-bad { border-color: #ff5d73; }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form__note { margin: 0; font-size: .82rem; color: var(--muted); text-align: center; }
.form__note.is-ok { color: var(--lime); font-weight: 700; }
.form__note.is-err { color: #ff5d73; font-weight: 700; }

/* footer */
.footer { border-top: 1px solid var(--line); padding: 34px 0; color: var(--muted); font-size: .9rem; background: var(--bg); }
.footer__in { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer__nav { display: flex; gap: 20px; }
.footer__nav a:hover { color: var(--lime); }
.footer p { margin: 0; }

/* reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1024px) {
  .hero__in, .product, .industry, .why, .contact__in { grid-template-columns: minmax(0, 1fr); }
  .product--rev .product__copy { order: 0; }
  .flow { margin: 10px auto 0; }
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process li::after { display: none; }
}
@media (max-width: 760px) {
  .nav__links { position: fixed; inset: 64px 16px auto; flex-direction: column; gap: 0; padding: 10px; border-radius: 18px; background: rgba(13,17,27,.97); border: 1px solid var(--line); opacity: 0; pointer-events: none; transform: translateY(-10px); transition: opacity .25s, transform .25s; }
  .nav__links.is-open { opacity: 1; pointer-events: auto; transform: none; }
  .nav__links a { padding: 14px 12px; color: var(--text); }
  .burger { display: flex; margin-left: auto; }
  .nav__cta { display: none; }
  h1 { font-size: clamp(1.4rem, 7.3vw, 2rem); }
  .services, .process, .why__grid { grid-template-columns: minmax(0, 1fr); }
  .product, .industry { padding: 24px; gap: 28px; }
  .node { padding: 8px 10px; font-size: .72rem; }
  .node span { font-size: 1.2rem; }
  .core { width: 92px; height: 92px; border-radius: 26px; }
  .mock__chess { grid-template-columns: repeat(6, 1fr); }
  .lights { grid-template-columns: repeat(2, 1fr); }
  .form { padding: 24px; }
  .footer__in { flex-direction: column; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .funnel div { width: var(--w); }
  .sparks { display: none; }
}
.price b.price__ask { font-family: var(--font); font-size: .95rem; font-weight: 700; color: var(--text); opacity: .75; }

/* планшеты: меню и кнопка не помещаются в одну строку — прячем кнопку, сжимаем отступы */
@media (min-width: 761px) and (max-width: 980px) { .nav__links { gap: 18px; font-size: .9rem; } .nav__cta { display: none; } }
