/* ═══════════════════════════════════════════
   USE CASES PAGE — LOCAL STYLES
═══════════════════════════════════════════ */

/* ── HERO ──────────────────────────────────── */
.uc-hero {
  position: relative; padding: 116px var(--px) 90px;
  text-align: center; background: var(--bg); overflow: hidden;
}
.uc-hero-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--cta-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--cta-grid) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 85% 75% at 50% 50%, black 20%, transparent 100%);
}
.uc-glow { position: absolute; border-radius: 50%; filter: blur(100px); pointer-events: none; }
.uc-glow-1 { width: 620px; height: 320px; background: rgba(105,125,251,0.15); top: -40px; left: 50%; transform: translateX(-50%); }
.uc-glow-2 { width: 220px; height: 220px; background: rgba(34,197,94,0.08); bottom: 0; left: 12%; }
.uc-glow-3 { width: 220px; height: 220px; background: rgba(239,68,68,0.07); bottom: 0; right: 12%; }
.uc-hero-content { position: relative; z-index: 2; max-width: 760px; margin: 0 auto; }
.uc-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--blue); background: rgba(105,125,251,0.1); border: 1px solid rgba(105,125,251,0.25);
  padding: 6px 14px; border-radius: 100px; margin-bottom: 28px;
}
[data-theme="light"] .uc-eyebrow { color: #2563eb; background: rgba(37,99,235,0.08); border-color: rgba(37,99,235,0.2); }
.uc-hero h1 {
  font-size: clamp(32px, 4.4vw, 56px); font-weight: 900; letter-spacing: -2px; line-height: 1.05;
  background: var(--h1-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  margin-bottom: 22px;
}
.uc-hero-sub {
  font-size: clamp(15px, 2vw, 18px); line-height: 1.7; color: var(--text-secondary);
  max-width: 560px; margin: 0 auto 48px;
}

/* Use case pill nav */
.uc-pills {
  display: flex; gap: 8px; flex-wrap: wrap; justify-content: center;
}
.uc-pill {
  font-size: 13px; font-weight: 600; padding: 8px 18px; border-radius: 100px;
  border: 1px solid var(--border); background: var(--surface); color: var(--text-secondary);
  cursor: pointer; transition: all 0.2s; text-decoration: none; display: inline-block;
}
.uc-pill:hover { border-color: var(--border-hover); color: var(--text-primary); background: var(--surface-2); }
[data-theme="light"] .uc-pill { background: rgba(255,255,255,0.7); }
[data-theme="light"] .uc-pill:hover { background: rgba(255,255,255,0.95); }

/* ── OVERVIEW CARDS ─────────────────────────── */
.overview-section {
  padding: 80px var(--px);
  background: var(--cap-section-bg);
  border-top: 1px solid var(--border);
}
.overview-grid {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.ov-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 20px; padding: 28px;
  cursor: pointer; transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  text-decoration: none; display: block;
}
.ov-card:hover { border-color: var(--border-hover); transform: translateY(-3px); box-shadow: 0 12px 36px rgba(0,0,0,0.1); }
[data-theme="light"] .ov-card { background: rgba(255,255,255,0.75); }
[data-theme="light"] .ov-card:hover { box-shadow: 0 8px 28px rgba(22,50,91,0.08); }
.ov-icon {
  width: 48px; height: 48px; border-radius: 12px; margin-bottom: 18px;
  display: flex; align-items: center; justify-content: center; font-size: 20px;
  border: 1px solid var(--border);
}
.ov-title { font-size: 16px; font-weight: 700; color: var(--text-primary); margin-bottom: 8px; }
.ov-desc { font-size: 13px; line-height: 1.65; color: var(--text-secondary); margin-bottom: 16px; }
.ov-personas { display: flex; flex-wrap: wrap; gap: 6px; }
.ov-persona-tag {
  font-size: 11px; font-weight: 500; color: var(--text-muted);
  background: var(--border); border-radius: 100px; padding: 3px 10px;
}
[data-theme="light"] .ov-persona-tag { background: rgba(22,50,91,0.07); }
.ov-arrow {
  display: flex; align-items: center; gap: 4px;
  font-size: 12px; font-weight: 600; color: var(--blue); margin-top: 16px;
}
[data-theme="light"] .ov-arrow { color: #2563eb; }

/* ── DEEP DIVE BLOCKS ───────────────────────── */
.deepdive-section {
  padding: 100px var(--px);
  background: var(--bg);
}
.deepdive-section::before {
  content: ''; display: block;
  height: 1px; background: linear-gradient(90deg, transparent, var(--border), transparent);
  margin-bottom: 100px;
}

.dd-block {
  max-width: 1100px; margin: 0 auto 100px;
  scroll-margin-top: 100px;
}
.dd-block:last-child { margin-bottom: 0; }

.dd-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 100px; margin-bottom: 32px;
  border: 1px solid;
}
.dd-block-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: start;
}
.dd-block-grid--flip { direction: rtl; }
.dd-block-grid--flip > * { direction: ltr; }

.dd-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 10px; }
.dd-h2 { font-size: clamp(22px, 3vw, 36px); font-weight: 800; letter-spacing: -1px; color: var(--text-primary); margin-bottom: 14px; line-height: 1.15; }
.dd-sub { font-size: 15px; line-height: 1.7; color: var(--text-secondary); margin-bottom: 28px; }

/* Problem → solution flow */
.dd-flow { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.dd-flow-item {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px 16px; border-radius: 12px; font-size: 13.5px; line-height: 1.55;
}
.dd-flow-item--problem {
  background: rgba(239,68,68,0.06); border: 1px solid rgba(239,68,68,0.15); color: var(--text-secondary);
}
.dd-flow-item--solution {
  background: rgba(34,197,94,0.06); border: 1px solid rgba(34,197,94,0.18); color: var(--text-secondary);
}
.dd-flow-icon { flex-shrink: 0; font-size: 14px; margin-top: 1px; }
.dd-flow-item--problem .dd-flow-icon { color: #ef4444; }
.dd-flow-item--solution .dd-flow-icon { color: #22c55e; }
[data-theme="light"] .dd-flow-item--solution .dd-flow-icon { color: #16a34a; }

/* Key metrics */
.dd-metrics { display: flex; gap: 20px; flex-wrap: wrap; }
.dd-metric {
  text-align: center; background: var(--surface);
  border: 1px solid var(--border); border-radius: 14px;
  padding: 16px 22px; flex: 1; min-width: 90px;
}
[data-theme="light"] .dd-metric { background: rgba(255,255,255,0.8); }
.dd-metric-num { font-size: 28px; font-weight: 900; letter-spacing: -1px; color: var(--blue); line-height: 1; margin-bottom: 4px; }
[data-theme="light"] .dd-metric-num { color: #2563eb; }
.dd-metric-lbl { font-size: 12px; font-weight: 500; color: var(--text-muted); }

/* Visual panels */
.dd-visual-col { display: flex; flex-direction: column; gap: 20px; }
.dd-visual {
  background: var(--surface); border: 1px solid var(--border); border-radius: 20px;
  padding: 28px; position: relative; overflow: hidden;
}
[data-theme="light"] .dd-visual { background: rgba(255,255,255,0.8); box-shadow: 0 4px 20px rgba(22,50,91,0.06); }
.dd-visual::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 160px;
  background: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(105,125,251,0.1) 0%, transparent 70%);
  pointer-events: none;
}
[data-theme="light"] .dd-visual::before { background: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(37,99,235,0.06) 0%, transparent 70%); }
.dv-tag { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 18px; }

/* Visual: Incident timeline */
.incident-timeline { display: flex; flex-direction: column; gap: 0; }
.it-row {
  display: flex; gap: 14px; padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}
.it-row:last-child { border-bottom: none; }
.it-time { color: var(--text-muted); font-size: 11px; font-weight: 600; min-width: 40px; padding-top: 2px; white-space: nowrap; }
.it-dot-col { display: flex; flex-direction: column; align-items: center; gap: 2px; padding-top: 4px; }
.it-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.it-line { width: 1px; flex: 1; background: var(--border); min-height: 16px; }
.it-body { flex: 1; }
.it-event { font-weight: 600; color: var(--text-primary); font-size: 13px; }
.it-detail { font-size: 12px; color: var(--text-secondary); margin-top: 2px; }
.it-badge {
  font-size: 10px; font-weight: 700; padding: 2px 7px; border-radius: 100px;
  white-space: nowrap; align-self: flex-start; margin-top: 2px;
}
.it-badge--auto { background: rgba(105,125,251,0.14); color: var(--blue); }
[data-theme="light"] .it-badge--auto { color: #2563eb; }
.it-badge--resolved { background: rgba(34,197,94,0.12); color: #16a34a; }
.it-badge--alert { background: rgba(239,68,68,0.12); color: #ef4444; }

/* Visual: Vendor onboarding checklist */
.onboard-list { display: flex; flex-direction: column; gap: 8px; }
.ob-item {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 14px; border-radius: 10px;
  background: var(--surface-2); border: 1px solid var(--border);
  font-size: 13px;
}
[data-theme="light"] .ob-item { background: rgba(255,255,255,0.6); }
.ob-check {
  width: 20px; height: 20px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 9px;
}
.ob-check--done { background: rgba(34,197,94,0.15); border: 1px solid rgba(34,197,94,0.3); color: #16a34a; }
.ob-check--pending { background: rgba(148,163,184,0.1); border: 1px solid var(--border); color: var(--text-muted); }
.ob-check--auto { background: rgba(105,125,251,0.12); border: 1px solid rgba(105,125,251,0.3); color: var(--blue); }
[data-theme="light"] .ob-check--auto { color: #2563eb; }
.ob-text { flex: 1; color: var(--text-secondary); font-weight: 500; }
.ob-text.done { color: var(--text-muted); text-decoration: line-through; }
.ob-who { font-size: 10px; font-weight: 600; color: var(--text-muted); white-space: nowrap; }

/* Visual: SLA scorecard snapshot */
.sla-snap { display: flex; flex-direction: column; gap: 10px; }
.sla-snap-row {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 14px; border-radius: 10px;
  background: var(--surface-2); border: 1px solid var(--border);
}
[data-theme="light"] .sla-snap-row { background: rgba(255,255,255,0.6); }
.sla-snap-vendor { font-size: 13px; font-weight: 700; color: var(--text-primary); min-width: 96px; }
.sla-snap-bar-wrap { flex: 1; height: 5px; background: var(--border); border-radius: 100px; overflow: hidden; }
.sla-snap-bar { height: 100%; border-radius: 100px; }
.sla-snap-pct { font-size: 12px; font-weight: 700; min-width: 44px; text-align: right; }
.sla-snap-status { font-size: 10px; font-weight: 700; padding: 2px 7px; border-radius: 100px; white-space: nowrap; }
.sla-ok { background: rgba(34,197,94,0.12); color: #16a34a; }
.sla-warn { background: rgba(251,191,36,0.14); color: #b45309; }
.sla-fail { background: rgba(239,68,68,0.12); color: #ef4444; }
[data-theme="light"] .sla-ok { color: #15803d; }
[data-theme="light"] .sla-warn { color: #92400e; }

/* Visual: Contract renewal timeline */
.renewal-list { display: flex; flex-direction: column; gap: 10px; }
.renewal-row {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; border-radius: 10px;
  background: var(--surface-2); border: 1px solid var(--border);
}
[data-theme="light"] .renewal-row { background: rgba(255,255,255,0.6); }
.renewal-vendor { font-weight: 700; font-size: 13px; color: var(--text-primary); min-width: 88px; }
.renewal-date { font-size: 12px; color: var(--text-secondary); flex: 1; }
.renewal-days {
  font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 100px;
}
.renewal-days--urgent { background: rgba(239,68,68,0.12); color: #ef4444; }
.renewal-days--warn   { background: rgba(251,191,36,0.14); color: #b45309; }
.renewal-days--ok     { background: rgba(34,197,94,0.12); color: #16a34a; }
[data-theme="light"] .renewal-days--ok { color: #15803d; }
[data-theme="light"] .renewal-days--warn { color: #92400e; }

/* Visual: Cloud ops summary */
.cloud-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cloud-tile {
  background: var(--surface-2); border: 1px solid var(--border); border-radius: 12px;
  padding: 16px; display: flex; flex-direction: column; gap: 6px;
}
[data-theme="light"] .cloud-tile { background: rgba(255,255,255,0.6); }
.cloud-tile-top { display: flex; align-items: center; justify-content: space-between; }
.cloud-tile-name { font-size: 12px; font-weight: 600; color: var(--text-muted); }
.cloud-tile-status { font-size: 10px; font-weight: 700; padding: 2px 7px; border-radius: 100px; }
.cloud-tile-val { font-size: 24px; font-weight: 900; letter-spacing: -0.5px; color: var(--text-primary); }
.cloud-tile-sub { font-size: 11px; color: var(--text-muted); }

/* ── PERSONA SECTION ────────────────────────── */
.persona-section {
  padding: 90px var(--px);
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.persona-header { text-align: center; max-width: 520px; margin: 0 auto 56px; }
.persona-eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue); margin-bottom: 12px; }
[data-theme="light"] .persona-eyebrow { color: #2563eb; }
.persona-title { font-size: clamp(24px, 3vw, 38px); font-weight: 800; letter-spacing: -1px; color: var(--text-primary); margin-bottom: 10px; }
.persona-sub { font-size: 15px; line-height: 1.65; color: var(--text-secondary); }

.persona-grid {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.persona-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 28px;
  transition: border-color 0.2s, box-shadow 0.2s; cursor: default;
}
.persona-card:hover { border-color: var(--border-hover); box-shadow: 0 8px 28px rgba(0,0,0,0.08); }
[data-theme="light"] .persona-card { background: rgba(255,255,255,0.8); }
[data-theme="light"] .persona-card:hover { box-shadow: 0 6px 20px rgba(22,50,91,0.07); }
.persona-avatar {
  width: 52px; height: 52px; border-radius: 50%; overflow: hidden; margin-bottom: 16px;
  border: 2px solid var(--border);
}
.persona-avatar img { width: 100%; height: 100%; object-fit: cover; }
.persona-role { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue); margin-bottom: 6px; }
[data-theme="light"] .persona-role { color: #2563eb; }
.persona-name { font-size: 16px; font-weight: 700; color: var(--text-primary); margin-bottom: 10px; }
.persona-quote { font-size: 13px; line-height: 1.65; color: var(--text-secondary); font-style: italic; margin-bottom: 16px; border-left: 2px solid var(--border); padding-left: 12px; }
.persona-uses { display: flex; flex-direction: column; gap: 5px; }
.persona-use { font-size: 12px; color: var(--text-secondary); display: flex; align-items: flex-start; gap: 6px; }
.persona-use::before { content: '→'; color: var(--blue); font-size: 11px; font-weight: 700; flex-shrink: 0; margin-top: 1px; }
[data-theme="light"] .persona-use::before { color: #2563eb; }

/* ── CTA ───────────────────────────────────── */
.uc-cta {
  padding: 100px var(--px); text-align: center;
  background: var(--bg); position: relative; overflow: hidden;
}
.uc-cta-glow {
  position: absolute; width: 600px; height: 300px; border-radius: 50%;
  filter: blur(100px); pointer-events: none;
  background: rgba(105,125,251,0.12); top: 50%; left: 50%; transform: translate(-50%,-50%);
}
[data-theme="light"] .uc-cta-glow { background: rgba(37,99,235,0.07); }
.uc-cta-inner { position: relative; z-index: 1; max-width: 600px; margin: 0 auto; }
.uc-cta-title {
  font-size: clamp(28px, 4vw, 52px); font-weight: 900; letter-spacing: -1.5px; line-height: 1.08;
  background: var(--h1-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  margin-bottom: 16px;
}
.uc-cta-sub { font-size: 16px; line-height: 1.65; color: var(--text-secondary); margin-bottom: 36px; }
.uc-cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── RESPONSIVE ─────────────────────────────── */
@media (max-width: 1024px) {
  .persona-grid { grid-template-columns: repeat(2, 1fr); }
  .overview-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .dd-block-grid { grid-template-columns: 1fr; gap: 40px; }
  .dd-block-grid--flip { direction: ltr; }
  .cloud-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .uc-hero { padding: 100px 20px 72px; }
  .overview-section { padding: 64px 20px; }
  .deepdive-section { padding: 72px 20px; }
  .persona-section { padding: 64px 20px; }
  .uc-cta { padding: 72px 20px; }
  .dd-block { margin-bottom: 64px; }
  .dd-block-grid { gap: 28px; }
  .dd-visual { padding: 22px; }
  .dd-metrics { gap: 12px; }
  .dd-metric { padding: 14px 16px; }
  .dd-metric-num { font-size: 24px; }
  .uc-cta-actions { flex-direction: column; align-items: center; }
  .uc-cta-actions .btn-primary,
  .uc-cta-actions .btn-secondary { width: 100%; justify-content: center; }
  .sla-snap-vendor { min-width: 72px; font-size: 12px; }
  .renewal-vendor { min-width: 68px; font-size: 12px; }
}
@media (max-width: 640px) {
  .overview-grid { grid-template-columns: 1fr; }
  .persona-grid { grid-template-columns: 1fr; }
  .dd-metrics { flex-direction: column; }
  .ov-card { padding: 22px; }
  .persona-card { padding: 22px; }
  .dd-visual { padding: 18px; border-radius: 14px; }
  .cloud-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .cloud-tile { padding: 12px; }
  .cloud-tile-val { font-size: 20px; }
}
@media (max-width: 480px) {
  .uc-hero { padding: 88px 14px 60px; }
  .overview-section { padding: 48px 14px; }
  .deepdive-section { padding: 52px 14px; }
  .persona-section { padding: 48px 14px; }
  .uc-cta { padding: 52px 14px; }
  .dd-block { margin-bottom: 48px; }
  .dd-visual { padding: 14px; }
  .sla-snap-row { padding: 8px 10px; gap: 8px; }
  .sla-snap-vendor { min-width: 58px; font-size: 11px; }
  .renewal-row { padding: 8px 10px; gap: 8px; }
  .renewal-vendor { min-width: 58px; font-size: 11px; }
  .ob-item { padding: 9px 10px; gap: 8px; font-size: 12px; }
  .it-row { gap: 10px; font-size: 12px; }
  .it-time { min-width: 32px; font-size: 10px; }
}

/* ── EXTRACTED INLINE STYLES FOR USE-CASES.HTML ── */
.js-use-cases-style-1 { background:rgba(239,68,68,0.1);border-color:rgba(239,68,68,0.2); }
.js-use-cases-style-2 { color:#ef4444; }
.js-use-cases-style-3 { font-size:10px; }
.js-use-cases-style-4 { background:rgba(105,125,251,0.1);border-color:rgba(105,125,251,0.2); }
.js-use-cases-style-5 { color:var(--blue); }
.js-use-cases-style-6 { background:rgba(251,191,36,0.1);border-color:rgba(251,191,36,0.25); }
.js-use-cases-style-7 { color:#f59e0b; }
.js-use-cases-style-8 { background:rgba(34,197,94,0.1);border-color:rgba(34,197,94,0.2); }
.js-use-cases-style-9 { color:#22c55e; }
.js-use-cases-style-10 { background:rgba(59,130,246,0.1);border-color:rgba(59,130,246,0.2); }
.js-use-cases-style-11 { color:#3b82f6; }
.js-use-cases-style-12 { background:rgba(168,85,247,0.1);border-color:rgba(168,85,247,0.2); }
.js-use-cases-style-13 { color:#a855f7; }
.js-use-cases-style-14 { background:rgba(239,68,68,0.08);border-color:rgba(239,68,68,0.2);color:#ef4444; }
.js-use-cases-style-15 { background:#ef4444; }
.js-use-cases-style-16 { background:#697dfb; }
.js-use-cases-style-17 { background:#22c55e; }
.js-use-cases-style-18 { background:rgba(105,125,251,0.08);border-color:rgba(105,125,251,0.25);color:var(--blue); }
.js-use-cases-style-19 { font-size:8px; }
.js-use-cases-style-20 { background:rgba(251,191,36,0.1);border-color:rgba(251,191,36,0.3);color:#b45309; }
.js-use-cases-style-21 { width:99.8%;background:linear-gradient(90deg,#22c55e,#16a34a); }
.js-use-cases-style-22 { color:#16a34a; }
.js-use-cases-style-23 { width:99.5%;background:linear-gradient(90deg,#22c55e,#16a34a); }
.js-use-cases-style-24 { width:99.1%;background:linear-gradient(90deg,#f59e0b,#d97706); }
.js-use-cases-style-25 { color:#d97706; }
.js-use-cases-style-26 { width:97.8%;background:linear-gradient(90deg,#ef4444,#dc2626); }
.js-use-cases-style-27 { width:99.6%;background:linear-gradient(90deg,#22c55e,#16a34a); }
.js-use-cases-style-28 { background:rgba(34,197,94,0.08);border-color:rgba(34,197,94,0.22);color:#16a34a; }
.js-use-cases-style-29 { background:rgba(59,130,246,0.08);border-color:rgba(59,130,246,0.22);color:#3b82f6; }
.js-use-cases-style-30 { background:rgba(34,197,94,0.12);color:#16a34a; }
.js-use-cases-style-31 { background:rgba(251,191,36,0.14);color:#b45309; }
.js-use-cases-style-32 { background:rgba(239,68,68,0.12);color:#ef4444; }
.js-use-cases-style-33 { background:rgba(168,85,247,0.08);border-color:rgba(168,85,247,0.22);color:#a855f7; }
