/* ══════════════════════════════════════════════════════════════
   home-content.css
   Styles for the homepage SEO/content section (features, steps,
   FAQ, blog preview) plus the small pill-style nav text link.
   Split out from an inline <style> block in index.html.
   ══════════════════════════════════════════════════════════════ */

/* ── NAV TEXT LINKS ─────────────────────────────── */
.nav-text-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-2);
    text-decoration: none;
    padding: 5px 12px;
    border-radius: 50px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    transition: color 0.2s, background 0.2s, border-color 0.2s;
    white-space: nowrap;
}
.nav-text-link:hover {
    color: var(--text-1);
    background: var(--bg-hover);
    border-color: var(--border-md);
}

/* ── CONTENT SECTION ────────────────────────────── */
.content-section {
    max-width: 900px;
    margin: 0 auto;
    padding: 2.25rem 1.5rem 2.5rem;
}

.content-section h2 {
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
    color: var(--text-1);
}

.content-section p {
    font-size: 0.95rem;
    color: var(--text-2);
    line-height: 1.85;
    margin-bottom: 1rem;
}

.content-divider {
    border: none;
    border-top: 1px solid var(--border);
    margin: 1.75rem 0;
}

/* Features + How It Works — side by side on tablet/desktop.
   Features (1.5fr) gets more width than How It Works (1fr) because
   its list is split into two internal sub-columns below — that
   keeps its total height in the same range as the shorter 4-step
   list instead of running twice as tall next to empty space. */
.content-columns {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 0 2rem;
    align-items: start;
    margin: 1.5rem 0;
}
.content-columns h2 {
    font-size: 1.25rem;
}
.content-columns .simple-list {
    margin-top: 1rem;
}

/* Features list only: flow into two columns so 9 short items form
   a compact block instead of one long single-file list. */
.features-section .simple-list {
    display: block;
    column-count: 2;
    column-gap: 14px;
}
.features-section .simple-list li {
    break-inside: avoid;
    margin-bottom: 10px;
}

@media (max-width: 700px) {
    .content-columns {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Feature grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 2rem;
}

.feature-card {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 20px;
}

.feature-card .f-icon {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.feature-card h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-1);
    margin-bottom: 6px;
}

.feature-card p {
    font-size: 0.83rem;
    color: var(--text-2);
    line-height: 1.7;
    margin-bottom: 0;
}

/* How it works steps */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 2rem;
}

.step-card {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 20px;
    text-align: center;
}

.step-number {
    width: 36px;
    height: 36px;
    background: var(--accent-soft);
    border: 1px solid rgba(61,127,255,0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent);
    margin: 0 auto 12px;
}

.step-card h3 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-1);
    margin-bottom: 6px;
}

.step-card p {
    font-size: 0.82rem;
    color: var(--text-2);
    line-height: 1.65;
    margin-bottom: 0;
}

/* FAQ */
.faq-list {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item-home {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 18px 20px;
}

.faq-item-home h3 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-1);
    margin-bottom: 6px;
}

.faq-item-home p {
    font-size: 0.85rem;
    color: var(--text-2);
    line-height: 1.7;
    margin-bottom: 0;
}

/* Blog preview */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 2rem;
}

.blog-card {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 20px;
    text-decoration: none;
    display: block;
    transition: background 0.2s, border-color 0.2s;
}

.blog-card:hover {
    background: var(--bg-elevated);
    border-color: var(--border-md);
}

.blog-card .b-tag {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 8px;
}

.blog-card h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-1);
    margin-bottom: 8px;
    line-height: 1.4;
}

.blog-card p {
    font-size: 0.83rem;
    color: var(--text-2);
    line-height: 1.65;
    margin-bottom: 0;
}

.section-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 1.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent);
    text-decoration: none;
}
.section-link:hover { text-decoration: underline; }

/* Simple bullet list (replaces card grids) */
.simple-list {
    list-style: none;
    margin: 1.5rem 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.simple-list li {
    font-size: 0.9rem;
    color: var(--text-2);
    line-height: 1.6;
    padding: 10px 14px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
}
.simple-list li strong { color: var(--text-1); }
.simple-list li a { color: var(--accent); text-decoration: none; }
.simple-list li a:hover { text-decoration: underline; }
.simple-list-numbered { counter-reset: step; }
.simple-list-numbered li { position: relative; padding-left: 34px; }
.simple-list-numbered li::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    left: 10px;
    top: 10px;
    font-weight: 700;
    color: var(--accent);
}

/* Responsive */
@media (max-width: 700px) {
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .steps-grid   { grid-template-columns: repeat(2, 1fr); }
    .blog-grid    { grid-template-columns: 1fr; }
    .content-section { padding: 1.5rem 1rem 2rem; }
    .content-section h2 { font-size: 1.3rem; }
}

@media (max-width: 420px) {
    .feature-grid { grid-template-columns: 1fr; }
    .steps-grid   { grid-template-columns: 1fr; }
    .nav-text-link { display: none; }
}