/* ============================================
   TESTIMONIALS - Marketing Pages
   ============================================ */

/* ===== TESTIMONIALS SECTION ===== */
.testimonials-section {
    padding: var(--spacing-xxl) 0;
    background: var(--dark-bg);
}

.testimonials-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--spacing-xxl);
}

/* ===== TESTIMONIALS GRID ===== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: var(--spacing-lg);
}

/* ===== TESTIMONIAL CARD ===== */
.testimonial-card {
    background: var(--dark-bg-elevated);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all var(--transition-normal);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 120px;
    color: var(--primary-red);
    opacity: 0.1;
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 0, 0, 0.2);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

/* ===== TESTIMONIAL RATING ===== */
.testimonial-rating {
    display: flex;
    gap: 4px;
    margin-bottom: var(--spacing-md);
    position: relative;
    z-index: 1;
}

.star {
    color: #ffc107;
    font-size: 20px;
}

.star.empty {
    color: rgba(255, 255, 255, 0.1);
}

/* ===== TESTIMONIAL CONTENT ===== */
.testimonial-text {
    font-size: var(--body-size);
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: var(--spacing-lg);
    position: relative;
    z-index: 1;
}

/* ===== TESTIMONIAL AUTHOR ===== */
.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-round);
    background: var(--gradient-purple);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    color: var(--text-white);
    flex-shrink: 0;
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    border-radius: var(--radius-round);
    object-fit: cover;
}

.testimonial-info {
    flex: 1;
}

.testimonial-name {
    font-size: var(--h5-size);
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 4px;
}

.testimonial-title {
    font-size: var(--small-size);
    color: var(--text-muted);
}

.testimonial-company {
    font-size: var(--small-size);
    color: var(--primary-red);
    font-weight: 600;
}

/* ===== TESTIMONIAL STATS ===== */
.testimonial-stats {
    display: flex;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-md);
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.testimonial-stat {
    text-align: center;
    flex: 1;
}

.testimonial-stat-value {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-red);
    display: block;
    margin-bottom: 4px;
}

.testimonial-stat-label {
    font-size: var(--tiny-size);
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ===== VIDEO TESTIMONIAL ===== */
.video-card {
    background: #000;
    border-radius: 16px;
    aspect-ratio: 16 / 9;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    overflow: hidden;
}

.testimonial-card.video {
    cursor: pointer;
    overflow: hidden;
}

.testimonial-video-thumbnail {
    position: relative;
    width: 100%;
    height: 200px;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: var(--spacing-md);
}

.testimonial-video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: var(--primary-red);
    border-radius: var(--radius-round);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: 24px;
    transition: var(--transition-normal);
}

.testimonial-card.video:hover .testimonial-video-play {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 0 30px rgba(255, 0, 0, 0.6);
}

/* ===== OVERALL RATING CARD ===== */
.overall-rating {
    background: linear-gradient(135deg, rgba(255, 0, 0, 0.1) 0%, rgba(96, 131, 255, 0.1) 100%);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    text-align: center;
    border: 2px solid rgba(255, 0, 0, 0.2);
    margin-bottom: var(--spacing-xxl);
}

.overall-rating-score {
    font-size: 72px;
    font-weight: 800;
    color: var(--text-white);
    font-family: var(--font-primary);
    line-height: 1;
    margin-bottom: var(--spacing-sm);
}

.overall-rating-stars {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: var(--spacing-md);
}

.overall-rating-stars .star {
    font-size: 32px;
}

.overall-rating-label {
    font-size: var(--body-size);
    color: var(--text-gray);
}

.overall-rating-count {
    font-size: var(--small-size);
    color: var(--text-muted);
    margin-top: var(--spacing-sm);
}

/* ===== CLIENT LOGOS ===== */
.client-logos {
    padding: var(--spacing-xxl) 0;
    background: var(--dark-bg-elevated);
}

.client-logos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--spacing-lg);
    align-items: center;
}

.client-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-md);
    opacity: 0.6;
    transition: var(--transition-fast);
    filter: grayscale(100%);
}

.client-logo:hover {
    opacity: 1;
    filter: grayscale(0%);
}

.client-logo img {
    max-width: 120px;
    max-height: 60px;
    width: auto;
    height: auto;
}

/* ===== TESTIMONIAL SLIDER ===== */
.testimonial-slider {
    position: relative;
    overflow: hidden;
    padding: 0 60px;
}

.testimonial-slider-track {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonial-slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: var(--dark-bg-elevated);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-round);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
    z-index: 2;
}

.testimonial-slider-nav:hover {
    background: var(--primary-red);
    border-color: var(--primary-red);
}

.testimonial-slider-nav.prev {
    left: 0;
}

.testimonial-slider-nav.next {
    right: 0;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .testimonials-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }

    .overall-rating-score {
        font-size: 56px;
    }
}

@media (max-width: 768px) {
    .nav-logo img {
        height: 45px !important;
    }

    .page-header h1 {
        font-size: 36px !important;
    }

    .section-dark .text-gradient {
        font-size: 32px !important;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-card {
        padding: var(--spacing-md);
    }

    .testimonial-stats {
        flex-direction: column;
        gap: var(--spacing-sm);
    }

    .client-logos-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonial-slider {
        padding: 0 50px;
    }

    .video-card {
        aspect-ratio: 16 / 9;
    }
}

@media (max-width: 480px) {
    .overall-rating-score {
        font-size: 40px;
    }

    .overall-rating-stars .star {
        font-size: 20px;
    }

    .page-header h1 {
        font-size: 32px !important;
    }

    .hero-subtitle {
        font-size: 16px !important;
    }
}