/* =========================
   ROOT / BASE
========================= */

.landing-theme {
    --brand:#844369;
}

.section-soft{
    padding:80px 0;
    background:#f8f9fb;
}

.container{
    max-width:1200px;
    margin:0 auto;
    padding:0 20px;
}

.section-title{
    font-size:32px;
    font-weight:700;
    text-align:center;
    margin-bottom:10px;
}

.section-subtitle{
    text-align:center;
    color:#6c757d;
    margin-bottom:20px;
}

/* =========================
   SWITCH
========================= */

.lp-pricing__switch{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:12px;
    margin:10px 0 30px; /* чисто и без дублей */
    font-weight:600;
}

.lp-badge{
    background:var(--brand);
    color:#fff;
    font-size:12px;
    padding:2px 8px;
    border-radius:8px;
}

.lp-switch{
    position:relative;
    width:48px;
    height:26px;
}

.lp-switch input{
    opacity:0;
    width:0;
    height:0;
}

.lp-switch__slider{
    position:absolute;
    inset:0;
    background:#ddd;
    border-radius:20px;
    cursor:pointer;
    transition:.2s;
}

.lp-switch__slider::before{
    content:"";
    position:absolute;
    width:20px;
    height:20px;
    left:3px;
    top:3px;
    background:#fff;
    border-radius:50%;
    transition:.2s;
}

.lp-switch input:checked + .lp-switch__slider{
    background:var(--brand);
}

.lp-switch input:checked + .lp-switch__slider::before{
    transform:translateX(22px);
}

/* =========================
   GRID
========================= */

.lp-pricing__grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
    gap:24px;
}

/* =========================
   CARD
========================= */

.lp-card{
    background:#fff;
    border-radius:16px;
    padding:24px;
    display:flex;
    flex-direction:column;
    height:100%;
    border:1px solid #eee;
}

.lp-card--free{
    border:2px dashed #dee2e6;
}

.lp-card--accent{
    border:1px solid rgba(132,67,105,0.2);
}

.lp-card--popular{
    border:2px solid var(--brand);
}

/* =========================
   STRUCTURE (EQUAL HEIGHT)
========================= */

.lp-card__top{
    display:flex;
    flex-direction:column;
}

.lp-card__bottom{
    margin-top:auto;
}

.lp-modules-list{
    min-height:230px;
}

/* =========================
   CARD CONTENT
========================= */

.lp-card__head{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:10px;
}

.lp-card__price{
    font-size:32px;
    font-weight:700;
    margin:10px 0 5px;
}

.lp-card__term{
    font-size:13px;
    color:#6c757d;
    margin-bottom:10px;
}

.lp-card__desc{
    font-size:14px;
    color:#6c757d;
    margin-bottom:20px;
}

/* =========================
   BUTTONS
========================= */

.lp-btn{
    display:block;
    text-align:center;
    padding:10px;
    border-radius:8px;
    font-weight:600;
    text-decoration:none;
    background:var(--brand);
    color:#fff;
}

.lp-btn--outline{
    background:#fff;
    color:var(--brand);
    border:1px solid var(--brand);
}

/* =========================
   MODULES
========================= */

.lp-modules strong{
    display:block;
    margin-bottom:8px;
}

.lp-modules-list{
    list-style:none;
    padding:0;
    margin:0;
}

.lp-module-item{
    display:flex;
    justify-content:space-between;
    padding:6px 0;
    border-bottom:1px solid #f1f1f1;
    font-size:14px;
}

.lp-muted{
    color:#adb5bd;
}

.lp-note{
    font-size:12px;
    color:#6c757d;
    margin-bottom:10px;
}

.lp-price{
    color:var(--brand);
    font-weight:600;
}

/* =========================
   BADGES
========================= */

.lp-badge-popular{
    background:var(--brand);
    color:#fff;
    font-size:11px;
    padding:3px 8px;
    border-radius:8px;
}

/* =========================
   TABLE
========================= */

.lp-compare__wrap{
    overflow:hidden;
    max-height:400px;
}

.lp-compare__wrap.collapsed{
    max-height:300px;
}

.lp-compare{
    width:100%;
    border-collapse:collapse;
    background:#fff;
    border-radius:12px;
    overflow:hidden;
}

.lp-compare th,
.lp-compare td{
    padding:12px;
    text-align:center;
    border-bottom:1px solid #eee;
    font-size:14px;
}

.lp-compare th{
    background:#f1f3f5;
    font-weight:600;
}

.lp-compare td:first-child{
    text-align:left;
    font-weight:500;
}

.lp-addon{
    color:var(--brand);
    font-weight:600;
}

/* =========================
   BUTTON (COMPARE)
========================= */

.btn{
    padding:10px 16px;
    border-radius:8px;
    cursor:pointer;
}

.btn-outline-dark{
    border:1px solid #000;
    background:#fff;
}
