/* Below-fold homepage styles (deferred). */
        /* FAQ Styles to match affiliate-program.php */
        .faq-section h2,
        .faqs h2 {
            text-align: center;
            font-size: 2.2rem;
            margin-bottom: 3rem;
            color: var(--text-light);
        }
        
        /* Trust indicators styling */
        .trust-indicators {
            display: flex !important;
            align-items: center !important;
            justify-content: center !important;
            flex-wrap: wrap !important;
            gap: 1.2rem !important;
            margin: 1.5rem 0 !important;
            max-width: 600px !important;
            margin-left: auto !important;
            margin-right: auto !important;
        }
        
        .rating-badge {
            display: flex !important;
            align-items: center !important;
            background: rgba(37, 99, 235, 0.2) !important;
            padding: 0.6rem 1.2rem !important;
            border-radius: 50px !important;
            border: 1px solid rgba(37, 99, 235, 0.4) !important;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15) !important;
            height: 2.5rem !important;
        }
        
        .rating-stars {
            color: #FFD700 !important;
            font-size: 1.15rem !important;
            line-height: 1 !important;
            margin-right: 0.8rem !important;
            letter-spacing: 0.1em !important;
            display: inline-flex !important;
            align-items: center !important;
            position: relative !important;
        }
        
        .rating-value {
            font-weight: 700 !important;
            color: #ffffff !important;
            margin-right: 0.8rem !important;
            font-size: 1.1rem !important;
            display: inline-flex !important;
            align-items: center !important;
            white-space: nowrap !important;
        }
        
        .rating-count {
            color: rgba(255, 255, 255, 0.8) !important;
            font-size: 0.9rem !important;
            white-space: nowrap !important;
            display: inline-flex !important;
            align-items: center !important;
        }
        
        .tradingview-badge {
            display: flex !important;
            align-items: center !important;
            background: rgba(30, 41, 59, 0.7) !important;
            padding: 0.6rem 1.2rem !important;
            border-radius: 50px !important;
            text-decoration: none !important;
            color: #ffffff !important;
            border: 1px solid rgba(255, 255, 255, 0.2) !important;
            transition: all 0.3s ease !important;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15) !important;
            white-space: nowrap !important;
        }
        
        .tradingview-badge:hover {
            background: rgba(37, 99, 235, 0.3) !important;
            border-color: rgba(37, 99, 235, 0.5) !important;
            transform: translateY(-2px) !important;
        }
        
        .tradingview-badge i {
            margin-right: 0.5rem !important;
            color: #2196F3 !important;
            font-size: 1rem !important;
        }
        
        @media (max-width: 768px) {
            .trust-indicators {
                flex-direction: column !important;
                gap: 0.8rem !important;
                margin: 1.2rem 0 !important;
            }
            
            .rating-badge, .tradingview-badge {
                width: 100% !important;
                justify-content: center !important;
                padding: 0.7rem 1rem !important;
            }
        }
        
        @media (max-width: 480px) {
            .rating-badge {
                flex-direction: row !important;
                justify-content: center !important;
                padding: 0.8rem 1rem !important;
                height: auto !important;
                min-height: 2.5rem !important;
            }
            
            .rating-stars, .rating-value, .rating-count {
                font-size: 0.95rem !important;
                margin-right: 0.5rem !important;
            }
            
            .rating-stars {
                letter-spacing: 0.05em !important;
            }
            
            .rating-count {
                margin-right: 0 !important;
                font-size: 0.85rem !important;
            }
            
            .hero-title {
                font-size: 1.9rem;
            }
        }
        
        /* Hero content improvements */
        .hero-title {
            font-size: 2.8rem;
            line-height: 1.2;
            margin-bottom: 1.5rem;
            background: linear-gradient(to right, #ffffff, #3b82f6);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        }
        
        .hero-subtitle {
            font-size: 1.15rem;
            line-height: 1.6;
            max-width: 800px;
            margin: 0 auto;
            color: rgba(255, 255, 255, 0.9);
        }
        
        .hero-buttons {
            margin-top: 2.5rem;
            display: flex;
            justify-content: center;
            gap: 1.5rem;
            flex-wrap: wrap;
        }
        
        .hero-buttons .cta-button {
            padding: 1rem 2.5rem;
            font-weight: 600;
            font-size: 1.1rem;
            min-width: 300px;
            text-align: center;
            box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
            transition: all 0.3s ease;
        }
        
        .hero-buttons .cta-button:hover {
            transform: translateY(-3px);
            box-shadow: 0 6px 15px rgba(59, 130, 246, 0.4);
        }
        
        .hero-buttons .btn-secondary {
            padding: 1rem 2rem;
            font-weight: 600;
            font-size: 1.1rem;
            min-width: 220px;
            text-align: center;
            transition: all 0.3s ease;
        }
        
        .hero-buttons .btn-secondary:hover {
            transform: translateY(-3px);
            background: rgba(255, 255, 255, 0.12);
        }
        
        @media (max-width: 768px) {
            .hero-title {
                font-size: 2.2rem;
                margin-bottom: 0.72rem;
            }
            
            .hero-subtitle {
                font-size: 1rem;
            }
            
            .hero-buttons {
                margin-top: 1.44rem;
                gap: 0.72rem;
            }
            
            .hero-buttons .cta-button,
            .hero-buttons .btn-secondary {
                width: 100%;
                min-width: unset;
                padding: 0.9rem 1.5rem;
            }
        }
        
        /* FAQ Styles */
        .faq-item {
            background: rgba(15, 23, 42, 0.5);
            border-radius: 0.8rem;
            margin-bottom: 1.5rem;
            overflow: hidden;
            border: 1px solid rgba(255, 255, 255, 0.05);
        }
        
        .faq-question {
            padding: 1.5rem 2rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
            transition: background 0.3s;
        }
        
        .faq-question h3 {
            font-size: 1.2rem;
            color: var(--text-light);
            font-weight: 600;
        }
        
        .faq-question i {
            font-size: 1.2rem;
            color: var(--primary-color);
            transition: transform 0.3s;
        }
        
        .faq-answer {
            padding: 0 2rem;
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s ease, padding 0.3s ease;
        }
        
        .faq-answer p {
            color: var(--secondary-color);
            line-height: 1.6;
            margin-bottom: 1rem;
            padding-bottom: 1.5rem;
        }
        
        .faq-item.active .faq-question {
            background: rgba(59, 130, 246, 0.1);
        }
        
        .faq-item.active .faq-question i {
            transform: rotate(180deg);
        }
        
        .faq-item.active .faq-answer {
            max-height: 500px;
            padding: 1rem 2rem;
        }
        
        /* Enhanced Reviews Section Styling */
        .customer-reviews {
            padding: 4rem 0;
            position: relative;
            overflow: hidden;
        }
        
        .reviews-subtitle {
            text-align: center;
            color: rgba(255, 255, 255, 0.8);
            margin-bottom: 3rem;
            font-size: 1.1rem;
        }
        
        .reviews-summary {
            position: relative;
            width: 100%;
            background: rgba(15, 23, 42, 0.4);
            border-radius: 16px;
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
            border: 1px solid rgba(59, 130, 246, 0.15);
            padding: 2rem;
            overflow: hidden;
            max-width: 1200px;
            margin: 0 auto 3rem;
        }
        
        .average-rating {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 2.5rem;
        }
        
        .rating-card {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 2rem;
            background: rgba(15, 23, 42, 0.6);
            border-radius: 12px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
            border: 1px solid rgba(59, 130, 246, 0.2);
            width: 100%;
            max-width: 280px;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
        
        .rating-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
        }
        
        .rating-number {
            font-size: 3.5rem;
            font-weight: 700;
            color: #fff;
            line-height: 1;
            margin-bottom: 1rem;
            background: linear-gradient(to right, #60a5fa, #3b82f6);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            text-shadow: 0 2px 10px rgba(59, 130, 246, 0.3);
        }
        
        .stars-container {
            margin-bottom: 1rem;
            color: #f59e0b;
            font-size: 1.4rem;
            letter-spacing: 0.15em;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .stars-container i {
            filter: drop-shadow(0 1px 2px rgba(245, 158, 11, 0.3));
            margin: 0 0.1rem;
        }
        
        .rating-count {
            font-size: 1rem;
            color: rgba(255, 255, 255, 0.85);
            text-align: center;
            font-weight: 500;
        }
        
        .rating-count span {
            margin: 0 0.4rem;
            font-weight: 700;
            color: #fff;
            position: relative;
        }
        
        /* Rating distribution styling */
        .rating-distribution {
            flex: 1;
            width: 100%;
            max-width: 600px;
            padding: 1.5rem;
            background: rgba(15, 23, 42, 0.4);
            border-radius: 12px;
            border: 1px solid rgba(59, 130, 246, 0.1);
            box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
        }
        
        .rating-bar-container {
            display: flex;
            align-items: center;
            margin-bottom: 1rem;
            gap: 1rem;
            transition: all 0.3s ease;
            padding: 0.5rem 0.7rem;
            border-radius: 8px;
        }
        
        .rating-bar-container:last-child {
            margin-bottom: 0;
        }
        
        .rating-bar-container:hover {
            transform: translateX(5px);
            background: rgba(59, 130, 246, 0.1);
        }
        
        .rating-bar-container:hover .rating-fill {
            opacity: 1;
            transform: scaleX(1.02);
            transform-origin: left;
        }
        
        .rating-label {
            display: flex;
            align-items: center;
            gap: 0.4rem;
            width: 40px;
            font-size: 1rem;
            color: rgba(255, 255, 255, 0.95);
            font-weight: 600;
        }
        
        .rating-label i {
            color: #f59e0b;
            font-size: 0.9rem;
        }
        
        .rating-bar {
            flex: 1;
            height: 10px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 6px;
            overflow: hidden;
            box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2);
            position: relative;
        }
        
        .rating-fill {
            height: 100%;
            background: linear-gradient(to right, #3b82f6, #60a5fa);
            border-radius: 6px;
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
            position: relative;
        }
        
        .rating-fill::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(to right, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.2));
            border-radius: 6px;
        }
        
        .rating-percent {
            width: 45px;
            text-align: right;
            font-size: 0.95rem;
            color: rgba(255, 255, 255, 0.9);
            font-weight: 600;
            transition: all 0.3s ease;
        }
        
        .rating-bar-container:hover .rating-percent {
            color: #fff;
            transform: scale(1.05);
        }
        
        /* Reviews section responsive layout */
        @media (min-width: 992px) {
            .average-rating {
                flex-direction: row;
                align-items: stretch;
                justify-content: center;
            }
            
            .rating-card {
                margin-right: 2.5rem;
                flex-shrink: 0;
                height: 100%;
            }
            
            .rating-distribution {
                flex-grow: 1;
            }
        }
        
        @media (max-width: 991px) {
            .rating-card, 
            .rating-distribution {
                width: 100%;
                max-width: 100%;
            }
            
            .rating-card {
                margin-bottom: 1.5rem;
            }
        }
        
        @media (max-width: 768px) {
            .reviews-summary {
                padding: 1.5rem;
            }
            
            .rating-number {
                font-size: 3rem;
            }
            
            .stars-container {
                font-size: 1.2rem;
            }
            
            .rating-distribution {
                padding: 1.2rem;
            }
            
            .rating-label {
                width: 35px;
                font-size: 0.9rem;
            }
            
            .rating-bar-container {
                padding: 0.4rem 0.5rem;
                gap: 0.8rem;
                margin-bottom: 0.8rem;
            }
        }
        
        @media (max-width: 480px) {
            .reviews-summary {
                padding: 1.2rem;
            }
            
            .rating-number {
                font-size: 2.8rem;
            }
            
            .stars-container {
                font-size: 1.1rem;
                letter-spacing: 0.1em;
            }
            
            .rating-count {
                font-size: 0.9rem;
            }
            
            .rating-label {
                width: 30px;
                font-size: 0.85rem;
            }
            
            .rating-percent {
                width: 40px;
                font-size: 0.85rem;
            }
        }
        
        /* Review tags styling */
        .review-tags-container {
            margin-top: 2rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 1.5rem;
            padding: 0 1.5rem;
            max-width: 1200px;
            margin-left: auto;
            margin-right: auto;
        }
        
        .review-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 1rem;
            flex: 1;
            justify-content: center;
        }
        
        .review-tag {
            background: rgba(15, 23, 42, 0.6);
            border-radius: 50px;
            padding: 0.7rem 1.4rem;
            font-size: 0.95rem;
            color: rgba(255, 255, 255, 0.85);
            cursor: pointer;
            transition: all 0.3s ease;
            border: 1px solid rgba(255, 255, 255, 0.1);
            display: inline-flex;
            align-items: center;
            box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
        }
        
        .review-tag.active {
            background: rgba(59, 130, 246, 0.25);
            color: #fff;
            border-color: rgba(59, 130, 246, 0.5);
            box-shadow: 0 5px 15px rgba(37, 99, 235, 0.2);
            transform: translateY(-3px);
        }
        
        .review-tag:hover {
            transform: translateY(-3px);
            background: rgba(59, 130, 246, 0.2);
            border-color: rgba(59, 130, 246, 0.4);
        }
        
        .tag-count {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            background: rgba(59, 130, 246, 0.35);
            color: #fff;
            border-radius: 50px;
            width: 24px;
            height: 24px;
            font-size: 0.8rem;
            margin-left: 0.6rem;
            font-weight: 700;
            box-shadow: 0 2px 6px rgba(37, 99, 235, 0.2);
        }
        
        .btn-write-review {
            background: linear-gradient(135deg, rgba(59, 130, 246, 0.9), rgba(37, 99, 235, 0.9));
            color: white;
            border: none;
            border-radius: 50px;
            padding: 0.8rem 1.8rem;
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            white-space: nowrap;
            box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
        }
        
        .btn-write-review:hover {
            background: linear-gradient(135deg, rgba(37, 99, 235, 0.95), rgba(29, 78, 216, 0.95));
            transform: translateY(-3px);
            box-shadow: 0 6px 16px rgba(37, 99, 235, 0.4);
        }
        
        .btn-write-review::before {
            content: "\f303";
            font-family: "Font Awesome 6 Free";
            font-weight: 900;
        }
        
        @media (max-width: 992px) {
            .review-tags-container {
                flex-direction: column;
                gap: 1.8rem;
            }
            
            .btn-write-review {
                width: 100%;
                justify-content: center;
                padding: 1rem;
            }
        }
        
        @media (max-width: 768px) {
            .review-tags {
                flex-wrap: nowrap;
                overflow-x: auto;
                padding-bottom: 0.8rem;
                justify-content: flex-start;
                width: 100%;
                -webkit-overflow-scrolling: touch;
                scrollbar-width: none; /* Remove scrollbar for Firefox */
                padding: 0.5rem 0;  /* Add padding to prevent cropping when tags hover/click */
                -ms-overflow-style: none; /* Hide scrollbar for IE and Edge */
                position: relative;
                cursor: grab;
            }
            
            /* Hide scrollbar for Chrome, Safari and Opera */
            .review-tags::-webkit-scrollbar {
                display: none;
            }
            
            /* Styling for active scrolling state */
            .review-tags.active-scroll {
                cursor: grabbing;
                scroll-behavior: auto; /* Disable smooth scrolling during drag for better performance */
            }
            
            .review-tag {
                white-space: nowrap;
                flex-shrink: 0;
                transform: none; /* Prevent transform on mobile to avoid cropping */
                transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
                margin: 0.15rem 0; /* Add vertical margin to prevent cropping */
                user-select: none; /* Prevent text selection during scrolling */
            }
            
            .review-tag.active {
                transform: none; /* Prevent transform on mobile to avoid cropping */
                background: rgba(59, 130, 246, 0.4); /* Increase opacity for better visibility */
                position: relative;
            }
            
            /* Remove the indicator below active tag */
            .review-tag.active::after {
                display: none;
            }
            
            .review-tag:hover {
                transform: none; /* Prevent transform on mobile to avoid cropping */
            }
            
            /* Add scroll indicators - removing right gradient */
            .review-tags::before {
                content: '';
                position: absolute;
                top: 0;
                bottom: 0;
                width: 20px;
                pointer-events: none;
                z-index: 2;
                opacity: 0;
                transition: opacity 0.3s ease;
                left: 0;
                background: linear-gradient(to right, rgba(8, 14, 27, 0.7), transparent);
            }
            
            /* Remove the right gradient indicator */
            .review-tags::after {
                display: none;
            }
            
            /* Only show left scroll indicator when content is scrollable */
            .review-tags.scrollable::before {
                opacity: 0;
            }
            
            .review-tags.scrollable.scrolled-left::before {
                opacity: 1;
            }
        }