/* Compare Value Page Styles - Matching Design Image */

.compare-container {
    max-width: 1400px;
    margin-top: 0;
    margin-bottom: 4rem;
    margin-left: auto;
    margin-right: auto;
    padding: 0 15px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.compare-header-row {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
    position: relative;
    z-index: 10;
}

.col-header {
    flex: 1;
    text-align: center;
    padding: 1rem 2rem;
    font-size: 1.5rem;
    font-weight: 800;
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.col-header::after {
    content: attr(data-text);
    background: #ffffff;
    padding: 0.8rem 2.8rem;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    min-width: 220px;
    display: inline-block;
}

.col-header.our-product {
    color: #1565c0;
}

.col-header.other-product {
    color: #37474f;
}

.vs-circle {
    width: 110px;
    height: 110px;
    background: linear-gradient(135deg, #448aff 0%, #1565c0 100%);
    color: #ffffff;
    border-radius: 50%;
    font-size: 2.5rem;
    font-weight: 800;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 6px 20px rgba(21, 101, 192, 0.4);
    z-index: 20;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid #ffffff;
}

.compare-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
}

.compare-list::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 1px;
    background: rgba(0, 0, 0, 0.05);
    transform: translateX(-50%);
    z-index: 5;
}

.compare-row {
    display: flex;
    align-items: stretch;
    position: relative;
    min-height: 110px;
    /* Middle ground for breathing room */
}

.compare-label {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: #ffffff;
    border-radius: 50px;
    padding: 0.7rem 2.8rem;
    font-weight: 600;
    color: #333333;
    font-size: 1.15rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    z-index: 10;
    white-space: nowrap;
    border: 1px solid #eef2f6;
    transition: all 0.3s ease;
}

.compare-row:hover .compare-label {
    transform: translate(-50%, -50%) scale(1.08);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.compare-item {
    flex: 1;
    padding: 2.2rem 3rem;
    /* Increased for better breathing room */
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.compare-item.left {
    background: linear-gradient(90deg, #1e88e5 0%, #1565c0 100%);
    color: #ffffff;
    text-align: right;
    justify-content: flex-end;
    padding-right: 7rem;
    font-size: 1.15rem;
    font-weight: 500;
    line-height: 1.4;
}

.compare-item.left::before {
    content: "✓";
    margin-left: 18px;
    /* Space between text and icon */
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff;
    order: 2;
    /* Icon on the right for right-aligned text */
}

.compare-item.right {
    background: #f8fbff;
    color: #455a64;
    text-align: left;
    justify-content: flex-start;
    padding-left: 7rem;
    font-size: 1.15rem;
    font-weight: 500;
    line-height: 1.4;
}

.compare-item.right::before {
    content: "✕";
    margin-right: 18px;
    font-size: 1.4rem;
    font-weight: 700;
    color: #ef9a9a;
}

/* Neutralize alternating styles for consistent split look */
.compare-row:nth-child(even) .compare-item.left {
    background: linear-gradient(90deg, #1e88e5 0%, #1565c0 100%);
}

.compare-row:nth-child(even) .compare-item.right {
    background: #f8fbff;
}

.compare-row:hover .compare-item.left {
    filter: brightness(1.05);
}

.compare-row:hover .compare-item.right {
    background: #ffffff;
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .compare-container {
        margin-top: 0;
        margin-bottom: 2rem;
        margin-left: auto;
        margin-right: auto;
    }

    .vs-circle {
        width: 80px;
        height: 80px;
        font-size: 1.8rem;
        position: static;
        transform: none;
        margin: 0 auto 1rem;
    }

    .compare-header-row {
        flex-direction: column;
    }

    .col-header::after {
        min-width: 180px;
        padding: 0.6rem 2rem;
    }

    .compare-list::before {
        display: none;
    }

    .compare-row {
        flex-direction: column;
        min-height: auto;
        margin-bottom: 2.5rem;
        box-shadow: none;
        /* Shadow moved to items or container */
        border-radius: 0;
        background: transparent;
        gap: 12px;
    }

    .compare-label {
        position: relative;
        left: auto;
        top: auto;
        transform: none !important;
        width: fit-content;
        margin: 0 auto 5px;
        background: #ffffff;
        border-radius: 50px;
        padding: 0.6rem 2.5rem;
        font-weight: 700;
        color: #1565c0;
        font-size: 1.1rem;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
        z-index: 10;
        white-space: nowrap;
        border: 1px solid #eef2f6;
        order: -1;
    }

    .compare-item {
        padding: 2.8rem 1.5rem 1.8rem !important;
        text-align: left !important;
        justify-content: flex-start !important;
        position: relative;
        border-radius: 12px !important;
        /* Rounded corners for design sense */
        margin: 0 10px;
        /* Breathe from screen edges */
    }

    .compare-item::after {
        position: absolute;
        top: 1rem;
        left: 1.5rem;
        font-size: 0.75rem;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 1px;
    }

    .compare-row .compare-item.left,
    .compare-row:nth-child(even) .compare-item.left {
        background: linear-gradient(135deg, #1e88e5 0%, #1565c0 100%) !important;
        color: #ffffff !important;
        border: none;
        box-shadow: 0 8px 20px rgba(21, 101, 192, 0.15);
    }

    .compare-item.left::after {
        content: "我们的优势";
        color: rgba(255, 255, 255, 0.73);
    }

    .compare-item.left::before {
        content: "✓";
        margin-right: 12px;
        font-size: 1.3rem;
        font-weight: 700;
        color: #ffffff;
    }

    .compare-row .compare-item.right,
    .compare-row:nth-child(even) .compare-item.right {
        background: #ffffff !important;
        color: #546e7a !important;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
        border: 1px solid #f1f3f5;
    }

    .compare-item.right::after {
        content: "其他产品现状";
        color: #90a4ae;
    }

    .compare-item.right::before {
        content: "✕";
        margin-right: 12px;
        font-size: 1.3rem;
        font-weight: 700;
        color: #ff8a80;
    }
}