/* Complete Review Page Styles */

/* Reset and Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-black: #0a0a0a;
    --dark-gray: #1a1a1a;
    --medium-gray: #4a4a4a;
    --light-gray: #e5e5e5;
    --off-white: #f8f8f8;
    --accent-blue: #0066ff;
    --accent-green: #00c853;
    --accent-red: #ff3333;
    --accent-orange: #ff6600;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 8px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 16px rgba(0,0,0,0.16);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: #ffffff;
    color: var(--primary-black);
    font-size: 18px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Container and Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.main-content {
    padding: 40px 0;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 3rem;
    margin-top: 2rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* Navigation Bar */
.article-nav-bar {
    background: var(--off-white);
    border-bottom: 1px solid var(--light-gray);
    padding: 12px 0;
}

.nav-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.breadcrumb-nav {
    font-size: 14px;
    color: var(--medium-gray);
}

.breadcrumb-nav a {
    color: var(--medium-gray);
    text-decoration: none;
}

.breadcrumb-nav a:hover {
    color: var(--accent-blue);
}

/* Article Header */
.article-header {
    margin-bottom: 3rem;
}

.article-category {
    color: var(--accent-orange);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.article-title {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--primary-black);
}

.article-dek {
    font-size: 22px;
    line-height: 1.5;
    color: var(--medium-gray);
    margin-bottom: 2rem;
    font-weight: 400;
}

/* Byline */
.article-byline {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1.5rem 0;
    border-top: 1px solid var(--light-gray);
    border-bottom: 1px solid var(--light-gray);
}

.author-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--medium-gray);
}

.author-name {
    font-weight: 600;
    color: var(--primary-black);
}

.author-title {
    font-size: 14px;
    color: var(--medium-gray);
}

.article-meta {
    display: flex;
    gap: 2rem;
    align-items: center;
    font-size: 14px;
    color: var(--medium-gray);
    margin-left: auto;
}

/* Share Tools */
.share-tools {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 2rem;
}

.share-buttons {
    display: flex;
    gap: 8px;
}

.share-btn {
    padding: 0.5rem;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    background: white;
    cursor: pointer;
    transition: all 0.2s ease;
}

.share-btn:hover {
    border-color: var(--accent-blue);
    transform: translateY(-2px);
}

.flex-spacer {
    flex: 1;
}

/* Company Logo Section */
.company-logo-section {
    background: var(--primary-black);
    border-radius: 12px;
    padding: 3rem;
    margin: 2rem 0;
    box-shadow: var(--shadow-lg);
}

.company-logo-section h3 {
    color: white;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
    text-align: center;
}

.company-logo-section p {
    color: rgba(255,255,255,0.9);
    font-size: 16px;
    text-align: center;
    margin-bottom: 2rem;
}

/* Featured Image */
.image-wrapper {
    margin: 2rem 0 3rem 0;
}

.lead-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
}

.image-caption {
    margin-top: 12px;
    font-size: 14px;
    color: var(--medium-gray);
    line-height: 1.4;
}

.image-credit {
    font-style: italic;
    color: #94a3b8;
    margin-left: 8px;
}

/* Article Body */
.article-body {
    font-size: 19px;
    line-height: 1.8;
    color: var(--dark-gray);
}

.article-body p {
    margin-bottom: 1.5rem;
}

.article-body h2 {
    font-size: 32px;
    font-weight: 700;
    margin: 3rem 0 1.5rem;
    color: var(--primary-black);
}

.article-body h3 {
    font-size: 24px;
    font-weight: 700;
    margin: 2rem 0 1rem;
    color: var(--primary-black);
}

.article-body ul,
.article-body ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.article-body li {
    margin-bottom: 0.75rem;
    line-height: 1.8;
}

.article-body blockquote {
    margin: 2rem 0;
    padding: 1.5rem;
    background: var(--off-white);
    border-left: 4px solid var(--accent-blue);
    font-style: italic;
}

/* Executive Summary Box */
.executive-summary {
    background: var(--off-white);
    border: 1px solid var(--light-gray);
    border-radius: 8px;
    padding: 2rem;
    margin: 2rem 0;
}

.executive-summary h2 {
    font-size: 24px;
    margin-bottom: 1rem;
    color: var(--primary-black);
}

/* Rating Display */
.rating-display {
    text-align: center;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    border: 2px solid #0ea5e9;
}

.rating-score {
    font-size: 3rem;
    font-weight: 800;
    color: #0ea5e9;
    font-family: 'IBM Plex Mono', monospace;
}

.rating-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #64748b;
    margin-top: 0.5rem;
}

.rating-stars {
    margin-top: 0.75rem;
}

.star-filled {
    color: #fbbf24;
    font-size: 1.25rem;
}

.star-empty {
    color: #e5e7eb;
    font-size: 1.25rem;
}

/* Key Metrics */
.callout-title {
    margin-bottom: 1rem;
}

.key-metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.metric-label {
    font-size: 0.75rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.metric-value {
    font-size: 1rem;
    font-weight: 600;
    color: #0a1628;
}

.metric-value.data-text {
    font-size: 1.125rem;
}

.text-green {
    color: #10b981;
}

.text-red {
    color: #ef4444;
}

.website-link-wrapper {
    margin-top: 1.5rem;
}

.btn.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 24px;
    background: var(--accent-blue);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.btn.btn-primary:hover {
    background: #0052cc;
    transform: translateY(-2px);
}

/* Company Logos Section */
.company-logos-section {
    background: #f8f9fa;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 2rem;
    margin: 2rem 0;
    text-align: center;
}

.company-logos-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.company-logo-item {
    text-align: center;
}

.company-logo-img {
    height: 60px;
    max-width: 200px;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter 0.3s;
}

.company-logo-img:hover {
    filter: grayscale(0%);
}

.company-link-wrapper {
    margin-top: 1rem;
}

.company-link {
    color: #0ea5e9;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
}

.company-link:hover {
    text-decoration: underline;
}

.vs-divider {
    font-size: 2rem;
    font-weight: 700;
    color: #94a3b8;
}

/* Executive Summary Grid */
.executive-summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    align-items: start;
}

/* Key Takeaways */
.key-takeaways {
    background: #667eea;
    color: white;
    padding: 2rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.key-takeaways h3 {
    font-size: 24px;
    margin-bottom: 1rem;
}

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

.key-takeaways li {
    padding-left: 24px;
    position: relative;
    margin-bottom: 12px;
}

.key-takeaways li:before {
    content: "✓";
    position: absolute;
    left: 0;
    font-weight: bold;
}

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

.pros-section,
.cons-section {
    padding: 1.5rem;
    border-radius: 8px;
}

.pros-section {
    background: #f0fdf4;
    border: 1px solid #86efac;
}

.cons-section {
    background: #fef2f2;
    border: 1px solid #fca5a5;
}

.pros-section h3 {
    color: #166534;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cons-section h3 {
    color: #991b1b;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

.cons-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.cons-bullet {
    color: #ef4444;
    font-weight: bold;
    margin-top: 0.125rem;
}

.cons-text {
    line-height: 1.6;
}

/* Key Features Section */
.key-features-section {
    margin: 3rem 0;
    padding: 2rem;
    background: #f8fafc;
    border-radius: 12px;
    border-left: 4px solid #0066ff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.key-features-section h3 {
    color: #0a1628;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.feature-item {
    background: rgba(255, 255, 255, 0.7);
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid rgba(14, 165, 233, 0.2);
}

.feature-item-content {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.feature-bullet {
    width: 6px;
    height: 6px;
    background: #0ea5e9;
    border-radius: 50%;
    margin-top: 0.75rem;
    flex-shrink: 0;
}

.feature-text {
    line-height: 1.6;
    color: #1e293b;
    font-weight: 500;
}

/* Data Visualization Section */
.data-viz-section {
    margin: 3rem 0;
    padding: 2rem;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.data-viz-section h3 {
    margin-bottom: 1.5rem;
    color: #0a1628;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    text-align: center;
}

.metric-card {
    text-align: center;
}

.metric-number {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.text-green-value {
    color: #10b981;
}

.text-blue-value {
    color: #0ea5e9;
}

.text-orange-value {
    color: #f59e0b;
}

/* Company Showcase Section (in featured box) */
.company-showcase-wrapper {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.company-showcase-item {
    text-align: center;
}

.company-showcase-link {
    display: block;
}

.company-showcase-img {
    height: 80px;
    max-width: 250px;
    object-fit: contain;
    filter: none;
    transition: transform 0.3s;
}

.company-showcase-img:hover {
    transform: scale(1.1);
}

.rating-display-large {
    margin-top: 1rem;
    font-size: 2rem;
}

.rating-score-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0ea5e9;
    margin-top: 0.5rem;
}

.company-showcase-cta {
    margin-top: 1.5rem;
}

.btn.btn-showcase {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: #0ea5e9;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: background 0.2s;
}

.btn.btn-showcase:hover {
    background: #0284c7;
}

.vs-divider-large {
    font-size: 3rem;
    font-weight: 900;
    color: #e11d48;
}

/* Verdict Box */
.verdict-box {
    text-align: center;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

/* Conclusion Box */
.conclusion-box {
    background: #ffffff;
    border: 2px solid #0066ff;
    border-radius: 16px;
    padding: 3rem;
    margin: 3rem 0;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

/* Sidebar */
.sidebar {
    position: relative;
    height: fit-content;
}

.sidebar-widget {
    background: var(--off-white);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.widget-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-black);
}

/* Related Articles */
.related-articles {
    list-style: none;
    padding: 0;
}

.related-article-item {
    padding: 12px 0;
    border-bottom: 1px solid var(--light-gray);
}

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

.related-article-item a {
    color: var(--dark-gray);
    text-decoration: none;
    font-size: 15px;
    line-height: 1.4;
    display: block;
}

.related-article-item a:hover {
    color: var(--accent-blue);
}

.related-article-meta {
    font-size: 12px;
    color: var(--medium-gray);
    margin-top: 4px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .content-wrapper {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        position: relative;
        top: 0;
        margin-top: 3rem;
    }
}

@media (max-width: 768px) {
    .article-title {
        font-size: 32px;
    }
    
    .article-dek {
        font-size: 18px;
    }
    
    .article-byline {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .article-meta {
        margin-left: 0;
        margin-top: 1rem;
        flex-wrap: wrap;
    }
    
    .pros-cons-analysis {
        grid-template-columns: 1fr;
    }
    
    .company-logo-section {
        padding: 2rem 1rem;
    }
    
    .lead-image {
        height: 250px;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-2 {
    margin-top: 2rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

.font-bold {
    font-weight: 700;
}

.small-caps {
    font-variant: small-caps;
    letter-spacing: 0.05em;
}