/* ═══════════════════════════════════════════════════════════════════════
   Fluxyn Landing Page V2 — InsForge-Inspired Professional Design
   Dark charcoal, purple accent, lighter typography, generous spacing
   ═══════════════════════════════════════════════════════════════════════ */

@theme {
    --color-accent: #7c5cff;
    --color-accent-hover: #9b86ff;
    --font-inter: "Inter", sans-serif;
}

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

:root {
    /* Palette — InsForge-inspired sober tones */
    --bg: #080b0a;
    --bg-elevated: #0d1210;
    --bg-card: rgba(20, 20, 20, 0.3);
    --bg-card-hover: #111a16;
    --border: rgba(124, 92, 255, .12);
    --border-subtle: rgba(255, 255, 255, .06);
    --border-hover: rgba(124, 92, 255, .24);
    --text: #e8ede9;
    --text-muted: #8a9b90;
    --text-dim: #556b5e;
    --accent: #7c5cff;
    --accent-rgb: 124, 92, 255;
    --accent-hover: #9b86ff;
    --accent-hover-rgb: 155, 134, 255;
    --accent-soft: rgba(124, 92, 255, .1);
    --accent-2: #a78bfa;
    --gradient: linear-gradient(135deg, #7c5cff, #a78bfa);
    --gradient-text: linear-gradient(135deg, #ffffff 30%, #9b86ff 100%);
    --glow-accent: rgba(124, 92, 255, .12);
    --glow-accent-strong: rgba(124, 92, 255, .2);

    /* Typography */
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Spacing — more generous */
    --section-py: clamp(6rem, 12vw, 10rem);
    --container-px: clamp(1.5rem, 4vw, 3rem);

    /* Misc */
    --radius: 16px;
    --radius-sm: 10px;
    --transition: .3s cubic-bezier(.4, 0, .2, 1);
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.65;
    overflow-x: hidden;
    position: relative;
}

/* ── Subtle dot-grid overlay (InsForge-style) ─── */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9999;
    opacity: .03;
    background-image: radial-gradient(circle, rgba(255, 255, 255, .15) 1px, transparent 1px);
    background-size: 24px 24px;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

code {
    background: rgba(124, 92, 255, .1);
    padding: .15em .4em;
    border-radius: 4px;
    font-size: .85em;
    color: var(--accent);
    font-family: 'SF Mono', 'Fira Code', monospace;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 var(--container-px);
}

/* ── Gradient text helper ──────────────── */
.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Section generic ───────────────────── */
.section {
    padding: var(--section-py) 0;
    position: relative;
}

.section__label {
    font-size: .65rem;
    font-weight: 500;
    letter-spacing: .2em;
    color: var(--accent);
    margin-bottom: 1.25rem;
    text-align: center;
    text-transform: uppercase;
    font-family: 'SF Mono', 'Fira Code', monospace;
}

.section__title {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    margin-bottom: 1rem;
    letter-spacing: -.02em;
}

.section__subtitle {
    text-align: center;
    color: var(--text-muted);
    max-width: 520px;
    margin: 0 auto 3rem;
    font-size: clamp(.8rem, 1.1vw, .88rem);
    line-height: 1.75;
    font-weight: 400;
}

/* ── Buttons ───────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    font-family: var(--font);
    font-weight: 500;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition), border-color var(--transition), opacity var(--transition);
    white-space: nowrap;
    position: relative;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn--primary {
    background: var(--accent);
    color: #f7f5ff;
    font-weight: 600;
    box-shadow: 0 2px 12px rgba(124, 92, 255, .24);
}

.btn--primary:hover {
    background: var(--accent-hover);
    box-shadow: 0 4px 20px rgba(124, 92, 255, .34);
}

.btn--ghost {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, .15);
    color: var(--text);
}

.btn--ghost:hover {
    border-color: var(--accent);
    color: var(--accent);
    box-shadow: 0 0 12px rgba(124, 92, 255, .12);
}

.btn--sm {
    font-size: .78rem;
    padding: .4rem 1rem;
}

.btn--lg {
    font-size: .82rem;
    padding: .55rem 1.4rem;
}

.btn--block {
    width: 100%;
}

/* ═══════════════════ NAVBAR ═══════════════════ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: .85rem 0;
    transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
}

.nav--scrolled {
    background: rgba(8, 11, 10, .85);
    -webkit-backdrop-filter: blur(20px) saturate(1.5);
    backdrop-filter: blur(20px) saturate(1.5);
    box-shadow: 0 1px 0 rgba(124, 92, 255, .08);
    padding: .55rem 0;
}

.nav__inner {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 var(--container-px);
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: -.01em;
}

.nav__links {
    display: flex;
    gap: 2rem;
    margin-left: auto;
}

.nav__links a {
    font-size: .82rem;
    font-weight: 400;
    color: var(--text-muted);
    transition: color var(--transition);
}

.nav__links a:hover {
    color: var(--text);
}

.nav__cta {
    margin-left: .5rem;
}

.nav__burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px;
    margin-left: auto;
}

.nav__burger span {
    width: 20px;
    height: 1.5px;
    background: var(--text);
    border-radius: 2px;
    transition: transform var(--transition), opacity var(--transition);
}

/* ═══════════════════ HERO ═══════════════════ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8rem 0 3rem;
    overflow: hidden;
}

/* ── Side-by-side hero on desktop ── */
.hero__wrapper {
    display: flex;
    align-items: center;
    gap: 3rem;
    max-width: 1140px;
    width: 100%;
    margin: 0 auto;
    padding: 0 var(--container-px);
    position: relative;
    z-index: 2;
}

/* Subtle atmospheric glow */
.hero__glow {
    position: absolute;
    top: -15%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 600px;
    background: radial-gradient(ellipse at center, var(--glow-accent) 0%, transparent 60%);
    pointer-events: none;
    animation: glowPulse 8s ease-in-out infinite;
}

.hero__glow::before {
    content: '';
    position: absolute;
    top: 40%;
    left: -20%;
    width: 500px;
    height: 400px;
    background: radial-gradient(ellipse at center, rgba(167, 139, 250, .08) 0%, transparent 70%);
    pointer-events: none;
    animation: glowDrift 10s ease-in-out infinite alternate;
}

.hero__glow::after {
    content: '';
    position: absolute;
    top: 30%;
    right: -30%;
    width: 400px;
    height: 300px;
    background: radial-gradient(ellipse at center, rgba(124, 92, 255, .06) 0%, transparent 70%);
    pointer-events: none;
    animation: glowDrift 12s ease-in-out infinite alternate-reverse;
}

@keyframes glowPulse {

    0%,
    100% {
        opacity: 1;
        transform: translateX(-50%) scale(1);
    }

    50% {
        opacity: .6;
        transform: translateX(-50%) scale(1.05);
    }
}

@keyframes glowDrift {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(30px, -15px);
    }
}

.hero__grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(124, 92, 255, .03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(124, 92, 255, .03) 1px, transparent 1px);
    background-size: 60px 60px;
    -webkit-mask-image: radial-gradient(ellipse 55% 40% at 50% 40%, black 20%, transparent 70%);
    mask-image: radial-gradient(ellipse 55% 40% at 50% 40%, black 20%, transparent 70%);
    pointer-events: none;
}

.hero__content {
    text-align: left;
    flex: 0 0 44%;
    max-width: 480px;
    position: relative;
    z-index: 2;
}

.hero__badge {
    display: inline-block;
    font-size: .65rem;
    font-weight: 500;
    color: var(--accent);
    background: var(--accent-soft);
    border: 1px solid rgba(124, 92, 255, .18);
    border-radius: 50px;
    padding: .35rem 1rem;
    margin-bottom: 1.5rem;
    font-family: 'SF Mono', 'Fira Code', monospace;
    letter-spacing: .02em;
}

.hero__title {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -.025em;
    margin-bottom: 1.25rem;
}

.hero__subtitle {
    font-size: clamp(.82rem, 1vw, .9rem);
    color: var(--text-muted);
    max-width: 420px;
    margin: 0 0 1.75rem;
    line-height: 1.8;
    font-weight: 400;
}

.hero__actions {
    display: flex;
    gap: .65rem;
    justify-content: flex-start;
    flex-wrap: wrap;
}

/* ── Flow Diagram in Hero ─────────────── */
.hero__flow {
    flex: 1 1 56%;
    min-width: 0;
    position: relative;
    z-index: 2;
}

.flow-svg {
    width: 100%;
    height: auto;
}

/* Dot-based path (gray circles that light up via JS) */
.path-dot {
    transition: fill .4s ease, r .3s ease;
}

.path-dot--lit {
    fill: var(--accent);
    r: 3.5;
}

.dot-path--fan .path-dot--lit {
    fill: var(--accent-2);
}

.path-dot--fading {
    fill: var(--accent);
    r: 3;
    opacity: .5;
    transition: fill .8s ease, opacity 1.2s ease, r .6s ease;
}

.dot-path--fan .path-dot--fading {
    fill: var(--accent-2);
}

.flow-dot {
    opacity: .95;
}

/* Subtle pulse on hub */
.flow-hub svg {
    overflow: visible;
    transform-origin: center;
    animation: hubPulse 3s ease-in-out infinite;
    filter: drop-shadow(0 0 0 rgba(124, 92, 255, 0));
}

.flow-hub svg circle[cx="32"][cy="32"] {
    animation: hubCorePulse 3s ease-in-out infinite;
    transform-origin: center;
}

@keyframes hubPulse {

    0%,
    100% {
        opacity: .7;
        transform: scale(1) rotate(2deg);
        filter: drop-shadow(0 0 0 rgba(124, 92, 255, 0));
    }

    50% {
        opacity: 1;
        transform: scale(1.025);
        filter: drop-shadow(0 0 12px rgba(124, 92, 255, 0.12));
    }
}

@keyframes hubCorePulse {

    0%,
    100% {
        opacity: .62;
    }

    50% {
        opacity: .85;
    }
}

/* Event card shimmer bar */
.flow-event__bar {
    animation: shimmerBar 3s ease-in-out infinite;
}

@keyframes shimmerBar {

    0%,
    100% {
        width: 100;
        opacity: .5;
    }

    50% {
        opacity: .2;
    }
}

/* ═══════════════════ TRUSTED ═══════════════════ */
.trusted {
    padding: 3rem 0;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    overflow: hidden;
}

.trusted__label {
    text-align: center;
    font-size: .6rem;
    font-weight: 500;
    letter-spacing: .25em;
    color: var(--text-dim);
    margin-bottom: 1.5rem;
    font-family: 'SF Mono', 'Fira Code', monospace;
}

.marquee {
    position: relative;
    width: 100%;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 15%, black 85%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, black 15%, black 85%, transparent 100%);
}

.marquee__track {
    display: flex;
    gap: 4rem;
    animation: marqueeScroll 30s linear infinite;
    width: max-content;
}

.marquee__item {
    font-size: .95rem;
    font-weight: 500;
    color: var(--text-dim);
    white-space: nowrap;
    opacity: .4;
    letter-spacing: .04em;
}

@keyframes marqueeScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ═══════════════════ HOW IT WORKS ═══════════════════ */
.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.step {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    position: relative;
    transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
    overflow: hidden;
}

.step::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius);
    background: radial-gradient(ellipse at top right, var(--glow-accent), transparent 70%);
    opacity: 0;
    transition: opacity var(--transition);
    pointer-events: none;
}

.step:hover {
    border-color: rgba(var(--accent-rgb), .25);
    transform: translateY(-4px);
    box-shadow: 0 0 30px var(--glow-accent);
}

.step:hover::before {
    opacity: 1;
}

.step__number {
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: .08;
    position: absolute;
    top: .75rem;
    right: 1.25rem;
    font-family: 'SF Mono', 'Fira Code', monospace;
}

.step__icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--accent-soft);
    border: 1px solid rgba(var(--accent-rgb), .12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    margin-bottom: 1.25rem;
}

.step__title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: .5rem;
}

.step__desc {
    color: var(--text-muted);
    font-size: .85rem;
    line-height: 1.7;
}

/* ═══════════════════ PRODUCT SHOWCASE ═══════════════════ */
.product-showcase {
    padding-top: clamp(5rem, 10vw, 8rem);
}

.product-showcase__intro {
    max-width: 48rem;
    margin: 0 auto;
    text-align: center;
}

.product-showcase__eyebrow {
    margin-bottom: 1rem;
}

.product-showcase__title {
    font-size: clamp(2rem, 4.8vw, 3.9rem);
    line-height: .98;
    letter-spacing: -.05em;
    max-width: 9ch;
    margin: 0 auto;
}

.product-showcase__subtitle {
    margin-top: 1.2rem;
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.9;
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
}

.product-showcase__walkthrough {
    display: grid;
    grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
    gap: clamp(1.25rem, 3vw, 2.35rem);
    align-items: stretch;
    margin-top: clamp(2.5rem, 6vw, 4rem);
}

.product-showcase__points {
    display: grid;
    gap: clamp(2.2rem, 5vw, 3.2rem);
}

.product-showcase__point {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: .9rem;
    padding: 1rem 1rem;
    border: 1px solid rgba(255, 255, 255, .05);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, .015));
    opacity: .52;
    transition: opacity .3s ease, transform .3s ease, border-color .3s ease, background .3s ease, box-shadow .3s ease;
}

.product-showcase__point.is-active {
    opacity: 1;
    transform: translateY(-2px);
    border-color: rgba(var(--accent-rgb), .22);
    background: linear-gradient(180deg, rgba(var(--accent-rgb), .08), rgba(var(--accent-rgb), .02));
    box-shadow: 0 18px 40px rgba(0, 0, 0, .2);
}

.product-showcase__point-icon {
    width: 2rem;
    height: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, .07);
    background: rgba(255, 255, 255, .04);
    position: relative;
}

.product-showcase__point-icon::before,
.product-showcase__point-icon::after {
    content: '';
    position: absolute;
    inset: 0;
    margin: auto;
}

.product-showcase__point-icon--build::before {
    width: .9rem;
    height: .9rem;
    border-radius: 8px;
    border: 2px solid var(--accent);
}

.product-showcase__point-icon--debug::before {
    width: .9rem;
    height: .9rem;
    border-radius: 999px;
    border: 2px solid #9aa2b1;
}

.product-showcase__point-icon--debug::after {
    width: .2rem;
    height: .55rem;
    background: #9aa2b1;
    border-radius: 999px;
}

.product-showcase__point-icon--custom::before {
    width: .95rem;
    height: .95rem;
    border-radius: 8px;
    background: linear-gradient(135deg, #7c5cff, #a78bfa);
}

.product-showcase__point-icon--staging::before {
    width: .95rem;
    height: .72rem;
    border-radius: 6px;
    border: 2px solid #7c5cff;
    background: rgba(124, 92, 255, .08);
}

.product-showcase__point-icon--staging::after {
    width: .5rem;
    height: 2px;
    background: #7c5cff;
    border-radius: 999px;
    transform: translateY(.38rem);
}

.product-showcase__point-icon--monitor::before {
    width: 1rem;
    height: .7rem;
    border-left: 2px solid var(--accent);
    border-bottom: 2px solid var(--accent);
    transform: rotate(-45deg);
}

.product-showcase__point-copy strong {
    display: block;
    font-size: .93rem;
    font-weight: 600;
    color: var(--text);
}

.product-showcase__point-copy p {
    margin-top: .32rem;
    color: var(--text-muted);
    font-size: .82rem;
    line-height: 1.7;
}

.product-showcase__visual {
    position: relative;
    align-self: stretch;
}

.showcase-screen {
    --showcase-ease: cubic-bezier(.22, 1, .36, 1);
    position: sticky;
    top: 6.25rem;
    aspect-ratio: 1.18 / 1;
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .07);
    background:
        radial-gradient(circle at top center, rgba(var(--accent-rgb), .08), transparent 38%),
        linear-gradient(180deg, rgba(255, 255, 255, .02), rgba(255, 255, 255, 0)),
        #08090b;
    box-shadow: 0 40px 90px rgba(0, 0, 0, .42), inset 0 1px 0 rgba(255, 255, 255, .04);
    filter: grayscale(1) saturate(.28);
    opacity: .62;
    transform: scale(.985);
    transition: filter .55s ease, opacity .55s ease, transform .55s ease, box-shadow .55s ease;
}

.product-showcase.is-active .showcase-screen {
    filter: grayscale(0) saturate(1);
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 45px 110px rgba(0, 0, 0, .48), 0 0 0 1px rgba(255, 255, 255, .03);
}

.showcase-screen__stage {
    position: absolute;
    inset: 3.6rem 0 0;
}

.showcase-screen__stage--workflow {
    opacity: 1;
    transition: opacity .35s ease, transform .35s ease;
}

.showcase-screen__stage--staging,
.showcase-screen__stage--monitoring {
    opacity: 0;
    transform: translateX(24px) scale(1.02);
    transition: opacity .35s ease, transform .35s ease;
}

.workflow-demo {
    position: relative;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, .01)),
        #090b0c;
    overflow: hidden;
}

.workflow-demo__chrome {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 3.6rem;
    padding: 0 1.35rem;
    border-bottom: 1px solid rgba(255, 255, 255, .05);
    background: rgba(7, 8, 10, .97);
}

.workflow-demo__body {
    display: grid;
    grid-template-columns: 28% 1fr;
    height: 100%;
}

.workflow-demo__sidebar {
    position: relative;
    padding: 1.15rem .95rem;
    border-right: 1px solid rgba(255, 255, 255, .05);
    background: linear-gradient(180deg, rgba(255, 255, 255, .02), rgba(255, 255, 255, .01));
}

.workflow-demo__search {
    display: flex;
    align-items: center;
    height: 2.35rem;
    padding: 0 .9rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, .07);
    color: rgba(255, 255, 255, .42);
    font-size: .72rem;
    background: rgba(0, 0, 0, .28);
}

.workflow-demo__group {
    margin-top: 1.1rem;
}

.workflow-demo__group--vendors {
    opacity: .76;
}

.workflow-demo__group-label {
    margin-bottom: .55rem;
    font-size: .58rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .34);
    font-family: 'SF Mono', 'Fira Code', monospace;
}

.workflow-demo__sidebar-item {
    display: flex;
    align-items: center;
    gap: .58rem;
    height: 1.95rem;
    margin-bottom: .38rem;
    padding: 0 .52rem;
    border-radius: 10px;
    color: rgba(255, 255, 255, .8);
    font-size: .72rem;
    background: rgba(255, 255, 255, .02);
}

.workflow-demo__sidebar-item--muted {
    color: rgba(255, 255, 255, .56);
}

.workflow-demo__sidebar-icon,
.workflow-demo__ghost-icon,
.workflow-demo__node-chip {
    flex: 0 0 auto;
    width: 1rem;
    height: 1rem;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, .08);
    background: rgba(255, 255, 255, .04);
    position: relative;
}

.workflow-demo__sidebar-icon::after,
.workflow-demo__ghost-icon::after,
.workflow-demo__node-chip::after {
    content: '';
    position: absolute;
    inset: .2rem;
    border-radius: 999px;
    background: currentColor;
    opacity: .92;
}

.workflow-demo__sidebar-icon--script,
.workflow-demo__node-chip--trigger {
    color: var(--accent);
}

.workflow-demo__sidebar-icon--delay {
    color: #d4a03f;
}

.workflow-demo__sidebar-icon--debug,
.workflow-demo__ghost-icon,
.workflow-demo__node-chip--debug {
    color: #9aa2b1;
}

.workflow-demo__node-chip--custom {
    color: #a78bfa;
}

.workflow-demo__sidebar-icon--vendor,
.workflow-demo__node-chip--vendor {
    color: #7c5cff;
}

.workflow-demo__header-left {
    display: flex;
    align-items: center;
    gap: .7rem;
}

.workflow-demo__header-mark {
    width: 1rem;
    height: 1rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .08);
    background: radial-gradient(circle at 35% 35%, rgba(var(--accent-hover-rgb), .9), rgba(var(--accent-rgb), .24));
    box-shadow: 0 0 .9rem rgba(var(--accent-rgb), .18);
}

.workflow-demo__header-line {
    width: 7.5rem;
    height: .55rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
}

.workflow-demo__header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-width: 7.2rem;
}

.workflow-demo__header-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 1.85rem;
    padding: 0 .9rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .08);
    background: rgba(255, 255, 255, .03);
    color: rgba(255, 255, 255, .4);
    font-size: .7rem;
    font-weight: 500;
    letter-spacing: .01em;
    opacity: .22;
    transform: translateY(2px);
    transition: opacity .3s ease, transform .3s ease, border-color .3s ease, background .3s ease, color .3s ease, box-shadow .3s ease;
}

.workflow-demo__canvas {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 1px 1px, rgba(255, 255, 255, .08) 1px, transparent 0) 0 0 / 18px 18px,
        linear-gradient(180deg, rgba(255, 255, 255, .01), rgba(255, 255, 255, 0));
}

.workflow-demo__canvas::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 52% 24%, rgba(124, 92, 255, .09), transparent 42%);
    opacity: 0;
    transition: opacity .5s ease;
}

.product-showcase.is-active .workflow-demo__canvas::before {
    opacity: 1;
}

.workflow-demo__node,
.workflow-demo__ghost {
    position: absolute;
    display: flex;
    align-items: flex-start;
    gap: .6rem;
    padding: .88rem .96rem;
    border-radius: 16px;
    background: rgba(23, 22, 24, .985);
    border: 1px solid rgba(255, 255, 255, .06);
    box-shadow: 0 16px 28px rgba(0, 0, 0, .18);
}

.workflow-demo__node {
    opacity: 0;
    transform: translateY(12px) scale(.965);
}

.workflow-demo__node-copy {
    display: grid;
    gap: .2rem;
    min-width: 0;
}

.workflow-demo__node-copy strong {
    font-size: .88rem;
    line-height: 1.2;
    color: rgba(255, 255, 255, .95);
    font-weight: 600;
    white-space: nowrap;
}

.workflow-demo__node-copy span {
    font-size: .68rem;
    color: rgba(255, 255, 255, .45);
    line-height: 1.2;
}

.workflow-demo__node--trigger {
    left: 7%;
    top: 40%;
    width: 28%;
}

.workflow-demo__node--ga4 {
    left: 39%;
    top: 17%;
    width: 22%;
}

.workflow-demo__node--linkedin {
    left: 39%;
    top: 50%;
    width: 24%;
}

.workflow-demo__node--debug {
    left: 67%;
    top: 33%;
    width: 22%;
}

.workflow-demo__node--custom {
    left: 39%;
    top: 50%;
    width: 35%;
    min-width: 150px;
}

.workflow-demo__node--trigger .workflow-demo__node-copy strong,
.workflow-demo__node--debug .workflow-demo__node-copy strong {
    padding-top: .14rem;
}

.workflow-demo__ghost {
    left: 9%;
    top: 57%;
    width: 18%;
    opacity: 0;
    z-index: 3;
    color: rgba(255, 255, 255, .82);
    font-size: .7rem;
    pointer-events: none;
}

.workflow-demo__connections {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.workflow-demo__path {
    fill: none;
    stroke: rgba(255, 255, 255, .14);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-dasharray: 280;
    stroke-dashoffset: 280;
}

.workflow-demo__pulse {
    position: absolute;
    width: .65rem;
    height: .65rem;
    border-radius: 999px;
    opacity: 0;
    box-shadow: 0 0 0 .18rem rgba(var(--accent-rgb), .12), 0 0 1rem rgba(var(--accent-rgb), .42);
    z-index: 4;
}

.workflow-demo__pulse--top {
    background: #7c5cff;
}

.workflow-demo__pulse--bottom {
    background: var(--accent-hover);
}

.workflow-demo__pulse--debug {
    background: #9aa2b1;
}

.workflow-demo__debug-panel {
    position: absolute;
    top: 1rem;
    right: 1rem;
    bottom: 1rem;
    width: 30%;
    padding: .95rem;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, .08);
    background: rgba(13, 16, 18, .96);
    box-shadow: 0 18px 32px rgba(0, 0, 0, .26);
    opacity: 0;
    transform: translateX(16px);
    transition: opacity .35s ease, transform .35s ease;
}

.workflow-demo__debug-head {
    display: grid;
    gap: .3rem;
    padding-bottom: .8rem;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.workflow-demo__debug-head strong {
    font-size: .76rem;
    color: rgba(255, 255, 255, .92);
    font-weight: 600;
}

.workflow-demo__debug-head span {
    font-size: .64rem;
    color: rgba(255, 255, 255, .42);
}

.workflow-demo__debug-row {
    display: flex;
    justify-content: space-between;
    gap: .8rem;
    margin-top: .7rem;
    color: rgba(255, 255, 255, .72);
    font-size: .66rem;
}

.workflow-demo__debug-row span:first-child {
    color: rgba(255, 255, 255, .42);
}

.workflow-demo__debug-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 1rem;
    max-width: 100%;
    min-width: 6.4rem;
    height: 1.85rem;
    padding: 0 .65rem;
    border-radius: 999px;
    background: rgba(var(--accent-rgb), .08);
    border: 1px solid rgba(var(--accent-rgb), .18);
    color: rgba(255, 255, 255, .86);
    font-size: .62rem;
    font-weight: 500;
    white-space: nowrap;
}

.staging-demo {
    display: grid;
    grid-template-rows: 3.55rem 1fr;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .015), rgba(255, 255, 255, .005)),
        #090b15;
}

.staging-demo__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem 0 .95rem;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
    background: rgba(11, 14, 25, .98);
}

.staging-demo__header-brand {
    display: flex;
    align-items: center;
    gap: .55rem;
    color: rgba(255, 255, 255, .92);
    font-size: .84rem;
    font-weight: 600;
}

.staging-demo__header-dot {
    width: .6rem;
    height: .6rem;
    border-radius: 999px;
    background: radial-gradient(circle at 35% 35%, rgba(var(--accent-hover-rgb), 1), rgba(var(--accent-rgb), .35));
    box-shadow: 0 0 .8rem rgba(var(--accent-rgb), .3);
}

.staging-demo__header-close {
    width: .75rem;
    height: .75rem;
    position: relative;
    opacity: .6;
}

.staging-demo__header-close::before,
.staging-demo__header-close::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: .72rem;
    height: 1.5px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .72);
}

.staging-demo__header-close::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.staging-demo__header-close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.staging-demo__body {
    display: grid;
    grid-template-columns: minmax(0, .96fr) minmax(0, 1.04fr);
    height: 100%;
}

.staging-demo__runs,
.staging-demo__detail {
    min-width: 0;
}

.staging-demo__runs {
    padding: .9rem .75rem .9rem .95rem;
    border-right: 1px solid rgba(255, 255, 255, .07);
    background: rgba(16, 20, 34, .95);
}

.staging-demo__event {
    padding: .62rem .72rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .05);
}

.staging-demo__event-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .8rem;
    color: rgba(255, 255, 255, .88);
    font-size: .75rem;
}

.staging-demo__event-head strong {
    font-weight: 600;
}

.staging-demo__event-head span {
    color: rgba(255, 255, 255, .42);
    font-family: 'SF Mono', 'Fira Code', monospace;
    font-size: .62rem;
}

.staging-demo__payload {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: .55rem;
    height: 1.45rem;
    padding: 0 .58rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, .08);
    background: rgba(255, 255, 255, .03);
    color: rgba(255, 255, 255, .6);
    font-size: .61rem;
    font-family: 'SF Mono', 'Fira Code', monospace;
}

.staging-demo__tree {
    display: grid;
    gap: .9rem;
    margin-top: .95rem;
}

.staging-demo__flow {
    position: relative;
    display: grid;
    gap: .46rem;
    padding-left: .55rem;
}

.staging-demo__flow::before {
    content: '';
    position: absolute;
    left: .1rem;
    top: 1.25rem;
    bottom: .2rem;
    width: 1px;
    background: rgba(255, 255, 255, .1);
}

.staging-demo__flow-label {
    color: #6bc5ff;
    font-size: .72rem;
    font-weight: 500;
}

.staging-demo__tree-row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: .45rem;
    min-height: 1.8rem;
    padding: .22rem .45rem .22rem 0;
    color: rgba(215, 186, 255, .9);
    border-radius: 10px;
    opacity: .72;
}

.staging-demo__tree-row--nested {
    margin-left: .85rem;
    color: rgba(211, 214, 255, .76);
}

.staging-demo__tree-row--selected {
    padding-left: .35rem;
    padding-right: .35rem;
    border: 1px solid rgba(167, 139, 250, .28);
    background: rgba(124, 92, 255, .14);
    opacity: 1;
    box-shadow: 0 0 0 1px rgba(167, 139, 250, .08);
}

.staging-demo__tree-dot {
    width: .52rem;
    height: .52rem;
    border-radius: 999px;
    background: var(--accent);
    box-shadow: 0 0 .45rem rgba(var(--accent-rgb), .25);
}

.staging-demo__tree-name {
    font-size: .68rem;
    line-height: 1.2;
    font-weight: 500;
}

.staging-demo__tree-badge {
    color: rgba(255, 255, 255, .42);
    font-size: .54rem;
    font-family: 'SF Mono', 'Fira Code', monospace;
    white-space: nowrap;
}

.staging-demo__detail {
    padding: 1rem 1rem .95rem;
    background: rgba(8, 11, 23, .98);
    opacity: 0;
    transform: translateY(10px);
}

.staging-demo__detail-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .8rem;
    color: #d7a9ff;
}

.staging-demo__detail-head strong {
    font-size: .84rem;
    line-height: 1.25;
    font-weight: 600;
}

.staging-demo__detail-head span {
    flex: 0 0 auto;
    height: 1.45rem;
    padding: 0 .5rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, .06);
    color: rgba(255, 255, 255, .42);
    font-size: .56rem;
    font-family: 'SF Mono', 'Fira Code', monospace;
    display: inline-flex;
    align-items: center;
}

.staging-demo__stats {
    display: grid;
    gap: .3rem;
    margin-top: .8rem;
    color: rgba(255, 255, 255, .72);
    font-size: .69rem;
}

.staging-demo__tabs {
    display: flex;
    gap: .75rem;
    align-items: center;
    margin-top: 1rem;
    padding-bottom: .75rem;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    color: rgba(255, 255, 255, .42);
    font-size: .66rem;
}

.staging-demo__tab {
    height: 1.55rem;
    padding: 0 .55rem;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
}

.staging-demo__tab--active {
    background: rgba(255, 255, 255, .12);
    color: rgba(255, 255, 255, .94);
}

.staging-demo__table {
    display: grid;
    margin-top: .85rem;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, .07);
    overflow: hidden;
    background: rgba(255, 255, 255, .02);
}

.staging-demo__table-row {
    display: grid;
    grid-template-columns: minmax(0, .78fr) minmax(0, 1fr);
    border-top: 1px solid rgba(255, 255, 255, .06);
}

.staging-demo__table-row:first-child {
    border-top: 0;
}

.staging-demo__table-row span,
.staging-demo__table-row strong {
    min-width: 0;
    padding: .78rem .82rem;
    font-size: .68rem;
    line-height: 1.35;
}

.staging-demo__table-row span {
    color: #b7d3ff;
    background: rgba(66, 95, 150, .12);
    font-weight: 500;
}

.staging-demo__table-row strong {
    color: rgba(255, 255, 255, .84);
    font-weight: 500;
    overflow-wrap: anywhere;
}

.monitoring-demo {
    display: grid;
    grid-template-columns: 4.4rem 1fr;
    width: 100%;
    height: 100%;
    background: #090b0c;
}

.monitoring-demo__rail {
    display: grid;
    justify-items: center;
    align-content: start;
    gap: 1rem;
    padding-top: 1.15rem;
    border-right: 1px solid rgba(255, 255, 255, .05);
    background: linear-gradient(180deg, rgba(255, 255, 255, .015), rgba(255, 255, 255, 0));
}

.monitoring-demo__rail-dot,
.monitoring-demo__rail-item {
    border-radius: 12px;
    background: rgba(255, 255, 255, .05);
}

.monitoring-demo__rail-dot {
    width: 2rem;
    height: 2rem;
}

.monitoring-demo__rail-item {
    width: 1.65rem;
    height: 1.65rem;
    opacity: .55;
}

.monitoring-demo__rail-item--active {
    background: rgba(255, 255, 255, .12);
}

.monitoring-demo__body {
    padding: 1.2rem 1.35rem 1.35rem;
}

.monitoring-demo__tabs {
    display: flex;
    gap: .8rem;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
    padding-bottom: .8rem;
}

.monitoring-demo__tab {
    color: rgba(255, 255, 255, .44);
    font-size: .72rem;
    font-weight: 500;
}

.monitoring-demo__tab--active {
    color: rgba(255, 255, 255, .92);
}

.monitoring-demo__metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .95rem;
    margin-top: 1.15rem;
}

.monitoring-demo__metric,
.monitoring-demo__panel,
.monitoring-demo__error-card {
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, .06);
    background: rgba(255, 255, 255, .02);
}

.monitoring-demo__metric {
    display: grid;
    gap: .38rem;
    min-height: 6.3rem;
    padding: 1rem 1.05rem;
    opacity: 0;
    transform: translateY(14px);
}

.monitoring-demo__metric-label {
    font-size: .62rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .38);
    font-family: 'SF Mono', 'Fira Code', monospace;
}

.monitoring-demo__metric-value {
    font-size: 2rem;
    line-height: 1;
    color: rgba(255, 255, 255, .95);
    font-weight: 500;
}

.monitoring-demo__metric-subtle {
    color: rgba(255, 255, 255, .42);
    font-size: .68rem;
}

.monitoring-demo__panels {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, .95fr);
    gap: 1rem;
    margin-top: 1rem;
}

.monitoring-demo__panel {
    padding: 1rem 1.05rem;
}

.monitoring-demo__panel-head {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    color: rgba(255, 255, 255, .76);
    font-size: .72rem;
    margin-bottom: .9rem;
}

.monitoring-demo__panel-head span:last-child {
    color: rgba(255, 255, 255, .36);
}

.monitoring-demo__chart {
    width: 100%;
    height: auto;
    display: block;
}

.monitoring-demo__chart-area {
    fill: rgba(var(--accent-rgb), .14);
    opacity: 0;
}

.monitoring-demo__chart-line {
    fill: none;
    stroke: var(--accent);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 420;
    stroke-dashoffset: 420;
}

.monitoring-demo__chart-baseline {
    fill: none;
    stroke: rgba(255, 255, 255, .08);
    stroke-width: 2;
}

.monitoring-demo__panel--errors {
    display: grid;
    align-content: start;
    gap: .85rem;
}

.monitoring-demo__error-card {
    padding: .95rem .9rem;
    opacity: 0;
    transform: translateY(12px);
}

.monitoring-demo__error-copy {
    display: flex;
    justify-content: space-between;
    gap: .75rem;
    color: rgba(255, 255, 255, .82);
    font-size: .7rem;
}

.monitoring-demo__error-copy strong {
    font-weight: 500;
}

.monitoring-demo__error-copy span {
    color: rgba(255, 255, 255, .54);
}

.monitoring-demo__error-bar {
    display: block;
    height: .38rem;
    margin-top: .8rem;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(var(--accent-rgb), .78), rgba(var(--accent-rgb), .24));
    transform: scaleX(0);
    transform-origin: left center;
}

/* ═══════════════════ BENTO FEATURES ═══════════════════ */

/* ── Grid: seamless, shared borders ─── */
.bento {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.bento__card {
    background: linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, .015));
    border-right: 1px solid rgba(255, 255, 255, .05);
    border-bottom: 1px solid rgba(255, 255, 255, .05);
    padding: 1.75rem 1.5rem;
    position: relative;
    overflow: hidden;
    transition: background var(--transition), border-color var(--transition), box-shadow var(--transition), filter 0.4s ease, opacity .35s ease;
    display: flex;
    flex-direction: column;
    filter: grayscale(1);
    opacity: .58;
    --bento-speed: 2.5;
}

/* Remove right border on last column */
.bento__card:nth-child(3n) {
    border-right: none;
}

.bento__card--wide {
    grid-column: span 2;
}

/* Adjust right border for wide cards */
.bento__card--wide:nth-child(3n-1) {
    border-right: none;
}

.bento__card:hover {
    opacity: 1;
    background: var(--bg-card-hover);
    filter: grayscale(0);
    --bento-speed: 1;
}

.bento__card.is-active {
    opacity: 1;
    background: linear-gradient(180deg, rgba(var(--accent-rgb), .08), rgba(var(--accent-rgb), .02));
    border-color: rgba(var(--accent-rgb), .18);
    box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), .08);
    filter: grayscale(0);
    --bento-speed: 1;
}

/* ── Text ─────────────────────────────────── */
.bento__title {
    font-size: .88rem;
    font-weight: 600;
    margin-bottom: .3rem;
    transition: color var(--transition);
}

.bento__card:hover .bento__title,
.bento__card.is-active .bento__title {
    color: #fff;
}

.bento__desc {
    color: var(--text-dim);
    font-size: .78rem;
    line-height: 1.65;
    transition: color var(--transition);
    font-weight: 400;
}

.bento__card:hover .bento__desc,
.bento__card.is-active .bento__desc {
    color: var(--text-muted);
}

/* ── Visual: show static preview, animate on hover ──── */
.bento__visual {
    margin-top: auto;
    padding-top: 1.5rem;
    opacity: .35;
    transition: opacity .4s cubic-bezier(.4, 0, .2, 1);
}

.bento__card:hover .bento__visual,
.bento__card.is-active .bento__visual {
    opacity: 1;
}

/* ── Animation SVGs ─────────────────────── */
.bento__anim {
    width: 100%;
    height: auto;
    max-height: 180px;
    display: block;
}

.bento__anim--lg {
    max-height: 220px;
}

/* ── Hover glow on card edge ────────────── */
.bento__card::after {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity .4s ease;
    pointer-events: none;
}

.bento__card:hover::after,
.bento__card.is-active::after {
    opacity: 1;
}

/* Alternate glow directions — subtle accent */
.bento__card:nth-child(odd)::after {
    background: radial-gradient(ellipse at bottom left, var(--glow-accent), transparent 65%);
}

.bento__card:nth-child(even)::after {
    background: radial-gradient(ellipse at top right, rgba(var(--accent-rgb), .06), transparent 65%);
}

/* ═══ Card 1: Runtime Size — Bar Comparison ═══ */
.bar-compare {
    position: relative;
    z-index: 1;
}

.bar-compare__row {
    display: flex;
    align-items: center;
    gap: .6rem;
    margin-bottom: .5rem;
}

.bar-compare__label {
    font-size: .68rem;
    font-weight: 500;
    width: 52px;
    text-align: right;
    color: var(--text-muted);
    font-family: 'SF Mono', 'Fira Code', monospace;
}

.bar-compare__track {
    flex: 1;
    height: 22px;
    background: rgba(255, 255, 255, .03);
    border-radius: 4px;
    overflow: hidden;
}

.bar-compare__fill {
    height: 100%;
    border-radius: 4px;
    display: flex;
    align-items: center;
    padding: 0 .5rem;
    font-size: .62rem;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
    font-family: 'SF Mono', 'Fira Code', monospace;
    width: 0;
    transition: width 1.2s cubic-bezier(.4, 0, .2, 1);
}

/* Bar styles + preview widths */
.bar-compare__fill--fluxyn {
    background: var(--gradient);
    min-width: 0;
    box-shadow: 0 0 10px var(--glow-accent);
    width: 10%;
    color: #fff;
}

.bar-compare__fill--gtm {
    background: linear-gradient(90deg, #6b6b6b, #333);
    width: 60%;
}

.bar-compare__fill--segment {
    background: linear-gradient(90deg, #6b6b6b, #333);
    width: 45%;
}

/* Animate bar widths on card hover */
[data-feature="runtime"]:hover .bar-compare__fill--fluxyn,
[data-feature="runtime"].is-active .bar-compare__fill--fluxyn {
    width: 14%;
}

[data-feature="runtime"]:hover .bar-compare__fill--gtm,
[data-feature="runtime"].is-active .bar-compare__fill--gtm {
    width: 82%;
}

[data-feature="runtime"]:hover .bar-compare__fill--segment,
[data-feature="runtime"].is-active .bar-compare__fill--segment {
    width: 62%;
}

.bar-compare__hint {
    font-size: .62rem;
    font-family: 'SF Mono', 'Fira Code', monospace;
    color: var(--accent);
    margin-top: .35rem;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity .4s ease .6s, transform .4s ease .6s;
}

[data-feature="runtime"]:hover .bar-compare__hint,
[data-feature="runtime"].is-active .bar-compare__hint {
    opacity: 1;
    transform: translateY(0);
}

/* ═══ Card 2: Cookie Consent — Shield animation ═══ */
.anim-shield {
    opacity: .25;
    transform: translateX(-4px);
    transition: opacity .3s ease, transform .3s ease;
}

[data-feature="consent"]:hover .anim-shield,
[data-feature="consent"].is-active .anim-shield {
    opacity: 1;
    transform: translateX(0);
}

.anim-blocked-x {
    opacity: .2;
    transition: opacity .3s ease .15s;
}

[data-feature="consent"]:hover .anim-blocked-x,
[data-feature="consent"].is-active .anim-blocked-x {
    opacity: .8;
}

.anim-edge--blocked {
    transition: stroke .3s ease;
}

[data-feature="consent"]:hover .anim-edge--blocked,
[data-feature="consent"].is-active .anim-edge--blocked {
    stroke: rgba(var(--accent-rgb), .3);
}

/* ═══ Card 3: Smart Minification — Disabled node ═══ */
.anim-disabled-node {
    transition: opacity .3s ease;
}

.anim-unused-label {
    opacity: .2;
    transition: opacity .3s ease .2s;
}

[data-feature="minify"]:hover .anim-unused-label,
[data-feature="minify"].is-active .anim-unused-label {
    opacity: 1;
}

.anim-flow-dot {
    opacity: .2;
}

[data-feature="minify"]:hover .anim-flow-dot,
[data-feature="minify"].is-active .anim-flow-dot {
    opacity: 1;
}

/* Active nodes glow on hover */
[data-feature="minify"]:hover .anim-node--active,
[data-feature="minify"].is-active .anim-node--active {
    stroke: rgba(var(--accent-rgb), .3);
    transition: stroke .3s ease;
}

/* ═══ Product showcase + workflow card support visuals ═══ */
.product-showcase[data-active-step="build"] .workflow-demo__node--trigger,
.product-showcase[data-active-step="build"] .workflow-demo__node--ga4,
.product-showcase[data-active-step="build"] .workflow-demo__node--linkedin,
.product-showcase[data-active-step="build"] .workflow-demo__node--debug,
.product-showcase[data-active-step="debug"] .workflow-demo__node--trigger,
.product-showcase[data-active-step="debug"] .workflow-demo__node--ga4,
.product-showcase[data-active-step="debug"] .workflow-demo__node--linkedin,
.product-showcase[data-active-step="debug"] .workflow-demo__node--debug,
.product-showcase[data-active-step="custom"] .workflow-demo__node--trigger,
.product-showcase[data-active-step="custom"] .workflow-demo__node--ga4,
.product-showcase[data-active-step="custom"] .workflow-demo__node--debug,
.product-showcase[data-active-step="custom"] .workflow-demo__node--custom {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.product-showcase[data-active-step="build"] .workflow-demo__path,
.product-showcase[data-active-step="debug"] .workflow-demo__path,
.product-showcase[data-active-step="custom"] .workflow-demo__path {
    stroke-dashoffset: 0;
    stroke: rgba(255, 255, 255, .56);
}

.product-showcase[data-active-step="build"] .showcase-screen__stage--workflow,
.product-showcase[data-active-step="debug"] .showcase-screen__stage--workflow,
.product-showcase[data-active-step="custom"] .showcase-screen__stage--workflow {
    opacity: 1;
    transform: translateX(0) scale(1);
}

.product-showcase[data-active-step="build"] .showcase-screen__stage--staging,
.product-showcase[data-active-step="debug"] .showcase-screen__stage--staging,
.product-showcase[data-active-step="custom"] .showcase-screen__stage--staging,
.product-showcase[data-active-step="build"] .showcase-screen__stage--monitoring,
.product-showcase[data-active-step="debug"] .showcase-screen__stage--monitoring,
.product-showcase[data-active-step="custom"] .showcase-screen__stage--monitoring {
    opacity: 0;
    transform: translateX(24px) scale(1.02);
}

.product-showcase[data-active-step="custom"] .workflow-demo__node--linkedin {
    opacity: 0;
    transform: translateY(10px) scale(.965);
}

.product-showcase[data-active-step="custom"] .workflow-demo__sidebar-item:first-child {
    border: 1px solid rgba(167, 139, 250, .3);
    background: rgba(167, 139, 250, .08);
}

.product-showcase[data-active-step="debug"] .workflow-demo__node--debug {
    opacity: .34;
    transform: translateY(0) scale(.98);
}

.product-showcase[data-active-step="debug"] .workflow-demo__header-button {
    opacity: 1;
    transform: translateY(0);
    border-color: rgba(var(--accent-rgb), .2);
    background: rgba(var(--accent-rgb), .08);
    color: rgba(255, 255, 255, .9);
    box-shadow: 0 0 0 1px rgba(var(--accent-rgb), .12), 0 10px 24px rgba(0, 0, 0, .2);
}

.product-showcase[data-active-step="debug"] .workflow-demo__debug-panel {
    opacity: 1;
    transform: translateX(0);
}

.product-showcase[data-active-step="custom"] .workflow-demo__node--custom {
    border-color: rgba(167, 139, 250, .25);
    box-shadow: 0 0 0 1px rgba(167, 139, 250, .16), 0 18px 32px rgba(0, 0, 0, .22);
}

.product-showcase[data-active-step="staging"] .showcase-screen__stage--workflow {
    opacity: 0;
    transform: translateX(-24px) scale(.985);
}

.product-showcase[data-active-step="staging"] .showcase-screen__stage--staging {
    opacity: 1;
    transform: translateX(0) scale(1);
}

.product-showcase[data-active-step="staging"] .showcase-screen__stage--monitoring {
    opacity: 0;
    transform: translateX(24px) scale(1.02);
}

.product-showcase[data-active-step="staging"] .staging-demo__tree-row--selected,
.product-showcase[data-active-step="staging"] .staging-demo__detail {
    opacity: 1;
    transform: translateY(0);
}

.product-showcase[data-active-step="monitor"] .showcase-screen__stage--workflow {
    opacity: 0;
    transform: translateX(-24px) scale(.985);
}

.product-showcase[data-active-step="monitor"] .showcase-screen__stage--staging {
    opacity: 0;
    transform: translateX(-24px) scale(.985);
}

.product-showcase[data-active-step="monitor"] .showcase-screen__stage--monitoring {
    opacity: 1;
    transform: translateX(0) scale(1);
}

.product-showcase[data-active-step="monitor"] .monitoring-demo__metric,
.product-showcase[data-active-step="monitor"] .monitoring-demo__error-card {
    opacity: 1;
    transform: translateY(0);
}

.product-showcase[data-active-step="monitor"] .monitoring-demo__chart-area {
    opacity: 1;
}

.product-showcase[data-active-step="monitor"] .monitoring-demo__chart-line {
    stroke-dashoffset: 0;
}

.product-showcase[data-active-step="monitor"] .monitoring-demo__error-bar {
    transform: scaleX(1);
}

.product-showcase.is-active[data-active-step="build"] .workflow-demo__node--trigger {
    animation: workflowNodeIn .4s cubic-bezier(.22, 1, .36, 1) .05s both;
}

.product-showcase.is-active[data-active-step="build"] .workflow-demo__node--ga4 {
    animation: workflowNodeIn .42s cubic-bezier(.22, 1, .36, 1) .72s both;
}

.product-showcase.is-active[data-active-step="build"] .workflow-demo__node--linkedin {
    animation: workflowNodeIn .42s cubic-bezier(.22, 1, .36, 1) .86s both;
}

.product-showcase.is-active[data-active-step="build"] .workflow-demo__node--debug {
    animation: workflowNodeIn .38s cubic-bezier(.22, 1, .36, 1) 1.48s both;
}

.product-showcase.is-active[data-active-step="build"] .workflow-demo__ghost {
    animation: workflowGhostDrag 1.05s cubic-bezier(.22, 1, .36, 1) .9s both;
}

.product-showcase.is-active[data-active-step="build"] .workflow-demo__path--branch-top {
    animation: workflowPathDraw .38s ease .56s both;
}

.product-showcase.is-active[data-active-step="build"] .workflow-demo__path--branch-bottom {
    animation: workflowPathDraw .38s ease .7s both;
}

.product-showcase.is-active[data-active-step="build"] .workflow-demo__path--merge-top {
    animation: workflowPathDraw .38s ease 1.36s both;
}

.product-showcase.is-active[data-active-step="build"] .workflow-demo__path--merge-bottom {
    animation: workflowPathDraw .38s ease 1.48s both;
}

.product-showcase.is-active[data-active-step="build"] .workflow-demo__pulse--top {
    animation: workflowPulseTop 1.05s linear 1.72s both;
}

.product-showcase.is-active[data-active-step="build"] .workflow-demo__pulse--bottom {
    animation: workflowPulseBottom 1.05s linear 1.98s both;
}

.product-showcase.is-active[data-active-step="debug"] .workflow-demo__pulse--debug {
    animation: workflowDebugPulse 1.1s ease-in-out .38s infinite;
    opacity: 1;
}

.product-showcase.is-active[data-active-step="debug"] .workflow-demo__header-button {
    animation: workflowButtonIn .28s ease both;
}

.product-showcase.is-active[data-active-step="debug"] .workflow-demo__debug-panel {
    animation: workflowDrawerIn .34s cubic-bezier(.22, 1, .36, 1) .08s both;
}

.product-showcase.is-active[data-active-step="debug"] .workflow-demo__pulse--top {
    animation: workflowPulseTop 1s linear .46s both;
}

.product-showcase.is-active[data-active-step="custom"] .workflow-demo__node--custom {
    animation: workflowNodeIn .4s cubic-bezier(.22, 1, .36, 1) .06s both;
}

.product-showcase.is-active[data-active-step="custom"] .workflow-demo__pulse--bottom {
    animation: workflowPulseBottom 1.05s linear .35s both;
}

.product-showcase.is-active[data-active-step="staging"] .staging-demo__tree-row--selected {
    animation: stagingSelectedIn .32s ease .08s both;
}

.product-showcase.is-active[data-active-step="staging"] .staging-demo__detail {
    animation: stagingDetailIn .38s cubic-bezier(.22, 1, .36, 1) .14s both;
}

.product-showcase.is-active[data-active-step="monitor"] .monitoring-demo__metric:nth-child(1) {
    animation: monitoringMetricIn .32s ease .05s both;
}

.product-showcase.is-active[data-active-step="monitor"] .monitoring-demo__metric:nth-child(2) {
    animation: monitoringMetricIn .32s ease .14s both;
}

.product-showcase.is-active[data-active-step="monitor"] .monitoring-demo__metric:nth-child(3) {
    animation: monitoringMetricIn .32s ease .22s both;
}

.product-showcase.is-active[data-active-step="monitor"] .monitoring-demo__chart-area {
    animation: monitoringAreaIn .35s ease .25s both;
}

.product-showcase.is-active[data-active-step="monitor"] .monitoring-demo__chart-line {
    animation: monitoringLineIn .75s cubic-bezier(.22, 1, .36, 1) .22s both;
}

.product-showcase.is-active[data-active-step="monitor"] .monitoring-demo__error-card:nth-of-type(1) {
    animation: monitoringMetricIn .3s ease .48s both;
}

.product-showcase.is-active[data-active-step="monitor"] .monitoring-demo__error-card:nth-of-type(2) {
    animation: monitoringMetricIn .3s ease .58s both;
}

.product-showcase.is-active[data-active-step="monitor"] .monitoring-demo__error-card:nth-of-type(1) .monitoring-demo__error-bar,
.product-showcase.is-active[data-active-step="monitor"] .monitoring-demo__error-card:nth-of-type(2) .monitoring-demo__error-bar {
    animation: monitoringBarIn .32s ease .6s both;
}

@keyframes stagingSelectedIn {
    from {
        opacity: .2;
        transform: translateY(6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes stagingDetailIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.workflow-mini__node {
    fill: rgba(17, 21, 20, .92);
    stroke: rgba(255, 255, 255, .08);
    stroke-width: 1.5;
    transform-box: fill-box;
    transform-origin: center;
}

.workflow-mini__node--debug {
    fill: rgba(21, 22, 24, .95);
}

.workflow-mini__link {
    fill: none;
    stroke: rgba(255, 255, 255, .14);
    stroke-width: 2.5;
    stroke-linecap: round;
}

.workflow-mini__label {
    fill: rgba(255, 255, 255, .62);
    font-size: 12px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
}

[data-feature="workflow"]:hover .workflow-mini__link,
[data-feature="workflow"].is-active .workflow-mini__link {
    stroke: rgba(255, 255, 255, .32);
}

[data-feature="workflow"]:hover .workflow-mini__node,
[data-feature="workflow"].is-active .workflow-mini__node {
    stroke: rgba(var(--accent-rgb), .18);
}

[data-feature="workflow"]:hover .workflow-mini__node--trigger,
[data-feature="workflow"].is-active .workflow-mini__node--trigger {
    animation: workflowMiniTriggerNode 6.4s ease-in-out infinite;
}

[data-feature="workflow"]:hover .workflow-mini__node--ga4,
[data-feature="workflow"].is-active .workflow-mini__node--ga4 {
    animation: workflowMiniGa4Node 6.4s ease-in-out infinite;
}

[data-feature="workflow"]:hover .workflow-mini__node--custom,
[data-feature="workflow"].is-active .workflow-mini__node--custom {
    animation: workflowMiniCustomNode 6.4s ease-in-out infinite;
}

[data-feature="workflow"]:hover .workflow-mini__node--debug,
[data-feature="workflow"].is-active .workflow-mini__node--debug {
    animation: workflowMiniDebugNode 6.4s ease-in-out infinite;
}

[data-feature="workflow"]:hover .workflow-mini__label--trigger,
[data-feature="workflow"].is-active .workflow-mini__label--trigger {
    animation: workflowMiniTriggerLabel 6.4s ease-in-out infinite;
}

[data-feature="workflow"]:hover .workflow-mini__label--ga4,
[data-feature="workflow"].is-active .workflow-mini__label--ga4 {
    animation: workflowMiniGa4Label 6.4s ease-in-out infinite;
}

[data-feature="workflow"]:hover .workflow-mini__label--custom,
[data-feature="workflow"].is-active .workflow-mini__label--custom {
    animation: workflowMiniCustomLabel 6.4s ease-in-out infinite;
}

[data-feature="workflow"]:hover .workflow-mini__label--debug,
[data-feature="workflow"].is-active .workflow-mini__label--debug {
    animation: workflowMiniDebugLabel 6.4s ease-in-out infinite;
}

[data-feature="workflow"]:hover .workflow-mini__link--top-in,
[data-feature="workflow"].is-active .workflow-mini__link--top-in {
    animation: workflowMiniTopIn 6.4s ease-in-out infinite;
}

[data-feature="workflow"]:hover .workflow-mini__link--top-out,
[data-feature="workflow"].is-active .workflow-mini__link--top-out {
    animation: workflowMiniTopOut 6.4s ease-in-out infinite;
}

[data-feature="workflow"]:hover .workflow-mini__link--bottom-in,
[data-feature="workflow"].is-active .workflow-mini__link--bottom-in {
    animation: workflowMiniBottomIn 6.4s ease-in-out infinite;
}

[data-feature="workflow"]:hover .workflow-mini__link--bottom-out,
[data-feature="workflow"].is-active .workflow-mini__link--bottom-out {
    animation: workflowMiniBottomOut 6.4s ease-in-out infinite;
}

@keyframes workflowNodeIn {
    0% {
        opacity: 0;
        transform: translateY(12px) scale(.965);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes workflowPathDraw {
    0% {
        stroke-dashoffset: 280;
        stroke: rgba(255, 255, 255, .14);
    }

    100% {
        stroke-dashoffset: 0;
        stroke: rgba(255, 255, 255, .58);
    }
}

@keyframes workflowGhostDrag {
    0% {
        left: 9%;
        top: 57%;
        opacity: 0;
        transform: scale(.95);
    }

    12% {
        opacity: 1;
        transform: scale(1);
    }

    72% {
        left: 74%;
        top: 34%;
        opacity: 1;
        transform: scale(1);
    }

    100% {
        left: 74%;
        top: 34%;
        opacity: 0;
        transform: scale(.98);
    }
}

@keyframes workflowPulseTop {
    0% {
        opacity: 0;
        left: 32%;
        top: 40%;
        transform: scale(.8);
    }

    10% {
        opacity: 1;
    }

    45% {
        opacity: 1;
        left: 56%;
        top: 23%;
        transform: scale(1);
    }

    100% {
        opacity: 0;
        left: 84%;
        top: 39%;
        transform: scale(.82);
    }
}

@keyframes workflowPulseBottom {
    0% {
        opacity: 0;
        left: 32%;
        top: 40%;
        transform: scale(.8);
    }

    10% {
        opacity: 1;
    }

    45% {
        opacity: 1;
        left: 56%;
        top: 56%;
        transform: scale(1);
    }

    100% {
        opacity: 0;
        left: 84%;
        top: 43%;
        transform: scale(.82);
    }
}

@keyframes workflowDebugPulse {

    0%,
    100% {
        left: 84%;
        top: 39%;
        transform: scale(.92);
        box-shadow: 0 0 0 .12rem rgba(154, 162, 177, .1), 0 0 .8rem rgba(154, 162, 177, .24);
    }

    50% {
        left: 84%;
        top: 39%;
        transform: scale(1.18);
        box-shadow: 0 0 0 .3rem rgba(154, 162, 177, .12), 0 0 1rem rgba(154, 162, 177, .36);
    }
}

@keyframes workflowButtonIn {
    from {
        opacity: .22;
        transform: translateY(2px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes workflowDrawerIn {
    from {
        opacity: 0;
        transform: translateX(16px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes monitoringMetricIn {
    from {
        opacity: 0;
        transform: translateY(14px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes monitoringAreaIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes monitoringLineIn {
    from {
        stroke-dashoffset: 420;
    }

    to {
        stroke-dashoffset: 0;
    }
}

@keyframes monitoringBarIn {
    from {
        transform: scaleX(0);
    }

    to {
        transform: scaleX(1);
    }
}

@keyframes workflowMiniTriggerNode {

    0%,
    14%,
    48%,
    62% {
        fill: rgba(27, 32, 41, .98);
        stroke: rgba(var(--accent-rgb), .72);
        transform: translateY(-1px) scale(1.04);
        filter: drop-shadow(0 0 10px rgba(var(--accent-rgb), .22));
    }

    20%,
    44%,
    68%,
    100% {
        fill: rgba(17, 21, 20, .92);
        stroke: rgba(255, 255, 255, .08);
        transform: translateY(0) scale(1);
        filter: none;
    }
}

@keyframes workflowMiniGa4Node {

    0%,
    15%,
    31%,
    100% {
        fill: rgba(17, 21, 20, .92);
        stroke: rgba(255, 255, 255, .08);
        transform: translateY(0) scale(1);
        filter: none;
    }

    18%,
    28% {
        fill: rgba(27, 32, 41, .98);
        stroke: rgba(var(--accent-rgb), .72);
        transform: translateY(-1px) scale(1.04);
        filter: drop-shadow(0 0 10px rgba(var(--accent-rgb), .22));
    }
}

@keyframes workflowMiniCustomNode {

    0%,
    63%,
    79%,
    100% {
        fill: rgba(17, 21, 20, .92);
        stroke: rgba(255, 255, 255, .08);
        transform: translateY(0) scale(1);
        filter: none;
    }

    66%,
    76% {
        fill: rgba(27, 32, 41, .98);
        stroke: rgba(var(--accent-rgb), .72);
        transform: translateY(-1px) scale(1.04);
        filter: drop-shadow(0 0 10px rgba(var(--accent-rgb), .22));
    }
}

@keyframes workflowMiniDebugNode {

    0%,
    29%,
    45%,
    79%,
    95%,
    100% {
        fill: rgba(21, 22, 24, .95);
        stroke: rgba(255, 255, 255, .08);
        transform: translateY(0) scale(1);
        filter: none;
    }

    33%,
    42%,
    83%,
    92% {
        fill: rgba(27, 32, 41, .98);
        stroke: rgba(var(--accent-rgb), .72);
        transform: translateY(-1px) scale(1.04);
        filter: drop-shadow(0 0 10px rgba(var(--accent-rgb), .22));
    }
}

@keyframes workflowMiniTriggerLabel {

    0%,
    14%,
    48%,
    62% {
        fill: rgba(255, 255, 255, .96);
    }

    20%,
    44%,
    68%,
    100% {
        fill: rgba(255, 255, 255, .62);
    }
}

@keyframes workflowMiniGa4Label {

    0%,
    15%,
    31%,
    100% {
        fill: rgba(255, 255, 255, .62);
    }

    18%,
    28% {
        fill: rgba(255, 255, 255, .96);
    }
}

@keyframes workflowMiniCustomLabel {

    0%,
    63%,
    79%,
    100% {
        fill: rgba(255, 255, 255, .62);
    }

    66%,
    76% {
        fill: rgba(255, 255, 255, .96);
    }
}

@keyframes workflowMiniDebugLabel {

    0%,
    29%,
    45%,
    79%,
    95%,
    100% {
        fill: rgba(255, 255, 255, .62);
    }

    33%,
    42%,
    83%,
    92% {
        fill: rgba(255, 255, 255, .96);
    }
}

@keyframes workflowMiniTopIn {

    0%,
    11% {
        stroke: rgba(255, 255, 255, .14);
    }

    12%,
    28% {
        stroke: rgba(var(--accent-rgb), .6);
    }

    34%,
    100% {
        stroke: rgba(255, 255, 255, .14);
    }
}

@keyframes workflowMiniTopOut {

    0%,
    20% {
        stroke: rgba(255, 255, 255, .14);
    }

    22%,
    42% {
        stroke: rgba(var(--accent-rgb), .6);
    }

    48%,
    100% {
        stroke: rgba(255, 255, 255, .14);
    }
}

@keyframes workflowMiniBottomIn {

    0%,
    59% {
        stroke: rgba(255, 255, 255, .14);
    }

    60%,
    76% {
        stroke: rgba(var(--accent-rgb), .6);
    }

    82%,
    100% {
        stroke: rgba(255, 255, 255, .14);
    }
}

@keyframes workflowMiniBottomOut {

    0%,
    70% {
        stroke: rgba(255, 255, 255, .14);
    }

    72%,
    92% {
        stroke: rgba(var(--accent-rgb), .6);
    }

    98%,
    100% {
        stroke: rgba(255, 255, 255, .14);
    }
}

/* ═══ Card 5: Versioning — Stack animation ═══ */
.anim-ver-old {
    opacity: .2;
    transform: translate(-4px, -3px);
    transition: opacity .3s ease, transform .3s ease;
}

[data-feature="versioning"]:hover .anim-ver-old,
[data-feature="versioning"].is-active .anim-ver-old {
    opacity: .5;
    transform: translate(-4px, 0);
}

.anim-ver-new {
    opacity: .25;
    transform: translate(4px, 3px);
    transition: opacity .35s ease .1s, transform .35s ease .1s;
}

[data-feature="versioning"]:hover .anim-ver-new,
[data-feature="versioning"].is-active .anim-ver-new {
    opacity: 1;
    transform: translate(0, 0);
}

/* ═══ Card 6: Client + Server — Dual lanes ═══ */
.anim-dual-dot {
    opacity: .2;
}

[data-feature="dual"]:hover .anim-dual-dot,
[data-feature="dual"].is-active .anim-dual-dot {
    opacity: 1;
    transition: opacity .2s ease .15s;
}

.anim-dual-link {
    opacity: .2;
    transition: opacity .3s ease .2s;
}

[data-feature="dual"]:hover .anim-dual-link,
[data-feature="dual"].is-active .anim-dual-link {
    opacity: .5;
}

.anim-lane-label {
    transition: fill .3s ease;
}

[data-feature="dual"]:hover .anim-lane-label,
[data-feature="dual"].is-active .anim-lane-label {
    fill: var(--text-muted);
}

/* ═══ Card 7: Organization — Folder expand ═══ */
.anim-org-items {
    opacity: .25;
    transform: translateY(4px);
    transition: opacity .35s ease, transform .35s ease;
}

[data-feature="org"]:hover .anim-org-items,
[data-feature="org"].is-active .anim-org-items {
    opacity: 1;
    transform: translateY(0);
}

.anim-org-item--1 {
    transition: opacity .25s ease .1s, transform .25s ease .1s;
}

.anim-org-item--2 {
    transition: opacity .25s ease .2s, transform .25s ease .2s;
}

/* ═══ Card 8: Vendors — Pill stagger ═══ */
.vendor-pills {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    position: relative;
    z-index: 1;
}

.vendor-pill {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-size: .7rem;
    font-weight: 500;
    font-family: 'SF Mono', 'Fira Code', monospace;
    color: var(--text-muted);
    background: rgba(255, 255, 255, .03);
    border: 1px solid var(--border);
    border-radius: 50px;
    padding: .3rem .7rem;
    opacity: .3;
    transform: translateY(3px) scale(.97);
    transition: opacity .25s ease, transform .25s ease, border-color .3s ease, box-shadow .3s ease;
}

[data-feature="vendors"]:hover .vendor-pill,
[data-feature="vendors"].is-active .vendor-pill {
    opacity: 1;
    transform: translateY(0) scale(1);
}

[data-feature="vendors"]:hover .vendor-pill--1,
[data-feature="vendors"].is-active .vendor-pill--1 {
    transition-delay: 0s;
}

[data-feature="vendors"]:hover .vendor-pill--2,
[data-feature="vendors"].is-active .vendor-pill--2 {
    transition-delay: .04s;
}

[data-feature="vendors"]:hover .vendor-pill--3,
[data-feature="vendors"].is-active .vendor-pill--3 {
    transition-delay: .08s;
}

[data-feature="vendors"]:hover .vendor-pill--4,
[data-feature="vendors"].is-active .vendor-pill--4 {
    transition-delay: .12s;
}

[data-feature="vendors"]:hover .vendor-pill--5,
[data-feature="vendors"].is-active .vendor-pill--5 {
    transition-delay: .16s;
}

[data-feature="vendors"]:hover .vendor-pill--6,
[data-feature="vendors"].is-active .vendor-pill--6 {
    transition-delay: .20s;
}

[data-feature="vendors"]:hover .vendor-pill--7,
[data-feature="vendors"].is-active .vendor-pill--7 {
    transition-delay: .24s;
}

[data-feature="vendors"]:hover .vendor-pill--8,
[data-feature="vendors"].is-active .vendor-pill--8 {
    transition-delay: .28s;
}

[data-feature="vendors"]:hover .vendor-pill--9,
[data-feature="vendors"].is-active .vendor-pill--9 {
    transition-delay: .32s;
}

.vendor-pill:hover {
    border-color: var(--accent);
    box-shadow: 0 0 8px var(--glow-accent);
}

.vendor-pill__dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
}

/* ═══ Card 9: And Much More — Staggered grid ═══ */
.anim-more-item {
    opacity: .25;
    transform: scale(.92);
    transition: opacity .25s ease, transform .25s ease;
}

[data-feature="more"]:hover .anim-more-item,
[data-feature="more"].is-active .anim-more-item {
    opacity: 1;
    transform: scale(1);
}

[data-feature="more"]:hover .anim-more-item--1,
[data-feature="more"].is-active .anim-more-item--1 {
    transition-delay: 0s;
}

[data-feature="more"]:hover .anim-more-item--2,
[data-feature="more"].is-active .anim-more-item--2 {
    transition-delay: .06s;
}

[data-feature="more"]:hover .anim-more-item--3,
[data-feature="more"].is-active .anim-more-item--3 {
    transition-delay: .12s;
}

[data-feature="more"]:hover .anim-more-item--4,
[data-feature="more"].is-active .anim-more-item--4 {
    transition-delay: .18s;
}

.anim-more-plus {
    opacity: 0;
    transition: opacity .3s ease .25s;
}

[data-feature="more"]:hover .anim-more-plus,
[data-feature="more"].is-active .anim-more-plus {
    opacity: 1;
}

/* ═══ Responsive bento ═══ */
@media (max-width: 1024px) {
    .product-showcase__walkthrough {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .product-showcase__points {
        max-width: 44rem;
        margin: 0 auto;
        gap: 1.7rem;
    }

    .showcase-screen {
        position: relative;
        top: auto;
        max-width: 56rem;
        margin: 0 auto;
    }

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

    .bento__card:nth-child(3n) {
        border-right: 1px solid var(--border);
    }

    .bento__card:nth-child(2n) {
        border-right: none;
    }

    .bento__card--wide {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .product-showcase__visual {
        order: -1;
    }

    .product-showcase__point {
        padding: .9rem .95rem;
    }

    .product-showcase__title,
    .product-showcase__subtitle {
        max-width: none;
    }

    .showcase-screen {
        aspect-ratio: auto;
        min-height: 34rem;
        border-radius: 22px;
    }

    .workflow-demo__chrome {
        height: 3rem;
        padding: 0 1rem;
    }

    .workflow-demo__header-line {
        width: 5.5rem;
    }

    .workflow-demo__header-actions {
        min-width: 7.25rem;
    }

    .workflow-demo__header-button {
        height: 1.7rem;
        padding: 0 .72rem;
        font-size: .64rem;
    }

    .workflow-demo__body {
        grid-template-columns: 34% 1fr;
        height: 100%;
    }

    .workflow-demo__sidebar {
        padding: .8rem .65rem;
    }

    .workflow-demo__sidebar-item {
        font-size: .64rem;
    }

    .workflow-demo__node {
        padding: .7rem .72rem;
        gap: .45rem;
    }

    .workflow-demo__node-copy strong {
        font-size: .72rem;
    }

    .workflow-demo__node-copy span {
        font-size: .58rem;
    }

    .workflow-demo__node--trigger {
        width: 32%;
    }

    .workflow-demo__node--ga4,
    .workflow-demo__node--linkedin {
        width: 23%;
    }

    .workflow-demo__node--custom {
        width: 33%;
    }

    .workflow-demo__node--debug {
        width: 22%;
    }

    .workflow-demo__debug-panel {
        width: 35%;
        padding: .8rem;
    }

    .staging-demo__body {
        grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
    }

    .staging-demo__runs {
        padding: .8rem .62rem .8rem .78rem;
    }

    .staging-demo__detail {
        padding: .88rem;
    }

    .monitoring-demo {
        grid-template-columns: 3.3rem 1fr;
    }

    .monitoring-demo__body {
        padding: 1rem;
    }

    .monitoring-demo__metrics,
    .monitoring-demo__panels {
        grid-template-columns: 1fr;
    }

    .bento {
        grid-template-columns: 1fr;
    }

    .bento__card {
        border-right: none !important;
    }

    .bento__card--wide {
        grid-column: span 1;
    }

    /* Show animations by default on mobile since no hover */
    .bento__visual {
        opacity: 1;
    }

    .anim-shield,
    .anim-blocked-x {
        opacity: .8;
        transform: translateX(0);
    }

    .anim-wf-node {
        opacity: 1;
        transform: translateY(0);
    }

    .anim-wf-edge {
        stroke-dashoffset: 0;
    }

    .anim-wf-dot,
    .anim-flow-dot,
    .anim-dual-dot {
        opacity: 1;
    }

    .anim-ver-old {
        opacity: .5;
        transform: translate(-4px, 0);
    }

    .anim-ver-new {
        opacity: 1;
        transform: translate(0, 0);
    }

    .anim-org-items {
        opacity: 1;
        transform: translateY(0);
    }

    .vendor-pill {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

    .bar-compare__fill--fluxyn {
        width: 8% !important;
    }

    .bar-compare__fill--gtm {
        width: 82% !important;
    }

    .bar-compare__fill--segment {
        width: 62% !important;
    }

    .bar-compare__hint {
        opacity: 1;
        transform: translateY(0);
    }

    .anim-dual-link {
        opacity: .5;
    }

    .anim-more-item {
        opacity: 1;
        transform: scale(1);
    }

    .anim-more-plus {
        opacity: 1;
    }
}

/* ═══════════════════ STATS ═══════════════════ */
.stats {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.stats::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 180px;
    background: radial-gradient(ellipse at center, var(--glow-accent), transparent 70%);
    pointer-events: none;
    opacity: .3;
}

.stats__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.stat {
    display: grid;
    justify-items: center;
}

.stat__number {
    font-size: clamp(2.4rem, 4.5vw, 3.2rem);
    font-weight: 700;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -.02em;
}

.stat__unit {
    font-size: clamp(1rem, 1.8vw, 1.3rem);
    font-weight: 600;
    color: var(--text-dim);
}

.stat__label {
    color: var(--text-muted);
    font-size: .78rem;
    margin-top: .35rem;
}

.stat__meta {
    margin-top: .22rem;
    color: var(--text-dim);
    font-size: .66rem;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.compare-table {
    overflow-x: auto;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--bg-card);
    filter: grayscale(1);
    transition: filter 0.4s ease, border-color var(--transition), box-shadow var(--transition);
}

.compare-table:hover {
    filter: grayscale(0);
    border-color: var(--border-hover);
    box-shadow: inset 0 0 80px rgba(var(--accent-rgb), 0.03);
}

.compare-table table {
    width: 100%;
    border-collapse: collapse;
    font-size: .85rem;
}

.compare-table th,
.compare-table td {
    padding: 1rem 1.35rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.compare-table thead th {
    font-weight: 600;
    font-size: .7rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--text-dim);
    background: rgba(var(--accent-rgb), .02);
    font-family: 'SF Mono', 'Fira Code', monospace;
}

.compare-table__fluxyn {
    color: var(--accent) !important;
    font-weight: 600;
}

.compare-table tbody tr:last-child td {
    border-bottom: none;
}

.compare-table tbody tr {
    transition: background var(--transition);
}

.compare-table tbody tr:hover {
    background: rgba(var(--accent-rgb), .03);
}

.compare-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
    margin-top: 2.5rem;
}

.compare-link-card,
.page-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius);
    padding: 1.5rem;
    transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.compare-link-card:hover,
.page-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, .2);
}

.compare-link-card__eyebrow,
.page-hero__eyebrow,
.page-note__label {
    font-size: .68rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--accent);
    font-family: 'SF Mono', 'Fira Code', monospace;
}

.compare-link-card__title,
.page-card__title {
    font-size: 1.15rem;
    font-weight: 600;
    line-height: 1.3;
    margin: .9rem 0 .65rem;
}

.compare-link-card__copy,
.page-card__copy,
.page-list li,
.page-note__copy {
    color: var(--text-muted);
    font-size: .94rem;
    line-height: 1.75;
}

.compare-link-card__cta {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    margin-top: 1.1rem;
    color: var(--accent);
    font-size: .85rem;
    font-weight: 600;
}

.page-hero {
    padding: 9rem 0 3rem;
    position: relative;
}

.page-hero__title {
    font-size: clamp(2rem, 5vw, 3.8rem);
    line-height: 1.05;
    letter-spacing: -.04em;
    max-width: 12ch;
    margin: 1rem 0 1.25rem;
}

.page-hero__subtitle {
    max-width: 48rem;
    color: var(--text-muted);
    font-size: 1.02rem;
    line-height: 1.85;
}

.page-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .9rem;
    margin-top: 1.8rem;
}

.page-section {
    padding: 2.75rem 0;
}

.page-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

.page-grid--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.page-list {
    display: grid;
    gap: .85rem;
    margin-top: 1rem;
}

.page-list li {
    position: relative;
    padding-left: 1.1rem;
}

.page-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: .72rem;
    width: .38rem;
    height: .38rem;
    border-radius: 999px;
    background: var(--accent);
}

.page-note {
    margin-top: 2rem;
    padding: 1.15rem 1.25rem;
    border-radius: var(--radius);
    border: 1px solid var(--border-subtle);
    background: linear-gradient(180deg, rgba(var(--accent-rgb), .06), rgba(var(--accent-rgb), .02));
}

.page-note__copy {
    margin-top: .55rem;
}



/* ═══════════════════ FAQ ═══════════════════ */
.faq__list {
    max-width: 700px;
    margin: 0 auto;
}

.faq__item {
    border-bottom: 1px solid var(--border);
}

.faq__question {
    font-size: .95rem;
    font-weight: 500;
    padding: 1.25rem 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    list-style: none;
    color: var(--text);
    transition: color var(--transition);
}

.faq__question:hover {
    color: var(--accent);
}

.faq__question::after {
    content: '+';
    font-size: 1.3rem;
    font-weight: 300;
    color: var(--text-dim);
    transition: transform var(--transition), color var(--transition);
}

details[open] .faq__question::after {
    content: '−';
    color: var(--accent);
}

.faq__question::-webkit-details-marker {
    display: none;
}

.faq__answer {
    padding-bottom: 1.25rem;
    color: var(--text-muted);
    font-size: .85rem;
    line-height: 1.75;
    animation: fadeSlideIn .4s ease;
}

/* ═══════════════════ CTA BANNER ═══════════════════ */
.cta-banner {
    position: relative;
    padding: var(--section-py) 0;
    overflow: hidden;
}

.cta-banner__glow {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 45% 60% at 50% 50%, var(--glow-accent) 0%, transparent 60%),
        radial-gradient(ellipse 25% 40% at 30% 60%, rgba(var(--accent-rgb), .05) 0%, transparent 60%);
    pointer-events: none;
    animation: ctaGlowPulse 6s ease-in-out infinite;
}

@keyframes ctaGlowPulse {

    0%,
    100% {
        opacity: .6;
    }

    50% {
        opacity: .9;
    }
}

.cta-banner__content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.cta-banner__title {
    font-size: clamp(1.8rem, 3.8vw, 2.6rem);
    font-weight: 700;
    margin-bottom: .75rem;
    letter-spacing: -.025em;
}

.cta-banner__desc {
    color: var(--text-muted);
    font-size: clamp(.85rem, 1.1vw, .95rem);
    margin-bottom: 2.25rem;
}

.cta-banner__actions {
    display: flex;
    gap: .75rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ═══════════════════ FOOTER ═══════════════════ */
.footer {
    border-top: 1px solid var(--border);
    padding: 4rem 0 2rem;
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2.5rem;
}

.footer__tagline {
    color: var(--text-muted);
    font-size: .82rem;
    margin-top: .65rem;
    max-width: 260px;
}

.footer__col h4 {
    font-size: .68rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-bottom: .85rem;
    font-family: 'SF Mono', 'Fira Code', monospace;
}

.footer__col a {
    display: block;
    font-size: .82rem;
    color: var(--text-muted);
    padding: .3rem 0;
    transition: color var(--transition);
}

.footer__col a:hover {
    color: var(--text);
}

.footer__bottom {
    border-top: 1px solid var(--border);
    padding-top: 1.25rem;
    text-align: center;
    color: var(--text-dim);
    font-size: .72rem;
}

/* ═══════════════════ REVEAL ANIMATION ═══════════════════ */
.reveal {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity .7s cubic-bezier(.22, 1, .36, 1), transform .7s cubic-bezier(.22, 1, .36, 1);
}

.reveal--visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeSlideIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ═══════════════════ RESPONSIVE ═══════════════════ */
@media (max-width: 1024px) {
    .pricing__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing__card--featured {
        transform: scale(1);
    }

    .pricing__card--featured:hover {
        transform: translateY(-3px);
    }

    .stats__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem 1rem;
    }

    .footer__grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {

    .nav__links,
    .nav__cta {
        display: none;
    }

    .nav__burger {
        display: flex;
    }

    .nav__links--open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(8, 11, 10, .95);
        backdrop-filter: blur(20px);
        padding: 1.5rem var(--container-px);
        gap: 1rem;
        border-bottom: 1px solid var(--border);
    }

    .steps {
        grid-template-columns: 1fr;
    }

    .pricing__grid {
        grid-template-columns: 1fr;
        max-width: 380px;
        margin: 0 auto;
    }

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

    .compare-table {
        font-size: .78rem;
    }

    .compare-links,
    .page-grid,
    .page-grid--two {
        grid-template-columns: 1fr;
    }

    .footer__grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero__wrapper {
        flex-direction: column;
        text-align: center;
    }

    .hero__content {
        text-align: center;
        flex: none;
        max-width: 540px;
    }

    .hero__subtitle {
        margin: 0 auto 1.5rem;
    }

    .hero__actions {
        justify-content: center;
    }

    .page-hero {
        padding-top: 7.5rem;
    }

    .page-hero__title {
        max-width: none;
    }

    .page-hero__actions {
        justify-content: center;
    }

    .hero__flow {
        flex: none;
        width: 100%;
        margin-top: 2.5rem;
        overflow-x: auto;
    }

    .flow-svg {
        min-width: 400px;
    }
}

@media (max-width: 480px) {
    .product-showcase__title {
        font-size: 1.9rem;
    }

    .product-showcase__points {
        gap: 1.2rem;
    }

    .product-showcase__point {
        padding: .9rem;
    }

    .showcase-screen {
        min-height: 29rem;
    }

    .workflow-demo__body {
        grid-template-columns: 1fr;
    }

    .workflow-demo__sidebar {
        display: none;
    }

    .workflow-demo__header-line {
        width: 4.25rem;
    }

    .workflow-demo__header-actions {
        min-width: 6.6rem;
    }

    .workflow-demo__node--trigger {
        left: 6%;
        width: 36%;
    }

    .workflow-demo__node--ga4,
    .workflow-demo__node--linkedin {
        left: 42%;
        width: 25%;
    }

    .workflow-demo__node--custom {
        left: 40%;
        width: 36%;
    }

    .workflow-demo__node--debug {
        left: 66%;
        width: 24%;
    }

    .workflow-demo__debug-panel {
        width: 44%;
        padding: .72rem;
    }

    .staging-demo__body {
        grid-template-columns: 1fr;
    }

    .staging-demo__runs {
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, .07);
        padding: .72rem .72rem .65rem;
    }

    .staging-demo__detail {
        padding: .78rem .72rem .72rem;
    }

    .hero__title {
        font-size: 1.6rem;
    }

    .stats__grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* ═══════════════════ UTILS ═══════════════════ */

.text-accent {
    color: var(--accent);
}

/* ═══════════════════ REDUCED MOTION ═══════════════════ */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }

    html {
        scroll-behavior: auto;
    }

    .showcase-screen,
    .product-showcase.is-active .showcase-screen {
        filter: none;
        opacity: 1;
        transform: none;
    }

    .showcase-screen__stage--workflow,
    .showcase-screen__stage--staging,
    .showcase-screen__stage--monitoring {
        animation: none !important;
        transform: none !important;
    }

    .product-showcase[data-active-step="staging"] .showcase-screen__stage--workflow,
    .product-showcase[data-active-step="monitor"] .showcase-screen__stage--workflow {
        opacity: 0;
    }

    .product-showcase:not([data-active-step="staging"]):not([data-active-step="monitor"]) .showcase-screen__stage--workflow {
        opacity: 1;
    }

    .product-showcase[data-active-step="staging"] .showcase-screen__stage--staging {
        opacity: 1;
    }

    .product-showcase:not([data-active-step="staging"]) .showcase-screen__stage--staging {
        opacity: 0;
    }

    .product-showcase[data-active-step="monitor"] .showcase-screen__stage--monitoring {
        opacity: 1;
    }

    .product-showcase:not([data-active-step="monitor"]) .showcase-screen__stage--monitoring {
        opacity: 0;
    }

    .workflow-demo__node,
    .workflow-demo__path,
    .staging-demo__detail,
    .monitoring-demo__metric,
    .monitoring-demo__error-card,
    .monitoring-demo__chart-area,
    .monitoring-demo__chart-line {
        opacity: 1 !important;
        transform: none !important;
        stroke-dashoffset: 0 !important;
    }

    .workflow-demo__ghost,
    .workflow-demo__pulse {
        display: none;
    }

    .product-showcase[data-active-step="debug"] .workflow-demo__header-button {
        opacity: 1;
        transform: none;
    }

    .product-showcase[data-active-step="debug"] .workflow-demo__debug-panel {
        opacity: 1;
        transform: none;
    }

    .product-showcase:not([data-active-step="debug"]) .workflow-demo__debug-panel {
        opacity: 0;
    }

    .product-showcase:not([data-active-step="custom"]) .workflow-demo__node--custom {
        opacity: 0 !important;
    }

    .product-showcase:not([data-active-step="staging"]) .staging-demo__detail {
        opacity: 0 !important;
    }

    .monitoring-demo__error-bar {
        transform: scaleX(1) !important;
    }
}
