/* ==================== Tools Comparison Section ==================== */

.tools-comparison-section {
    background: #ffffff;
    padding: 80px 0;
}

.tools-comparison-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.tools-comparison-header {
    text-align: center;
    margin-bottom: 30px;
}

.tools-comparison-header h2 {
    font-family: 'Sebenta', 'Crimson Pro', Georgia, 'Times New Roman', serif;
    font-size: 42px;
    font-weight: 700;
    color: #111111;
    margin-bottom: 20px;
    line-height: 1.3;
}

.tools-comparison-header h2,
.tools-comparison-header h2 * {
    font-weight: 700 !important;
}

/* ==================== Sticky Header ==================== */

.tools-sticky-header {
    position: sticky;
    top: 52px;
    z-index: 999;
    background: #ffffff;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 28px 12px 28px;
    margin-top: 10px;
    margin-bottom: 0;
    border-bottom: 1px solid #e6e6e6;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0);
    transition: all 0.3s ease;
}

.tools-sticky-header.stuck {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    border-top: 1px solid #e6e6e6;
}

.tools-sticky-spacer {
    flex: 0 0 auto;
    min-width: 250px;
}

.tools-sticky-plans {
    display: flex;
    gap: 16px;
    flex: 1;
}

.tools-header-plan {
    flex: 1;
    min-width: 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0;
}

.tools-header-plan-featured {
    /* No special styling for featured plan in minimalist mode */
}

.tools-plan-name {
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 4px;
    color: #111111;
}

.tools-plan-price {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 2px;
    line-height: 1;
    color: #111111;
}

.tools-plan-period {
    font-size: 11px;
    color: #111111;
    line-height: 1.3;
    font-weight: 700;
}

/* Tools Category */
.tools-category {
    margin-bottom: 30px;
    border: 1px solid #e6e6e6;
    border-radius: 12px;
    overflow: hidden;
    background: #ffffff;
}

.tools-category-header {
    background: #f8f8f8;
    padding: 18px 28px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
    border-left: 4px solid #0075de ;
}

.tools-category-header:hover {
    background: #f0f0f0;
}

.tools-category-title {
    display: flex;
    align-items: center;
    flex: 1;
}

.tools-category-title h3 {
    font-size: 20px;
    font-weight: 700;
    color: #111111;
    margin: 0;
}

.tools-category-toggle {
    color: #0075de;
    font-size: 20px;
    transition: transform 0.3s ease;
    margin-left: 20px;
    font-weight: 700;
}

.tools-category[open] .tools-category-toggle {
    transform: rotate(180deg);
}

/* Tools Content */
.tools-category-content {
    padding: 0;
}

.tools-feature-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 28px;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s ease;
}

.tools-feature-row:hover {
    background-color: #f9f9f9;
}

.tools-feature-row:last-child {
    border-bottom: none;
}

.tools-feature-name {
    flex: 0 0 250px;
    min-width: 250px;
    max-width: 300px;
    font-size: 15px;
    color: #111111;
    font-weight: 700;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    line-height: 1.5;
}

.tools-feature-values {
    display: flex;
    gap: 16px;
    align-items: center;
    flex: 1;
}

.tools-feature-value {
    flex: 1 1 0%;
    min-width: 100px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 15px;
    color: #0075de;
    flex-shrink: 0;
}

.tools-feature-value i {
    font-size: 16px;
    flex-shrink: 0;
}

.tools-feature-value i.fa-check-circle {
    color: #0075de;
}

.tools-feature-value i.fa-times-circle {
    color: #cccccc;
}

.tools-feature-count {
    font-weight: 700;
    color: #0075de;
}

.tools-feature-detail {
    font-size: 13px;
    color: #0075de;
    font-weight: 700;
    max-width: 100%;
}

/* Responsive */
@media (max-width: 1024px) {
    .tools-header-plans {
        gap: 12px;
    }
    
    .tools-feature-values {
        gap: 12px;
    }
    
    .tools-plan-price {
        font-size: 22px;
    }
    
    .tools-plan-period {
        font-size: 12px;
    }
    
    .tools-feature-value {
        font-size: 14px;
    }
    
    .tools-feature-name {
        min-width: 200px;
    }
}

@media (max-width: 768px) {
    .tools-comparison-section {
        padding: 30px 0;
    }
    
    .tools-comparison-header h2 {
        font-size: 32px;
    }
    
    .tools-sticky-header {
        padding: 8px 20px 6px 20px;
        top: 60px;
        gap: 12px;
    }
    
    .tools-sticky-spacer {
        display: none;
    }
    
    .tools-sticky-plans {
        width: 100%;
        justify-content: space-around;
        gap: 10px;
    }
    
    .tools-header-plan {
        flex: 1;
        min-width: 90px;
        padding: 6px 4px;
    }
    
    .tools-header-plan-featured {
        margin: 0;
    }
    
    .tools-plan-name {
        font-size: 13px;
        margin-bottom: 4px;
    }
    
    .tools-plan-price {
        font-size: 18px;
        margin-bottom: 2px;
    }
    
    .tools-plan-period {
        font-size: 9px;
    }
    
    .tools-category-header {
        padding: 16px 20px;
    }
    
    .tools-category-toggle {
        font-size: 18px;
    }
    
    .tools-feature-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 16px 20px;
    }
    
    .tools-feature-name {
        flex: 0 0 auto;
        width: 100%;
        min-width: 0;
        max-width: 100%;
        margin-bottom: 8px;
    }
    
    .tools-feature-values {
        width: 100%;
        justify-content: space-between;
        gap: 0;
        min-width: 0;
        overflow: visible;
    }
    
    .tools-feature-value {
        flex: 1;
        min-width: 80px;
        max-width: 100%;
        font-size: 13px;
        overflow: visible;
        flex-shrink: 1;
        padding: 4px 4px;
        box-sizing: border-box;
        flex-direction: column;
        gap: 4px;
        align-items: center;
    }
    
    .tools-feature-value i {
        overflow: visible;
    }
    
    .tools-feature-detail {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
        text-align: center;
        font-weight: 700;
    }
    
    .tools-feature-count {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .tools-comparison-header h2 {
        font-size: 26px;
    }
    
    .tools-category-title h3 {
        font-size: 16px;
    }
    
    .tools-sticky-header {
        padding: 6px 12px 4px 12px;
    }
    
    .tools-sticky-plans {
        gap: 8px;
    }
    
    .tools-header-plan {
        flex: 1;
        min-width: 70px;
        padding: 4px 2px;
    }
    
    .tools-plan-name {
        font-size: 11px;
    }
    
    .tools-plan-price {
        font-size: 16px;
    }
    
    .tools-plan-period {
        font-size: 8px;
    }
    
    .tools-feature-name {
        flex: 0 0 auto;
        width: 100%;
        min-width: 0;
        max-width: 100%;
        font-size: 13px;
    }
    
    .tools-feature-value {
        flex: 1;
        min-width: 70px;
        max-width: 100%;
        font-size: 12px;
        overflow: visible;
        flex-shrink: 1;
        padding: 4px 2px;
        box-sizing: border-box;
        flex-direction: column;
        gap: 4px;
        align-items: center;
    }
    
    .tools-feature-value i {
        overflow: visible;
    }
    
    .tools-feature-detail {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
        text-align: center;
        font-size: 11px;
        font-weight: 700;
    }
    
    .tools-feature-count {
        font-size: 11px;
    }
    
    .tools-feature-values {
        min-width: 0;
        overflow: visible;
    }
}

