.compare-hero {
    padding: 100px 24px 40px;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.compare-hero h1 {
    font-size: 38px;
    font-weight: 800;
    color: #314e73;
    margin-bottom: 12px;
}

.compare-hero p {
    font-size: 16px;
    color: #4a6385;
    line-height: 1.65;
}

.compare-wrap {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 24px 60px;
    overflow-x: auto;
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(49, 78, 115, 0.08);
    min-width: 560px;
}

.compare-table thead th {
    padding: 24px 16px 20px;
    text-align: center;
    vertical-align: top;
}

.compare-table thead th:first-child {
    width: 22%;
    text-align: left;
}

.compare-plan-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.compare-plan-header img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.compare-plan-header .plan-name {
    font-size: 13px;
    font-weight: 700;
    color: #314e73;
    line-height: 1.3;
    text-align: center;
}

.compare-plan-header.family-plan .plan-name {
    font-size: 12px;
    color: #4a6385;
}

.compare-table tbody tr.section-divider td {
    background: #eef3fa;
    padding: 8px 16px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #4a6385;
    border-top: 1px solid rgba(49, 78, 115, 0.08);
}

.compare-table tbody tr.section-divider td:first-child {
    border-radius: 0;
}

.compare-table tbody tr.data-row td {
    padding: 14px 16px;
    text-align: center;
    font-size: 13px;
    color: #4a6385;
    border-bottom: 1px solid rgba(49, 78, 115, 0.06);
    vertical-align: middle;
}

.compare-table tbody tr.data-row td:first-child {
    text-align: left;
    font-weight: 600;
    color: #314e73;
    font-size: 13px;
}

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

.compare-check {
    display: inline-block;
    width: 20px;
    height: 20px;
    border-radius: 999px;
    background: rgba(49, 78, 115, 0.08);
    position: relative;
}

.compare-check::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 2px;
    width: 6px;
    height: 10px;
    border-right: 2px solid #314e73;
    border-bottom: 2px solid #314e73;
    transform: rotate(45deg);
}

.compare-x {
    display: inline-block;
    width: 20px;
    height: 20px;
    border-radius: 999px;
    background: rgba(232, 119, 34, 0.08);
    position: relative;
}

.compare-x::before,
.compare-x::after {
    content: '';
    position: absolute;
    top: 9px;
    left: 4px;
    width: 12px;
    height: 2px;
    background: #e87722;
    border-radius: 1px;
}

.compare-x::before { transform: rotate(45deg); }
.compare-x::after  { transform: rotate(-45deg); }

.compare-price {
    font-weight: 700;
    color: #314e73;
    font-size: 13px;
}

.compare-price.free {
    color: #e87722;
}

.compare-table thead {
    border-bottom: 2px solid rgba(49, 78, 115, 0.1);
}

.compare-plan-btn {
    display: inline-block;
    margin-top: 8px;
    padding: 6px 14px;
    background: #314e73;
    color: #eef3fa;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.15s;
}

.compare-plan-btn:hover {
    background: #e87722;
}
