/* ---- Code snippet mockup (API) ---- */
.feature-page .feature-mock-code {
    overflow: hidden;
}

.feature-page .feature-mock-code-head {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px var(--h-space-4);
    background: #1e293b;
    border-bottom: 1px solid #334155;
}

.feature-page .feature-mock-code-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #475569;
}

.feature-page .feature-mock-code-dot:nth-child(1) {
    background: #ef4444;
}

.feature-page .feature-mock-code-dot:nth-child(2) {
    background: #f59e0b;
}

.feature-page .feature-mock-code-dot:nth-child(3) {
    background: #10b981;
}

.feature-page .feature-mock-code-file {
    margin-left: var(--h-space-3);
    font-family: monospace;
    font-size: 11.5px;
    color: #94a3b8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.feature-page .feature-mock-code-body {
    margin: 0;
    padding: var(--h-space-4) var(--h-space-5);
    font-family: ui-monospace, SFMono-Regular, "Menlo", monospace;
    font-size: 13px;
    line-height: 1.55;
    color: #e2e8f0;
    background: #0f172a;
    overflow-x: auto;
    white-space: pre;
}

.feature-page .feature-mock-code-body .c-keyword {
    color: #c084fc;
}

.feature-page .feature-mock-code-body .c-key {
    color: #7dd3fc;
}

.feature-page .feature-mock-code-body .c-num {
    color: #fbbf24;
}

.feature-page .feature-mock-code-body .c-string {
    color: #86efac;
}

/* Inline code in flow items */
.feature-page .feature-flow-item-text code {
    font-family: ui-monospace, SFMono-Regular, "Menlo", monospace;
    font-size: 12px;
    background: rgba(26, 118, 209, 0.08);
    color: var(--h-blue);
    padding: 2px 6px;
    border-radius: 4px;
}

