/* ═══════════════════════════════════════════════════════════════
   Akuma Media — Use Case Subpages · Designsystem „Konzept 9 / MIX"
   Edles Nachtblau · Elektro-Ultramarin · Glow statt Dekoration
   Gemeinsame uc-*-Klassen, zentral im Nacht-Look gestylt.
   ═══════════════════════════════════════════════════════════════ */

/* === Hero: dunkle Nacht-Bühne === */
.uc-hero {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 168px 24px 96px;
    overflow: hidden;
    background: var(--night);
    color: var(--night-text-2);
}

@media (min-width: 1024px) {
    .uc-hero {
        padding-top: 196px;
        padding-bottom: 120px;
    }
}

/* Fallback-Deko (Markup nutzt orb/k9-hero-halo/k9-hero-grid aus styles.min.css) */
.uc-hero-grid {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(158, 178, 255, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(158, 178, 255, 0.06) 1px, transparent 1px);
    background-size: 64px 64px;
    -webkit-mask-image: radial-gradient(90% 90% at 50% 30%, #000 0%, transparent 100%);
    mask-image: radial-gradient(90% 90% at 50% 30%, #000 0%, transparent 100%);
}

.uc-hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    pointer-events: none;
}

.uc-hero-orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(76, 111, 255, 0.28) 0%, transparent 68%);
    top: -260px;
    left: 50%;
    transform: translateX(-50%);
    animation: ucOrbFloat 22s ease-in-out infinite;
}

.uc-hero-orb-2 {
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(125, 160, 255, 0.16) 0%, transparent 70%);
    bottom: -120px;
    right: -140px;
    animation: ucOrbFloat 28s ease-in-out infinite reverse;
}

@keyframes ucOrbFloat {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, -30px); }
}

.uc-hero-orb-1 { animation-name: none; }

.uc-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 860px;
    margin: 0 auto 56px;
}

/* Fallback-Badge (Markup nutzt badge-pill + signal-dot) */
.uc-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.5rem 1.125rem;
    background: rgba(158, 178, 255, 0.06);
    border: 1px solid var(--night-border);
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--night-text);
    margin-bottom: 28px;
}

.uc-badge-dot {
    width: 8px;
    height: 8px;
    background: var(--signal);
    border-radius: 50%;
    animation: ucPulse 2.2s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes ucPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

.uc-badge svg {
    width: 16px;
    height: 16px;
    color: var(--accent-bright);
}

.uc-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5.4vw, 4.25rem);
    font-weight: 600;
    line-height: 1.06;
    letter-spacing: -0.03em;
    text-wrap: balance;
    color: var(--night-text);
    margin: 2rem 0 24px;
}

.uc-hero h1 .highlight,
.uc-hero .serif-accent {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 540;
    letter-spacing: -0.01em;
    background: var(--grad-accent-text);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.uc-hero-sub {
    font-size: clamp(1.0625rem, 2vw, 1.1875rem);
    color: var(--night-text-2);
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.7;
}

/* === Workflow Window: dunkles n8n-Fenster (k9-mini-Optik) === */
.uc-workflow-window {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 980px;
    margin: 0 auto;
    background: linear-gradient(180deg, var(--night-card-2), var(--night-2));
    border: 1px solid var(--night-border);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 18px 44px rgba(2, 5, 16, 0.45);
    transition: transform 0.6s var(--ease-out-expo), box-shadow 0.6s var(--ease-out-expo);
}

.uc-workflow-window:hover {
    transform: translateY(-4px);
    box-shadow:
        0 26px 60px rgba(2, 5, 16, 0.55),
        0 0 40px rgba(76, 111, 255, 0.12);
}

.uc-wf-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 20px;
    background: rgba(158, 178, 255, 0.04);
    border-bottom: 1px solid var(--night-border-soft);
}

.uc-wf-dots {
    display: flex;
    gap: 6px;
}

.uc-wf-dots span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(158, 178, 255, 0.28);
}

.uc-wf-title {
    margin-left: 6px;
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    color: var(--night-text-2);
    font-family: var(--font-mono);
}

.uc-wf-canvas {
    position: relative;
    background-image: radial-gradient(circle, rgba(158, 178, 255, 0.14) 1px, transparent 1px);
    background-size: 20px 20px;
    padding: 48px 32px;
    min-height: 320px;
    overflow: hidden;
}

.uc-wf-canvas-tall {
    min-height: 420px;
}

/* === Shared Workflow Node Styles === */
.uc-wf-layout {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.uc-wf-layout-tall {
    height: 320px;
}

.uc-node {
    position: absolute;
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--night-card-2);
    border: 1.5px solid var(--night-border);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: default;
    transition: transform 0.3s var(--ease-spring), box-shadow 0.3s ease;
    z-index: 2;
}

.uc-node:hover {
    transform: scale(1.1);
    box-shadow:
        0 8px 24px rgba(2, 5, 16, 0.5),
        0 0 18px rgba(76, 111, 255, 0.25);
}

.uc-node svg {
    width: 24px;
    height: 24px;
    color: var(--accent-bright);
}

.uc-node::after {
    content: attr(data-label);
    position: absolute;
    bottom: -22px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--night-text-2);
    white-space: nowrap;
}

/* Diamond shape for IF/decision nodes */
.uc-node-diamond {
    border-radius: 4px;
    transform: rotate(45deg);
    width: 48px;
    height: 48px;
}

.uc-node-diamond svg {
    transform: rotate(-45deg);
    width: 20px;
    height: 20px;
}

.uc-node-diamond::after {
    transform: rotate(-45deg) translateX(-50%);
    bottom: -30px;
    left: 70%;
}

.uc-node-diamond:hover {
    transform: rotate(45deg) scale(1.1);
}

/* Node-Varianten: einheitlich Ultramarin (Kit-Palette, keine Fremdfarben) */
.uc-node-orange,
.uc-node-purple,
.uc-node-green,
.uc-node-blue,
.uc-node-red {
    border-color: rgba(123, 147, 255, 0.45);
}

.uc-node-orange svg,
.uc-node-purple svg,
.uc-node-green svg,
.uc-node-blue svg,
.uc-node-red svg {
    color: var(--accent-bright);
}

/* Node label element (alternative to ::after) */
.uc-node-label {
    position: absolute;
    bottom: -22px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--night-text-2);
    white-space: nowrap;
}

/* Connector SVG layer */
.uc-connectors {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.uc-connectors svg {
    width: 100%;
    height: 100%;
}

.uc-connectors line,
.uc-connectors path {
    fill: none;
    stroke: rgba(158, 178, 255, 0.3);
    stroke-width: 2;
}

.uc-connector-dashed {
    stroke-dasharray: 6 4;
}

/* Animated pulse dots */
.uc-pulse {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    z-index: 3;
    opacity: 0;
    pointer-events: none;
}

.uc-pulse-orange,
.uc-pulse-purple,
.uc-pulse-green,
.uc-pulse-blue,
.uc-pulse-red {
    background: #4c6fff;
    box-shadow: 0 0 10px rgba(76, 111, 255, 0.9);
}

/* Branch labels in workflow */
.uc-branch-label {
    position: absolute;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 6px;
    z-index: 4;
    color: var(--accent-bright);
    background: rgba(123, 147, 255, 0.14);
}

/* === Content Sections: Nacht-Bühne mit Tiefenstaffelung === */
.uc-section {
    padding: 100px 0;
    position: relative;
    background: var(--night);
    color: var(--night-text-2);
}

/* nie flaches Schwarz: sanfter Licht-Schein pro Sektion */
.uc-section::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(60% 45% at 50% 0%, rgba(88, 120, 255, 0.07) 0%, transparent 70%);
}

.uc-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

.uc-section-alt {
    background: var(--night-2);
}

/* Wechsel-Sektionen: maskiertes 64px-Raster statt Glow */
.uc-section-alt::before {
    background:
        linear-gradient(rgba(158, 178, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(158, 178, 255, 0.05) 1px, transparent 1px);
    background-size: 64px 64px;
    -webkit-mask-image: radial-gradient(80% 70% at 50% 18%, #000 0%, transparent 100%);
    mask-image: radial-gradient(80% 70% at 50% 18%, #000 0%, transparent 100%);
}

.uc-section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent-bright);
    margin-bottom: 16px;
}

.uc-section-label::before {
    content: '';
    width: 20px;
    height: 2px;
    background: var(--accent-bright);
    border-radius: 1px;
}

/* Section tag pills — einheitlich als Nacht-Pill (Kit-Look) */
.uc-tag,
.uc-tag-problem,
.uc-tag-solution,
.uc-tag-results,
.uc-tag-integrations {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    background: rgba(158, 178, 255, 0.06);
    border: 1px solid var(--night-border);
    color: var(--accent-bright);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 0.02em;
}

.uc-section h2,
.uc-related h2 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 600;
    color: var(--night-text);
    margin-bottom: 16px;
    letter-spacing: -0.03em;
    line-height: 1.15;
    text-wrap: balance;
}

/* Pro Headline GENAU EINE kursive Serif-Akzent-Phrase */
.uc-section h2 .serif-accent,
.uc-related h2 .serif-accent {
    background: var(--grad-accent-text);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.uc-section-desc {
    font-size: 1.0625rem;
    color: var(--night-text-2);
    line-height: 1.65;
    max-width: 640px;
    margin-bottom: 48px;
}

/* === Problem Cards: Glow-Karten === */
.uc-problem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.uc-problem-card {
    position: relative;
    border-radius: 20px;
    background:
        var(--grad-card) padding-box,
        linear-gradient(var(--night-card), var(--night-card)) padding-box,
        linear-gradient(150deg, rgba(158, 178, 255, 0.35), rgba(158, 178, 255, 0.06) 40%, rgba(158, 178, 255, 0.12)) border-box;
    border: 1px solid transparent;
    box-shadow: 0 12px 36px rgba(3, 7, 22, 0.4);
    padding: 32px;
    transition: transform 0.35s var(--ease-out-expo), box-shadow 0.35s ease;
}

.uc-problem-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 60px rgba(3, 7, 22, 0.5), 0 0 40px rgba(76, 111, 255, 0.14);
}

.uc-problem-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(123, 147, 255, 0.1);
    border: 1px solid var(--night-border-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.uc-problem-icon svg {
    width: 24px;
    height: 24px;
    color: var(--accent-bright);
}

.uc-problem-card h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--night-text);
    margin-bottom: 8px;
}

.uc-problem-card p {
    font-size: 1rem;
    color: var(--night-text-2);
    line-height: 1.65;
}

/* === Solution Steps === */
.uc-steps {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 700px;
}

.uc-step {
    display: flex;
    gap: 24px;
    padding: 28px 0;
    border-bottom: 1px solid var(--night-border-soft);
    transition: padding-left 0.3s var(--ease-out-expo);
}

.uc-step:last-child {
    border-bottom: none;
}

.uc-step:hover {
    padding-left: 8px;
}

.uc-step-num {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 12px;
    background: var(--grad-btn);
    color: #ffffff;
    box-shadow:
        0 6px 18px rgba(59, 92, 255, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.22);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1rem;
    flex-shrink: 0;
}

.uc-step-content h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--night-text);
    margin-bottom: 6px;
}

.uc-step-content p {
    font-size: 1rem;
    color: var(--night-text-2);
    line-height: 1.65;
}

.uc-step-content code {
    background: rgba(158, 178, 255, 0.1);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.85rem;
    color: var(--accent-bright);
    font-family: var(--font-mono);
}

.uc-step-tools {
    display: flex;
    gap: 6px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.uc-step-tool {
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 600;
    background: var(--night-card-2);
    border: 1px solid var(--night-border-soft);
    color: var(--night-text-2);
}

/* === Stats/Results Grid: Glow-Karten mit Verlaufs-Zahlen === */
.uc-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.uc-stat-card {
    position: relative;
    border-radius: 20px;
    background:
        var(--grad-card) padding-box,
        linear-gradient(var(--night-card), var(--night-card)) padding-box,
        linear-gradient(150deg, rgba(158, 178, 255, 0.35), rgba(158, 178, 255, 0.06) 40%, rgba(158, 178, 255, 0.12)) border-box;
    border: 1px solid transparent;
    box-shadow: 0 12px 36px rgba(3, 7, 22, 0.4);
    padding: 36px 28px;
    text-align: center;
    transition: transform 0.35s var(--ease-out-expo), box-shadow 0.35s ease;
}

.uc-stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 60px rgba(3, 7, 22, 0.5), 0 0 40px rgba(76, 111, 255, 0.14);
}

.uc-stat-value {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-bottom: 8px;
    font-variant-numeric: tabular-nums;
    background: var(--grad-accent-text);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.uc-stat-label {
    font-size: 0.95rem;
    color: var(--night-text-2);
    line-height: 1.5;
}

.uc-stat-label strong,
.uc-stat-label b {
    color: var(--night-text);
}

.uc-stat-detail {
    font-size: 0.78rem;
    color: var(--night-text-2);
    opacity: 0.8;
    margin-top: 4px;
}

/* === FAQ Section: Nacht-Karten-Accordion (Kit-Look) === */
.uc-faq-list {
    max-width: 800px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.uc-faq-item {
    border-radius: 16px;
    border: 1px solid var(--night-border-soft);
    background:
        linear-gradient(160deg, rgba(120, 150, 255, 0.06), rgba(120, 150, 255, 0) 55%),
        var(--night-card);
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.uc-faq-item:first-child {
    border-top: 1px solid var(--night-border-soft);
}

.uc-faq-item:hover,
.uc-faq-item.open {
    border-color: var(--night-border);
    box-shadow: none;
}

.uc-faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 24px;
    cursor: pointer;
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    font-family: var(--font-display);
    font-size: 1.08rem;
    font-weight: 600;
    color: var(--night-text);
    line-height: 1.4;
    transition: color 0.2s ease;
}

.uc-faq-question:hover {
    color: var(--night-text);
}

.uc-faq-chevron {
    width: 20px;
    height: 20px;
    min-width: 20px;
    color: var(--accent-bright);
    transition: transform 0.3s ease;
}

.uc-faq-item.open .uc-faq-chevron {
    transform: rotate(180deg);
}

.uc-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease-out-expo);
}

.uc-faq-item.open .uc-faq-answer {
    max-height: 400px;
}

/* Ohne JavaScript sind alle Antworten sichtbar (Kit §7) */
html:not(.js) .uc-faq-answer {
    max-height: none;
}

.uc-faq-answer-inner {
    padding: 0 24px 24px;
    padding-right: 60px;
    font-size: 1rem;
    color: var(--night-text-2);
    line-height: 1.75;
}

/* === CTA Section (Abschluss-CTA im cta-box-Look) === */
.uc-cta {
    padding: 100px 0;
    background: var(--night-2);
}

.uc-cta-card {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 72px 48px;
    background:
        radial-gradient(120% 140% at 50% 0%, rgba(76, 111, 255, 0.14) 0%, transparent 55%),
        var(--night-card);
    border: 1px solid var(--night-border);
    border-radius: 28px;
    overflow: hidden;
    text-align: center;
}

.uc-cta-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(104, 136, 255, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.uc-cta-card h2 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 600;
    color: var(--night-text);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    position: relative;
}

.uc-cta-card p {
    font-size: 1.0625rem;
    color: var(--night-text-2);
    max-width: 480px;
    margin: 0 auto 32px;
    line-height: 1.7;
    position: relative;
}

.uc-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 54px;
    padding: 0 30px;
    background: var(--grad-btn);
    color: #ffffff;
    border-radius: 100px;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.25s var(--ease-out-expo), box-shadow 0.25s ease;
    position: relative;
    box-shadow:
        0 8px 28px rgba(59, 92, 255, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.uc-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow:
        0 12px 36px rgba(59, 92, 255, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.uc-cta-btn svg {
    width: 18px;
    height: 18px;
}

/* === Related Use Cases: dunkel === */
.uc-related {
    padding: 96px 0;
    position: relative;
    background: var(--night-2);
    color: var(--night-text-2);
}

/* Raster-Layer auch ohne uc-section-Klasse */
.uc-related::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(rgba(158, 178, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(158, 178, 255, 0.05) 1px, transparent 1px);
    background-size: 64px 64px;
    -webkit-mask-image: radial-gradient(80% 70% at 50% 18%, #000 0%, transparent 100%);
    mask-image: radial-gradient(80% 70% at 50% 18%, #000 0%, transparent 100%);
}

.uc-related .container {
    position: relative;
    z-index: 1;
}

.uc-related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.uc-related-card {
    display: block;
    padding: 28px 24px;
    position: relative;
    border-radius: 20px;
    background:
        var(--grad-card) padding-box,
        linear-gradient(var(--night-card), var(--night-card)) padding-box,
        linear-gradient(150deg, rgba(158, 178, 255, 0.35), rgba(158, 178, 255, 0.06) 40%, rgba(158, 178, 255, 0.12)) border-box;
    border: 1px solid transparent;
    box-shadow: 0 12px 36px rgba(3, 7, 22, 0.4);
    text-decoration: none;
    transition: transform 0.35s var(--ease-out-expo), box-shadow 0.35s ease;
}

.uc-related-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 60px rgba(3, 7, 22, 0.5), 0 0 40px rgba(76, 111, 255, 0.14);
}

.uc-related-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    font-size: 1.3rem;
    background: rgba(123, 147, 255, 0.1);
    border: 1px solid var(--night-border-soft);
}

.related-card-category {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--accent-bright);
    background: rgba(123, 147, 255, 0.12);
    margin-bottom: 14px;
}

.uc-related-card h3 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--night-text);
    margin-bottom: 8px;
    line-height: 1.3;
}

.uc-related-card p {
    font-size: 0.92rem;
    color: var(--night-text-2);
    line-height: 1.6;
}

.uc-related-arrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 14px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-bright);
    transition: gap 0.3s ease;
}

.uc-related-card:hover .uc-related-arrow {
    gap: 10px;
}

/* === Scroll Reveal – instant visibility === */
.uc-reveal {
    opacity: 1;
    transform: none;
}

.uc-reveal.revealed {
    opacity: 1;
    transform: none;
}

.uc-reveal[data-delay="1"] { transition-delay: 0s; }
.uc-reveal[data-delay="2"] { transition-delay: 0s; }
.uc-reveal[data-delay="3"] { transition-delay: 0s; }

/* === Grid Background for Sections === */
.uc-grid-bg {
    position: relative;
}

.uc-grid-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(158, 178, 255, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(158, 178, 255, 0.06) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse 80% 50% at 50% 50%, black, transparent);
    -webkit-mask-image: radial-gradient(ellipse 80% 50% at 50% 50%, black, transparent);
    pointer-events: none;
    z-index: 0;
}

.uc-grid-bg > * {
    position: relative;
    z-index: 1;
}

/* === Reduced Motion === */
@media (prefers-reduced-motion: reduce) {
    .uc-hero-orb,
    .uc-badge-dot,
    .uc-pulse {
        animation: none !important;
    }

    .uc-workflow-window,
    .uc-node,
    .uc-problem-card,
    .uc-stat-card,
    .uc-related-card,
    .uc-step {
        transition: none;
    }
}

/* === Responsive === */
@media (max-width: 1024px) {
    .uc-problem-grid,
    .uc-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .uc-related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .uc-hero {
        padding: 140px 24px 64px;
        min-height: auto;
    }

    .uc-hero h1 {
        font-size: clamp(2rem, 5vw, 3rem);
    }

    .uc-wf-canvas {
        padding: 32px 16px;
        overflow-x: auto;
    }

    .uc-wf-layout {
        min-width: 860px;
    }

    .uc-problem-grid,
    .uc-stats-grid {
        grid-template-columns: 1fr;
    }

    .uc-step {
        flex-direction: column;
        gap: 12px;
    }

    .uc-related-grid {
        grid-template-columns: 1fr;
    }

    .uc-cta-card {
        padding: 48px 24px;
    }

    .uc-section {
        padding: 72px 0;
    }
}

@media (max-width: 480px) {
    .uc-hero {
        padding: 124px 16px 48px;
    }

    .uc-cta-card {
        padding: 40px 20px;
    }
}
