﻿*,
*::before,
*::after {
    box-sizing: border-box;
}

html, body {
    width: 100%;
    overflow-x: hidden;
}

/* ================= PRICING HERO ================= */
.pricing-hero {
    padding: 140px 20px 100px;
    text-align: center;
    background-image: url("../images/office_pricing_hero.png");
    background-repeat: no-repeat, no-repeat;
    background-position: left top, right center;
    background-size: cover, 520px auto;
    height: 590px;
}

    .pricing-hero h1 {
        margin-top: 70px;
        font-size: 42px;
        font-weight: 600;
    }

    .pricing-hero p {
        font-size: 18px;
        margin-top: 12px;
        color: #2e2626;
    }

/* ================= PRICING SECTION ================= */
.pricing-section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: auto;
    text-align: center;
}
/* ================= PRICING TABS (MICROSOFT STYLE) ================= */
.pricing-tabs {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
}

    .pricing-tabs .tab {
        position: relative;
        padding: 8px 2px;
        font-size: 16px;
        font-weight: 500;
        color: #333;
        background: none;
        border: none;
        cursor: pointer;
    }

        /* Underline (hidden by default) */
        .pricing-tabs .tab::after {
            content: "";
            position: absolute;
            left: 0;
            bottom: -6px;
            width: 100%;
            height: 2px;
            background-color: #2563eb;
            transform: scaleX(0);
            transition: transform 0.3s ease;
        }

        /* Active tab */
        .pricing-tabs .tab.active {
            color: #2563eb;
        }

            .pricing-tabs .tab.active::after {
                transform: scaleX(1);
            }

        /* Hover effect */
        .pricing-tabs .tab:hover {
            color: #2563eb;
        }

/* ================= BILLING TABS (PREMIUM STYLE) ================= */
.billing-tabs {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 50px;
}

.billing-tab {
    position: relative;
    background: none;
    border: none;
    font-size: 15px;
    font-weight: 500;
    color: #444;
    cursor: pointer;
    padding: 6px 2px;
}

    /* underline */
    .billing-tab::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: -6px;
        width: 100%;
        height: 2px;
        background: #2563eb;
        transform: scaleX(0);
        transition: transform 0.3s ease;
    }

    /* active */
    .billing-tab.active {
        color: #2563eb;
    }

    /*        .billing-tab.active::after {
            transform: scaleX(1);
        }*/

    /* hover */
    .billing-tab:hover {
        color: #2563eb;
    }

/* savings badge */
.save-badge {
    background: #e0f2fe;
    color: #2563eb;
    font-size: 11px;
    padding: 3px 6px;
    border-radius: 6px;
    margin-left: 6px;
    font-weight: 500;
}


/* ================= PRICING CARDS ================= */
.pricing-grid {
    display: none;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

    .pricing-grid.active {
        display: grid;
    }

.pricing-card {
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 30px;
    background: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

    .pricing-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    }


.badge {
    position: absolute;
    top: 24px;
    right: -36px;
    background: #2563eb;
    color: #fff;
    font-size: 11px;
    font-weight: 500;
    padding: 6px 40px;
    transform: rotate(45deg);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    border-radius: 0;
    pointer-events: none;
}

.price {
    font-size: 36px;
    font-weight: 600;
    margin: 20px 0 5px;
}

.per {
    font-size: 14px;
    color: #666;
}

.pricing-card ul {
    text-align: left;
    margin: 25px 0;
}

    .pricing-card ul li {
        margin-bottom: 10px;
        font-size: 14px;
    }

.pricing-card .btn {
    margin-top: auto;
}

.pricing-tabs .tab {
    position: relative;
    padding: 8px 2px;
    font-size: 16px;
    font-weight: 500;
    color: #333;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.25s ease;
}

/* underline */
/*.pricing-tabs .tab::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: -6px;
        width: 100%;
        height: 2px;
        background-color: #2563eb;
        transform: scaleX(0);
        transition: transform 0.3s ease;
    }*/

hover
.pricing-tabs .tab:hover {
    color: #2563eb;
}

/*        .pricing-tabs .tab:hover::after {
            transform: scaleX(0.6);
        }*/

/* active */
.pricing-tabs .tab.active {
    color: #2563eb;
}

    .pricing-tabs .tab.active::after {
        transform: scaleX(1);
    }
/* ================= RENEW INLINE CTA ================= */
.renew-section {
    margin-top: -60px;
    padding: 40px 20px;
    text-align: center;
}

.renew-text {
    font-size: 15px;
    color: #222;
    font-weight: bolder;
}

.renew-link {
    margin-left: 6px;
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color 0.2s ease;
}

    .renew-link span {
        font-size: 18px;
        transition: transform 0.2s ease;
    }

    /* Hover effect */
    .renew-link:hover {
        color: #1e40af;
    }

        .renew-link:hover span {
            transform: translateX(3px);
        }

/* ================= BUTTONS ================= */
.btn {
    padding: 12px 22px;
    border-radius: 10px;
    text-decoration: none;
    display: inline-block;
}

    .btn.primary {
        background: #2563eb;
        color: #fff;
    }

    .btn.secondary {
        border: 1px solid #2563eb;
        color: #2563eb;
    }

