/* --- PRICING PAGE SPECIFIC CSS --- */

.pricing-section {
    padding: 6rem 0;
    position: relative;
    z-index: 10;
}

/* Security Pill Centering Fix */
.secure-checkout-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-bottom: 2rem;
}

.secure-checkout-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #10b981;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    margin: 0; /* Margins removed, wrapper handles centering */
}

/* 3-Way Toggle Switch */
.pricing-toggle-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.pricing-toggle {
    display: inline-flex;
    background: rgba(13, 17, 22, 0.8);
    border: 1px solid var(--border-color, #1e293b);
    border-radius: 50px;
    padding: 6px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.toggle-btn {
    background: transparent;
    border: none;
    color: var(--text-muted, #94a3b8);
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 40px;
    cursor: pointer;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.toggle-btn.active {
    color: #fff;
}

/* The Sliding Highlight */
.toggle-highlighter {
    position: absolute;
    top: 6px;
    bottom: 6px;
    left: 6px;
    width: calc(33.33% - 4px);
    background: var(--primary, #007bff);
    border-radius: 40px;
    z-index: 1;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), width 0.4s;
    box-shadow: 0 4px 15px var(--primary-glow, rgba(0, 123, 255, 0.4));
}

/* Toggle States */
.pricing-toggle[data-active="monthly"] .toggle-highlighter { transform: translateX(0); width: 105px; }
.pricing-toggle[data-active="yearly"] .toggle-highlighter { transform: translateX(105px); width: 140px; }
.pricing-toggle[data-active="lifetime"] .toggle-highlighter { transform: translateX(245px); width: 110px; }

/* Savings Badge on Toggle */
.toggle-badge {
    position: absolute;
    top: -12px;
    right: 5px;
    background: #10b981;
    color: #fff;
    font-size: 0.7rem;
    padding: 3px 8px;
    border-radius: 20px;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(16, 185, 129, 0.4);
    pointer-events: none;
}

/* 3-Column Pricing Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1250px;
    margin: 0 auto;
}

/* Plan Cards */
.plan-card {
    background: var(--bg-card, rgba(13, 17, 22, 0.6));
    border: 1px solid var(--border-color, rgba(255, 255, 255, 0.05));
    border-radius: 20px;
    padding: 3rem 2.5rem;
    position: relative;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

.plan-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.6);
}

/* THEMES */
.plan-card.theme-blue { 
    --plan-accent: var(--primary, #007bff); 
    --plan-glow: var(--primary-glow, rgba(0, 123, 255, 0.4)); 
}

.plan-card.theme-purple { 
    --plan-accent: #a855f7; 
    --plan-glow: rgba(168, 85, 247, 0.4); 
    border-color: rgba(168, 85, 247, 0.3);
    background: linear-gradient(180deg, rgba(168, 85, 247, 0.03) 0%, var(--bg-card) 100%);
}

.plan-card.theme-gold { 
    --plan-accent: var(--gold, #f5b041); 
    --plan-glow: rgba(245, 176, 65, 0.4); 
    border-color: rgba(245, 176, 65, 0.3);
    background: linear-gradient(180deg, rgba(245, 176, 65, 0.05) 0%, var(--bg-card) 100%);
}

.plan-card.theme-purple:hover,
.plan-card.theme-gold:hover {
    border-color: var(--plan-accent);
    box-shadow: 0 20px 50px rgba(0,0,0,0.6), inset 0 0 20px rgba(255, 255, 255, 0.02);
}

/* Recommended Ribbon */
.recommended-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--plan-accent);
    color: #fff;
    padding: 6px 18px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px var(--plan-glow);
    white-space: nowrap;
}

/* Header Elements */
.plan-header {
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 2rem;
    margin-bottom: 2rem;
}

.plan-icon {
    font-size: 3rem;
    color: var(--plan-accent);
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 10px var(--plan-glow));
}

.plan-card h3 {
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 0.5rem;
}

.plan-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    min-height: 45px;
}

/* Price Elements */
.plan-price-wrap {
    display: flex;
    justify-content: center;
    align-items: baseline;
    margin-bottom: 0.5rem;
    height: 60px;
}

.price-currency { font-size: 1.5rem; font-weight: 600; color: #fff; vertical-align: top; margin-top: 5px; }
.price-amount { font-size: 3.5rem; font-weight: 800; color: #fff; line-height: 1; }
.price-period { font-size: 1rem; color: var(--text-muted); margin-left: 5px; }

.original-price {
    font-size: 1.1rem;
    color: #ef4444; 
    font-weight: 600;
    margin-top: -15px;
    margin-bottom: 5px;
}

.plan-billed {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    min-height: 20px;
}

.dynamic-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 6px;
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
    font-size: 0.8rem;
    font-weight: 700;
    min-height: 25px;
    opacity: 1;
    transition: opacity 0.3s;
}

.theme-gold .dynamic-badge {
    background: rgba(245, 176, 65, 0.1);
    color: var(--gold, #f5b041);
    border-color: rgba(245, 176, 65, 0.3);
}

.dynamic-badge.hidden { opacity: 0; }

.plan-action {
    margin-top: 2rem;
    width: 100%;
}
.plan-action .btn { width: 100%; font-size: 1.1rem; padding: 1rem; }
.plan-card.theme-purple .btn,
.plan-card.theme-gold .btn { 
    background: var(--plan-accent); 
    border-color: var(--plan-accent); 
    box-shadow: 0 4px 15px var(--plan-glow); 
    color: #fff; 
}
.plan-card.theme-purple .btn:hover,
.plan-card.theme-gold .btn:hover { 
    filter: brightness(1.1); 
    transform: translateY(-2px); 
}

/* Features List */
.plan-features {
    margin-top: 2.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.feature-title {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    color: #cbd5e1;
}

.feature-item.excluded {
    color: #475569;
}

.feature-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 2px;
}
.included .feature-icon { color: var(--plan-accent); }
.excluded .feature-icon { color: #334155; }
.feature-text.bold { font-weight: 700; color: #fff; }

/* Secondary Action Button (e.g. Max Lifetime Info) */
.plan-secondary-action {
    margin-top: 1.5rem;
}
.plan-secondary-action .btn-outline {
    width: 100%;
    padding: 0.75rem;
    font-size: 0.9rem;
    border: 1px dashed rgba(255, 255, 255, 0.2);
    color: var(--text-muted);
    background: transparent;
    transition: all 0.2s ease;
}
.plan-secondary-action .btn-outline:hover {
    border-color: var(--plan-accent);
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

/* Payment Methods */
.payment-methods {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
    opacity: 0.5;
}
.payment-methods iconify-icon { font-size: 1.8rem; }

/* Secure Payments & Disclaimer */
.secure-payments-wrapper {
    margin-top: 3rem;
    display: flex;
    justify-content: center; 
    width: 100%;
}

.secure-payments-img {
    max-height: 35px;
    opacity: 0.85;
    filter: drop-shadow(0 2px 10px rgba(255, 255, 255, 0.05));
    transition: opacity 0.3s ease;
}
.secure-payments-img:hover { opacity: 1; }

.pricing-disclaimer {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    max-width: 800px;
    margin-inline: auto;
    opacity: 0.8;
}

/* ====================================================
   WIZARD STYLES
==================================================== */
.wizard-cta-wrapper {
    margin-top: 4rem;
    display: flex;
    justify-content: center;
}

.wizard-trigger-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(168, 85, 247, 0.1);
    border: 1px solid rgba(168, 85, 247, 0.4);
    color: #c084fc;
    padding: 14px 30px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.15);
    animation: pulseGlow 3s infinite alternate;
}

.wizard-trigger-btn:hover {
    background: rgba(168, 85, 247, 0.2);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(168, 85, 247, 0.3);
}

.wizard-trigger-btn iconify-icon {
    font-size: 1.4rem;
}

@keyframes pulseGlow {
    0% { box-shadow: 0 0 15px rgba(168, 85, 247, 0.1); }
    100% { box-shadow: 0 0 30px rgba(168, 85, 247, 0.4); }
}

/* Modal Overlay */
.wizard-modal {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(10, 12, 16, 0.85);
    backdrop-filter: blur(12px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.wizard-modal.active {
    opacity: 1;
    visibility: visible;
}

/* Modal Box */
.wizard-box {
    background: rgba(13, 17, 22, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    max-width: 600px;
    border-radius: 20px;
    position: relative;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 30px 60px rgba(0,0,0,0.8), inset 0 0 20px rgba(255,255,255,0.02);
    overflow: hidden;
}

.wizard-modal.active .wizard-box {
    transform: translateY(0);
}

.wizard-close {
    position: absolute;
    top: 20px; right: 20px;
    background: rgba(255,255,255,0.05);
    border: none;
    color: #94a3b8;
    width: 36px; height: 36px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    z-index: 10;
}

.wizard-close:hover {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

/* Progress Bar */
.wizard-progress {
    height: 4px;
    background: rgba(255,255,255,0.05);
    width: 100%;
    position: absolute;
    top: 0; left: 0;
}
.wizard-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #007bff, #a855f7);
    width: 0%;
    transition: width 0.4s ease;
}

/* Content Area */
.wizard-content {
    padding: 3rem 2.5rem;
}

.wizard-step {
    display: none;
    animation: fadeIn 0.4s ease;
}

.wizard-step.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateX(10px); }
    to { opacity: 1; transform: translateX(0); }
}

.wizard-header h3 {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 0.5rem;
}
.wizard-header p {
    color: #94a3b8;
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

/* Option Cards */
.wizard-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.wizard-option {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 16px 20px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
    text-align: left;
    color: #cbd5e1;
}

.wizard-option:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.wizard-option iconify-icon {
    font-size: 1.6rem;
    color: #a855f7;
}

.wizard-option-text strong {
    display: block;
    color: #fff;
    font-size: 1.05rem;
    margin-bottom: 4px;
}
.wizard-option-text span {
    font-size: 0.85rem;
    color: #64748b;
}

/* Result Step */
.wizard-result-box {
    text-align: center;
}
.result-icon {
    font-size: 4rem;
    color: #10b981;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 20px rgba(16, 185, 129, 0.3));
}
.wizard-result-box h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    background: -webkit-linear-gradient(45deg, #00d2ff, #3a7bd5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.wizard-result-box p.lead-rec {
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 1.5rem;
}

.result-highlights {
    background: rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: left;
    margin-bottom: 2rem;
}
.result-highlights h4 {
    font-size: 0.9rem;
    text-transform: uppercase;
    color: #94a3b8;
    margin-bottom: 12px;
    letter-spacing: 1px;
}
.result-highlights ul {
    list-style: none;
    padding: 0; margin: 0;
}
.result-highlights li {
    font-size: 0.95rem;
    color: #cbd5e1;
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}
.result-highlights li iconify-icon {
    color: #a855f7;
    margin-top: 3px;
}

/* ====================================================
   FEATURE COMPARISON CTA (BOTTOM)
==================================================== */
.compare-cta-section {
    padding: 4rem 0 6rem 0;
    position: relative;
    z-index: 10;
}

.compare-cta-box {
    background: rgba(13, 17, 22, 0.8);
    border: 1px solid rgba(0, 123, 255, 0.2);
    border-radius: 20px;
    padding: 3rem;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5), inset 0 0 30px rgba(0, 123, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.compare-cta-box::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, transparent, #007bff, transparent);
}

.compare-cta-box h3 {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 1rem;
}

.compare-cta-box p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
    .pricing-grid { gap: 1rem; }
    .plan-card { padding: 2rem 1.5rem; }
}

@media (max-width: 992px) {
    .pricing-grid { grid-template-columns: 1fr; max-width: 500px; gap: 2.5rem; }
    .wizard-content { padding: 2rem 1.5rem; }
    .compare-cta-box { padding: 2rem; }
}

@media (max-width: 480px) {
    .pricing-toggle { transform: scale(0.9); }
}