/* ======================
   Tools Landing Pages CSS
   ====================== */

/* Tool Hero */
.tool-hero {
    padding: 160px 0 80px;
    position: relative;
    text-align: center;
}

.tool-hero .blob {
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(92, 107, 192, 0.12) 0%, rgba(255, 255, 255, 0) 70%);
    z-index: -1;
    filter: blur(60px);
    top: 0;
    left: -10%;
}

.tool-hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.2rem;
    background: linear-gradient(135deg, #1a1c23 0%, #5c6bc0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tool-hero .lead {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 640px;
    margin: 0 auto 2rem;
}

/* Rating Badge */
.rating-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: var(--silica-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--silica-border);
    border-radius: 100px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.rating-badge .stars {
    color: #f59e0b;
    letter-spacing: 2px;
}

/* Tool Screenshot / Preview */
.tool-preview {
    margin: 3rem auto;
    max-width: 900px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(31, 38, 135, 0.12);
    border: 1px solid var(--silica-border);
}

.tool-preview-placeholder {
    width: 100%;
    height: 450px;
    background: linear-gradient(135deg, #e8eaf6, #f5f5f5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 1rem;
}

/* Trusted By */
.trusted-bar {
    padding: 2rem 0;
    text-align: center;
}

.trusted-bar p {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.trusted-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    opacity: 0.4;
}

.trusted-logos span {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-main);
}

/* How-to Steps */
.how-to-section {
    padding: 5rem 0;
}

.how-to-section h2 {
    font-weight: 800;
    margin-bottom: 1rem;
}

.step-card {
    text-align: center;
    padding: 2rem;
}

.step-card .step-num {
    width: 56px;
    height: 56px;
    background: var(--accent-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
    margin: 0 auto 1.5rem;
}

.step-card h4 {
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.step-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.step-img-placeholder {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #e8eaf6, #f3f4f6);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--silica-border);
}

/* Feature Blocks (alternating) */
.tool-feature-block {
    padding: 4rem 0;
}

.tool-feature-block h3 {
    font-weight: 800;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.tool-feature-block p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
}

.feature-img-placeholder {
    width: 100%;
    height: 320px;
    background: linear-gradient(135deg, #eef2ff, #f8f9fa);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    border: 1px solid var(--silica-border);
}

/* FAQ */
.faq-section {
    padding: 5rem 0;
}

.faq-section h2 {
    font-weight: 800;
    text-align: center;
    margin-bottom: 3rem;
}

.faq-section .accordion-item {
    border: none;
    border-bottom: 1px solid #eee;
    background: transparent;
}

.faq-section .accordion-button {
    font-weight: 600;
    font-size: 1.05rem;
    padding: 1.25rem 0;
    background: transparent;
    box-shadow: none;
    color: var(--text-main);
}

.faq-section .accordion-button:not(.collapsed) {
    color: var(--accent-primary);
    background: transparent;
}

.faq-section .accordion-button::after {
    filter: none;
}

.faq-section .accordion-body {
    padding: 0 0 1.25rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* Related Tools */
.related-tools {
    padding: 4rem 0;
}

.related-tools h2 {
    font-weight: 800;
    text-align: center;
    margin-bottom: 2.5rem;
}

.related-tool-card {
    display: block;
    text-decoration: none;
    color: var(--text-main);
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.related-tool-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(31, 38, 135, 0.1);
    color: var(--accent-primary);
}

.related-tool-card h5 {
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.related-tool-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
}

/* CTA Banner */
.tool-cta-banner {
    padding: 5rem 0;
    text-align: center;
}

.tool-cta-banner h2 {
    font-weight: 800;
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.tool-cta-banner p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 500px;
    margin: 0 auto 2rem;
}

/* Responsive */
@media (max-width: 991px) {
    .tool-hero {
        padding-top: 120px;
    }

    .tool-preview-placeholder {
        height: 250px;
    }

    .feature-img-placeholder {
        height: 220px;
        margin-bottom: 2rem;
    }

    .trusted-logos {
        gap: 1.5rem;
    }
}
