/* ── Page title ── */
.subs-welcome {
    padding-top: 50px;
    text-align: center;
}
.subs-welcome h1 {
    font-size: 56px;
    margin: 5px;
}
.subs-welcome p {
    font-size: 22px;
    margin: 5px;
    color: #555;
}

/* ── Pricing grid ── */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 1100px;
    margin: 48px auto 0;
    padding: 0 50px;
}

.plan-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 2px solid transparent;
    transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.plan-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.10);
}

.plan-card.featured {
    border-color: #e2a45a;
}

.featured-badge {
    display: inline-block;
    background: #e2a45a;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 16px;
}

.plan-name {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
}

.plan-price {
    font-size: 40px;
    font-weight: 800;
    color: #e2a45a;
    margin: 12px 0;
    line-height: 1;
}

.plan-price span {
    font-size: 16px;
    font-weight: 400;
    color: #888;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 20px 0 28px;
}

.plan-features li {
    padding: 6px 0 6px 24px;
    position: relative;
    font-size: 15px;
    color: #444;
    border-bottom: 1px solid #f0f0f0;
}

.plan-features li:last-child {
    border-bottom: none;
}

.plan-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #e2a45a;
    font-weight: 700;
}

.subscribe-btn {
    display: block;
    width: 100%;
    padding: 12px;
    text-align: center;
    border-radius: 8px;
    background-color: #e2a45a;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.15s ease;
    box-sizing: border-box;
}

.subscribe-btn:hover {
    background-color: #c98c3e;
}

.subscribe-btn:disabled {
    opacity: 0.6;
    cursor: default;
}

/* ── Billing toggle ── */
.billing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 28px;
}

.toggle-pill {
    display: flex;
    background: #ebebea;
    border-radius: 30px;
    padding: 4px;
}

.toggle-pill button {
    padding: 7px 22px;
    border: none;
    background: none;
    border-radius: 26px;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    color: #888;
    transition: background 0.15s ease, color 0.15s ease;
}

.toggle-pill button.active {
    background: #fff;
    color: #1a1a1a;
    box-shadow: 0 1px 4px rgba(0,0,0,0.10);
}

.save-badge {
    background: #e2a45a;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
}

/* ── Footer note ── */
.subs-footer-note {
    text-align: center;
    padding: 32px 50px 50px;
    font-size: 14px;
    color: #aaa;
}

/* ── Popups ── */
.popup {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 14px 20px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 999;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.popup.success {
    background: #fff;
    border-left: 4px solid #e2a45a;
    color: #1a1a1a;
}

.popup.cancel {
    background: #fff;
    border-left: 4px solid #dc2626;
    color: #1a1a1a;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .subs-welcome h1 { font-size: 36px; }
    .subs-welcome p  { font-size: 18px; }
    .pricing-grid    { grid-template-columns: 1fr; padding: 0 20px; }
    .subs-footer-note { padding: 24px 20px 40px; }
    .billing-toggle { flex-wrap: wrap; }
}

@media (max-width: 480px) {
    .subs-welcome { padding-top: 36px; }
    .subs-welcome h1 { font-size: 28px; }
    .subs-welcome p  { font-size: 16px; }
    .plan-price { font-size: 32px; }
}
