/**
 * REVIEWS PAGE STYLES
 * CreatorFlow Customer Reviews & Testimonials
 *
 * BRAND COMPLIANCE:
 * - NO box-shadows anywhere (except box-shadow: none)
 * - ONLY #000000 for dark backgrounds (NO #111827, #2d2d2d, #1a1a1a, etc.)
 * - Lime green #d1fe17 used sparingly for accents only
 * - Stack Sans Headline for all headings
 * - Mobile-first CSS with progressive enhancement
 */

/* ============================================
   IMPORTS & FONTS
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Stack+Sans+Headline:wght@200;300;400;500;600;700&display=swap');

/* ============================================
   GLOBAL STYLES
   ============================================ */

.reviews-page {
    font-family: 'Stack Sans Headline', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #000000;
    background: #ffffff;
}

/* ============================================
   HERO SECTION
   ============================================ */

.reviews-hero {
    background: #ffffff;
    padding: 5rem 2rem;
    text-align: center;
    border-bottom: 1px solid #e5e7eb;
}

.reviews-hero__container {
    max-width: 900px;
    margin: 0 auto;
}

.reviews-hero__badge {
    display: inline-block;
    background: #d1fe17;
    color: #000000;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
}

.reviews-hero__title {
    font-family: 'Stack Sans Headline', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: #000000;
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.reviews-hero__description {
    font-size: 1.125rem;
    line-height: 1.7;
    color: #374151;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Trust Stats */
.reviews-hero__stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 3rem;
}

.stat-card {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    border-color: #d1fe17;
    background: #ffffff;
}

.stat-card__number {
    font-family: 'Stack Sans Headline', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 0.5rem;
}

.stat-card__label {
    font-size: 1rem;
    color: #6b7280;
    font-weight: 500;
}

/* ============================================
   FEATURED REVIEWS SECTION
   ============================================ */

.reviews-featured {
    background: #ffffff;
    padding: 5rem 2rem;
}

.reviews-featured__container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-family: 'Stack Sans Headline', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: #000000;
    text-align: center;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.125rem;
    color: #374151;
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
    line-height: 1.7;
}

/* Review Grid */
.reviews-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

/* Placeholder Card */
.review-placeholder-card {
    background: #f9fafb;
    border: 2px dashed #e5e7eb;
    border-radius: 1rem;
    padding: 4rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.review-placeholder-card:hover {
    border-color: #d1fe17;
    background: #ffffff;
}

.placeholder-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.placeholder-title {
    font-family: 'Stack Sans Headline', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 1rem;
}

.placeholder-text {
    font-size: 1rem;
    color: #6b7280;
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   TRUSTPILOT CTA SECTION
   ============================================ */

.reviews-trustpilot {
    background: #f9fafb;
    padding: 5rem 2rem;
}

.reviews-trustpilot__container {
    max-width: 800px;
    margin: 0 auto;
}

.trustpilot-content {
    text-align: center;
}

.trustpilot-title {
    font-family: 'Stack Sans Headline', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: #000000;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.trustpilot-description {
    font-size: 1.125rem;
    color: #374151;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.trustpilot-rating {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    padding: 2rem;
    margin-bottom: 2rem;
}

.rating-stars {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.rating-text {
    font-size: 1rem;
    color: #374151;
}

.rating-text strong {
    color: #000000;
    font-weight: 700;
}

.trustpilot-button {
    display: inline-block;
    background: #000000;
    color: #ffffff;
    padding: 16px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

.trustpilot-button:hover {
    background: #d1fe17;
    color: #000000;
}

/* ============================================
   TRUST & SAFETY SECTION
   ============================================ */

.reviews-trust {
    background: #ffffff;
    padding: 5rem 2rem;
}

.reviews-trust__container {
    max-width: 1200px;
    margin: 0 auto;
}

.trust-badges {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

.trust-badge {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.trust-badge:hover {
    border-color: #d1fe17;
    background: #ffffff;
}

.badge-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.badge-title {
    font-family: 'Stack Sans Headline', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 0.75rem;
}

.badge-description {
    font-size: 1rem;
    color: #374151;
    line-height: 1.7;
}

/* ============================================
   FAQ SECTION
   ============================================ */

.reviews-faq {
    background: #f9fafb;
    padding: 5rem 2rem;
}

.reviews-faq__container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-title {
    font-family: 'Stack Sans Headline', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: #000000;
    text-align: center;
    margin-bottom: 3rem;
    letter-spacing: -0.02em;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.faq-item:hover {
    border-color: #d1fe17;
}

.faq-item[open] {
    border-color: #d1fe17;
}

.faq-question {
    font-family: 'Stack Sans Headline', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 1.0625rem;
    font-weight: 600;
    color: #000000;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: #d1fe17;
    font-weight: 700;
    transition: transform 0.3s ease;
}

.faq-item[open] .faq-question::after {
    content: '−';
    transform: rotate(180deg);
}

.faq-answer {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}

.faq-answer p {
    font-size: 1rem;
    line-height: 1.7;
    color: #374151;
    margin-bottom: 0.75rem;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.faq-answer a {
    color: #000000;
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.2s ease;
}

.faq-answer a:hover {
    color: #d1fe17;
}

/* ============================================
   FINAL CTA SECTION
   ============================================ */

.reviews-cta {
    background: #000000;
    padding: 60px 40px;
    text-align: center;
    border-radius: 32px;
    margin: 40px auto;
    max-width: 1400px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.reviews-cta__container {
    max-width: 900px;
    margin: 0 auto;
}

.reviews-cta__title {
    font-family: 'Stack Sans Headline', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.reviews-cta__description {
    font-size: 1.125rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.reviews-cta__features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin: 2rem auto;
    max-width: 600px;
    text-align: left;
}

.cta-feature {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
}

.reviews-cta__button {
    display: inline-block;
    background: #d1fe17;
    color: #000000;
    padding: 16px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    margin-top: 2rem;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

.reviews-cta__button:hover {
    background: #ffffff;
    color: #000000;
}

.reviews-cta__microcopy {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 1rem;
}

/* ============================================
   RESPONSIVE BREAKPOINTS
   ============================================ */

/* Tablet: 640px and up */
@media (min-width: 640px) {
    .reviews-hero__stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }

    .trust-badges {
        grid-template-columns: repeat(2, 1fr);
    }

    .reviews-cta__features {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

/* Desktop: 1024px and up */
@media (min-width: 1024px) {
    .reviews-hero {
        padding: 6rem 2rem;
    }

    .reviews-featured,
    .reviews-trust,
    .reviews-trustpilot,
    .reviews-faq {
        padding: 6rem 2rem;
    }

    .trust-badges {
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
    }

    .reviews-cta {
        padding: 80px 60px;
        margin: 60px auto;
    }

    .faq-item {
        padding: 2rem;
    }
}

/* Large Desktop: 1280px and up */
@media (min-width: 1280px) {
    .reviews-hero {
        padding: 7rem 2rem;
    }

    .reviews-featured,
    .reviews-trust,
    .reviews-trustpilot,
    .reviews-faq {
        padding: 7rem 2rem;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

/* No box-shadow utility (if needed to override inherited styles) */
.no-shadow {
    box-shadow: none !important;
}

/* Ensure all interactive elements have proper focus states for accessibility */
.trustpilot-button:focus,
.reviews-cta__button:focus,
.faq-question:focus {
    outline: 2px solid #d1fe17;
    outline-offset: 2px;
}
