/**
 * Zaki Pricing Widget — Styles (zpr- prefix)
 */

/* ─── Section ─────────────────────────────────────────── */
.zpr-sec {
    width: 100%;
    position: relative;
    overflow: hidden;
    padding: 90px 0 100px;
    background: #f0f4ff;
    isolation: isolate
}

.zpr-sec::before {
    content: "";
    position: absolute;
    top: -2px;
    left: 0;
    right: 0;
    height: 80px;
    background: #fff;
    clip-path: ellipse(55% 100% at 50% 0%);
    z-index: 1
}

.zpr-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: .28;
    z-index: 0;
    pointer-events: none
}

.zpr-blob-1 {
    width: 520px;
    height: 520px;
    top: -80px;
    right: -160px;
    background: radial-gradient(circle, #bfdbfe, transparent 65%)
}

.zpr-blob-2 {
    width: 440px;
    height: 440px;
    bottom: -60px;
    left: -120px;
    background: radial-gradient(circle, #ddd6fe, transparent 65%)
}

.zpr-blob-3 {
    width: 280px;
    height: 280px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(37, 99, 235, .12), transparent 65%)
}

.zpr-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px
}

/* ─── Header ──────────────────────────────────────────── */
.zpr-head {
    text-align: center;
    margin-bottom: 20px;
    position: relative;
    z-index: 2
}

.zpr-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(37, 99, 235, .08);
    color: #2563eb;
    font-weight: 800;
    font-size: .88rem;
    border: 1px solid rgba(37, 99, 235, .18);
    margin-bottom: 16px;
    letter-spacing: .04em
}

.zpr-kicker::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #2563eb;
    display: inline-block
}

.zpr-title {
    font-size: clamp(1.9rem, 2.8vw + .7rem, 2.9rem);
    font-weight: 900;
    line-height: 1.18;
    letter-spacing: -.03em;
    color: #0f172a;
    margin-bottom: 14px
}

.zpr-hl {
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent
}

.zpr-desc {
    color: #475569;
    font-size: 1.06rem;
    max-width: 500px;
    margin: 0 auto 32px;
    line-height: 1.8
}

/* ─── Toggle ──────────────────────────────────────────── */
.zpr-billing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 52px;
    position: relative;
    z-index: 2
}

.zpr-toggle-lbl {
    font-size: .95rem;
    font-weight: 700;
    color: #475569;
    transition: color .2s ease
}

.zpr-toggle-lbl.active {
    color: #0f172a
}

.zpr-toggle-wrap {
    position: relative;
    width: 52px;
    height: 28px;
    cursor: pointer
}

.zpr-toggle-wrap input {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute
}

.zpr-toggle-track {
    position: absolute;
    inset: 0;
    border-radius: 999px;
    background: #cbd5e1;
    transition: background .25s ease
}

.zpr-toggle-wrap input:checked+.zpr-toggle-track {
    background: linear-gradient(135deg, #2563eb, #4f46e5)
}

.zpr-toggle-thumb {
    position: absolute;
    top: 3px;
    right: 3px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 6px rgba(15, 23, 42, .20);
    transition: transform .25s cubic-bezier(.4, 0, .2, 1)
}

.zpr-toggle-wrap input:checked~.zpr-toggle-thumb {
    transform: translateX(-24px)
}

.zpr-save-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(16, 185, 129, .12);
    border: 1px solid rgba(16, 185, 129, .25);
    color: #059669;
    font-size: .78rem;
    font-weight: 800;
    white-space: nowrap
}

/* ─── Cards ───────────────────────────────────────────── */
.zpr-pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    position: relative;
    z-index: 2;
    margin-bottom: 48px;
    align-items: start
}

.zpr-card {
    background: #fff;
    border: 1px solid rgba(148, 163, 184, .28);
    border-radius: 26px;
    padding: 36px 32px 32px;
    position: relative;
    transition: transform .25s cubic-bezier(.4, 0, .2, 1), box-shadow .25s cubic-bezier(.4, 0, .2, 1);
    box-shadow: 0 4px 20px rgba(15, 23, 42, .06);
    overflow: hidden
}

.zpr-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 56px rgba(15, 23, 42, .12)
}

/* Featured */
.zpr-card-featured {
    background: linear-gradient(160deg, #1e3a8a 0%, #2563eb 45%, #4f46e5 100%);
    border-color: transparent;
    box-shadow: 0 24px 64px rgba(37, 99, 235, .38);
    transform: translateY(-8px) scale(1.02)
}

.zpr-card-featured:hover {
    transform: translateY(-14px) scale(1.02);
    box-shadow: 0 36px 80px rgba(37, 99, 235, .46)
}

.zpr-card-featured::before {
    content: "";
    position: absolute;
    inset: -3px;
    border-radius: 28px;
    background: conic-gradient(from var(--zpr-angle, 0deg), #60a5fa, #a78bfa, #4f46e5, #2563eb, #60a5fa);
    z-index: -1;
    animation: zprBorderSpin 6s linear infinite;
    opacity: .70
}

@property --zpr-angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false
}

@keyframes zprBorderSpin {
    to {
        --zpr-angle: 360deg
    }
}

.zpr-popular-badge {
    position: absolute;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .18);
    border: 1px solid rgba(255, 255, 255, .30);
    backdrop-filter: blur(8px);
    font-size: .78rem;
    font-weight: 800;
    color: #fff;
    white-space: nowrap;
    letter-spacing: .04em
}

.zpr-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
    margin-top: 6px
}

.zpr-icon-light {
    background: rgba(37, 99, 235, .09)
}

.zpr-icon-white {
    background: rgba(255, 255, 255, .18)
}

.zpr-icon-violet {
    background: rgba(124, 58, 237, .09)
}

.zpr-plan-name {
    font-size: 1.1rem;
    font-weight: 900;
    color: #0f172a;
    margin-bottom: 4px
}

.zpr-card-featured .zpr-plan-name {
    color: #fff
}

.zpr-tagline {
    font-size: .88rem;
    color: #64748b;
    margin-bottom: 24px;
    line-height: 1.5
}

.zpr-card-featured .zpr-tagline {
    color: rgba(255, 255, 255, .70)
}

.zpr-price-block {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(148, 163, 184, .22)
}

.zpr-card-featured .zpr-price-block {
    border-bottom-color: rgba(255, 255, 255, .18)
}

.zpr-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 4px
}

.zpr-currency {
    font-size: 1.1rem;
    font-weight: 800;
    color: #334155
}

.zpr-card-featured .zpr-currency {
    color: rgba(255, 255, 255, .80)
}

.zpr-amount {
    font-size: 3.0rem;
    font-weight: 900;
    letter-spacing: -.05em;
    line-height: 1;
    color: #0f172a;
    transition: all .3s ease
}

.zpr-card-featured .zpr-amount {
    color: #fff
}

.zpr-amount-custom {
    font-size: 2.0rem;
    letter-spacing: -.03em
}

.zpr-period {
    font-size: .88rem;
    color: #64748b;
    font-weight: 600
}

.zpr-card-featured .zpr-period {
    color: rgba(255, 255, 255, .65)
}

.zpr-billing-note {
    font-size: .80rem;
    color: #94a3b8;
    margin-top: 4px
}

.zpr-card-featured .zpr-billing-note {
    color: rgba(255, 255, 255, .55)
}

/* Features */
.zpr-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 11px;
    margin-bottom: 28px;
    padding: 0
}

.zpr-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: .91rem;
    color: #334155;
    line-height: 1.55
}

.zpr-card-featured .zpr-features li {
    color: rgba(255, 255, 255, .88)
}

.zpr-fcheck {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(37, 99, 235, .10);
    border: 1px solid rgba(37, 99, 235, .20);
    display: grid;
    place-items: center;
    font-size: .70rem;
    color: #2563eb;
    flex-shrink: 0;
    margin-top: 1px
}

.zpr-card-featured .zpr-fcheck {
    background: rgba(255, 255, 255, .18);
    border-color: rgba(255, 255, 255, .28);
    color: #fff
}

.zpr-fcheck-x {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(148, 163, 184, .12);
    border: 1px solid rgba(148, 163, 184, .22);
    display: grid;
    place-items: center;
    font-size: .70rem;
    color: #94a3b8;
    flex-shrink: 0;
    margin-top: 1px
}

.zpr-unavail {
    opacity: .50
}

/* CTA */
.zpr-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px 20px;
    border-radius: 999px;
    font-family: inherit;
    font-size: .97rem;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
    user-select: none
}

.zpr-btn-outline {
    background: transparent;
    border: 2px solid rgba(37, 99, 235, .30);
    color: #2563eb
}

.zpr-btn-outline:hover {
    background: rgba(37, 99, 235, .06);
    border-color: rgba(37, 99, 235, .55);
    transform: translateY(-2px)
}

.zpr-btn-white {
    background: #fff;
    color: #1d4ed8;
    box-shadow: 0 10px 28px rgba(0, 0, 0, .16)
}

.zpr-btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, .22)
}

.zpr-btn-solid {
    background: linear-gradient(135deg, #2563eb, #4f46e5);
    color: #fff;
    box-shadow: 0 10px 28px rgba(37, 99, 235, .30)
}

.zpr-btn-solid:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 36px rgba(37, 99, 235, .40)
}

/* ─── FAQ ─────────────────────────────────────────────── */
.zpr-faq-wrap {
    position: relative;
    z-index: 2;
    margin-bottom: 48px
}

.zpr-faq-head {
    text-align: center;
    margin-bottom: 32px
}

.zpr-faq-head h3 {
    font-size: 1.55rem;
    font-weight: 900;
    color: #0f172a;
    letter-spacing: -.02em
}

.zpr-faq-head p {
    color: #475569;
    font-size: .97rem;
    margin-top: 8px
}

.zpr-faq-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 780px;
    margin: 0 auto
}

.zpr-faq-item {
    background: #fff;
    border: 1px solid rgba(148, 163, 184, .28);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(15, 23, 42, .05);
    transition: box-shadow .2s ease, border-color .2s ease
}

.zpr-faq-item:hover {
    border-color: rgba(99, 102, 241, .28)
}

.zpr-faq-item.open {
    border-color: rgba(37, 99, 235, .28);
    box-shadow: 0 6px 22px rgba(37, 99, 235, .08)
}

.zpr-faq-q {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 22px;
    font-family: inherit;
    font-size: .97rem;
    font-weight: 800;
    color: #0f172a;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: right
}

.zpr-faq-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(37, 99, 235, .08);
    border: 1px solid rgba(37, 99, 235, .18);
    display: grid;
    place-items: center;
    flex-shrink: 0;
    color: #2563eb;
    font-size: 1rem;
    font-weight: 900;
    transition: transform .25s ease, background .2s ease;
    direction: ltr
}

.zpr-faq-item.open .zpr-faq-icon {
    transform: rotate(45deg);
    background: rgba(37, 99, 235, .14)
}

.zpr-faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height .38s cubic-bezier(.4, 0, .2, 1), padding .38s ease;
    font-size: .93rem;
    color: #475569;
    line-height: 1.78;
    padding: 0 22px
}

.zpr-faq-item.open .zpr-faq-a {
    max-height: 300px;
    padding: 0 22px 18px
}

/* ─── Guarantee ───────────────────────────────────────── */
.zpr-guarantee-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    position: relative;
    z-index: 2
}

.zpr-guar-item {
    background: #fff;
    border: 1px solid rgba(148, 163, 184, .25);
    border-radius: 20px;
    padding: 26px 22px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    box-shadow: 0 3px 14px rgba(15, 23, 42, .05);
    transition: transform .22s ease, box-shadow .22s ease
}

.zpr-guar-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(15, 23, 42, .09)
}

.zpr-guar-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-size: 1.35rem;
    flex-shrink: 0
}

.zpr-gi-green {
    background: rgba(16, 185, 129, .10)
}

.zpr-gi-blue {
    background: rgba(37, 99, 235, .09)
}

.zpr-gi-violet {
    background: rgba(124, 58, 237, .09)
}

.zpr-guar-text h4 {
    font-size: .97rem;
    font-weight: 900;
    color: #0f172a;
    margin-bottom: 5px
}

.zpr-guar-text p {
    font-size: .86rem;
    color: #64748b;
    line-height: 1.65
}

/* ─── Reveal ──────────────────────────────────────────── */
.zpr-reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .65s cubic-bezier(.4, 0, .2, 1), transform .65s cubic-bezier(.4, 0, .2, 1)
}

.zpr-reveal.is-on {
    opacity: 1;
    transform: translateY(0)
}

.elementor-editor-active .zpr-reveal,
.elementor-editor-preview .zpr-reveal {
    opacity: 1 !important;
    transform: translateY(0) !important;
    transition: none !important
}

@media(prefers-reduced-motion:reduce) {
    .zpr-reveal {
        transition: none;
        transform: none;
        opacity: 1
    }

    .zpr-card,
    .zpr-card-featured {
        transition: none;
        transform: none
    }

    .zpr-faq-a {
        transition: none
    }

    .zpr-card-featured::before {
        animation: none
    }
}

/* ─── Responsive ──────────────────────────────────────── */
@media(max-width:1024px) {
    .zpr-pricing-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px
    }

    .zpr-card-featured {
        transform: none;
        grid-column: span 2
    }

    .zpr-card-featured:hover {
        transform: translateY(-6px)
    }
}

@media(max-width:768px) {
    .zpr-guarantee-strip {
        grid-template-columns: 1fr
    }
}

@media(max-width:640px) {
    .zpr-sec {
        padding: 64px 0 72px
    }

    .zpr-pricing-grid {
        grid-template-columns: 1fr
    }

    .zpr-card-featured {
        grid-column: span 1
    }

    .zpr-card {
        padding: 28px 24px 26px
    }

    .zpr-amount {
        font-size: 2.5rem
    }

    .zpr-billing-toggle {
        gap: 10px
    }
}