/*==========================
   SERVICE PLANS
===========================*/

.hp-service-plans{
    padding:100px 0;
    background:
        radial-gradient(circle at top right,#eef6ff 0,#ffffff 40%),
        linear-gradient(180deg,#ffffff,#f8fbff);
    overflow:hidden;
    position:relative;
}

.hp-service-plans::before{
    content:"";
    position:absolute;
    width:450px;
    height:450px;
    border-radius:50%;
    background:rgba(37,99,235,.05);
    top:-200px;
    right:-120px;
    filter:blur(40px);
}

.hp-section-title{
    max-width:760px;
    margin:0 auto 70px;
}

.hp-subtitle{
    display:inline-block;
    padding:8px 18px;
    background:#eef4ff;
    color:#2563eb;
    font-weight:700;
    font-size:13px;
    border-radius:40px;
    letter-spacing:1px;
    text-transform:uppercase;
}

.hp-section-title h2{
    font-size:48px;
    font-weight:800;
    margin:18px 0;
    color:#111827;
}

.hp-section-title p{
    font-size:18px;
    color:#6b7280;
    line-height:1.8;
}

/*==========================
   CARD
===========================*/

.hp-plan-card{

    position:relative;

    display:flex;
    flex-direction:column;

    height:100%;

    background:rgba(255,255,255,.75);

    backdrop-filter:blur(18px);

    border:1px solid rgba(255,255,255,.7);

    border-radius:28px;

    overflow:hidden;

    transition:.35s;

    box-shadow:
        0 15px 45px rgba(15,23,42,.06);

}

.hp-plan-card:hover{

    transform:translateY(-12px);

    box-shadow:
        0 35px 70px rgba(37,99,235,.18);

}

/* animated border */

.hp-plan-card::before{

    content:"";

    position:absolute;

    inset:0;

    padding:1.5px;

    border-radius:28px;

    background:
    linear-gradient(135deg,
    #2563eb,
    #7c3aed,
    #06b6d4);

    -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);

    -webkit-mask-composite:xor;

            mask-composite:exclude;

    opacity:0;

    transition:.35s;

}

.hp-plan-card:hover::before{

    opacity:1;

}

/*==========================
HEADER
===========================*/

.plan-header{

    text-align:center;

    padding:45px 35px;

    color:#fff;

}

.plan-header h3{

    font-size:34px;

    margin:20px 0 8px;

    font-weight:800;

}

.plan-header p{

    opacity:.9;

    margin:0;

    font-size:15px;

}

.basic{

    background:
    linear-gradient(135deg,#16a34a,#22c55e);

}

.standard{

    background:
    linear-gradient(135deg,#2563eb,#0ea5e9);

}

.premium{

    background:
    linear-gradient(135deg,#7c3aed,#a855f7);

}

.plan-icon svg{

    width:56px;

    height:56px;

}

.popular-badge{

    position:absolute;

    top:22px;

    right:-40px;

    width:180px;

    text-align:center;

    background:#f59e0b;

    color:#fff;

    padding:8px;

    font-size:12px;

    font-weight:700;

    transform:rotate(45deg);

    letter-spacing:1px;

    box-shadow:0 10px 25px rgba(0,0,0,.15);

}

/*==========================
BODY
===========================*/

.plan-body{

    padding:35px;

    display:flex;

    flex-direction:column;

    flex:1;

}

.feature{

    margin-bottom:28px;

}

.feature h5{

    font-size:20px;

    font-weight:700;

    color:#111827;

    margin-bottom:10px;

}

.feature p{

    color:#6b7280;

    line-height:1.8;

    margin:0;

}
/*======================================
 FEATURE BLOCKS
=======================================*/

.feature{
    position:relative;
    padding:22px;
    margin-bottom:20px;
    border:1px solid #edf2f7;
    border-radius:18px;
    background:#fff;
    transition:.35s ease;
}

.feature:hover{
    transform:translateY(-5px);
    border-color:#2563eb;
    box-shadow:0 15px 35px rgba(37,99,235,.12);
}

.feature h5{
    display:flex;
    align-items:center;
    gap:10px;
    font-size:18px;
    font-weight:700;
    margin-bottom:12px;
    color:#111827;
}

.feature p{
    font-size:15px;
    line-height:1.8;
    color:#6b7280;
}

/*======================================
 BEST FOR
=======================================*/

.best-for{

    margin-top:auto;

    padding:24px;

    border-radius:18px;

    background:linear-gradient(135deg,#eff6ff,#ffffff);

    border:1px solid #dbeafe;

}

.best-for strong{

    display:block;

    font-size:18px;

    margin-bottom:12px;

    color:#2563eb;

}

.best-for p{

    margin:0;

    color:#4b5563;

    line-height:1.8;

}

/*======================================
 BUTTON
=======================================*/

.hp-btn{

    margin-top:30px;

    display:flex;

    justify-content:center;

    align-items:center;

    width:100%;

    height:58px;

    border-radius:16px;

    text-decoration:none;

    font-size:16px;

    font-weight:700;

    color:#fff;

    background:linear-gradient(135deg,#2563eb,#7c3aed);

    transition:.35s;

    box-shadow:
        0 15px 35px rgba(37,99,235,.25);

}

.hp-btn:hover{

    color:#fff;

    text-decoration:none;

    transform:translateY(-4px);

    box-shadow:
        0 25px 45px rgba(37,99,235,.35);

}

/*======================================
 FEATURED CARD
=======================================*/

.featured{

    transform:scale(1.04);

    z-index:5;

}

.featured:hover{

    transform:scale(1.06) translateY(-8px);

}

/*======================================
 CARD ANIMATION
=======================================*/

.hp-plan-card{

    animation:fadeUp .8s ease both;

}

.hp-plan-card:nth-child(2){

    animation-delay:.15s;

}

.hp-plan-card:nth-child(3){

    animation-delay:.3s;

}

@keyframes fadeUp{

    from{

        opacity:0;

        transform:translateY(40px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

/*======================================
 RESPONSIVE
=======================================*/

@media(max-width:1199px){

.hp-section-title h2{

font-size:42px;

}

}

@media(max-width:991px){

.featured{

transform:none;

}

.featured:hover{

transform:translateY(-8px);

}

.plan-header{

padding:35px;

}

.hp-section-title{

margin-bottom:50px;

}

.hp-section-title h2{

font-size:36px;

}

.hp-service-plans{

padding:70px 0;

}

}

@media(max-width:767px){

.hp-section-title h2{

font-size:30px;

}

.hp-section-title p{

font-size:16px;

}

.plan-header h3{

font-size:28px;

}

.plan-body{

padding:24px;

}

.feature{

padding:18px;

}

.hp-btn{

height:54px;

font-size:15px;

}

.popular-badge{

right:-48px;

font-size:11px;

}

}

/*======================================
 OPTIONAL DARK MODE
=======================================*/

body.dark-mode .hp-service-plans{

background:#0f172a;

}

body.dark-mode .hp-plan-card{

background:#1e293b;

border-color:#334155;

}

body.dark-mode .feature{

background:#273449;

border-color:#334155;

}

body.dark-mode .feature h5{

color:#fff;

}

body.dark-mode .feature p{

color:#cbd5e1;

}

body.dark-mode .best-for{

background:#1e293b;

border-color:#334155;

}

body.dark-mode .best-for p{

color:#cbd5e1;

}