/*==========================================================
    PRICING SECTION
    PART 1
==========================================================*/

.pricing-section{

    position:relative;

    padding:140px 0;

    background:#ffffff;

    overflow:hidden;

}

.pricing-section::before{

    content:"";

    position:absolute;

    width:650px;

    height:650px;

    top:-250px;

    right:-180px;

    border-radius:50%;

    background:radial-gradient(circle,
    rgba(255,59,59,.08),
    transparent 72%);

}

.pricing-section::after{

    content:"";

    position:absolute;

    width:500px;

    height:500px;

    left:-180px;

    bottom:-220px;

    border-radius:50%;

    background:radial-gradient(circle,
    rgba(255,59,59,.05),
    transparent 72%);

}

.pricing-section .container{

    position:relative;

    z-index:2;

}

/*==================================
    HEADER
==================================*/

.pricing-section .section-header{

    max-width:760px;

    margin:0 auto 90px;

    text-align:center;

}

.pricing-section .section-tag{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    padding:12px 22px;

    border-radius:999px;

    background:rgba(255,59,59,.08);

    border:1px solid rgba(255,59,59,.15);

    color:#E53935;

    font-family:var(--font-mono);

    font-size:.8rem;

    font-weight:700;

    letter-spacing:.14em;

    text-transform:uppercase;

}

.pricing-section h2{

    margin:28px 0 24px;

    font-family:var(--font-display);

    font-size:4rem;

    font-weight:400;

    line-height:1.08;

    color:var(--ink);

}

.pricing-section .section-header p{

    max-width:650px;

    margin:auto;

    font-family:var(--font-body);

    font-size:1.08rem;

    line-height:1.9;

    color:var(--ink-soft);

}

/*==================================
    GRID
==================================*/

.pricing-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:34px;

    align-items:stretch;

}

/*==================================
    CARD
==================================*/

.pricing-card{

    position:relative;

    display:flex;

    flex-direction:column;

    justify-content:space-between;

    background:#ffffff;

    border:1px solid rgba(26,21,18,.08);

    border-radius:30px;

    padding:42px;

    overflow:hidden;

    transition:all .35s ease;

    box-shadow:

        0 18px 40px rgba(0,0,0,.05);

}

.pricing-card::before{

    content:"";

    position:absolute;

    inset:0;

    background:linear-gradient(
        135deg,
        rgba(255,255,255,.45),
        transparent 55%
    );

    pointer-events:none;

}

.pricing-card:hover{

    transform:translateY(-12px);

    border-color:rgba(255,59,59,.18);

    box-shadow:

        0 35px 70px rgba(255,59,59,.12);

}

/*==================================
    TOP
==================================*/

.pricing-top{

    margin-bottom:36px;

}

.plan-name{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    padding:8px 16px;

    border-radius:999px;

    background:rgba(255,59,59,.08);

    color:#E53935;

    font-family:var(--font-body);

    font-size:.82rem;

    font-weight:700;

    letter-spacing:.08em;

    text-transform:uppercase;

}

.price{

    display:flex;

    align-items:flex-end;

    gap:8px;

    margin:28px 0 12px;

}

.price-value{

    font-family:var(--font-display);

    font-size:4rem;

    line-height:1;

    color:var(--ink);

}

.price-duration{

    margin-bottom:10px;

    font-family:var(--font-body);

    font-size:1rem;

    color:var(--ink-soft);

}

.plan-description{

    font-family:var(--font-body);

    font-size:1rem;

    line-height:1.8;

    color:var(--ink-soft);

}

/*==========================================================
    PRICING SECTION
    PART 2
    FEATURES + FOOTER
==========================================================*/

/*==================================
    FEATURE LIST
==================================*/

.feature-list{

    list-style:none;

    margin:0;

    padding:0;

    display:flex;

    flex-direction:column;

    gap:0;

    flex:1;

}

.feature-list li{

    display:flex;

    align-items:center;

    gap:16px;

    padding:18px 0;

    border-bottom:1px solid rgba(26,21,18,.08);

    transition:.3s ease;

}

.feature-list li:last-child{

    border-bottom:none;

}

.feature-list li:hover{

    transform:translateX(6px);

}

.feature-list li::before{

    content:"✓";

    width:36px;

    height:36px;

    flex-shrink:0;

    display:flex;

    align-items:center;

    justify-content:center;

    border-radius:12px;

    background:rgba(255,59,59,.08);

    color:#FF3B3B;

    font-family:var(--font-body);

    font-size:.95rem;

    font-weight:700;

    transition:.35s ease;

}

.feature-list li:hover::before{

    transform:scale(1.08);

    background:#FF3B3B;

    color:#ffffff;

}

.feature-list li span{

    font-family:var(--font-body);

    font-size:1rem;

    font-weight:500;

    color:var(--ink);

    line-height:1.6;

}

/*==================================
    FOOTER
==================================*/

.pricing-footer{

    margin-top:38px;

}

.pricing-footer .btn{

    width:100%;

    justify-content:center;

    padding:16px 24px;

    border-radius:14px;

    font-size:.95rem;

    font-weight:600;

}

/*==================================
    CARD HOVER
==================================*/

.pricing-card:hover .price-value{

    color:#FF3B3B;

}

.pricing-card:hover .plan-name{

    background:#FF3B3B;

    color:#ffffff;

}

.pricing-card:hover .pricing-footer .btn-outline{

    background:#FF3B3B;

    color:#ffffff;

    border-color:#FF3B3B;

}

/*==================================
    DIVIDER
==================================*/

.pricing-card::after{

    content:"";

    position:absolute;

    left:42px;

    right:42px;

    bottom:88px;

    height:1px;

    background:linear-gradient(
        90deg,
        transparent,
        rgba(26,21,18,.08),
        transparent
    );

    opacity:.6;

}

/*==================================
    SUBTLE GLOW
==================================*/

.pricing-card{

    isolation:isolate;

}

.pricing-card .price{

    position:relative;

}

.pricing-card .price::before{

    content:"";

    position:absolute;

    width:120px;

    height:120px;

    left:-20px;

    top:-20px;

    border-radius:50%;

    background:radial-gradient(
        circle,
        rgba(255,59,59,.08),
        transparent 70%
    );

    z-index:-1;

    opacity:0;

    transition:.35s;

}

.pricing-card:hover .price::before{

    opacity:1;

}

/*==================================
    BUTTON SPACING
==================================*/

.pricing-footer{

    display:flex;

    align-items:flex-end;

}

/*==========================================================
    PRICING SECTION
    PART 3
    FEATURED CARD + RESPONSIVE
==========================================================*/

/*==================================
    FEATURED CARD
==================================*/

.featured-price{

    position:relative;

    background:linear-gradient(
        135deg,
        #FF3B3B 0%,
        #FF5656 100%
    );

    border:none;

    color:#ffffff;

    transform:scale(1.05);

    box-shadow:

        0 35px 80px rgba(255,59,59,.30);

    overflow:hidden;

}

.featured-price::before{

    content:"";

    position:absolute;

    width:320px;

    height:320px;

    right:-150px;

    top:-150px;

    border-radius:50%;

    background:rgba(255,255,255,.10);

}

.featured-price::after{

    content:"";

    position:absolute;

    width:220px;

    height:220px;

    left:-100px;

    bottom:-100px;

    border-radius:50%;

    background:rgba(255,255,255,.06);

}

.featured-price:hover{

    transform:translateY(-14px) scale(1.05);

    box-shadow:

        0 45px 90px rgba(255,59,59,.38);

}

/*==================================
    TEXT COLORS
==================================*/

.featured-price .plan-name{

    background:rgba(255,255,255,.18);

    color:#ffffff;

}

.featured-price .price-value{

    color:#ffffff;

}

.featured-price .price-duration{

    color:rgba(255,255,255,.80);

}

.featured-price .plan-description{

    color:rgba(255,255,255,.90);

}

.featured-price .feature-list li{

    border-bottom:1px solid rgba(255,255,255,.15);

}

.featured-price .feature-list li span{

    color:#ffffff;

}

.featured-price .feature-list li::before{

    background:rgba(255,255,255,.16);

    color:#ffffff;

}

.featured-price .pricing-footer .btn{

    background:#ffffff;

    color:#FF3B3B;

    border:none;

}

.featured-price .pricing-footer .btn:hover{

    background:#fff5f5;

    transform:translateY(-2px);

}

/*==================================
    POPULAR BADGE
==================================*/

.popular{

    position:absolute;

    top:22px;

    right:22px;

    padding:10px 18px;

    border-radius:999px;

    background:#ffffff;

    color:#FF3B3B;

    font-family:var(--font-body);

    font-size:.72rem;

    font-weight:700;

    letter-spacing:.12em;

    text-transform:uppercase;

    box-shadow:

        0 10px 25px rgba(0,0,0,.10);

}

/*==================================
    HOVER EFFECTS
==================================*/

.featured-price:hover .plan-name{

    background:#ffffff;

    color:#FF3B3B;

}

.featured-price:hover .feature-list li::before{

    transform:rotate(360deg);

    transition:.5s;

}

/*==================================
    RESPONSIVE
==================================*/

@media(max-width:1100px){

    .pricing-grid{

        grid-template-columns:1fr;

        max-width:620px;

        margin:auto;

        gap:30px;

    }

    .featured-price{

        transform:none;

    }

    .featured-price:hover{

        transform:translateY(-10px);

    }

}

@media(max-width:768px){

    .pricing-section{

        padding:100px 0;

    }

    .pricing-section h2{

        font-size:2.8rem;

    }

    .pricing-card{

        padding:32px;

        border-radius:24px;

    }

    .price-value{

        font-size:3.2rem;

    }

    .popular{

        top:18px;

        right:18px;

        font-size:.68rem;

    }

}

@media(max-width:480px){

    .pricing-section{

        padding:80px 0;

    }

    .pricing-section h2{

        font-size:2rem;

    }

    .pricing-card{

        padding:24px;

    }

    .price-value{

        font-size:2.7rem;

    }

    .feature-list li{

        padding:15px 0;

    }

    .feature-list li span{

        font-size:.95rem;

    }

}