@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

.whmcs-pt-wrap {
    display: grid;
    gap: 24px;
    padding: 32px 0;
    font-family: 'Poppins', sans-serif;
}

.whmcs-pt-cols-2 {
    grid-template-columns: repeat(2, 1fr);
}

.whmcs-pt-cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

.whmcs-pt-cols-4 {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 900px) {
    .whmcs-pt-cols-3,
    .whmcs-pt-cols-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 580px) {
    .whmcs-pt-wrap {
        grid-template-columns: 1fr !important;
    }
}

.whmcs-pt-card {
    position: relative;
    background: #ffffff;
    border: 1.5px solid #e8eaf0;
    border-radius: 20px;
    padding: 36px 32px 32px;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    font-family: 'Poppins', sans-serif;
}

.whmcs-pt-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.1);
    border-color: #c8ccdc;
}

.whmcs-pt-card.whmcs-pt-featured {
    background: linear-gradient(145deg, #0f0c29, #1a1060, #24243e);
    border-color: transparent;
    color: #fff;
    transform: scale(1.04);
    box-shadow: 0 24px 64px rgba(15, 12, 41, 0.35);
}

.whmcs-pt-card.whmcs-pt-featured:hover {
    transform: scale(1.04) translateY(-6px);
    box-shadow: 0 32px 72px rgba(15, 12, 41, 0.45);
}

.whmcs-pt-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, #f9c74f, #f3722c);
    color: #1a0a00;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 5px 18px;
    border-radius: 20px;
    white-space: nowrap;
    box-shadow: 0 4px 16px rgba(249, 199, 79, 0.4);
}

.whmcs-pt-header {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.whmcs-pt-featured .whmcs-pt-header {
    border-bottom-color: rgba(255, 255, 255, 0.12);
}

.whmcs-pt-name {
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 16px;
    letter-spacing: -0.01em;
}

.whmcs-pt-featured .whmcs-pt-name {
    color: #fff;
}

.whmcs-pt-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    flex-wrap: wrap;
}

.whmcs-pt-amount {
    font-family: 'Poppins', sans-serif;
    font-size: 40px;
    font-weight: 800;
    color: #1a1a2e;
    letter-spacing: -0.03em;
    line-height: 1;
}

.whmcs-pt-featured .whmcs-pt-amount {
    color: #fff;
}

.whmcs-pt-period {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    color: #7a7f9a;
    font-weight: 400;
}

.whmcs-pt-featured .whmcs-pt-period {
    color: rgba(255, 255, 255, 0.55);
}

.whmcs-pt-features {
    flex: 1;
    font-size: 14.5px;
    line-height: 1.75;
    color: #4a4f6a;
    margin-bottom: 28px;
    font-family: 'Poppins', sans-serif;
}

.whmcs-pt-featured .whmcs-pt-features {
    color: rgba(255, 255, 255, 0.78);
}

.whmcs-pt-features ul {
    list-style: disc;
    padding-left: 20px;
    margin: 0;
}

.whmcs-pt-features ul li {
    padding: 4px 0;
    position: relative;
}

.whmcs-pt-footer {
    margin-top: auto;
}

.whmcs-pt-btn {
    display: block;
    text-align: center;
    padding: 14px 24px;
    border-radius: 12px;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.01em;
    text-decoration: none;
    transition: all 0.2s ease;
    background: #f0f2f8;
    color: #1a1a2e;
    border: none;
}

.whmcs-pt-btn:hover {
    background: #1a1a2e;
    color: #fff;
    text-decoration: none;
}

.whmcs-pt-btn-featured {
    background: linear-gradient(90deg, #f9c74f, #f3722c);
    color: #1a0a00;
    box-shadow: 0 8px 24px rgba(249, 199, 79, 0.35);
}

.whmcs-pt-btn-featured:hover {
    background: linear-gradient(90deg, #ffd566, #f4813e);
    color: #1a0a00;
    box-shadow: 0 12px 32px rgba(249, 199, 79, 0.5);
    transform: translateY(-2px);
}

.whmcs-pt-single-wrap {
    display: flex;
    justify-content: center;
    padding: 32px 0;
}

.whmcs-pt-single {
    max-width: 380px;
    width: 100%;
}

.whmcs-pt-error {
    background: #fff3f3;
    border: 1px solid #ffcdd2;
    border-left: 4px solid #e53935;
    padding: 16px 20px;
    border-radius: 8px;
    color: #b71c1c;
    font-family: 'Poppins', sans-serif;
}

.whmcs-pt-inline-price {
    display: inline-block;
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #1a1a2e;
    line-height: 1.4;
}

.whmcs-pt-horizontal-wrap {
    padding: 0px 0;
    font-family: 'Poppins', sans-serif;
}

.whmcs-pt-horizontal-card {
    display: grid;
    grid-template-columns: 280px 1fr 190px;
    gap: 28px;
    align-items: center;
    background: #ffffff;
    border: 1.5px solid #e8eaf0;
    border-radius: 5px;
    padding: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.whmcs-pt-horizontal-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.08);
    border-color: #c8ccdc;
}

.whmcs-pt-horizontal-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.whmcs-pt-horizontal-name {
    margin: 0 0 10px;
    font-size: 32px;
    line-height: 1.15;
    font-weight: 700;
    color: #1a1a2e;
    letter-spacing: -0.02em;
}

.whmcs-pt-horizontal-price {
    font-size: 18px;
    line-height: 1.4;
    color: #5f657d;
    font-weight: 500;
}

.whmcs-pt-horizontal-middle {
    min-width: 0;
}

.whmcs-pt-horizontal-features ul {
    margin: 0;
    padding-left: 20px;
    column-count: 2;
    column-gap: 36px;
    list-style: disc;
}

.whmcs-pt-horizontal-features li {
    break-inside: avoid;
    padding: 4px 0;
    color: #4a4f6a;
    font-size: 15px;
    line-height: 1.7;
}

.whmcs-pt-horizontal-right {
    display: flex;
    justify-content: center;
    align-items: center;
}

.whmcs-pt-horizontal-right .whmcs-pt-btn {
    min-width: 160px;
}

.whmcs-pt-horizontal-card.whmcs-pt-featured {
    background: linear-gradient(145deg, #0f0c29, #1a1060, #24243e);
    color: #fff;
    border-color: transparent;
}

.whmcs-pt-horizontal-card.whmcs-pt-featured .whmcs-pt-horizontal-name,
.whmcs-pt-horizontal-card.whmcs-pt-featured .whmcs-pt-horizontal-price,
.whmcs-pt-horizontal-card.whmcs-pt-featured .whmcs-pt-horizontal-features li {
    color: #fff;
}

@media (max-width: 900px) {
    .whmcs-pt-horizontal-card {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
    }

    .whmcs-pt-horizontal-features ul {
        column-count: 1;
        padding-left: 20px;
        text-align: left;
    }

    .whmcs-pt-horizontal-right {
        justify-content: center;
    }
}