/* Tools Page Specific Styles */
.tools-hero {
    padding-top: 120px;
    padding-bottom: 3rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(236, 72, 153, 0.1));
    border-bottom: 1px solid rgba(99, 102, 241, 0.2);
}

.page-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 0.8s ease;
}

.page-subtitle {
    text-align: center;
    color: var(--text-dark);
    font-size: 1.2rem;
    animation: fadeInUp 0.8s ease 0.2s both;
}

[data-theme="dark"] .page-subtitle {
    color: #cbd5e1;
}

.tools-section {
    padding: 3rem 0;
    background: var(--dark-bg);
}

.category-section {
    margin-bottom: 4rem;
}

.category-title {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--text-light);
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(99, 102, 241, 0.2);
}

.tools-grid-large {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.tool-card-large {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05), rgba(139, 92, 246, 0.05));
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.tool-card-large::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(236, 72, 153, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tool-card-large:hover::before {
    opacity: 1;
}

.tool-card-large:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.2);
    border-color: var(--primary-color);
}

.tool-image {
    width: 100%;
    max-width: 120px;
    height: 120px;
    object-fit: contain;
    margin: 0 auto 1rem;
    display: block;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
}

.tool-preview-image {
    width: 100%;
    height: 120px;
    object-fit: contain;
    margin-bottom: 1rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    padding: 10px;
}

[data-theme="light"] .tool-image,
[data-theme="light"] .tool-preview-image {
    background: rgba(255, 255, 255, 0.8);
}

.tool-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: inline-block;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.tool-card-large h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-family: 'Mogra', cursive;
}

.tool-tags {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.tag {
    background: rgba(236, 72, 153, 0.2);
    color: var(--accent-color);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.tool-card-large p {
    color: var(--text-dark);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

[data-theme="dark"] .tool-card-large p {
    color: #cbd5e1;
}

.tool-features {
    list-style: none;
    color: var(--text-light);
}

.tool-features li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.tool-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* CTA Section */
.cta-section {
    background: var(--light-bg);
    padding: 4rem 0;
    text-align: center;
}

.cta-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-text {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
}

[data-theme="dark"] .cta-text {
    color: #cbd5e1;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Active nav link */
.nav-link.active {
    color: var(--primary-color);
}

.nav-link.active::after {
    width: 100%;
}

/* Responsive */
@media (max-width: 768px) {
    .page-title {
        font-size: 2rem;
    }
    
    .tools-grid-large {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        max-width: 300px;
        margin: 0 auto;
    }
}