/* ============================================================
   Landing: hero з реальним мокапом клієнта, сигнали, кроки
   ============================================================ */

/* ---------- Hero ---------- */
.hero { position: relative; padding: 76px 0 96px; overflow: hidden; }
.hero-glow {
  position: absolute; inset: -20% 40% 40% -10%; pointer-events: none;
  background:
    radial-gradient(520px 340px at 22% 26%, rgba(91,140,255,.18), transparent 68%),
    radial-gradient(420px 300px at 78% 12%, rgba(160,114,255,.14), transparent 70%);
  filter: blur(12px);
}
.hero-inner {
  position: relative; display: grid; grid-template-columns: 1fr 1.06fr;
  gap: 64px; align-items: center;
}
.hero-copy h1 { font-size: clamp(2.3rem, 4.4vw, 3.45rem); letter-spacing: -.035em; margin: 22px 0 24px; }
.hero-copy .badge { font-size: .82rem; padding: 7px 15px 7px 12px; }
.hero-sub { font-size: 1.06rem; line-height: 1.7; color: #aab3c6; max-width: 470px; margin-bottom: 32px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-cta-note { font-size: .84rem; color: var(--faint); margin: 14px 0 0; }

.btn-outline {
  background: rgba(255,255,255,.035);
  border: 1px solid #333b4d;
  color: var(--text);
}
.btn-outline:hover { border-color: var(--accent); background: rgba(91,140,255,.08); color: var(--text); }

.hero-facts {
  display: flex; gap: 34px; margin: 42px 0 0; padding-top: 26px;
  border-top: 1px solid var(--border-soft);
}
.hero-facts div { display: flex; flex-direction: column; gap: 3px; }
.hero-facts dt {
  font-size: 1.5rem; font-weight: 700; letter-spacing: -.03em;
  background: linear-gradient(120deg, var(--accent-2), var(--accent-3));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-facts dd { margin: 0; font-size: .82rem; color: var(--faint); }

/* ---------- Мокап вікна клієнта ---------- */
.hero-visual { position: relative; }
.app-window {
  position: relative; border-radius: 13px; overflow: hidden;
  border: 1px solid #2a3142;
  background: #0e1118;
  box-shadow:
    0 40px 110px rgba(0,0,0,.72),
    0 0 0 1px rgba(255,255,255,.03),
    0 0 90px rgba(91,140,255,.12);
  transform: perspective(1600px) rotateY(-4deg) rotateX(1.5deg);
  transition: transform .5s cubic-bezier(.2,.7,.3,1);
}
.app-window:hover { transform: perspective(1600px) rotateY(-1deg) rotateX(0deg); }

.app-titlebar {
  display: flex; align-items: center; gap: 10px;
  height: 38px; padding: 0 14px;
  background: linear-gradient(180deg, #161a24, #12151d);
  border-bottom: 1px solid #232935;
}
.win-dots { display: flex; gap: 6px; }
.win-dots i { width: 9px; height: 9px; border-radius: 50%; background: #2f3646; }
.win-dots i:first-child { background: #3a4254; }
.win-title { font-size: .76rem; color: #7b8496; font-weight: 600; letter-spacing: .01em; }
.win-running { margin-left: auto; display: flex; align-items: center; gap: 6px; font-size: .72rem; color: #8f9ab0; }
.win-running .live { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 8px rgba(62,207,142,.75); }

.app-cols { display: grid; grid-template-columns: 46px 1fr; min-height: 316px; }
.app-rail {
  display: flex; flex-direction: column; gap: 8px; align-items: center;
  padding: 14px 0; background: #0b0e14; border-right: 1px solid #1c222d;
}
.rail-item { width: 22px; height: 22px; border-radius: 7px; background: #191f2b; }
.rail-item.active { background: rgba(91,140,255,.24); box-shadow: inset 0 0 0 1px rgba(91,140,255,.5); }

.app-body { padding: 14px; }
.app-toolbar { display: flex; gap: 8px; align-items: center; margin-bottom: 12px; }
.tb-search { flex: 1; height: 26px; border-radius: 7px; background: #12161f; border: 1px solid #1e2532; }
.tb-btn { width: 26px; height: 26px; border-radius: 7px; background: #161b26; }
.tb-btn.accent { background: linear-gradient(135deg, var(--accent), var(--accent-2)); opacity: .85; }

.app-rows { display: flex; flex-direction: column; gap: 6px; }
.app-rows { position: relative; }
.app-rows::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 42px;
  background: linear-gradient(180deg, transparent, #0e1118 88%); pointer-events: none;
}
.app-row {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 11px; border-radius: 8px;
  background: #12161f; border: 1px solid #1d2431;
}
.row-av { width: 26px; height: 26px; border-radius: 7px; flex: none; }
.row-av.a1 { background: linear-gradient(135deg, #3d5a8f, #5b8cff); }
.row-av.a2 { background: linear-gradient(135deg, #4a3f7d, #a072ff); }
.row-av.a3 { background: linear-gradient(135deg, #2f6b5c, #3ecf8e); }
.row-av.a4 { background: linear-gradient(135deg, #6b5330, #f0b24a); }
.row-av.a5 { background: linear-gradient(135deg, #3a3f4d, #565d6e); }
.row-meta { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.row-meta b { font-size: .78rem; font-weight: 600; color: #cdd4e2; letter-spacing: -.01em; }
.row-meta i { font-size: .7rem; font-style: normal; color: #6c7689; }
.row-chip {
  font-size: .64rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 100px; color: #767f92; background: #1a1f2b;
}
.row-chip.on { color: var(--ok); background: rgba(62,207,142,.1); box-shadow: inset 0 0 0 1px rgba(62,207,142,.22); }

/* плаваючі картки поверх мокапа */
.hero-card {
  position: absolute; display: flex; flex-direction: column; gap: 3px;
  padding: 10px 14px; border-radius: 11px;
  background: rgba(19,24,34,.92); border: 1px solid #2a3142;
  backdrop-filter: blur(10px); box-shadow: 0 16px 40px rgba(0,0,0,.55);
  animation: float 7s ease-in-out infinite;
}
.hc-label { font-size: .64rem; text-transform: uppercase; letter-spacing: .1em; color: #6c7689; }
.hc-value { font-size: .82rem; font-weight: 600; color: #dbe2f0; }
.hc-value.ok { color: var(--ok); }
.hero-card-1 { top: -18px; right: 6%; animation-delay: -.5s; }
.hero-card-2 { bottom: -20px; left: -14px; animation-delay: -3s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- Заголовок-двоколонка ---------- */
.split-head {
  display: grid; grid-template-columns: 1fr .85fr; gap: 48px;
  align-items: end; margin-bottom: 44px;
}
.split-head h2 { margin-bottom: 0; }
.split-note { color: var(--muted); font-size: .98rem; margin: 0; padding-bottom: 6px; }

/* ---------- Сигнали ---------- */
.signal-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border-soft); border: 1px solid var(--border-soft); border-radius: var(--radius-lg); overflow: hidden; }
.signal { background: var(--panel); padding: 26px 24px; transition: background .2s; display: flex; flex-direction: column; }
.signal:hover { background: var(--panel-2); }
.signal-icon {
  width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center;
  background: rgba(91,140,255,.1); border: 1px solid rgba(91,140,255,.2); margin-bottom: 16px;
}
.signal-icon svg { width: 17px; height: 17px; color: var(--accent-2); }
.signal h3 { font-size: .98rem; margin-bottom: 8px; }
.signal p { font-size: .88rem; color: var(--muted); margin: 0; line-height: 1.55; }

/* ---------- Кроки ---------- */
.howto { position: relative; }
.steps-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.step { position: relative; padding-top: 22px; border-top: 1px solid var(--border); }
.step::before {
  content: ''; position: absolute; top: -1px; left: 0; width: 46px; height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
}
.step-num {
  display: block; font-family: var(--mono); font-size: .74rem; letter-spacing: .14em;
  color: var(--accent-2); margin-bottom: 10px;
}
.step h3 { font-size: 1.06rem; margin-bottom: 8px; }
.step p { font-size: .9rem; color: var(--muted); margin: 0; line-height: 1.6; }

/* ---------- Тарифний блок ---------- */
.pricing-block {
  background: linear-gradient(180deg, rgba(91,140,255,.045), transparent 55%);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}

.container.narrow { max-width: 820px; }

/* ---------- Адаптив ---------- */
@media (max-width: 1000px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { order: -1; max-width: 620px; }
  .app-window { transform: none; }
  .hero-card { display: none; }
  .signal-grid { grid-template-columns: repeat(2, 1fr); }
  .split-head { grid-template-columns: 1fr; gap: 14px; align-items: start; }
  .steps-row { grid-template-columns: 1fr; gap: 22px; }
}
@media (max-width: 620px) {
  .hero { padding: 40px 0 56px; }
  .hero-visual { margin-bottom: 4px; }
  .app-cols { grid-template-columns: 38px 1fr; min-height: 268px; }
  .app-rail { padding: 10px 0; gap: 6px; }
  .rail-item { width: 18px; height: 18px; border-radius: 5px; }
  .row-meta b { font-size: .74rem; }
  .row-meta i { font-size: .66rem; }
  .row-chip { font-size: .58rem; padding: 2px 6px; }
  .row-av { width: 22px; height: 22px; }
  .signal-grid { grid-template-columns: 1fr; }
  .hero-facts { gap: 22px; margin-top: 32px; padding-top: 22px; }
  .cta-band { padding: 30px 22px; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .split-head { margin-bottom: 30px; }
}
@media (max-width: 380px) {
  .row-chip { display: none; }
}
