/* Global Styles */
:root {
    /* Professional medical color palette */
    --primary-color: #0F4C81; /* Deep blue - trust, professionalism */
    --secondary-color: #2A9D8F; /* Teal - healthcare, calming */
    --accent-color: #E9C46A; /* Muted gold - authority, warmth */
    --text-color: #333333; /* Dark text for readability */
    --heading-color: #0F3057; /* Darker blue for headings */
    --light-text: #6b7280; /* Subtle gray for secondary text */
    --background: #F8F9FA; /* Light background - clean, clinical feel */
    --card-bg: #ffffff; /* White cards for contrast */
    --border-radius: 8px; /* Slightly reduced for more professional look */
    --shadow: 0 4px 12px rgba(15, 76, 129, 0.08); /* Subtle shadow with primary color */
    --transition: all 0.3s ease;
    --border-color: rgba(15, 76, 129, 0.12); /* Subtle border color */
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background);
    font-size: 16px;
}

h1, h2, h3, h4, h5, h6, .logo-container h1, #comparison-title, .sidebar h3 {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--heading-color);
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header Styles */
header {
    background-color: var(--card-bg);
    color: var(--text-color);
    padding: 24px 0;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border-color);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

.logo-container {
    display: flex;
    align-items: center;
}

.main-logo {
    width: 200px;
    height: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-link {
    color: var(--heading-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    transition: var(--transition);
    padding: 8px 16px;
    border-radius: 6px;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
    background-color: rgba(15, 76, 129, 0.05);
}

/* Mobile styles for header and navigation */
@media (max-width: 768px) {
    header {
        position: static;
    }
    
    .header-content {
        flex-direction: column;
        gap: 0;
        padding: 0 16px;
    }
    
    .logo-container {
        justify-content: center;
    }
    
    .main-logo {
        width: 185px;
    }
    
    .nav-links {
        display: none;
    }
}

/* Main Content Styles */
main {
    display: flex;
    flex-wrap: wrap;
    padding: 40px 0;
    gap: 32px;
    max-width: 1400px;
    margin: 0 auto;
}

.container {
    flex: 1 1 65%;
    min-width: 0;
}

#comparison-title {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
    color: var(--heading-color);
    position: relative;
    display: inline-block;
    padding-bottom: 12px;
}

#comparison-subtitle {
    font-size: 18px;
    color: var(--light-text);
    margin-bottom: 15px;
    line-height: 1.4;
    max-width: 800px;
    font-weight: 400;
}

/* Expert Credentials */
.expert-credentials {
    margin-bottom: 29px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 30px;
}

.expert-info {
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 400px;
}

.expert-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(15, 76, 129, 0.15);
}

.expert-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.expert-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.expert-name {
    font-weight: 600;
    color: var(--heading-color);
    font-size: 14px;
    font-family: 'Inter', sans-serif;
}

.expert-title {
    font-size: 12px;
    color: var(--light-text);
    line-height: 1.3;
}

.disclaimer {
    display: none;
    font-size: 13px;
    color: var(--light-text);
    margin-bottom: 32px;
    padding: 18px;
    border-radius: var(--border-radius);
    background-color: rgba(15, 76, 129, 0.04);
    border-left: 4px solid var(--secondary-color);
    line-height: 1.5;
}

/* Analysis Section */
.analysis-section {
    margin-top: 48px;
    padding: 32px 0;
    border-top: 2px solid var(--border-color);
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: var(--shadow);
}

#analysis-title {
    font-size: 28px;
    color: var(--heading-color);
    margin-bottom: 24px;
    font-weight: 700;
    line-height: 1.3;
}

.analysis-content {
    max-width: 800px;
}

.analysis-content h2 {
    font-size: 22px;
    color: var(--heading-color);
    margin: 32px 0 16px 0;
    font-weight: 600;
    line-height: 1.4;
}

.analysis-content p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-color);
    margin-bottom: 16px;
}

.analysis-content p:last-child {
    margin-bottom: 0;
}

.analysis-list {
    margin: 16px 0;
    padding-left: 24px;
}

.analysis-list li {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-color);
    margin-bottom: 12px;
    list-style-type: disc;
}

.analysis-list li:last-child {
    margin-bottom: 0;
}

.nova-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid transparent;
    transition: var(--transition);
    cursor: pointer;
}

.nova-link:hover {
    color: var(--secondary-color);
    border-bottom-color: var(--secondary-color);
}

/* Mobile Repeat Card - Only visible on mobile */
.mobile-repeat-card {
    display: none;
}

@media (max-width: 768px) {
    .mobile-repeat-card {
        display: block;
        margin-top: 24px;
        border: 2px solid var(--accent-color);
        box-shadow: 0 6px 20px rgba(15, 76, 129, 0.15);
    }
    
    .mobile-badge {
        background: linear-gradient(135deg, var(--accent-color), #f4a261);
        color: var(--heading-color);
        font-weight: 800;
    }
}

/* Comparison Card Styles - Reference Layout */
.comparison-card {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin-bottom: 16px;
    padding: 16px;
    position: relative;
    transition: var(--transition);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.comparison-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.card-badge {
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(135deg, #FF6B35, #FF8E53);
    color: white;
    padding: 8px 16px;
    font-size: 11px;
    font-weight: 700;
    border-radius: 0 0 8px 0;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-family: 'Inter', sans-serif;
}

/* Non-Nova badges get the dark blue background */
.comparison-card:not(:first-child) .card-badge {
    background: #0F4C81;
}

.card-content {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-top: 4px;
}

/* Left Section: Rank + Logo */
.card-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 100px;
}

.card-rank {
    font-size: 48px;
    font-weight: 800;
    color: var(--primary-color);
    font-family: 'Inter', sans-serif;
    line-height: 1;
    margin-bottom: 8px;
}

.card-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.brand-logo {
max-height: 60px;
max-width: 120px;
width: auto;
height: auto;
object-fit: contain;
filter: grayscale(0.1);
transition: var(--transition);
}

.comparison-card:hover .brand-logo {
filter: grayscale(0);
}

.brand-additional-image {
    width: 150px;
    margin-top: 10px;
    display: block;
}

/* Special styling for #1 pick logo */
.comparison-card:first-child .brand-logo,
.mobile-repeat-card .brand-logo {
width: 200px;
max-height: none;
max-width: none;
}

/* Special styling for #1 pick Learn More button */
.comparison-card:first-child .learn-more,
.mobile-repeat-card .learn-more {
    background: #FF6B35;
}

.comparison-card:first-child .learn-more:hover,
.mobile-repeat-card .learn-more:hover {
    background: #E55A2B;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(255, 107, 53, 0.3);
}

/* Stock warning block shown after #1 Nova card */
.stock-warning {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #FFF8E6;
    border: 1px solid #F6C453;
    color: #5C4A1F;
    border-radius: 8px;
    padding: 14px 16px;
    margin: 12px 0 20px 0;
}

.stock-warning-icon {
    font-size: 18px;
    line-height: 1;
    margin-top: 2px;
}

.stock-warning-text {
    font-size: 14px;
    line-height: 1.5;
}

.stock-warning-link {
    color: #b45309;
    font-weight: 600;
    text-decoration: underline;
}

.stock-warning-link:hover {
    color: #92400e;
}

@media (max-width: 768px) {
    .stock-warning {
        padding: 12px;
        gap: 10px;
    }
    .stock-warning-text {
        font-size: 13px;
    }
}

/* Card Explanation Section */
.card-explanation {
    margin-top: 16px;
    padding: 16px;
    background: none;
    border-top: 1px solid #ccc;
    border-radius: 0;
    font-size: 14px;
    line-height: 1.5;
    color: #555;
}

/* Center Section: Features */
.card-center {
    flex: 1;
    padding: 0 8px;
}

.feature-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.feature-item {
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
    font-size: 15px;
    line-height: 1.4;
    color: var(--text-color);
}

.feature-item:last-child {
    margin-bottom: 0;
}

.feature-item i {
    color: var(--secondary-color);
    position: absolute;
    left: 0;
    top: 2px;
    font-size: 16px;
}

/* Right Section: Rating + CTA */
.card-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 160px;
    text-align: center;
}

.rating-container {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.rating-score {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    font-size: 25px;
    font-weight: 700;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(15, 76, 129, 0.2);
    font-family: 'Inter', sans-serif;
    border: 2px solid white;
    flex-shrink: 0;
}

.rating-details {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}

.rating-text {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--primary-color);
    letter-spacing: 0.8px;
    font-family: 'Inter', sans-serif;
    line-height: 1;
}

.rating-stars {
    color: var(--accent-color);
    font-size: 12px;
    letter-spacing: 1px;
    line-height: 1;
}

.learn-more {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    margin-bottom: 8px;
    transition: var(--transition);
    width: 100%;
    box-shadow: 0 4px 12px rgba(15, 76, 129, 0.2);
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.3px;
}

.learn-more:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(15, 76, 129, 0.3);
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
}

.learn-more i {
    margin-left: 6px;
    font-size: 12px;
}

.website-link {
    font-size: 12px;
    color: var(--light-text);
    text-align: center;
    line-height: 1.3;
}

/* Sidebar Styles */
.sidebar {
    flex: 0 0 28%;
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 32px;
    height: fit-content;
    position: sticky;
    top: 100px;
    border: 1px solid var(--border-color);
}

.guides-section,
.reviews-section,
.ranking-summary-section {
    margin-bottom: 40px;
}

#last-updated-text {
    margin-bottom: 20px;
    color: var(--light-text);
    font-size: 18px;
    line-height: 1.4;
    font-weight: 400;
    max-width: 800px;
}

.guides-section h3,
.reviews-section h3,
.ranking-summary-section h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--heading-color);
    border-bottom: 2px solid rgba(15, 76, 129, 0.08);
    padding-bottom: 14px;
    margin-bottom: 24px;
    position: relative;
}

.guides-section h3::after,
.reviews-section h3::after,
.ranking-summary-section h3::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--secondary-color);
    border-radius: 2px;
}

.guide-item,
.review-item {
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(0,0,0,0.04);
}

.guide-item:last-child,
.review-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.guide-item a,
.review-item a {
    color: var(--heading-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition);
    display: block;
    line-height: 1.5;
    font-family: 'Inter', sans-serif;
}

.guide-item a:hover,
.review-item a:hover {
    color: var(--primary-color);
}

.read-more {
    color: var(--secondary-color);
    font-size: 14px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    margin-top: 10px;
    font-weight: 600;
    transition: var(--transition);
    letter-spacing: 0.3px;
}

.read-more:hover {
    color: var(--secondary-color);
}

.read-more::after {
    content: '→';
    margin-left: 4px;
    transition: var(--transition);
}

.read-more:hover::after {
    margin-left: 8px;
}

/* Ranking Summary Styles */
.ranking-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    padding: 12px;
    background: linear-gradient(135deg, rgba(15, 76, 129, 0.02), rgba(42, 157, 143, 0.01));
    border-radius: 8px;
    border: 1px solid rgba(15, 76, 129, 0.06);
    transition: var(--transition);
    position: relative;
}

.ranking-item:hover {
    background: linear-gradient(135deg, rgba(15, 76, 129, 0.04), rgba(42, 157, 143, 0.02));
    border-color: rgba(15, 76, 129, 0.12);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(15, 76, 129, 0.08);
}

.ranking-item:last-child {
    margin-bottom: 0;
}

.rank-number {
    font-weight: 700;
    font-size: 16px;
    color: white;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 13px;
    box-shadow: 0 2px 4px rgba(15, 76, 129, 0.2);
}

.brand-info {
    flex: 1;
    margin-left: 12px;
    margin-right: 12px;
}

.brand-name {
    font-weight: 600;
    font-size: 15px;
    color: var(--heading-color);
    line-height: 1.2;
    margin-bottom: 4px;
    text-decoration: none;
    transition: var(--transition);
    display: block;
}

.brand-name:hover {
    color: var(--primary-color);
}

.ranking-badge {
    font-size: 10px;
    font-weight: normal;
    color: white;
    background: linear-gradient(135deg, #FF8C00, #FFB347);
    padding: 3px 8px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    display: inline-block;
    box-shadow: 0 2px 4px rgba(255, 140, 0, 0.4);
    border: 1px solid #FF8C00;
}

/* Non-Nova ranking badges get the dark blue background */
.ranking-item:not(:first-child) .ranking-badge {
    background: #0F4C81;
    box-shadow: 0 2px 4px rgba(15, 76, 129, 0.4);
    border: 1px solid #0F4C81;
}

.ranking-rating {
    font-size: 14px;
    color: var(--secondary-color);
    flex-shrink: 0;
    background: rgba(42, 157, 143, 0.1);
    padding: 4px 8px;
    border-radius: 6px;
    border: 1px solid rgba(42, 157, 143, 0.2);
}

/* Footer Styles */
footer {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-align: center;
    padding: 36px 24px;
    margin-top: 60px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
    border-top: 4px solid var(--accent-color);
}

/* Desktop Optimization */
@media (min-width: 1101px) {
    .comparison-card {
        padding: 32px;
        margin-bottom: 32px;
    }
    
    .card-rank {
        flex: 0 0 47px;
    }
    
    .card-brand {
        flex: 0 0 130px;
        padding: 0 16px;
    }
    
    .card-details {
        flex: 1 1 45%;
        padding: 0 24px;
    }
    
    .card-rating {
        flex: 0 0 150px;
        padding-left: 24px;
        margin-left: 8px;
    }
}

/* Large Desktop Optimization */
@media (min-width: 1400px) {
    .comparison-card {
        padding: 36px;
    }
    
    .card-brand {
        flex: 0 0 60px;
    }
    
    .card-details {
        padding: 0 28px;
    }
    
    .card-rating {
        flex: 0 0 160px;
        padding-left: 28px;
    }
}

/* Responsive Styles */
@media (max-width: 1100px) {
    main {
        padding: 32px 20px;
    }
    
    .container {
        flex: 1 1 100%;
        margin-right: 0;
        margin-bottom: 32px;
    }
    
    .sidebar {
        flex: 1 1 100%;
        position: static;
        top: auto;
    }
    
    #comparison-title {
        font-size: 32px;
    }
    
    #comparison-subtitle {
        font-size: 17px;
    }
}

/* Tablet Styles */
@media (max-width: 900px) and (min-width: 769px) {
    .comparison-card {
        padding: 20px;
    }
    
    .card-content {
        gap: 16px;
    }
    
    .card-left {
        min-width: 100px;
    }
    
    .card-rank {
        font-size: 40px;
    }
    
    .card-right {
        min-width: 160px;
    }
    
    .rating-container {
        gap: 12px;
    }
    
    .rating-score {
        width: 55px;
        height: 55px;
        font-size: 24px;
    }
    
    .rating-details {
        align-items: center;
        text-align: center;
        flex: 1;
    }
    
    .rating-text {
        font-size: 15px;
    }
    
    .rating-stars {
        font-size: 11px;
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    .comparison-card {
        padding: 20px 16px;
        margin-bottom: 20px;
    }
    
    .card-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .card-left {
        order: 1;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2px;
        min-width: auto;
    }
    
    .card-rank {
        font-size: 36px;
        margin-bottom: 0;
        padding-top: 35px; /* Add space to prevent badge overlap */
    }
    
    .brand-logo {
        max-height: 50px;
        max-width: 100px;
    }
    
    .brand-additional-image {
        margin-top: 0;
    }
    
    .card-center {
        order: 2;
        padding: 0;
        text-align: left;
    }
    
    .feature-item {
        font-size: 15px;
        margin-bottom: 10px;
        padding-left: 20px;
    }
    
    .feature-item i {
        font-size: 14px;
    }
    
    .card-right {
        order: 3;
        min-width: auto;
        border-top: 1px solid rgba(0,0,0,0.08);
        padding-top: 20px;
        width: 100%;
    }
    
    .rating-container {
        gap: 12px;
        margin-bottom: 12px;
    }
    
    .rating-score {
        width: 60px;
        height: 60px;
        font-size: 26px;
    }
    
    .rating-details {
        align-items: center;
        text-align: center;
        flex: 1;
    }
    
    .rating-text {
        font-size: 15px;
    }
    
    .rating-stars {
        font-size: 11px;
    }
    
    .learn-more {
        padding: 14px 24px;
        font-size: 15px;
        min-height: 44px;
        width: 100%;
        max-width: none;
    }
    
    #comparison-title {
        font-size: 28px;
        margin-bottom: 0px;
    }
    
    #comparison-subtitle {
        font-size: 16px;
    }
}



@media (max-width: 480px) {
    .container {
        padding: 0px 0px;
    }
    
    .comparison-card {
        padding: 20px 16px;
        margin-bottom: 20px;
    }
    
    .card-badge {
        font-size: 10px;
        padding: 6px 12px;
    }
    
    .card-rank {
        font-size: 32px;
        margin-bottom: 12px;
    }
    
    .brand-logo {
        max-height: 50px;
    }
    
    .feature-item {
        font-size: 15px;
        margin-bottom: 12px;
        padding-left: 28px;
    }
}

/* Testing Methodology Section */
.testing-methodology-section {
    background: #f8fafc;
    padding: 32px;
    margin: 32px 0;
    border-left: 3px solid var(--secondary-color);
}

.testing-methodology-section h3 {
    color: #1e293b;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
}

.testing-methodology-section p {
    color: #475569;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 16px;
}

.testing-methodology-section p:last-child {
    margin-bottom: 0;
}

/* Category Winners Section */
.category-winners-section {
    margin: 48px 0;
    text-align: center;
}

/* shared styles */
#category-winners {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;               /* desktop gap; mobile overrides it */
    justify-content: center; /* keeps row centered on large screens */
}

.category-winner-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    background: #fff;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    box-sizing: border-box;  /* makes width math predictable */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    /* no flex: 1 here */
}

/* desktop ≥ 769 px: four across */
@media (min-width: 769px) {
    #category-winners { gap: 16px; }
    .category-winner-badge {
        flex: 0 0 calc(25% - 12px);
        max-width: calc(25% - 12px);
    }
}

/* mobile ≤ 768 px: 2 × 2 grid */
@media (max-width: 768px) {
    #category-winners {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

}

.category-winner-badge:hover {
    border-color: #3b82f6;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.winner-icon {
    font-size: 32px;
    margin-bottom: 8px;
    color: #0F4B7F;
    transition: color 0.3s ease;
}

.category-winner-badge:hover .winner-icon {
    color: #1e40af;
}

.winner-title {
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 4px;
    text-align: center;
}

.winner-brand {
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
}

/* Nova Feature Section */
.nova-feature-section {
    margin: 48px 0;
}

.nova-feature-card {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 2px solid #0ea5e9;
    border-radius: 16px;
    padding: 32px;
    position: relative;
    overflow: hidden;
}



.nova-header h3 {
    color: #0c4a6e;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 24px;
}

.nova-testing-explanation {
    margin: 24px 0;
}

.nova-testing-explanation p {
    font-size: 16px;
    line-height: 1.6;
    color: #374151;
    margin-bottom: 16px;
}

.nova-testing-explanation p:last-child {
    margin-bottom: 0;
}



.nova-cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #0ea5e9, #3b82f6);
    color: white;
    padding: 16px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.nova-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4);
    color: white;
}

/* Testing Panel Quotes Section */
.social-proof-section {
    background: #f9fafb;
    padding: 24px;
    margin: 48px 0;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.testing-quotes-heading {
    font-size: 20px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 24px;
    text-align: left;
}

.testing-quotes-wrapper {
    margin-bottom: 24px;
}

.testing-quote-item {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid #e5e7eb;
}

.testing-quote-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.testing-quote-text {
    font-size: 16px;
    line-height: 1.6;
    color: #6b7280;
    font-style: italic;
    margin-bottom: 8px;
    font-weight: 400;
}

.testing-quote-attribution {
    font-size: 14px;
    color: #9ca3af;
    font-weight: 400;
    margin: 0;
}

.more-stories-link {
    text-align: left;
}

.more-stories-link a {
    color: #6b7280;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    border-bottom: 1px solid #d1d5db;
    padding-bottom: 1px;
}

.more-stories-link a:hover {
    color: #374151;
    border-bottom-color: #374151;
}

/* Trust Badges Section */
.trust-badges-section {
    margin: 32px 0;
    padding: 24px;
    background: #f8fafc;
    border-radius: 8px;
}

#trust-badges {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.trust-badge-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #374151;
    font-size: 14px;
    font-weight: 500;
}

.trust-badge-item i {
    color: #059669;
}

.trust-badge-item a {
    color: inherit;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.trust-badge-item a:hover {
    color: #3b82f6;
}



/* Mobile Responsive Styles for New Sections */
@media (max-width: 768px) {
    .testing-methodology-section {
        padding: 0px 20px;
        margin: 24px 0;
    }
    
    .testing-methodology-section h3 {
        font-size: 20px;
    }
    
    #category-winners {
        gap: 16px;
    }
    
    .category-winner-badge {
        min-width: 100px;
        padding: 16px;
    }
    
    .winner-icon {
        font-size: 24px;
    }
    
    .nova-feature-card {
        padding: 24px 20px;
    }
    
    .nova-header h3 {
        font-size: 24px;
    }
    
    #social-proof-testimonials {
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }
    
    .testimonial-item {
        max-width: 100%;
    }
    
    #trust-badges {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .sticky-mobile-cta {
        display: block;
    }
}

/* Cost Flow Infographic */
.cost-flow-infographic {
    margin: 32px 0;
    text-align: center;
}

.cost-flow-svg {
    width: 100%;
    max-width: 600px;
    height: auto;
}

@media (max-width: 768px) {
    .cost-flow-svg {
        max-width: 100%;
    }
    
    .cost-flow-svg text {
        font-size: 10px;
    }
}

/* Footer Styles */
footer {
    background: #1f2937;
    color: #f9fafb;
    padding: 48px 0 24px;
    margin-top: 64px;
}

.footer-content {
    max-width: 1405px;
    margin: 0 auto;
    padding: 0 24px;
}

.footer-links {
    text-align: center;
    margin-bottom: 32px;
}

.footer-links a {
    color: #60a5fa;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
}

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

.about-process-section {
    background: #374151;
    border-radius: 12px;
    padding: 32px;
    margin: 24px 0;
}

.process-content {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 32px;
    align-items: start;
}

.lab-photo {
    text-align: center;
}

.lab-image {
    width: 100%;
    max-width: 300px;
    border-radius: 8px;
    border: 2px solid #4b5563;
}

.expert-bio h3 {
    color: #f9fafb;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.expert-bio p {
    color: #d1d5db;
    line-height: 1.6;
    margin-bottom: 12px;
}

.expert-bio p:last-child {
    margin-bottom: 0;
}

.editorial-disclaimer {
    background: #4b5563;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #60a5fa;
}

.editorial-disclaimer p {
    color: #f3f4f6;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

.footer-disclaimer {
    background: #374151;
    padding: 24px;
    border-radius: 8px;
    margin: 32px 0;
}

.footer-disclaimer p {
    color: #d1d5db;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 12px;
}

.footer-disclaimer p:last-child {
    margin-bottom: 0;
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid #4b5563;
}

.footer-bottom p {
    color: #9ca3af;
    font-size: 14px;
    margin: 0;
}

@media (max-width: 768px) {
    .process-content {
        grid-template-columns: 1fr;
        gap: 24px;
        text-align: center;
    }
    
    .about-process-section {
        padding: 24px 20px;
    }
    
    .footer-content {
        padding: 0 16px;
    }
}

/* Legal Note */
.legal-note {
    text-align: center;
    margin: 32px 0;
    padding: 16px;
    background: #fef3c7;
    border-radius: 8px;
    border-left: 4px solid #f59e0b;
}

.legal-note p {
    color: #92400e;
    font-size: 14px;
    margin: 0;
    font-style: italic;
}

/* Blind Test Chart Section */
.blind-test-chart-section {
    margin: 48px 0;
    padding: 40px;
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.chart-header {
    text-align: center;
    margin-bottom: 40px;
}

.chart-header h3 {
    color: #1e293b;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.025em;
}

.chart-subtitle {
    color: #64748b;
    font-size: 16px;
    margin: 0;
    font-weight: 500;
}

.chart-container {
    position: relative;
    max-width: 800px;
    height: 400px;
    margin: 0 auto 32px;
    padding: 20px;
    background: #fafbfc;
    border-radius: 12px;
    border: 1px solid #f1f5f9;
}

.chart-methodology {
    margin-top: 24px;
    padding: 20px;
    background: #f8fafc;
    border-radius: 8px;
    border-left: 4px solid var(--secondary-color);
}

.methodology-note {
    color: #475569;
    font-size: 14px;
    margin: 0;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .blind-test-chart-section {
        padding: 24px 20px;
        margin: 32px 0;
    }
    
    .chart-header h3 {
        font-size: 24px;
    }
    
    .chart-subtitle {
        font-size: 14px;
    }
    
    .chart-container {
        height: 380px;
        padding: 16px;
        margin: 0 -10px 32px;
        max-width: calc(100vw - 20px);
        padding-left: 0px;
    }
    
    .chart-methodology {
        padding: 16px;
    }
    
    .methodology-note {
        font-size: 13px;
    }
}



/* Final Pitch Section */
.final-pitch-section {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: white;
    padding: 64px 32px;
    margin: 64px 0 0;
    text-align: center;
    border-radius: 16px;
}

.final-pitch-content h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.2;
}

.final-pitch-content p {
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 32px;
    opacity: 0.95;
}

.final-pitch-button {
    display: inline-block;
    background: white;
    color: #1e40af;
    padding: 20px 40px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.final-pitch-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
    color: #1e40af;
}

@media (max-width: 768px) {
    .final-pitch-section {
        padding: 48px 24px;
        margin: 48px 0 0;
    }
    
    .final-pitch-content h2 {
        font-size: 28px;
    }
    
    .final-pitch-content p {
        font-size: 18px;
    }
    
    .final-pitch-button {
        padding: 16px 32px;
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .feature-item i {
        font-size: 16px;
    }
    
    .rating-score {
        width: 70px;
        height: 70px;
        font-size: 25px;
    }
    
    .learn-more {
        padding: 14px 24px;
        font-size: 15px;
        min-height: 44px;
        width: 100%;
        max-width: none;
    }
    
    #comparison-title {
        font-size: 24px;
    }
    
    #comparison-subtitle {
        font-size: 15px;
    }
    
    .logo-container h1 {
        font-size: 20px;
    }
    
    .tagline {
        font-size: 13px;
    }
    
    /* Hide sidebar on mobile */
    .sidebar {
        display: none;
    }
    
    .guides-section h3,
    .reviews-section h3 {
        font-size: 20px;
    }
    
    .guide-item a,
    .review-item a {
        font-size: 15px;
        line-height: 1.6;
    }
    
    /* Analysis section mobile optimization */
    .analysis-section {
        padding: 24px 20px;
        margin-top: 32px;
    }
    
    #analysis-title {
        font-size: 24px;
        margin-bottom: 20px;
    }
    
    .analysis-content h2 {
        font-size: 20px;
        margin: 24px 0 12px 0;
    }
    
    .analysis-content p {
        font-size: 15px;
        line-height: 1.6;
        margin-bottom: 14px;
    }
    
    .analysis-list {
        padding-left: 18px;
        margin: 14px 0;
    }
    
    .analysis-list li {
        font-size: 15px;
        line-height: 1.6;
        margin-bottom: 10px;
    }
}

/* Testing Results Section */
.testing-results-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: var(--border-radius);
    padding: 48px 32px;
    margin: 48px 0;
    border: 1px solid var(--border-color);
}

.testing-methodology {
    text-align: center;
    margin-bottom: 48px;
}

.testing-methodology h2 {
    font-size: 32px;
    color: var(--heading-color);
    margin-bottom: 12px;
    font-weight: 700;
}

.testing-methodology p {
    font-size: 18px;
    color: var(--light-text);
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.testing-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.testing-stat {
    background: white;
    padding: 24px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.testing-stat:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(15, 76, 129, 0.12);
}

.testing-stat-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    font-family: 'Inter', sans-serif;
    margin-bottom: 8px;
}

.testing-stat-label {
    font-size: 14px;
    color: var(--light-text);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.performance-charts {
    margin-top: 0px;
}

.performance-charts h3 {
    font-size: 28px;
    color: var(--heading-color);
    text-align: center;
    margin-bottom: 12px;
    font-weight: 700;
}

.performance-subtitle {
    text-align: center;
    font-size: 16px;
    color: var(--light-text);
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}



.performance-grid {
    display: grid;
    gap: 24px;
    margin-top: 32px;
}

.performance-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 24px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.performance-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(15, 76, 129, 0.12);
}

.performance-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

.performance-brand {
    font-size: 20px;
    font-weight: 700;
    color: var(--heading-color);
    font-family: 'Inter', sans-serif;
}

.performance-overall {
    display: flex;
    align-items: center;
    gap: 8px;
}



.performance-scenarios {
    display: grid;
    gap: 16px;
}

.scenario-item {
    display: grid;
    grid-template-columns: 1fr 2fr auto;
    grid-template-rows: auto auto;
    gap: 8px 16px;
    padding: 16px 0;
    border-bottom: 1px solid #f1f5f9;
}

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

.scenario-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-color);
    grid-column: 1;
    grid-row: 1;
}

.scenario-description {
    font-size: 13px;
    color: #64748b;
    line-height: 1.4;
    grid-column: 1 / 3;
    grid-row: 2;
    margin-top: 4px;
}

.scenario-bar-container {
    grid-column: 2;
    grid-row: 1;
    position: relative;
    align-self: center;
}

.scenario-bar-bg {
    height: 8px;
    background: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
}

.scenario-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    border-radius: 4px;
    transition: width 0.8s ease;
}

.scenario-score {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
    min-width: 40px;
    text-align: right;
    font-family: 'Inter', sans-serif;
    grid-column: 3;
    grid-row: 1;
    align-self: center;
}

.performance-summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.summary-item {
    text-align: center;
}

.summary-label {
    font-size: 12px;
    color: var(--light-text);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.summary-value {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-color);
    font-family: 'Inter', sans-serif;
}

/* Responsive Design for Testing Results */
@media (max-width: 768px) {
    .testing-results-section {
        padding: 32px 20px;
        margin: 32px 0;
    }
    
    .testing-methodology h2 {
        font-size: 24px;
    }
    
    .testing-methodology p {
        font-size: 16px;
    }
    
    .testing-stats {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 16px;
    }
    
    .testing-stat {
        padding: 16px;
    }
    
    .testing-stat-value {
        font-size: 24px;
    }
    
    .performance-charts h3 {
        font-size: 24px;
    }
    
    .performance-card {
        padding: 20px;
    }
    
    .performance-header {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
    }
    
    .performance-brand {
        font-size: 18px;
    }
    

    
    .performance-summary {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
        padding-top: 16px;
        margin-top: 16px;
    }
    
    .summary-item {
        padding: 8px 4px;
    }
    
    .summary-label {
        font-size: 10px;
        margin-bottom: 2px;
    }
    
    .summary-value {
        font-size: 14px;
    }
    
    .scenario-item {
        grid-template-columns: 1fr auto;
        grid-template-rows: auto auto auto;
        gap: 6px 12px;
        padding: 12px 0;
    }
    
    .scenario-name {
        font-size: 14px;
        grid-column: 1;
        grid-row: 1;
    }
    
    .scenario-description {
        font-size: 12px;
        grid-column: 1 / 3;
        grid-row: 2;
        margin-top: 2px;
    }
    
    .scenario-bar-container {
        grid-column: 1;
        grid-row: 3;
        margin-top: 4px;
    }
    
    .scenario-score {
        grid-column: 2;
        grid-row: 1;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .testing-results-section {
        padding: 24px 16px;
    }
    
    .testing-stats {
        grid-template-columns: 1fr;
    }
    
    .performance-brand {
        font-size: 18px;
    }
}

/* Nova Sticky Bottom Bar - Mobile Only */
.nova-sticky-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    border-top: 1px solid var(--border-color);
    padding: 25px 16px;
    display: none;
}

@media (min-width: 769px) {
    .nova-sticky-bar {
        display: none !important;
    }
}

.sticky-bar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    max-width: 400px;
    margin: 0 auto;
    padding: 0 8px;
}

.sticky-bar-text {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
}

.our-pick-text {
    font-size: 13px;
    font-weight: 600;
    color: var(--heading-color);
    font-family: 'Inter', sans-serif;
    line-height: 1.2;
    text-align: center;
}

.sticky-bar-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.sticky-logo {
    height: 20px;
    width: auto;
    object-fit: contain;
}

.sticky-bar-button {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.sticky-cta-button {
    background: #FF6B35;
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    transition: var(--transition);
    box-shadow: 0 2px 6px rgba(255, 107, 53, 0.2);
    border: none;
    cursor: pointer;
    white-space: nowrap;
}

.sticky-cta-button:hover {
    background: #E55A2B;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(255, 107, 53, 0.3);
}

/* Show sticky bar with animation */
.nova-sticky-bar.show {
    display: block;
    animation: slideUpFadeIn 0.3s ease-out;
}

.nova-sticky-bar.hide {
    animation: slideDownFadeOut 0.3s ease-out;
}

@keyframes slideUpFadeIn {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideDownFadeOut {
    from {
        transform: translateY(0);
        opacity: 1;
    }
    to {
        transform: translateY(100%);
        opacity: 0;
    }
}