/* =========================
   GRID LAYOUT
========================= */
.pricing-grid{
    display:grid;
    grid-template-columns:repeat(4, minmax(240px, 1fr));
    gap:24px;

    width:100%;
    max-width:1400px;
    margin:80px auto;
    padding:0 20px;

    align-items:stretch;
    box-sizing:border-box;
}

/* =========================
   CARD BASE
========================= */
.price-card{
    background:#fff;
    border:1px solid rgba(0,0,0,0.06);
    border-radius:20px;

    padding:28px;

    box-shadow:0 10px 30px rgba(0,0,0,0.05);

    display:flex;
    flex-direction:column;
    height:100%;

    position:relative;
    overflow:hidden;

    transition:.35s ease;

    box-sizing:border-box;
}

.price-card:hover{
    transform:translateY(-8px);
    box-shadow:0 25px 60px rgba(0,0,0,0.12);
}

/* =========================
   TITLE + PRICE
========================= */
.price-title{
    font-size:18px;
    font-weight:900;
    margin-bottom:6px;
}

.price-value{
    display:flex;
    align-items:baseline;
    gap:6px;
    margin-bottom:14px;
}

.currency{
    font-size:14px;
    color:#666;
}

.amount{
    font-size:34px;
    font-weight:900;
}

/* =========================
   INCLUDED LIST
========================= */
.included-list{
    list-style:none;
    padding:0;
    margin:0 0 15px 0;
}

.included-list li::before{
    display:none !important;
}

.included-list li{
    padding:10px 0;
    font-size:14px;
    line-height:1.4;

    border-bottom:1px solid rgba(0,0,0,0.05);

    white-space:normal;
}

/* =========================
   BADGE
========================= */
.badge{
    display:inline-block;
    background:#FFCD05;
    color:#111;

    font-size:12px;
    font-weight:900;

    padding:6px 12px;
    border-radius:999px;

    margin-bottom:12px;
}

.badge.dark{
    background:#111;
    color:#fff;
}

/* =========================
   GIFT BOX
========================= */
.gift-box{
    margin:10px 0 15px 0;
    padding:10px;

    border-radius:12px;

    background:#fff7d6;
    border:1px solid #FFCD05;

    font-size:13px;
    font-weight:800;
}

.gift-box.green{
    background:#eaffea;
    border-color:#22c55e;
}

.gift-box small{
    display:block;
    margin-top:4px;
    color:#666;
}

/* =========================
   UPGRADE TABLE
========================= */
.extras-table{
    display:flex;
    flex-direction:column;
    gap:8px;

    width:100%;
}

.extra-row{
    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:12px 14px;

    border:1px solid rgba(0,0,0,0.06);
    border-radius:12px;

    font-size:13px;
    line-height:1.3;

    width:100%;
    box-sizing:border-box;

    white-space:nowrap;
}

.extra-row span{
    flex:1;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}

/* =========================
   DETAILS LINK
========================= */
.details-link{
    margin-top:10px;
    font-size:12px;
    font-weight:800;
    color:#666;
    text-decoration:none;

    position:relative;
    display:inline-block;
}

.details-link::after{
    content:"";
    position:absolute;
    left:0;
    bottom:-2px;

    width:0%;
    height:2px;

    background:#FFCD05;
    transition:.3s ease;
}

.details-link:hover{
    color:#111;
}

.details-link:hover::after{
    width:100%;
}

/* =========================
   BUTTON
========================= */
.btn{
    margin-top:auto;
    display:block;
    text-align:center;

    padding:12px;
    border-radius:12px;

    font-weight:900;
    text-decoration:none;

    background:#111;
    color:#fff;

    transition:.25s ease;

    position:relative;
    overflow:hidden;
}

.btn::after{
    content:"";
    position:absolute;
    top:0;
    left:-150%;
    width:60%;
    height:100%;

    background:linear-gradient(90deg,transparent,rgba(255,255,255,0.4),transparent);
    transform:skewX(-20deg);
    transition:.6s;
}

.btn:hover::after{
    left:160%;
}

.btn:hover{
    background:#FFCD05;
    color:#111;
    transform:translateY(-2px);
}

.btn:active{
    transform:scale(0.97);
}

/* =========================
   RESPONSIVE
========================= */
@media(max-width:1024px){
    .pricing-grid{
        grid-template-columns:1fr;
        max-width:100%;
    }
}

/* =========================
   TIME BAR
========================= */
.price-card{
    padding-left:34px;
}

.time-bar{
    position:absolute;
    left:0;
    top:20px;
    width:6px;
    height:55px;
    border-radius:10px;
}

.time-bar.yellow{
    background:#FFCD05;
    box-shadow:0 0 18px rgba(255,205,5,0.5);
}

.time-bar.black{
    background:#111;
    box-shadow:0 0 18px rgba(0,0,0,0.2);
}

/* =========================
   DETAILS LINK ALIGN
========================= */
.details-link{
    margin-top:auto;
    display:block;
}

.price-card{
    display:flex;
    flex-direction:column;
}

.btn{
    margin-top:10px;
}

/* =========================
   FLOATING BADGES
========================= */
.price-card{
    position:relative;
}

.badge.floating{
    position:absolute;
    top:16px;
    right:16px;

    margin:0;
    z-index:5;

    box-shadow:0 10px 25px rgba(0,0,0,0.15);
}

.badge.dark.floating{
    position:absolute;
}

/* =========================
   DISCOUNT STYLE QR SNAP
========================= */
.discount-badge{
    display:inline-block;
    margin-left:6px;

    font-size:11px;
    font-weight:900;

    color:#fff;
    background:#ff3b3b;

    padding:2px 6px;
    border-radius:999px;
}

.old-price{
    color:#999;
    font-size:12px;
    margin-right:6px;
}

.new-price{
    color:#111;
    font-weight:900;
    font-size:14px;
}
