/* CSV Analyst — Use Case Pages Shared CSS */
:root {
    --uc-bg: #000000;
    --uc-surface: #0a0a0c;
    --uc-border: #1e1e22;
    --uc-text: #ededed;
    --uc-muted: #888888;
    --uc-accent: #6366f1;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
    background: var(--uc-bg);
    color: var(--uc-text);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    -webkit-font-smoothing: antialiased;
    line-height: 1.6;
}

/* Header */
.uc-header {
    border-bottom: 1px solid var(--uc-border);
    position: sticky; top: 0;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(12px);
    z-index: 100;
}
.uc-header-inner {
    max-width: 960px; margin: 0 auto;
    padding: 0 1.5rem; height: 60px;
    display: flex; align-items: center; justify-content: space-between;
}
.uc-brand { font-weight: 600; font-size: 1rem; text-decoration: none; color: var(--uc-text); display: flex; align-items: center; gap: 0.5rem; }
.uc-brand-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--uc-accent); }
.uc-back { font-size: 0.85rem; color: var(--uc-muted); text-decoration: none; transition: color 0.15s; }
.uc-back:hover { color: var(--uc-text); }

/* Main */
.uc-main { max-width: 860px; margin: 0 auto; padding: 0 1.5rem 6rem; }

/* Hero */
.uc-hero { padding: 4rem 0 3rem; text-align: center; }
.uc-badge {
    display: inline-block; padding: 0.3rem 0.8rem;
    background: var(--uc-surface); border: 1px solid var(--uc-border);
    border-radius: 100px; font-size: 0.8rem; color: var(--uc-muted);
    margin-bottom: 1.5rem;
}
.uc-hero h1 { font-size: 2.8rem; font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; margin-bottom: 1rem; }
.uc-hero p { font-size: 1.1rem; color: var(--uc-muted); max-width: 560px; margin: 0 auto 2.5rem; }

/* Video */
.uc-video-wrapper {
    border-radius: 12px; overflow: hidden;
    border: 1px solid rgba(255,255,255,0.06);
    box-shadow: 0 24px 50px -12px rgba(0,0,0,0.6), 0 0 30px rgba(99,102,241,0.1);
    margin: 0 auto 4rem; max-width: 820px;
}
.uc-window-bar {
    height: 44px; background: rgba(15,23,42,0.9);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    display: flex; align-items: center; padding: 0 1rem; gap: 1rem;
}
.uc-dots { display: flex; gap: 7px; }
.uc-dots i { width: 11px; height: 11px; border-radius: 50%; display: block; }
.uc-dots i:nth-child(1) { background: #ff5f56; }
.uc-dots i:nth-child(2) { background: #ffbd2e; }
.uc-dots i:nth-child(3) { background: #27c93f; }
.uc-win-title { font-size: 0.75rem; color: rgba(255,255,255,0.4); font-family: monospace; margin: 0 auto; }
.uc-video-wrapper video { width: 100%; display: block; background: #000; }

/* Section */
.uc-section { margin-bottom: 3.5rem; }
.uc-section-label {
    font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em;
    color: var(--uc-muted); font-weight: 600; margin-bottom: 1.2rem;
}
.uc-section h2 { font-size: 1.5rem; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 0.75rem; }
.uc-section p { color: var(--uc-muted); font-size: 0.95rem; }

/* Before/After Table */
.uc-ba-table {
    width: 100%; border-collapse: collapse;
    background: var(--uc-surface); border: 1px solid var(--uc-border);
    border-radius: 12px; overflow: hidden;
    font-size: 0.88rem; margin-top: 1.2rem;
}
.uc-ba-table th {
    padding: 0.75rem 1rem; text-align: left;
    background: rgba(255,255,255,0.02);
    border-bottom: 1px solid var(--uc-border);
    color: var(--uc-muted); font-size: 0.78rem;
    text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600;
}
.uc-ba-table td {
    padding: 0.9rem 1rem;
    border-bottom: 1px solid var(--uc-border);
    vertical-align: top;
}
.uc-ba-table tr:last-child td { border-bottom: none; }
.uc-ba-table .raw { color: var(--uc-muted); font-family: monospace; font-size: 0.83rem; }
.uc-ba-table .arrow { color: #444; text-align: center; width: 32px; }

/* Badges */
.uc-badge-pill {
    display: inline-block; padding: 0.2rem 0.55rem;
    border-radius: 4px; font-size: 0.78rem; font-weight: 500; white-space: nowrap;
}
.pill-purple { background: rgba(168,85,247,0.15); color: #c084fc; border: 1px solid rgba(168,85,247,0.3); }
.pill-blue   { background: rgba(59,130,246,0.15);  color: #60a5fa; border: 1px solid rgba(59,130,246,0.3); }
.pill-green  { background: rgba(34,197,94,0.15);   color: #4ade80; border: 1px solid rgba(34,197,94,0.3); }
.pill-orange { background: rgba(249,115,22,0.15);  color: #fb923c; border: 1px solid rgba(249,115,22,0.3); }
.pill-red    { background: rgba(239,68,68,0.15);   color: #f87171; border: 1px solid rgba(239,68,68,0.3); }
.pill-gray   { background: rgba(255,255,255,0.05); color: var(--uc-muted); border: 1px solid rgba(255,255,255,0.1); }

/* Fields list */
.uc-fields { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; margin-top: 1rem; }
.uc-fields li {
    display: flex; align-items: center; gap: 0.75rem;
    background: var(--uc-surface); border: 1px solid var(--uc-border);
    border-radius: 8px; padding: 0.75rem 1rem; font-size: 0.9rem;
}
.uc-fields li .field-name { font-weight: 500; min-width: 160px; }
.uc-fields li .field-desc { color: var(--uc-muted); font-size: 0.85rem; }

/* CTA */
.uc-cta-block { text-align: center; padding: 3rem 0; border-top: 1px solid var(--uc-border); }
.uc-cta-block h2 { font-size: 1.8rem; font-weight: 700; margin-bottom: 0.75rem; letter-spacing: -0.02em; }
.uc-cta-block p { color: var(--uc-muted); margin-bottom: 2rem; }
.uc-btn-primary {
    display: inline-block; padding: 0.85rem 2rem;
    background: #ededed; color: #000; font-weight: 600;
    border-radius: 8px; text-decoration: none; font-size: 1rem;
    transition: background 0.15s, transform 0.15s;
}
.uc-btn-primary:hover { background: #fff; transform: translateY(-1px); }

/* Footer nav */
.uc-footnav { margin-top: 3rem; display: flex; justify-content: space-between; font-size: 0.85rem; }
.uc-footnav a { color: var(--uc-muted); text-decoration: none; transition: color 0.15s; }
.uc-footnav a:hover { color: var(--uc-text); }
