/* ===============================
   Layout
================================ */
.gpl-pricing-wrap {
    max-width: 1280px;
    margin: 40px auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.gpl-pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    align-items: stretch;
}

@media (max-width: 1100px) {
    .gpl-pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (max-width: 640px) {
    .gpl-pricing-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        max-width: 420px;
        margin: 0 auto;
    }
}

/* ===============================
   Card
================================ */
.gpl-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid rgba(15,50,100,0.08);
    box-shadow: 0 6px 20px rgba(11,30,45,0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.gpl-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(11,30,45,0.12);
    border-color: #BFDBFE;
}

.gpl-card.starter-monthly {
    border-top: 5px solid #0284C7;
}

.gpl-card.starter-annual {
    border-top: 5px solid #0EA5E9;
}

.gpl-card.pro-monthly {
    border-top: 5px solid #0761DA;
}

.gpl-card.pro-annual {
    border-top: 5px solid #1D4ED8;
    background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
}

/* ===============================
   Title & Badge
================================ */
.gpl-title-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.gpl-card .title {
    font-size: 13px;
    font-weight: 800;
    color: #0b3a57;
    letter-spacing: 0.7px;
    text-transform: uppercase;
}

.gpl-badge-popular {
    background: #0a66c2;
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}

/* ===============================
   Price
================================ */
.gpl-card .price {
    margin-top: 10px;
    font-size: 36px;
    font-weight: 800;
    color: #0b3a57;
    line-height: 1.1;
}

.gpl-card .price .gpl-price-amount {
    display: inline;
}

.gpl-card .price .gpl-price-period {
    display: block;
    margin-top: 6px;
    font-size: 14px;
    color: #65748b;
    font-weight: 600;
}

/* ===============================
   Meta / Description
================================ */
.gpl-card .meta {
    font-size: 14px;
    color: #65748b;
    margin: 12px 0 14px;
    line-height: 1.5;
}

/* ===============================
   Features
================================ */
.gpl-card .features {
    margin: 0 0 20px;
    padding: 0;
    list-style: none;
    flex: 1 0 auto;
}

.gpl-card .features li {
    font-size: 14px;
    color: #12324b;
    margin: 10px 0;
    padding-left: 22px;
    position: relative;
    line-height: 1.4;
}

.gpl-card .features li::before {
    content: "✔";
    position: absolute;
    left: 0;
    top: 0;
    color: #0a8b6b;
    font-size: 13px;
}

/* ===============================
   Billing Selector
================================ */
.gpl-billing-select {
    margin: 16px 0 18px;
}

.gpl-billing-select select {
    width: 100%;
    height: 100%;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid #dce3ea;
    background: #f8fafc;
    font-weight: 700;
    font-size: 14px;
    color: #0b3a57;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.gpl-billing-select select:hover {
    border-color: #0a66c2;
}

.gpl-billing-select select:focus {
    outline: none;
    border-color: #0a66c2;
    box-shadow: 0 0 0 3px rgba(10,102,194,0.15);
}

/* ===============================
   CTA Button
================================ */
.gpl-btn {
    display: inline-block;
    width: 100%;
    padding: 14px 26px;
    border-radius: 999px;
    border: 2px solid #0a66c2;
    background: #0a66c2;
    color: #ffffff !important;
    font-weight: 800;
    font-size: 15px;
    text-decoration: none;
    text-align: center;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.gpl-btn:hover {
    background: #084d91;
    border-color: #084d91;
    transform: translateY(-1px);
}

.gpl-btn.current {
    background: transparent;
    color: #65748b !important;
    border-color: #d1d8e0;
    cursor: default;
    pointer-events: none;
}

/* ===============================
   Header
================================ */
.gpl-header {
    max-width: 720px;
    margin: 0 auto 40px;
    text-align: center;
}

.gpl-header h2 {
    font-size: 34px;
    font-weight: 800;
    color: #0b3a57;
    margin-bottom: 12px;
}

.gpl-header p {
    font-size: 16px;
    color: #65748b;
    line-height: 1.6;
}

/* =========MODAL=========== */
.gpl-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.gpl-modal {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    max-width: 420px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.gpl-modal h3 {
    margin-top: 0;
}

.gpl-modal-actions {
    margin-top: 20px;
    display: flex;
    gap: 10px;
    justify-content: center;
}

.gpl-btn.secondary {
    background: #eef2f7;
    color: #333;
}
/* Overlay */
.gpl-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(20, 35, 60, 0.55);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
}

/* Modal box */
.gpl-modal {
    width: 100%;
    max-width: 460px;
    background: #ffffff;
    border-radius: 16px;
    padding: 40px 32px;
    text-align: center;
    box-shadow: 0 25px 60px rgba(0,0,0,0.18);
    animation: gplFadeIn 0.25s ease;
}

/* Title */
.gpl-modal h3 {
    margin-bottom: 10px;
    font-size: 22px;
    font-weight: 600;
    color: #1f2d3d;
}

/* Text */
.gpl-modal p {
    margin-bottom: 28px;
    color: #6b7280;
    font-size: 15px;
    line-height: 1.6;
}

/* Button group */
.gpl-modal-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Base button */
.gpl-btn {
    min-width: 150px;
    padding: 14px 22px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Primary button */
.gpl-btn {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: #fff;
    box-shadow: 0 10px 25px rgba(59,130,246,0.35);
}

.gpl-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(59,130,246,0.45);
}

/* Secondary button */
.gpl-btn.secondary {
    background: transparent;
    color: #2563eb;
    border: 2px solid #2563eb;
    box-shadow: none;
}

.gpl-btn.secondary:hover {
    background: #2563eb;
    color: #fff;
}

/* Animation */
@keyframes gplFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px) scale(0.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Mobile */
@media (max-width: 480px) {
    .gpl-modal {
        padding: 30px 22px;
    }

    .gpl-btn {
        width: 100%;
    }
}
