/* Tool Page Specific Styles */

.tool-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 4rem 0 3rem;
    margin-top: 60px;
    /* Header height */
    color: white;
}

.tool-hero-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.tool-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.tool-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    font-weight: 400;
}

.tool-benefits {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 0.75rem 1.25rem;
    border-radius: 50px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.benefit-item:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.benefit-icon {
    font-size: 1.1rem;
}

/* Tool Interface Section */
.tool-interface {
    padding: 3rem 0;
    min-height: 400px;
}

.tool-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* How To Section */
.tool-howto {
    background: var(--surface-color);
    padding: 4rem 0;
}

.section-title {
    font-size: 2rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

.howto-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.howto-step {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.howto-step:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(79, 70, 229, 0.15);
}

.step-number {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.step-content {
    flex: 1;
}

.step-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.step-description {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Footer */
.main-footer {
    background: var(--surface-color);
    border-top: 1px solid var(--border-color);
    padding: 2rem 0;
    text-align: center;
    color: var(--text-secondary);
}

/* CRITICAL: Hide modal on tool pages */
#toolModal {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Responsive */
@media (max-width: 768px) {
    .tool-title {
        font-size: 2rem;
    }

    .tool-subtitle {
        font-size: 1.1rem;
    }

    .tool-benefits {
        flex-direction: column;
        align-items: stretch;
    }

    .benefit-item {
        justify-content: center;
    }

    .howto-steps {
        grid-template-columns: 1fr;
    }

    .tool-hero {
        padding: 3rem 0 2rem;
    }
}