/* ================================
   Review page part 4
   Rating breakdown, customer reviews, FAQ, verdict, author
   ================================ */

/* ---------- Rating breakdown ---------- */
.reviews-summary {
    padding: 28px 32px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    margin-bottom: 32px;
}
.rating-breakdown { display: flex; flex-direction: column; gap: 10px; }
.rb-row {
    display: grid;
    grid-template-columns: 40px 1fr 50px;
    align-items: center;
    gap: 12px;
}
.rb-label { font-size: 14px; color: var(--text-muted); font-weight: 500; }
.rb-bar {
    height: 10px;
    background: var(--bg-hover);
    border-radius: 999px;
    overflow: hidden;
}
.rb-fill {
    height: 100%;
    background: linear-gradient(90deg, #F59E0B, #FBBF24);
    border-radius: 999px;
    transition: width .8s;
}
.rb-percent { text-align: right; font-weight: 600; font-size: 14px; color: var(--text); }
.rb-total {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
    font-size: 13px;
    color: var(--text-muted);
    text-align: center;
}

/* ---------- Customer reviews ---------- */
.reviews-list {
    display: grid;
    gap: 20px;
}
.cust-review {
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
}
.cr-head {
    display: flex;
    gap: 14px;
    margin-bottom: 14px;
}
.cr-avatar {
    width: 48px; height: 48px;
    background: var(--accent-grad);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-family: 'Space Grotesk', sans-serif;
    flex-shrink: 0;
}
.cr-author {
    display: block;
    font-size: 15px;
    color: var(--text);
    margin-bottom: 2px;
}
.cr-stars {
    color: var(--text-dim);
    font-size: 14px;
    letter-spacing: 1px;
}
.cr-stars .on { color: #F59E0B; }
.cr-date {
    display: block;
    font-size: 12px;
    color: var(--text-dim);
    margin-top: 2px;
}
.cr-title {
    font-size: 16px;
    margin-bottom: 8px;
    color: var(--text);
}
.cr-body {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.7;
    margin: 0;
}

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    transition: border-color .2s;
}
.faq-item:hover { border-color: var(--border-strong); }
.faq-item summary {
    padding: 20px 24px;
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font-weight: 600;
    color: var(--text);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-q { font-size: 16px; }
.faq-toggle {
    width: 32px; height: 32px;
    border-radius: 8px;
    background: var(--bg-hover);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--accent-2);
    font-weight: 700;
    transition: transform .3s;
    flex-shrink: 0;
}
.faq-item[open] .faq-toggle { transform: rotate(45deg); }
.faq-a {
    padding: 0 24px 20px;
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.7;
}

/* ---------- Final verdict ---------- */
.final-verdict {
    padding: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border-strong);
    border-radius: 24px;
    position: relative;
    overflow: hidden;
    background-image:
        radial-gradient(circle at 0% 0%, rgba(124, 58, 237, 0.12), transparent 60%),
        radial-gradient(circle at 100% 100%, rgba(6, 182, 212, 0.12), transparent 60%);
}
.fv-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 16px;
}
.fv-header h2 { margin: 0 !important; font-size: 32px !important; }
.fv-score {
    font-family: 'Space Grotesk', sans-serif;
    line-height: 1;
}
.fv-score strong {
    font-size: 56px;
    background: var(--accent-grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.fv-score small { font-size: 20px; color: var(--text-dim); }
.final-verdict p {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 24px;
}

/* ---------- Author bio ---------- */
.author-bio {
    display: flex;
    gap: 20px;
    padding: 28px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 18px;
    margin: 48px 0 0;
    align-items: flex-start;
}
.ab-avatar img {
    width: 72px; height: 72px;
    border-radius: 50%;
    border: 2px solid var(--accent-1);
}
.ab-avatar {
    width: 72px; height: 72px;
    border-radius: 50%;
    background: var(--accent-grad);
    flex-shrink: 0;
}
.ab-content { flex: 1; }
.ab-kicker {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--text-dim);
    margin-bottom: 4px;
}
.ab-name {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 18px;
    color: var(--text);
    margin-bottom: 8px;
}
.ab-content p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 8px;
}
.ab-credential {
    display: inline-block;
    font-size: 12px;
    color: var(--success);
    background: rgba(16, 185, 129, 0.1);
    padding: 4px 10px;
    border-radius: 999px;
}
