/* Tools Page Specific Styles */

.tools-header {
    text-align: center;
    padding: var(--space-xl) 0;
}

.tools-title {
    font-size: 48px;
    font-weight: 600;
    color: var(--primary-black);
    margin-bottom: var(--space-md);
    letter-spacing: -1px;
}

.tools-subtitle {
    font-size: 20px;
    color: var(--medium-grey);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Tools Showcase Layout */
.tools-showcase {
    margin: var(--space-xl) 0;
}

.tool-section {
    margin-bottom: var(--space-xxl);
    opacity: 1;
    transform: translateY(0);
    animation: fadeInUp 0.8s ease forwards;
}

.tool-section:nth-child(1) { animation-delay: 0.1s; }
.tool-section:nth-child(2) { animation-delay: 0.2s; }
.tool-section:nth-child(3) { animation-delay: 0.3s; }
.tool-section:nth-child(4) { animation-delay: 0.4s; }
.tool-section:nth-child(5) { animation-delay: 0.5s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tool-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
    background: white;
    padding: var(--space-xl);
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tool-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

/* Alternate layout for visual variety */
.tool-section.reverse .tool-content {
    direction: rtl;
}

.tool-section.reverse .tool-description {
    direction: ltr;
    text-align: left;
}

.tool-image-container {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tool-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.tool-content:hover .tool-image {
    transform: scale(1.05);
}

/* Placeholder removed - images are now available */

.tool-description {
    padding: var(--space-md);
}

.tool-name {
    font-size: 32px;
    font-weight: 600;
    color: var(--primary-black);
    margin-bottom: var(--space-md);
    line-height: 1.2;
}

.tool-text {
    font-size: 16px;
    line-height: 1.8;
    color: var(--soft-black);
    margin-bottom: var(--space-md);
}

.tool-specs {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-top: var(--space-md);
}

.spec-item {
    background: var(--eggshell);
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 500;
    color: var(--cobalt-blue);
    border: 1px solid var(--border-grey);
    transition: all 0.3s ease;
}

.spec-item:hover {
    background: var(--cobalt-blue);
    color: white;
    transform: translateY(-2px);
}

/* Quality Section */
.quality-section {
    text-align: center;
    padding: var(--space-xl);
    background: linear-gradient(135deg, #fafafa 0%, #f5f5f5 100%);
    margin: var(--space-xl) 0;
}

.quality-title {
    font-size: 36px;
    font-weight: 600;
    color: var(--primary-black);
    margin-bottom: var(--space-md);
}

.quality-text {
    font-size: 18px;
    color: var(--soft-black);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

/* CTA Section */
.tools-cta {
    text-align: center;
    padding: var(--space-xl) 0;
    margin: var(--space-xl) 0;
}

.tools-cta h3 {
    font-size: 32px;
    font-weight: 600;
    color: var(--primary-black);
    margin-bottom: var(--space-sm);
}

.tools-cta p {
    font-size: 18px;
    color: var(--medium-grey);
    margin-bottom: var(--space-lg);
}

.cta-button {
    display: inline-block;
    background: var(--cobalt-blue);
    color: white;
    padding: 16px 48px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 71, 171, 0.2);
}

.cta-button:hover {
    background: #003580;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 71, 171, 0.3);
}

/* Mobile Responsiveness */
@media (max-width: 968px) {
    .tool-content {
        grid-template-columns: 1fr;
        padding: var(--space-lg);
    }
    
    .tool-section.reverse .tool-content {
        direction: ltr;
    }
    
    .tools-title {
        font-size: 36px;
    }
    
    .tool-name {
        font-size: 28px;
    }
    
    .tools-subtitle {
        font-size: 18px;
    }
    
    .tool-image-container {
        aspect-ratio: 16/9;
    }
}