/* ================================
   REVIEW PAGE STYLES
   ================================ */

/* Header & Navigation */
.review-header {
    background: #fff;
    border-bottom: 1px solid #e0e0e0;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.review-nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.back-btn {
    color: #2c3e50;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s;
}

.back-btn:hover {
    background: #f5f5f5;
    color: #e74c3c;
}

.breadcrumb {
    color: #7f8c8d;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: #3498db;
    text-decoration: none;
}

.breadcrumb i {
    font-size: 0.7rem;
    margin: 0 0.5rem;
}

/* Hero Section */
.review-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 3rem 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: start;
}

.hero-left {
    text-align: center;
}

.hero-image {
    width: 100%;
    max-width: 300px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    margin-bottom: 1.5rem;
}

.rating-summary {
    background: rgba(255,255,255,0.1);
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.rating-summary .stars {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.rating-summary .stars i {
    color: #ffd700;
}

.rating-score {
    font-size: 1.3rem;
    font-weight: bold;
    margin-left: 0.5rem;
}

.rating-count {
    font-size: 0.9rem;
    opacity: 0.9;
}

.cta-primary {
    display: inline-block;
    background: #e74c3c;
    color: #fff;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.4);
    transition: all 0.3s;
}

.cta-primary:hover {
    background: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.6);
}

.hero-right .badge {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.hero-right h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-right .subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.quick-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.1);
    padding: 0.75rem;
    border-radius: 6px;
}

.info-item i {
    font-size: 1.2rem;
    opacity: 0.8;
}

/* Table of Contents */
.toc-section {
    background: #f8f9fa;
    padding: 2rem 0;
    border-bottom: 2px solid #e0e0e0;
}

.toc {
    background: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.toc h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.toc ul {
    list-style: none;
    padding: 0;
}

.toc li {
    margin-bottom: 0.75rem;
}

.toc a {
    color: #3498db;
    text-decoration: none;
    transition: all 0.3s;
    display: block;
    padding: 0.5rem;
    border-radius: 4px;
}

.toc a:hover,
.toc a.active {
    background: #e3f2fd;
    color: #1976d2;
    padding-left: 1rem;
}

/* Main Content */
.review-content {
    padding: 3rem 0;
}

.content-section {
    margin-bottom: 4rem;
    padding: 2rem;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.content-section h2 {
    color: #2c3e50;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid #3498db;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.content-section h2 i {
    color: #3498db;
}

.content-section h3 {
    color: #34495e;
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
}

.content-section h4 {
    color: #34495e;
    font-size: 1.2rem;
    margin: 1.5rem 0 0.75rem;
}

.content-section p {
    line-height: 1.8;
    margin-bottom: 1rem;
    color: #555;
}

.content-section ul,
.content-section ol {
    margin: 1rem 0;
    padding-left: 2rem;
}

.content-section li {
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

/* Highlight Boxes */
.highlight-box {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem 0;
}

.highlight-box h4 {
    color: #fff;
    margin-top: 0;
}

.highlight-box ul {
    margin: 1rem 0 0 0;
}

.pro-tip {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.pro-tip h4 {
    color: #856404;
    margin-top: 0;
}

.warning-box {
    background: #f8d7da;
    border-left: 4px solid #dc3545;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.warning-box h4 {
    color: #721c24;
    margin-top: 0;
}

.verdict-box {
    background: #d4edda;
    border-left: 4px solid #28a745;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.verdict-box h4 {
    color: #155724;
    margin-top: 0;
}

/* Tables */
.specs-table,
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-radius: 8px;
    overflow: hidden;
}

.specs-table th,
.specs-table td,
.comparison-table th,
.comparison-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

.specs-table th,
.comparison-table th {
    background: #3498db;
    color: #fff;
    font-weight: 600;
}

.specs-table tr:hover,
.comparison-table tr:hover {
    background: #f8f9fa;
}

.comparison-table thead th {
    text-align: center;
}

.comparison-table tbody td {
    text-align: center;
}

.comparison-table tbody td:first-child {
    text-align: left;
    font-weight: 600;
}

.comparison-table .highlight-row {
    background: #fff3cd;
    font-weight: bold;
}

.comparison-table-wrapper {
    overflow-x: auto;
}

/* Timeline */
.experience-timeline {
    position: relative;
    padding-left: 2rem;
    margin: 2rem 0;
}

.timeline-item {
    position: relative;
    padding-bottom: 2rem;
    padding-left: 2rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #3498db;
}

.timeline-marker {
    position: absolute;
    left: -1.5rem;
    top: 0;
    width: 3rem;
    height: 3rem;
    background: #3498db;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 0 0 4px #fff, 0 0 0 6px #3498db;
}

.timeline-content {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.timeline-content h4 {
    color: #2c3e50;
    margin-top: 0;
}

/* Pros & Cons */
.pros-cons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

.pros,
.cons {
    padding: 2rem;
    border-radius: 12px;
}

.pros {
    background: #d4edda;
    border: 2px solid #28a745;
}

.cons {
    background: #f8d7da;
    border: 2px solid #dc3545;
}

.pros h3 {
    color: #155724;
    margin-top: 0;
}

.cons h3 {
    color: #721c24;
    margin-top: 0;
}

.pros ul,
.cons ul {
    list-style: none;
    padding: 0;
}

.pros li,
.cons li {
    margin-bottom: 1.5rem;
}

.pros strong,
.cons strong {
    display: block;
    margin-bottom: 0.5rem;
}

.pros p,
.cons p {
    margin: 0.5rem 0 0 0;
    font-size: 0.95rem;
}

/* Tips Grid */
.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.tip-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.tip-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.tip-icon {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1rem;
}

.tip-card h4 {
    color: #2c3e50;
    margin-top: 0;
}

.tip-card ol {
    padding-left: 1.5rem;
}

.tip-result {
    background: #d4edda;
    padding: 0.75rem;
    border-radius: 6px;
    border-left: 3px solid #28a745;
    margin-top: 1rem;
}

/* FAQ */
.faq-list {
    margin: 2rem 0;
}

.faq-item {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    border-left: 4px solid #3498db;
}

.faq-item h4 {
    color: #2c3e50;
    margin-top: 0;
    margin-bottom: 1rem;
}

.faq-item a.inline-cta {
    color: #3498db;
    font-weight: 600;
    text-decoration: none;
}

.faq-item a.inline-cta:hover {
    text-decoration: underline;
}

/* Conclusion */
.conclusion-box {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem 0;
}

.conclusion-box h3 {
    color: #fff;
    margin-top: 0;
}

.rating-breakdown {
    margin: 1.5rem 0;
}

.rating-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.rating-item:last-child {
    border-bottom: none;
}

.rating-item .stars {
    color: #ffd700;
    font-weight: bold;
}

.rating-total {
    text-align: center;
    font-size: 1.5rem;
    padding-top: 1rem;
    border-top: 2px solid rgba(255,255,255,0.3);
    margin-top: 1rem;
}

.recommendation {
    margin: 2rem 0;
}

.recommendation h3 {
    color: #2c3e50;
}

.final-verdict {
    background: #fff3cd;
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid #ffc107;
    margin: 2rem 0;
}

.final-verdict h3 {
    color: #856404;
    margin-top: 0;
}

/* CTA Box */
.cta-box {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: #fff;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    margin: 3rem 0;
}

.cta-box h3 {
    color: #fff;
    margin-top: 0;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: #fff;
    color: #e74c3c;
    padding: 1.5rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: bold;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    transition: all 0.3s;
    margin: 1rem 0;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.4);
}

.cta-button i {
    font-size: 1.5rem;
}

.cta-button span {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.cta-button small {
    font-size: 0.85rem;
    font-weight: normal;
    opacity: 0.8;
}

.price-note {
    margin-top: 1rem;
    font-size: 0.95rem;
}

/* Related Products */
.related-products {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    margin-top: 3rem;
}

.related-products h3 {
    color: #2c3e50;
    margin-top: 0;
    margin-bottom: 1.5rem;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.related-card {
    background: #fff;
    padding: 1rem;
    border-radius: 8px;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.related-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.related-card img {
    width: 100%;
    border-radius: 6px;
    margin-bottom: 0.75rem;
}

.related-card h4 {
    color: #2c3e50;
    font-size: 1rem;
    margin: 0.5rem 0;
}

.related-card .price {
    color: #e74c3c;
    font-weight: bold;
    font-size: 1.1rem;
}

.view-all-btn {
    display: inline-block;
    background: #3498db;
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s;
}

.view-all-btn:hover {
    background: #2980b9;
}

/* Footer */
.review-footer {
    background: #2c3e50;
    color: #ecf0f1;
    padding: 2rem 0;
    margin-top: 4rem;
    text-align: center;
}

.review-footer p {
    margin: 0.5rem 0;
    color: #ecf0f1;
}

.review-footer a {
    color: #3498db;
    text-decoration: none;
}

.review-footer a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-right h1 {
        font-size: 1.8rem;
    }

    .quick-info {
        grid-template-columns: 1fr;
    }

    .pros-cons {
        grid-template-columns: 1fr;
    }

    .tips-grid {
        grid-template-columns: 1fr;
    }

    .comparison-table {
        font-size: 0.85rem;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 0.5rem;
    }

    .related-grid {
        grid-template-columns: 1fr;
    }

    .review-nav {
        flex-direction: column;
        gap: 1rem;
    }

    .breadcrumb {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .hero-right h1 {
        font-size: 1.5rem;
    }

    .hero-right .subtitle {
        font-size: 1rem;
    }

    .content-section {
        padding: 1rem;
    }

    .content-section h2 {
        font-size: 1.5rem;
    }

    .timeline-item {
        padding-left: 1rem;
    }

    .timeline-marker {
        left: -1.25rem;
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1.2rem;
    }
}
