.pp2-modal {
    --teal:          #0FC8B3;
    --teal-dark:     #0BAA98;
    --teal-soft:     #E6FAF7;
    --ink:           #0F2B26;
    --ink-soft:      #486560;
    --ink-muted:     #7A8F8B;
    --bg:            #F3F7F6;
    --border:        #E4EDEB;
    --orange:        #FF7A1A;
    --pink:          #E91E63;
    --human-bg:      #FFF9F0;
    --human-accent:  #C46D00;
    --savings-bg:    #E8F8F3;
    --radius:        14px;
    --radius-sm:     8px;
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    background: #fff;
    border-radius: var(--radius);
    max-width: 1080px;
    width: calc(100% - 30px);
    padding: 36px 36px 28px;
}

.pricePopup.show {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    overflow-y: auto;
    padding: 20px 15px;
    background: rgba(0, 0, 0, .5);
    backdrop-filter: blur(4px);
}

/* Override price2.min.css absolute centering + overflow so section scrolls instead */
.pricePopup .pp2-modal {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    margin: auto;
    flex-shrink: 0;
    overflow: visible;
    max-height: none;
}

/* Close */
.pp2-close-btn {
    position: absolute;
    top: 16px; right: 16px;
    width: 34px; height: 34px;
    border: none;
    background: var(--bg);
    border-radius: 50%;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    color: var(--ink-soft);
    transition: background 0.15s;
}
.pp2-close-btn:hover { background: var(--border); color: var(--ink); }
.pp2-close-btn svg { width: 15px; height: 15px; }

/* Signup banner (logged-out) */
.pp2-signup-banner {
    background: var(--teal-soft);
    border: 1px solid #C8F0EB;
    border-radius: var(--radius-sm);
    padding: 18px 22px;
    margin-bottom: 24px;
}
.pp2-signup-inner { display: flex; gap: 24px; flex-wrap: wrap; align-items: flex-start; }
.pp2-signup-text { flex: 1; min-width: 200px; }
.pp2-signup-title { font-size: 17px; font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.pp2-signup-sub { font-size: 13px; color: var(--ink-soft); line-height: 1.5; }
.pp2-signup-offer { flex: 2; min-width: 260px; }
.pp2-free-badge {
    display: inline-block;
    background: var(--teal);
    color: #fff;
    font-size: 11px; font-weight: 700;
    padding: 4px 12px;
    border-radius: 100px;
    margin-bottom: 10px;
}
.pp2-signup-list {
    list-style: none;
    margin-bottom: 14px;
}
.pp2-signup-list li {
    font-size: 13px;
    color: var(--ink-soft);
    padding: 3px 0 3px 18px;
    position: relative;
}
.pp2-signup-list li::before {
    content: '✓';
    position: absolute; left: 0;
    color: var(--teal); font-weight: 700;
}

/* Header */
.pp2-header { text-align: center; margin-bottom: 22px; }
.pp2-context-banner {
    display: inline-flex; align-items: center; gap: 6px;
    background: var(--teal-soft); color: var(--teal-dark);
    padding: 7px 14px; border-radius: 100px;
    font-size: 12px; font-weight: 600;
    margin-bottom: 12px;
}
.pp2-context-banner svg { width: 13px; height: 13px; }
.pp2-title { font-size: 28px; font-weight: 700; color: var(--ink); margin-bottom: 8px; letter-spacing: -0.02em; }
.pp2-subtitle { font-size: 15px; color: var(--ink-soft); }

/* Toggle */
.pp2-billing-toggle { display: flex; justify-content: center; margin-bottom: 28px; }
.pp2-toggle-group {
    display: inline-flex;
    background: var(--bg);
    border-radius: 100px;
    padding: 4px;
    position: relative;
}
.pp2-toggle-btn {
    padding: 9px 22px;
    border: none;
    background: transparent;
    font-family: inherit;
    font-size: 14px; font-weight: 600;
    color: var(--ink-soft);
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.2s;
}
.pp2-toggle-btn.pp2-active {
    background: var(--teal);
    color: #fff;
    box-shadow: 0 2px 8px rgba(15,200,179,0.3);
}
.pp2-toggle-badge {
    position: absolute;
    top: -11px; right: -32px;
    background: var(--pink);
    color: #fff;
    font-size: 9px; font-weight: 700;
    padding: 3px 9px;
    border-radius: 100px;
    transform: rotate(3deg);
    white-space: nowrap;
    pointer-events: none;
}

/* Plans grid */
.pp2-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 22px; }

.pp2-plan {
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: 24px 20px;
    position: relative;
    display: flex; flex-direction: column;
    transition: box-shadow 0.2s;
}
.pp2-plan--featured {
    border-color: var(--teal);
    box-shadow: 0 6px 24px rgba(15,200,179,0.14);
    transform: translateY(-4px);
}
.pp2-plan--value {
    border-color: var(--pink);
    box-shadow: 0 6px 24px rgba(233,30,99,0.1);
}

.pp2-plan-badge {
    position: absolute;
    top: -11px; left: 50%; transform: translateX(-50%);
    padding: 5px 13px;
    border-radius: 100px;
    font-size: 10px; font-weight: 700;
    color: #fff; white-space: nowrap;
}
.pp2-badge--popular { background: var(--orange); }
.pp2-badge--value   { background: var(--pink); }

.pp2-plan-name {
    font-size: 12px; font-weight: 700; letter-spacing: 0.12em;
    text-transform: uppercase; color: var(--teal-dark);
    margin-bottom: 4px;
}
.pp2-plan-fit { font-size: 12px; color: var(--ink-muted); margin-bottom: 14px; line-height: 1.4; }
.pp2-plan-fit strong { color: var(--ink-soft); font-weight: 600; }

.pp2-price-block { margin-bottom: 12px; }
.pp2-price { display: flex; align-items: baseline; gap: 4px; }
.pp2-price-amount { font-size: 36px; font-weight: 800; color: var(--ink); letter-spacing: -0.03em; line-height: 1; }
.pp2-price-period { font-size: 13px; color: var(--ink-soft); font-weight: 500; }
.pp2-price-annual { display: flex; align-items: center; gap: 8px; margin-top: 5px; flex-wrap: wrap; }
.pp2-strike { font-size: 12px; text-decoration: line-through; color: var(--ink-muted); }
.pp2-savings {
    display: inline-block;
    background: var(--savings-bg);
    color: var(--teal-dark);
    font-size: 11px; font-weight: 700;
    padding: 2px 7px; border-radius: 4px;
}
.pp2-price-monthly { font-size: 12px; color: var(--ink-muted); margin-top: 5px; }

.pp2-plan-divider { height: 1px; background: var(--border); margin-bottom: 14px; }

.pp2-features {
    list-style: none;
    flex-grow: 1;
    margin-bottom: 18px;
}
.pp2-features li {
    padding: 5px 0 5px 22px;
    font-size: 13px;
    color: var(--ink);
    line-height: 1.45;
    position: relative;
}
.pp2-features li::before {
    content: '';
    position: absolute;
    left: 0; top: 9px;
    width: 14px; height: 14px;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='%230FC8B3' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

/* CTAs */
.pp2-cta-group { margin-top: auto; }
.pp2-modal .subscribeNowBtn { max-width: 100% !important; width: 100% !important; margin: 0 !important; }
.pp2-cta {
    display: block; width: 100%; max-width: 100%;
    box-sizing: border-box;
    padding: 13px 18px;
    border: none; border-radius: var(--radius-sm);
    font-family: inherit; font-size: 14px; font-weight: 700;
    cursor: pointer; text-align: center;
    transition: all 0.15s;
}
.pp2-cta--secondary { background: var(--bg); color: var(--ink); }
.pp2-cta--secondary:hover { background: var(--border); }
.pp2-cta--primary {
    background: var(--teal); color: #fff;
    box-shadow: 0 4px 12px rgba(15,200,179,0.3);
}
.pp2-cta--primary:hover { background: var(--teal-dark); transform: translateY(-1px); }
.pp2-cta--value {
    background: var(--pink); color: #fff;
    box-shadow: 0 4px 12px rgba(233,30,99,0.25);
}
.pp2-cta--value:hover { background: #C91651; transform: translateY(-1px); }

/* Loading state for plan CTAs */
.pp2-cta.pp2-is-loading {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: wait;
    transform: none !important;
    opacity: 0.9;
}
.pp2-cta[disabled]:not(.pp2-is-loading) {
    opacity: 0.55;
    cursor: not-allowed;
}
.pp2-cta-spinner {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid currentColor;
    border-right-color: transparent;
    animation: pp2-cta-spin 0.7s linear infinite;
    display: inline-block;
}
.pp2-cta--secondary.pp2-is-loading .pp2-cta-spinner { color: var(--ink); }
.pp2-cta--primary.pp2-is-loading .pp2-cta-spinner,
.pp2-cta--value.pp2-is-loading .pp2-cta-spinner { color: #fff; }
.pp2-cta-loading-text { font-size: 15px; font-weight: 700; }
@keyframes pp2-cta-spin {
    to { transform: rotate(360deg); }
}

.pp2-guarantee {
    display: flex; align-items: center; justify-content: center; gap: 5px;
    font-size: 11px; color: var(--ink-muted); font-weight: 500;
    margin-top: 8px;
}
.pp2-guarantee svg { width: 12px; height: 12px; color: var(--teal); }

/* Human writer */
.pp2-human {
    background: var(--human-bg);
    border: 1.5px solid #F5D9B0;
    border-radius: var(--radius);
    padding: 18px 22px;
    display: flex; align-items: center; gap: 18px;
    margin-bottom: 20px; flex-wrap: wrap;
}
.pp2-human-icon {
    width: 48px; height: 48px;
    background: #fff; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(196,109,0,0.1);
}
.pp2-human-icon svg { width: 24px; height: 24px; color: var(--human-accent); }
.pp2-human-content { flex: 1; min-width: 220px; }
.pp2-human-label { font-size: 10px; font-weight: 700; letter-spacing: 0.1em; color: var(--human-accent); text-transform: uppercase; margin-bottom: 3px; }
.pp2-human-heading { font-size: 16px; font-weight: 700; color: var(--ink); margin-bottom: 3px; }
.pp2-human-desc { font-size: 13px; color: var(--ink-soft); line-height: 1.5; }
.pp2-human-cta {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 11px 20px;
    background: var(--human-accent); color: #fff;
    border: none; border-radius: var(--radius-sm);
    font-family: inherit; font-size: 13px; font-weight: 700;
    cursor: pointer; text-decoration: none;
    white-space: nowrap; transition: all 0.15s;
}
.pp2-human-cta:hover { background: #9A5500; transform: translateY(-1px); }
.pp2-human-cta svg { width: 13px; height: 13px; }

/* FAQ */
.pp2-faq {
    border-top: 1px solid var(--border);
    padding-top: 22px;
    margin-bottom: 20px;
}
.pp2-faq-title {
    font-size: 16px; font-weight: 700;
    color: var(--ink); text-align: center;
    margin-bottom: 14px;
}
.pp2-faq-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; align-items: start; }
.pp2-faq-col-1, .pp2-faq-col-2 { display: flex; flex-direction: column; gap: 10px; }
.pp2-faq-item {
    background: var(--bg);
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
}
.pp2-faq-q {
    padding: 13px 16px;
    font-size: 13px; font-weight: 600; color: var(--ink);
    display: flex; justify-content: space-between; align-items: center; gap: 10px;
    user-select: none; transition: background 0.15s;
}
.pp2-faq-q:hover { background: var(--border); }
.pp2-faq-q svg { width: 15px; height: 15px; color: var(--ink-soft); flex-shrink: 0; transition: transform 0.2s; }
.pp2-faq-item.pp2-open .pp2-faq-q svg { transform: rotate(180deg); }
.pp2-faq-a {
    max-height: 0; overflow: hidden;
    font-size: 12.5px; color: var(--ink-soft); line-height: 1.55;
    padding: 0 16px; transition: max-height 0.25s ease;
}
.pp2-faq-item.pp2-open .pp2-faq-a { max-height: 200px; padding: 0 16px 13px; }

/* Trust footer */
.pp2-trust {
    display: flex; align-items: center; justify-content: center;
    gap: 16px; flex-wrap: wrap;
    padding-top: 18px;
    border-top: 1px solid var(--border);
}
.pp2-trust-item { display: flex; align-items: center; gap: 5px; font-size: 12px; color: var(--ink-soft); font-weight: 500; }
.pp2-trust-item svg { width: 14px; height: 14px; color: var(--teal); }
.pp2-trust-dot { width: 3px; height: 3px; background: var(--ink-muted); border-radius: 50%; opacity: 0.3; }

/* Responsive */
@media (max-width: 900px) {
    .pp2-modal { padding: 28px 20px 22px; }
    .pp2-plans { grid-template-columns: 1fr; gap: 28px; }
    .pp2-plan--featured { transform: none; }
    .pp2-title { font-size: 22px; }
    .pp2-human { flex-direction: column; text-align: center; gap: 12px; }
    .pp2-human-content { min-width: 0; }
    .pp2-trust-dot { display: none; }
    .pp2-faq-grid { grid-template-columns: 1fr; }
    .pp2-faq-col-1, .pp2-faq-col-2 { gap: 8px; }
}
@media (max-width: 480px) {
    .pp2-modal { padding: 22px 14px 18px; }
    .pp2-toggle-badge { right: -12px; font-size: 8px; }
    .pp2-signup-inner { flex-direction: column; }
}
