/* Website: src/app/static/css/pages/tools/tools.css v1.0 */
/* Website: Website/src/app/static/css/pages/tools/tools.css v1.0 */

.tools-hero-section {
    position: relative;
    padding: 4rem 1.5rem 3.5rem;
    overflow: hidden;
    text-align: center;
    background: radial-gradient(circle at top left, rgba(0, 170, 255, 0.25), transparent 55%),
        radial-gradient(circle at bottom right, rgba(102, 51, 255, 0.2), transparent 50%),
        var(--brand-color-container-foreground-dark);
    border-radius: 28px;
    margin: 0 auto 3rem;
    max-width: 1150px;
    box-shadow: 0 32px 68px rgba(0, 0, 0, 0.45);
}

.tools-hero-section::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.05), transparent 65%);
    pointer-events: none;
}

.tools-hero-content {
    position: relative;
    z-index: 1;
    max-width: 760px;
    margin: 0 auto;
    color: var(--brand-color-primary);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.tools-hero-content h2 {
    font-size: 2.5rem;
    margin: 0;
    color: var(--brand-color-primary);
}

.tools-hero-content p {
    margin: 0 auto;
    color: var(--brand-color-on-dark-strong, #e6f7ff);
    line-height: 1.7;
}

.tools-hero-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.tools-hero-highlights li {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(0, 170, 255, 0.22);
    border-radius: 16px;
    padding: 1rem 1.25rem;
    color: var(--brand-color-on-dark-strong, #e6f7ff);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
}

.tools-hero-highlights span {
    font-size: 1.8rem;
}

.tools-hero-highlights strong {
    display: block;
    font-size: 1.05rem;
}

.tools-hero-cta {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

.tools-hero-cta .secondary {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.35);
}

.tools-overview {
    max-width: 1150px;
    margin: 0 auto 3rem;
}

.tools-overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.overview-card {
    background: var(--brand-color-container-foreground-dark);
    border-radius: 18px;
    padding: 1.75rem;
    border: 1px solid rgba(0, 170, 255, 0.18);
    box-shadow: 0 18px 32px rgba(0, 0, 0, 0.35);
}

.overview-card h3 {
    margin-top: 0;
    margin-bottom: 0.75rem;
    font-size: 1.35rem;
    color: var(--brand-color-primary);
}

.overview-card p {
    margin: 0;
    color: var(--brand-color-on-dark);
}

.tool-section {
    --product-border: var(--tool-border, var(--brand-color-primary));
    --product-accent: var(--tool-accent, rgba(0, 170, 255, 0.15));
    --product-chip-bg: var(--tool-chip-bg, rgba(0, 170, 255, 0.08));
    --product-highlight-border: var(--tool-highlight-border, rgba(0, 170, 255, 0.22));
}

.tool-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 2.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.tool-visual {
    flex: 0 0 200px;
    text-align: center;
}

.tool-visual img {
    max-width: 190px;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    padding: 0.75rem;
    background: var(--product-chip-bg);
    border-radius: 20px;
}

.tool-details {
    flex: 1;
    text-align: left;
}

.tool-details h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--brand-color-primary);
}

.tool-tagline {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--brand-color-on-dark-strong, #e6f7ff);
    margin: 0 0 1.75rem;
}

.tool-highlights {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.tool-highlights li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.85rem 1.1rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--product-highlight-border);
    color: #f6fbff;
}

.highlight-icon {
    font-size: 1.5rem;
    line-height: 1.1;
}

.tool-ctas {
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

@media (max-width: 1024px) {
    .tools-hero-section {
        margin-left: 1rem;
        margin-right: 1rem;
    }

    .tool-section {
        margin-left: 1rem;
        margin-right: 1rem;
    }

    .tool-inner {
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .tool-inner {
        flex-direction: column;
        text-align: center;
    }

    .tool-details {
        text-align: center;
    }

    .tool-highlights {
        width: 100%;
        max-width: 520px;
        margin: 0 auto;
        text-align: left;
    }

    .tool-ctas {
        justify-content: center;
    }
}
