/* Pricing Components */
.pricing-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}
.pricing-tab {
    padding: 10px 24px;
    border-radius: 999px;
    border: 2px solid var(--line);
    background: transparent;
    font: inherit;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    color: var(--muted);
    transition: all .2s;
}
.pricing-tab:hover { border-color: var(--blue); color: var(--blue); }
.pricing-tab.active { background: var(--blue); border-color: var(--blue); color: #fff; }

.billing-toggle {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    margin-bottom: 50px;
}
.billing-toggle span {
    font-weight: 700;
    font-size: 15px;
    color: var(--muted);
    cursor: pointer;
    transition: color .2s;
    display: flex;
    align-items: center;
    gap: 8px;
}
.billing-toggle span.active { color: var(--ink); }
.save-badge {
    background: #10b981;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 999px;
    letter-spacing: .02em;
}
.billing-switch {
    width: 52px;
    height: 28px;
    border-radius: 999px;
    background: #cbd5e1;
    position: relative;
    cursor: pointer;
    border: none;
    transition: background .2s;
}
.billing-switch::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #fff;
    transition: transform .2s;
    box-shadow: 0 2px 4px rgba(0,0,0,.15);
}
.billing-switch.lifetime { background: var(--blue); }
.billing-switch.lifetime::after { transform: translateX(24px); }

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
    align-items: start;
}
@media (max-width: 900px) { .pricing-grid { grid-template-columns: 1fr; max-width: 440px; margin-inline: auto; } }

.pricing-card {
    background: #fff;
    border: 2px solid var(--line);
    border-radius: 20px;
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform .2s, box-shadow .2s, border-color .2s;
}
.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(12,35,64,.1);
}
.pricing-card.popular {
    border-color: var(--blue);
    box-shadow: 0 8px 40px rgba(22,104,232,.15);
}

.plan-badge {
    display: inline-block;
    background: var(--soft);
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 999px;
    margin-bottom: 16px;
    letter-spacing: .02em;
}

.popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--blue);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    padding: 6px 20px;
    border-radius: 999px;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(22,104,232,.3);
}

.pricing-card h3 {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -.02em;
    margin: 0 0 8px;
    color: var(--ink);
}

.plan-description {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.5;
    margin: 0 0 24px;
    min-height: 42px;
}

.price-block {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line);
}

.price-amount {
    font-size: 42px;
    font-weight: 900;
    letter-spacing: -.03em;
    color: var(--ink);
    line-height: 1;
    margin-bottom: 6px;
}

.price-currency {
    font-size: 20px;
    font-weight: 700;
    color: var(--blue);
    vertical-align: super;
    margin-right: 2px;
}

.price-period {
    font-size: 13px;
    color: var(--muted);
    font-weight: 500;
}

.install-note {
    background: #fef3c7;
    border: 1px solid #fde68a;
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 13px;
    color: #92400e;
    margin-bottom: 20px;
    font-weight: 600;
}

.pricing-card .feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    flex: 1;
}

.pricing-card .feature-list li {
    padding: 9px 0;
    font-size: 14px;
    color: var(--ink);
    display: flex;
    align-items: flex-start;
    gap: 10px;
    border-bottom: 1px solid var(--soft);
}

.pricing-card .feature-list li:last-child { border-bottom: none; }

.pricing-card .feature-list li::before {
    content: '✓';
    color: #10b981;
    font-weight: 800;
    font-size: 15px;
    flex-shrink: 0;
    margin-top: 1px;
}

.pricing-card .feature-list li.excluded {
    color: var(--muted);
}

.pricing-card .feature-list li.excluded::before {
    content: '✗';
    color: #cbd5e1;
}

.pricing-card .card-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: auto;
}

.pricing-card .card-actions .btn {
    width: 100%;
    justify-content: center;
    font-size: 15px;
    font-weight: 700;
    padding: 14px 24px;
}

.pricing-card .card-actions .btn-primary {
    background: var(--blue);
    color: #fff;
}

.pricing-card .card-actions .btn-whatsapp {
    background: #10b981;
    color: #fff;
}

.pricing-card.popular .card-actions .btn-primary {
    background: var(--blue);
}

/* Product-specific pricing sections on landing pages */
.product-pricing {
    padding: 82px 0;
}
.product-pricing .section-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 38px;
}
.product-pricing .section-head h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: -.035em;
}
.product-pricing .section-head p {
    color: var(--muted);
    margin-top: 10px;
}

/* Pricing comparison row */
.plan-limit {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--soft);
    border-radius: 8px;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 16px;
}
.plan-limit .label { color: var(--muted); font-weight: 600; }
