/* ================================================================
   USE CASES — Shared CSS for listing + detail pages
   Torki AI · 2026
   ================================================================ */

/* ========== BASE ========== */
.uc-page, .ucd-page {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: #000;
    color: #fff;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.uc-page a, .ucd-page a { color: inherit; text-decoration: none; }

/* ========== LISTING: HERO ========== */
.uc-hero { max-width: 800px; margin: 0 auto; text-align: center; padding: 140px 40px 60px; }
.uc-hero-label { font-size: 13px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255,255,255,0.35); margin-bottom: 20px; }
.uc-hero h1 { font-size: clamp(36px, 5vw, 56px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; margin-bottom: 20px; }
.uc-hero p { font-size: 17px; color: rgba(255,255,255,0.45); line-height: 1.7; max-width: 540px; margin: 0 auto; }

/* ========== LISTING: FILTERS ========== */
.uc-filter-bar { position: sticky; top: 64px; z-index: 50; background: rgba(0,0,0,0.85); backdrop-filter: blur(16px); border-bottom: 1px solid rgba(255,255,255,0.06); padding: 14px 40px; }
.uc-filter-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.uc-filter-select { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 8px; padding: 8px 14px; color: rgba(255,255,255,0.6); font-size: 13px; font-family: inherit; cursor: pointer; appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.3)' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; padding-right: 30px; }
.uc-filter-select option { background: #111; color: #fff; }
.uc-filter-search { flex: 1; min-width: 200px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 8px; padding: 8px 14px 8px 36px; color: #fff; font-size: 13px; font-family: inherit; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.25)' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='M21 21l-4.3-4.3'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: 12px center; }
.uc-filter-search::placeholder { color: rgba(255,255,255,0.25); }
.uc-view-btns { display: flex; gap: 4px; margin-left: auto; }
.uc-view-btn { width: 36px; height: 36px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.08); background: transparent; color: rgba(255,255,255,0.3); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.2s; }
.uc-view-btn.active, .uc-view-btn:hover { border-color: rgba(255,255,255,0.15); color: rgba(255,255,255,0.6); }

/* ========== LISTING: CARD GRID ========== */
.uc-grid { max-width: 1200px; margin: 0 auto; padding: 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.uc-card { display: flex; flex-direction: column; border: 1px solid rgba(255,255,255,0.06); border-radius: 14px; overflow: hidden; transition: border-color 0.25s, transform 0.25s; background: transparent; }
.uc-card:hover { border-color: rgba(255,255,255,0.14); transform: translateY(-3px); }
.uc-card-preview { aspect-ratio: 16 / 10; overflow: hidden; position: relative; display: flex; align-items: center; justify-content: center; }
.uc-card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.uc-card-badge { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; color: rgba(255,255,255,0.35); margin-bottom: 10px; padding: 3px 8px; background: rgba(255,255,255,0.04); border-radius: 4px; width: fit-content; }
.uc-card-badge svg { width: 12px; height: 12px; }
.uc-card-title { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; margin-bottom: 10px; }
.uc-card-desc { font-size: 13px; line-height: 1.65; color: rgba(255,255,255,0.4); flex: 1; }
.uc-card-footer { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; border-top: 1px solid rgba(255,255,255,0.04); }
.uc-card-category { font-size: 12px; color: rgba(255,255,255,0.3); display: flex; align-items: center; gap: 4px; }
.uc-card-arrow { width: 20px; height: 20px; color: rgba(255,255,255,0.15); transition: color 0.2s; }
.uc-card:hover .uc-card-arrow { color: rgba(255,255,255,0.4); }

/* Card preview mini-mockups */
.uc-mini-mockup { width: 90%; max-width: 320px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06); border-radius: 8px; overflow: hidden; }
.uc-mini-header { display: flex; gap: 4px; padding: 6px 10px; border-bottom: 1px solid rgba(255,255,255,0.04); }
.uc-mini-dot { width: 5px; height: 5px; border-radius: 50%; background: rgba(255,255,255,0.12); }
.uc-mini-body { padding: 10px; }
.uc-mini-msg-user { text-align: right; margin-bottom: 6px; }
.uc-mini-msg-user span { display: inline-block; background: rgba(124,58,237,0.15); color: rgba(255,255,255,0.5); padding: 4px 10px; border-radius: 10px 10px 2px 10px; font-size: 9px; max-width: 75%; }
.uc-mini-msg-ai { display: flex; gap: 5px; align-items: flex-start; }
.uc-mini-avatar { width: 14px; height: 14px; border-radius: 50%; overflow: hidden; flex-shrink: 0; }
.uc-mini-avatar img { width: 100%; height: 100%; object-fit: cover; }
.uc-mini-msg-ai span { font-size: 9px; color: rgba(255,255,255,0.35); line-height: 1.4; }

/* Voice mini mockup */
.uc-mini-voice { display: flex; flex-direction: column; align-items: center; padding: 16px 10px; gap: 8px; }
.uc-mini-voice-circle { width: 40px; height: 40px; border-radius: 50%; border: 2px solid rgba(124,58,237,0.3); display: flex; align-items: center; justify-content: center; }
.uc-mini-voice-circle img { width: 24px; height: 24px; border-radius: 50%; }
.uc-mini-voice-bars { display: flex; gap: 2px; align-items: center; height: 20px; }
.uc-mini-voice-bar { width: 3px; border-radius: 2px; background: rgba(124,58,237,0.4); animation: uc-pulse 0.8s ease-in-out infinite alternate; }
.uc-mini-voice-bar:nth-child(1) { height: 8px; animation-delay: 0s; }
.uc-mini-voice-bar:nth-child(2) { height: 14px; animation-delay: 0.1s; }
.uc-mini-voice-bar:nth-child(3) { height: 20px; animation-delay: 0.2s; }
.uc-mini-voice-bar:nth-child(4) { height: 12px; animation-delay: 0.3s; }
.uc-mini-voice-bar:nth-child(5) { height: 16px; animation-delay: 0.15s; }
@keyframes uc-pulse { to { height: 6px; } }

/* Canvas mini mockup */
.uc-mini-canvas { display: grid; grid-template-columns: 1fr 1fr; height: 100%; }
.uc-mini-code { padding: 8px; border-right: 1px solid rgba(255,255,255,0.04); font-family: 'JetBrains Mono', monospace; font-size: 8px; color: rgba(255,255,255,0.25); line-height: 1.5; overflow: hidden; }
.uc-mini-preview { padding: 8px; display: flex; align-items: center; justify-content: center; }
.uc-mini-preview-box { width: 80%; height: 60%; border: 1px solid rgba(124,58,237,0.2); border-radius: 4px; background: rgba(124,58,237,0.05); }

/* Research mini mockup */
.uc-mini-research { padding: 10px; }
.uc-mini-research-bar { height: 4px; background: rgba(124,58,237,0.3); border-radius: 2px; margin-bottom: 8px; width: 60%; }
.uc-mini-research-line { height: 3px; background: rgba(255,255,255,0.06); border-radius: 2px; margin-bottom: 4px; }
.uc-mini-research-line:nth-child(2) { width: 85%; }
.uc-mini-research-line:nth-child(3) { width: 70%; }
.uc-mini-research-line:nth-child(4) { width: 90%; }

/* Agent mini mockup */
.uc-mini-agent { padding: 10px; }
.uc-mini-agent-field { height: 6px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.06); border-radius: 3px; margin-bottom: 5px; }
.uc-mini-agent-btn { height: 6px; width: 40%; background: rgba(124,58,237,0.2); border-radius: 3px; margin-top: 8px; }

/* No results */
.uc-no-results { display: none; max-width: 1200px; margin: 0 auto; padding: 80px 40px; text-align: center; color: rgba(255,255,255,0.3); font-size: 15px; }

/* ========== LISTING: BOTTOM CTA ========== */
.uc-bottom-cta { max-width: 1200px; margin: 0 auto; padding: 60px 40px 100px; }
.uc-bottom-cta-inner { border: 1px solid rgba(255,255,255,0.08); border-radius: 16px; padding: 48px; text-align: center; }
.uc-bottom-cta h2 { font-size: 32px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 12px; }
.uc-bottom-cta p { font-size: 15px; color: rgba(255,255,255,0.4); margin-bottom: 24px; }
.uc-cta-btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 28px; background: #7c3aed; color: #fff; border-radius: 8px; font-size: 14px; font-weight: 500; transition: background 0.2s; }
.uc-cta-btn:hover { background: #6d28d9; }

/* ========== DETAIL: BREADCRUMB ========== */
.ucd-breadcrumb { max-width: 1200px; margin: 0 auto; padding: 100px 40px 20px; font-size: 13px; color: rgba(255,255,255,0.35); display: flex; align-items: center; gap: 8px; }
.ucd-breadcrumb a { transition: color 0.2s; }
.ucd-breadcrumb a:hover { color: rgba(255,255,255,0.6); }
.ucd-bc-sep { color: rgba(255,255,255,0.15); }
.ucd-bc-current { color: rgba(255,255,255,0.5); }

/* ========== DETAIL: HERO ========== */
.ucd-hero { max-width: 1200px; margin: 0 auto; padding: 40px 40px 80px; display: grid; grid-template-columns: 1fr 320px; gap: 80px; align-items: start; }
.ucd-hero-title { font-size: clamp(32px, 5vw, 52px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.12; color: #fff; margin-bottom: 24px; }
.ucd-hero-desc { font-size: 17px; line-height: 1.7; color: rgba(255,255,255,0.55); max-width: 580px; margin-bottom: 32px; }
.ucd-try-btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; border: 1px solid rgba(255,255,255,0.2); border-radius: 8px; font-size: 14px; font-weight: 500; color: #fff; transition: all 0.2s; }
.ucd-try-btn:hover { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.3); }

/* ========== DETAIL: METADATA ========== */
.ucd-hero-meta { display: flex; flex-direction: column; gap: 24px; padding-top: 20px; }
.ucd-meta-item { display: flex; align-items: flex-start; gap: 12px; }
.ucd-meta-icon { width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; color: rgba(255,255,255,0.3); }
.ucd-meta-label { font-size: 12px; color: rgba(255,255,255,0.35); margin-bottom: 2px; }
.ucd-meta-value { font-size: 14px; font-weight: 500; color: rgba(255,255,255,0.8); }
.ucd-copy-link { font-size: 14px; font-weight: 500; color: rgba(255,255,255,0.6); cursor: pointer; text-decoration: underline; text-decoration-color: rgba(255,255,255,0.2); text-underline-offset: 3px; transition: color 0.2s; }
.ucd-copy-link:hover { color: rgba(255,255,255,0.9); }

/* ========== DETAIL: CONTENT AREA ========== */
.ucd-content-area { max-width: 1200px; margin: 0 auto; padding: 0 40px 80px; display: grid; grid-template-columns: 1fr 420px; gap: 60px; align-items: start; }
.ucd-steps { display: flex; flex-direction: column; gap: 60px; }

/* ========== DETAIL: STEPS ========== */
.ucd-step { display: flex; gap: 24px; align-items: flex-start; }
.ucd-step-number { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.12); display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 600; color: rgba(255,255,255,0.5); flex-shrink: 0; }
.ucd-step-content { flex: 1; }
.ucd-step-title { font-size: 24px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 16px; color: #fff; }
.ucd-step-text { font-size: 15px; line-height: 1.75; color: rgba(255,255,255,0.5); margin-bottom: 16px; }
.ucd-step-text strong { color: rgba(255,255,255,0.7); font-weight: 600; }

/* ========== DETAIL: PROMPT BLOCK ========== */
.ucd-prompt-block { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06); border-radius: 12px; padding: 24px; margin: 20px 0; }
.ucd-prompt-text { font-size: 15px; line-height: 1.7; color: rgba(255,255,255,0.55); font-style: italic; white-space: pre-wrap; }
.ucd-prompt-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 16px; }
.ucd-prompt-copy { width: 36px; height: 36px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.1); background: transparent; color: rgba(255,255,255,0.3); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.2s; }
.ucd-prompt-copy:hover { border-color: rgba(255,255,255,0.2); color: rgba(255,255,255,0.6); }
.ucd-prompt-try { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 8px; background: #7c3aed; color: #fff; font-size: 13px; font-weight: 500; border: none; cursor: pointer; transition: background 0.2s; text-decoration: none; }
.ucd-prompt-try:hover { background: #6d28d9; }

/* ========== DETAIL: FEATURE CALLOUT ========== */
.ucd-feature-callout { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; border: 1px solid rgba(255,255,255,0.08); border-radius: 12px; margin: 16px 0; }
.ucd-feature-callout-left { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; color: rgba(255,255,255,0.6); }
.ucd-feature-callout-icon { width: 20px; height: 20px; color: rgba(124,58,237,0.6); }

/* ========== DETAIL: STICKY VISUAL ========== */
.ucd-visual { position: sticky; top: 100px; }
.ucd-visual-frame { background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.06); border-radius: 14px; overflow: hidden; }
.ucd-visual-img { width: 100%; display: flex; align-items: center; justify-content: center; padding: 0; }
.ucd-visual-action { display: flex; justify-content: center; padding: 14px; border-top: 1px solid rgba(255,255,255,0.04); }
.ucd-visual-action a { font-size: 13px; font-weight: 500; color: rgba(255,255,255,0.5); display: flex; align-items: center; gap: 6px; transition: color 0.2s; }
.ucd-visual-action a:hover { color: rgba(255,255,255,0.8); }

/* ========== DETAIL: MOCKUP CHAT ========== */
.ucm-chat { width: 100%; background: #0a0a0c; border-radius: 10px; border: 1px solid rgba(255,255,255,0.06); overflow: hidden; display: flex; flex-direction: column; }
.ucm-chat-header { padding: 10px 14px; border-bottom: 1px solid rgba(255,255,255,0.04); display: flex; align-items: center; gap: 6px; }
.ucm-dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,0.12); }
.ucm-chat-title { font-size: 11px; color: rgba(255,255,255,0.25); font-family: 'JetBrains Mono', monospace; margin-left: 8px; }
.ucm-chat-body { padding: 16px; max-height: 480px; overflow-y: auto; }
.ucm-msg-user { display: flex; justify-content: flex-end; margin-bottom: 14px; }
.ucm-msg-user-bubble { background: rgba(124,58,237,0.12); color: rgba(255,255,255,0.7); padding: 10px 14px; border-radius: 14px 14px 4px 14px; font-size: 13px; max-width: 85%; line-height: 1.5; }
.ucm-msg-ai { display: flex; gap: 10px; margin-bottom: 14px; align-items: flex-start; }
.ucm-ai-avatar { width: 24px; height: 24px; border-radius: 50%; overflow: hidden; flex-shrink: 0; background: rgba(255,255,255,0.04); }
.ucm-ai-avatar img { width: 100%; height: 100%; object-fit: cover; }
.ucm-ai-content { flex: 1; font-size: 13px; color: rgba(255,255,255,0.55); line-height: 1.7; }
.ucm-ai-content strong { color: rgba(255,255,255,0.75); font-weight: 600; }
.ucm-ai-content ul, .ucm-ai-content ol { margin: 8px 0; padding-left: 18px; }
.ucm-ai-content li { margin-bottom: 4px; }
.ucm-ai-content code { font-family: 'JetBrains Mono', monospace; font-size: 12px; background: rgba(255,255,255,0.06); padding: 2px 5px; border-radius: 3px; color: rgba(255,255,255,0.65); }
.ucm-ai-content pre { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.06); border-radius: 8px; padding: 12px; margin: 10px 0; overflow-x: auto; }
.ucm-ai-content pre code { background: none; padding: 0; font-size: 12px; line-height: 1.6; color: rgba(255,255,255,0.6); }
.ucm-chat-input { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-top: 1px solid rgba(255,255,255,0.04); }
.ucm-chat-input-field { flex: 1; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.06); border-radius: 8px; padding: 8px 12px; font-size: 12px; color: rgba(255,255,255,0.25); font-family: inherit; }
.ucm-chat-input-send { width: 28px; height: 28px; border-radius: 6px; background: rgba(124,58,237,0.2); border: none; color: rgba(124,58,237,0.6); display: flex; align-items: center; justify-content: center; }

/* ========== DETAIL: MOCKUP VOICE ========== */
.ucm-voice { width: 100%; background: #0a0a0c; border-radius: 10px; border: 1px solid rgba(255,255,255,0.06); overflow: hidden; text-align: center; padding: 32px 20px; }
.ucm-voice-avatar { width: 64px; height: 64px; border-radius: 50%; border: 2px solid rgba(124,58,237,0.3); margin: 0 auto 12px; overflow: hidden; display: flex; align-items: center; justify-content: center; background: rgba(124,58,237,0.08); }
.ucm-voice-avatar img { width: 100%; height: 100%; object-fit: cover; }
.ucm-voice-name { font-size: 15px; font-weight: 600; color: rgba(255,255,255,0.8); margin-bottom: 4px; }
.ucm-voice-role { font-size: 12px; color: rgba(255,255,255,0.35); margin-bottom: 20px; }
.ucm-voice-wave { display: flex; justify-content: center; gap: 3px; height: 32px; align-items: center; margin-bottom: 16px; }
.ucm-voice-bar { width: 4px; border-radius: 2px; background: rgba(124,58,237,0.5); animation: ucm-wave 0.6s ease-in-out infinite alternate; }
.ucm-voice-bar:nth-child(1) { height: 10px; animation-delay: 0s; }
.ucm-voice-bar:nth-child(2) { height: 18px; animation-delay: 0.08s; }
.ucm-voice-bar:nth-child(3) { height: 28px; animation-delay: 0.16s; }
.ucm-voice-bar:nth-child(4) { height: 22px; animation-delay: 0.24s; }
.ucm-voice-bar:nth-child(5) { height: 14px; animation-delay: 0.32s; }
.ucm-voice-bar:nth-child(6) { height: 24px; animation-delay: 0.12s; }
.ucm-voice-bar:nth-child(7) { height: 16px; animation-delay: 0.2s; }
@keyframes ucm-wave { to { height: 6px; } }
.ucm-voice-status { font-size: 12px; color: rgba(124,58,237,0.6); font-weight: 500; }
.ucm-voice-transcript { margin-top: 16px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,0.04); text-align: left; }
.ucm-voice-transcript p { font-size: 12px; color: rgba(255,255,255,0.4); line-height: 1.6; margin-bottom: 8px; }
.ucm-voice-transcript .ucm-voice-user { color: rgba(255,255,255,0.6); }

/* ========== DETAIL: MOCKUP CANVAS ========== */
.ucm-canvas { width: 100%; background: #0a0a0c; border-radius: 10px; border: 1px solid rgba(255,255,255,0.06); overflow: hidden; }
.ucm-canvas-header { padding: 8px 14px; border-bottom: 1px solid rgba(255,255,255,0.04); display: flex; align-items: center; gap: 6px; }
.ucm-canvas-tabs { display: flex; gap: 0; margin-left: 12px; }
.ucm-canvas-tab { font-size: 10px; padding: 4px 10px; color: rgba(255,255,255,0.25); border-bottom: 1px solid transparent; font-family: 'JetBrains Mono', monospace; }
.ucm-canvas-tab.active { color: rgba(255,255,255,0.6); border-bottom-color: rgba(124,58,237,0.5); }
.ucm-canvas-split { display: grid; grid-template-columns: 1fr 1fr; min-height: 300px; }
.ucm-canvas-code { padding: 12px; border-right: 1px solid rgba(255,255,255,0.04); font-family: 'JetBrains Mono', monospace; font-size: 10px; color: rgba(255,255,255,0.35); line-height: 1.6; overflow: hidden; white-space: pre; }
.ucm-canvas-preview { padding: 12px; background: rgba(255,255,255,0.01); display: flex; align-items: center; justify-content: center; }

/* ========== DETAIL: MOCKUP RESEARCH ========== */
.ucm-research { width: 100%; background: #0a0a0c; border-radius: 10px; border: 1px solid rgba(255,255,255,0.06); overflow: hidden; padding: 20px; }
.ucm-research-header { font-size: 11px; color: rgba(124,58,237,0.6); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 12px; }
.ucm-research-query { font-size: 14px; color: rgba(255,255,255,0.7); font-weight: 500; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,0.06); }
.ucm-research-sources { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.ucm-research-source { font-size: 10px; padding: 3px 8px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.06); border-radius: 4px; color: rgba(255,255,255,0.35); }
.ucm-research-content { font-size: 12px; color: rgba(255,255,255,0.45); line-height: 1.7; }
.ucm-research-content strong { color: rgba(255,255,255,0.65); }

/* ========== DETAIL: MOCKUP AGENT BUILDER ========== */
.ucm-agent { width: 100%; background: #0a0a0c; border-radius: 10px; border: 1px solid rgba(255,255,255,0.06); overflow: hidden; padding: 20px; }
.ucm-agent-header { font-size: 14px; font-weight: 600; color: rgba(255,255,255,0.7); margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.ucm-agent-field { margin-bottom: 12px; }
.ucm-agent-label { font-size: 11px; color: rgba(255,255,255,0.35); margin-bottom: 4px; }
.ucm-agent-input { width: 100%; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 6px; padding: 8px 10px; font-size: 12px; color: rgba(255,255,255,0.5); font-family: inherit; }
.ucm-agent-textarea { width: 100%; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 6px; padding: 8px 10px; font-size: 11px; color: rgba(255,255,255,0.4); font-family: inherit; min-height: 60px; resize: none; }
.ucm-agent-publish { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; background: rgba(124,58,237,0.2); border: 1px solid rgba(124,58,237,0.3); border-radius: 6px; font-size: 12px; color: rgba(124,58,237,0.8); font-weight: 500; margin-top: 8px; }

/* ========== DETAIL: CTA ========== */
.ucd-cta { max-width: 1200px; margin: 0 auto; padding: 60px 40px 80px; }
.ucd-cta-inner { display: flex; gap: 16px; align-items: flex-start; }
.ucd-cta-icon { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: rgba(255,255,255,0.4); }
.ucd-cta-content { flex: 1; }
.ucd-cta-title { font-size: 24px; font-weight: 600; margin-bottom: 8px; }
.ucd-cta-desc { font-size: 15px; color: rgba(255,255,255,0.45); line-height: 1.6; margin-bottom: 20px; }

/* ========== DETAIL: RELATED ========== */
.ucd-related { border-top: 1px solid rgba(255,255,255,0.06); padding: 80px 0; }
.ucd-related-inner { max-width: 1200px; margin: 0 auto; padding: 0 40px; text-align: center; }
.ucd-related-icon { display: flex; justify-content: center; margin-bottom: 20px; color: rgba(255,255,255,0.3); }
.ucd-related-title { font-size: 32px; font-weight: 600; margin-bottom: 48px; }
.ucd-related-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ucd-related-card { background: transparent; border: 1px solid rgba(255,255,255,0.08); border-radius: 12px; padding: 28px 20px; text-align: left; display: flex; flex-direction: column; justify-content: space-between; min-height: 160px; transition: border-color 0.2s, transform 0.2s; }
.ucd-related-card:hover { border-color: rgba(255,255,255,0.16); transform: translateY(-2px); }
.ucd-related-card-title { font-size: 16px; font-weight: 600; line-height: 1.4; color: #fff; }
.ucd-related-card-label { display: flex; align-items: center; gap: 6px; font-size: 13px; color: rgba(255,255,255,0.35); margin-top: auto; }

/* ========== RESPONSIVE ========== */
@media (max-width: 1100px) {
    .uc-grid { grid-template-columns: repeat(2, 1fr); padding: 30px 24px; }
}

@media (max-width: 1024px) {
    .ucd-breadcrumb { padding: 96px 24px 16px; }
    .ucd-hero { grid-template-columns: 1fr; gap: 30px; padding: 30px 24px 50px; }
    .ucd-hero-meta { flex-direction: row; flex-wrap: wrap; gap: 20px; }
    .ucd-content-area { grid-template-columns: 1fr; padding: 0 24px 60px; }
    .ucd-visual { position: static; margin-bottom: 30px; order: -1; }
    .ucd-related-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .uc-grid { grid-template-columns: 1fr; }
    .uc-hero { padding: 120px 24px 40px; }
    .uc-filter-bar { padding: 12px 20px; }
    .uc-filter-inner { gap: 8px; }
    .uc-filter-search { min-width: 100%; order: -1; }
    .uc-view-btns { display: none; }
    .uc-bottom-cta { padding: 40px 24px 80px; }
    .uc-bottom-cta-inner { padding: 32px 24px; }
}

@media (max-width: 640px) {
    .ucd-breadcrumb { padding: 90px 20px 16px; font-size: 12px; }
    .ucd-hero { padding: 20px 20px 40px; }
    .ucd-hero-title { font-size: 28px; }
    .ucd-content-area { padding: 0 20px 60px; }
    .ucd-cta { padding: 40px 20px 60px; }
    .ucd-related-inner { padding: 0 20px; }
    .ucd-related-grid { grid-template-columns: 1fr; }
    .ucd-hero-meta { flex-direction: column; }
    .ucd-step { flex-direction: column; gap: 12px; }
    .ucd-cta-inner { flex-direction: column; }
}

/* ========== LIGHT MODE ========== */
.light-mode .uc-page, .light-mode .ucd-page { background: #fff; color: #111; }
.light-mode .uc-card { border-color: rgba(0,0,0,0.08); }
.light-mode .uc-card:hover { border-color: rgba(0,0,0,0.15); }
.light-mode .ucm-chat, .light-mode .ucm-voice, .light-mode .ucm-canvas, .light-mode .ucm-research, .light-mode .ucm-agent { background: #f8f8fa; border-color: rgba(0,0,0,0.08); }
