:root {
  --bg: #07080c; --panel: #0d0f16; --tile: #12151f; --line: #1f2433; --soft: #2d3449;
  --lime: #c6ff00; --pink: #ff2bd6; --cyan: #00e5ff; --red: #ff3b5c; --amber: #ffb020;
  --text: #f1f3f8; --muted: #9aa1b5;
  --head: "Unbounded", "Bahnschrift", system-ui, sans-serif;
  --cut: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 70px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  background-image: radial-gradient(900px 600px at 85% -5%, rgba(255,43,214,.13), transparent 60%),
                    radial-gradient(800px 600px at -10% 30%, rgba(0,229,255,.08), transparent 60%),
                    linear-gradient(rgba(255,255,255,.02) 1px, transparent 1px);
  background-size: auto, auto, 100% 4px; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.lime { color: var(--lime); text-shadow: 0 0 28px rgba(198,255,0,.45); }
b { font-weight: 700; }

/* nav */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(7,8,12,.82); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; gap: 28px; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--head); font-weight: 800; letter-spacing: .08em; text-decoration: none; font-size: 18px; }
.logo img { width: 30px; height: 30px; }
.links { display: flex; gap: 22px; margin-left: auto; }
.links a { text-decoration: none; color: var(--muted); font-size: 15px; transition: color .15s; }
.links a:hover { color: var(--lime); }

/* buttons */
.btn { display: inline-block; padding: 14px 26px; background: var(--lime); color: #07080c; font-weight: 700; text-decoration: none;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px)); transition: box-shadow .15s, transform .15s; }
.btn:hover { box-shadow: 0 0 30px rgba(198,255,0,.55); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--text); clip-path: none; border: 1px solid var(--soft); padding: 13px 25px; }
.btn-ghost:hover { border-color: var(--lime); color: var(--lime); box-shadow: none; }
.btn-sm { padding: 9px 18px; font-size: 14px; }

/* hero */
.hero { padding: 72px 0 56px; }
.hero-in { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: center; }
.badge { display: inline-block; padding: 6px 12px; border: 1px solid var(--soft); color: var(--cyan); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 18px; }
h1 { font-family: var(--head); font-size: clamp(34px, 4.6vw, 58px); line-height: 1.08; margin: 0 0 20px; letter-spacing: -.01em; }
.lead { font-size: 19px; color: #c9cedb; margin: 0 0 28px; max-width: 560px; }
.cta { display: flex; gap: 14px; flex-wrap: wrap; }
.cta.center { justify-content: center; }
.hero-note { margin-top: 14px; color: var(--muted); font-size: 14px; }
.hero-shot { position: relative; }
.frame { background: var(--panel); border: 1px solid var(--line); clip-path: var(--cut); box-shadow: 0 30px 80px rgba(0,0,0,.55); }
.frame-bar { height: 28px; display: flex; align-items: center; gap: 6px; padding: 0 12px; border-bottom: 1px solid var(--line); }
.frame-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--soft); }
.frame-bar i:first-child { background: var(--pink); } .frame-bar i:nth-child(2) { background: var(--amber); } .frame-bar i:nth-child(3) { background: var(--lime); }
.float { position: absolute; background: rgba(13,15,22,.95); border: 1px solid var(--soft); padding: 12px 16px; font-size: 14px; display: flex; align-items: center; gap: 10px;
  box-shadow: 0 16px 40px rgba(0,0,0,.6); clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px)); animation: bob 5s ease-in-out infinite; }
.float-a { left: -26px; bottom: 54px; }
.float-b { right: -14px; top: 64px; animation-delay: -2.5s; }
@keyframes bob { 50% { transform: translateY(-8px); } }
.dot { width: 10px; height: 10px; border-radius: 50%; flex: 0 0 auto; }
.dot.ok { background: var(--lime); box-shadow: 0 0 12px var(--lime); }
.dot.upd { background: var(--amber); box-shadow: 0 0 12px var(--amber); }

/* numbers */
.numbers { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(13,15,22,.6); }
.nums { display: grid; grid-template-columns: repeat(4, 1fr); }
.nums div { padding: 30px 24px; border-left: 1px solid var(--line); }
.nums div:first-child { border-left: 0; }
.nums b { display: block; font-family: var(--head); font-size: 34px; color: var(--lime); text-shadow: 0 0 22px rgba(198,255,0,.35); line-height: 1.1; margin-bottom: 8px; }
.nums span { color: var(--muted); font-size: 15px; }

/* sections */
.section { padding: 96px 0; }
.section.alt { background: linear-gradient(180deg, rgba(13,15,22,.75), rgba(13,15,22,.35)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.kicker { color: var(--pink); text-transform: uppercase; letter-spacing: .14em; font-size: 13px; font-weight: 700; margin-bottom: 12px; }
h2 { font-family: var(--head); font-size: clamp(28px, 3.4vw, 42px); line-height: 1.15; margin: 0 0 16px; }
.sub { color: #c0c6d4; font-size: 18px; max-width: 760px; margin: 0 0 44px; }
h3 { font-size: 19px; margin: 0 0 8px; }

/* flow */
.flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: stretch; gap: 16px; margin-bottom: 44px; }
.flow.start { grid-template-columns: repeat(3, 1fr); margin-bottom: 0; }
.step { background: var(--tile); border: 1px solid var(--line); padding: 26px; clip-path: var(--cut); }
.step p { color: var(--muted); margin: 0; }
.num { width: 38px; height: 38px; display: grid; place-items: center; font-family: var(--head); font-weight: 800; color: #07080c; background: var(--lime); margin-bottom: 14px; box-shadow: 0 0 20px rgba(198,255,0,.4); }
.arrow { align-self: center; color: var(--lime); font-size: 30px; }

/* network animation */
.demo-net { display: grid; grid-template-columns: auto 80px auto 80px 1fr; align-items: center; gap: 0; margin: 0 0 56px; padding: 30px; border: 1px dashed var(--soft); }
.cloud, .server { padding: 18px 22px; background: var(--tile); border: 1px solid var(--soft); text-align: center; }
.cloud { color: var(--cyan); font-weight: 700; }
.server b { display: block; color: var(--lime); }
.server span { color: var(--muted); font-size: 13px; }
.line { height: 3px; background: linear-gradient(90deg, transparent, var(--lime), transparent); background-size: 200% 100%; animation: flow 1.6s linear infinite; }
.line-1 { background-image: linear-gradient(90deg, transparent, var(--cyan), transparent); }
@keyframes flow { from { background-position: 100% 0; } to { background-position: -100% 0; } }
.pcs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.pc { padding: 12px 8px; text-align: center; font-size: 13px; font-weight: 700; letter-spacing: .04em; background: var(--panel); border: 1px solid var(--line); border-left: 3px solid var(--red);
  animation: pcUpdate 6s infinite; animation-delay: var(--d); }
@keyframes pcUpdate {
  0% { border-left-color: var(--red); box-shadow: none; }
  25% { border-left-color: var(--amber); box-shadow: inset 0 0 18px rgba(255,176,32,.15); }
  45%, 90% { border-left-color: var(--lime); box-shadow: inset 0 0 18px rgba(198,255,0,.12); color: var(--lime); }
  100% { border-left-color: var(--red); }
}

/* split */
.split { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.ticks li { padding-left: 32px; position: relative; color: #c0c6d4; }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--lime); font-weight: 800; }
.ticks b { color: var(--text); }

/* features */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: var(--tile); border: 1px solid var(--line); padding: 26px; clip-path: var(--cut); transition: border-color .15s, transform .15s; }
.card:hover { border-color: var(--soft); transform: translateY(-3px); }
.card .ic { font-size: 28px; margin-bottom: 12px; }
.card p { color: var(--muted); margin: 0; }

/* management rows */
.row { display: grid; grid-template-columns: 1.25fr 1fr; gap: 44px; align-items: center; margin-bottom: 64px; }
.row.rev > .frame { order: 2; }
.row-text h3 { font-family: var(--head); font-size: 24px; line-height: 1.25; margin-bottom: 18px; }
.grid { margin-top: 8px; }

/* highlight: auto-update */
.feature { border: 1px solid var(--soft); background: rgba(7,8,12,.55); padding: 40px; margin-bottom: 28px; clip-path: var(--cut);
  box-shadow: inset 0 0 0 1px rgba(198,255,0,.06); position: relative; }
.feature::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--lime), var(--cyan), var(--pink)); }
.tag { display: inline-block; background: var(--lime); color: #07080c; font-weight: 800; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; margin-bottom: 14px; }
h3.big { font-family: var(--head); font-size: clamp(24px, 2.8vw, 34px); line-height: 1.2; margin-bottom: 14px; }
.feature .sub { margin-bottom: 34px; }
.feature .demo-net { margin-bottom: 40px; }


/* telegram mock */
.tg { max-width: 420px; width: 100%; justify-self: center; background: #0e1621; border: 1px solid var(--soft); border-radius: 18px; overflow: hidden; box-shadow: 0 24px 60px rgba(0,0,0,.55); font-size: 14px; line-height: 1.45; }
.tg-head { display: flex; gap: 12px; align-items: center; padding: 12px 16px; background: #17212b; }
.tg-head b { display: block; } .tg-head span { color: #7f91a4; font-size: 13px; }
.tg-ava { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #07080c; background: linear-gradient(135deg, var(--pink), var(--cyan)); }
.tg-body { padding: 16px 12px; display: grid; gap: 8px; }
.msg { background: #182533; padding: 9px 12px; border-radius: 12px 12px 12px 4px; max-width: 88%; justify-self: start; }
.msg.me { background: #2b5278; border-radius: 12px 12px 4px 12px; justify-self: end; }
.msg .code { font-family: ui-monospace, Menlo, monospace; font-size: 17px; color: var(--lime); letter-spacing: .06em; }
.ibtn { margin-top: 9px; text-align: center; padding: 7px; background: rgba(255,255,255,.07); border-radius: 8px; color: #8fc6ff; }
.tg-kb { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 8px; background: #17212b; }
.tg-kb span { text-align: center; padding: 9px 4px; background: #232e3c; border-radius: 8px; font-size: 13px; }
.tg-kb .wide { grid-column: 1 / -1; }

/* update notices mock */
.notes { display: grid; gap: 14px; max-width: 520px; width: 100%; justify-self: center; }
.note { padding: 16px 18px; background: var(--panel); border: 1px solid var(--soft); border-left: 4px solid var(--amber); box-shadow: 0 16px 40px rgba(0,0,0,.5); line-height: 1.5; }
.note.ok { border-left-color: var(--lime); animation: glowIn 4s ease-in-out infinite; }
.note-gap { display: flex; gap: 10px; align-items: center; color: var(--muted); font-size: 14px; padding-left: 18px; }
@keyframes glowIn { 0%, 40% { box-shadow: 0 16px 40px rgba(0,0,0,.5); } 60%, 100% { box-shadow: 0 0 0 1px rgba(198,255,0,.25), 0 16px 40px rgba(0,0,0,.5); } }
.feature + .row.owner { margin-top: 64px; }

/* owner phones */
.owner { margin-bottom: 0; grid-template-columns: 1fr 1.1fr; }
.phones { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 480px; }
.phones img { border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 24px 60px rgba(0,0,0,.55); }

/* contact */
.contact { text-align: center; }
.contact .sub { margin-left: auto; margin-right: auto; }
.phone { display: inline-block; margin-top: 26px; font-family: var(--head); font-size: 24px; color: var(--lime); text-decoration: none; }
.foot { border-top: 1px solid var(--line); padding: 26px 0; color: var(--muted); font-size: 14px; }

/* phones and tablets */
@media (max-width: 980px) {
  .hero-in, .split { grid-template-columns: 1fr; }
  .float-a { left: 8px; bottom: -18px; } .float-b { right: 8px; top: -16px; }
  .nums { grid-template-columns: 1fr 1fr; }
  .nums div:nth-child(3) { border-left: 0; }
  .nums div { border-top: 1px solid var(--line); }
  .flow { grid-template-columns: 1fr; } .arrow { transform: rotate(90deg); justify-self: center; }
  .flow.start { grid-template-columns: 1fr; }
  .grid { grid-template-columns: 1fr 1fr; }
  .row, .owner { grid-template-columns: 1fr; gap: 26px; margin-bottom: 52px; }
  .row.rev > .frame { order: 0; }
  .feature { padding: 26px 20px; }
  .demo-net { grid-template-columns: 1fr; gap: 14px; }
  .line { height: 30px; width: 3px; justify-self: center; background: linear-gradient(180deg, transparent, var(--lime), transparent); background-size: 100% 200%; animation: flowv 1.6s linear infinite; }
  .line-1 { background-image: linear-gradient(180deg, transparent, var(--cyan), transparent); }
  @keyframes flowv { from { background-position: 0 100%; } to { background-position: 0 -100%; } }
  .links { display: none; }
  .nav-in .btn-sm { margin-left: auto; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 18px; }
  .hero { padding: 40px 0 44px; }
  .lead { font-size: 17px; }
  .section { padding: 64px 0; }
  .grid { grid-template-columns: 1fr; }
  .pcs { grid-template-columns: repeat(2, 1fr); }
  .feature { padding: 22px 16px; }
  .row-text h3 { font-size: 20px; }
  .float { font-size: 12px; padding: 9px 12px; }
  .nums b { font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) { .float, .line, .pc, .note.ok { animation: none; } }
