/* Plans Hero */
.plans-hero {
    background: linear-gradient(135deg, #524594 0%, #3d3470 100%);
    color: #FAF2E0;
    text-align: center;
    padding: 8rem 2rem 5rem;
    margin-top: 80px;
}

.plans-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.plans-hero-badge {
    display: inline-block;
    background: #EBE554;
    color: #524594;
    padding: 0.4rem 1.2rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.plans-hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 1.5rem;
}

.plans-hero-highlight {
    font-size: 1.3rem;
    margin-bottom: 2rem;
}

.discount-big {
    background: #EBE554;
    color: #524594;
    padding: 0.2rem 0.8rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.5rem;
}

/* Billing Toggle */
.billing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.toggle-label {
    font-size: 1rem;
    color: #888;
    cursor: pointer;
    transition: color 0.3s;
}

.toggle-label.active {
    color: #524594;
    font-weight: 600;
}

.save-badge {
    background: #EBE554;
    color: #524594;
    padding: 0.15rem 0.5rem;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 600;
}

.toggle-switch {
    position: relative;
    width: 50px;
    height: 26px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background: #ccc;
    border-radius: 26px;
    transition: 0.3s;
}

.toggle-slider::before {
    content: "";
    position: absolute;
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background: white;
    border-radius: 50%;
    transition: 0.3s;
}

.toggle-switch input:checked + .toggle-slider {
    background: #524594;
}

.toggle-switch input:checked + .toggle-slider::before {
    transform: translateX(24px);
}

/* Plans Section */
.plans-section {
    padding: 5rem 0;
    background: #fff;
}

.plans-intro {
    text-align: center;
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: start;
}

/* Plan Card */
.plan-card {
    background: #fff;
    border: 2px solid #e8e8e8;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.plan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.plan-card.featured {
    border-color: #524594;
    box-shadow: 0 10px 30px rgba(82, 69, 148, 0.2);
    transform: scale(1.05);
}

.plan-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.plan-card.premium {
    border-color: #EBE554;
}

.plan-popular {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: #524594;
    color: #FAF2E0;
    padding: 0.3rem 1.5rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
}

.plan-header h3 {
    font-size: 1.8rem;
    color: #524594;
    margin-bottom: 0.5rem;
}

.plan-tagline {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

/* Pricing */
.plan-pricing {
    margin-bottom: 2rem;
    min-height: 100px;
}

.price-old {
    text-decoration: line-through;
    color: #999;
    font-size: 1.1rem;
}

.discount-badge {
    display: inline-block;
    background: #e74c3c;
    color: white;
    padding: 0.15rem 0.5rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-left: 0.3rem;
}

.price-current {
    font-size: 2.5rem;
    font-weight: 700;
    color: #524594;
    margin-top: 0.5rem;
}

.price-period {
    font-size: 1rem;
    font-weight: 400;
    color: #888;
}

.price-monthly-equiv {
    font-size: 0.85rem;
    color: #666;
    margin-top: 0.3rem;
}

/* Features List */
.plan-features {
    list-style: none;
    text-align: left;
    margin-bottom: 2rem;
}

.plan-features li {
    padding: 0.6rem 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.95rem;
}

.plan-features li:last-child {
    border-bottom: none;
}

.plan-features li.included {
    color: #333;
}

.plan-features li.not-included {
    color: #ccc;
}

/* Plan CTA */
.plan-cta {
    display: inline-block;
    width: 100%;
    padding: 1rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #FAF2E0;
    color: #524594;
    border: 2px solid #524594;
}

.plan-cta:hover {
    background: #524594;
    color: #FAF2E0;
}

.featured-cta {
    background: #524594;
    color: #FAF2E0;
    border-color: #524594;
}

.featured-cta:hover {
    background: #3d3470;
    border-color: #3d3470;
}

.premium-cta {
    background: #EBE554;
    color: #524594;
    border-color: #EBE554;
}

.premium-cta:hover {
    background: #d9d340;
    border-color: #d9d340;
}

.plans-guarantee {
    text-align: center;
    margin-top: 2.5rem;
    color: #666;
    font-size: 0.95rem;
}

/* Features Section */
.features-section {
    padding: 5rem 0;
    background: #FAF2E0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: #fff;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-3px);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: #524594;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.feature-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Social Proof */
.social-proof {
    padding: 3rem 0;
    background: #524594;
    color: #FAF2E0;
}

.proof-stats {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.85;
}

/* FAQ Section */
.faq-section {
    padding: 5rem 0;
    background: #fff;
}

.faq-list {
    max-width: 700px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid #e8e8e8;
}

.faq-question {
    width: 100%;
    padding: 1.2rem 0;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.05rem;
    font-weight: 600;
    color: #524594;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: inherit;
}

.faq-question::after {
    content: "+";
    font-size: 1.5rem;
    font-weight: 300;
    transition: transform 0.3s;
}

.faq-item.active .faq-question::after {
    content: "−";
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding-bottom: 1.2rem;
}

.faq-answer p {
    color: #666;
    line-height: 1.6;
}

/* Final CTA */
.final-cta {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, #FAF2E0 0%, #f5ead6 100%);
    text-align: center;
}

.final-cta h2 {
    font-size: 2.2rem;
    color: #524594;
    margin-bottom: 1rem;
}

.final-cta p {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* Promo Modal */
.promo-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.6);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.promo-overlay.active {
    opacity: 1;
    visibility: visible;
}

.promo-modal {
    background: #fff;
    border-radius: 20px;
    padding: 3rem 2.5rem;
    max-width: 480px;
    width: 90%;
    text-align: center;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.promo-overlay.active .promo-modal {
    transform: scale(1);
}

.promo-close {
    position: absolute;
    top: 1rem;
    right: 1.2rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #999;
    line-height: 1;
}

.promo-close:hover {
    color: #333;
}

.promo-badge {
    display: inline-block;
    background: #e74c3c;
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
}

.promo-modal h2 {
    color: #524594;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.promo-modal .promo-product {
    color: #888;
    margin-bottom: 1.5rem;
}

.promo-price-block {
    margin-bottom: 1.5rem;
}

.promo-price-old {
    text-decoration: line-through;
    color: #999;
    font-size: 1.3rem;
}

.promo-price-new {
    font-size: 3rem;
    font-weight: 700;
    color: #524594;
    display: block;
}

.promo-price-new span {
    font-size: 1rem;
    font-weight: 400;
    color: #888;
}

.promo-features {
    list-style: none;
    text-align: left;
    margin-bottom: 2rem;
    padding: 0;
}

.promo-features li {
    padding: 0.4rem 0;
    color: #555;
    font-size: 0.95rem;
}

.promo-cta {
    display: inline-block;
    width: 100%;
    padding: 1rem;
    background: #524594;
    color: #FAF2E0;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: background 0.3s;
    margin-bottom: 0.8rem;
}

.promo-cta:hover {
    background: #3d3470;
}

.promo-dismiss {
    color: #999;
    font-size: 0.85rem;
    cursor: pointer;
    background: none;
    border: none;
    font-family: inherit;
}

.promo-dismiss:hover {
    color: #666;
}

/* Responsive */
@media (max-width: 900px) {
    .plans-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
        margin: 0 auto;
    }

    .plan-card.featured {
        transform: none;
    }

    .plan-card.featured:hover {
        transform: translateY(-5px);
    }

    .plans-hero h1 {
        font-size: 2.5rem;
    }

    .proof-stats {
        gap: 1.5rem;
    }

    .stat-number {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .plans-hero {
        padding: 6rem 1rem 3rem;
    }

    .plans-hero h1 {
        font-size: 2rem;
    }

    .price-current {
        font-size: 2rem;
    }

    .promo-modal {
        padding: 2rem 1.5rem;
    }

    .promo-price-new {
        font-size: 2.5rem;
    }
}

/* Floating Promo Button */
.floating-promo {
    position: fixed;
    top: 5.5rem;
    left: 1.5rem;
    background: linear-gradient(135deg, #524594, #3d3470);
    color: #FAF2E0;
    border: none;
    padding: 0.9rem 1.5rem;
    border-radius: 50px;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    z-index: 999;
    box-shadow: 0 6px 20px rgba(82, 69, 148, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: floatPulse 3s ease-in-out infinite;
}

.floating-promo:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 28px rgba(82, 69, 148, 0.55);
    animation: none;
}

@keyframes floatPulse {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

@media (max-width: 480px) {
    .floating-promo {
        top: 5rem;
        left: 1rem;
        font-size: 0.9rem;
        padding: 0.75rem 1.2rem;
    }
}

/* Promo Code Modal */
.promo-code-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.6);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.promo-code-overlay.active {
    opacity: 1;
    visibility: visible;
}

.promo-code-modal {
    background: #fff;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    max-width: 440px;
    width: 90%;
    text-align: center;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.promo-code-overlay.active .promo-code-modal {
    transform: scale(1);
}

.promo-code-modal h2 {
    color: #524594;
    font-size: 1.5rem;
    margin-bottom: 0.3rem;
}

.promo-code-subtitle {
    color: #888;
    margin-bottom: 1.5rem;
}

.promo-code-section {
    margin-bottom: 1.5rem;
}

.promo-code-toggle {
    color: #524594;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: opacity 0.2s;
}

.promo-code-toggle:hover {
    opacity: 0.7;
}

.promo-code-input-area {
    margin-top: 1rem;
}

.promo-code-row {
    display: flex;
    gap: 0.5rem;
}

.promo-code-input {
    flex: 1;
    padding: 0.7rem 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s;
}

.promo-code-input:focus {
    border-color: #524594;
}

.promo-code-apply {
    padding: 0.7rem 1.2rem;
    background: #524594;
    color: #FAF2E0;
    border: none;
    border-radius: 10px;
    font-family: inherit;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.promo-code-apply:hover {
    background: #3d3470;
}

.promo-code-success {
    color: #27ae60;
    font-weight: 600;
    margin-top: 0.7rem;
    font-size: 0.95rem;
}

.promo-code-error {
    color: #e74c3c;
    font-weight: 500;
    margin-top: 0.7rem;
    font-size: 0.9rem;
}