body {
    background: linear-gradient(to bottom, #f9fafc, #f1f3f7);
    font-family: 'Segoe UI', sans-serif;
    margin: 0;
}

div.plans-container {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    padding: 60px 20px;
}

ul.plans {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    padding: 0;
    margin: 0;
    list-style: none;
    width: 100%;
}

ul.plans > li.plan {
    background: #fff;
    border-radius: 20px;
    border: 1px solid #ddd;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    width: 380px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.3s ease;
    position: relative;
}

ul.plans > li.plan:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
}

ul.plans > li.plan div.frame {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
	border-radius: 20px;
}

ul.plans > li.plan div.frame .name {
    font-size: 26px;
    margin: 12px;
    font-weight: 600;
    text-align: center;
    color: #2b2b2b;
}

ul.plans > li.plan div.frame .price {
    font-size: 36px;
    color: #333;
    margin: 10px;
    font-weight: bold;
    text-align: center;
}

ul.plans > li.plan div.frame .old-price {
    font-size: 16px;
    color: #999;
    text-decoration: line-through;
    margin-bottom: 6px;
}

ul.plans > li.plan div.frame .period {
    color: #888;
    margin-bottom: 24px;
    font-size: 14px;
    text-align: center;
}

ul.plans > li.plan div.frame ul.features {
    list-style: none;
    padding: 0;
    margin-bottom: 24px;
    text-align: left;
    width: 100%;
}

ul.plans > li.plan div.frame ul.features li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 26px;
}

ul.plans > li.plan div.frame ul.features li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
}

ul.plans > li.plan div.frame .pricing-badge {
    background-color: #007bff;
    color: white;
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 14px;
}

ul.plans > li.plan div.frame .badge-purple {
    background-color: #6f42c1;
}

ul.plans > li.plan div.frame .selector {
    margin-top: auto;
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
	padding: 20px;
    gap: 10px;
}
ul.plans > li.plan div.frame .selector label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px; /* расстояние между чекбоксом и текстом */
    font-size: 20px;
    color: #1c1d22;
    text-align: center;
	font-weight: 600;
    cursor: pointer;
    width: 100%;
}

ul.plans > li.plan div.frame .selector button,
ul.plans > li.plan div.frame .selector input[type=submit] {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 999px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    transition: background-color 0.3s;
}

ul.plans > li.plan div.frame .selector button:hover,
ul.plans > li.plan div.frame .selector input[type=submit]:hover {
    background-color: #0056b3;
}

ul.plans > li.plan.highlight {
    border: 2px solid #007bff;
}

ul.plans > li > div.frame > .plan-description {
    font-size: 20px;
    color: #121c41;
    line-height: 1.6;
    margin: 5px;
    text-align: center;
    padding: 10px;
}

@media screen and (max-width: 767px) {
    ul.plans {
        flex-direction: column;
        align-items: center;
		
    }

    ul.plans > li.plan {
        width: 100%;
        max-width: 95%;
        margin: 10px auto;
        
    }

    ul.plans > li.plan div.frame ul.features {
        text-align: left;
        padding: 0 10px;
    }

    ul.plans > li.plan div.frame .plan-description {
        padding: 0 15px;
    }
}