/* =========================================================
   AIRSWAP — BUNDLES & MINUTES
   Brand Colors
   Navy  : #160B68
   Green : #279B48
   Orange: #F79400
========================================================= */

.airswap-bundles {
    --airswap-navy: #160B68;
    --airswap-green: #279B48;
    --airswap-orange: #F79400;

    position: relative;
    width: 100%;
    max-width: 1350px;
    margin: 0 auto;
    padding: 45px 35px 70px;

    font-family: "Livvic", sans-serif;

    color: var(--airswap-navy);

    box-sizing: border-box;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 100% 0%,
            rgba(39, 155, 72, 0.13) 0%,
            rgba(39, 155, 72, 0.05) 25%,
            transparent 48%
        ),
        radial-gradient(
            circle at 0% 100%,
            rgba(22, 11, 104, 0.06) 0%,
            transparent 38%
        ),
        #ffffff;
}


/* =========================================================
   DECORATIVE BACKGROUND
========================================================= */

.airswap-bundles::before {
    content: "";

    position: absolute;

    top: -180px;
    right: -180px;

    width: 520px;
    height: 520px;

    border-radius: 50%;

    background:
        linear-gradient(
            135deg,
            rgba(39, 155, 72, 0.17),
            rgba(39, 155, 72, 0.025)
        );

    pointer-events: none;
}


.airswap-bundles::after {
    content: "";

    position: absolute;

    bottom: -220px;
    left: -180px;

    width: 500px;
    height: 500px;

    border-radius: 50%;

    background:
        linear-gradient(
            135deg,
            rgba(247, 148, 0, 0.08),
            rgba(22, 11, 104, 0.05),
            transparent
        );

    pointer-events: none;
}


/* Keep content above decorations */

.airswap-bundles > * {
    position: relative;
    z-index: 1;
}


/* =========================================================
   HEADER
========================================================= */

.bundles-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    gap: 40px;

    margin-bottom: 28px;
}


.bundles-title {
    padding-top: 5px;
}


.bundles-title h1 {
    margin: 0;

    font-size: 46px;
    line-height: 1.1;

    font-weight: 800;

    letter-spacing: -1.5px;

    background:
        linear-gradient(
            90deg,
            #160B68 0%,
            #160B68 48%,
            #279B48 70%,
            #279B48 100%
        );

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    background-clip: text;
}


.bundles-title p {
    margin: 10px 0 0;

    color: #64749b;

    font-size: 17px;

    line-height: 1.5;
}


/* =========================================================
   NETWORK SELECTOR
========================================================= */

.network-selector {
    min-width: 560px;

    padding: 18px 20px;

    border: 1px solid rgba(39, 155, 72, 0.15);

    border-radius: 16px;

    background:
        linear-gradient(
            145deg,
            #ffffff 0%,
            #f8fcfa 100%
        );

    box-shadow:
        0 8px 25px rgba(22, 11, 104, 0.05);

    box-sizing: border-box;
}


.network-selector h3 {
    margin: 0 0 12px;

    font-size: 16px;

    font-weight: 700;

    color: var(--airswap-navy);
}


.network-list {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 10px;
}


.network {
    height: 60px;

    border: 1px solid #e2e8f2;

    border-radius: 11px;

    background: #ffffff;

    cursor: pointer;

    transition:
        border-color .2s ease,
        transform .2s ease,
        box-shadow .2s ease;

    display: flex;

    align-items: center;
    justify-content: center;
}


.network:hover {
    border-color: var(--airswap-green);

    transform: translateY(-1px);

    box-shadow:
        0 5px 14px rgba(39, 155, 72, 0.08);
}


.network.active {
    border: 1.5px solid var(--airswap-green);

    background:
        linear-gradient(
            145deg,
            #f5fff8,
            #eaf8ee
        );

    box-shadow:
        0 4px 12px rgba(39, 155, 72, 0.08);
}


.network-logo {
    font-size: 18px;

    font-weight: 800;
}


/* Network brand colors */

.network-logo.safaricom {
    color: #22a447;
}


.network-logo.airtel {
    color: #e50019;
}


.network-logo.telkom {
    color: #179dd4;
}


.network-logo.faiba {
    color: #48a92f;
}


/* =========================================================
   TABS
========================================================= */

.bundle-tabs {
    display: flex;

    width: 675px;
    max-width: 100%;

    margin-bottom: 20px;

    border: 1px solid #dce4f0;

    border-radius: 12px;

    overflow: hidden;

    background: #ffffff;

    box-shadow:
        0 4px 14px rgba(22, 11, 104, 0.035);
}


.bundle-tab {
    flex: 1;

    height: 54px;

    border: none;

    background: #ffffff;

    color: var(--airswap-navy);

    font-family: inherit;

    font-size: 17px;

    font-weight: 700;

    cursor: pointer;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 12px;

    transition:
        background .2s ease,
        color .2s ease;
}


.bundle-tab i {
    font-size: 18px;
}


.bundle-tab.active {
    background:
        linear-gradient(
            100deg,
            #160B68 0%,
            #1d1880 55%,
            #279B48 150%
        );

    color: #ffffff;

    box-shadow:
        0 5px 14px rgba(22, 11, 104, 0.16);
}


.bundle-tab:not(.active):hover {
    background:
        linear-gradient(
            100deg,
            #ffffff,
            #f4faf6
        );
}


/* =========================================================
   SECTIONS
========================================================= */

.bundle-section {
    margin-top: 10px;
}


.section-heading {
    display: flex;

    flex-direction: column;

    align-items: flex-start;

    margin-bottom: 13px;
}


.section-heading h2 {
    margin: 0;

    font-size: 21px;

    font-weight: 800;

    color: var(--airswap-navy);
}


.section-heading span {
    width: 42px;

    height: 4px;

    margin-top: 7px;

    border-radius: 10px;

    background:
        linear-gradient(
            90deg,
            #279B48,
            #51bb6d
        );
}


.minutes-heading span {
    background:
        linear-gradient(
            90deg,
            #F79400,
            #ffb13b
        );
}


/* =========================================================
   BUNDLE GRID
========================================================= */

.bundle-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 16px;
}


/* =========================================================
   BUNDLE CARD
========================================================= */

.bundle-card {
    position: relative;

    min-height: 205px;

    padding: 20px;

    border: 1px solid #e0e7f0;

    border-radius: 13px;

    background:
        linear-gradient(
            145deg,
            #ffffff 0%,
            #ffffff 65%,
            #f5fbf7 100%
        );

    box-shadow:
        0 5px 18px rgba(22, 11, 104, 0.045);

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        border-color .2s ease,
        background .2s ease;

    box-sizing: border-box;
}


.bundle-card:hover {
    transform: translateY(-3px);

    border-color:
        rgba(39, 155, 72, 0.35);

    background:
        linear-gradient(
            145deg,
            #ffffff 0%,
            #fafffb 100%
        );

    box-shadow:
        0 12px 30px rgba(39, 155, 72, 0.10);
}


/* =========================================================
   BUNDLE ICON
========================================================= */

.bundle-icon {
    width: 58px;
    height: 58px;

    flex-shrink: 0;

    border-radius: 50%;

    display: flex;

    align-items: center;
    justify-content: center;

    font-size: 25px;

    position: absolute;

    top: 20px;
    left: 20px;
}


.bundle-icon.green {
    background:
        linear-gradient(
            145deg,
            #e9f8ee,
            #d7f1df
        );

    color: var(--airswap-green);
}


.bundle-icon.blue {
    background:
        linear-gradient(
            145deg,
            #eef3ff,
            #e1eaff
        );

    color: var(--airswap-navy);
}


.bundle-icon.orange {
    background:
        linear-gradient(
            145deg,
            #fff5e5,
            #ffead0
        );

    color: var(--airswap-orange);
}


/* =========================================================
   SMS BADGE
========================================================= */

.sms-icon span {
    position: absolute;

    right: -9px;
    bottom: -1px;

    padding: 3px 6px;

    border-radius: 8px;

    background: var(--airswap-green);

    color: #ffffff;

    font-size: 9px;

    font-weight: 800;

    box-shadow:
        0 2px 6px rgba(39, 155, 72, 0.2);
}


/* =========================================================
   BUNDLE INFORMATION
========================================================= */

.bundle-info {
    margin-left: 76px;

    min-height: 125px;
}


.bundle-info h3 {
    margin: 1px 0 2px;

    color: var(--airswap-navy);

    font-size: 21px;

    font-weight: 800;

    line-height: 1.25;
}


.bundle-type {
    margin: 0 0 9px;

    color: #64749b;

    font-size: 14px;
}


.validity {
    margin: 0;

    display: flex;

    align-items: center;

    gap: 6px;

    color: #52648b;

    font-size: 14px;
}


.validity i {
    color: var(--airswap-navy);
}


.bundle-price {
    margin-top: 9px;

    color: var(--airswap-navy);

    font-size: 27px;

    font-weight: 800;
}


.bundle-price small {
    font-size: 13px;

    font-weight: 700;

    margin-right: 4px;
}


/* =========================================================
   BUY BUTTON
========================================================= */

.buy-btn {
    width: 100%;

    height: 47px;

    border: none;

    border-radius: 8px;

    background:
        linear-gradient(
            100deg,
            #279B48 0%,
            #20a84c 55%,
            #16883a 100%
        );

    color: #ffffff;

    font-family: inherit;

    font-size: 15px;

    font-weight: 700;

    cursor: pointer;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 12px;

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        background .2s ease;

    box-shadow:
        0 5px 12px rgba(39, 155, 72, 0.16);
}


.buy-btn:hover {
    background:
        linear-gradient(
            100deg,
            #20883e 0%,
            #279B48 50%,
            #1b7835 100%
        );

    transform: translateY(-1px);

    box-shadow:
        0 8px 18px rgba(39, 155, 72, 0.22);
}


.buy-btn:active {
    transform: translateY(0);
}


.buy-btn i {
    font-size: 13px;
}


/* =========================================================
   MINUTES SECTION
========================================================= */

.minutes-section {
    margin-top: 25px;

    padding-top: 18px;

    border-top: 1px solid #dce4ef;
}


.minutes-grid {
    grid-template-columns: repeat(3, 1fr);
}


/* =========================================================
   SUBTLE CARD VARIATIONS
========================================================= */

.bundle-grid .bundle-card:nth-child(3n + 1) {
    background:
        linear-gradient(
            145deg,
            #ffffff 65%,
            #f1faf4 100%
        );
}


.bundle-grid .bundle-card:nth-child(3n + 2) {
    background:
        linear-gradient(
            145deg,
            #ffffff 65%,
            #f4f7ff 100%
        );
}


.bundle-grid .bundle-card:nth-child(3n) {
    background:
        linear-gradient(
            145deg,
            #ffffff 65%,
            #fffaf1 100%
        );
}


/* =========================================================
   FOCUS STATES
========================================================= */

.network:focus-visible,
.bundle-tab:focus-visible,
.buy-btn:focus-visible {
    outline: 3px solid rgba(39, 155, 72, 0.25);

    outline-offset: 2px;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

    .airswap-bundles {
        padding: 40px 25px 60px;
    }


    .bundles-header {
        flex-direction: column;

        gap: 25px;
    }


    .network-selector {
        width: 100%;

        min-width: 0;
    }


    .bundle-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .airswap-bundles {
        padding: 30px 16px 50px;
    }


    .bundles-title h1 {
        font-size: 34px;

        letter-spacing: -1px;
    }


    .bundles-title p {
        font-size: 15px;
    }


    .network-selector {
        padding: 15px;
    }


    .network-list {
        grid-template-columns: repeat(2, 1fr);

        gap: 8px;
    }


    .network {
        height: 54px;
    }


    .network-logo {
        font-size: 15px;
    }


    .bundle-tabs {
        width: 100%;
    }


    .bundle-tab {
        height: 50px;

        font-size: 14px;

        gap: 8px;
    }


    .bundle-tab i {
        font-size: 16px;
    }


    .bundle-grid {
        grid-template-columns: 1fr;

        gap: 13px;
    }


    .bundle-card {
        min-height: 195px;
    }


    .section-heading h2 {
        font-size: 19px;
    }


    .minutes-grid {
        grid-template-columns: 1fr;
    }

}


/* =========================================================
   SMALL PHONES
========================================================= */

@media (max-width: 420px) {

    .airswap-bundles {
        padding-left: 13px;
        padding-right: 13px;
    }


    .bundles-title h1 {
        font-size: 30px;
    }


    .bundles-title p {
        font-size: 14px;
    }


    .network-selector h3 {
        font-size: 15px;
    }


    .network {
        height: 50px;
    }


    .network-logo {
        font-size: 14px;
    }


    .bundle-card {
        padding: 18px 15px;
    }


    .bundle-icon {
        width: 52px;
        height: 52px;

        left: 15px;
        top: 18px;

        font-size: 22px;
    }


    .bundle-info {
        margin-left: 67px;
    }


    .bundle-info h3 {
        font-size: 18px;
    }


    .bundle-type {
        font-size: 13px;
    }


    .validity {
        font-size: 13px;
    }


    .bundle-price {
        font-size: 24px;
    }


    .buy-btn {
        height: 45px;

        font-size: 14px;
    }

}


/* =========================================================
   REDUCE DECORATION ON VERY SMALL SCREENS
========================================================= */

@media (max-width: 500px) {

    .airswap-bundles::before {
        width: 300px;
        height: 300px;

        top: -120px;
        right: -120px;
    }


    .airswap-bundles::after {
        width: 300px;
        height: 300px;

        bottom: -130px;
        left: -130px;
    }

}