/* =========================================================
   EXACTSUB PRICING PAGE
   Modern Fintech / Developer Pricing UI
   ========================================================= */

:root {
    --pricing-blue: #022A7B;
    --pricing-dark-blue: #011E59;
    --pricing-green: #29BA22;

    --pricing-bg: #f5f7fb;
    --pricing-card: #ffffff;

    --pricing-text: #14213d;
    --pricing-secondary: #64748b;
    --pricing-muted: #94a0b2;

    --pricing-border: #e5e9f0;
    --pricing-border-dark: #d7dde7;

    --pricing-shadow:
        0 4px 18px rgba(15, 23, 42, 0.045);

    --pricing-shadow-hover:
        0 10px 30px rgba(15, 23, 42, 0.07);

    --pricing-radius: 14px;
}


/* =========================================================
   PAGE
   ========================================================= */

.pricing-page {
    width: 100%;
    max-width: 100%;

    box-sizing: border-box;

    padding: 32px 38px 60px;

    background: var(--pricing-bg);

    color: var(--pricing-text);

    overflow-x: hidden;
}


/* =========================================================
   HEADER
   ========================================================= */

.pricing-header {
    width: 100%;
    max-width: 1200px;

    margin: 0 auto 22px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 25px;
}

.pricing-header-main {
    display: flex;
    align-items: flex-start;

    gap: 16px;

    min-width: 0;
}

.pricing-header-icon {
    width: 48px;
    height: 48px;

    flex: 0 0 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(2, 42, 123, 0.08);

    color: var(--pricing-blue);

    border-radius: 12px;

    font-size: 19px;
}

.pricing-eyebrow {
    display: block;

    margin-bottom: 5px;

    color: var(--pricing-blue);

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 1.2px;

    text-transform: uppercase;
}

.pricing-header h1 {
    margin: 0 0 7px;

    color: var(--pricing-text);

    font-size: 34px;

    line-height: 1.15;

    font-weight: 750;

    letter-spacing: -0.8px;
}

.pricing-header p {
    margin: 0;

    max-width: 720px;

    color: var(--pricing-secondary);

    font-size: 13px;

    line-height: 1.6;
}

.pricing-header-badge {
    flex: 0 0 auto;

    display: inline-flex;
    align-items: center;

    gap: 7px;

    padding: 8px 12px;

    border: 1px solid rgba(2, 42, 123, 0.13);

    border-radius: 20px;

    background: #ffffff;

    color: var(--pricing-blue);

    font-size: 11px;

    font-weight: 650;

    box-shadow: var(--pricing-shadow);
}


/* =========================================================
   CATEGORY NAVIGATION
   ========================================================= */

.pricing-navigation {
    width: 100%;
    max-width: 1200px;

    margin: 0 auto 20px;

    padding: 6px;

    display: flex;

    gap: 4px;

    overflow-x: auto;

    scrollbar-width: none;

    background: #ffffff;

    border: 1px solid var(--pricing-border);

    border-radius: 11px;

    box-shadow: var(--pricing-shadow);
}

.pricing-navigation::-webkit-scrollbar {
    display: none;
}

.pricing-navigation a {
    flex: 0 0 auto;

    display: inline-flex;
    align-items: center;

    gap: 7px;

    padding: 9px 13px;

    border-radius: 7px;

    color: var(--pricing-secondary);

    font-size: 11px;

    font-weight: 650;

    text-decoration: none;

    white-space: nowrap;

    transition:
        background 0.2s ease,
        color 0.2s ease;
}

.pricing-navigation a:hover {
    background: rgba(2, 42, 123, 0.07);

    color: var(--pricing-blue);

    text-decoration: none;
}

.pricing-navigation a:first-child {
    background: var(--pricing-blue);

    color: #ffffff;
}

.pricing-navigation a:first-child:hover {
    background: var(--pricing-dark-blue);

    color: #ffffff;
}


/* =========================================================
   INFORMATION BANNER
   ========================================================= */

.pricing-info {
    width: 100%;
    max-width: 1200px;

    box-sizing: border-box;

    margin: 0 auto 28px;

    padding: 14px 16px;

    display: flex;
    align-items: flex-start;

    gap: 12px;

    background: #ffffff;

    border: 1px solid var(--pricing-border);

    border-left: 3px solid var(--pricing-blue);

    border-radius: 10px;

    box-shadow: var(--pricing-shadow);
}

.pricing-info-icon {
    width: 30px;
    height: 30px;

    flex: 0 0 30px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(2, 42, 123, 0.07);

    color: var(--pricing-blue);

    border-radius: 7px;

    font-size: 12px;
}

.pricing-info strong {
    display: block;

    margin-bottom: 2px;

    color: var(--pricing-text);

    font-size: 12px;

    font-weight: 700;
}

.pricing-info p {
    margin: 0;

    color: var(--pricing-secondary);

    font-size: 11px;

    line-height: 1.5;
}


/* =========================================================
   SERVICE SECTION
   ========================================================= */

.pricing-section {
    width: 100%;
    max-width: 1200px;

    margin: 0 auto 30px;

    scroll-margin-top: 25px;
}

.section-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 15px;

    margin-bottom: 11px;
}

.section-title {
    display: flex;
    align-items: center;

    gap: 10px;
}

.section-icon {
    width: 35px;
    height: 35px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 9px;

    font-size: 13px;
}

.airtime-icon {
    color: #022A7B;
    background: rgba(2, 42, 123, 0.08);
}

.electricity-icon {
    color: #b47700;
    background: rgba(220, 160, 0, 0.11);
}

.exam-icon {
    color: #6b3fb8;
    background: rgba(107, 63, 184, 0.09);
}

.cable-icon {
    color: #15745a;
    background: rgba(21, 116, 90, 0.09);
}

.section-title span {
    display: block;

    margin-bottom: 1px;

    color: var(--pricing-muted);

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 1px;

    text-transform: uppercase;
}

.section-title h2 {
    margin: 0;

    color: var(--pricing-text);

    font-size: 19px;

    line-height: 1.2;

    font-weight: 750;
}

.section-count {
    padding: 6px 9px;

    border: 1px solid var(--pricing-border);

    border-radius: 6px;

    background: #ffffff;

    color: var(--pricing-muted);

    font-size: 9px;

    font-weight: 750;

    letter-spacing: 0.6px;

    white-space: nowrap;
}


/* =========================================================
   PRICING CARD
   ========================================================= */

.pricing-card {
    width: 100%;

    box-sizing: border-box;

    background: var(--pricing-card);

    border: 1px solid var(--pricing-border);

    border-radius: var(--pricing-radius);

    box-shadow: var(--pricing-shadow);

    overflow: hidden;

    transition:
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

.pricing-card:hover {
    box-shadow: var(--pricing-shadow-hover);

    transform: translateY(-1px);
}


/* =========================================================
   TABLE WRAPPER
   ========================================================= */

.pricing-table-wrapper {
    width: 100%;

    overflow-x: auto;

    -webkit-overflow-scrolling: touch;
}


/* =========================================================
   TABLE
   ========================================================= */

.pricing-table {
    width: 100%;

    min-width: 560px;

    border-collapse: collapse;

    margin: 0;

    background: #ffffff;
}

.pricing-table thead {
    background: #f8fafc;
}

.pricing-table th {
    padding: 12px 16px;

    border-bottom: 1px solid var(--pricing-border);

    color: var(--pricing-muted);

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 0.8px;

    text-align: left;

    text-transform: uppercase;

    white-space: nowrap;
}

.pricing-table td {
    padding: 13px 16px;

    border-bottom: 1px solid #edf0f4;

    color: var(--pricing-secondary);

    font-size: 12px;

    vertical-align: middle;
}

.pricing-table tbody tr:last-child td {
    border-bottom: none;
}

.pricing-table tbody tr {
    transition: background 0.15s ease;
}

.pricing-table tbody tr:hover {
    background: #fafbfd;
}


/* =========================================================
   PRICE COLUMN
   ========================================================= */

.price-column {
    text-align: right !important;
}

.price-cell {
    text-align: right;

    color: var(--pricing-blue) !important;

    white-space: nowrap;
}

.price-cell strong {
    color: var(--pricing-blue);

    font-size: 13px;

    font-weight: 750;
}


/* =========================================================
   SERVICE NAME
   ========================================================= */

.service-name {
    display: flex;
    align-items: center;

    gap: 8px;

    color: var(--pricing-text);

    font-weight: 600;
}

.network-dot {
    width: 7px;
    height: 7px;

    flex: 0 0 7px;

    border-radius: 50%;

    background: var(--pricing-blue);
}

.airtime-dot {
    background: var(--pricing-blue);
}

.electricity-dot {
    background: #d99c00;
}

.exam-dot {
    background: #7650ba;
}

.dstv-dot {
    background: #1b4a96;
}

.gotv-dot {
    background: #ec7f00;
}

.startimes-dot {
    background: #e02626;
}


/* =========================================================
   PLAN / SERVICE ID
   Important developer-facing information
   ========================================================= */

.pricing-table code {
    display: inline-flex;
    align-items: center;

    min-height: 28px;

    box-sizing: border-box;

    padding: 4px 9px;

    border: 1px solid #cbd5e1;

    border-radius: 6px;

    background: #f3f6fa;

    color: #243b64;

    font-family:
        "SFMono-Regular",
        Consolas,
        "Liberation Mono",
        monospace;

    font-size: 12px;

    font-weight: 600;

    line-height: 1.2;

    letter-spacing: 0.1px;

    white-space: nowrap;
}

.pricing-table code:hover {
    background: #edf2f8;

    border-color: #b9c5d5;

    color: var(--pricing-blue);
}


/* =========================================================
   DATA SECTION
   ========================================================= */

.data-section {
    width: 100%;
    max-width: 1200px;

    margin: 45px auto 30px;

    scroll-margin-top: 25px;
}

.data-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    margin-bottom: 18px;

    padding-bottom: 15px;

    border-bottom: 1px solid var(--pricing-border);
}

.data-section-header h2 {
    margin: 0 0 5px;

    color: var(--pricing-text);

    font-size: 25px;

    line-height: 1.2;

    font-weight: 750;
}

.data-section-header p {
    margin: 0;

    color: var(--pricing-secondary);

    font-size: 12px;

    line-height: 1.5;
}

.data-header-icon {
    width: 43px;
    height: 43px;

    flex: 0 0 43px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 11px;

    background: rgba(41, 186, 34, 0.09);

    color: var(--pricing-green);

    font-size: 17px;
}


/* =========================================================
   DATA PRICING CARD
   ========================================================= */

.data-pricing-card {
    width: 100%;

    margin-bottom: 17px;

    background: #ffffff;

    border: 1px solid var(--pricing-border);

    border-radius: var(--pricing-radius);

    box-shadow: var(--pricing-shadow);

    overflow: hidden;

    transition:
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

.data-pricing-card:hover {
    box-shadow: var(--pricing-shadow-hover);

    transform: translateY(-1px);
}


/* =========================================================
   DATA CARD HEADER
   ========================================================= */

.data-card-header {
    min-height: 66px;

    box-sizing: border-box;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 15px;

    padding: 13px 17px;

    border-bottom: 1px solid var(--pricing-border);

    background: #ffffff;
}

.data-card-title {
    display: flex;
    align-items: center;

    gap: 11px;

    min-width: 0;
}

.network-logo {
    width: 38px;
    height: 38px;

    flex: 0 0 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 9px;

    font-size: 10px;

    font-weight: 850;

    letter-spacing: -0.2px;
}

.mtn-logo {
    background: #fff4b8;

    color: #6e5c00;
}

.glo-logo {
    background: #e3f7e2;

    color: #198719;
}

.airtel-logo {
    background: #ffe4e6;

    color: #c6283b;
}

.mobile-logo {
    background: #edf0f4;

    color: #4e5b6d;
}

.data-card-title > div:last-child {
    min-width: 0;
}

.data-card-title h3 {
    margin: 0 0 2px;

    color: var(--pricing-text);

    font-size: 14px;

    font-weight: 750;

    line-height: 1.25;
}

.data-card-title span {
    color: var(--pricing-muted);

    font-size: 9px;

    font-weight: 750;

    letter-spacing: 0.8px;

    text-transform: uppercase;
}

.data-badge {
    flex: 0 0 auto;

    padding: 5px 8px;

    border: 1px solid var(--pricing-border);

    border-radius: 5px;

    background: #f8fafc;

    color: var(--pricing-muted);

    font-size: 8px;

    font-weight: 800;

    letter-spacing: 0.6px;

    text-transform: uppercase;
}


/* =========================================================
   PLAN VOLUME
   ========================================================= */

.plan-volume {
    color: var(--pricing-text) !important;

    font-weight: 700;

    white-space: nowrap;
}


/* =========================================================
   FOOTER NOTE
   ========================================================= */

.pricing-footer-note {
    width: 100%;
    max-width: 1200px;

    box-sizing: border-box;

    margin: 25px auto 0;

    padding: 16px 18px;

    display: flex;
    align-items: flex-start;

    gap: 12px;

    background: #ffffff;

    border: 1px solid var(--pricing-border);

    border-radius: 11px;

    box-shadow: var(--pricing-shadow);
}

.pricing-footer-icon {
    width: 32px;
    height: 32px;

    flex: 0 0 32px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 8px;

    background: rgba(41, 186, 34, 0.09);

    color: var(--pricing-green);

    font-size: 12px;
}

.pricing-footer-note strong {
    display: block;

    margin-bottom: 3px;

    color: var(--pricing-text);

    font-size: 12px;

    font-weight: 700;
}

.pricing-footer-note p {
    margin: 0;

    color: var(--pricing-secondary);

    font-size: 11px;

    line-height: 1.55;
}


/* =========================================================
   PREVENT OLD BOOTSTRAP/THEME TABLE STYLING
   ========================================================= */

.pricing-page table {
    border-spacing: 0;

    background: #ffffff;
}

.pricing-page table th,
.pricing-page table td {
    border-top: none;
}

.pricing-page .table {
    margin-bottom: 0;
}

.pricing-page .table-striped tbody tr:nth-of-type(odd) {
    background: transparent;
}

.pricing-page .table-striped tbody tr:nth-of-type(even) {
    background: transparent;
}


/* =========================================================
   MOBILE / TABLET
   ========================================================= */

@media (max-width: 900px) {

    .pricing-page {
        padding: 28px 24px 50px;
    }

    .pricing-header {
        align-items: flex-start;
    }

    .pricing-header-badge {
        display: none;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .pricing-page {
        padding: 20px 14px 40px;
    }


    /* HEADER */

    .pricing-header {
        margin-bottom: 17px;
    }

    .pricing-header-main {
        gap: 11px;
    }

    .pricing-header-icon {
        width: 40px;
        height: 40px;

        flex: 0 0 40px;

        font-size: 15px;
    }

    .pricing-header h1 {
        font-size: 27px;

        letter-spacing: -0.6px;
    }

    .pricing-header p {
        font-size: 11px;
    }


    /* NAVIGATION */

    .pricing-navigation {
        margin-bottom: 16px;
    }

    .pricing-navigation a {
        padding: 8px 10px;

        font-size: 10px;
    }


    /* INFO */

    .pricing-info {
        padding: 12px;

        margin-bottom: 23px;
    }


    /* SERVICE SECTIONS */

    .pricing-section {
        margin-bottom: 25px;
    }

    .section-title h2 {
        font-size: 17px;
    }

    .section-count {
        display: none;
    }


    /* TABLE */

    .pricing-table {
        min-width: 560px;
    }

    .pricing-table th {
        padding: 10px 13px;

        font-size: 8px;
    }

    .pricing-table td {
        padding: 11px 13px;

        font-size: 11px;
    }


    /* PLAN ID */

    .pricing-table code {
        min-height: 27px;

        padding: 4px 8px;

        font-size: 11px;

        font-weight: 600;
    }


    /* PRICE */

    .price-cell strong {
        font-size: 12px;
    }


    /* DATA */

    .data-section {
        margin-top: 35px;
    }

    .data-section-header h2 {
        font-size: 22px;
    }

    .data-section-header p {
        font-size: 11px;
    }

    .data-card-header {
        padding: 11px 13px;
    }

    .network-logo {
        width: 34px;
        height: 34px;

        flex-basis: 34px;
    }

    .data-card-title h3 {
        font-size: 13px;
    }

    .data-badge {
        font-size: 7px;
    }


    /* FOOTER */

    .pricing-footer-note {
        padding: 13px;
    }

}


/* =========================================================
   VERY SMALL DEVICES
   ========================================================= */

@media (max-width: 380px) {

    .pricing-page {
        padding-left: 10px;
        padding-right: 10px;
    }

    .pricing-header h1 {
        font-size: 24px;
    }

    .pricing-table {
        min-width: 520px;
    }

    .pricing-table code {
        font-size: 11px;

        min-height: 26px;

        padding: 4px 7px;
    }

}