/* ===== Buy / Checkout page ===== */

.buy-container {
    max-width: 760px;
}

.buy-plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.75rem; }
@media (max-width: 991px) { .buy-plans { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) { .buy-plans { grid-template-columns: 1fr; } }

.plan-card {
    background: #141b20;
    border: 1px solid #1e272e;
    border-radius: 10px;
    padding: 1.25rem;
    cursor: pointer;
    transition: border-color 0.2s, transform 0.15s, box-shadow 0.2s;
    position: relative;
    text-align: center;
}
.plan-card:hover { border-color: rgba(0, 255, 0, 0.3); transform: translateY(-2px); }
.plan-card.selected {
    border-color: #00ff00;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.15), inset 0 0 0 1px rgba(0, 255, 0, 0.3);
}
.plan-card.selected::after {
    content: '\f26b';
    font-family: 'bootstrap-icons';
    position: absolute;
    top: 8px;
    right: 10px;
    color: #00ff00;
    font-size: 0.85rem;
}
.plan-card .plan-price { font-size: 1.8rem; font-weight: 700; color: #e6edf3; line-height: 1.1; }
.plan-card .plan-period { font-size: 0.75rem; color: #e6edf3; margin-top: 0.25rem; }
.plan-card .plan-monthly { margin-top: 0.45rem; color: #c0ffc0; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.01em; }
.plan-card .plan-savings {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 600;
    color: #00ff00;
    background: rgba(0, 255, 0, 0.1);
    padding: 0.15em 0.5em;
    border-radius: 4px;
    margin-top: 0.5rem;
}
.plan-popular {
    position: absolute;
    top: -9px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #0a0e11;
    background: #00ff00;
    padding: 0.15em 0.6em;
    border-radius: 3px;
    white-space: nowrap;
}

.gateway-option {
    position: relative;
    background: linear-gradient(135deg, rgba(0, 255, 0, 0.06) 0%, #141b20 55%);
    border: 1px solid #2d333b;
    border-radius: 12px;
    padding: 1.1rem 1.25rem;
    cursor: pointer;
    transition: border-color 0.2s, transform 0.15s, box-shadow 0.2s;
}
.gateway-option[data-gateway="card"] { border-color: rgba(0, 255, 0, 0.4); background: linear-gradient(135deg, rgba(0, 255, 0, 0.12) 0%, #141b20 60%); }
.gateway-option[data-gateway="crypto"] { border-color: rgba(0, 255, 0, 0.45); background: linear-gradient(135deg, rgba(0, 255, 0, 0.12) 0%, #141b20 60%); }
.gateway-option:hover { transform: translateY(-2px); border-color: rgba(0, 255, 0, 0.4); }
.gateway-option.selected {
    border-color: #00ff00;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.15), inset 0 0 0 1px rgba(0, 255, 0, 0.3);
}
.gw-head { display: flex; align-items: center; gap: 0.75rem; }
.gw-radio {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid #e6edf3;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.15s;
}
.gateway-option.selected .gw-radio { border-color: #00ff00; }
.gateway-option.selected .gw-radio::after { content: ''; width: 10px; height: 10px; border-radius: 50%; background: #00ff00; }
.gateway-option .gw-icon { font-size: 1.5rem; color: #e6edf3; flex-shrink: 0; }
.gateway-option[data-gateway="card"] .gw-icon { color: #00ff00; }
.gateway-option[data-gateway="crypto"] .gw-icon { color: #00ff00; }
.gateway-option.selected .gw-icon { color: #00ff00; }
.gateway-option .gw-title { color: #e6edf3; font-size: 0.9rem; font-weight: 600; }
.gateway-option .gw-sub { color: #e6edf3; font-size: 0.75rem; }
.gw-logos { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 0.9rem; align-items: center; }
.gw-logo {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 0.3em 0.6em;
    border-radius: 5px;
    font-size: 0.68rem;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
}
.gw-logo.visa { background: #1A1F71; color: #fff; font-style: italic; letter-spacing: 0.03em; }
.gw-logo.mc { background: #1c2026; color: #e6edf3; border: 1px solid #2d333b; }
.mc-dot { display: inline-block; width: 11px; height: 11px; border-radius: 50%; }
.gw-logo.pp { background: #003087; color: #fff; font-style: italic; }
.gw-logo.ap { background: #000; color: #fff; }
.gw-logo.gp { background: #1c2026; color: #e6edf3; border: 1px solid #2d333b; }
.gw-logo.crypto { background: rgba(255, 255, 255, 0.06); color: #e6edf3; border: 1px solid #2d333b; }

.checkout-summary {
    background: #141b20;
    border: 1px solid #1e272e;
    border-radius: 10px;
    padding: 1.25rem;
    margin-bottom: 1rem;
}
.checkout-summary .cs-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.35rem 0;
    font-size: 0.85rem;
}
.checkout-summary .cs-label { color: #e6edf3; }
.checkout-summary .cs-value { color: #e6edf3; font-weight: 600; }
.checkout-summary .cs-total {
    border-top: 1px solid #1e272e;
    margin-top: 0.5rem;
    padding-top: 0.5rem;
}
.checkout-summary .cs-total .cs-value { color: #00ff00; font-size: 1.15rem; }

#checkout-area .btn-cta { font-size: 0.9rem; padding: 0.7rem 1.5rem; }

.gstore-username { font: inherit; }
.gstore-username::placeholder { color: #e6edf3; } /* silver placeholder, matches checkout */
