:root {
    --primary: #2872A1;
    /* Ocean Blue */
    --primary-dark: #1b5377;
    --primary-light: #4c9cd1;
    --secondary: #CBDDE9;
    /* Cloudy Sky */
    --accent: #10B981;
    /* Green for success */
    --accent-dark: #059669;
    --bg-color: #F8FAFC;
    /* Soft Light Gray/White */
    --surface: #FFFFFF;
    --text-main: #0F172A;
    --text-muted: #64748B;
    --border: #E2E8F0;

    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);

    --gradient: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-light) 100%);
    --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.4) 100%);
}

/* Reset and Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif;
    color: var(--text-main);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style-type: none;
}

img {
    max-width: 100%;
    border-radius: 16px;
}

/* Utility Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
}

.section-bg {
    background-color: var(--surface);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--text-main);
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.125rem;
}

.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--gradient);
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(40, 114, 161, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: skewX(-20deg);
    animation: shine-btn 3s infinite;
}

@keyframes shine-btn {
    0% {
        left: -100%;
    }

    20% {
        left: 200%;
    }

    100% {
        left: 200%;
    }
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(40, 114, 161, 0.5);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.5);
    color: var(--primary);
    border: 2px solid var(--primary);
    backdrop-filter: blur(5px);
}

.btn-outline:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(40, 114, 161, 0.2);
}

.btn-accent {
    background: var(--accent);
    color: #fff;
}

.btn-accent:hover {
    background: var(--accent-dark);
}

.grid {
    display: grid;
    gap: 30px;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    transition: all 0.3s ease;
    background: transparent;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 15px 0;
    box-shadow: var(--shadow-sm);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo span {
    color: var(--text-main);
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    font-size: 1rem;
    color: var(--text-muted);
}

.nav-links a.nav-login {
    font-weight: 700;
    color: var(--primary-dark);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

.nav-toggle {
    display: none;
    font-size: 24px;
    color: var(--text-main);
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding: 180px 0 100px;
    background: radial-gradient(circle at top right, rgba(203, 221, 233, 0.4), transparent 400px),
        radial-gradient(circle at bottom left, rgba(40, 114, 161, 0.05), transparent 400px);
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 24px;
}

.hero-content h1 span {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 30px;
    border-top: 1px solid var(--border);
    padding-top: 30px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.stat-item h3 {
    font-size: 1.5rem;
    color: var(--primary);
}

.stat-item p {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.stat-item i {
    color: var(--accent);
    font-size: 1.5rem;
}

/* Hero Image Floating Animation */
.hero-image {
    position: relative;
}

.hero-image img {
    box-shadow: var(--shadow-2xl);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Feature Grid / Core Value */
.card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(40, 114, 161, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.5);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: -1;
    pointer-events: none;
}

.card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 20px 40px -5px rgba(40, 114, 161, 0.15), 0 10px 20px -5px rgba(40, 114, 161, 0.1);
    border-color: rgba(40, 114, 161, 0.3);
}

.card-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: rgba(40, 114, 161, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--primary);
    margin-bottom: 24px;
    transition: all 0.3s ease;
}

.card:hover .card-icon {
    background: var(--gradient);
    color: #fff;
}

.card-title {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.card-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* How It Works (Timeline) */
.timeline {
    display: flex;
    flex-direction: column;
    gap: 30px;
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 40px;
    width: 2px;
    background: var(--border);
    z-index: 1;
}

.step {
    display: flex;
    gap: 40px;
    position: relative;
    z-index: 2;
    align-items: center;
}

.step-num {
    width: 80px;
    height: 80px;
    background: var(--surface);
    border: 2px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    color: var(--primary);
    flex-shrink: 0;
    box-shadow: var(--shadow-md);
}

.step-content {
    background: var(--surface);
    padding: 30px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    flex-grow: 1;
}

.step-content h3 {
    margin-bottom: 10px;
}

/* Pricing/Plan Grid Custom Styles */
.plan-card {
    padding: 0;
    overflow: hidden;
    background: #fff;
    border: none;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.plan-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.plan-header {
    padding: 30px 20px;
    text-align: center;
    color: #fff;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

.plan-header h3 {
    color: #fff;
    font-size: 1.125rem;
    letter-spacing: 1px;
    font-weight: 800;
}

/* Network Specific Headers Base Colors (adjusted for modern gradient look) */
.mtn-header {
    background: linear-gradient(135deg, #FFCC00 0%, #E6B800 100%);
}

.airtel-header {
    background: linear-gradient(135deg, #FF0000 0%, #CC0000 100%);
}

.glo-header {
    background: linear-gradient(135deg, #009900 0%, #007700 100%);
}

.nmobile-header {
    background: linear-gradient(135deg, #005500 0%, #003300 100%);
}

.network-logo {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #fff;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.mtn-logo {
    color: #0033A0;
    font-weight: 900;
    font-size: 1.5rem;
    font-family: 'Outfit', sans-serif;
    letter-spacing: -1px;
}

.airtel-logo {
    color: #FF0000;
    font-size: 2.2rem;
}

.glo-logo {
    color: #009900;
    font-weight: 800;
    font-size: 1.5rem;
    font-family: 'Outfit', sans-serif;
}

.nmobile-logo {
    color: #005500;
    font-weight: 900;
    font-size: 2.2rem;
    font-family: 'Inter', sans-serif;
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.nmobile-logo small {
    font-size: 0.5rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-top: -2px;
}

.plan-body {
    padding: 10px;
}

.plan-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 10px;
    border-bottom: 1px solid var(--border);
    font-size: 0.85rem;
}

.plan-row:last-child {
    border-bottom: none;
}

.plan-row span:first-child {
    font-weight: 700;
    color: var(--primary-dark);
    flex: 1;
}

.plan-row .price {
    color: var(--text-main);
    text-align: center;
    font-weight: 600;
}

.plan-row .desc {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.75rem;
    text-align: right;
    flex: 1.2;
    line-height: 1.2;
}

/* Team */
.team-card {
    text-align: center;
    padding: 0;
}

.team-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 20px 20px 0 0;
}

.team-info {
    padding: 24px;
}

.team-name {
    font-size: 1.25rem;
    margin-bottom: 4px;
}

.team-role {
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 16px;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.team-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(40, 114, 161, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.team-social a:hover {
    background: var(--primary);
    color: #fff;
}

/* Wallet Banner */
.wallet-banner {
    background: var(--gradient);
    border-radius: 24px;
    padding: 60px 40px;
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.wallet-banner::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.wallet-banner h2 {
    color: #fff;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.wallet-banner p {
    font-size: 1.125rem;
    margin-bottom: 30px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.wallet-banner .btn {
    background: #fff;
    color: var(--primary);
}

.wallet-banner .btn:hover {
    background: var(--bg-color);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info .info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: rgba(40, 114, 161, 0.1);
    color: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.info-content h4 {
    font-size: 1.125rem;
    margin-bottom: 4px;
}

.info-content p {
    color: var(--text-muted);
}

.contact-form {
    background: var(--surface);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-main);
}

.form-control {
    width: 100%;
    padding: 14px 20px;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s;
    background: var(--bg-color);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(40, 114, 161, 0.1);
    background: var(--surface);
}

textarea.form-control {
    height: 120px;
    resize: vertical;
}

/* Footer */
.footer {
    background: #020617;
    /* Very dark blue */
    color: #94A3B8;
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand .logo {
    color: #fff;
    margin-bottom: 20px;
}

.footer-brand .logo span {
    color: #fff;
}

.footer-brand p {
    margin-bottom: 24px;
    max-width: 300px;
}

.footer-title {
    color: #fff;
    font-size: 1.125rem;
    margin-bottom: 24px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a:hover {
    color: #fff;
    transform: translateX(5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 992px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--surface);
        flex-direction: column;
        padding: 20px 0;
        box-shadow: var(--shadow-md);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: all 0.3s ease-in-out;
    }

    .nav-links.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }

    .nav-toggle {
        display: block;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .timeline::before {
        left: 20px;
    }

    .step {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .step-num {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    /* Plan Grid Scaling */
    .section-title {
        font-size: 1.8rem;
    }

    .card {
        padding: 15px;
    }

    .plan-card {
        padding: 0;
    }

    .plan-header {
        padding: 20px 10px;
    }

    .network-logo {
        width: 55px;
        height: 55px;
        margin-bottom: 10px;
    }

    .plan-row {
        padding: 10px 8px;
        font-size: 0.8rem;
    }

    .plan-row .desc {
        font-size: 0.7rem;
    }
}