/* Why Choose Us Section - Modern Professional Design */
.why-choose-us-section {
    padding: 5rem 1.5rem;
    margin-top: 2rem;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.why-choose-us-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6 0%, #8b5cf6 50%, #3b82f6 100%);
}

.why-choose-us-section .container {
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.why-choose-us-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.75rem;
}

.why-choose-us-section .section-subtitle {
    color: #64748b;
    font-size: 1.125rem;
    font-weight: 400;
    margin: 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Comparison Container - Image + Benefits Grid */
.comparison-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    margin-bottom: 4rem;
}

.comparison-image {
    position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
    background: #f8fafc;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.comparison-image:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.18);
}

.image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 1.5rem;
}

.comparison-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 1.5rem;
    transition: transform 0.5s ease;
    object-fit: cover;
}

.comparison-image:hover img {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.1) 100%);
    border-radius: 1.5rem;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.comparison-image:hover .image-overlay {
    opacity: 1;
}

.overlay-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.95) 0%, rgba(5, 150, 105, 0.95) 100%);
    color: white;
    padding: 0.75rem 1.25rem;
    border-radius: 2rem;
    font-weight: 700;
    font-size: 0.9375rem;
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.4);
    backdrop-filter: blur(10px);
    animation: slideUp 0.5s ease 0.2s both;
}

.overlay-badge svg {
    width: 20px;
    height: 20px;
    stroke-width: 3;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Benefits Grid - 2x2 Layout */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.benefit-card {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    border-radius: 1rem;
    padding: 2rem 1.75rem;
    text-align: left;
    transition: all 0.3s ease;
    border: 2px solid #e2e8f0;
    position: relative;
    height: 100%;
}

.benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(59, 130, 246, 0.1);
    border-color: #93c5fd;
}

.benefit-icon {
    width: 3.5rem;
    height: 3.5rem;
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    border-radius: 0.875rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    color: white;
    box-shadow: 0 8px 16px rgba(59, 130, 246, 0.25);
    transition: all 0.3s ease;
}

.benefit-card:hover .benefit-icon {
    transform: scale(1.05);
    box-shadow: 0 12px 24px rgba(59, 130, 246, 0.35);
}

.benefit-icon svg {
    width: 24px;
    height: 24px;
    stroke-width: 2.5;
}

.benefit-icon i {
    font-size: 1.5rem;
}

.benefit-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.benefit-card p {
    color: #64748b;
    line-height: 1.6;
    font-size: 0.9375rem;
    margin-bottom: 1rem;
}

.benefit-badge {
    display: block;
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    color: #1e40af;
    padding: 0.4rem 1rem;
    border-radius: 1.5rem;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.025em;
    width: 100px;
    border: 1.5px solid #93c5fd;
    margin: auto;
    text-align: center;
}

/* Comparison Table - Professional Design */
.comparison-table {
    background: white;
    border-radius: 1.25rem;
    padding: 2.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
    border: 2px solid #e2e8f0;
    grid-column: 1 / -1;
}

.comparison-table h3 {
    font-size: 1.875rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1.75rem;
    text-align: center;
}

.table-wrapper {
    overflow-x: auto;
    border-radius: 1rem;
}

.comparison-table table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.comparison-table thead th {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 1.5rem 1.25rem;
    text-align: center;
    font-weight: 700;
    color: #1e293b;
    font-size: 1.0625rem;
    border-bottom: 3px solid #e2e8f0;
    position: relative;
}

.comparison-table thead th:first-child {
    border-top-left-radius: 1rem;
    text-align: left;
}

.comparison-table thead th:last-child {
    border-top-right-radius: 1rem;
}

.table-header-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
}

.badge-winner {
    display: inline-block;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 0.375rem 0.875rem;
    border-radius: 1.5rem;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.comparison-table th.highlight {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    border-left: 3px solid #10b981;
    border-right: 3px solid #10b981;
    border-bottom-color: #10b981;
}

.comparison-table tbody td {
    padding: 1.25rem;
    text-align: center;
    border-bottom: 1px solid #e5e7eb;
    color: #64748b;
    font-size: 0.9375rem;
}

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

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

.comparison-table tbody tr:last-child td:first-child {
    border-bottom-left-radius: 1rem;
}

.comparison-table tbody tr:last-child td:last-child {
    border-bottom-right-radius: 1rem;
}

.comparison-table td.highlight {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    color: #059669;
    font-weight: 700;
    border-left: 3px solid #10b981;
    border-right: 3px solid #10b981;
}

.comparison-table tbody tr:hover {
    background: #f9fafb;
}

.comparison-table tbody tr:hover td.highlight {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
}

/* Check/X/Warning Marks */
.check-mark {
    display: inline-block;
    width: 1.75rem;
    height: 1.75rem;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border-radius: 50%;
    font-weight: 900;
    font-size: 0.875rem;
    line-height: 1.75rem;
    text-align: center;
    margin-right: 0.625rem;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.x-mark {
    display: inline-block;
    width: 1.75rem;
    height: 1.75rem;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    border-radius: 50%;
    font-weight: 900;
    font-size: 0.875rem;
    line-height: 1.75rem;
    text-align: center;
    margin-right: 0.625rem;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
}

.warning-mark {
    display: inline-block;
    width: 1.75rem;
    height: 1.75rem;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    border-radius: 50%;
    font-weight: 900;
    font-size: 0.875rem;
    line-height: 1.75rem;
    text-align: center;
    margin-right: 0.625rem;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}

/* Mobile Card Layout - Hidden by default */
.comparison-cards {
    display: none;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .comparison-container {
        gap: 3rem;
    }
}

@media (max-width: 968px) {
    .comparison-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .comparison-image {
        max-width: 600px;
        margin: 0 auto;
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .why-choose-us-section {
        padding: 3rem 1rem;
        margin-top: 1rem;
    }

    .why-choose-us-section h2 {
        font-size: 1rem;
    }

    .why-choose-us-section .section-subtitle {
        font-size: 1rem;
    }

    .comparison-container {
        gap: 2.5rem;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .comparison-table {
        padding: 1.5rem 1rem;
    }

    .comparison-table h3 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    /* Hide table on mobile, show card layout instead */
    .table-wrapper {
        display: none;
    }

    /* Mobile card layout */
    .comparison-table {
        display: block;
    }

    .comparison-cards {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .comparison-card {
        background: white;
        border: 2px solid #e2e8f0;
        border-radius: 1rem;
        padding: 1.25rem;
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .comparison-card.highlight-card {
        border-color: #10b981;
        background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    }

    .comparison-card-feature {
        font-size: 1rem;
        font-weight: 700;
        color: #1e293b;
        margin-bottom: 0.5rem;
        padding-bottom: 0.75rem;
        border-bottom: 2px solid #e2e8f0;
    }

    .comparison-card-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0.75rem;
        border-radius: 0.5rem;
        background: #f8fafc;
    }

    .comparison-card-row.highlight-row {
        background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
        border: 1px solid #10b981;
    }

    .comparison-card-label {
        font-size: 0.875rem;
        font-weight: 600;
        color: #64748b;
    }

    .comparison-card-value {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        font-size: 0.875rem;
        font-weight: 600;
    }

    .comparison-card-value.highlight-value {
        color: #059669;
    }

    .comparison-card-value.other-value {
        color: #64748b;
    }
}

@media (max-width: 480px) {
    .why-choose-us-section {
        padding: 3rem 1rem;
    }

    .benefit-card {
        padding: 1.75rem 1.5rem;
    }

    .benefit-icon {
        width: 3rem;
        height: 3rem;
        margin: auto;
    }

    .benefit-icon svg,
    .benefit-icon i {
        font-size: 1.25rem;
    }

    .benefit-card h3 {
        font-size: 1.125rem;
    }

    .comparison-table {
        padding: 1.25rem 0.75rem;
    }

    .comparison-table h3 {
        font-size: 1.375rem;
        margin-bottom: 1.25rem;
    }

    .comparison-card {
        padding: 1rem;
        gap: 0.75rem;
    }

    .comparison-card-feature {
        font-size: 0.9375rem;
        padding-bottom: 0.625rem;
    }

    .comparison-card-row {
        padding: 0.625rem;
    }

    .comparison-card-label,
    .comparison-card-value {
        font-size: 0.8125rem;
    }

    .check-mark,
    .x-mark,
    .warning-mark {
        width: 1.25rem;
        height: 1.25rem;
        line-height: 1.25rem;
        font-size: 0.6875rem;
        margin-right: 0.375rem;
    }
}
