/* ==========================================================================
   /free-illustrations — Free Illustrations & Icons page
   Extends static-pages.css shared classes
   ========================================================================== */

/* ---- Card grids (illustration packs, icon packs, design styles) ---- */
.fi-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}
.fi-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.5rem;
    transition: box-shadow 0.15s;
}
.fi-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

/* Card preview (illustration packs) */
.fi-card-preview {
    height: 120px;
    border-radius: 8px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.fi-card-preview svg {
    width: 48px;
    height: 48px;
}

/* Card preview (icon packs — shorter, with gap) */
.fi-card-preview-icons {
    height: 100px;
    border-radius: 8px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}
.fi-card-preview-icons svg {
    width: 32px;
    height: 32px;
}

/* Free badge */
.fi-badge-free {
    font-size: 0.6875rem;
    font-weight: 600;
    padding: 2px 10px;
    border-radius: 12px;
    background: #f5fad4;
    color: #3d5a00;
    display: inline-block;
    margin-bottom: 0.75rem;
}

/* Card title */
.fi-card-title {
    font-size: 1rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.5rem;
}

/* Card description */
.fi-card-desc {
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Card link */
.fi-card-link {
    font-size: 0.875rem;
    font-weight: 600;
    color: #111827;
    text-decoration: none;
}

/* "View All" centered link */
.fi-view-all {
    margin: 0;
    text-align: center;
}
.fi-view-all a {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #111827;
    text-decoration: none;
}
.fi-view-all svg {
    display: inline;
    vertical-align: middle;
    width: 16px;
    height: 16px;
    margin-left: 4px;
}

/* ---- Design Styles grid (4 columns) ---- */
.fi-styles-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin: 2rem 0;
}
.fi-style-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.25rem;
    text-align: center;
    transition: box-shadow 0.15s, border-color 0.15s;
}
.fi-style-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    border-color: #d1d5db;
}
.fi-style-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: #fbfde8;
    color: #111827;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem;
}
.fi-style-icon svg {
    width: 28px;
    height: 28px;
}
.fi-style-name {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.25rem;
}
.fi-style-desc {
    font-size: 0.8125rem;
    color: #6b7280;
    margin: 0;
    line-height: 1.5;
}

/* ---- Perfect For Any Project ---- */
.fi-usecases-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}
.fi-usecases-text {
    font-size: 0.9375rem;
    color: #6b7280;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}
.fi-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}
.fi-checklist li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9375rem;
    color: #374151;
}
.fi-check-icon {
    color: #111827;
    font-size: 1.125rem;
    flex-shrink: 0;
}

/* Quick Start box */
.fi-quickstart {
    background: #f9fafb;
    border-radius: 16px;
    padding: 2rem;
}
.fi-quickstart h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1rem;
}

/* ---- Tool card links ---- */
.fi-tool-link {
    display: inline-block;
    margin-top: 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #111827;
    text-decoration: none;
}

/* ---- Newsletter CTA ---- */
.fi-newsletter {
    background: linear-gradient(135deg, #fbfde8, #f5fad4);
    border: 1px solid #e2f08a;
    border-radius: 16px;
    padding: 3rem 2rem;
    text-align: center;
    max-width: 680px;
    margin: 0 auto;
}
.fi-newsletter-icon {
    width: 56px;
    height: 56px;
    background: #111827;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}
.fi-newsletter-icon svg {
    width: 28px;
    height: 28px;
}
.fi-newsletter h2 {
    font-size: 1.625rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 0.75rem;
}
.fi-newsletter-desc {
    font-size: 0.9375rem;
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 1.75rem;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}
.fi-newsletter-form {
    display: flex;
    gap: 0.75rem;
    max-width: 420px;
    margin: 0 auto 1rem;
    flex-wrap: wrap;
    justify-content: center;
}
.fi-newsletter-input {
    flex: 1;
    min-width: 200px;
    padding: 12px 18px;
    border: 1px solid #ecf5b3;
    border-radius: 50px;
    font-size: 0.9375rem;
    outline: none;
    background: #fff;
    color: #111827;
}
.fi-newsletter-btn {
    padding: 0 24px;
    height: 48px;
    background: var(--brand-lime);
    color: var(--brand-dark);
    border: none;
    border-radius: 24px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.18s, box-shadow 0.18s, transform 0.12s;
}
.fi-newsletter-btn:hover {
    background: var(--brand-lime-hover);
    box-shadow: 0 6px 20px rgba(204, 234, 74, 0.45);
    transform: translateY(-1px);
}
.fi-newsletter-note {
    font-size: 0.8125rem;
    color: #6b7280;
    margin: 0;
}

/* ---- Full Access CTA ---- */
.fi-cta-buttons {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}
.fi-cta-buttons .btn-primary,
.fi-cta-buttons .btn-outline {
    border-radius: 50px;
}
.fi-cta-buttons .btn-outline {
    border-color: rgba(255,255,255,0.25);
    color: #fff;
}
.fi-cta-note {
    margin: 1.5rem 0 0;
    font-size: 0.8125rem;
    color: #6b7280;
}

/* ---- Guide prose headings ---- */
.fi-prose-heading {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.75rem;
}

/* Inline code in guide */
.fi-code {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85em;
    background: #f3f4f6;
    padding: 2px 6px;
    border-radius: 4px;
}

/* Quick-start guide link */
.fi-guide-link {
    color: #111827;
}

/* ---- FAQ ---- */
.fi-faq-wrap {
    max-width: 720px;
    margin: 2rem auto 0;
}
.fi-faq-footer {
    text-align: center;
    margin: 2rem 0 0;
}
.fi-faq-footer a {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #111827;
    text-decoration: none;
}
.fi-faq-footer svg {
    display: inline;
    vertical-align: middle;
    width: 16px;
    height: 16px;
    margin-left: 4px;
}

/* Subtitle auto-center helper */
.fi-subtitle-center {
    margin-left: auto;
    margin-right: auto;
}

/* ---- Responsive ---- */
@media (max-width: 991px) {
    .fi-usecases-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}
@media (max-width: 767px) {
    .fi-card-grid {
        grid-template-columns: 1fr;
    }
    .fi-styles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Steps 2-col override */
.fi-steps-2col {
    grid-template-columns: 1fr 1fr;
}

/* View-all top margin */
.fi-view-all-spaced {
    margin-top: 1rem;
}

/* CTA rounded */
.fi-cta-rounded {
    border-radius: 16px;
}

/* Two-col text bottom margin */
.fi-two-col-spaced {
    margin-bottom: 3rem;
}

/* Prose full-width */
.fi-prose-full {
    max-width: 100%;
}
