 /* Critical CSS matching dashboard */
        :root {
            --safe-area-inset-top: env(safe-area-inset-top);
            --safe-area-inset-bottom: env(safe-area-inset-bottom);
            --safe-area-inset-left: env(safe-area-inset-left);
            --safe-area-inset-right: env(safe-area-inset-right);
        }
        
        * {
            -webkit-tap-highlight-color: transparent;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }
        
        html {
            font-size: 16px;
            height: -webkit-fill-available;
        }
        
        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            background-color: #f8fafc;
            color: #334155;
            min-height: 100vh;
            min-height: -webkit-fill-available;
            overflow-x: hidden;
            position: relative;
        }
        
        /* Safe area adjustments */
        .safe-top {
            padding-top: var(--safe-area-inset-top);
        }
        
        .safe-bottom {
            padding-bottom: var(--safe-area-inset-bottom);
        }
        
        /* Touch-friendly sizes */
        button, 
        .btn,
        input,
        select {
            min-height: 44px;
        }
        
        /* Card styles */
        .card {
            background: white;
            border-radius: 0.75rem;
            box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
            border: 1px solid #e2e8f0;
        }
        
        /* Toast notifications */
        .toast {
            position: fixed;
            bottom: 1rem;
            left: 50%;
            transform: translateX(-50%) translateY(100px);
            z-index: 9999;
            transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            max-width: calc(100% - 2rem);
        }
        
        .toast.show {
            transform: translateX(-50%) translateY(0);
        }
        
        /* Loading states */
        .skeleton {
            background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
            background-size: 200% 100%;
            animation: loading 1.5s infinite;
        }
        
        @keyframes loading {
            0% { background-position: 200% 0; }
            100% { background-position: -200% 0; }
        }
        
        /* Network colors */
        .mtn-bg { background-color: #FFCC00; }
        .airteltigo-bg { background-color: #004F9F; }
        .telecel-bg { background-color: #E60000; }
        
        /* Network card hover effects */
        .network-card {
            transition: all 0.2s ease;
            border: 2px solid transparent;
        }
        
        .network-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
        }
        
        .network-card.active {
            border-color: #0ea5e9;
            background-color: #f0f9ff;
        }
        
        /* Bundle card styles */
        .bundle-card {
            transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
            border: 1px solid #e2e8f0;
        }
        
        .bundle-card:hover {
            border-color: #0ea5e9;
            transform: translateY(-2px);
            box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.05);
        }
        
        /* Better focus styles */
        .focus\:ring-brand:focus {
            outline: 2px solid transparent;
            outline-offset: 2px;
            box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.5);
        }
        
        /* Hero — immersive layered design */
        .hero-section {
            position: relative;
            overflow: hidden;
            min-height: 92vh;
            display: flex;
            flex-direction: column;
            justify-content: center;
            background: #020d1a; /* fallback if image fails to load */
        }

        /* ─────────────────────────────────────────────────────────
           HERO BACKGROUND IMAGE
           ────────────────────────────────────────────── */
        .hero-bg-img {
            position: absolute;
            inset: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center top;
            z-index: 0;
        }

        /* Dark overlay that sits on top of the background image */
        .hero-bg-overlay {
            position: absolute;
            inset: 0;
            background: linear-gradient(
                135deg,
                rgba(2, 13, 26, 0.82) 0%,
                rgba(4, 20, 38, 0.75) 50%,
                rgba(10, 30, 60, 0.68) 100%
            );
            z-index: 1;
        }

        /* Subtle grid texture — decorative layer on top of image */
        .hero-grid {
            position: absolute;
            inset: 0;
            z-index: 2;
            background-image:
                linear-gradient(rgba(14,165,233,0.05) 1px, transparent 1px),
                linear-gradient(90deg, rgba(14,165,233,0.05) 1px, transparent 1px);
            background-size: 60px 60px;
            mask-image: linear-gradient(to bottom, transparent 0%, black 20%, black 80%, transparent 100%);
            pointer-events: none;
        }

        /* Content layer — always on top */
        .hero-content {
            position: relative;
            z-index: 10;
        }

        /* Animated badge */
        .hero-badge {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: rgba(14,165,233,0.12);
            border: 1px solid rgba(14,165,233,0.30);
            color: #7dd3fc;
            padding: 6px 16px;
            border-radius: 9999px;
            font-size: 12px;
            font-weight: 600;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            backdrop-filter: blur(8px);
            animation: badgePulse 3s ease-in-out infinite;
        }
        .hero-badge-dot {
            width: 7px; height: 7px;
            border-radius: 50%;
            background: #38bdf8;
            animation: dotPulse 2s ease-in-out infinite;
        }
        @keyframes badgePulse {
            0%,100% { box-shadow: 0 0 0 0 rgba(14,165,233,0); }
            50%      { box-shadow: 0 0 0 6px rgba(14,165,233,0.08); }
        }
        @keyframes dotPulse {
            0%,100% { opacity: 1; transform: scale(1); }
            50%      { opacity: 0.5; transform: scale(0.7); }
        }

        /* Hero headline */
        .hero-headline {
            font-family: 'Inter', sans-serif;
            font-size: clamp(2rem, 5vw, 3.75rem);
            font-weight: 800;
            line-height: 1.10;
            letter-spacing: -0.02em;
            color: #ffffff;
        }
        .hero-headline-accent {
            background: linear-gradient(90deg, #38bdf8 0%, #7dd3fc 50%, #bae6fd 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        /* Subheadline */
        .hero-sub {
            color: #94a3b8;
            font-size: clamp(1rem, 2vw, 1.2rem);
            font-weight: 400;
            line-height: 1.65;
            max-width: 560px;
            margin: 0 auto;
        }

        /* Trust strip */
        .trust-strip {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 24px;
            flex-wrap: wrap;
        }
        .trust-item {
            display: flex;
            align-items: center;
            gap: 7px;
            color: #94a3b8;
            font-size: 12px;
            font-weight: 500;
        }
        .trust-item i { color: #38bdf8; }

        /* CTA Buttons */
        .btn-primary-hero {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
            color: #fff;
            font-weight: 700;
            font-size: 15px;
            padding: 14px 28px;
            border-radius: 12px;
            border: none;
            cursor: pointer;
            text-decoration: none;
            box-shadow: 0 0 0 1px rgba(14,165,233,0.5), 0 8px 24px rgba(2,132,199,0.35);
            transition: all 0.2s ease;
            white-space: nowrap;
        }
        .btn-primary-hero:hover {
            transform: translateY(-2px);
            box-shadow: 0 0 0 1px rgba(14,165,233,0.7), 0 12px 32px rgba(2,132,199,0.45);
        }

        .btn-secondary-hero {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            background: rgba(255,255,255,0.06);
            color: #e2e8f0;
            font-weight: 600;
            font-size: 15px;
            padding: 14px 28px;
            border-radius: 12px;
            border: 1px solid rgba(255,255,255,0.14);
            cursor: pointer;
            text-decoration: none;
            backdrop-filter: blur(8px);
            transition: all 0.2s ease;
            white-space: nowrap;
        }
        .btn-secondary-hero:hover {
            background: rgba(255,255,255,0.11);
            border-color: rgba(255,255,255,0.25);
            transform: translateY(-2px);
        }

        .btn-agent-hero {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            background: linear-gradient(135deg, rgba(245,158,11,0.15) 0%, rgba(217,119,6,0.15) 100%);
            color: #fbbf24;
            font-weight: 600;
            font-size: 15px;
            padding: 14px 28px;
            border-radius: 12px;
            border: 1px solid rgba(251,191,36,0.25);
            cursor: pointer;
            text-decoration: none;
            backdrop-filter: blur(8px);
            transition: all 0.2s ease;
            white-space: nowrap;
        }
        .btn-agent-hero:hover {
            background: linear-gradient(135deg, rgba(245,158,11,0.25) 0%, rgba(217,119,6,0.25) 100%);
            border-color: rgba(251,191,36,0.45);
            transform: translateY(-2px);
        }

        /* Network pill badges in hero */
        .net-pill {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 5px 12px;
            border-radius: 9999px;
            font-size: 11px;
            font-weight: 700;
            letter-spacing: 0.04em;
            border: 1px solid rgba(255,255,255,0.12);
            background: rgba(255,255,255,0.06);
            color: rgba(255,255,255,0.75);
            backdrop-filter: blur(6px);
        }

        /* Hero bottom gradient fade into next section */
        .hero-bottom-fade {
            position: absolute;
            bottom: 0; left: 0; right: 0;
            height: 120px;
            background: linear-gradient(to bottom, transparent, #f8fafc);
            z-index: 4;
        }

        /* Scroll-in animation for hero elements */
        .hero-animate {
            opacity: 0;
            transform: translateY(28px);
            animation: heroReveal 0.7s cubic-bezier(0.22,1,0.36,1) forwards;
        }
        .hero-animate-1 { animation-delay: 0.1s; }
        .hero-animate-2 { animation-delay: 0.25s; }
        .hero-animate-3 { animation-delay: 0.40s; }
        .hero-animate-4 { animation-delay: 0.55s; }
        .hero-animate-5 { animation-delay: 0.70s; }
        @keyframes heroReveal {
            to { opacity: 1; transform: translateY(0); }
        }

        /* ── CTA section ─*/
        .cta-section {
            position: relative;
            overflow: hidden;
            padding: 80px 0;
            background: #020d1a; /* fallback colour */
        }

        /* The swappable background image for the CTA section */
        .cta-bg-img {
            position: absolute;
            inset: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center;
            z-index: 0;
        }

        /* Dark overlay on top of CTA image so text stays readable */
        .cta-bg-overlay {
            position: absolute;
            inset: 0;
            background: linear-gradient(
                135deg,
                rgba(2, 13, 26, 0.88) 0%,
                rgba(4, 24, 48, 0.82) 50%,
                rgba(2, 13, 26, 0.88) 100%
            );
            z-index: 1;
        }

        /* Subtle grid texture on CTA */
        .cta-grid {
            position: absolute;
            inset: 0;
            z-index: 2;
            background-image:
                linear-gradient(rgba(14,165,233,0.04) 1px, transparent 1px),
                linear-gradient(90deg, rgba(14,165,233,0.04) 1px, transparent 1px);
            background-size: 50px 50px;
            pointer-events: none;
        }

        /* Stats pills */
        .stat-pill {
            background: rgba(255,255,255,0.06);
            border: 1px solid rgba(255,255,255,0.10);
            border-radius: 16px;
            padding: 18px 24px;
            text-align: center;
            backdrop-filter: blur(8px);
            flex: 1;
            min-width: 110px;
        }
        .stat-pill-number {
            font-size: 1.75rem;
            font-weight: 800;
            color: #38bdf8;
            line-height: 1;
        }
        .stat-pill-label {
            font-size: 11px;
            font-weight: 500;
            color: #94a3b8;
            margin-top: 4px;
        }
        
        /* Custom input styles */
        .modern-input {
            transition: all 0.2s;
            border: 1px solid #e2e8f0;
        }
        
        .modern-input:focus {
            border-color: #0ea5e9;
            box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.1);
            outline: none;
        }
        
        @media screen and (max-width: 768px) {
            input[type="text"],
            input[type="tel"],
            input[type="email"],
            select,
            textarea {
                font-size: 16px !important;
            }
        }
        
        /* Prevent horizontal overflow */
        html, body {
            overflow-x: hidden;
            max-width: 100vw;
        }
        
        /* Mobile-friendly grid */
        @media (max-width: 640px) {
            .grid-cols-1-sm {
                grid-template-columns: 1fr;
            }
        }

        .brand-gradient {
            background: linear-gradient(to right, #0c4a6e 0%, #0369a1 50%, #0c4a6e 100%);
        }