/* Pricing Page Styles */

/* Pricing Page Styles */

/* Override body for pricing page */
body {
    background-color: #0F0F0F;
    /* Updated to match visualization BG */
    color: var(--white);
    font-family: var(--font-main);
    overflow-x: hidden;
    position: relative;
}

/* Unified Global Vignette Background */
.global-vignette-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    /* Was 0, now 1 to sit ON TOP of iframe */
    background-color: transparent;
    /* Let iframe BG show through if needed, or use darker base */

    /* Abstract layout of connecting vignettes - increased opacity for visibility */
    background-image:
        /* Global darkening vignette (edges) */
        radial-gradient(circle at 50% 50%, transparent 60%, rgba(0, 0, 0, 0.7) 100%),

        /* Top Hero Vignette (Pricing) - subtle glow */
        radial-gradient(circle at 50% 10%, rgba(60, 60, 60, 0.5) 0%, transparent 60%),

        /* Middle-Right Flow (FAQ) */
        radial-gradient(circle at 85% 35%, rgba(50, 50, 50, 0.4) 0%, transparent 50%),

        /* Middle-Left Flow (Testimonials) */
        radial-gradient(circle at 15% 60%, rgba(50, 50, 50, 0.4) 0%, transparent 50%),

        /* Bottom Foundation (Features) */
        radial-gradient(circle at 50% 85%, rgba(60, 60, 60, 0.5) 0%, transparent 60%),

        /* Subtle Gold Organic Accents */
        radial-gradient(circle at 20% 20%, rgba(212, 175, 55, 0.05) 0%, transparent 25%),
        radial-gradient(circle at 80% 70%, rgba(212, 175, 55, 0.05) 0%, transparent 25%);

    pointer-events: none;
}

/* Navbar - Match index.html navbar scrolled state */
.navbar {
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    z-index: 100;
    background: rgba(15, 15, 15, 0.95) !important;
    /* Updated to #0F0F0F base */
    backdrop-filter: blur(10px);
}

/* Subtle Background Visualization - Visible in center */
.visualization-background {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 85%;
    height: 85%;
    opacity: 0.4;
    z-index: 0;
    /* Was 1, moved to 0 to be behind vignette */
    pointer-events: none;
}

/* Pricing section with organic gradient transitions - no hard edges */
/* Pricing section - Transparent to show global background */
.pricing-section {
    padding: 8rem 2rem 6rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    background: transparent;
}

/* Removed previous transition hacks */
.pricing-section::before,
.pricing-section::after {
    display: none;
}

.pricing-header {
    text-align: center;
    max-width: 800px;
    margin-bottom: 4rem;
    position: relative;
    z-index: 3;
}

.pricing-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--white) 0%, var(--grey-light) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.pricing-subtitle {
    color: var(--grey-light);
    font-size: 1.2rem;
    line-height: 1.6;
}

/* Pricing Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    width: 100%;
    max-width: 1200px;
    padding: 1rem;
    position: relative;
    z-index: 3;
}

/* Pricing Card */
.pricing-card {
    background: rgba(26, 26, 26, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(212, 175, 55, 0.3);
}

/* Popular Badge */
.pricing-card.popular {
    background: rgba(26, 26, 26, 0.8);
    border-color: var(--gold);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.15);
}

.popular-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--gold);
    color: #000;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    text-transform: uppercase;
}

/* Card Content */
.plan-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.plan-price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--gold);
    margin-bottom: 2rem;
    display: flex;
    align-items: baseline;
}

.plan-period {
    font-size: 1rem;
    color: var(--grey-mid);
    font-weight: 400;
    margin-left: 0.5rem;
}

.plan-features {
    list-style: none;
    margin-bottom: 2.5rem;
    flex-grow: 1;
}

.plan-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--grey-light);
    font-size: 0.95rem;
}

.plan-features li i {
    color: var(--gold);
    font-size: 1rem;
}

.plan-features li.disabled {
    color: var(--grey-dark);
    text-decoration: line-through;
}

.plan-features li.disabled i {
    color: var(--grey-dark);
}

/* CTA Button */
.plan-btn {
    width: 100%;
    padding: 1rem;
    border-radius: 12px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.plan-btn.primary {
    background: var(--gold);
    color: #000;
    border: none;
}

.plan-btn.primary:hover {
    background: #f1c40f;
    transform: translateY(-2px);
}

.plan-btn.secondary {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.plan-btn.secondary:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.05);
}

/* Footer - Match index.html footer background */
.footer {
    background: var(--black) !important;
    position: relative;
    z-index: 11;
}

/* ================================
   FAQ Section
   ================================ */
/* ================================
   FAQ Section
   ================================ */
.faq-section {
    padding: 4rem 2rem 6rem;
    position: relative;
    z-index: 2;
    margin-top: 0;
    /* Reset negative margin */
    background: transparent;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--white) 0%, var(--grey-light) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtitle {
    color: var(--grey-light);
    font-size: 1.1rem;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(26, 26, 26, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.faq-item.active {
    border-color: rgba(212, 175, 55, 0.5);
    background: rgba(26, 26, 26, 0.8);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    cursor: pointer;
    user-select: none;
}

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--white);
    margin: 0;
    flex: 1;
    transition: color 0.3s ease;
}

.faq-item.active .faq-question h3 {
    color: var(--gold);
}

.faq-icon {
    color: var(--gold);
    font-size: 1.2rem;
    transition: transform 0.3s ease;
    margin-left: 1rem;
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 2rem 1.5rem;
}

.faq-answer p {
    color: var(--grey-light);
    line-height: 1.7;
    margin: 0;
}

/* Dynamic FAQ Elements */
.reset-time-link {
    color: var(--gold);
    cursor: pointer;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.reset-time-link:hover {
    color: #f1c40f;
}

.puzzle-counter {
    color: var(--gold);
    font-weight: 700;
    display: inline-block;
    min-width: 40px;
    text-align: center;
}

@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.puzzle-counter.animating {
    animation: countUp 0.5s ease-out;
}

/* ================================
   Testimonials Carousel
   ================================ */
.testimonials-section {
    padding: 6rem 2rem;
    position: relative;
    z-index: 2;
    background: transparent;
}

.testimonials-carousel-wrapper {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.testimonial-carousel {
    position: relative;
    overflow: visible;
    /* Changed to visible for box shadows */
    min-height: 300px;
}

.testimonial-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    background: rgba(26, 26, 26, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 3rem;
    text-align: center;
    box-sizing: border-box;
    /* Fix for alignment */
}

.testimonial-card.prev {
    transform: translateX(-100%);
}

.testimonial-card.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
    position: relative;
}

.testimonial-stars {
    color: var(--gold);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    gap: 0.3rem;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--grey-light);
    font-style: italic;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.testimonial-author {
    color: var(--white);
    font-size: 1rem;
}

.testimonial-author strong {
    color: var(--gold);
    font-weight: 600;
}

.testimonial-author span {
    color: var(--grey-mid);
    margin-left: 0.5rem;
}

/* Carousel Navigation */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--gold);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.carousel-btn:hover {
    background: rgba(212, 175, 55, 0.2);
    border-color: var(--gold);
    transform: translateY(-50%) scale(1.1);
}

.carousel-prev {
    left: -70px;
}

.carousel-next {
    right: -70px;
}

/* Carousel Dots */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot:hover {
    background: rgba(212, 175, 55, 0.5);
}

.dot.active {
    background: var(--gold);
    width: 30px;
    border-radius: 5px;
}

/* ================================
   Features Showcase
   ================================ */
.features-section {
    padding: 6rem 2rem;
    position: relative;
    z-index: 2;
    background: transparent;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.feature-card {
    background: rgba(26, 26, 26, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2.5rem;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(212, 175, 55, 0.1));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--gold);
    font-size: 1.8rem;
}

.feature-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.75rem;
}

.feature-description {
    color: var(--grey-light);
    line-height: 1.7;
    font-size: 0.95rem;
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .pricing-title {
        font-size: 2.5rem;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }

    .section-title {
        font-size: 2rem;
    }

    .faq-question {
        padding: 1.2rem 1.5rem;
    }

    .faq-question h3 {
        font-size: 1rem;
    }

    .faq-item.active .faq-answer {
        padding: 0 1.5rem 1.2rem;
    }

    .testimonial-card {
        padding: 2rem 1.5rem;
    }

    .testimonial-text {
        font-size: 1rem;
    }

    .carousel-prev {
        left: 10px;
    }

    .carousel-next {
        right: 10px;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .feature-card {
        padding: 2rem 1.5rem;
    }

    .feature-title {
        font-size: 1.1rem;
    }
}

/* Notification Toast styles removed - using global notifications.css */