/* ============================================================
   SEO BLOG PAGES – seo-page.css
   Shared styles for: png-to-svg, jpg-to-svg, svg-converter-free,
   vectorize-image, image-to-svg
   ============================================================ */

/* ── Hero ── */
.seo-hero {
    padding: 4rem 0 3rem;
    text-align: center;
    background: radial-gradient(circle at center, #fffbf0 0%, #fff 100%);
}
.seo-hero h1 {
    font-size: 2.4rem;
    color: var(--dark);
    margin-bottom: 1rem;
    max-width: 780px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.25;
}
.seo-hero__subtitle {
    font-size: 1.15rem;
    color: var(--gray);
    max-width: 680px;
    margin: 0 auto 1.75rem;
    line-height: 1.65;
}
.seo-hero .big-badges {
    margin-bottom: 1rem;
}
.seo-hero__cta {
    margin-top: 1.5rem;
    font-size: 1.05rem;
    padding: 14px 36px;
    display: inline-block;
}

/* ── Steps (How-to) ── */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}
.step-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: var(--radius);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: 0.3s;
}
.step-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow);
}
.step-card__number {
    width: 38px;
    height: 38px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1rem;
    margin: 0 auto 0.75rem;
}
.step-card__icon {
    font-size: 1.8rem;
    margin-bottom: 0.6rem;
}
.step-card h3 {
    margin-bottom: 0.5rem;
    color: var(--dark);
    font-size: 1rem;
}
.step-card p {
    color: var(--gray);
    font-size: 0.92rem;
    line-height: 1.6;
}
.steps-cta {
    text-align: center;
    margin-top: 2.25rem;
}

/* ── Educational text content ── */
.content-section {
    max-width: 820px;
    margin: 0 auto;
}
.content-section h2 {
    font-size: 1.8rem;
    color: var(--dark);
    margin-bottom: 1rem;
    line-height: 1.3;
}
.content-section h3 {
    font-size: 1.25rem;
    color: var(--dark);
    margin: 1.75rem 0 0.75rem;
}
.content-section p {
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 1rem;
}
.content-section ul,
.content-section ol {
    list-style: disc;
    padding-left: 1.6rem;
    color: var(--gray);
    line-height: 1.85;
    margin-bottom: 1.2rem;
}
.content-section ul li,
.content-section ol li {
    margin-bottom: 0.45rem;
}

/* ── Related tools ── */
.related-tools {
    display: flex;
    gap: 0.85rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 1.75rem;
}
.related-tool-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 10px 20px;
    border: 2px solid var(--primary);
    border-radius: var(--radius);
    color: var(--primary);
    font-weight: 600;
    font-size: 0.88rem;
    transition: 0.25s;
    background: #fff;
}
.related-tool-link:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 153, 0, 0.25);
}

/* ── Final CTA ── */
.seo-cta-wrap {
    text-align: center;
}
.seo-cta-wrap h2 {
    font-size: 2rem;
    color: var(--dark);
    margin-bottom: 1rem;
}
.seo-cta-wrap p {
    color: var(--gray);
    font-size: 1.05rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.secondary-btn {
    background: var(--dark);
    color: white;
}
.secondary-btn:hover, .secondary-btn:focus {
    background: var(--dark-accent);
    color: white;
}

/* ── Mobile ── */
@media (max-width: 768px) {
    .seo-hero h1 {
        font-size: 1.85rem;
    }
    .seo-hero__subtitle {
        font-size: 1rem;
    }
    .steps-grid {
        grid-template-columns: 1fr;
    }
    .content-section h2 {
        font-size: 1.5rem;
    }
    .related-tools {
        flex-direction: column;
        align-items: center;
    }
    .related-tool-link {
        width: 100%;
        justify-content: center;
    }
}
