/* LBL Cloud — страница тарифов */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: clip;
}

.lc-billing {
    --lc-text: #0f172a;
    --lc-muted: #64748b;
    --lc-line: rgba(99, 102, 241, 0.14);
    --lc-primary: #6354f3;
    --lc-primary-2: #4f46e5;
    --lc-cyan: #0ea5e9;
    --lc-mint: #14b8a6;
    --lc-amber: #f59e0b;
    --lc-danger: #ef4444;
    --lc-shadow: 0 24px 80px rgba(60, 72, 160, 0.16);
    --lc-soft-shadow: 0 14px 38px rgba(60, 72, 160, 0.1);
    margin: 0;
    min-height: 100vh;
    color: var(--lc-text);
    background:
        linear-gradient(180deg, rgba(238, 243, 255, 0.76) 0%, rgba(247, 250, 255, 0.95) 52%, #eef3ff 100%),
        url("/cloud/assets/cloudscape-hero.png") center top / cover no-repeat fixed,
        #eef3ff;
    font-family: "Roboto", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
    letter-spacing: 0;
}

a {
    color: inherit;
}

button,
input {
    font: inherit;
}

.lc-billing__bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.lc-billing__bg span {
    position: absolute;
    border-radius: 999px;
    filter: blur(1px);
}

.lc-billing__bg span:nth-child(1) {
    width: 34rem;
    height: 11rem;
    top: 8rem;
    right: -8rem;
    background: rgba(255, 255, 255, 0.54);
    box-shadow: -4rem 1rem 5rem rgba(255, 255, 255, 0.72);
}

.lc-billing__bg span:nth-child(2) {
    width: 24rem;
    height: 24rem;
    left: -9rem;
    top: 18rem;
    border: 1px solid rgba(255, 255, 255, 0.42);
    background: radial-gradient(circle at 40% 30%, rgba(255, 255, 255, 0.36), rgba(99, 102, 241, 0.1), transparent 62%);
}

.lc-billing__bg span:nth-child(3) {
    width: 48rem;
    height: 13rem;
    left: 18%;
    bottom: -5rem;
    background: rgba(255, 255, 255, 0.46);
    box-shadow: 5rem -1rem 5rem rgba(255, 255, 255, 0.62);
}

.lc-billing__header,
.lc-billing__main {
    position: relative;
    z-index: 1;
}

.lc-billing__header {
    width: min(calc(100% - 40px), 1220px);
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 18px auto 0;
    padding: 10px 14px 10px 18px;
    border: 1px solid rgba(255, 255, 255, 0.78);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: var(--lc-soft-shadow);
    backdrop-filter: blur(22px) saturate(170%);
    -webkit-backdrop-filter: blur(22px) saturate(170%);
}

.lc-billing__brand {
    display: inline-flex;
    min-width: 0;
    align-items: center;
    gap: 11px;
    color: inherit;
    font-family: "Montserrat", sans-serif;
    font-size: 18px;
    font-weight: 900;
    text-decoration: none;
}

.lc-billing__brand img {
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    border-radius: 14px;
    box-shadow: 0 12px 28px rgba(79, 64, 223, 0.2);
}

.lc-billing__brand em {
    color: var(--lc-primary);
    font-style: normal;
    font-weight: 600;
}

.lc-billing__header nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    min-width: 0;
}

.lc-billing__header nav a {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    padding: 0 14px;
    border: 1px solid rgba(99, 102, 241, 0.12);
    border-radius: 14px;
    color: #33406f;
    background: rgba(255, 255, 255, 0.54);
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
    white-space: nowrap;
}

.lc-billing__header nav a:hover {
    color: var(--lc-primary-2);
    background: rgba(255, 255, 255, 0.82);
}

.lc-billing__main {
    width: min(calc(100% - 40px), 1220px);
    display: grid;
    gap: 22px;
    margin: 0 auto;
    padding: 28px 0 64px;
}

.lc-billing__hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(310px, 0.38fr);
    align-items: stretch;
    gap: 18px;
}

.lc-billing__intro,
.lc-billing__status-card,
.lc-billing__trust article,
.lc-plan,
.lc-billing__note {
    border: 1px solid rgba(255, 255, 255, 0.78);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.82), rgba(244, 247, 255, 0.5));
    box-shadow: var(--lc-shadow);
    backdrop-filter: blur(24px) saturate(170%);
    -webkit-backdrop-filter: blur(24px) saturate(170%);
}

.lc-billing__intro {
    position: relative;
    min-height: 352px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    padding: 42px;
    border-radius: 26px;
}

.lc-billing__intro::after {
    content: "";
    position: absolute;
    right: -5rem;
    bottom: -6rem;
    width: 24rem;
    height: 17rem;
    border-radius: 999px;
    background:
        radial-gradient(circle at 34% 32%, rgba(255, 255, 255, 0.86), transparent 42%),
        linear-gradient(135deg, rgba(20, 184, 166, 0.18), rgba(99, 102, 241, 0.12));
    pointer-events: none;
}

.lc-billing__eyebrow {
    display: inline-flex;
    width: fit-content;
    min-height: 30px;
    align-items: center;
    margin-bottom: 18px;
    padding: 0 12px;
    border-radius: 999px;
    color: var(--lc-primary-2);
    background: rgba(99, 102, 241, 0.1);
    font-size: 12px;
    font-weight: 900;
}

.lc-billing__intro h1 {
    position: relative;
    z-index: 1;
    max-width: 720px;
    margin: 0;
    color: #0d1648;
    font-family: "Montserrat", sans-serif;
    font-size: clamp(36px, 5vw, 64px);
    line-height: 1.04;
    font-weight: 900;
    letter-spacing: 0;
}

.lc-billing__intro p {
    position: relative;
    z-index: 1;
    max-width: 590px;
    margin: 18px 0 0;
    color: #526089;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.7;
}

.lc-billing__hero-actions {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.lc-billing__btn,
.lc-plan__btn {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 18px;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 900;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.lc-billing__btn--primary,
.lc-plan__btn {
    border: 0;
    color: #fff;
    background: linear-gradient(135deg, var(--lc-primary), var(--lc-primary-2));
    box-shadow: 0 16px 34px rgba(79, 70, 229, 0.28);
}

.lc-billing__btn--soft,
.lc-plan__btn--outline {
    border: 1px solid rgba(99, 102, 241, 0.18);
    color: var(--lc-primary-2);
    background: rgba(255, 255, 255, 0.66);
}

.lc-billing__btn:hover,
.lc-plan__btn:hover {
    transform: translateY(-2px);
}

.lc-billing__status-card {
    position: relative;
    display: flex;
    min-height: 352px;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    padding: 28px;
    border-radius: 26px;
}

.lc-billing__status-card::before {
    content: "";
    width: 76px;
    height: 76px;
    border-radius: 25px;
    background:
        radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.48), transparent 35%),
        linear-gradient(135deg, var(--lc-primary), var(--lc-cyan) 62%, var(--lc-mint));
    box-shadow: 0 20px 42px rgba(14, 165, 233, 0.2);
}

.lc-billing__status-card span,
.lc-plan__label,
.lc-plan__features span,
.lc-billing__trust span {
    color: var(--lc-muted);
    font-size: 12px;
    font-weight: 900;
}

.lc-billing__status-card strong {
    display: block;
    margin-top: auto;
    color: var(--lc-text);
    font-family: "Montserrat", sans-serif;
    font-size: 28px;
    line-height: 1.1;
}

.lc-billing__status-card p {
    margin: 10px 0 18px;
    color: var(--lc-muted);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.55;
}

.lc-billing__status-meter {
    height: 9px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.08);
}

.lc-billing__status-meter i {
    display: block;
    width: 34%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--lc-primary), var(--lc-mint));
    transition: width 0.35s ease;
}

.lc-billing__trust {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.lc-billing__trust article {
    min-height: 138px;
    padding: 18px;
    border-radius: 20px;
}

.lc-billing__trust strong {
    display: block;
    margin-top: 12px;
    color: var(--lc-text);
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    line-height: 1.2;
}

.lc-billing__trust p {
    margin: 8px 0 0;
    color: var(--lc-muted);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.55;
}

.lc-billing__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr));
    gap: 18px;
    align-items: stretch;
}

.lc-plan {
    position: relative;
    min-width: 0;
    min-height: 390px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    overflow: hidden;
    padding: 24px;
    border-radius: 24px;
}

.lc-plan::after {
    content: "";
    position: absolute;
    right: -48px;
    bottom: -54px;
    width: 150px;
    height: 150px;
    border-radius: 46px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.12), rgba(14, 165, 233, 0.12));
    transform: rotate(18deg);
    pointer-events: none;
}

.lc-plan.is-popular {
    border-color: rgba(99, 102, 241, 0.34);
    background:
        radial-gradient(circle at 88% 8%, rgba(20, 184, 166, 0.16), transparent 8rem),
        linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(239, 244, 255, 0.58));
    box-shadow: 0 28px 92px rgba(79, 70, 229, 0.22);
}

.lc-plan.is-current {
    border-color: rgba(20, 184, 166, 0.42);
    box-shadow: 0 24px 82px rgba(20, 184, 166, 0.14), var(--lc-soft-shadow);
}

.lc-plan.is-current::before {
    content: "Текущий";
    position: absolute;
    top: 18px;
    left: 18px;
    z-index: 2;
    display: inline-flex;
    min-height: 28px;
    align-items: center;
    padding: 0 12px;
    border-radius: 999px;
    color: #0f766e;
    background: rgba(20, 184, 166, 0.14);
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
}

.lc-plan.is-current .lc-plan__top {
    padding-top: 30px;
}

.lc-plan__badge {
    position: absolute;
    top: 18px;
    right: 18px;
    display: inline-flex;
    min-height: 28px;
    align-items: center;
    padding: 0 12px;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(135deg, var(--lc-amber), #f97316);
    box-shadow: 0 12px 24px rgba(245, 158, 11, 0.18);
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
}

.lc-plan__top,
.lc-plan__features,
.lc-plan__foot {
    position: relative;
    z-index: 1;
}

.lc-plan__top {
    display: grid;
    gap: 8px;
    padding-right: 78px;
}

.lc-plan h2 {
    margin: 0;
    color: var(--lc-text);
    font-family: "Montserrat", sans-serif;
    font-size: 24px;
    line-height: 1.15;
    font-weight: 900;
    overflow-wrap: anywhere;
}

.lc-plan__storage {
    margin: 0;
    color: var(--lc-primary);
    font-family: "Montserrat", sans-serif;
    font-size: 42px;
    line-height: 1;
    font-weight: 900;
}

.lc-plan__storage span {
    color: var(--lc-muted);
    font-family: "Roboto", system-ui, sans-serif;
    font-size: 14px;
    font-weight: 800;
}

.lc-plan__price {
    margin: 0;
    color: var(--lc-text);
    font-size: 20px;
    font-weight: 900;
}

.lc-plan__price span {
    color: var(--lc-muted);
    font-size: 12px;
    font-weight: 800;
}

.lc-plan__features {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.lc-plan__features li {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    color: #3f4c7a;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.4;
}

.lc-plan__features li::before {
    content: "";
    width: 17px;
    height: 17px;
    flex: 0 0 auto;
    margin-top: 1px;
    border-radius: 50%;
    background:
        linear-gradient(135deg, var(--lc-mint), #22c55e);
    box-shadow: 0 8px 16px rgba(20, 184, 166, 0.18);
}

.lc-plan__foot {
    display: grid;
    gap: 12px;
    margin-top: auto;
}

.lc-plan__btn {
    width: 100%;
    border: 0;
}

.lc-plan__btn:disabled {
    cursor: wait;
    opacity: 0.72;
    transform: none;
}

.lc-plan__btn--outline {
    box-shadow: none;
}

.lc-billing__note {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 20px;
    border-radius: 20px;
}

.lc-billing__note strong {
    display: block;
    margin-bottom: 4px;
    color: var(--lc-text);
    font-family: "Montserrat", sans-serif;
    font-size: 15px;
}

.lc-billing__note p {
    margin: 0;
    color: var(--lc-muted);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.5;
}

.lc-billing__note a {
    display: inline-flex;
    min-height: 40px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    padding: 0 14px;
    border-radius: 13px;
    color: var(--lc-primary-2);
    background: rgba(99, 102, 241, 0.1);
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
}

.is-hidden {
    display: none !important;
}

@media (max-width: 980px) {
    .lc-billing__hero,
    .lc-billing__trust {
        grid-template-columns: 1fr;
    }

    .lc-billing__status-card {
        min-height: 230px;
    }
}

@media (max-width: 680px) {
    .lc-billing__header,
    .lc-billing__main {
        width: min(calc(100% - 24px), 1220px);
    }

    .lc-billing__header {
        flex-wrap: wrap;
        margin-top: 12px;
    }

    .lc-billing__header nav {
        width: 100%;
    }

    .lc-billing__header nav a {
        flex: 1 1 0;
    }

    .lc-billing__main {
        padding-top: 18px;
        padding-bottom: 42px;
    }

    .lc-billing__intro,
    .lc-billing__status-card,
    .lc-plan,
    .lc-billing__note {
        border-radius: 20px;
    }

    .lc-billing__intro {
        min-height: 0;
        padding: 26px 22px;
    }

    .lc-billing__hero-actions,
    .lc-billing__btn {
        width: 100%;
    }

    .lc-billing__status-card {
        padding: 22px;
    }

    .lc-plan {
        min-height: 0;
        padding: 22px;
    }

    .lc-plan__top {
        padding-right: 0;
    }

    .lc-plan__badge {
        position: static;
        width: fit-content;
        order: -1;
    }

    .lc-billing__note {
        align-items: flex-start;
        flex-direction: column;
    }

    .lc-billing__note a {
        width: 100%;
    }
}
