/* ============================================================
   UES · Лендинг
   ============================================================ */

body.landing { background: #fff; font-size: 15px; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ---------- Навигация ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: all .25s;
}
.nav .nav-in {
  display: flex; align-items: center; gap: 28px;
  padding: 16px 0;
}
.nav.scrolled { background: rgba(9,18,33,.82); backdrop-filter: blur(14px); box-shadow: 0 1px 0 rgba(255,255,255,.07); }
.nav.scrolled .nav-in { padding: 11px 0; }
.nav-logo { display: flex; align-items: center; gap: 11px; text-decoration: none !important; }
.nav-logo svg { width: 36px; height: 36px; }
.nav-logo .nm { color: #fff; font-weight: 800; font-size: 18px; letter-spacing: -.01em; line-height: 1.1; }
.nav-logo .ds { color: #7e91ad; font-size: 10px; font-weight: 500; }
.nav-links { display: flex; gap: 26px; margin-left: 26px; }
.nav-links a { color: #b5c3d8; font-size: 13.5px; font-weight: 500; transition: color .15s; }
.nav-links a:hover { color: #fff; }
.nav-cta { margin-left: auto; display: flex; gap: 10px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(1100px 600px at 12% -12%, rgba(42,120,214,.42), transparent 62%),
    radial-gradient(800px 520px at 105% 8%, rgba(26,90,170,.3), transparent 55%),
    radial-gradient(700px 500px at 88% 108%, rgba(237,161,0,.1), transparent 50%),
    linear-gradient(168deg, #081222 0%, #0b1b33 55%, #0a1628 100%);
  padding: 148px 0 90px;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.033) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.033) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse 90% 70% at 45% 25%, #000 25%, transparent 80%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.02fr .98fr; gap: 56px; align-items: center; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 14px; border-radius: 999px; font-size: 12.5px; font-weight: 600;
  background: rgba(57,135,229,.14); border: 1px solid rgba(57,135,229,.32); color: #8fc0f5;
  margin-bottom: 22px;
}
.hero-badge .pulse { width: 8px; height: 8px; border-radius: 50%; background: #35d235; box-shadow: 0 0 0 0 rgba(53,210,53,.5); animation: pulse 2.2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 7px rgba(53,210,53,0); } 100% { box-shadow: 0 0 0 0 rgba(53,210,53,0); } }

.hero h1 { font-size: clamp(32px, 4.6vw, 52px); font-weight: 800; letter-spacing: -.025em; line-height: 1.08; }
.hero h1 .grad {
  background: linear-gradient(92deg, #6fb1f5 0%, #9ecdf9 50%, #eda100 130%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .hero-sub { color: #a9bad2; font-size: 16.5px; line-height: 1.65; margin: 20px 0 30px; max-width: 520px; }
.hero .hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-hero {
  padding: 14px 26px; font-size: 15px; border-radius: 13px;
}
.btn-hero-ghost {
  background: rgba(255,255,255,.06); color: #e8eef7; border: 1px solid rgba(255,255,255,.16);
}
.btn-hero-ghost:hover { background: rgba(255,255,255,.11); transform: translateY(-1px); }

.hero-stats { display: flex; gap: 36px; margin-top: 44px; flex-wrap: wrap; }
.hero-stat .v { font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.hero-stat .v em { font-style: normal; color: #eda100; }
.hero-stat .l { font-size: 12.5px; color: #7e91ad; margin-top: 2px; }

/* Мокап дашборда */
.hero-visual { position: relative; }
.mock {
  background: #0f2038; border: 1px solid rgba(255,255,255,.1); border-radius: 18px;
  box-shadow: 0 40px 90px rgba(2,8,20,.6), 0 0 0 1px rgba(0,0,0,.2);
  overflow: hidden; transform: perspective(1400px) rotateY(-5deg) rotateX(2deg);
}
.mock-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid rgba(255,255,255,.07); }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; display: block; }
.mock-bar .url {
  margin-left: 10px; flex: 1; background: rgba(255,255,255,.06); border-radius: 7px;
  font-size: 11px; color: #8ea2bf; padding: 5px 12px; display: flex; align-items: center; gap: 7px;
}
.mock-bar .url svg { width: 11px; height: 11px; color: #35d235; }
.mock-body { background: #f3f5f9; padding: 14px; }
.mock-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin-bottom: 10px; }
.mock-kpi { background: #fff; border-radius: 10px; padding: 10px 12px; border: 1px solid var(--line); }
.mock-kpi .k { font-size: 9.5px; color: var(--ink-3); font-weight: 600; }
.mock-kpi .n { font-size: 15px; font-weight: 700; color: var(--ink); margin-top: 2px; letter-spacing: -.01em; }
.mock-kpi .d { font-size: 9.5px; color: #067d06; font-weight: 600; }
.mock-chart { background: #fff; border-radius: 10px; border: 1px solid var(--line); padding: 10px 12px 6px; }
.mock-chart .t { font-size: 10.5px; font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.mock-rows { background: #fff; border-radius: 10px; border: 1px solid var(--line); margin-top: 10px; padding: 4px 12px; }
.mock-row { display: flex; align-items: center; gap: 9px; padding: 7px 0; border-bottom: 1px solid var(--line-2); font-size: 10.5px; color: var(--ink-2); }
.mock-row:last-child { border-bottom: none; }
.mock-row svg { width: 12px; height: 12px; color: var(--brand-500); flex: none; }
.mock-row .grow { color: var(--ink); font-weight: 600; }
.mock-row .pill { font-size: 9px; font-weight: 700; padding: 2px 8px; border-radius: 99px; }

.float-chip {
  position: absolute; display: flex; align-items: center; gap: 10px;
  background: #fff; border-radius: 13px; padding: 11px 15px;
  box-shadow: 0 18px 44px rgba(2,8,20,.4); border: 1px solid var(--line);
  animation: floaty 6s ease-in-out infinite;
}
.float-chip .ic { width: 32px; height: 32px; border-radius: 9px; display: flex; align-items: center; justify-content: center; flex: none; }
.float-chip .ic svg { width: 15px; height: 15px; }
.float-chip .t { font-size: 12px; font-weight: 700; color: var(--ink); line-height: 1.3; }
.float-chip .x { font-size: 10.5px; color: var(--ink-3); }
.chip-1 { top: -20px; right: -14px; animation-delay: .8s; }
.chip-2 { bottom: -18px; left: -22px; }
@keyframes floaty { 50% { transform: translateY(-9px); } }

/* Интеграции-строка */
.integr { border-top: 1px solid rgba(255,255,255,.07); margin-top: 74px; padding-top: 26px; position: relative; }
.integr .l { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #62748f; font-weight: 600; }
.integr .items { display: flex; gap: 14px; margin-top: 14px; flex-wrap: wrap; }
.integr .it {
  display: flex; align-items: center; gap: 9px; padding: 9px 16px; border-radius: 11px;
  background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.09);
  color: #c7d3e4; font-size: 13px; font-weight: 600;
}
.integr .it svg { width: 15px; height: 15px; color: #6fb1f5; }

/* ---------- Секции ---------- */
.sec { padding: 88px 0; }
.sec.alt { background: var(--page); }
.sec-head { max-width: 640px; margin-bottom: 46px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.overline {
  font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--brand-500); margin-bottom: 12px; display: flex; align-items: center; gap: 9px;
}
.sec-head.center .overline { justify-content: center; }
.overline::before { content: ""; width: 22px; height: 2.5px; border-radius: 2px; background: var(--brand-500); }
.sec-head.center .overline::before { display: none; }
.sec-head h2 { font-size: clamp(26px, 3.2vw, 36px); font-weight: 800; letter-spacing: -.02em; color: var(--ink); line-height: 1.15; }
.sec-head p { color: var(--ink-2); font-size: 15.5px; margin-top: 14px; line-height: 1.65; }

/* Карточки «зачем» */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.why {
  background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 26px 24px;
  transition: all .2s;
}
.sec.alt .why { box-shadow: var(--shadow-1); }
.why:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: #cfdcf0; }
.why .ic {
  width: 46px; height: 46px; border-radius: 13px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--brand-50), var(--brand-100)); color: var(--brand-600); margin-bottom: 18px;
}
.why .ic svg { width: 21px; height: 21px; }
.why h3 { font-size: 16.5px; color: var(--ink); margin-bottom: 8px; }
.why p { font-size: 13.5px; color: var(--ink-2); line-height: 1.6; }

/* Цикл */
.cycle { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; counter-reset: step; }
.cy {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 20px 16px 18px; box-shadow: var(--shadow-1); transition: all .2s;
}
.cy:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.cy .n {
  width: 30px; height: 30px; border-radius: 9px; font-size: 13px; font-weight: 800;
  background: var(--navy-900); color: #fff; display: flex; align-items: center; justify-content: center;
  margin-bottom: 13px;
}
.cy:nth-child(6) .n { background: linear-gradient(135deg, var(--brand-500), var(--brand-700)); }
.cy h4 { font-size: 14px; color: var(--ink); margin-bottom: 5px; }
.cy p { font-size: 12px; color: var(--ink-2); line-height: 1.5; }
.cy::after {
  content: ""; position: absolute; right: -13px; top: 50%; width: 12px; height: 2px;
  background: #c9d4e4; z-index: 1;
}
.cy:last-child::after { display: none; }
.cycle-note {
  margin-top: 26px; display: flex; gap: 12px; align-items: flex-start;
  background: var(--brand-50); border: 1px solid #d3e4f8; border-radius: 14px; padding: 16px 20px;
  font-size: 14px; color: #1a4a86; max-width: 760px;
}
.cycle-note svg { width: 18px; height: 18px; flex: none; margin-top: 1px; color: var(--brand-500); }

/* Порталы */
.portals { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.pcard {
  border-radius: 22px; overflow: hidden; border: 1px solid var(--line);
  background: #fff; box-shadow: var(--shadow-1); display: flex; flex-direction: column;
  transition: all .22s;
}
.pcard:hover { transform: translateY(-5px); box-shadow: 0 22px 48px rgba(16,24,40,.13); }
.pcard .ph { padding: 30px 30px 24px; color: #fff; position: relative; overflow: hidden; }
.pcard.ext .ph { background: linear-gradient(140deg, #1c5cab 0%, #2a78d6 70%, #3987e5 100%); }
.pcard.int .ph { background: linear-gradient(140deg, #0a1628 0%, #12233d 80%); }
.pcard .ph::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 210px; height: 210px;
  border-radius: 50%; background: rgba(255,255,255,.07);
}
.pcard .ph .tag {
  display: inline-flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 700;
  letter-spacing: .09em; text-transform: uppercase; padding: 6px 12px; border-radius: 99px;
  background: rgba(255,255,255,.14); margin-bottom: 14px;
}
.pcard .ph .tag svg { width: 13px; height: 13px; }
.pcard .ph h3 { font-size: 22px; font-weight: 800; letter-spacing: -.015em; }
.pcard .ph p { font-size: 13.5px; opacity: .82; margin-top: 6px; max-width: 380px; }
.pcard .pb { padding: 24px 30px 28px; flex: 1; display: flex; flex-direction: column; }
.pmods { display: grid; grid-template-columns: 1fr 1fr; gap: 3px 18px; margin-bottom: 24px; }
.pmod { display: flex; align-items: center; gap: 10px; padding: 8px 0; font-size: 13.5px; color: var(--ink-2); font-weight: 500; }
.pmod svg { width: 16px; height: 16px; color: var(--brand-500); flex: none; }
.pcard .pb .btn { margin-top: auto; align-self: flex-start; }

/* Технологии */
.tech-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tech {
  display: flex; gap: 16px; background: #fff; border: 1px solid var(--line);
  border-radius: 16px; padding: 20px; box-shadow: var(--shadow-1); transition: all .2s;
}
.tech:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.tech .ic {
  width: 42px; height: 42px; border-radius: 12px; flex: none;
  display: flex; align-items: center; justify-content: center;
  background: var(--navy-900); color: #7fb4f0;
}
.tech .ic svg { width: 19px; height: 19px; }
.tech h4 { font-size: 14.5px; color: var(--ink); }
.tech p { font-size: 12.5px; color: var(--ink-2); margin-top: 3px; line-height: 1.55; }

/* Дорожная карта */
.road { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; position: relative; margin-top: 8px; }
.road::before { content: ""; position: absolute; left: 3%; right: 3%; top: 17px; height: 2.5px; background: linear-gradient(90deg, var(--brand-500), #b9d4f4); border-radius: 2px; }
.rd { position: relative; padding: 44px 12px 0; text-align: center; }
.rd .dot {
  position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
  width: 20px; height: 20px; border-radius: 50%; background: #fff;
  border: 3.5px solid var(--brand-500); box-shadow: 0 0 0 5px #eaf2fc;
}
.rd .mn { font-size: 11px; font-weight: 700; color: var(--brand-600); text-transform: uppercase; letter-spacing: .08em; }
.rd h4 { font-size: 14px; color: var(--ink); margin-top: 4px; }
.rd p { font-size: 12px; color: var(--ink-3); margin-top: 3px; }

/* CTA */
.cta {
  position: relative; overflow: hidden; border-radius: 26px; color: #fff;
  padding: 62px 56px;
  background:
    radial-gradient(700px 380px at 85% -20%, rgba(57,135,229,.5), transparent 60%),
    radial-gradient(500px 300px at 0% 120%, rgba(237,161,0,.15), transparent 55%),
    linear-gradient(150deg, #0a1628, #0e1f3c);
}
.cta h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; letter-spacing: -.02em; max-width: 560px; }
.cta p { color: #a9bad2; margin: 14px 0 28px; max-width: 520px; font-size: 15px; }
.cta .row { display: flex; gap: 12px; flex-wrap: wrap; }

/* Футер */
.footer { background: var(--navy-950); color: #8ea2bf; padding: 46px 0 34px; }
.footer .cols { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.footer .f-logo { display: flex; align-items: center; gap: 10px; }
.footer .f-logo svg { width: 32px; height: 32px; }
.footer .f-logo .nm { color: #fff; font-weight: 800; font-size: 16px; }
.footer p { font-size: 12.5px; margin-top: 12px; max-width: 320px; line-height: 1.6; }
.footer h5 { color: #fff; font-size: 13px; margin-bottom: 12px; }
.footer a { display: block; color: #8ea2bf; font-size: 13px; padding: 4px 0; }
.footer a:hover { color: #fff; }
.footer .base {
  border-top: 1px solid rgba(255,255,255,.08); margin-top: 36px; padding-top: 20px;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 12px; color: #62748f;
}

/* Появление при скролле */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 1060px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding-top: 120px; }
  .mock { transform: none; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .cycle { grid-template-columns: repeat(3, 1fr); }
  .cy::after { display: none; }
  .tech-grid { grid-template-columns: repeat(2, 1fr); }
  .road { grid-template-columns: repeat(3, 1fr); }
  .road::before { display: none; }
  .nav-links { display: none; }
}
@media (max-width: 680px) {
  .why-grid, .cycle, .tech-grid, .portals, .road { grid-template-columns: 1fr; }
  .pmods { grid-template-columns: 1fr; }
  .cta { padding: 40px 26px; }
  .hero-stats { gap: 22px; }
}
