body { background: var(--vc-ink, #07070e); }
/* ══════════════════════════════════════════════════════════════════
   VIUCraft Use Cases Page
   Blue → Cyan accents matched to the rest of the site. Dark hero,
   alternating problem/solution sections, terminal code blocks, polished
   pipeline + step visuals. Dark mode via [data-theme="dark"].
   ══════════════════════════════════════════════════════════════════ */

/* ════════════════════════ HERO ════════════════════════ */
.uc-hero {
  position: relative;
  text-align: center;
  padding: clamp(7rem, 14vh, 9.5rem) 1.5rem clamp(5rem, 9vw, 7rem);
  background: var(--vc-ink);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.uc-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 30px 30px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 25%, #000 35%, transparent 78%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 25%, #000 35%, transparent 78%);
  z-index: -1;
}
.uc-hero::after {
  content: "";
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: min(1000px, 120vw);
  height: 640px;
  background:
    radial-gradient(closest-side, rgba(37, 99, 235, 0.34), transparent 70%) -220px 30px / 560px 560px no-repeat,
    radial-gradient(closest-side, rgba(6, 182, 212, 0.26), transparent 70%) 240px 0 / 600px 600px no-repeat,
    radial-gradient(closest-side, rgba(14, 165, 233, 0.2), transparent 70%) 30px 200px / 640px 480px no-repeat;
  filter: blur(18px);
  z-index: -1;
}
.uc-hero .container { position: relative; z-index: 1; max-width: 740px; }
.uc-hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.035em;
  margin: 0 0 1.2rem;
  color: #f8fafc;
  text-wrap: balance;
}
.uc-hero p {
  font-size: clamp(1.1rem, 2vw, 1.28rem);
  line-height: 1.6;
  color: rgba(226, 232, 240, 0.68);
  max-width: 580px;
  margin: 0 auto;
  text-wrap: balance;
}

/* ════════════════════════ SECTIONS ════════════════════════ */
.uc-section { padding: var(--vc-section-pad) 0; background: var(--vc-surface); }
.uc-section-alt {
  background: var(--vc-surface-2);
  border-top: 1px solid var(--vc-edge);
  border-bottom: 1px solid var(--vc-edge);
}

.uc-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: center;
}
.uc-inner-reverse .uc-text { order: 2; }
.uc-inner-reverse .uc-visual { order: 1; }

/* ── Text column ── */
.uc-subtitle {
  display: inline-block;
  font-size: var(--font-size-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--vc-accent-strong);
  margin-bottom: 1rem;
}
[data-theme="dark"] .uc-subtitle { color: #7dd3fc; }

.uc-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  display: grid;
  place-items: center;
  font-size: 1.45rem;
  color: #fff;
  margin-bottom: 1.4rem;
  position: relative;
  box-shadow: 0 12px 24px -8px rgba(15, 23, 42, 0.4);
}
.uc-icon::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.uc-icon-blue   { background: linear-gradient(135deg, #1d4ed8, #3b82f6); }
.uc-icon-green  { background: linear-gradient(135deg, #0284c7, #0ea5e9); }
.uc-icon-purple { background: linear-gradient(135deg, #2563eb, #38bdf8); }
.uc-icon-orange { background: linear-gradient(135deg, #0891b2, #22d3ee); }

.uc-text h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0 0 1.25rem;
  color: var(--vc-text);
}

/* ── Problem / Solution ── */
.problem-solution {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin: 0 0 1.5rem;
}
.ps-block {
  position: relative;
  padding: 0.9rem 1.1rem 0.95rem;
  border-radius: var(--radius-md);
  background: var(--vc-surface-2);
  border: 1px solid var(--vc-edge);
  border-left: 3px solid var(--ps-accent, var(--neutral-300));
}
.ps-block.is-problem { --ps-accent: #ef4444; }
.ps-block.is-solution { --ps-accent: #10b981; }
[data-theme="dark"] .ps-block { background: rgba(255, 255, 255, 0.02); }

.ps-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: var(--font-size-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.4rem;
}
.ps-label::before {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 0.85em;
}
.ps-label.problem { color: #e11d48; }
.ps-label.problem::before { content: "\f071"; }
.ps-label.solution { color: #0f9d6b; }
.ps-label.solution::before { content: "\f058"; }
[data-theme="dark"] .ps-label.problem { color: #fb7185; }
[data-theme="dark"] .ps-label.solution { color: #34d399; }

.ps-text {
  font-size: var(--font-size-sm);
  color: var(--vc-text-muted);
  line-height: 1.65;
}

/* ── URL example (terminal) ── */
.uc-url-example {
  margin-top: 1.5rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--vc-code-bg);
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 24px 50px -26px rgba(15, 23, 42, 0.5), 0 0 60px -34px rgba(14, 165, 233, 0.45);
}
.uc-url-example::before {
  content: "";
  display: block;
  height: 38px;
  background:
    radial-gradient(circle 4.5px at 18px 19px, #ff5f56 50%, transparent 51%),
    radial-gradient(circle 4.5px at 36px 19px, #ffbd2e 50%, transparent 51%),
    radial-gradient(circle 4.5px at 54px 19px, #27c93f 50%, transparent 51%),
    var(--vc-code-bar);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.uc-url-example-body { padding: 1.1rem 1.25rem 1.25rem; }
.uc-url-example .url-label {
  font-family: var(--font-family-mono);
  font-size: var(--font-size-xs);
  color: #6b7191;
  margin-bottom: 0.35rem;
}
.uc-url-example .url-label.mt-2 { margin-top: 0.9rem !important; }
.uc-url-example code {
  display: block;
  font-family: var(--font-family-mono);
  font-size: 0.8rem;
  line-height: 1.7;
  color: #9fd0ff;
  word-break: break-all;
  white-space: pre-wrap;
}
.uc-url-example code .op {
  color: #fbd38d;
  background: rgba(251, 211, 141, 0.1);
  border-radius: 4px;
  padding: 0 4px;
}

/* ════════════════════════ VISUAL PANELS ════════════════════════ */
.uc-visual {
  background: var(--vc-surface);
  border: 1px solid var(--vc-edge);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  box-shadow: var(--shadow-md);
}
.uc-section-alt .uc-visual { background: var(--vc-surface); }
[data-theme="dark"] .uc-visual { box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 20px 48px -24px rgba(0, 0, 0, 0.7); }

.uc-visual-header {
  font-size: var(--font-size-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--neutral-400);
  margin-bottom: 1.25rem;
}

/* step list */
.uc-steps { list-style: none; padding: 0; margin: 0; }
.uc-steps li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--vc-edge);
  font-size: var(--font-size-sm);
  line-height: 1.55;
  color: var(--vc-text);
}
.uc-steps li:last-child { border-bottom: none; }
.uc-steps .step-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--vc-grad-brand);
  color: #fff;
  font-size: var(--font-size-xs);
  font-weight: 700;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: 0 6px 14px -6px rgba(14, 165, 233, 0.6);
}
.uc-steps code,
.op-chip code {
  font-family: var(--font-family-mono);
  font-size: 0.78rem;
  color: var(--vc-accent-strong);
  background: rgba(14, 165, 233, 0.1);
  border: 1px solid rgba(14, 165, 233, 0.18);
  padding: 0.05rem 0.4rem;
  border-radius: 5px;
  white-space: nowrap;
}
[data-theme="dark"] .uc-steps code,
[data-theme="dark"] .op-chip code { color: #7dd3fc; background: rgba(14, 165, 233, 0.16); }

/* ops flow (pipeline) */
.ops-flow { display: flex; flex-direction: column; gap: 0.5rem; }
.op-chip {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem 0.95rem;
  border-radius: var(--radius-md);
  background: var(--vc-surface-2);
  border: 1px solid var(--vc-edge);
  font-size: var(--font-size-sm);
  color: var(--vc-text);
  transition: border-color var(--transition-fast), transform var(--transition-fast);
}
.op-chip:hover { border-color: rgba(14, 165, 233, 0.4); transform: translateX(2px); }
.op-chip i { width: 20px; text-align: center; color: var(--vc-accent); flex-shrink: 0; }
.op-chip:last-child {
  background: rgba(14, 165, 233, 0.08);
  border-color: rgba(14, 165, 233, 0.3);
  font-weight: 600;
}
.op-chip:last-child i { color: var(--vc-accent-strong); }
[data-theme="dark"] .op-chip:last-child { background: rgba(14, 165, 233, 0.14); }

.op-arrow { text-align: center; color: var(--neutral-300); font-size: 0.8rem; line-height: 1; }
[data-theme="dark"] .op-arrow { color: var(--neutral-600); }

/* ════════════════════════ CTA ════════════════════════ */
.cta-section-uc {
  position: relative;
  text-align: center;
  padding: var(--vc-section-pad) 1.5rem;
  background: var(--vc-ink);
  overflow: hidden;
}
.cta-section-uc .container {
  position: relative;
  z-index: 1;
  max-width: 1000px;
  margin: 0 auto;
  padding: clamp(3.5rem, 7vw, 5rem) 1.5rem;
  border-radius: var(--radius-2xl);
  background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 50%, #0ea5e9 100%);
  color: #fff;
  box-shadow: 0 40px 90px -30px rgba(37, 99, 235, 0.8);
  isolation: isolate;
}
.cta-section-uc::before { display: none; }
.cta-section-uc .container::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 75% 80% at 50% 40%, #000, transparent 75%);
  mask-image: radial-gradient(ellipse 75% 80% at 50% 40%, #000, transparent 75%);
  pointer-events: none;
  z-index: -1;
}
.cta-section-uc .container::after {
  content: "";
  position: absolute;
  top: -35%;
  right: -8%;
  width: 440px;
  height: 440px;
  background: radial-gradient(closest-side, rgba(34, 211, 238, 0.45), transparent 70%);
  filter: blur(20px);
  pointer-events: none;
  z-index: -1;
}
.cta-section-uc h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin: 0 0 0.9rem;
  text-wrap: balance;
}
.cta-section-uc p {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  opacity: 0.9;
  max-width: 540px;
  margin: 0 auto 2.25rem;
  line-height: 1.55;
}
.cta-section-uc .d-flex { gap: 0.85rem; }
.cta-section-uc .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.85rem 1.9rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  transition: transform var(--transition-base), box-shadow var(--transition-base), background var(--transition-base), border-color var(--transition-base);
}
.cta-section-uc .btn-light { background: #fff; color: var(--vc-accent-strong); box-shadow: 0 12px 28px -10px rgba(0, 0, 0, 0.35); }
.cta-section-uc .btn-light:hover { transform: translateY(-2px); box-shadow: 0 18px 36px -10px rgba(0, 0, 0, 0.45); }
.cta-section-uc .btn-outline-light { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.4); color: #fff; backdrop-filter: blur(6px); }
.cta-section-uc .btn-outline-light:hover { transform: translateY(-2px); background: rgba(255, 255, 255, 0.2); border-color: #fff; }

/* ════════════════════════ RESPONSIVE ════════════════════════ */
@media (max-width: 860px) {
  .uc-inner { grid-template-columns: 1fr; gap: 2.25rem; }
  .uc-text, .uc-visual { min-width: 0; }
  .uc-inner-reverse .uc-text { order: 1; }
  .uc-inner-reverse .uc-visual { order: 2; }
  .op-chip { flex-wrap: wrap; }
}

@media (max-width: 576px) {
  .cta-section-uc .d-flex { width: 100%; flex-direction: column; }
  .cta-section-uc .btn { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition-duration: 0.01ms !important; }
}
