/* Comparison Page Specific Styles */

.executive-summary {
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.1), rgba(0, 128, 255, 0.1));
    border-radius: 20px;
    padding: 3rem;
    margin: 3rem 0;
    border: 1px solid rgba(0, 240, 255, 0.2);
}

.key-findings {
    margin-top: 2rem;
}

.key-findings h3 {
    font-size: 1.8rem;
    color: var(--heading-color);
    margin-bottom: 2rem;
}

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

.finding-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
}

.finding-card:hover {
    transform: translateY(-5px);
}

.finding-card i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.finding-card h4 {
    font-size: 1.2rem;
    color: var(--heading-color);
    margin-bottom: 1rem;
}

.finding-card p {
    color: var(--text-light);
    line-height: 1.5;
}

/* Methodology Section */
.methodology {
    margin: 4rem 0;
}

.evaluation-criteria {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.criteria-category {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.criteria-category h3 {
    font-size: 1.3rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

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

.criteria-category li {
    color: var(--text-light);
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.criteria-category li:before {
    content: "▸";
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

/* Category Comparison */
.category-comparison {
    margin: 4rem 0;
    padding: 2rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.category-comparison h2 {
    font-size: 2.2rem;
    color: var(--heading-color);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--accent-color);
}

.category-comparison>p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-color);
    margin-bottom: 2rem;
}

/* Comparison Table */
.comparison-table-wrapper {
    overflow-x: auto;
    margin: 2rem 0;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.2);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.comparison-table th {
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.2), rgba(0, 128, 255, 0.2));
    color: var(--heading-color);
    padding: 1rem 0.8rem;
    text-align: center;
    font-weight: 600;
    border-bottom: 2px solid rgba(0, 240, 255, 0.3);
}

.comparison-table th:first-child {
    text-align: left;
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.1), rgba(0, 128, 255, 0.1));
}

.quantum-column {
    background: linear-gradient(135deg, var(--accent-color), #0080ff) !important;
    color: white !important;
    position: relative;
}

.quantum-column:after {
    content: "⭐ WINNER";
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    background: #ffd700;
    color: #000;
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
    border-radius: 10px;
    font-weight: bold;
}

.comparison-table td {
    padding: 0.8rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    vertical-align: middle;
}

.comparison-table td:first-child {
    font-weight: 500;
    color: var(--text-color);
    background: rgba(255, 255, 255, 0.02);
}

.quantum-cell {
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.1), rgba(0, 128, 255, 0.1)) !important;
    color: var(--accent-color) !important;
    font-weight: 600;
    text-align: center;
}

.comparison-table tr:hover {
    background: rgba(255, 255, 255, 0.05);
}

.comparison-table tr:hover .quantum-cell {
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.2), rgba(0, 128, 255, 0.2)) !important;
}

/* Table symbols */
.comparison-table td:contains("✓") {
    color: #4caf50;
}

.comparison-table td:contains("✗") {
    color: #f44336;
}

.comparison-table td:contains("⚠") {
    color: #ff9800;
}

.comparison-table td:contains("$") {
    color: #ff5722;
}

/* Verdict Section */
.verdict-section {
    margin: 3rem 0;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 20px;
    padding: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.verdict-section h3 {
    font-size: 1.8rem;
    color: var(--heading-color);
    margin-bottom: 2rem;
}

.winner-announcement {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 193, 7, 0.1));
    border-radius: 15px;
    padding: 2rem;
    border: 2px solid #ffd700;
    margin-bottom: 2rem;
}

.winner-announcement i {
    font-size: 3rem;
    color: #ffd700;
}

.winner-announcement h4 {
    font-size: 1.4rem;
    color: var(--heading-color);
    margin-bottom: 0.5rem;
}

.winner-announcement p {
    color: var(--text-light);
    margin: 0;
}

.detailed-analysis {
    margin: 2rem 0;
}

.detailed-analysis h4 {
    font-size: 1.3rem;
    color: var(--heading-color);
    margin-bottom: 1rem;
}

.detailed-analysis p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.category-winners {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.category-winner {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.category-winner h5 {
    color: var(--accent-color);
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

.category-winner p {
    color: var(--text-light);
    line-height: 1.5;
    margin: 0;
}

/* Overall Rankings */
.overall-rankings {
    margin: 4rem 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.1));
    border-radius: 20px;
    padding: 3rem;
}

.overall-rankings h2 {
    font-size: 2.2rem;
    color: var(--heading-color);
    margin-bottom: 1.5rem;
    text-align: center;
}

.overall-rankings>p {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

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

.ranking-category {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.ranking-category h3 {
    font-size: 1.4rem;
    color: var(--heading-color);
    margin-bottom: 2rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.ranking-category i {
    color: var(--accent-color);
}

.ranking-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.ranking-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
}

.ranking-item:hover {
    transform: translateX(5px);
}

.ranking-item.gold {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 193, 7, 0.1));
    border-color: #ffd700;
}

.ranking-item.silver {
    background: linear-gradient(135deg, rgba(192, 192, 192, 0.1), rgba(169, 169, 169, 0.1));
    border-color: #c0c0c0;
}

.ranking-item.bronze {
    background: linear-gradient(135deg, rgba(205, 127, 50, 0.1), rgba(184, 115, 51, 0.1));
    border-color: #cd7f32;
}

.rank {
    font-size: 1.2rem;
    font-weight: bold;
    min-width: 2rem;
    text-align: center;
}

.gold .rank {
    color: #ffd700;
}

.silver .rank {
    color: #c0c0c0;
}

.bronze .rank {
    color: #cd7f32;
}

.tool-info {
    flex: 1;
}

.tool-info h4 {
    font-size: 1.1rem;
    color: var(--heading-color);
    margin-bottom: 0.3rem;
}

.tool-info p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
}

.score {
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--accent-color);
}

/* Final Recommendations */
.final-recommendations {
    margin: 4rem 0;
}

.final-recommendations h2 {
    font-size: 2.2rem;
    color: var(--heading-color);
    margin-bottom: 2rem;
}

.user-type-recommendations {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.user-type-card {
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.05), rgba(0, 128, 255, 0.05));
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid rgba(0, 240, 255, 0.2);
    transition: transform 0.3s ease;
}

.user-type-card:hover {
    transform: translateY(-5px);
}

.user-type-card i {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

.user-type-card h3 {
    font-size: 1.4rem;
    color: var(--heading-color);
    margin-bottom: 1rem;
}

.user-type-card p {
    color: var(--text-color);
    margin-bottom: 1rem;
    font-weight: 500;
}

.user-type-card ul {
    list-style: none;
    padding: 0;
    margin-bottom: 1rem;
}

.user-type-card li {
    color: var(--text-light);
    padding: 0.3rem 0;
    padding-left: 1.2rem;
    position: relative;
    line-height: 1.4;
}

.user-type-card li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

.user-type-card em {
    color: var(--text-light);
    font-style: italic;
    font-size: 0.9rem;
}

/* Future Trends */
.future-trends {
    margin: 4rem 0;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    padding: 3rem;
}

.future-trends h2 {
    font-size: 2.2rem;
    color: var(--heading-color);
    margin-bottom: 2rem;
    text-align: center;
}

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

.trend-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
}

.trend-card:hover {
    transform: translateY(-5px);
}

.trend-card i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.trend-card h3 {
    font-size: 1.3rem;
    color: var(--heading-color);
    margin-bottom: 1rem;
}

.trend-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Mobile Responsive */
@media (max-width: 768px) {

    .findings-grid,
    .evaluation-criteria,
    .category-winners,
    .rankings-grid,
    .user-type-recommendations,
    .trends-grid {
        grid-template-columns: 1fr;
    }

    .comparison-table-wrapper {
        margin: 1rem -1rem;
        border-radius: 0;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 0.5rem 0.3rem;
        font-size: 0.85rem;
    }

    .quantum-column:after {
        font-size: 0.6rem;
        padding: 0.1rem 0.3rem;
    }

    .winner-announcement {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .ranking-item {
        padding: 0.8rem;
    }

    .executive-summary,
    .verdict-section,
    .overall-rankings,
    .future-trends {
        padding: 2rem 1rem;
    }
}

@media (max-width: 480px) {

    .comparison-table th,
    .comparison-table td {
        padding: 0.3rem 0.2rem;
        font-size: 0.8rem;
    }

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

    .category-comparison h2 {
        font-size: 1.8rem;
    }
}