/* Лендинг PDZ CRM. Палитра — фирменный синий (#1f4e79) + акценты по смыслу: зелёный — деньги пришли, красный — просрочка. */
.lp { --ink: #0f2236; --muted: #5b6b7c; --brand: #1f4e79; --brand2: #2b6cb0; --line: #e3e9f0; --soft: #f4f7fb;
  --ok: #15803d; --bad: #dc2626; --warn: #d97706; color: var(--ink); }
.lp h1, .lp h2, .lp h3 { letter-spacing: -.02em; }
.lp .sec { padding: 88px 0; }
.lp .sec-sm { padding: 56px 0; }
.lp .kicker { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: .06em; color: var(--brand2); background: #e8f1fb; border-radius: 99px; padding: 5px 12px; }
.lp .sec-title { font-size: clamp(1.6rem, 3.2vw, 2.4rem); font-weight: 800; margin: 14px 0 10px; }
.lp .sec-lead { color: var(--muted); font-size: 1.1rem; max-width: 640px; margin: 0 auto; }

/* ---------- первый экран ---------- */
.lp-hero { position: relative; overflow: hidden; color: #fff; padding: 72px 0 96px;
  background: radial-gradient(1200px 600px at 85% -10%, #3b82c4 0, transparent 60%),
              radial-gradient(900px 500px at -10% 110%, #0d2a47 0, transparent 60%), linear-gradient(160deg, #15324f, #1f4e79 55%, #22598c); }
.lp-hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .35;
  background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 44px 44px; mask-image: linear-gradient(180deg, #000, transparent 85%); }
.lp-hero .container { position: relative; z-index: 1; }
.lp-hero h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); font-weight: 800; line-height: 1.08; }
.lp-hero h1 .hl { background: linear-gradient(90deg, #7dd3fc, #a7f3d0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lp-hero .lead { color: #d6e4f2; font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 560px; }
.lp-hero .badge-top { display: inline-flex; gap: 8px; align-items: center; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2);
  border-radius: 99px; padding: 6px 14px; font-size: .85rem; color: #e6f0fa; backdrop-filter: blur(4px); }
.lp-hero .badge-top .dot { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 4px rgba(74,222,128,.25); }
.lp-cta { border-radius: 14px; padding: 14px 24px; font-weight: 700; font-size: 1.02rem; white-space: nowrap; }
.lp-cta-main { background: #fff; color: var(--brand); border: 0; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.lp-cta-main:hover { background: #f0f7ff; color: var(--brand); transform: translateY(-1px); }
.lp-cta-ghost { color: #fff; border: 1.5px solid rgba(255,255,255,.45); background: rgba(255,255,255,.06); }
.lp-cta-ghost:hover { color: #fff; background: rgba(255,255,255,.14); border-color: #fff; }
.lp-trust { display: flex; flex-wrap: wrap; gap: 8px 20px; color: #c9d9ea; font-size: .92rem; }
.lp-trust i { color: #4ade80; margin-right: 6px; }

/* макет программы */
.mock { position: relative; background: #fff; color: var(--ink); border-radius: 18px; box-shadow: 0 30px 80px rgba(3,15,30,.45);
  overflow: hidden; transform: perspective(1400px) rotateY(-6deg) rotateX(2deg); transition: transform .4s; }
.mock:hover { transform: none; }
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #eef2f7; border-bottom: 1px solid var(--line); }
.mock-bar span { width: 10px; height: 10px; border-radius: 50%; background: #f87171; } .mock-bar span:nth-child(2) { background: #fbbf24; }
.mock-bar span:nth-child(3) { background: #34d399; }
.mock-bar .url { margin-left: 10px; flex: 1; background: #fff; border-radius: 6px; font-size: .72rem; color: var(--muted); padding: 3px 10px; }
.mock-body { padding: 16px; }
.mock-h { font-weight: 700; font-size: .95rem; margin-bottom: 10px; display: flex; justify-content: space-between; }
.mock-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 12px; }
.mock-kpi { border: 1px solid var(--line); border-radius: 12px; padding: 8px 10px; }
.mock-kpi small { color: var(--muted); font-size: .68rem; display: block; }
.mock-kpi b { font-size: .98rem; white-space: nowrap; }
.mock-row { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 6px; font-size: .8rem; }
.mock-row .av { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: .72rem; flex-shrink: 0; }
.mock-row .who { flex: 1; min-width: 0; } .mock-row .who div:last-child { color: var(--muted); font-size: .7rem; }
.mock-row .sum { font-weight: 700; white-space: nowrap; }
.mock-row .call { width: 28px; height: 28px; border-radius: 50%; background: #16a34a; color: #fff; display: grid; place-items: center; font-size: .8rem; }
.tag { font-size: .65rem; font-weight: 700; border-radius: 6px; padding: 2px 6px; white-space: nowrap; }
.tag-bad { background: #fee2e2; color: #b91c1c; } .tag-warn { background: #fef3c7; color: #b45309; } .tag-ok { background: #dcfce7; color: #15803d; }
.mock-float { position: absolute; background: #fff; color: var(--ink); border-radius: 14px; box-shadow: 0 16px 40px rgba(3,15,30,.35);
  padding: 10px 14px; font-size: .8rem; display: flex; gap: 10px; align-items: center; animation: lp-float 5s ease-in-out infinite; }
.mock-float .ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-size: 1.05rem; }
.mock-float-1 { left: -8px; bottom: -34px; } .mock-float-2 { right: -4px; top: -30px; animation-delay: -2.5s; }
@keyframes lp-float { 50% { transform: translateY(-8px); } }

/* ---------- блоки ---------- */
.pain { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 26px; height: 100%; }
.pain .ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 1.4rem; background: #fee2e2; color: var(--bad); margin-bottom: 14px; }
.pain h3 { font-size: 1.1rem; font-weight: 700; } .pain p { color: var(--muted); margin: 0; }
.fix { margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line); color: var(--ok); font-weight: 600; font-size: .95rem; display: flex; gap: 8px; }

.steps { counter-reset: st; }
.step { position: relative; background: #fff; border-radius: 20px; padding: 28px 24px 24px; border: 1px solid var(--line); height: 100%; }
.step .n { width: 44px; height: 44px; border-radius: 14px; background: linear-gradient(135deg, var(--brand), var(--brand2)); color: #fff;
  display: grid; place-items: center; font-weight: 800; font-size: 1.15rem; margin-bottom: 14px; box-shadow: 0 8px 20px rgba(31,78,121,.3); }
.step h3 { font-size: 1.12rem; font-weight: 700; } .step p { color: var(--muted); margin: 0; }
.step .time { display: inline-block; margin-top: 12px; font-size: .8rem; font-weight: 700; color: var(--brand2); background: #e8f1fb; border-radius: 99px; padding: 3px 10px; }
@media (min-width: 992px) { .step-arrow { position: absolute; right: -22px; top: 44px; color: #b6c6d8; font-size: 1.4rem; z-index: 2; } }

.feat { display: flex; gap: 14px; padding: 20px; border-radius: 18px; background: #fff; border: 1px solid var(--line); height: 100%;
  transition: transform .2s, box-shadow .2s, border-color .2s; }
.feat:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(15,34,54,.08); border-color: #c9d8e8; }
.feat .ic { width: 46px; height: 46px; border-radius: 14px; flex-shrink: 0; display: grid; place-items: center; font-size: 1.3rem; }
.feat h3 { font-size: 1.02rem; font-weight: 700; margin-bottom: 4px; } .feat p { color: var(--muted); font-size: .93rem; margin: 0; }
.c-blue { background: #e0edfb; color: #1d5fa8; } .c-green { background: #dcfce7; color: #15803d; } .c-red { background: #fee2e2; color: #b91c1c; }
.c-amber { background: #fef3c7; color: #b45309; } .c-violet { background: #ede9fe; color: #6d28d9; } .c-teal { background: #ccfbf1; color: #0f766e; }
.c-pink { background: #fce7f3; color: #be185d; } .c-slate { background: #e2e8f0; color: #334155; }

.role { border-radius: 22px; padding: 28px; height: 100%; color: #fff; position: relative; overflow: hidden; }
.role::after { content: ""; position: absolute; width: 180px; height: 180px; border-radius: 50%; right: -60px; top: -60px; background: rgba(255,255,255,.1); }
.role-1 { background: linear-gradient(150deg, #1f4e79, #2b6cb0); } .role-2 { background: linear-gradient(150deg, #0f766e, #14b8a6); }
.role-3 { background: linear-gradient(150deg, #6d28d9, #8b5cf6); }
.role .ic { font-size: 1.8rem; } .role h3 { font-weight: 800; font-size: 1.25rem; margin: 10px 0 12px; }
.role ul { list-style: none; padding: 0; margin: 0; } .role li { display: flex; gap: 8px; margin-bottom: 8px; color: rgba(255,255,255,.92); }
.role li i { opacity: .9; }

.facts { background: linear-gradient(135deg, #15324f, #1f4e79); color: #fff; border-radius: 26px; padding: 34px 20px; }
.fact b { display: block; font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 800; line-height: 1; }
.fact span { color: #c9d9ea; font-size: .92rem; }

.lp .price-card { border-radius: 22px; border: 1px solid var(--line); }
.lp .price-card.popular { border: 2px solid var(--brand); box-shadow: 0 20px 50px rgba(31,78,121,.18); }
.lp .accordion-item { border-radius: 14px !important; overflow: hidden; border: 1px solid var(--line); margin-bottom: 10px; }
.lp .accordion-button { font-weight: 600; }
.lp .accordion-button:not(.collapsed) { background: #eef5fc; color: var(--brand); box-shadow: none; }

.final { background: radial-gradient(700px 300px at 50% 0, #3b82c4 0, transparent 70%), linear-gradient(160deg, #15324f, #1f4e79);
  color: #fff; border-radius: 28px; padding: 56px 24px; text-align: center; }
.final p { color: #d6e4f2; }
.demo-creds { font-size: .85rem; color: #c9d9ea; } .demo-creds code { color: #fff; background: rgba(255,255,255,.14); padding: 2px 6px; border-radius: 6px; }

@media (max-width: 991px) { .mock { transform: none; } }
@media (max-width: 767px) { .lp .sec { padding: 56px 0; } .lp-hero { padding: 44px 0 64px; } .mock-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mock-kpi b { font-size: .82rem; } .mock-float { display: none; } .lp-cta { width: 100%; font-size: .98rem; padding: 13px 16px; } }
@media (prefers-reduced-motion: reduce) { .mock-float { animation: none; } .mock, .feat { transition: none; } }
html { scroll-behavior: smooth; } .lp section[id], .lp [id="login"] { scroll-margin-top: 72px; }
@media (max-width: 575px) { .mock-row .tag { display: none; } .mock-row { gap: 8px; } }

/* облегчённый режим (класс .lite — см. app.css): без 3D, размытия, сетки поверх фона и плавающих карточек */
.lite .mock { transform: none; box-shadow: 0 8px 20px rgba(3,15,30,.3); }
.lite .lp-hero::after { display: none; }
.lite .lp-hero .badge-top { backdrop-filter: none; }
.lite .mock-float { display: none; }
.lite .feat:hover { transform: none; box-shadow: none; }
.lite .lp .price-card.popular { box-shadow: none; }
.lp .sec { content-visibility: auto; contain-intrinsic-size: auto 900px; }
