/**
 * Testimonials Section Styles
 * App Store Review Cards with elegant design
 */

/* ==========================================================================
   Section Container
   ========================================================================== */

.testimonials-section {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(138, 43, 226, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

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

.testimonials-section .section-title {
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.testimonials-section .section-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto;
}

/* ==========================================================================
   Testimonial Cards Grid
   ========================================================================== */

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

/* ==========================================================================
   Individual Testimonial Card
   ========================================================================== */

.testimonial-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    border-color: rgba(138, 43, 226, 0.3);
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.3),
        0 0 40px rgba(138, 43, 226, 0.1);
}

/* Card Header: Author + Stars */
.testimonial-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
}

.testimonial-author-name {
    font-weight: 700;
    font-size: 1rem;
    color: white;
    margin-bottom: 0.25rem;
}

.testimonial-date {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Star Rating */
.testimonial-stars {
    display: flex;
    gap: 2px;
}

.testimonial-stars .star {
    color: #FFD700;
    font-size: 1rem;
}

.testimonial-stars .star.empty {
    color: rgba(255, 255, 255, 0.2);
}

/* Review Title */
.testimonial-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

/* Review Content */
.testimonial-content {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
    margin: 0;
}

/* App Store Badge */
.testimonial-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.25rem;
    padding: 0.5rem 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

.testimonial-badge i {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.4);
}

/* ==========================================================================
   App Store Link
   ========================================================================== */

.testimonials-cta {
    text-align: center;
    margin-top: 3rem;
}

.testimonials-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.testimonials-link:hover {
    color: white;
}

.testimonials-link i {
    font-size: 1.1rem;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

@media (max-width: 768px) {
    .testimonials-section {
        padding: 4rem 0;
    }

    .testimonials-section .section-title {
        font-size: 2.5rem;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .testimonial-card {
        padding: 1.5rem;
    }
}

@media (max-width: 576px) {
    .testimonials-section .section-title {
        font-size: 2rem;
    }

    .testimonial-header {
        flex-direction: column;
        gap: 0.75rem;
    }

    .testimonial-stars {
        order: -1;
    }
}
