/* assets/css/bundles.css */
:root {
    --neon-green: #39ff14;
    --neon-blue: #00ffff;
    --neon-purple: #bc13fe;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
}

body {
    background-color: #050505 !important; /* Force ultra dark bg */
}

.bundles-container {
    padding: 1rem;
    width: 100%;
    margin: 0 auto;
    color: #fff;
    font-family: 'Space Grotesk', sans-serif;
}

/* Hero Section */
.bundles-hero {
    text-align: center;
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.bundles-hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 300px;
    background: radial-gradient(circle, rgba(188, 19, 254, 0.2) 0%, rgba(0,0,0,0) 70%);
    z-index: -1;
    filter: blur(60px);
}

.hero-badge {
    background: rgba(57, 255, 20, 0.1);
    color: var(--neon-green);
    border: 1px solid rgba(57, 255, 20, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 99px;
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.bundles-hero h1 {
    font-size: 2rem;
    margin: 1rem 0;
    line-height: 1.1;
}

.text-gradient {
    background: linear-gradient(to right, var(--neon-blue), var(--neon-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bundles-hero p {
    color: #888;
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-size: 2rem;
    font-weight: bold;
    color: #fff;
}

.stat-label {
    font-size: 0.9rem;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .hero-stats {
        flex-direction: row;
        gap: 1rem;
        justify-content: space-between;
        margin-top: 2rem;
    }

    .stat-num {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }
}

/* Grid */
.bundles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.bundle-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 1.5rem;
    position: relative;
    transition: transform 0.3s ease, border-color 0.3s ease;
    overflow: hidden;
}

.bundle-card:hover {
    transform: translateY(-5px);
    border-color: var(--neon-purple);
}

.card-glow {
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle at 100% 0%, rgba(188, 19, 254, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.card-icon {
    font-size: 2.5rem;
    color: var(--neon-blue);
}

.price-tag {
    background: #fff;
    color: #000;
    font-weight: 800;
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
}

.bundle-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.bundle-card p {
    color: #aaa;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.feature-list li {
    display: flex;
    gap: 0.5rem;
    color: #ccc;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.feature-list li .material-symbols-outlined {
    font-size: 1.1rem;
    color: var(--neon-green);
}

.btn-buy {
    width: 100%;
    background: transparent;
    border: 1px solid white;
    color: white;
    padding: 1rem;
    border-radius: 16px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
}

.btn-buy:hover {
    background: var(--neon-purple);
    color: #fff;
    box-shadow: 0 0 20px rgba(188, 19, 254, 0.4);
}

/* Modal */
.payment-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(10px);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.payment-modal-content {
    background: #111;
    border: 1px solid #333;
    padding: 2rem;
    border-radius: 16px;
    width: 90%;
    max-width: 400px;
    position: relative;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.payment-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: #666;
    font-size: 1.5rem;
    cursor: pointer;
}

.highlight {
    color: var(--neon-green);
    font-weight: bold;
}

#payment-form {
    margin-top: 2rem;
}

.input-group {
    margin-bottom: 1.5rem;
}

.input-group label {
    display: block;
    color: #888;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.input-group input {
    width: 100%;
    padding: 1rem;
    background: #222;
    border: 1px solid #333;
    border-radius: 8px;
    color: #fff;
    font-size: 1.1rem;
}

.input-group input:focus {
    outline: none;
    border-color: var(--neon-blue);
}

.btn-pay-now {
    width: 100%;
    background: #25D366; /* MPesa Green ish */
    color: #000;
    padding: 1rem;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

.btn-pay-now:hover {
    background: #1FB354;
}

.feedback-msg {
    margin-top: 1rem;
    text-align: center;
    font-size: 0.9rem;
}
.feedback-msg.success { color: var(--neon-green); }
.feedback-msg.error { color: #ff3333; }
