.plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
    align-items: stretch;
}

.plan {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--r);
    padding: 32px 26px 26px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
    transition: border-color 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.plan:hover {
    transform: translateY(-4px);
    border-color: rgba(233, 30, 140, 0.4);
}

.plan.popular {
    border-color: rgba(233, 30, 140, 0.55);
    box-shadow: 0 24px 70px rgba(233, 30, 140, 0.12);
}

.plan .badge {
    position: absolute;
    top: -11px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 10px;
    letter-spacing: 0.18em;
    padding: 5px 12px;
    border-radius: 999px;
    background: linear-gradient(120deg, var(--accent-2), var(--accent));
    color: #180713;
    font-weight: 600;
    white-space: nowrap;
}

.plan h3 {
    font-size: 15px;
    font-weight: 400;
    color: var(--dim);
    letter-spacing: 0.04em;
}

.plan .price {
    font-size: 38px;
    font-weight: 200;
    letter-spacing: -0.02em;
    line-height: 1;
}

.plan .period {
    font-size: 12px;
    color: var(--dim-2);
    margin-top: -8px;
}

.plan ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 13.5px;
    color: var(--dim);
}

.plan ul li {
    padding-left: 18px;
    position: relative;
}

.plan ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    opacity: 0.7;
}

.plan .btn-outline,
.plan .btn-solid {
    margin-top: auto;
    width: 100%;
    text-align: center;
}

.plans-note {
    margin-top: 24px;
    font-size: 13px;
    color: var(--dim-2);
    text-align: center;
}

.plans-note a {
    color: var(--accent-2);
    cursor: pointer;
}

@media (max-width: 720px) {
    .plan .price {
        font-size: 32px;
    }
}
