/* ============================================================
   Reviews Page — GetIllustrations
   Matches site design system: Inter font, brand vars,
   subtle borders (#e5e7eb), clean white cards, lime accent.
   ============================================================ */

/* ----------------------------------------------------------
   Hero — white bg, centered, matches collections/about heroes
   ---------------------------------------------------------- */
.rv-hero {
    padding: 3.5rem 0 2.5rem;
    text-align: center;
    border-bottom: 1px solid #e5e7eb;
}

.rv-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fbfde8;
    color: #4d5e0f;
    border-radius: 20px;
    padding: 6px 16px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.rv-badge svg {
    width: 14px;
    height: 14px;
    stroke: #4d5e0f;
}

.rv-hero h1 {
    font-size: 2.8rem;
    font-weight: 800;
    color: #111827;
    letter-spacing: -0.02em;
    margin: 0 0 0.75rem;
    line-height: 1.15;
}

.rv-subtitle {
    color: #4b5563;
    font-size: 1.05rem;
    max-width: 520px;
    margin: 0 auto 1.5rem;
    line-height: 1.65;
}

.rv-agg-row {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.rv-agg-stars {
    color: #f59e0b;
    font-size: 1.1rem;
    letter-spacing: 2px;
}

.rv-agg-score {
    font-size: 1rem;
    font-weight: 800;
    color: #111827;
}

.rv-agg-sep {
    color: #d1d5db;
}

.rv-agg-count {
    font-size: 0.875rem;
    color: #6b7280;
}

/* ----------------------------------------------------------
   Platform cards — horizontal row with real logos
   ---------------------------------------------------------- */
.rv-platforms {
    padding: 2.5rem 0;
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
}

.rv-platform-row {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.rv-platform-card {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    text-decoration: none;
    transition: box-shadow 0.2s, transform 0.2s;
    flex: 1;
    min-width: 240px;
    max-width: 320px;
}

.rv-platform-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    transform: translateY(-2px);
    text-decoration: none;
}

.rv-platform-logo {
    flex-shrink: 0;
    line-height: 0;
}

.rv-platform-logo svg text {
    /* ensure font renders nicely */
    dominant-baseline: auto;
}

.rv-platform-info {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 8px;
}

.rv-platform-rating {
    font-size: 1.5rem;
    font-weight: 800;
    color: #111827;
    line-height: 1;
}

.rv-platform-stars {
    color: #f59e0b;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.rv-platform-count {
    font-size: 0.8rem;
    color: #6b7280;
    width: 100%;
}

/* ----------------------------------------------------------
   Reviews grid — clean cards, no left-border gimmick
   ---------------------------------------------------------- */
.rv-reviews {
    padding: 3.5rem 0 4rem;
}

.rv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.rv-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s, transform 0.2s;
}

.rv-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    transform: translateY(-2px);
}

/* Card header: stars + source label */
.rv-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.875rem;
}

.rv-stars {
    color: #f59e0b;
    font-size: 0.85rem;
    letter-spacing: 2px;
}

.rv-source {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 20px;
}

.rv-source.tp { background: #e6f7ee; color: #00703a; }
.rv-source.ph { background: #fff0eb; color: #c43f0e; }
.rv-source.co { background: #f0f0f0; color: #1e1e1e; }

/* Body text */
.rv-body {
    color: #374151;
    font-size: 0.9375rem;
    line-height: 1.7;
    flex: 1;
    margin: 0 0 1.25rem;
}

/* Author row */
.rv-author {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid #f3f4f6;
}

.rv-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    flex-shrink: 0;
}

.rv-author strong {
    display: block;
    font-size: 0.8125rem;
    font-weight: 700;
    color: #111827;
    line-height: 1.2;
}

.rv-author span {
    display: block;
    font-size: 0.75rem;
    color: #9ca3af;
    margin-top: 1px;
}

/* ----------------------------------------------------------
   CTA — light section, dark pill buttons
   ---------------------------------------------------------- */
.rv-cta {
    padding: 3.5rem 0;
    text-align: center;
    background: #f9fafb;
    border-top: 1px solid #e5e7eb;
}

.rv-cta h2 {
    font-size: 1.75rem;
    font-weight: 800;
    color: #111827;
    margin: 0 0 0.5rem;
    letter-spacing: -0.02em;
}

.rv-cta p {
    color: #6b7280;
    font-size: 1rem;
    margin: 0 auto 1.75rem;
    max-width: 420px;
}

.rv-cta-links {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
}

.rv-cta-btn {
    display: inline-block;
    background: #111827;
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: box-shadow 0.2s, transform 0.2s, background 0.2s;
}

.rv-cta-btn:hover {
    background: #1f2937;
    box-shadow: 0 6px 20px rgba(17,24,39,0.25);
    transform: translateY(-1px);
    text-decoration: none;
    color: #ffffff;
}

/* ----------------------------------------------------------
   Responsive
   ---------------------------------------------------------- */
@media (max-width: 992px) {
    .rv-hero h1 { font-size: 2.2rem; }
    .rv-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .rv-hero { padding: 2.5rem 0 2rem; }
    .rv-hero h1 { font-size: 1.75rem; }
    .rv-subtitle { font-size: 0.95rem; }

    .rv-platform-row {
        flex-direction: column;
        align-items: stretch;
    }
    .rv-platform-card {
        max-width: 100%;
    }

    .rv-grid { grid-template-columns: 1fr; }

    .rv-cta h2 { font-size: 1.5rem; }
    .rv-cta-links {
        flex-direction: column;
        align-items: center;
    }
    .rv-cta-btn {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }
}
