/* =============================================================================
   marketing-topic-page.css — Marketing SEO Topic Pages (Sprint MKT04)
   Inherits: layout/landing.html → tokens.css, components.css, modern-theme.css, landing.css
   ============================================================================= */

/* ── Hero accent variants ─────────────────────────────────────────────────── */
.mkt-hero.accent-green  { --ks-hero-accent: var(--ks-primary, #10b981); }
.mkt-hero.accent-blue   { --ks-hero-accent: #3b82f6; }
.mkt-hero.accent-purple { --ks-hero-accent: #8b5cf6; }
.mkt-hero.accent-orange { --ks-hero-accent: #f59e0b; }
.mkt-hero.accent-teal   { --ks-hero-accent: #14b8a6; }

/* ── Section base ─────────────────────────────────────────────────────────── */
.mkt-section {
    padding: 5rem 0;
}

.mkt-section-title {
    text-align: center;
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 700;
    margin-bottom: 3rem;
    color: var(--ks-text-primary, #111827);
}

/* ── Pain points ──────────────────────────────────────────────────────────── */
.mkt-pain-section {
    background: var(--ks-surface-alt, #f9fafb);
}

.mkt-pain-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.5rem;
}

.mkt-pain-card {
    background: #fff;
    border: 1px solid var(--ks-border, #e5e7eb);
    border-radius: 0.75rem;
    padding: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    box-shadow: 0 1px 3px rgba(0,0,0,.06);
    transition: box-shadow .2s;
}

.mkt-pain-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,.1);
}

.mkt-pain-icon {
    font-size: 1.25rem;
    color: #f59e0b;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.mkt-pain-card p {
    margin: 0;
    color: var(--ks-text-secondary, #374151);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* ── Features grid ────────────────────────────────────────────────────────── */
.mkt-features-section {
    background: #fff;
}

.mkt-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.mkt-feature-card {
    background: var(--ks-surface-alt, #f9fafb);
    border: 1px solid var(--ks-border, #e5e7eb);
    border-radius: 1rem;
    padding: 2rem;
    transition: transform .2s, box-shadow .2s;
}

.mkt-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,.1);
}

.mkt-feature-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    background: var(--ks-primary, #10b981);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.mkt-feature-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--ks-text-primary, #111827);
}

.mkt-feature-card p {
    font-size: 0.9rem;
    color: var(--ks-text-secondary, #374151);
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.mkt-bullet-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mkt-bullet-list li {
    display: flex;
    align-items: center;
    font-size: 0.875rem;
    color: var(--ks-text-secondary, #374151);
    padding: 0.25rem 0;
}

/* ── Related pages ────────────────────────────────────────────────────────── */
.mkt-related-section {
    background: var(--ks-surface-alt, #f9fafb);
}

.mkt-related-grid {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-width: 700px;
    margin: 0 auto;
}

.mkt-related-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #fff;
    border: 1px solid var(--ks-border, #e5e7eb);
    border-radius: 0.75rem;
    padding: 1rem 1.5rem;
    color: var(--ks-text-primary, #111827);
    text-decoration: none;
    font-weight: 500;
    transition: background .2s, border-color .2s;
}

.mkt-related-card:hover {
    background: var(--ks-primary-light, #d1fae5);
    border-color: var(--ks-primary, #10b981);
    color: var(--ks-primary-dark, #065f46);
}

.mkt-related-icon {
    font-size: 1.25rem;
    color: var(--ks-primary, #10b981);
    flex-shrink: 0;
}

/* ── FAQ ──────────────────────────────────────────────────────────────────── */
.mkt-faq-section {
    background: #fff;
}

.mkt-faq-list {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mkt-faq-item {
    border: 1px solid var(--ks-border, #e5e7eb);
    border-radius: 0.75rem;
    overflow: hidden;
}

.mkt-faq-question {
    width: 100%;
    background: var(--ks-surface-alt, #f9fafb);
    border: none;
    padding: 1rem 1.5rem;
    text-align: left;
    font-size: 1rem;
    font-weight: 600;
    color: var(--ks-text-primary, #111827);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.mkt-faq-question:hover {
    background: var(--ks-primary-light, #d1fae5);
}

.mkt-faq-question::after {
    content: '\f107';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    transition: transform .2s;
    flex-shrink: 0;
}

.mkt-faq-question[aria-expanded="true"]::after {
    transform: rotate(180deg);
}

.mkt-faq-answer {
    padding: 1rem 1.5rem;
    background: #fff;
    border-top: 1px solid var(--ks-border, #e5e7eb);
}

.mkt-faq-answer p {
    margin: 0;
    color: var(--ks-text-secondary, #374151);
    line-height: 1.7;
}

/* ── Final CTA section ────────────────────────────────────────────────────── */
.mkt-cta-section {
    background: linear-gradient(135deg, var(--ks-primary, #10b981) 0%, #059669 100%);
    color: #fff;
}

.mkt-cta-section h2 {
    color: #fff;
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.mkt-cta-section p {
    color: rgba(255,255,255,.85);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* ── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 767.98px) {
    .mkt-section { padding: 3rem 0; }
    .mkt-features-grid { grid-template-columns: 1fr; }
    .mkt-pain-grid { grid-template-columns: 1fr; }
}
