/* Главная страница — лендинг Фабрики офферов */

*, *::before, *::after { box-sizing: border-box; }

.home-page {
    font-family: 'Nunito Sans', sans-serif;
    color: #1a1d23;
    background: #f8f9fb;
    min-height: 100vh;
}

/* ── Шапка лендинга ── */
.lp-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #eef0f3;
    padding: 0 24px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.lp-header-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
}

.lp-header-brand img { height: 30px; }

.lp-header-brand-name {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 17px;
    color: #1a1d23;
}

.lp-header-brand-name span { color: #FA6848; }

.lp-header-nav { display: flex; align-items: center; gap: 10px; }

.lp-btn-ghost {
    padding: 8px 20px;
    border: 1.5px solid #e3e6ea;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #1a1d23;
    text-decoration: none;
    transition: border-color .15s, background .15s;
}
.lp-btn-ghost:hover { border-color: #FA6848; color: #FA6848; }

.lp-btn-primary {
    padding: 8px 22px;
    background: #FA6848;
    border: 1.5px solid #FA6848;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    transition: background .15s;
}
.lp-btn-primary:hover { background: #ef5836; border-color: #ef5836; color: #fff; }

/* ── Hero ── */
.lp-hero {
    padding: 80px 24px 70px;
    text-align: center;
    background: linear-gradient(160deg, #fff 0%, #f0f4ff 60%, #fff8f6 100%);
    position: relative;
    overflow: hidden;
}

.lp-hero::before {
    content: '';
    position: absolute;
    top: -120px; right: -120px;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(250,104,72,.10) 0%, transparent 70%);
    pointer-events: none;
}

.lp-hero::after {
    content: '';
    position: absolute;
    bottom: -80px; left: -80px;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(99,102,241,.07) 0%, transparent 70%);
    pointer-events: none;
}

.lp-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.lp-kicker {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fff4f2;
    border: 1px solid #fdd5cc;
    color: #FA6848;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 22px;
}

.lp-hero-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(36px, 6vw, 60px);
    font-weight: 700;
    line-height: 1.12;
    color: #1a1d23;
    margin-bottom: 18px;
}

.lp-hero-title span { color: #FA6848; }

.lp-hero-sub {
    font-size: 18px;
    color: #6b7177;
    line-height: 1.6;
    max-width: 580px;
    margin: 0 auto 36px;
}

.lp-hero-cta {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.lp-cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: #FA6848;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    border-radius: 10px;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(250,104,72,.35);
    transition: background .15s, box-shadow .15s, transform .1s;
}
.lp-cta-primary:hover {
    background: #ef5836;
    box-shadow: 0 6px 28px rgba(250,104,72,.45);
    transform: translateY(-1px);
    color: #fff;
}

.lp-cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: #fff;
    border: 1.5px solid #e3e6ea;
    color: #1a1d23;
    font-size: 16px;
    font-weight: 600;
    border-radius: 10px;
    text-decoration: none;
    transition: border-color .15s, transform .1s;
}
.lp-cta-secondary:hover {
    border-color: #FA6848;
    color: #FA6848;
    transform: translateY(-1px);
}

/* ── Статы ── */
.lp-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: #eef0f3;
    border-top: 1px solid #eef0f3;
    border-bottom: 1px solid #eef0f3;
}

.lp-stat {
    background: #fff;
    padding: 28px 20px;
    text-align: center;
}

.lp-stat-value {
    font-family: 'Poppins', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: #FA6848;
    line-height: 1;
    margin-bottom: 4px;
}

.lp-stat-label {
    font-size: 13px;
    color: #6b7177;
    font-weight: 500;
}

/* ── Роли ── */
.lp-section {
    padding: 72px 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.lp-section-title {
    font-family: 'Poppins', sans-serif;
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 10px;
    color: #1a1d23;
}

.lp-section-sub {
    text-align: center;
    font-size: 15px;
    color: #6b7177;
    max-width: 520px;
    margin: 0 auto 48px;
    line-height: 1.6;
}

.lp-roles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.lp-role-card {
    background: #fff;
    border: 1px solid #eef0f3;
    border-radius: 16px;
    padding: 32px 28px;
    transition: border-color .2s, box-shadow .2s, transform .15s;
    position: relative;
    overflow: hidden;
}

.lp-role-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--role-color, #FA6848);
    opacity: 0;
    transition: opacity .2s;
}

.lp-role-card:hover {
    border-color: var(--role-color, #FA6848);
    box-shadow: 0 8px 32px rgba(0,0,0,.08);
    transform: translateY(-3px);
}
.lp-role-card:hover::before { opacity: 1; }

.lp-role-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: var(--role-bg, #fff4f2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 18px;
}

.lp-role-name {
    font-family: 'Poppins', sans-serif;
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #1a1d23;
}

.lp-role-desc {
    font-size: 14px;
    color: #6b7177;
    line-height: 1.65;
    margin-bottom: 20px;
}

.lp-role-tags { display: flex; flex-wrap: wrap; gap: 6px; }

.lp-tag {
    display: inline-block;
    padding: 3px 10px;
    background: #f0f3f8;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    color: #6b7177;
}

/* ── Как это работает ── */
.lp-how {
    background: linear-gradient(135deg, #1a1d23 0%, #2d3142 100%);
    padding: 72px 24px;
    color: #fff;
}

.lp-how .lp-section-title { color: #fff; }
.lp-how .lp-section-sub { color: rgba(255,255,255,.6); }

.lp-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.lp-step {
    text-align: center;
    position: relative;
}

.lp-step-num {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #FA6848;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    box-shadow: 0 4px 16px rgba(250,104,72,.4);
}

.lp-step-title {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #fff;
}

.lp-step-text {
    font-size: 13px;
    color: rgba(255,255,255,.6);
    line-height: 1.55;
}

/* ── CTA-блок внизу ── */
.lp-cta-section {
    padding: 80px 24px;
    text-align: center;
    background: #fff;
}

.lp-cta-section .lp-section-title { margin-bottom: 14px; }

.lp-cta-note {
    font-size: 13px;
    color: #9aa0a6;
    margin-top: 14px;
}

/* ── Футер ── */
.lp-footer {
    background: #1a1d23;
    color: rgba(255,255,255,.5);
    text-align: center;
    padding: 24px;
    font-size: 13px;
}

.lp-footer a { color: rgba(255,255,255,.5); text-decoration: none; }
.lp-footer a:hover { color: #FA6848; }

/* Responsive */
@media (max-width: 600px) {
    .lp-stats { grid-template-columns: 1fr; }
    .lp-hero { padding: 56px 20px 52px; }
    .lp-section { padding: 52px 20px; }
}
