/* ============================================================
   Landing pages design system (ниши/решения)
   Подключается только на страницах лендингов через head.html
   ============================================================ */

:root {
    --lnd-ink: #14161c;
    --lnd-muted: #5b6470;
    --lnd-line: #e9ebef;
    --lnd-soft: #f6f7f9;
    --lnd-yellow: #FFE500;
    --lnd-yellow-d: #FFC107;
}

/* ---------- Общая секция + декор ---------- */
.lnd-section {
    position: relative;
    padding: 6rem 0;
    overflow: hidden;
}
.lnd-section--soft {
    background:
        radial-gradient(60rem 60rem at 110% -10%, rgba(255, 229, 0, .08), transparent 55%),
        radial-gradient(50rem 50rem at -10% 120%, rgba(84, 160, 255, .07), transparent 55%),
        #fbfbfc;
}
.lnd-section__decor {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}
.lnd-section__decor::before,
.lnd-section__decor::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: .5;
}
.lnd-section__decor::before {
    width: 22rem; height: 22rem;
    top: -6rem; right: -6rem;
    background: radial-gradient(circle, rgba(255, 229, 0, .35), transparent 70%);
}
.lnd-section__decor::after {
    width: 20rem; height: 20rem;
    bottom: -6rem; left: -6rem;
    background: radial-gradient(circle, rgba(255, 77, 77, .18), transparent 70%);
}
.lnd-wrap { position: relative; z-index: 1; }

/* ---------- Заголовок секции ---------- */
.lnd-head {
    max-width: 48rem;
    margin: 0 auto 3.5rem;
    text-align: center;
}
.lnd-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .4rem 1rem;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    background: rgba(20, 22, 28, .06);
    color: #2a2f3a;
}
.lnd-eyebrow--warn { background: rgba(255, 77, 77, .12); color: #d6293e; }
.lnd-eyebrow--accent { background: rgba(255, 193, 7, .18); color: #9a6a00; }
.lnd-eyebrow__dot {
    width: .5rem; height: .5rem; border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 0 4px rgba(255, 229, 0, .25);
}
.lnd-h2 {
    font-size: clamp(1.8rem, 3.2vw, 2.6rem);
    font-weight: 800;
    line-height: 1.15;
    color: var(--lnd-ink);
    margin: .9rem 0 1rem;
    letter-spacing: -.01em;
}
.lnd-lead {
    font-size: 1.08rem;
    line-height: 1.7;
    color: var(--lnd-muted);
}

/* ---------- Сетка ---------- */
.lnd-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 72rem;
    margin: 0 auto;
}

/* ---------- Карточка «Проблема» ---------- */
.lnd-problem {
    position: relative;
    background: #fff;
    border: 1px solid var(--lnd-line);
    border-radius: 22px;
    padding: 2.1rem 1.9rem;
    transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
    overflow: hidden;
}
.lnd-problem::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--accent, #FF4D4D);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .4s ease;
}
.lnd-problem:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 50px rgba(20, 22, 28, .10);
    border-color: transparent;
}
.lnd-problem:hover::before { transform: scaleX(1); }
.lnd-problem:nth-child(1) { --accent: #FF4D4D; --accent-soft: rgba(255, 77, 77, .12); }
.lnd-problem:nth-child(2) { --accent: #FF9F1A; --accent-soft: rgba(255, 159, 26, .14); }
.lnd-problem:nth-child(3) { --accent: #3E8BFF; --accent-soft: rgba(62, 139, 255, .12); }
.lnd-problem__ico {
    width: 56px; height: 56px;
    border-radius: 16px;
    display: grid; place-items: center;
    background: var(--accent-soft);
    color: var(--accent);
    margin-bottom: 1.3rem;
}
.lnd-problem__ico svg { width: 28px; height: 28px; }
.lnd-problem__title {
    font-size: 1.22rem;
    font-weight: 700;
    color: var(--lnd-ink);
    margin-bottom: .6rem;
}
.lnd-problem__text {
    font-size: .94rem;
    line-height: 1.65;
    color: var(--lnd-muted);
    margin-bottom: 1.5rem;
}
.lnd-problem__stat {
    display: flex;
    align-items: baseline;
    gap: .6rem;
    padding-top: 1.1rem;
    border-top: 1px dashed var(--lnd-line);
}
.lnd-problem__stat b {
    font-size: 1.9rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
}
.lnd-problem__stat span {
    font-size: .82rem;
    color: #8a929c;
    line-height: 1.3;
}

/* ---------- Карточка «Что входит» ---------- */
.lnd-feature {
    position: relative;
    background: #fff;
    border: 1px solid #ecedf1;
    border-radius: 20px;
    padding: 2rem 1.8rem;
    transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
    overflow: hidden;
}
.lnd-feature::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255, 229, 0, .9), rgba(255, 193, 7, 0) 45%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity .35s ease;
}
.lnd-feature:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 44px rgba(20, 22, 28, .09);
}
.lnd-feature:hover::after { opacity: 1; }
.lnd-feature__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.2rem;
}
.lnd-feature__ico {
    width: 54px; height: 54px;
    border-radius: 15px;
    display: grid; place-items: center;
    color: #2a2200;
    background: linear-gradient(135deg, var(--lnd-yellow), var(--lnd-yellow-d));
    box-shadow: 0 10px 22px rgba(255, 193, 7, .38);
}
.lnd-feature__ico svg { width: 26px; height: 26px; }
.lnd-feature__num {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1;
    color: #eef0f3;
    letter-spacing: -.02em;
}
.lnd-feature__title {
    font-size: 1.12rem;
    font-weight: 700;
    color: var(--lnd-ink);
    margin-bottom: .55rem;
}
.lnd-feature__text {
    font-size: .92rem;
    line-height: 1.6;
    color: var(--lnd-muted);
}

/* ---------- Адаптив ---------- */
@media (max-width: 1024px) {
    .lnd-grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .lnd-section { padding: 4rem 0; }
    .lnd-grid-3 { grid-template-columns: 1fr; gap: 1.1rem; }
}
