/* ── Feature Page Styles ──────────────────────────── */
/* Loaded only by features/*.html pages              */

/* ── Breadcrumb ──────────────────────────────────── */
.breadcrumb {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: var(--space-6xl) var(--space-2xl) 0;
    font-size: var(--text-sm);
    color: var(--text-muted);
}
.breadcrumb a { transition: color 0.2s; }
.breadcrumb a:hover { color: var(--text); }
.breadcrumb .breadcrumb-sep { margin: 0 var(--space-2xs); opacity: 0.5; }
.breadcrumb .breadcrumb-current { color: var(--text); font-weight: 500; }

/* ── Feature Hero (smaller than landing heroes) ──── */
.hero-feature {
    padding: var(--space-4xl) var(--space-2xl) var(--space-4xl);
    text-align: center;
}
.hero-feature .hero-content { max-width: 720px; }
.hero-feature .hero-title {
    font-size: clamp(var(--text-xl), 5vw, var(--text-2xl));
    margin-bottom: var(--space-md);
}
.hero-feature .hero-subtitle {
    font-size: var(--text-md);
    margin-bottom: 0;
}

/* ── Category-specific hero glows ────────────────── */
.hero-feature[data-category="ai-detection"] .hero-glow,
.hero-feature[data-category="ai-integration"] .hero-glow {
    background: radial-gradient(ellipse, rgba(52, 211, 153, 0.1) 0%, transparent 70%);
}
.hero-feature[data-category="api-analytics"] .hero-glow {
    background: radial-gradient(ellipse, rgba(96, 165, 250, 0.1) 0%, transparent 70%);
}
.hero-feature[data-category="mcp"] .hero-glow {
    background: radial-gradient(ellipse, rgba(52, 211, 153, 0.12) 0%, transparent 70%);
}
.hero-feature[data-category="rendering"] .hero-glow {
    background: radial-gradient(ellipse, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
}
.hero-feature[data-category="session"] .hero-glow,
.hero-feature[data-category="tabs"] .hero-glow {
    background: radial-gradient(ellipse, rgba(251, 191, 36, 0.08) 0%, transparent 70%);
}
.hero-feature[data-category="safety"] .hero-glow {
    background: radial-gradient(ellipse, rgba(248, 113, 113, 0.08) 0%, transparent 70%);
}

/* ── Questions Section ───────────────────────────── */
.questions-section {
    padding: var(--space-4xl) 0;
}
.questions-section h2 {
    font-size: var(--text-lg);
    font-weight: 700;
    margin-bottom: var(--space-xl);
    letter-spacing: -0.01em;
}

.question-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    max-width: 720px;
}

.question-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: var(--space-md) var(--space-lg);
    font-size: var(--text-base);
    color: var(--text-muted);
    line-height: 1.5;
    display: flex;
    align-items: baseline;
    gap: var(--space-sm);
}
.question-item::before {
    content: '\1F50D';
    flex-shrink: 0;
    font-size: var(--text-sm);
}

/* ── Feature Content ─────────────────────────────── */
.feature-content {
    padding: 0 0 var(--space-4xl);
}
.feature-content h2 {
    font-size: var(--text-lg);
    font-weight: 700;
    margin-bottom: var(--space-md);
    letter-spacing: -0.01em;
}

/* ── Why It Matters callout ──────────────────────── */
.why-matters {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-left: 3px solid var(--accent);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    padding: var(--space-xl) var(--space-2xl);
    margin: var(--space-2xl) 0;
}
.why-matters h3 {
    font-size: var(--text-md);
    font-weight: 700;
    margin-bottom: var(--space-xs);
    color: var(--accent);
}
.why-matters p {
    color: var(--text-muted);
    font-size: var(--text-base);
    line-height: 1.7;
    margin-bottom: 0;
}

/* ── Related Features ────────────────────────────── */
.related-features {
    padding: var(--space-4xl) 0;
}
.related-features h2 {
    font-size: var(--text-lg);
    font-weight: 700;
    margin-bottom: var(--space-xl);
}
.related-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

/* ── Feature page FAQ ────────────────────────────── */
.feature-faq {
    padding: 0 0 var(--space-4xl);
}
.feature-faq h2 {
    font-size: var(--text-lg);
    font-weight: 700;
    margin-bottom: var(--space-xl);
}

/* ── Responsive ──────────────────────────────────── */
@media (max-width: 900px) {
    .related-features-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .breadcrumb { padding-top: var(--space-6xl); font-size: var(--text-xs); }
    .hero-feature { padding: var(--space-2xl) var(--space-xl) var(--space-2xl); }
}
