/* =============================================================================
   marketing-feature-page.css — Marketing SEO Feature Pages (Sprint MKT04)
   Inherits: layout/landing.html → tokens.css, components.css, modern-theme.css, landing.css
   Uses: marketing-topic-page.css shared classes; adds deepdive layout
   ============================================================================= */

/* Re-use all shared classes from marketing-topic-page.css — loaded via <link> in topic-page.html.
   Feature pages load this file which extends with deep-dive alternating layout. */

/* ── Hero accent variants (duplicated for standalone loading) ─────────────── */
.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);
}
.mkt-pain-section { background: var(--ks-surface-alt, #f9fafb); }
.mkt-features-section { background: #fff; }
.mkt-related-section { background: var(--ks-surface-alt, #f9fafb); }
.mkt-faq-section { background: #fff; }

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

/* ── Deep-dive alternating feature sections ───────────────────────────────── */
.mkt-feature-deepdive-list {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    max-width: 900px;
    margin: 0 auto;
}

.mkt-feature-deepdive-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2rem;
    align-items: flex-start;
    padding: 2rem;
    background: var(--ks-surface-alt, #f9fafb);
    border: 1px solid var(--ks-border, #e5e7eb);
    border-radius: 1rem;
    transition: box-shadow .2s;
}

.mkt-feature-deepdive-item:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,.08);
}

.mkt-feature-deepdive-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 1rem;
    background: var(--ks-primary, #10b981);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

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

.mkt-feature-deepdive-body p {
    font-size: 0.95rem;
    color: var(--ks-text-secondary, #374151);
    line-height: 1.7;
    margin-bottom: 0.75rem;
}

/* ── Related pages ────────────────────────────────────────────────────────── */
.mkt-related-grid { display: flex; flex-direction: column; gap: .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: .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-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: .5rem; }
.mkt-faq-item { border: 1px solid var(--ks-border,#e5e7eb); border-radius: .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 ────────────────────────────────────────────────────────────── */
.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-feature-deepdive-item { grid-template-columns: 1fr; }
    .mkt-feature-deepdive-icon { width: 3rem; height: 3rem; font-size: 1.25rem; }
}
