/* Bundles Redesign CSS */

/* CSS Variables for consistent theming */
:root {
    --gm-grey: #E5E7EB;
    --gm-white: #FFFFFF;
    --gm-primary: #6D28D9;
    --gm-purple: #6366F1;
    --gm-purple-hover: #5A52E0;
}

/* Hero Section */
.bundles-hero {
    padding: 80px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.bundles-hero::before {
    content: '';
    position: absolute;
    top: -80px;
    left: 0;
    right: 0;
    bottom: -150px;
    background-image: 
        linear-gradient(to right, #D1D5DB 1px, transparent 1px),
        linear-gradient(to bottom, #D1D5DB 1px, transparent 1px);
    background-size: 32px 32px;
    opacity: 0.25;
    z-index: 0;
    mask-image: radial-gradient(ellipse 90% 70% at 50% 40%, black 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 40%, black 30%, transparent 80%);
}



.bundles-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: #1F2937;
    letter-spacing: -0.02em;
    position: relative;
    z-index: 1;
}

@media (max-width: 991px) {
    .bundles-hero {
        padding: 60px 0 40px;
    }
    
    .bundles-hero h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .bundles-hero {
        padding: 90px 0 40px;  /* Increased top padding for mobile */
    }
    
    .bundles-hero h1 {
        font-size: 2.25rem;
    }
}

.bundles-hero .subtitle {
    font-size: 1.25rem;
    color: #6B7280;
    margin-bottom: 1.5rem;
    font-weight: 400;
    position: relative;
    z-index: 1;
}

/* Stats Bar */
.stats-bar {
    background: linear-gradient(135deg, #F0F9FF 0%, #EEF2FF 100%);
    border: 1px solid #E0E7FF;
    border-radius: 16px;
    padding: 12px 16px;
    margin: 0 auto 1.5rem;
    display: table;
    position: relative;
    z-index: 1;
}

.stats-bar-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.stats-bar-label {
    font-size: 0.9rem;
    color: #4B5563;
    margin-right: 0.5rem;
    font-weight: 500;
}

.stats-bar-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: #1F2937;
    font-weight: 500;
    font-size: 0.9rem;
}

.stats-bar-item svg {
    flex-shrink: 0;
}

.stats-bar-icon {
    width: 20px;
    height: 20px;
}

.stats-bar-link {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease;
}

.stats-bar-link:hover {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid var(--gm-purple);
}

/* Pricing Toggle */
.pricing-toggle-container {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.pricing-toggle {
    display: inline-flex;
    background: var(--gm-white);
    border: 1px solid #E5E7EB;
    border-radius: 28px;
    padding: 3px;
    position: relative;
}

.pricing-toggle .toggle-btn {
    padding: 10px 24px;
    border: none;
    background: transparent;
    color: #6B7280;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    border-radius: 24px;
    transition: all 0.2s ease;
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.pricing-toggle .toggle-btn:hover:not(.active) {
    color: #374151;
}

.pricing-toggle .toggle-btn.active {
    background: var(--gm-purple);
    color: var(--gm-white);
    font-weight: 600;
}

.pricing-toggle .toggle-btn.active .save-badge {
    background: rgba(255, 255, 255, 0.2);
    color: var(--gm-white);
}

.pricing-toggle .save-badge {
    display: inline-block;
    background: #EDE9FE;
    color: var(--gm-purple);
    padding: 0.125rem 0.5rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-left: 0.25rem;
}

/* Bundle Cards Grid */
.bundles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(345px, 1fr));
    gap: 1.5rem;
    margin-bottom: 4rem;
    padding: 10px 0 0;
    overflow: visible;
}

@media (min-width: 1400px) {
    .bundles-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 992px) and (max-width: 1399px) {
    .bundles-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .bundles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Bundle Card */
.bundle-card {
    background: var(--gm-white);
    border: 1px solid var(--gm-grey);
    border-radius: 16px;
    padding: 28px;
    padding-top: 32px;
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 600px;
}

.bundle-card.featured {
    border-color: var(--gm-primary);
    border-width: 2px;
    background: var(--gm-white);
}

/* Best Value Badge */
.best-value-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gm-purple);
    color: white;
    padding: 6px 18px;
    border-radius: 24px;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    z-index: 10;
}

.bundle-card-header {
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
}

.bundle-card-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: #111827;
    letter-spacing: -0.01em;
}

.bundle-card-subtitle {
    font-size: 0.95rem;
    color: #6B7280;
    line-height: 1.5;
    font-weight: 400;
    margin-bottom: 0.75rem;
}

.bundle-target {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
    margin: 0;
}

/* Different colors for each bundle's target pill */
.bundle-card.featured .bundle-target {
    background: #ffd4e5;
    color: #000000;
}

.bundle-card:nth-child(2) .bundle-target {
    background: #F4F79F;
    color: #000000;
}

.bundle-card:nth-child(3) .bundle-target {
    background: #9FF7C5;
    color: #000000;
}

.bundle-card:nth-child(4) .bundle-target {
    background: #B3E5FC;
    color: #000000;
}

/* Bundle Features List */
.bundle-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.75rem;
    flex-grow: 1;
}

.bundle-features li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 14px;
    font-size: 0.95rem;
    color: #374151;
    line-height: 1.4;
}

.bundle-features li strong {
    font-weight: 600;
    color: #111827;
}

.bundle-features li .feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    color: #6860F8;  /* Purple color for checkmarks */
}

/* Features divider - consistent spacing for all cards */
.bundle-features-divider {
    height: 1px;
    background-color: #E5E7EB;
    margin: 0.5rem 0 1.5rem 0;
}

.bundle-features-section {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.bundle-features-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: #6B7280;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.bundle-features-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.875rem;
    font-size: 0.95rem;
    color: #374151;
    line-height: 1.5;
}

.bundle-features-item .feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    color: #6860F8;  /* Purple color for checkmarks */
}

.bundle-features-item strong {
    font-weight: 600;
    color: #111827;
}

.bundle-features-item .feature-link {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease;
}

.bundle-features-item .feature-link:hover {
    text-decoration: none;
    border-bottom: 1px solid var(--gm-purple);
}

.bundle-features-plus {
    margin-top: 0;
}

.bundle-plus-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #6B7280;
    margin-bottom: 0.5rem;
    margin-top: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Pricing Section - Applied to all cards for consistency */
.bundle-pricing {
    margin-top: auto;
    margin: auto -28px -28px;
    padding: 10px 28px 28px;
    border-radius: 0 0 14px 14px;
}

.bundle-price {
    display: flex;
    align-items: center; /* Center content vertically */
    margin-bottom: 0.75rem;
    justify-content: center;
    min-height: 3rem; /* Prevent layout shift - increased for better spacing */
}

.bundle-price .currency {
    font-size: 1.125rem;
    font-weight: 700;
    color: #111827;
}

.bundle-price .amount {
    font-size: 2.25rem;
    font-weight: 800;
    color: #111827;
    margin: 0 2px;
    letter-spacing: -0.02em;
    min-width: 90px;
    text-align: center;
    display: inline-block;
}

.bundle-price .period {
    font-size: 0.95rem;
    color: #6B7280;
    font-weight: 500;
    min-width: 65px;
    text-align: left;
    display: inline-block;
}

.bundle-price-subtext {
    font-size: 0.9rem;
    color: #6B7280;
    margin-bottom: 1.25rem;
    text-align: center;
    min-height: 1.2em;
}

/* Bundle CTA Button */
.bundle-cta {
    width: 100%;
    padding: 12px 24px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s ease;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    align-self: stretch;
    letter-spacing: 0.01em;
}

.bundle-cta.primary {
    background: var(--gm-purple);
    color: white;
    border: none;
}

.bundle-cta.primary:hover {
    background: var(--gm-purple-hover);
    text-decoration: none;
    color: white;
}

.bundle-cta.secondary {
    background: var(--gm-white);
    color: #111827;
    border: 1px solid var(--gm-grey);
}

.bundle-cta.secondary:hover {
    background: #F5F7FF;
    text-decoration: none;
    color: var(--gm-purple);
    border-color: var(--gm-purple);
}

/* Learn more link */
.bundle-learn-more {
    display: block;
    text-align: center;
    margin-top: 1.25rem;
    margin-bottom: 1.5rem;
    color: var(--gm-purple);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
    letter-spacing: 0.01em;
}

.bundle-learn-more:hover {
    color: var(--gm-purple-hover);
    text-decoration: none;
}

.bundle-learn-more .arrow {
    display: inline-block;
    transition: transform 0.2s ease;
    margin-left: 0.25rem;
}

.bundle-learn-more:hover .arrow {
    transform: translateX(4px);
}

/* Comparison Table Toggle */
.comparison-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 24px;
    border: 1px solid var(--gm-grey);
    border-radius: 12px;
    background: white;
    margin: 0 auto 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    color: #111827;
    width: fit-content;
}

.comparison-toggle:hover {
    border-color: var(--gm-purple);
    background: #FAFBFF;
}

.comparison-toggle .toggle-arrow {
    transition: transform 0.3s ease;
    display: inline-block;
    width: 14px;
    height: 9px;
    color: #111827;
}

.comparison-toggle.expanded .toggle-arrow {
    transform: rotate(180deg);
}

/* Comparison Table */
.comparison-table {
    background: white;
    border: 1px solid #E5E7EB;
    border-radius: 16px;
    margin-bottom: 3rem;
    display: none;
    animation: fadeInDown 0.3s ease-out;
    width: 100%;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.comparison-table.show {
    display: block;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.comparison-table table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    table-layout: fixed;
    position: relative;
}

.comparison-table th,
.comparison-table td {
    padding: 1rem;
    text-align: left;
    font-size: 0.95rem;
    border-bottom: 1px solid #E5E7EB;
}

.comparison-table thead {
    background: transparent;
    border-bottom: none;
    position: relative;
}

.comparison-table thead th {
    padding: 1rem;
    vertical-align: top;
    border-bottom: none;
}

.comparison-table th {
    font-weight: 500;
    color: #111827;
    font-size: 1rem;
    white-space: nowrap;
}

.comparison-table th:first-child {
    font-weight: 500;
    color: #6B7280;
    text-align: left;
    width: 30%;
    min-width: 200px;
    vertical-align: middle;
    padding-top: 3rem;
}

.plan-label {
    font-weight: 700 !important;
    color: #111827 !important;
    font-size: 1rem !important;
    vertical-align: top !important;
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
    padding-left: 1rem !important;
    background: white;
}

.comparison-table td:first-child {
    width: 10%;
    min-width: 120px;
}

/* Plan Header Cards */
.plan-header-row {
    background: white;
    border-bottom: 1px solid #E5E7EB;
}

.plan-header-row th {
    background: white;
}

/* Round the top corners of first and last cells in header */
.plan-header-row th:first-child {
    border-top-left-radius: 16px;
}

.plan-header-row th:last-child {
    border-top-right-radius: 16px;
}

/* Round the bottom corners of last row */
.comparison-table tbody tr:last-child td:first-child {
    border-bottom-left-radius: 16px;
}

.comparison-table tbody tr:last-child td:last-child {
    border-bottom-right-radius: 16px;
}

/* Everything column highlight */
.comparison-table .everything-column {
    background-color: #F3F0FF;
}

.comparison-table tbody td:nth-child(2) {
    background-color: #F3F0FF;
}

.comparison-table .everything-column .plan-header-card {
    background: #F3F0FF;
    border: none;
}

.comparison-table .everything-column .plan-cta.primary {
    color: white !important;
}

.comparison-table .everything-column .plan-cta.primary:hover {
    color: white !important;
}

.plan-header-row th.bundle-column {
    padding: 1rem 0.5rem 1.5rem;
    width: 22.5%;
    min-width: 140px;
}

.plan-header-row th.everything-column {
    background-color: #F3F0FF !important;
}

.plan-header-card {
    background: white;
    padding: 0.5rem;
    border-radius: 10px;
    text-align: center;
}

.plan-header-card .plan-name {
    font-size: 1rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.5rem;
}

.plan-header-card .plan-price {
    display: flex;
    align-items: center; /* Center content vertically */
    justify-content: center;
    margin-bottom: 0.75rem;
    gap: 2px;
    min-height: 2rem; /* Prevent layout shift - increased for better spacing */
}

.plan-header-card .plan-price .currency {
    font-size: 0.875rem;
    font-weight: 700;
    color: #111827;
}

.plan-header-card .plan-price .amount {
    font-size: 1.25rem;
    font-weight: 800;
    color: #111827;
}

.plan-header-card .plan-price .period {
    font-size: 0.75rem;
    color: #6B7280;
    font-weight: 500;
    margin-left: 2px;
}

/* Plan CTAs */
.plan-header-card .plan-cta {
    display: block;
    width: 100%;
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.8125rem;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    margin-bottom: 0.5rem;
}

.plan-header-card button.plan-cta:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.plan-header-card .plan-cta.primary {
    background: var(--gm-purple);
    color: white;
    border: none;
}

.plan-header-card .plan-cta.primary:hover {
    background: var(--gm-purple-hover);
    text-decoration: none;
    color: white;
}

.plan-header-card .plan-cta.secondary {
    background: white;
    color: #111827;
    border: 1px solid var(--gm-grey);
}

.plan-header-card .plan-cta.secondary:hover {
    background: #F5F7FF;
    text-decoration: none;
    color: var(--gm-purple);
    border-color: var(--gm-purple);
}

/* Plan Learn More */
.plan-header-card .plan-learn-more {
    display: block;
    text-align: center;
    color: var(--gm-purple);
    font-size: 0.8125rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.plan-header-card .plan-learn-more:hover {
    color: var(--gm-purple-hover);
    text-decoration: none;
}

.plan-header-card .plan-learn-more .arrow {
    display: inline-block;
    transition: transform 0.2s ease;
    margin-left: 0.25rem;
}

.plan-header-card .plan-learn-more:hover .arrow {
    transform: translateX(3px);
}


.comparison-table tbody tr {
    transition: background 0.2s ease;
}

.comparison-table tbody tr:hover {
    background: #FAFBFF;
}

.comparison-table tbody tr:last-child td {
    border-bottom: none;
}

.comparison-table .check-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
}

.comparison-table .bundle-column .check-mark {
    color: #6860F8;  /* Purple color for the checkmark */
}

.comparison-table .feature-name {
    font-weight: 500;
    color: #374151;
    font-size: 0.95rem;
    line-height: 1.4;
}

.comparison-table .feature-name strong {
    font-weight: 600;
    color: #111827;
    display: inline;
}

.comparison-table .feature-name .feature-link {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease;
    display: inline;
    white-space: nowrap;
}

.comparison-table .feature-name .feature-link:hover {
    text-decoration: none;
    border-bottom: 1px solid var(--gm-purple);
}

.comparison-table .bundle-column {
    text-align: center;
    width: 22.5%;
    min-width: 140px;
    vertical-align: middle;
    color: #9CA3AF;
    font-weight: 400;
}

.comparison-table-container {
    position: relative;
    width: 100%;
    border-radius: 16px;
}

/* Testimonials Section */
.testimonials-section {
    padding: 80px 0;
    background: white;
    position: relative;
}

.testimonials-header {
    text-align: center;
    margin-bottom: 3rem;
}

.testimonials-header h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #111827;
}

.testimonials-header p {
    color: #6B7280;
    font-size: 1.125rem;
}

.testimonials-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
}

/* Carousel wrapper with padding for controls */
#testimonialsCarousel {
    position: relative;
    padding: 0 70px;
}

.carousel-inner {
    overflow: hidden;
    position: relative;
}

/* Ensure carousel items stay within bounds */
.carousel-item {
    overflow: hidden;
}

@media (max-width: 1024px) {
    #testimonialsCarousel {
        padding: 0 55px;
    }
}

@media (max-width: 768px) {
    #testimonialsCarousel {
        padding: 0 50px;
    }
}

/* Testimonials Grid */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 0 auto;
}

.testimonials-section .testimonial-card {
    background: white;
    border: 1px solid #E5E7EB;
    border-radius: 16px;
    padding: 28px 24px;
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 280px;
    height: 100%;
    transition: box-shadow 0.3s ease;
}

/* Testimonial Purchase Container */
.testimonial-purchase {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 1.5rem;
}

.testimonial-purchase-label {
    font-size: 0.8rem;
    font-weight: 500;
    color: #000000;
}

/* Testimonial Badge - Matches bundle-target style */
.testimonial-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
    color: #000000;
}

/* Match the exact colors from bundle-target */
.testimonial-badge-everything {
    background: #ffd4e5;
}

.testimonial-badge-clinical {
    background: #F4F79F;
}

.testimonial-badge-data {
    background: #9FF7C5;
}

.testimonial-badge-knowledge {
    background: #B3E5FC;
}

.testimonials-section .testimonial-content {
    font-size: 1rem;
    color: #374151;
    line-height: 1.7;
    margin-bottom: auto;
    flex-grow: 1;
}

.testimonial-content .highlight-blue {
    color: var(--gm-purple);
    font-weight: 500;
}

.testimonials-section .testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 1.5rem;
}

.testimonials-section .testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #E5E7EB;
    object-fit: cover;
    flex-shrink: 0;
}

.testimonials-section .testimonial-info {
    flex-grow: 1;
}

.testimonials-section .testimonial-name {
    font-weight: 600;
    color: #111827;
    margin-bottom: 3px;
    display: block;
    font-size: 0.95rem;
}

.testimonials-section .testimonial-role {
    font-size: 0.8rem;
    color: #6B7280;
    display: block;
    line-height: 1.3;
}

/* Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: white;
    border: 1px solid #E5E7EB;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    opacity: 1;
    transition: all 0.3s ease;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: #F9FAFB;
    border-color: var(--gm-purple);
}

.carousel-control-prev {
    left: 0;
}

.carousel-control-next {
    right: 0;
}

.carousel-nav-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-chevron {
    width: 12px;
    height: 18px;
    color: #000000;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.carousel-control-prev:hover .carousel-chevron,
.carousel-control-next:hover .carousel-chevron {
    opacity: 1;
}

/* Hide Bootstrap's default icons */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    display: none;
}

/* FAQ Section */
.faq-section {
    padding: 60px 0;
    background: #F9FAFB;
}

.faq-header {
    text-align: center;
    margin-bottom: 3rem;
}

.faq-header h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #111827;
}

.faq-header p {
    color: #6B7280;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
    border: 1px solid #E5E7EB;
}

.faq-question {
    padding: 1.25rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.05rem;
    font-weight: 600;
    color: #111827;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: #F9FAFB;
}

.faq-toggle {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: white;
    border: 1px solid #E5E7EB;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.faq-question:hover .faq-toggle {
    background: #F9FAFB;
    border-color: var(--gm-purple);
}

.faq-question:hover .faq-chevron {
    opacity: 1;
}

.faq-chevron {
    width: 14px;
    height: 9px;
    color: #000000;
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0.6;
}

.faq-item.active .faq-toggle {
    background: #F9FAFB;
    border-color: var(--gm-purple);
}

.faq-item.active .faq-chevron {
    opacity: 1;
    transform: rotate(180deg);
}

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

.faq-item.active .faq-answer {
    padding: 0 1.25rem 1.25rem;
    max-height: 500px;
}

.faq-answer p {
    font-size: 0.95rem;
    color: #374151;
    line-height: 1.6;
    padding-top: 0.5rem;
}

.faq-answer ul {
    margin: 0.75rem 0;
    padding-left: 1.5rem;
    list-style-type: disc;
}

.faq-answer ul li {
    font-size: 0.95rem;
    color: #374151;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.faq-answer ul li strong {
    font-weight: 600;
    color: #111827;
}

/* Utility Classes */
.text-muted {
    color: #6B7280;
}

.mb-0 {
    margin-bottom: 0;
}

/* Responsive adjustments for comparison table */
@media (max-width: 1200px) {
    .plan-header-row th.bundle-column {
        min-width: 120px;
    }
    
    .comparison-table .bundle-column {
        min-width: 120px;
    }
    
    .plan-header-card {
        padding: 0.375rem;
    }
    
    .plan-header-card .plan-name {
        font-size: 0.875rem;
    }
    
    .plan-header-card .plan-price .amount {
        font-size: 1rem;
    }
    
    .plan-header-card .plan-cta {
        font-size: 0.75rem;
        padding: 4px 8px;
    }
    
    .plan-header-card .plan-learn-more {
        font-size: 0.75rem;
    }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .stats-bar {
        display: block;
        width: 100%;
    }
    
    .stats-bar-content {
        flex-direction: column;
        gap: 1rem;
        justify-content: flex-start;
        align-items: flex-start;
    }
    
    .stats-bar-label {
        margin-right: 0;
        margin-bottom: 0.5rem;
        display: block;
    }
    
    .bundles-grid {
        grid-template-columns: 1fr;
    }
    
    .comparison-table {
        font-size: 0.875rem;
    }
    
    /* Testimonials mobile */
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .testimonials-grid.mobile-single {
        display: flex;
        justify-content: center;
    }
    
    /* Flexible height and no shadows on mobile testimonials */
    .testimonials-section .testimonial-card {
        box-shadow: none;
        transition: none;
        min-height: 240px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        padding: 20px 18px;
    }
    
    /* Ensure testimonial content doesn't overflow */
    .testimonial-content {
        flex: 1 1 auto;
        margin-bottom: 1rem;
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    /* Keep author section at bottom */
    .testimonials-section .testimonial-author {
        flex: 0 0 auto;
        margin-top: auto;
    }
    
    /* More compact purchase badge on mobile */
    .testimonial-purchase {
        margin-bottom: 1rem;
        flex-wrap: wrap;
    }
    
    .testimonial-purchase-label {
        font-size: 0.75rem;
    }
    
    .testimonial-badge {
        font-size: 0.7rem;
        padding: 3px 8px;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        width: 40px;
        height: 40px;
    }
    
    .carousel-control-prev {
        left: 0;
    }
    
    .carousel-control-next {
        right: 0;
    }

    .testimonials-header {
        margin-bottom: 2rem;
    }
    
    /* FAQ mobile styles */
    .faq-question {
        padding: 1rem;
        gap: 1rem;
    }
    
    .faq-question span:first-child {
        flex: 1;
        padding-right: 0.5rem;
        word-break: break-word;
    }
    
    .faq-toggle {
        flex-shrink: 0;
        width: 28px;
        height: 28px;
    }
    
    .faq-chevron {
        width: 16px;
        height: 10px;
    }
    
    .faq-answer {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 1rem 1rem;
    }
}

/* Tablet Responsiveness */
@media (min-width: 769px) and (max-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials-section .testimonial-card {
        min-height: 280px;
    }
}

/* Hide any conflicting testimonial elements from other components */
.testimonial-box {
    display: none !important;
}

/* Price Loading State */
.price-loading {
    color: #6c757d;
    font-style: italic;
    animation: pulse 1.5s ease-in-out infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: inherit; /* Inherit the min-height from parent */
}

/* Ensure loading state maintains container height and appropriate font size */
.bundle-price .price-loading {
    min-height: 3rem;
    font-size: 1.5rem; /* Larger to match visual weight of actual price */
    width: 100%; /* Take full width to prevent horizontal shift */
}

.plan-price .price-loading,
.comparison-price .price-loading {
    min-height: 2rem;
    font-size: 1rem; /* Match comparison table price size */
    width: 100%; /* Take full width to prevent horizontal shift */
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.6;
    }
    50% {
        opacity: 1;
    }
}