.compare-section {
    position: relative;
    z-index: 10;
    padding: 4rem 0;
    background: linear-gradient(to bottom, transparent, rgba(0, 255, 65, 0.03), transparent);
    overflow: hidden;
}

.compare-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 65, 0.2), transparent);
}

.compare-container {
    position: relative;
    z-index: 2;
}

.compare-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.compare-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    color: #74e4de;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.compare-subtitle {
    font-size: 1.25rem;
    color: #9ca3af;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.compare-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin: 2rem 0;
}

.compare-logo-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: linear-gradient(145deg, rgba(10,10,10,0.9), rgba(20,20,20,0.9));
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    color: #ffffff;
    transition: all 0.3s ease;
}

.compare-logo-item.ixbrowser {
    border: 1px solid rgba(0, 255, 65, 0.3);
    box-shadow: 0 0 10px rgba(0, 255, 65, 0.1);
}

.compare-logo-item.vs-badge {
    background: linear-gradient(135deg, rgba(0, 255, 65, 0.15), transparent);
    border: 1px solid rgba(0, 255, 65, 0.3);
    color: #74e4de;
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-family: 'Orbitron', sans-serif;
}

.compare-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.compare-nav a {
    padding: 0.75rem 1.25rem;
    background: linear-gradient(145deg, rgba(10,10,10,0.9), rgba(20,20,20,0.9));
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    color: #9ca3af;
    text-decoration: none;
    transition: all 0.3s ease;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 0.02em;
}

.compare-nav a:hover {
    border-color: rgba(0, 255, 65, 0.3);
    color: #74e4de;
    box-shadow: 0 0 15px rgba(0, 255, 65, 0.1);
}

.compare-nav a.active {
    background: rgba(0, 255, 65, 0.1);
    border-color: rgba(0, 255, 65, 0.4);
    color: #74e4de;
    box-shadow: 0 0 15px rgba(0, 255, 65, 0.15);
}

.compare-table-wrap {
    background: linear-gradient(145deg, rgba(10,10,10,0.9), rgba(20,20,20,0.9));
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 3rem;
    position: relative;
}

.compare-table-wrap::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #74e4de, #8b5cf6);
    z-index: 1;
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.compare-table thead th {
    background: rgba(0, 0, 0, 0.3);
    color: #74e4de;
    padding: 1.25rem 1.5rem;
    text-align: left;
    font-weight: 700;
    font-size: 0.95rem;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 0.02em;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    text-transform: uppercase;
    width: 37.5%;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.compare-table thead th:first-child {
    width: 25%;
}

.compare-table thead th:nth-child(2) {
    background: rgba(0, 255, 65, 0.05);
    color: #74e4de;
}

.compare-table thead th:nth-child(3) {
    background: rgba(139, 92, 246, 0.05);
    color: #a78bfa;
}

.compare-table tbody td {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    font-size: 0.9rem;
    color: #d1d5db;
    vertical-align: top;
    line-height: 1.6;
    width: 37.5%;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.compare-table tbody td:first-child {
    font-weight: 700;
    color: #ffffff;
    width: 25%;
    background: rgba(0, 0, 0, 0.2);
    font-family: 'Orbitron', sans-serif;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.compare-table tbody tr:hover {
    background: rgba(0, 255, 65, 0.03);
}

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

.compare-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.compare-cards.single-card {
    grid-template-columns: 1fr;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.compare-card {
    position: relative;
    background: linear-gradient(145deg, rgba(10,10,10,0.9), rgba(20,20,20,0.9));
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 2rem;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.compare-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    z-index: 1;
}

.compare-card.ixbrowser-card::before {
    background: linear-gradient(90deg, #74e4de, #22d3ee);
}

.compare-card.vs-card::before {
    background: linear-gradient(90deg, #8b5cf6, #a78bfa);
}

.compare-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 255, 65, 0.3);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4), 0 0 20px rgba(0,255,65,0.1);
}

.compare-card h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.compare-card.ixbrowser-card h3 {
    color: #74e4de;
}

.compare-card.vs-card h3 {
    color: #a78bfa;
}

.compare-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.compare-card ul li {
    padding: 0.75rem 0;
    font-size: 0.9rem;
    color: #d1d5db;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    line-height: 1.5;
}

.compare-card ul li:last-child {
    border-bottom: none;
}

.compare-card ul li::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    min-width: 20px;
    border-radius: 50%;
    margin-top: 1px;
}

.ixbrowser-card ul li::before {
    background: rgba(0, 255, 65, 0.15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2374e4de'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") center/12px no-repeat;
    border: 1px solid rgba(0, 255, 65, 0.3);
}

.vs-card ul li::before {
    background: rgba(248, 113, 113, 0.15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23f87171'%3E%3Cpath d='M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z'/%3E%3C/svg%3E") center/12px no-repeat;
    border: 1px solid rgba(248, 113, 113, 0.3);
}

.compare-cta {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(145deg, rgba(10,10,10,0.9), rgba(20,20,20,0.9));
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    position: relative;
    overflow: hidden;
}

.compare-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #74e4de, #8b5cf6);
}

.compare-cta h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #74e4de;
    margin-bottom: 1rem;
}

.compare-cta p {
    font-size: 1rem;
    color: #9ca3af;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

@keyframes compare-scan {
    0% { top: 0; }
    100% { top: 100%; }
}

.compare-scan-line {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #74e4de, transparent);
    animation: compare-scan 5s linear infinite;
    pointer-events: none;
    z-index: 2;
}

@keyframes compare-fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.compare-card {
    animation: compare-fadeInUp 0.5s ease forwards;
    opacity: 0;
}

.compare-card:nth-child(1) { animation-delay: 0.1s; }
.compare-card:nth-child(2) { animation-delay: 0.2s; }

.compare-table tbody tr {
    animation: compare-fadeInUp 0.5s ease forwards;
    opacity: 0;
}

.compare-table tbody tr:nth-child(1) { animation-delay: 0.1s; }
.compare-table tbody tr:nth-child(2) { animation-delay: 0.15s; }
.compare-table tbody tr:nth-child(3) { animation-delay: 0.2s; }
.compare-table tbody tr:nth-child(4) { animation-delay: 0.25s; }
.compare-table tbody tr:nth-child(5) { animation-delay: 0.3s; }
.compare-table tbody tr:nth-child(6) { animation-delay: 0.35s; }
.compare-table tbody tr:nth-child(7) { animation-delay: 0.4s; }
.compare-table tbody tr:nth-child(8) { animation-delay: 0.45s; }
.compare-table tbody tr:nth-child(9) { animation-delay: 0.5s; }

@media (max-width: 1024px) {
    .compare-title {
        font-size: 2.5rem;
    }
    .compare-cards {
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .compare-section {
        padding: 2rem 0;
    }
    .compare-title {
        font-size: 2rem;
    }
    .compare-subtitle {
        font-size: 1.1rem;
        padding: 0 1rem;
    }
    .compare-logos {
        flex-direction: column;
        gap: 1rem;
    }
    .compare-cards {
        grid-template-columns: 1fr;
    }
    .compare-table thead th,
    .compare-table tbody td {
        padding: 1rem;
        font-size: 0.85rem;
    }
    .compare-table thead th:first-child,
    .compare-table tbody td:first-child {
        width: 25%;
        font-size: 0.8rem;
    }
    .compare-nav {
        gap: 0.5rem;
    }
    .compare-nav a {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
    .compare-card {
        padding: 1.5rem;
    }
    .compare-card h3 {
        font-size: 1.1rem;
    }
    .compare-cta h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .compare-title {
        font-size: 1.8rem;
    }
    .compare-table thead th:first-child,
    .compare-table tbody td:first-child {
        width: 25%;
    }
}

@media (hover: none) and (pointer: coarse) {
    .compare-card:hover {
        transform: none;
        border-color: rgba(255,255,255,0.1);
    }
    .compare-card:active {
        transform: translateY(-4px);
        border-color: rgba(0,255,65,0.3);
    }
}
