/* ========================================
   VetSyCare Comparison Page Styles
   Complete feature comparison design
   ======================================== */

/* Comparison Hero */
.comparison-hero {
    background: linear-gradient(135deg, #1a3331 0%, #2F5855 50%, #1a3331 100%);
    padding: 140px 20px 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.comparison-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(201, 133, 114, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(201, 133, 114, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.comparison-hero .hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.comparison-hero .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 24px;
    background: rgba(201, 133, 114, 0.2);
    border: 1px solid rgba(201, 133, 114, 0.3);
    color: #C98572;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.comparison-hero h1 {
    color: white;
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.comparison-hero .hero-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    line-height: 1.7;
    margin-bottom: 36px;
}

.hero-competitors {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.competitor-badge {
    padding: 8px 18px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Quick Navigation */
.comparison-nav {
    background: white;
    padding: 16px 20px;
    position: sticky;
    top: 70px;
    z-index: 100;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.nav-pills {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-pill {
    padding: 10px 20px;
    background: #F3F4F6;
    border-radius: 30px;
    color: #64748b;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.nav-pill:hover,
.nav-pill.active {
    background: #2F5855;
    color: white;
}

.nav-pill i {
    font-size: 0.85rem;
}

/* Winner Summary */
.winner-summary {
    padding: 80px 20px;
    background: #F8F9FA;
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.summary-card {
    background: white;
    border-radius: 20px;
    padding: 32px;
    text-align: center;
    border: 2px solid #E5E7EB;
    transition: all 0.3s ease;
}

.summary-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.summary-card.winner {
    border-color: #10B981;
}

.summary-card .card-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #2F5855 0%, #3d6f6b 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.75rem;
    color: white;
}

.summary-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1F2937;
    margin-bottom: 12px;
}

.summary-card p {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.winner-badge {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    color: white;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
}

/* Comparison Sections */
.comparison-section {
    padding: 80px 20px;
}

.comparison-section.alt-bg {
    background: #F8F9FA;
}

.comparison-section .section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.comparison-section .section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.875rem;
    font-weight: 600;
    background: rgba(47, 88, 85, 0.1);
    color: #2F5855;
    margin-bottom: 16px;
}

.comparison-section .section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1F2937;
    margin-bottom: 16px;
    line-height: 1.2;
}

.comparison-section .section-header p {
    font-size: 1.1rem;
    color: #64748b;
    line-height: 1.6;
}

.section-header.text-white h2,
.section-header.text-white p {
    color: white;
}

.section-header.text-white .section-badge {
    background: rgba(255, 255, 255, 0.15);
    color: white;
}

.badge-gold {
    background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%) !important;
    color: white !important;
}

/* Comparison Matrix Tables */
.matrix-wrapper,
.pricing-table-wrapper {
    overflow-x: auto;
    margin-bottom: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.comparison-matrix {
    width: 100%;
    min-width: 900px;
    border-collapse: separate;
    border-spacing: 0;
    background: white;
    border-radius: 16px;
    overflow: hidden;
}

.comparison-matrix th,
.comparison-matrix td {
    padding: 16px 20px;
    text-align: center;
    border-bottom: 1px solid #E5E7EB;
}

.comparison-matrix thead {
    background: #1F2937;
}

.comparison-matrix th {
    color: white;
    font-weight: 700;
    font-size: 0.9rem;
    white-space: nowrap;
}

.comparison-matrix .feature-col,
.comparison-matrix .software-col {
    text-align: left;
    min-width: 200px;
}

.comparison-matrix .vetsycare-col {
    background: linear-gradient(135deg, #2F5855 0%, #3d6f6b 100%);
    min-width: 130px;
}

.comparison-matrix tbody tr {
    transition: background 0.2s ease;
}

.comparison-matrix tbody tr:hover {
    background: #F9FAFB;
}

.comparison-matrix tbody tr:last-child td {
    border-bottom: none;
}

.comparison-matrix .vetsycare-cell {
    background: rgba(47, 88, 85, 0.05);
}

.comparison-matrix tbody tr:hover .vetsycare-cell {
    background: rgba(47, 88, 85, 0.1);
}

.feature-name {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    color: #1F2937;
    text-align: left;
}

.feature-name i {
    width: 32px;
    height: 32px;
    background: #F3F4F6;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2F5855;
    font-size: 0.9rem;
}

/* Check marks */
.check {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    font-size: 0.9rem;
}

.check i {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
}

.check.yes {
    color: #059669;
}

.check.yes i {
    background: #10B981;
    color: white;
}

.check.no {
    color: #DC2626;
}

.check.no i {
    background: #FEE2E2;
    color: #DC2626;
}

.check.partial {
    color: #D97706;
}

.check.partial i {
    background: #FEF3C7;
    color: #D97706;
}

.check small {
    font-size: 0.75rem;
    font-weight: 500;
    color: #64748b;
}

/* Highlight rows */
.highlight-row {
    background: rgba(47, 88, 85, 0.05) !important;
}

.highlight-row:hover {
    background: rgba(47, 88, 85, 0.1) !important;
}

.highlight-feature {
    background: rgba(16, 185, 129, 0.05);
}

.highlight-feature:hover {
    background: rgba(16, 185, 129, 0.1) !important;
}

.super-highlight {
    background: rgba(245, 158, 11, 0.1) !important;
}

.super-highlight:hover {
    background: rgba(245, 158, 11, 0.15) !important;
}

/* Pricing Matrix */
.pricing-matrix .software-name {
    text-align: left;
}

.software-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #F3F4F6;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    color: #374151;
}

.software-badge.vetsycare {
    background: linear-gradient(135deg, #2F5855 0%, #3d6f6b 100%);
    color: white;
}

.pricing-model {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.pricing-model.good {
    background: #D1FAE5;
    color: #065F46;
}

.pricing-model.warning {
    background: #FEF3C7;
    color: #92400E;
}

.price {
    font-size: 1.1rem;
    color: #1F2937;
}

.trial-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.trial-badge.yes {
    background: #D1FAE5;
    color: #065F46;
}

.trial-badge.partial {
    background: #FEF3C7;
    color: #92400E;
}

.trial-badge.no {
    background: #FEE2E2;
    color: #991B1B;
}

/* Pricing Insight Box */
.pricing-insight {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%);
    border: 2px solid #BFDBFE;
    border-radius: 16px;
    padding: 28px;
    max-width: 800px;
    margin: 0 auto;
}

.insight-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #3B82F6 0%, #1D4ED8 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    flex-shrink: 0;
}

.insight-content h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1E40AF;
    margin-bottom: 8px;
}

.insight-content p {
    color: #374151;
    line-height: 1.7;
}

/* Sub-section title */
.sub-section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1F2937;
    margin: 60px 0 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.sub-section-title i {
    color: #2F5855;
}

/* Feature Highlight Box */
.feature-highlight-box {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: linear-gradient(135deg, #F0FDF4 0%, #DCFCE7 100%);
    border: 2px solid #BBF7D0;
    border-radius: 16px;
    padding: 28px;
    max-width: 800px;
    margin: 0 auto;
}

.highlight-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    flex-shrink: 0;
}

.highlight-content h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #065F46;
    margin-bottom: 8px;
}

.highlight-content p {
    color: #374151;
    line-height: 1.7;
}

/* AI Leader Box */
.ai-leader-box {
    background: linear-gradient(135deg, #2F5855 0%, #1a3331 100%);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    max-width: 800px;
    margin: 40px auto 0;
    position: relative;
    overflow: hidden;
}

.ai-leader-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(201, 133, 114, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(201, 133, 114, 0.2) 0%, transparent 50%);
    pointer-events: none;
}

.leader-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
    color: white;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 20px;
    position: relative;
}

.ai-leader-box h3 {
    color: white;
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 16px;
    position: relative;
}

.ai-leader-box > p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 32px;
    position: relative;
}

.ai-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    position: relative;
}

.ai-stat {
    text-align: center;
}

.ai-stat .stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    display: block;
}

.ai-stat .stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

/* Unique Section */
.unique-section {
    background: linear-gradient(135deg, #2F5855 0%, #1a3331 100%);
    position: relative;
    overflow: hidden;
}

.unique-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 10% 30%, rgba(201, 133, 114, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 90% 70%, rgba(201, 133, 114, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.unique-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.unique-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 32px;
    transition: all 0.3s ease;
    position: relative;
}

.unique-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.unique-card.featured {
    background: rgba(245, 158, 11, 0.2);
    border-color: rgba(245, 158, 11, 0.5);
}

.featured-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
    color: white;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
}

.unique-icon {
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    margin-bottom: 20px;
}

.unique-card h4 {
    color: white;
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.unique-card > p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.competitors-note {
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
}

.competitors-note strong {
    color: #C98572;
}

/* Final CTA Section */
.final-cta-section {
    background: linear-gradient(135deg, #1a3331 0%, #2F5855 100%);
    padding: 100px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.final-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 25% 50%, rgba(201, 133, 114, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 75% 50%, rgba(201, 133, 114, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.final-cta-section .cta-content {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.final-cta-section h2 {
    color: white;
    font-size: 2.75rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.final-cta-section > .cta-content > p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin-bottom: 40px;
    line-height: 1.7;
}

.final-cta-section .cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.btn-cta-primary {
    background: linear-gradient(135deg, #C98572 0%, #d9a090 100%);
    color: white;
    border: none;
    box-shadow: 0 15px 40px rgba(201, 133, 114, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 50px rgba(201, 133, 114, 0.5);
}

.btn-cta-outline-white {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-cta-outline-white:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

.btn-xl {
    padding: 18px 36px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.final-cta-section .cta-trust {
    display: flex;
    gap: 32px;
    justify-content: center;
    flex-wrap: wrap;
}

.final-cta-section .cta-trust span {
    color: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
}

.final-cta-section .cta-trust i {
    color: #10B981;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .comparison-hero h1 {
        font-size: 2.75rem;
    }

    .comparison-matrix {
        min-width: 700px;
    }

    .ai-stats {
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .comparison-hero {
        padding: 100px 20px 60px;
    }

    .comparison-hero h1 {
        font-size: 2rem;
    }

    .comparison-nav {
        top: 60px;
    }

    .nav-pills {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 10px;
    }

    .nav-pill {
        white-space: nowrap;
    }

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

    .comparison-section .section-header h2 {
        font-size: 1.75rem;
    }

    .pricing-insight,
    .feature-highlight-box {
        flex-direction: column;
        text-align: center;
    }

    .ai-stats {
        flex-direction: column;
        gap: 20px;
    }

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

    .final-cta-section h2 {
        font-size: 2rem;
    }

    .final-cta-section .cta-buttons {
        flex-direction: column;
    }

    .final-cta-section .cta-trust {
        flex-direction: column;
        gap: 12px;
    }
}

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

    .hero-competitors {
        flex-direction: column;
        gap: 8px;
    }

    .comparison-section {
        padding: 60px 20px;
    }

    .sub-section-title {
        font-size: 1.25rem;
    }
}
