*, *::before, *::after { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

:root {
    --gold: #FF8C00;
    --gold-light: #FFD700;
    --gold-pale: #fff8ee;
    --green: #2e7d32;
    --green-light: #e8f5e9;
    --text: #1a1a2e;
    --muted: #6b7280;
    --border: #f0ebe3;
    --surface: #faf9f8;
    --navbar-height: 60px;
}

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--surface);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding-top: var(--navbar-height);
    overflow-x: hidden;
}

/* Headings with Montserrat Bold */
h1, h2, h3, h4, .hero-title, .agent-title, .result-title, .welcome-title,
.product-title, .modal-title, .section-title, .pricing-title, .reseller-title {
    font-family: 'Montserrat', 'Syne', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 700;
}

/* Scroll Animation Classes */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-right {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scale-up {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.scale-up.visible {
    opacity: 1;
    transform: scale(1);
}

/* Fixed Header */
.admin-navbar, .navbar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 1030 !important;
    height: var(--navbar-height) !important;
}

@keyframes bounce {
    0%, 100% { transform: translateY(-50%) translateX(0); }
    50% { transform: translateY(-50%) translateX(-5px); }
}

@media (max-width: 768px) {
    :root {
        --navbar-height: 56px;
    }
}

/* Fix: Remove gap between navbar and marquee */
.global-marquee {
    top: 56px !important;
}

@media (min-width: 768px) {
    .global-marquee {
        top: 70px !important;
    }
}

body {
    padding-top: calc(56px + 44px) !important;
}

@media (min-width: 768px) {
    body {
        padding-top: calc(70px + 50px) !important;
    }
}

/* Result Pins Section */
.result-pins-section {
    background: linear-gradient(135deg, #0f0f1a 0%, #1a1a2e 50%, #2d1b00 100%);
    padding: 4rem 1rem;
    position: relative;
    overflow: hidden;
    scroll-margin-top: calc(var(--navbar-height) + 44px + 20px);
}

.result-pins-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('/images/WAEC.png') repeat;
    background-size: 150px;
    opacity: 0.04;
    pointer-events: none;
    animation: watermarkFloat 60s linear infinite;
}

@keyframes watermarkFloat {
    0% { background-position: 0 0; }
    100% { background-position: 200px 200px; }
}

.result-pins-inner {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.result-header {
    text-align: center;
    margin-bottom: 3rem;
}

.result-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,215,0,0.15);
    border: 1px solid rgba(255,215,0,0.3);
    color: var(--gold-light);
    padding: 0.5rem 1.5rem;
    border-radius: 40px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.result-title {
    font-family: 'Montserrat', 'Syne', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.5rem;
}

.result-title span {
    background: linear-gradient(90deg, #FFD700, #FF8C00);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.result-subtitle {
    color: rgba(255,255,255,0.6);
    font-size: 0.95rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Product Cards */
.products-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

@media (min-width: 768px) {
    .products-grid {
        flex-direction: row;
        gap: 2rem;
    }
}

.product-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    flex: 1;
    backdrop-filter: blur(10px);
    position: relative;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('/images/WAEC.png') no-repeat center;
    background-size: 80px;
    opacity: 0.05;
    pointer-events: none;
    z-index: 0;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 45px rgba(0,0,0,0.3);
    border-color: rgba(255,215,0,0.3);
}

.product-header {
    padding: 2rem 1.5rem;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
    background: rgba(0,0,0,0.3);
    border-top: 4px solid;
    border-image: linear-gradient(90deg, #CE1126 0%, #CE1126 33%, #FCD116 33%, #FCD116 66%, #006B3F 66%, #006B3F 100%);
    border-image-slice: 1;
}

.product-header.wasce, 
.product-header.bece, 
.product-header.placement {
    background: rgba(0,0,0,0.3);
}

.product-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('/images/WAEC.png') repeat;
    background-size: 60px;
    opacity: 0.08;
    pointer-events: none;
}

.product-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.product-title {
    font-family: 'Montserrat', 'Syne', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}

.product-price {
    font-size: 2rem;
    font-weight: 800;
    position: relative;
    z-index: 1;
}

.product-price small {
    font-size: 0.8rem;
    font-weight: normal;
}

.stock-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(0,0,0,0.3);
    padding: 0.3rem 0.8rem;
    border-radius: 40px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-top: 0.8rem;
    position: relative;
    z-index: 1;
}

.stock-badge i { font-size: 0.7rem; }
.stock-available { background: rgba(46,125,50,0.8); color: #a5d6a7; }
.stock-low { background: rgba(255,140,0,0.8); color: #ffe0b2; }
.stock-out { background: rgba(220,53,69,0.8); color: #ffcdd2; }

.btn-purchase {
    width: 100%;
    padding: 1rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #CE1126 0%, #CE1126 33%, #FCD116 33%, #FCD116 66%, #006B3F 66%, #006B3F 100%);
    background-size: 300% 100%;
    color: white;
    position: relative;
    overflow: hidden;
}

.btn-purchase::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #CE1126 0%, #CE1126 33%, #FCD116 33%, #FCD116 66%, #006B3F 66%, #006B3F 100%);
    background-size: 300% 100%;
    opacity: 0;
    transition: opacity 0.3s;
}

.btn-purchase:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    background-position: 100% 0;
}

.btn-purchase:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.usage-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: rgba(0,0,0,0.2);
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    font-size: 0.65rem;
    margin-top: 0.5rem;
    position: relative;
    z-index: 1;
}

.product-body {
    padding: 1.5rem;
    position: relative;
    z-index: 1;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.feature-list li {
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.7);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.feature-list li:last-child { border-bottom: none; }
.feature-list li i { color: #81c784; width: 18px; font-size: 0.8rem; }

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #fff9f0 0%, #ffffff 100%);
    padding: 3rem 1rem;
    margin-top: 0;
}

.hero-content { max-width: 1200px; margin: 0 auto; }
.hero-grid { display: flex; flex-direction: column; gap: 2rem; }

@media (min-width: 992px) {
    .hero-grid { flex-direction: row; align-items: center; gap: 3rem; }
    .hero-text, .hero-carousel { flex: 1; }
}

.hero-title {
    font-family: 'Montserrat', 'Syne', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #FF8C00, #FFD700);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
    line-height: 1.2;
}

@media (min-width: 768px) { 
    .hero-title { font-size: 2.5rem; } 
}

.hero-description { 
    color: #555; 
    font-size: 1rem; 
    line-height: 1.6; 
    margin-bottom: 1.5rem; 
}

.feature-badges { 
    display: flex; 
    flex-wrap: wrap; 
    gap: 0.8rem; 
    margin-bottom: 1.5rem; 
}

.feature-badge {
    background: white;
    padding: 0.5rem 1rem;
    border-radius: 40px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 500;
    color: #FF8C00;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.hours-alert {
    background: #f0f0f0;
    padding: 0.8rem 1rem;
    border-radius: 12px;
    margin: 1rem 0;
    font-size: 0.8rem;
    color: #666;
}

.cta-buttons { 
    display: flex; 
    flex-wrap: wrap; 
    gap: 1rem; 
    margin-top: 1.5rem; 
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    border-radius: 40px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, #FF8C00, #FFD700);
    color: white;
    animation: pulse 1.5s infinite;
}

.btn-outline-light {
    background: transparent;
    border: 2px solid #FF8C00;
    color: #FF8C00;
}

.btn-outline-light:hover {
    background: #FF8C00;
    color: white;
}

@keyframes pulse {
    0%,100% { transform: scale(1); box-shadow: 0 2px 5px rgba(255,140,0,0.3); }
    50% { transform: scale(1.05); box-shadow: 0 4px 15px rgba(255,140,0,0.5); }
}

/* Hero Carousel */
.hero-carousel {
    position: relative;
    height: 300px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

@media (min-width: 768px) { 
    .hero-carousel { height: 350px; } 
}

.carousel-slide {
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    opacity: 0; 
    transition: opacity 0.5s ease;
    background-size: cover; 
    background-position: center;
    display: flex; 
    align-items: flex-end; 
    justify-content: center;
    text-align: center; 
    color: white;
}

.carousel-slide.active { opacity: 1; }
.slide-mtn { background-image: linear-gradient(rgba(0,0,0,0.4),rgba(0,0,0,0.6)), url('/images/Mtn as design.jpg'); }
.slide-telecel { background-image: linear-gradient(rgba(0,0,0,0.4),rgba(0,0,0,0.6)), url('/images/telecel.png'); }
.slide-airteltigo { background-image: linear-gradient(rgba(0,0,0,0.4),rgba(0,0,0,0.6)), url('/images/Airtel.png'); }

.slide-content { 
    background: rgba(0,0,0,0.5); 
    width: 100%; 
    padding: 1.5rem; 
    backdrop-filter: blur(8px); 
}

.slide-content h3 { 
    font-family: 'Montserrat', 'Syne', sans-serif; 
    font-size: 1.5rem; 
    margin-bottom: 0.3rem; 
}

.slide-content p { 
    font-size: 0.85rem; 
    opacity: 0.95; 
}

@media (min-width:768px) { 
    .slide-content h3 { font-size: 1.8rem; } 
    .slide-content p { font-size: 0.9rem; } 
}

.carousel-indicators {
    position: absolute; 
    bottom: 15px; 
    left: 0; 
    right: 0;
    display: flex; 
    justify-content: center; 
    gap: 10px; 
    z-index: 10;
}

.carousel-indicator {
    width: 8px; 
    height: 8px; 
    border-radius: 50%;
    background: rgba(255,255,255,0.6); 
    cursor: pointer;
    transition: all 0.3s;
}

.carousel-indicator.active { 
    background: white; 
    width: 24px; 
    border-radius: 10px; 
}

/* Welcome Section */
.welcome-section {
    background: linear-gradient(135deg, #FF8C00, #FFD700);
    padding: 4rem 1rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.welcome-title {
    font-family: 'Montserrat', 'Syne', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #8B0000, #800020, #FFFFFF, #0066CC, #FFD700);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientFlow 3s ease infinite;
}

@keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.welcome-subtitle { 
    font-size: 1.1rem; 
    margin-bottom: 1rem; 
    color: rgba(255,255,255,0.95); 
}

.wallet-highlight {
    background: rgba(255,255,255,0.2);
    display: inline-block;
    padding: 0.6rem 1.5rem;
    border-radius: 40px;
    margin: 0.5rem 0;
    font-weight: 600;
    color: #fff;
    backdrop-filter: blur(5px);
}

.nav-guide { 
    display: flex; 
    flex-wrap: wrap; 
    justify-content: center; 
    gap: 1rem; 
    margin-top: 2rem; 
}

.nav-guide-item {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(5px);
    padding: 0.8rem 1.2rem;
    border-radius: 40px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    color: white;
}

.nav-guide-item:hover { 
    transform: translateY(-3px); 
    background: rgba(255,255,255,0.25); 
}

.nav-guide-item strong { color: #222; }

/* Agent Section */
.agent-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #2d1b00 55%, #3a2200 100%);
    padding: 4rem 1rem;
    position: relative;
    overflow: hidden;
}

.agent-section::before {
    content: '';
    position: absolute; 
    inset: 0;
    background: radial-gradient(ellipse at 80% 20%, rgba(255,215,0,0.12) 0%, transparent 55%),
                radial-gradient(ellipse at 10% 80%, rgba(255,140,0,0.08) 0%, transparent 50%);
}

.agent-inner {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.agent-unlocked-banner {
    background: rgba(46,125,50,0.2);
    border: 1px solid rgba(129,199,132,0.4);
    border-radius: 16px;
    padding: 1.2rem 1.8rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.agent-unlocked-banner i { font-size: 2rem; color: #81c784; }
.agent-unlocked-banner h4 { 
    font-family: 'Montserrat', 'Syne', sans-serif; 
    color: #a5d6a7; 
    font-size: 1rem; 
    margin-bottom: 0.2rem; 
}

.agent-unlocked-banner p { color: rgba(255,255,255,0.6); font-size: 0.85rem; }

.agent-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .agent-header { 
        flex-direction: row; 
        align-items: center; 
        justify-content: space-between; 
    }
}

.agent-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255,215,0,0.15);
    border: 1px solid rgba(255,215,0,0.3);
    color: var(--gold-light);
    padding: 0.3rem 0.9rem;
    border-radius: 40px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 0.6rem;
}

.agent-title {
    font-family: 'Montserrat', 'Syne', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: white;
    line-height: 1.2;
}

.agent-title span {
    background: linear-gradient(90deg, #FFD700, #FF8C00);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.agent-subtitle { 
    color: rgba(255,255,255,0.55); 
    font-size: 0.9rem; 
    margin-top: 0.4rem; 
}

.agent-pay-pill {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: #1a1a2e;
    border: none;
    border-radius: 50px;
    padding: 0.8rem 1.5rem;
    font-family: 'Montserrat', 'Syne', sans-serif;
    font-size: 0.9rem;
    font-weight: 800;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    white-space: nowrap;
    transition: all 0.3s;
    flex-shrink: 0;
    box-shadow: 0 3px 15px rgba(255,140,0,0.3);
}

.agent-pay-pill:hover { 
    transform: translateY(-2px); 
    box-shadow: 0 8px 30px rgba(255,140,0,0.5); 
}

.network-tabs {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.net-tab {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.6);
    padding: 0.6rem 1.2rem;
    border-radius: 40px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.net-tab img { height: 20px; width: auto; object-fit: contain; }
.net-tab.active {
    background: rgba(255,215,0,0.15);
    border-color: rgba(255,215,0,0.4);
    color: var(--gold-light);
}

.net-tab:hover:not(.active) { 
    background: rgba(255,255,255,0.12); 
    color: white; 
    transform: translateY(-2px); 
}

.price-table-wrap {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
    max-height: 500px;
    overflow-y: auto;
    overflow-x: auto;
}

.price-table {
    width: 100%;
    min-width: 600px;
    border-collapse: collapse;
    font-size: 0.85rem;
}

.price-table thead tr {
    background: rgba(255,255,255,0.07);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    position: sticky;
    top: 0;
    z-index: 2;
}

.price-table thead th {
    padding: 1rem;
    text-align: left;
    color: rgba(255,255,255,0.5);
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.price-table thead th.center { text-align: center; }
.price-table tbody tr {
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: background 0.3s;
}

.price-table tbody tr:hover { background: rgba(255,255,255,0.04); }
.price-table tbody td { padding: 1rem; color: rgba(255,255,255,0.85); }
.price-table tbody td.center { text-align: center; }

.bundle-cell {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.bundle-cell img { 
    height: 30px; 
    width: auto; 
    object-fit: contain; 
    border-radius: 4px; 
}

.bundle-name { 
    font-weight: 600; 
    color: white; 
    font-size: 0.9rem; 
}

.bundle-desc { 
    font-size: 0.7rem; 
    color: rgba(255,255,255,0.4); 
}

.user-price-cell { color: rgba(255,255,255,0.5); }
.agent-price-cell { color: #81c784; font-weight: 700; }

.blurred-cell {
    filter: blur(5px);
    user-select: none;
    pointer-events: none;
    color: rgba(255,255,255,0.3);
}

.save-badge {
    background: rgba(46,125,50,0.25);
    color: #a5d6a7;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.network-panel { display: none; }
.network-panel.active { display: block; }

/* Modal Styles */
.modal-overlay {
    position: fixed; 
    inset: 0;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.modal-overlay.open { opacity: 1; pointer-events: all; }

.modal-box {
    background: linear-gradient(160deg, #1a1a2e, #2d1b00);
    border: 1px solid rgba(255,215,0,0.2);
    border-radius: 24px;
    padding: 2rem;
    max-width: 500px;
    width: 100%;
    position: relative;
    transform: translateY(30px) scale(0.97);
    transition: all 0.35s cubic-bezier(.175,.885,.32,1.275);
    box-shadow: 0 25px 60px rgba(0,0,0,0.5);
    max-height: 90vh;
    overflow-y: auto;
}

.modal-overlay.open .modal-box { transform: translateY(0) scale(1); }

.modal-close {
    position: absolute; 
    top: 1rem; 
    right: 1rem;
    background: rgba(255,255,255,0.1);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    transition: all 0.2s;
}

.modal-close:hover { 
    background: rgba(255,255,255,0.2); 
    transform: rotate(90deg); 
}

.modal-icon {
    font-size: 2.5rem;
    color: var(--gold-light);
    display: block;
    margin-bottom: 0.8rem;
    animation: bob 2.5s ease-in-out infinite;
}

@keyframes bob {
    0%,100% { transform: translateY(0) rotate(-3deg); }
    50% { transform: translateY(-6px) rotate(3deg); }
}

.modal-title {
    font-family: 'Montserrat', 'Syne', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.25rem;
}

.modal-title span {
    background: linear-gradient(90deg,#FFD700,#FF8C00);
    -webkit-background-clip: text; 
    background-clip: text; 
    -webkit-text-fill-color: transparent;
}

.modal-subtitle {
    color: rgba(255,255,255,0.55);
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
}

.payment-summary {
    background: rgba(255,215,0,0.1);
    border: 1px solid rgba(255,215,0,0.2);
    border-radius: 16px;
    padding: 1rem;
    margin: 1rem 0;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    color: rgba(255,255,255,0.7);
    font-size: 0.85rem;
    margin-bottom: 0.3rem;
}

.form-group input {
    width: 100%;
    padding: 0.8rem;
    background: rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    color: white;
    font-size: 0.9rem;
}

.form-group input:focus {
    outline: none;
    border-color: var(--gold);
}

.modal-pay-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: #1a1a2e;
    border: none;
    border-radius: 50px;
    padding: 1rem;
    font-family: 'Montserrat', 'Syne', sans-serif;
    font-size: 1rem;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s;
    margin-top: 1rem;
}

.modal-pay-btn:hover { 
    transform: translateY(-2px); 
    box-shadow: 0 8px 30px rgba(255,140,0,0.45); 
}

.modal-pay-btn:disabled { 
    opacity: 0.55; 
    cursor: not-allowed; 
    transform: none; 
}

.modal-secure {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.3);
    margin-top: 1rem;
}

.pin-display {
    background: rgba(0,0,0,0.4);
    border-radius: 16px;
    padding: 1rem;
    margin: 1rem 0;
    text-align: center;
}

.pin-code {
    font-family: monospace;
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 3px;
    color: var(--gold-light);
}

.result-info {
    background: rgba(46,125,50,0.2);
    border-radius: 12px;
    padding: 0.8rem;
    margin: 1rem 0;
    font-size: 0.85rem;
    color: #a5d6a7;
}

.waec-link {
    display: inline-block;
    margin: 1rem 0;
    padding: 0.8rem 1.5rem;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: #1a1a2e;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
}

.login-prompt {
    background: rgba(255,215,0,0.15);
    border: 1px solid rgba(255,215,0,0.3);
    border-radius: 12px;
    padding: 1rem;
    margin: 1rem 0;
    text-align: center;
}

.login-prompt a {
    color: var(--gold-light);
    font-weight: bold;
}

/* Toast */
.toast {
    position: fixed; 
    bottom: 2rem; 
    right: 1.5rem;
    background: #1a1a2e; 
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    z-index: 10001;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.35s;
    box-shadow: 0 8px 30px rgba(0,0,0,0.25);
}

.toast.show { transform: translateY(0); opacity: 1; }
.toast.success { background: #1b5e20; }
.toast.error { background: #b71c1c; }

/* Networks Section */
.networks-section { 
    padding: 4rem 1rem; 
    background: white; 
}

.section-container { 
    max-width: 1200px; 
    margin: 0 auto; 
}

.section-title { 
    font-family: 'Montserrat', 'Syne', sans-serif; 
    font-size: 2rem; 
    font-weight: 700; 
    text-align: center; 
    margin-bottom: 0.5rem; 
    color: #333; 
}

.section-subtitle { 
    text-align: center; 
    color: #666; 
    font-size: 0.9rem; 
    margin-bottom: 2rem; 
}

.networks-grid {
    display: flex; 
    flex-direction: column; 
    gap: 1.5rem;
    max-width: 500px; 
    margin: 0 auto;
}

@media (min-width:768px) { 
    .networks-grid { 
        flex-direction: row; 
        max-width: 900px; 
        gap: 2rem; 
    } 
}

.network-card { 
    background: #faf9f8; 
    border-radius: 20px; 
    padding: 1.5rem; 
    text-align: center; 
    flex: 1; 
    transition: transform 0.3s; 
}

.network-card:hover { transform: translateY(-5px); }
.network-card h4 { font-size: 1.1rem; margin-bottom: 0.3rem; }
.network-card p { color: #666; font-size: 0.8rem; margin-bottom: 0.6rem; }

.network-badge { 
    background: #e8f5e9; 
    color: #2e7d32; 
    padding: 0.3rem 0.8rem; 
    border-radius: 20px; 
    font-size: 0.7rem; 
    font-weight: 600; 
    display: inline-block; 
}

/* Guest Sections */
.auth-section { padding: 4rem 1rem; background: #fff; }
.howitworks-section { padding: 4rem 1rem; background: #faf9f8; }
.cta-section { 
    background: linear-gradient(135deg,#FF8C00,#FFD700); 
    padding: 4rem 1rem; 
    text-align: center; 
    color: white; 
}

/* Footer */
.footer { 
    background: white; 
    border-top: 1px solid #e8e8e8; 
    padding: 2rem; 
    text-align: center; 
    margin-top: auto; 
}

.footer-content { 
    max-width: 1200px; 
    margin: 0 auto; 
    color: #666; 
    font-size: 0.75rem; 
}

.footer-links { margin-top: 0.8rem; }
.footer-links a { 
    color: #666; 
    text-decoration: none; 
    margin: 0 0.8rem; 
    font-size: 0.75rem; 
}
.footer-links a:hover { color: #FF8C00; }

.spinner-border {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    border: 0.2em solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: spinner-border 0.75s linear infinite;
}

@keyframes spinner-border {
    to { transform: rotate(360deg); }
}

.visually-hidden { 
    position: absolute; 
    width: 1px; 
    height: 1px; 
    padding: 0; 
    margin: -1px; 
    overflow: hidden; 
}

@media (max-width:768px) {
    .welcome-title { font-size: 1.5rem; }
    .nav-guide-item { font-size: 0.7rem; padding: 0.4rem 0.8rem; }
    .agent-title { font-size: 1.4rem; }
    .result-title { font-size: 1.5rem; }
    .price-table { font-size: 0.78rem; }
    .price-table thead th, .price-table tbody td { padding: 0.7rem 0.6rem; }
    .modal-box { padding: 1.5rem; margin: 1rem; }
    .section-title { font-size: 1.5rem; }
}

/* Reseller Section */
.reseller-section {
    background: linear-gradient(135deg, #0f0c29 0%, #1a1a2e 50%, #24243e 100%);
    padding: 2rem 1rem;
    position: relative;
    overflow: hidden;
}

.reseller-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255,140,0,0.08), transparent 70%);
    pointer-events: none;
}

.reseller-inner {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.reseller-header {
    text-align: center;
    margin-bottom: 2rem;
}

.reseller-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255,215,0,0.12);
    border: 1px solid rgba(255,215,0,0.25);
    color: #FFD700;
    padding: 0.35rem 1rem;
    border-radius: 40px;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 0.8rem;
}

.reseller-title {
    font-family: 'Montserrat', 'Syne', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.reseller-title span {
    background: linear-gradient(90deg, #FFD700, #FF8C00);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.reseller-subtitle {
    color: rgba(255,255,255,0.65);
    font-size: 0.8rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.5;
}

.reseller-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

.feature-item {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-align: left;
    transition: all 0.2s ease;
}

.feature-item:hover {
    transform: translateX(4px);
    border-color: rgba(255,215,0,0.2);
    background: rgba(255,255,255,0.06);
}

.feature-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #FF8C00, #FFD700);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon i {
    font-size: 1.1rem;
    color: #1a1a2e;
}

.feature-item h3 {
    font-size: 0.85rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.2rem;
}

.feature-item p {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.55);
    line-height: 1.4;
}

.feature-item strong {
    color: #FFD700;
}

.reseller-pricing {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

.pricing-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    padding: 1.2rem;
    position: relative;
    transition: all 0.2s ease;
}

.pricing-card.featured {
    border: 1.5px solid #FFD700;
    background: rgba(255,215,0,0.04);
    order: -1;
}

.pricing-badge {
    position: absolute;
    top: -10px;
    right: 12px;
    background: linear-gradient(135deg, #FF8C00, #FFD700);
    color: #1a1a2e;
    padding: 0.2rem 0.8rem;
    border-radius: 40px;
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
}

.pricing-price {
    font-size: 1.8rem;
    font-weight: 800;
    color: white;
    margin: 0.8rem 0 0.3rem;
}

.pricing-price span {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.4);
    font-weight: normal;
}

.pricing-title {
    font-size: 1rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.8rem;
}

.pricing-features {
    list-style: none;
    margin: 1rem 0;
    text-align: left;
}

.pricing-features li {
    padding: 0.35rem 0;
    color: rgba(255,255,255,0.65);
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pricing-features li i {
    width: 14px;
    font-size: 0.7rem;
}

.pricing-features li i.fa-check-circle {
    color: #4caf50;
}

.pricing-features li i.fa-times-circle {
    color: #f44336;
    opacity: 0.4;
}

.pricing-features li.disabled {
    opacity: 0.5;
}

.btn-reseller {
    display: inline-block;
    width: 100%;
    padding: 0.7rem;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 40px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.8rem;
    text-align: center;
    transition: all 0.2s;
}

.btn-reseller:hover {
    background: rgba(255,215,0,0.15);
    border-color: #FFD700;
}

.btn-reseller-pro {
    background: linear-gradient(135deg, #FF8C00, #FFD700);
    color: #1a1a2e;
    border: none;
}

.btn-reseller-pro:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255,140,0,0.3);
}

.pricing-note {
    display: block;
    font-size: 0.6rem;
    color: rgba(255,255,255,0.35);
    margin-top: 0.5rem;
    text-align: center;
}

.reseller-testimonial {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,215,0,0.1);
    border-radius: 20px;
    padding: 1.2rem;
    text-align: center;
    margin-bottom: 2rem;
}

.reseller-testimonial i.fa-quote-left {
    font-size: 1.2rem;
    color: #FFD700;
    opacity: 0.4;
    margin-bottom: 0.5rem;
    display: block;
}

.reseller-testimonial p {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.75);
    line-height: 1.5;
    margin-bottom: 0.8rem;
    font-style: italic;
}

.testimonial-author strong {
    display: block;
    color: white;
    font-weight: 700;
    font-size: 0.8rem;
}

.testimonial-author span {
    font-size: 0.65rem;
    color: rgba(255,255,255,0.45);
}

.reseller-cta {
    text-align: center;
    padding: 1.2rem;
    background: linear-gradient(135deg, rgba(255,140,0,0.08), rgba(255,215,0,0.03));
    border-radius: 20px;
    border: 1px solid rgba(255,215,0,0.12);
}

.reseller-cta h3 {
    font-size: 1.1rem;
    color: white;
    margin-bottom: 0.3rem;
}

.reseller-cta p {
    color: rgba(255,255,255,0.55);
    font-size: 0.75rem;
    margin-bottom: 1rem;
}

.reseller-cta .cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.btn-large {
    padding: 0.7rem 1rem;
    font-size: 0.85rem;
    width: 100%;
    justify-content: center;
}

.cta-note {
    font-size: 0.6rem;
    margin-top: 0.8rem;
    color: rgba(255,255,255,0.35);
}

/* Tablet Styles */
@media (min-width: 600px) {
    .reseller-section {
        padding: 2.5rem 1.5rem;
    }
    
    .reseller-title {
        font-size: 1.8rem;
    }
    
    .reseller-subtitle {
        font-size: 0.85rem;
    }
    
    .reseller-features {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .reseller-pricing {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .pricing-card.featured {
        order: 0;
    }
    
    .reseller-cta .cta-buttons {
        flex-direction: row;
        justify-content: center;
    }
    
    .btn-large {
        width: auto;
        min-width: 200px;
    }
}

/* Desktop Styles */
@media (min-width: 992px) {
    .reseller-section {
        padding: 3rem 2rem;
    }
    
    .reseller-title {
        font-size: 2rem;
    }
    
    .reseller-features {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.2rem;
    }
    
    .reseller-pricing {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        max-width: 800px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .feature-item {
        padding: 1.2rem;
    }
    
    .pricing-card {
        padding: 1.5rem;
    }
    
    .pricing-price {
        font-size: 2rem;
    }
}

/* Large Desktop */
@media (min-width: 1200px) {
    .reseller-features {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .reseller-pricing {
        max-width: 900px;
    }
}
/* Desktop-specific optimizations */
@media (min-width: 1200px) {
    .hero-section {
        min-height: 500px;
        background-size: cover;
    }
    
    /* Preload desktop hero image */
    .hero-section::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: url('/images/hero-desktop.webp');
        background-size: cover;
        background-position: center;
        opacity: 0;
        pointer-events: none;
    }
}