/* Free Tools Page Styles */

/* Tools Section */
.tools-section {
    padding: 80px 0;
    background: #f8fafc;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b !important;
    margin-bottom: 16px;
}

.section-header p {
    font-size: 1.1rem;
    color: #64748b !important;
    line-height: 1.6;
}

/* Section Titles */
.section-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 24px;
    padding-left: 16px;
    border-left: 4px solid #8b5cf6;
}

.section-title.network {
    border-left-color: #06b6d4;
}

/* Tool Cards */
.tool-card {
    background: white;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid #e2e8f0;
}

.tool-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.tool-card.compact {
    padding: 24px;
}

/* Tool Card Header */
.tool-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.tool-header.compact {
    margin-bottom: 16px;
}

.tool-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
}

.tool-icon.compact {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    margin-right: 12px;
}

.tool-icon i {
    color: white;
    font-size: 24px;
}

.tool-icon.compact i {
    font-size: 20px;
}

/* Tool Icon Colors */
.tool-icon.speed {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}

.tool-icon.ssl {
    background: linear-gradient(135deg, #10b981, #059669);
}

.tool-icon.seo {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.tool-icon.malware {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.tool-icon.ip {
    background: linear-gradient(135deg, #06b6d4, #0891b2);
}

.tool-icon.dns {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.tool-icon.whois {
    background: linear-gradient(135deg, #ec4899, #db2777);
}

/* Tool Title */
.tool-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
}

.tool-title.compact {
    font-size: 1.1rem;
}

/* Tool Badge */
.tool-badge {
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
}

.tool-badge.performance {
    background: #dbeafe;
    color: #1d4ed8;
}

.tool-badge.security {
    background: #dcfce7;
    color: #166534;
}

.tool-badge.seo {
    background: #fef3c7;
    color: #92400e;
}

.tool-badge.security-red {
    background: #fee2e2;
    color: #991b1b;
}

/* Tool Description */
.tool-description {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 24px;
}

.tool-description.compact {
    line-height: 1.5;
    margin-bottom: 20px;
    font-size: 14px;
}

/* Tool Footer */
.tool-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Tool Button */
.tool-btn {
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.tool-btn.compact {
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    gap: 6px;
}

.tool-btn:hover {
    transform: scale(1.05);
    text-decoration: none;
    color: white;
}

.tool-btn.speed {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}

.tool-btn.ssl {
    background: linear-gradient(135deg, #10b981, #059669);
}

.tool-btn.seo {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.tool-btn.malware {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.tool-btn.ip {
    background: linear-gradient(135deg, #06b6d4, #0891b2);
}

.tool-btn.dns {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.tool-btn.whois {
    background: linear-gradient(135deg, #ec4899, #db2777);
}

/* Tool Meta */
.tool-meta {
    display: flex;
    gap: 8px;
    color: #94a3b8;
    font-size: 14px;
}

/* Features Section */
.features-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    padding: 60px 40px;
    text-align: center;
    color: white;
}

.features-section h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.features-section > p {
    font-size: 1.1rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

/* Feature Item */
.feature-item {
    text-align: center;
}

.feature-icon {
    background: rgba(255, 255, 255, 0.2);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.feature-icon i {
    font-size: 32px;
}

.feature-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.feature-description {
    font-size: 14px;
    opacity: 0.9 !important;
    color: rgba(255, 255, 255, 0.9) !important;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: white;
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b !important;
    margin-bottom: 16px;
}

.cta-section p {
    font-size: 1.1rem;
    color: #64748b !important;
    line-height: 1.6;
    margin-bottom: 32px;
}

.cta-btn {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    color: white;
    padding: 16px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(139, 92, 246, 0.3);
    text-decoration: none;
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .tools-section {
        padding: 60px 0;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .tool-card {
        padding: 24px;
    }
    
    .tool-card.compact {
        padding: 20px;
    }
    
    .features-section {
        padding: 40px 20px;
    }
    
    .features-section h3 {
        font-size: 1.5rem;
    }
    
    .cta-section {
        padding: 60px 0;
    }
    
    .cta-section h2 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .tool-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .tool-icon {
        margin-right: 0;
    }
    
    .tool-footer {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
    }
    
    .feature-icon i {
        font-size: 24px;
    }
}