/* ============================================================
   Jesto Performance Management Pricing — Styles
   Prefix: pmp-
   Primary: #0030DB | Accent: #4F46E5
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --pmp-primary:   #0030DB;
    --pmp-primary-h: #0025A8;
    --pmp-accent:    #4F46E5;
    --pmp-text:      #1D1D1F;
    --pmp-muted:     #6E6E73;
    --pmp-border:    #E5E5E5;
    --pmp-bg:        #F5F5F7;
    --pmp-white:     #FFFFFF;
    --pmp-radius:    14px;
    --pmp-font:      'Ubuntu', sans-serif;
}

body { font-family: var(--pmp-font); color: var(--pmp-text); }

/* Container */
.pmp-container { max-width: 1400px; margin: 0 auto; padding: 0 40px; }

/* ── Hero ── */
.pmp-hero {
    padding: 72px 0 52px;
    background: var(--pmp-white);
    text-align: center;
    border-bottom: 1px solid var(--pmp-border);
}
.pmp-hero-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0,48,219,0.06);
    color: var(--pmp-primary);
    font-size: 13px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 24px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}
.pmp-hero-h1 {
    font-size: clamp(2rem, 5vw, 2.75rem) !important;
    font-weight: 700;
    color: var(--pmp-text);
    letter-spacing: -0.03em;
    margin-bottom: 14px;
    line-height: 1.2;
}
.pmp-blue { color: var(--pmp-primary); }
.pmp-hero-sub {
    font-size: 17px !important;
    color: var(--pmp-muted);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ── Plans Section ── */
.pmp-plans { padding: 64px 0 80px; background: var(--pmp-bg); }
.pmp-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: start;
}

/* ── Plan Card ── */
.pmp-card {
    background: var(--pmp-white);
    border: 1px solid var(--pmp-border);
    border-radius: 18px;
    padding: 32px 28px 36px;
    position: relative;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.pmp-card:hover { box-shadow: 0 12px 32px rgba(0,0,0,0.08); transform: translateY(-3px); }

.pmp-card-top { margin-bottom: 0; }
.pmp-plan-icon {
    width: 46px; height: 46px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 19px;
    margin-bottom: 14px;
}
.pmp-plan-name { font-size: 22px !important; font-weight: 700; color: var(--pmp-text); margin-bottom: 5px; display: block; }
.pmp-plan-desc { font-size: 13.5px; color: var(--pmp-muted); line-height: 1.4; margin-bottom: 22px; }
.pmp-price-block { margin-bottom: 6px; }
.pmp-price { display: flex; align-items: baseline; gap: 2px; min-height: 52px; }
.pmp-currency { font-size: 22px; font-weight: 700; color: var(--pmp-text); line-height: 1; align-self: flex-start; margin-top: 6px; }
.pmp-amount { font-size: 42px; font-weight: 700; color: var(--pmp-text); letter-spacing: -0.04em; line-height: 1; }
.pmp-period { font-size: 15px; color: var(--pmp-muted); font-weight: 500; margin-left: 2px; }
.pmp-gst { font-size: 12.5px; color: var(--pmp-muted); margin-bottom: 22px; }
.pmp-custom-label { font-size: 26px; font-weight: 700; color: var(--pmp-text); letter-spacing: -0.02em; min-height: 52px; display: flex; align-items: center; }

/* Buttons */
.pmp-btn-primary, .pmp-btn-outline {
    display: block; text-align: center; padding: 11px 20px;
    border-radius: 8px; font-size: 14px; font-weight: 600;
    text-decoration: none; transition: all 0.2s ease; white-space: nowrap;
}
.pmp-btn-outline {
    border: 1.5px solid var(--pmp-border); color: var(--pmp-text); background: transparent;
}
.pmp-btn-outline:hover { border-color: var(--pmp-primary); color: var(--pmp-primary); background: rgba(0,48,219,0.04); }
.pmp-btn-primary {
    background: var(--pmp-primary); color: #fff; border: none;
}
.pmp-btn-primary:hover { background: var(--pmp-primary-h); box-shadow: 0 4px 14px rgba(0,48,219,0.3); transform: translateY(-1px); }

/* Divider + Features label */
.pmp-divider { height: 1px; background: var(--pmp-border); margin: 24px 0 20px; }
.pmp-features-label {
    font-size: 11px; font-weight: 700; color: var(--pmp-muted);
    text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 14px;
}

/* Features list */
.pmp-features {
    list-style: none; padding: 0; margin: 0;
    display: flex; flex-direction: column; gap: 10px;
}
.pmp-features li {
    display: flex; align-items: flex-start; gap: 10px;
    font-size: 13.5px; color: var(--pmp-text); line-height: 1.4;
}
.pmp-feat-yes i { color: #0DAF69; font-size: 12px; flex-shrink: 0; margin-top: 2px; }
.pmp-feat-no { color: var(--pmp-muted); }
.pmp-feat-no i { color: #C0C0C5; font-size: 12px; flex-shrink: 0; margin-top: 2px; }

/* Featured card */
.pmp-featured {
    border: 2px solid var(--pmp-primary);
    box-shadow: 0 8px 28px rgba(0,48,219,0.1);
}
.pmp-featured:hover { box-shadow: 0 16px 40px rgba(0,48,219,0.16); }
.pmp-popular-badge {
    position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
    background: var(--pmp-primary); color: #fff;
    font-size: 11px; font-weight: 700;
    padding: 4px 18px; border-radius: 20px;
    white-space: nowrap; letter-spacing: 0.05em; text-transform: uppercase;
}

/* ── Section Header ── */
.pmp-section-header { text-align: center; margin-bottom: 48px; }
.pmp-section-header h2 { font-size: 2rem; font-weight: 700; color: var(--pmp-text); margin-bottom: 0.5rem; }
.pmp-section-header p { font-size: 0.95rem; color: var(--pmp-muted); }

/* ── Comparison Table ── */
.pmp-compare { padding: 80px 0; background: var(--pmp-bg); }
.pmp-table-wrap { overflow-x: auto; border-radius: var(--pmp-radius); box-shadow: 0 2px 16px rgba(0,0,0,0.06); }
.pmp-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--pmp-white);
    font-size: 0.88rem;
}
.pmp-table thead tr { background: var(--pmp-text); }
.pmp-table th {
    padding: 16px 20px;
    text-align: left;
    color: #fff;
    font-weight: 700;
    font-size: 0.85rem;
}
.pmp-table th:first-child { border-radius: var(--pmp-radius) 0 0 0; }
.pmp-table th:last-child { border-radius: 0 var(--pmp-radius) 0 0; }
.pmp-th-featured { background: var(--pmp-primary); }
.pmp-table td { padding: 13px 20px; border-bottom: 1px solid #F0F0F5; color: var(--pmp-text); }
.pmp-table tr:last-child td { border-bottom: none; }
.pmp-table td:not(:first-child) { text-align: center; }
.pmp-group-row td {
    background: #EEF2FF;
    color: var(--pmp-primary);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 10px 20px;
}
.pmp-yes { color: #16A34A; font-size: 0.9rem; }
.pmp-no  { color: #D1D5DB; font-size: 0.9rem; }

/* ── FAQ ── */
.pmp-faq { padding: 80px 0; background: var(--pmp-white); }
.pmp-faq-list { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.pmp-faq-item { border: 1.5px solid var(--pmp-border); border-radius: 10px; overflow: hidden; }
.pmp-faq-q {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background: var(--pmp-white);
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--pmp-text);
    font-family: var(--pmp-font);
    gap: 12px;
}
.pmp-faq-q:hover { background: var(--pmp-bg); }
.pmp-faq-icon { font-size: 0.8rem; color: var(--pmp-muted); transition: transform 0.3s ease; flex-shrink: 0; }
.pmp-faq-q.pmp-faq-open .pmp-faq-icon { transform: rotate(180deg); }
.pmp-faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}
.pmp-faq-a.pmp-faq-visible { max-height: 300px; }
.pmp-faq-a p {
    padding: 0 20px 18px;
    font-size: 0.88rem;
    color: var(--pmp-muted);
    line-height: 1.7;
}

/* ── CTA ── */
.pmp-cta { padding: 80px 0; background: var(--pmp-bg); }
.pmp-cta-box {
    background: var(--pmp-primary);
    border-radius: 20px;
    padding: 64px 48px;
    text-align: center;
    color: #fff;
}
.pmp-cta-box h2 { font-size: 1.9rem; font-weight: 700; margin-bottom: 0.75rem; }
.pmp-cta-box p { font-size: 1rem; opacity: 0.85; margin-bottom: 2rem; }
.pmp-cta-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.pmp-btn-white {
    display: inline-flex; align-items: center;
    background: #fff; color: var(--pmp-primary);
    padding: 13px 28px; border-radius: 8px;
    font-weight: 700; font-size: 0.95rem; text-decoration: none;
    transition: background 0.2s ease;
}
.pmp-btn-white:hover { background: #f0f0f0; }
.pmp-btn-ghost {
    display: inline-flex; align-items: center;
    border: 1.5px solid rgba(255,255,255,0.5); color: #fff;
    padding: 13px 28px; border-radius: 8px;
    font-weight: 600; font-size: 0.95rem; text-decoration: none;
    transition: background 0.2s ease;
}
.pmp-btn-ghost:hover { background: rgba(255,255,255,0.1); }

/* ── Responsive ── */
@media (max-width: 900px) {
    .pmp-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
    .pmp-hero-h1 { font-size: 2rem; }
}
@media (max-width: 600px) {
    .pmp-container { padding: 0 20px; }
    .pmp-hero { padding: 60px 0 50px; }
    .pmp-cta-box { padding: 40px 24px; }
    .pmp-cta-box h2 { font-size: 1.5rem; }
    .pmp-plans, .pmp-compare, .pmp-faq, .pmp-cta { padding: 60px 0; }
}
