﻿/* =====================================================
   ACTIVE PLAN - PREMIUM VERSION
===================================================== */

:root {
    --plan-green: #086c46;
    --plan-green-dark: #043f2b;
    --plan-green-soft: #eaf6ef;
    --plan-gold: #d8a42d;
    --plan-gold-light: #f2d16b;
    --plan-gold-soft: #fff8df;
    --plan-text: #17372b;
    --plan-muted: #748078;
    --plan-white: #ffffff;
}


/* =====================================================
   PAGE BACKGROUND
===================================================== */

.active-plan-page {
    position: relative;
    overflow: hidden;
    padding: 54px 24px 60px;
    background: radial-gradient( circle at 8% 12%, rgba(185, 232, 198, .60), transparent 27% ), radial-gradient( circle at 88% 15%, rgba(248, 215, 113, .32), transparent 26% ), linear-gradient( 135deg, #f8fff9 0%, #ffffff 45%, #fffaf0 100% );
}


    /* Decorative soft shapes */

    .active-plan-page::before,
    .active-plan-page::after {
        content: "";
        position: absolute;
        border-radius: 50%;
        pointer-events: none;
    }


    .active-plan-page::before {
        width: 420px;
        height: 420px;
        left: -220px;
        top: 180px;
        border: 1px solid rgba(8,108,70,.08);
        box-shadow: 0 0 0 55px rgba(8,108,70,.025), 0 0 0 110px rgba(8,108,70,.015);
    }


    .active-plan-page::after {
        width: 400px;
        height: 400px;
        right: -220px;
        bottom: 40px;
        background: radial-gradient( circle, rgba(216,164,45,.08), transparent 70% );
    }


.active-plan-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1580px;
    margin: auto;
}


/* =====================================================
   PREMIUM HEADER
===================================================== */

.active-plan-header {
    position: relative;
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr) 220px;
    gap: 30px;
    align-items: center;
    margin-bottom: 28px;
    padding: 24px 28px;
    border-radius: 24px;
    background: linear-gradient( 135deg, rgba(255,255,255,.90), rgba(255,255,255,.68) );
    border: 1px solid rgba(8,108,70,.10);
    backdrop-filter: blur(18px);
    box-shadow: 0 14px 38px rgba(24,75,54,.08);
}


/* =====================================================
   BRAND
===================================================== */

.plan-brand {
    display: flex;
    align-items: center;
    gap: 13px;
}


.plan-logo-mark {
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: linear-gradient( 135deg, #edf8f1, #d9f0df );
    color: var(--plan-green);
    font-size: 27px;
    box-shadow: inset 0 0 0 1px rgba(8,108,70,.07);
}


.plan-brand h3 {
    margin: 0;
    color: var(--plan-green);
    font-size: 28px;
    font-weight: 850;
    line-height: 1;
}


.plan-brand span {
    display: block;
    margin-top: 5px;
    color: #65776e;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 3px;
}


/* =====================================================
   TITLE
===================================================== */

.plan-title-wrap {
    text-align: center;
}


.plan-kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 4px;
    color: var(--plan-green);
    font-size: 38px;
    font-weight: 900;
    letter-spacing: .5px;
    line-height: 1;
}


    .plan-kicker::before,
    .plan-kicker::after {
        content: "";
        width: 46px;
        height: 2px;
        border-radius: 20px;
        background: linear-gradient( 90deg, transparent, var(--plan-gold) );
    }


    .plan-kicker::after {
        background: linear-gradient( 90deg, var(--plan-gold), transparent );
    }


.plan-title-wrap h1 {
    margin: 4px 0 12px;
    color: #16372a;
    font-size: 27px;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: .8px;
}


    .plan-title-wrap h1 span {
        color: var(--plan-gold);
    }


.plan-tagline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 26px;
    border-radius: 30px;
    color: #fff;
    background: linear-gradient( 135deg, #08774d, #045838 );
    border: 1px solid rgba(231,190,78,.9);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    box-shadow: 0 9px 22px rgba(8,108,70,.20), inset 0 1px 0 rgba(255,255,255,.16);
}


/* =====================================================
   HEADER TROPHY
===================================================== */

.plan-header-trophy {
    display: flex;
    justify-content: flex-end;
}


.plan-header-trophy-box {
    width: 105px;
    height: 105px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: radial-gradient( circle at 35% 30%, #fff6b8, #e3b535 55%, #bd8011 );
    color: #fff;
    font-size: 50px;
    box-shadow: 0 12px 28px rgba(210,155,26,.28);
}


/* =====================================================
   MAIN GRID
===================================================== */

.active-plan-main {
    display: grid;
    grid-template-columns: 190px minmax(0,1fr) 230px;
    gap: 20px;
    align-items: stretch;
}


/* =====================================================
   LEFT BENEFITS
===================================================== */

.plan-benefits {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    padding: 20px 15px;
    border-radius: 24px;
    background: linear-gradient( 180deg, #0b704a 0%, #064b34 60%, #033923 100% );
    border: 1px solid rgba(255,255,255,.08);
    box-shadow: 0 18px 45px rgba(5,75,47,.18);
}


    .plan-benefits::before {
        content: "";
        position: absolute;
        width: 180px;
        height: 180px;
        top: -100px;
        right: -90px;
        border-radius: 50%;
        background: rgba(255,255,255,.05);
    }


.benefit-item {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 17px 9px;
    border-bottom: 1px solid rgba(255,255,255,.10);
}


    .benefit-item:last-child {
        border-bottom: 0;
    }


.benefit-icon {
    width: 54px;
    height: 54px;
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #f0cc67;
    border: 1px solid rgba(239,201,93,.70);
    background: rgba(255,255,255,.055);
    font-size: 22px;
    box-shadow: inset 0 0 18px rgba(255,255,255,.04);
}


.benefit-item h3 {
    margin: 0 0 4px;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .5px;
}


.benefit-item p {
    margin: 0;
    color: rgba(255,255,255,.70);
    font-size: 10px;
    line-height: 1.45;
}


/* =====================================================
   TABLE WRAP
===================================================== */

.reward-table-wrap {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    background: rgba(255,255,255,.86);
    border: 1px solid rgba(218,169,44,.55);
    backdrop-filter: blur(14px);
    box-shadow: 0 18px 48px rgba(25,75,54,.11);
}


    .reward-table-wrap::before {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        top: 0;
        height: 4px;
        background: linear-gradient( 90deg, var(--plan-green), var(--plan-gold), var(--plan-green) );
    }


.reward-table-scroll {
    overflow-x: auto;
}


/* =====================================================
   TABLE
===================================================== */

.reward-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    min-width: 780px;
}


    .reward-table thead th {
        position: sticky;
        top: 0;
        z-index: 3;
        padding: 15px 12px;
        text-align: center;
        background: linear-gradient( 135deg, #0a6f49, #045739 );
        color: #fff;
        font-size: 12px;
        font-weight: 850;
        text-transform: uppercase;
        letter-spacing: .5px;
        border-right: 1px solid rgba(255,255,255,.12);
    }


        .reward-table thead th:nth-child(3),
        .reward-table thead th:nth-child(4) {
            color: #243126;
            background: linear-gradient( 135deg, #e6ba3d, #f3d36a );
        }


    .reward-table tbody tr {
        transition: background-color .2s ease, box-shadow .2s ease;
    }

        /* Hover without flickering */
        .reward-table tbody tr:hover {
            background: #eaf7ee;
            transform: none;
        }

            /* Highlight individual cells */
            .reward-table tbody tr:hover td {
                background-color: rgba(8, 120, 73, 0.035);
            }

                /* Rank column */
                .reward-table tbody tr:hover td:nth-child(2) {
                    color: #087849;
                }

                /* Reward amounts */
                .reward-table tbody tr:hover td:nth-child(3),
                .reward-table tbody tr:hover td:nth-child(4) {
                    color: #087849;
                    font-weight: 900;
                }


    .reward-table td {
        padding: 10px 13px;
        color: var(--plan-text);
        font-size: 12px;
        border-bottom: 1px solid rgba(14,70,46,.06);
    }


        .reward-table td:first-child {
            width: 72px;
            text-align: center;
            color: #fff;
            font-weight: 850;
            background: linear-gradient( 135deg, #0b7c50, #06613f );
        }


        .reward-table td:nth-child(2) {
            font-size: 13px;
            font-weight: 780;
        }


        .reward-table td:nth-child(3),
        .reward-table td:nth-child(4) {
            text-align: center;
            color: #17372b;
            font-size: 13px;
            font-weight: 850;
        }


    /* =====================================================
   HIGHLIGHT MILESTONES
===================================================== */

    .reward-table tbody tr:nth-child(10),
    .reward-table tbody tr:nth-child(13),
    .reward-table tbody tr:nth-child(18) {
        background: linear-gradient( 90deg, rgba(255,244,201,.95), rgba(255,255,255,.95) );
    }


        .reward-table tbody tr:nth-child(18) td {
            font-weight: 900;
        }


            .reward-table tbody tr:nth-child(18) td:first-child {
                background: linear-gradient( 135deg, #c9941d, #a56f0b );
            }


/* =====================================================
   RIGHT PANEL
===================================================== */

.plan-visual {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 28px 18px;
    border-radius: 24px;
    background: radial-gradient( circle at 50% 5%, rgba(255,232,150,.90), transparent 35% ), linear-gradient( 180deg, #fff9df, #edf7ef );
    border: 1px solid rgba(210,167,58,.32);
    box-shadow: 0 18px 42px rgba(25,75,54,.09);
}


    .plan-visual::before {
        content: "";
        position: absolute;
        width: 190px;
        height: 190px;
        top: -90px;
        right: -80px;
        border-radius: 50%;
        background: rgba(216,164,45,.08);
    }


/* Trophy */

.trophy-wrap {
    position: relative;
    z-index: 2;
    width: 112px;
    height: 112px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: radial-gradient( circle at 35% 30%, #fff3ae, #e0ac2b 55%, #b97d11 );
    color: #fff;
    font-size: 52px;
    border: 4px solid rgba(255,255,255,.55);
    box-shadow: 0 18px 35px rgba(201,145,25,.25);
}


/* arrow */

.growth-arrow {
    position: relative;
    z-index: 2;
    margin-top: 22px;
    color: #087849;
    font-size: 74px;
    transform: rotate(-12deg);
    filter: drop-shadow( 0 6px 8px rgba(8,108,70,.12) );
}


.plan-visual-text {
    position: relative;
    z-index: 2;
    margin-top: 10px;
    text-align: center;
}


    .plan-visual-text span {
        display: block;
        margin-bottom: 6px;
        color: #a58229;
        font-size: 9px;
        font-weight: 850;
        letter-spacing: 1.5px;
    }


    .plan-visual-text strong {
        color: #16382b;
        font-size: 19px;
        line-height: 1.25;
    }


/* =====================================================
   FOOTER STRIP
===================================================== */

.active-plan-footer {
    margin-top: 20px;
    min-height: 62px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 12px 20px;
    overflow: hidden;
    border-radius: 20px;
    background: linear-gradient( 135deg, #086442, #03442d );
    color: #fff;
    border: 1px solid rgba(255,255,255,.08);
    box-shadow: 0 14px 32px rgba(6,80,51,.16);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 18px;
    font-style: italic;
}


    .active-plan-footer i {
        color: #e4bd4d;
        font-size: 14px;
    }


/* =====================================================
   RESPONSIVE
===================================================== */

@media(max-width:1200px) {

    .active-plan-header {
        grid-template-columns: 210px 1fr;
    }

    .plan-header-trophy {
        display: none;
    }

    .active-plan-main {
        grid-template-columns: 160px minmax(0,1fr);
    }

    .plan-visual {
        grid-column: 1 / -1;
        min-height: 190px;
        flex-direction: row;
        gap: 35px;
    }

    .growth-arrow {
        margin-top: 0;
    }
}


@media(max-width:800px) {

    .active-plan-page {
        padding: 40px 15px 50px;
    }

    .active-plan-header {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .plan-brand {
        justify-content: center;
    }

    .plan-kicker {
        font-size: 30px;
    }

    .active-plan-main {
        grid-template-columns: 1fr;
    }

    .plan-benefits {
        display: grid;
        grid-template-columns: repeat(4,1fr);
        gap: 5px;
    }

    .benefit-item {
        border-bottom: 0;
    }

    .plan-visual {
        grid-column: auto;
    }
}


@media(max-width:600px) {

    .active-plan-header {
        padding: 22px 16px;
    }

    .plan-kicker {
        font-size: 26px;
    }

    .plan-title-wrap h1 {
        font-size: 21px;
    }

    .plan-tagline {
        min-height: 38px;
        padding: 0 15px;
        font-size: 9px;
    }

    .plan-benefits {
        grid-template-columns: repeat(2,1fr);
    }

    .active-plan-footer {
        flex-wrap: wrap;
        font-size: 14px;
    }
}
