@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.4);
    --glass-shadow: 0 12px 32px 0 rgba(31, 38, 135, 0.12);
    --text-primary: #0F172A;
    --text-muted: #64748B;
    --font-family: 'Inter', sans-serif;
    --gradient-mtn: linear-gradient(135deg, #FFDD00 0%, #FFB300 100%);
    --gradient-telecel: linear-gradient(135deg, #FF1E40 0%, #C40018 100%);
    --gradient-at: linear-gradient(135deg, #00B4DB 0%, #0083B0 100%);
    --card-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.06), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
}

body {
    font-family: var(--font-family);
    background-color: #F8FAFC;
    background-image: radial-gradient(at 0% 0%, rgba(0, 163, 255, 0.06) 0px, transparent 50%),
                      radial-gradient(at 100% 100%, rgba(139, 92, 246, 0.06) 0px, transparent 50%);
    background-attachment: fixed;
    overflow-x: hidden;
    color: var(--text-primary);
}

.text-theme {
    color: var(--primary-color) !important;
}

/* Hero Section */
.hero-gradient {
    position: relative;
    background: radial-gradient(circle at 50% 20%, #1E293B 0%, #0F172A 100%), linear-gradient(135deg, var(--primary-color) 0%, #000000 100%);
    min-height: 480px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 60px 20px 100px 20px;
    overflow: hidden;
}

.hero-gradient::before {
    content: '';
    position: absolute;
    width: 650px;
    height: 650px;
    background: radial-gradient(circle, rgba(0, 163, 255, 0.25) 0%, transparent 70%);
    top: -200px;
    right: -200px;
    border-radius: 50%;
    pointer-events: none;
}

.hero-gradient::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.2) 0%, transparent 70%);
    bottom: -150px;
    left: -150px;
    border-radius: 50%;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
}

.brand-badge {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 100px;
    padding: 10px 25px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--primary-color);
    font-weight: 800;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.brand-badge i {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0055FF 100%);
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    box-shadow: 0 4px 10px rgba(0, 100, 255, 0.3);
}

.fw-900 {
    font-weight: 900;
}

.hover-lift {
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.2) !important;
}

.hover-opacity-100:hover {
    opacity: 1 !important;
}

/* Main Container */
.main-container {
    background: white;
    border-radius: 40px 40px 0 0;
    margin-top: -60px;
    position: relative;
    z-index: 20;
    padding: 50px 20px;
    min-height: 600px;
    box-shadow: 0 -20px 40px rgba(0, 0, 0, 0.05);
    border-top: 1px solid rgba(226, 232, 240, 0.8);
}

/* Filter Pills */
.filter-pills {
    display: flex;
    gap: 10px;
    margin-bottom: 40px;
    overflow-x: auto;
    padding: 5px;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.filter-pills::-webkit-scrollbar {
    display: none;
}

.filter-pill {
    padding: 9px 22px;
    border-radius: 100px;
    background: #F1F5F9;
    color: #64748B;
    font-weight: 800;
    font-size: 0.88rem;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.filter-pill:hover {
    background: #E2E8F0;
    color: #334155;
}

.filter-pill.active {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0055FF 100%);
    color: white;
    box-shadow: 0 10px 22px rgba(0, 100, 255, 0.35);
    border-color: transparent;
}

/* Network Headers */
.network-title-badge {
    background: #F1F5F9;
    color: #475569;
    padding: 8px 20px;
    border-radius: 14px;
    font-weight: 800;
    font-size: 0.88rem;
    display: inline-flex;
    align-items: center;
    border: 1px solid #E2E8F0;
}

/* Plan Cards */
.plan-card {
    background: white;
    border-radius: 28px;
    padding: 30px 20px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    position: relative;
    text-align: center;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
    box-shadow: var(--card-shadow);
}

.plan-card:hover {
    border-color: rgba(0, 132, 255, 0.35);
    box-shadow: 0 20px 35px -5px rgba(0, 132, 255, 0.15), 0 10px 15px -5px rgba(15, 23, 42, 0.08);
    transform: translateY(-7px);
}

.plan-top-badge {
    position: absolute;
    top: 18px;
    right: 18px;
    background: linear-gradient(135deg, #ECFDF5 0%, #D1FAE5 100%);
    color: #065F46;
    border: 1px solid #A7F3D0;
    padding: 4px 14px;
    border-radius: 100px;
    font-size: 0.72rem;
    font-weight: 800;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.15);
}

.plan-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, #F8FAFC 0%, #F1F5F9 100%);
    color: #64748B;
    border-radius: 24px;
    margin: 0 auto 22px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    transition: all 0.3s;
    border: 1px solid #E2E8F0;
}

.plan-card:hover .plan-icon {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0055FF 100%);
    color: white;
    border-color: transparent;
    transform: scale(1.08) rotate(3deg);
    box-shadow: 0 10px 20px rgba(0, 100, 255, 0.35);
}

.plan-name-main {
    font-weight: 800;
    font-size: 1.15rem;
    color: #0F172A;
    margin-bottom: 4px;
}

.plan-size-main {
    font-size: 0.92rem;
    color: #64748B;
    font-weight: 600;
    margin-bottom: 18px;
}

.plan-price-main {
    font-size: 1.85rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary-color) 0%, #0055FF 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
    z-index: 1000;
    transition: all 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1) rotate(10deg);
}

/* Premium Buttons */
.btn-premium {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0055FF 100%);
    color: white;
    font-weight: 700;
    border: none;
    border-radius: 16px;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn-premium:hover, .btn-premium:focus, .btn-premium:active {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0040CC 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 85, 255, 0.35);
}

/* Announcement Banner & Modal */
.announcement-banner {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-left: 4px solid var(--primary-color) !important;
    transition: all 0.3s ease;
}

.announcement-banner:hover {
    border-color: #CBD5E1;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06) !important;
}

.announcement-icon-wrapper {
    width: 46px;
    height: 46px;
    background-color: var(--primary-light, rgba(139, 92, 246, 0.15));
    color: var(--primary-color, #8B5CF6);
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .display-3 {
        font-size: 2.2rem !important;
    }

    .hero-gradient {
        min-height: 420px;
        padding-bottom: 80px;
    }

    .main-container {
        margin-top: -40px;
        padding: 40px 15px;
    }

    .plan-card {
        padding: 25px 15px;
    }

    .plan-price-main {
        font-size: 1.5rem;
    }
}

/* Paystack Modal & Iframe Full-Screen Rules for Mobile */
iframe[name^="checkout-iframe-"],
iframe[name^="paystack-inline-"],
.paystack-modal {
    z-index: 2147483647 !important;
}