/* ===============================
   Plans & Pricing — Shortifye
   =============================== */

.plans-page {
    background: #f4f5f7;
    min-height: 100vh;
    padding: 48px 16px 64px;
    font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
    color: #1a1a1a;
}

.plans-header {
    margin-bottom: 36px;
}

.plans-header h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
}

.plans-header h1 i {
    color: #2563eb;
    margin-right: 8px;
}

.plans-header .subtitle {
    color: #666;
    font-size: 15px;
    margin: 0;
}

/* ---- Small "current plan" card ---- */

.current-plan-card {
    max-width: 420px;
    margin: 0 auto 40px;
    background: #ffffff;
    border: 1px solid #d7e3fc;
    border-radius: 12px;
    padding: 16px 20px;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.08);
}

.current-plan-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #146c2e;
    background: #e6f6ec;
    border: 1px solid #b7e4c7;
    border-radius: 999px;
    padding: 4px 10px;
    margin-bottom: 10px;
}

.current-plan-body {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
}

.current-plan-name {
    font-size: 16px;
    font-weight: 700;
    text-transform: capitalize;
}

.current-plan-price {
    font-size: 18px;
    font-weight: 700;
    color: #2563eb;
}

.current-plan-period {
    font-size: 12px;
    font-weight: 500;
    color: #888;
    margin-left: 4px;
}

/* ---- Pricing grid ---- */

.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.plan-card {
    position: relative;
    background: #ffffff;
    border: 1px solid #e2e2e2;
    border-radius: 14px;
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.plan-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.plan-card-current {
    border: 2px solid #2563eb;
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.12);
}

.plan-current-tag {
    position: absolute;
    top: -12px;
    right: 20px;
    background: #2563eb;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    padding: 4px 10px;
    border-radius: 999px;
}

.plan-name {
    font-size: 20px;
    font-weight: 700;
    text-transform: capitalize;
    margin: 0 0 12px;
}

.plan-price {
    font-size: 30px;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 20px;
}

.plan-period {
    font-size: 13px;
    font-weight: 500;
    color: #888;
    margin-left: 4px;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    flex-grow: 1;
}

.plan-features li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 14px;
    color: #444;
    padding: 6px 0;
}

.plan-features li i {
    color: #2563eb;
    margin-top: 3px;
    font-size: 12px;
}

.plan-btn {
    display: inline-block;
    text-align: center;
    padding: 10px 18px;
    border-radius: 8px;
    background: #2563eb;
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: background 0.15s ease;
}

.plan-btn:hover {
    background: #1d4ed8;
    color: #fff;
}

/* ---- Mobile ---- */

@media (max-width: 576px) {

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

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

    .current-plan-body {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
}
