html,
body {
    min-height: 100%;
}

.plans-page {
    background:
        radial-gradient(circle at 18% 12%, rgba(250, 128, 10, 0.12), transparent 28%),
        radial-gradient(circle at 78% 8%, rgba(68, 102, 170, 0.14), transparent 26%),
        #07111d;
    color: #fff;
    margin: 0;
}

.plans-shell {
    margin: 0 auto;
    max-width: 1720px;
    min-height: 100vh;
    padding: 42px 28px 38px;
}

.plans-header {
    align-items: flex-start;
    display: flex;
    gap: 18px;
    justify-content: space-between;
    margin-bottom: 36px;
}

.plans-title-row {
    align-items: center;
    display: flex;
    gap: 24px;
}

.plans-crown {
    align-items: center;
    background: linear-gradient(135deg, #ff7a13, #ff3d0a);
    border-radius: 10px;
    box-shadow: 0 18px 42px rgba(255, 93, 8, 0.25);
    color: #fff;
    display: flex;
    font-size: 40px;
    height: 64px;
    justify-content: center;
    width: 64px;
}

.plans-header h1 {
    color: #fff;
    font-size: 31px;
    font-weight: 800;
    letter-spacing: 0;
    margin: 0 0 6px;
    text-transform: uppercase;
}

.plans-header p {
    color: #d7dde7;
    font-size: 17px;
    margin: 0;
}

.plans-back {
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    color: #dbe4ef;
    display: inline-flex;
    font-weight: 700;
    gap: 7px;
    padding: 10px 16px;
    text-decoration: none;
}

.plans-back:hover {
    border-color: rgba(250, 128, 10, 0.75);
    color: #fff;
}

.plans-grid {
    display: grid;
    gap: 22px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.plan-card {
    background: rgba(5, 18, 31, 0.72);
    border: 1px solid rgba(137, 160, 187, 0.18);
    border-radius: 10px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03), 0 28px 70px rgba(0, 0, 0, 0.24);
    display: flex;
    flex-direction: column;
    min-height: 660px;
    overflow: hidden;
    padding: 36px 24px 26px;
    position: relative;
}

.plan-featured {
    border-color: rgba(255, 90, 13, 0.9);
    box-shadow: 0 0 0 1px rgba(255, 90, 13, 0.2), 0 30px 80px rgba(0, 0, 0, 0.3);
}

.plan-ribbon {
    align-items: center;
    background: linear-gradient(135deg, #ff7a13, #ff3d0a);
    clip-path: polygon(0 0, 100% 0, 100% 100%);
    color: #fff;
    display: flex;
    font-size: 18px;
    height: 64px;
    justify-content: flex-end;
    padding-right: 9px;
    position: absolute;
    right: 0;
    top: 0;
    width: 64px;
}

.plan-card h2 {
    color: #ff6c1a;
    font-size: 25px;
    font-weight: 800;
    letter-spacing: 0;
    margin: 0 0 24px;
    text-align: center;
    text-transform: uppercase;
}

.plan-price {
    align-items: baseline;
    color: #fff;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    min-height: 114px;
    text-align: center;
}

.plan-price span {
    font-size: 26px;
    margin-right: 9px;
}

.plan-price strong {
    font-size: 50px;
    font-weight: 400;
    line-height: 1;
}

.plan-price small {
    color: #fff;
    flex-basis: 100%;
    font-size: 18px;
    line-height: 1.1;
    margin-top: 8px;
}

.plan-price em {
    color: #fff;
    flex-basis: 100%;
    font-size: 17px;
    font-style: normal;
    margin-top: 12px;
    width: 100%;
}

.plan-price-commission {
    min-height: 132px;
}

.plan-badge {
    align-items: center;
    align-self: center;
    background: linear-gradient(135deg, #ff7a13, #ff3d0a);
    border-radius: 7px;
    color: #fff;
    display: inline-flex;
    font-size: 16px;
    font-weight: 700;
    gap: 9px;
    justify-content: center;
    margin: 12px auto 12px;
    min-height: 42px;
    padding: 0 20px;
}

.plan-price-commission + .plan-badge {
    margin-top: 2px;
}

.plan-badge-drop {
    background: linear-gradient(135deg, #8740d4, #552276);
}

.plan-divider {
    background: rgba(255, 255, 255, 0.08);
    height: 1px;
    margin: 30px 0 18px;
    width: 100%;
}

.plan-features {
    display: grid;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
}

.plan-features li {
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: grid;
    gap: 12px;
    grid-template-columns: 28px minmax(0, 1fr) auto;
    min-height: 65px;
}

.plan-features li i {
    color: #ff6c1a;
    font-size: 24px;
}

.plan-features span {
    color: #eef3f8;
    font-size: 16px;
    line-height: 1.25;
}

.plan-features strong {
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    text-align: right;
}

.plan-button {
    align-items: center;
    background: linear-gradient(135deg, #ff7a13, #ff3d0a);
    border: 1px solid transparent;
    border-radius: 7px;
    color: #fff;
    display: flex;
    font-size: 16px;
    font-weight: 800;
    height: 56px;
    justify-content: center;
    margin-top: auto;
    text-decoration: none;
    text-transform: uppercase;
}

.plan-button:hover {
    color: #fff;
    filter: brightness(1.08);
}

.plan-button-outline {
    background: transparent;
    border-color: #ff5a0d;
    color: #ff7a13;
}

.plan-button-outline:hover {
    background: rgba(255, 90, 13, 0.1);
    color: #ff8a2a;
}

@media (max-width: 1320px) {
    .plans-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .plans-shell {
        padding: 26px 16px;
    }

    .plans-header {
        display: block;
    }

    .plans-back {
        margin-bottom: 22px;
    }

    .plans-title-row {
        align-items: flex-start;
        gap: 15px;
    }

    .plans-crown {
        font-size: 28px;
        height: 48px;
        min-width: 48px;
        width: 48px;
    }

    .plans-header h1 {
        font-size: 26px;
    }

    .plans-header p {
        font-size: 15px;
    }

    .plans-grid {
        grid-template-columns: 1fr;
    }

    .plan-card {
        min-height: auto;
    }

    .plan-price strong {
        font-size: 48px;
    }
}
