@keyframes collection-pulse-slow {
    0%, 100% {
        opacity: 0.4;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.05);
    }
}

.animate-pulse-slow {
    animation: collection-pulse-slow 4s ease-in-out infinite;
}

.collection-catalog-group {
    grid-column: 1 / -1;
}

.collection-catalog-card {
    height: 100%;
}

.collection-filter-button {
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: #a1a1aa;
    transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.collection-filter-button:hover {
    color: #fff;
}

[data-collection-accent="violet"] .collection-filter-button.is-active {
    border-color: rgba(167, 139, 250, 0.45);
    background: rgba(139, 92, 246, 0.12);
    color: #ddd6fe;
}

[data-collection-accent="purple"] .collection-filter-button.is-active {
    border-color: rgba(192, 132, 252, 0.45);
    background: rgba(168, 85, 247, 0.12);
    color: #e9d5ff;
}

[data-collection-accent="cyan"] .collection-filter-button.is-active {
    border-color: rgba(34, 211, 238, 0.45);
    background: rgba(6, 182, 212, 0.12);
    color: #cffafe;
}

[data-collection-accent="blue"] .collection-filter-button.is-active {
    border-color: rgba(96, 165, 250, 0.45);
    background: rgba(59, 130, 246, 0.12);
    color: #dbeafe;
}

.collection-catalog-card > .relative.z-10 {
    display: flex;
    height: 100%;
    flex-direction: column;
}

.collection-catalog-card > .relative.z-10 > :last-child {
    margin-top: auto;
}

.collection-catalog-card > .relative.z-10 > .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

.collection-catalog-card > .relative.z-10 > .grid > div {
    min-height: 6.5rem;
}

.collection-catalog-group[data-collection-group="personal"],
.collection-catalog-group[data-collection-group="product"],
.collection-catalog-group[data-collection-group="interface"],
.collection-catalog-group[data-collection-group="model"],
.collection-catalog-group[data-collection-group="domain"] {
    order: 10;
}

.collection-catalog [data-collection="personal"],
.collection-catalog [data-collection="product"],
.collection-catalog [data-collection="interface"],
.collection-catalog [data-collection="model"],
.collection-catalog [data-collection="domain"] {
    order: 11;
}

.collection-catalog-group[data-collection-group="operations"],
.collection-catalog-group[data-collection-group="trust"],
.collection-catalog-group[data-collection-group="infrastructure"],
.collection-catalog-group[data-collection-group="agents"],
.collection-catalog-group[data-collection-group="standards"] {
    order: 20;
    margin-top: 2rem;
}

.collection-catalog [data-collection="operations"],
.collection-catalog [data-collection="trust"],
.collection-catalog [data-collection="infrastructure"],
.collection-catalog [data-collection="agents"],
.collection-catalog [data-collection="standards"] {
    order: 21;
}

.collection-catalog-group[data-collection-group="community"] {
    order: 30;
    margin-top: 2rem;
}

.collection-catalog [data-collection="community"] {
    order: 31;
}

.micro-mindset-carousel {
    position: relative;
}

.micro-mindset-track {
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.micro-mindset-track::-webkit-scrollbar {
    display: none;
}

.micro-mindset-slide {
    min-width: 100%;
    min-height: 340px;
}

.micro-mindset-dot.is-active {
    width: 2rem;
    border-color: rgba(217, 70, 239, 0.65);
    background: rgba(217, 70, 239, 0.55);
}

@keyframes framework-panel-breathe {
    0%, 100% {
        border-color: rgba(255, 255, 255, 0.1);
        box-shadow: 0 0 0 rgba(168, 85, 247, 0);
        transform: translateY(0);
    }
    50% {
        border-color: rgba(168, 85, 247, 0.34);
        box-shadow: 0 24px 80px -44px rgba(96, 165, 250, 0.9);
        transform: translateY(-3px);
    }
}

@keyframes framework-line-compile {
    0%, 100% {
        opacity: 0.18;
        transform: scaleX(0.42);
    }
    45% {
        opacity: 0.86;
        transform: scaleX(1);
    }
}

@keyframes framework-flow-pulse {
    0%, 100% {
        opacity: 0.24;
        transform: scale(0.85);
    }
    45% {
        opacity: 1;
        transform: scale(1.08);
    }
}

.framework-assembly-stage {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 1rem;
    align-items: center;
    padding: 1rem;
    border: 1px solid rgba(168, 85, 247, 0.14);
    border-radius: 1.5rem;
    background: linear-gradient(135deg, rgba(88, 28, 135, 0.12), rgba(24, 24, 27, 0.28));
}

.framework-contract-panel {
    min-height: 112px;
    display: grid;
    align-content: center;
    gap: 0.75rem;
    padding: 1.1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    background: rgba(9, 9, 11, 0.72);
    animation: framework-panel-breathe 5.2s ease-in-out infinite;
}

.framework-contract-panel:nth-of-type(3) {
    animation-delay: 1.4s;
}

.framework-panel-label {
    color: rgba(216, 180, 254, 0.8);
    font: 700 10px/1 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    letter-spacing: 0.18em;
    text-align: left;
}

.framework-panel-line {
    display: block;
    width: var(--width);
    height: 2px;
    transform-origin: left;
    background: linear-gradient(90deg, rgba(192, 132, 252, 0.2), rgba(96, 165, 250, 0.85), rgba(34, 211, 238, 0));
    animation: framework-line-compile 4.6s ease-in-out infinite;
    animation-delay: var(--delay);
}

.framework-flow-column {
    display: grid;
    gap: 0.45rem;
    justify-items: center;
}

.framework-flow-column span {
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 9999px;
    background: rgba(96, 165, 250, 0.78);
    box-shadow: 0 0 18px rgba(96, 165, 250, 0.42);
    animation: framework-flow-pulse 1.8s ease-in-out infinite;
}

.framework-flow-column span:nth-child(2) {
    animation-delay: 0.3s;
}

.framework-flow-column span:nth-child(3) {
    animation-delay: 0.6s;
}

.framework-section-nav {
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.35);
}

.framework-section-nav a {
    transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.framework-section-nav a.is-active {
    border-color: rgba(192, 132, 252, 0.55);
    background: rgba(168, 85, 247, 0.12);
    color: #f5f3ff;
}

.framework-card-motion {
    position: relative;
    isolation: isolate;
    transition: transform 220ms ease, border-color 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.framework-card-motion::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 38%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 220ms ease;
    z-index: -1;
}

.framework-card-motion:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.24);
}

.framework-card-motion:hover::before {
    opacity: 1;
}

.framework-reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 520ms ease, transform 520ms ease;
}

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

@keyframes devtools-command-cycle {
    0%, 100% {
        opacity: 0.22;
        transform: translateX(-8px);
    }
    35% {
        opacity: 0.82;
        transform: translateX(0);
    }
}

@keyframes devtools-pipeline-pulse {
    0%, 100% {
        opacity: 0.24;
        transform: scale(0.88);
        box-shadow: none;
    }
    40% {
        opacity: 1;
        transform: scale(1.08);
        box-shadow: 0 0 32px -10px rgba(34, 211, 238, 0.9);
    }
}

.devtools-console {
    position: absolute;
    left: 8%;
    bottom: 18%;
    width: min(30vw, 390px);
    display: grid;
    gap: 0.75rem;
    padding: 1rem;
    border: 1px solid rgba(34, 211, 238, 0.16);
    border-radius: 1rem;
    background: rgba(2, 6, 23, 0.36);
}

.devtools-command {
    color: rgba(165, 243, 252, 0.7);
    font: 700 10px/1.2 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    animation: devtools-command-cycle 4.5s ease-in-out infinite;
    animation-delay: var(--delay);
}

.devtools-command::before {
    content: "> ";
    color: rgba(139, 92, 246, 0.8);
}

.devtools-pipeline {
    position: absolute;
    right: 9%;
    top: 28%;
    display: flex;
    gap: 1rem;
    align-items: center;
}

.devtools-pipeline span {
    width: clamp(2.25rem, 5vw, 4rem);
    aspect-ratio: 1;
    border: 1px solid rgba(139, 92, 246, 0.22);
    border-radius: 1rem;
    background: rgba(24, 24, 27, 0.42);
    animation: devtools-pipeline-pulse 4.5s ease-in-out infinite;
    animation-delay: var(--delay);
}

@keyframes ai-node-pulse {
    0%, 100% {
        opacity: 0.28;
        transform: translate(-50%, -50%) scale(0.94);
    }
    45% {
        opacity: 0.9;
        transform: translate(-50%, -50%) scale(1.05);
    }
}

@keyframes ai-trace-flow {
    0%, 100% {
        opacity: 0.12;
        transform: translate(-50%, -50%) rotate(var(--rotate)) scaleX(0.8);
    }
    50% {
        opacity: 0.52;
        transform: translate(-50%, -50%) rotate(var(--rotate)) scaleX(1);
    }
}

.ai-node {
    position: absolute;
    left: var(--x);
    top: var(--y);
    transform: translate(-50%, -50%);
    padding: 0.65rem 0.85rem;
    border: 1px solid rgba(34, 211, 238, 0.22);
    border-radius: 9999px;
    background: rgba(24, 24, 27, 0.46);
    color: rgba(207, 250, 254, 0.74);
    font: 700 10px/1 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    letter-spacing: 0.18em;
    animation: ai-node-pulse 5.6s ease-in-out infinite;
    animation-delay: var(--delay);
    box-shadow: 0 0 34px -18px rgba(34, 211, 238, 0.9);
}

.ai-trace {
    position: absolute;
    left: 50%;
    top: 52%;
    width: min(66vw, 760px);
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.45), rgba(34, 211, 238, 0.6), transparent);
    transform-origin: center;
    --rotate: 18deg;
    animation: ai-trace-flow 6.4s ease-in-out infinite;
}

.ai-trace-two {
    --rotate: -18deg;
    animation-delay: 1.8s;
}

@keyframes venture-cell-breathe {
    0%, 100% {
        opacity: 0.34;
        transform: translate(-50%, -50%) scale(0.96);
    }
    50% {
        opacity: 0.86;
        transform: translate(-50%, -50%) scale(1.04);
    }
}

@keyframes venture-connector-flow {
    0%, 100% {
        opacity: 0.14;
        transform: translate(-50%, -50%) rotate(var(--rotate)) scaleX(0.72);
    }
    50% {
        opacity: 0.58;
        transform: translate(-50%, -50%) rotate(var(--rotate)) scaleX(1);
    }
}

.venture-cell {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    min-width: 8.5rem;
    padding: 0.8rem 1rem;
    border: 1px solid rgba(34, 211, 238, 0.2);
    border-radius: 1rem;
    background: rgba(24, 24, 27, 0.46);
    color: rgba(207, 250, 254, 0.74);
    font: 700 10px/1 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    letter-spacing: 0.18em;
    text-align: center;
    animation: venture-cell-breathe 6.5s ease-in-out infinite;
    box-shadow: 0 0 46px -24px rgba(34, 211, 238, 0.9);
}

.venture-cell-left {
    left: 17%;
    top: 38%;
}

.venture-cell-right {
    left: 83%;
    top: 39%;
    animation-delay: 1.1s;
}

.venture-cell-center {
    left: 50%;
    top: 73%;
    border-color: rgba(99, 102, 241, 0.28);
    color: rgba(224, 231, 255, 0.82);
    animation-delay: 2.2s;
}

.venture-connector {
    position: absolute;
    left: 50%;
    top: 56%;
    width: min(54vw, 640px);
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(34, 211, 238, 0.58), rgba(96, 165, 250, 0.45), transparent);
    --rotate: 18deg;
    animation: venture-connector-flow 6.5s ease-in-out infinite;
}

.venture-connector-two {
    --rotate: -18deg;
    animation-delay: 1.4s;
}

.rnd-page-shell {
    position: relative;
}

.rnd-scroll-nav {
    isolation: isolate;
    overflow: hidden;
    box-shadow: 0 18px 70px rgba(0, 0, 0, 0.32);
    backdrop-filter: blur(18px);
}

.rnd-scroll-nav::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(90deg, transparent, rgba(34, 211, 238, 0.08), rgba(139, 92, 246, 0.055), transparent);
    opacity: 0.9;
    pointer-events: none;
}

.rnd-scroll-nav-inner {
    position: relative;
    z-index: 1;
}

.rnd-scroll-nav-track {
    position: relative;
    z-index: 1;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.rnd-scroll-nav > * {
    position: relative;
    z-index: 1;
}

.rnd-scroll-nav-track::-webkit-scrollbar {
    display: none;
}

.rnd-scroll-nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    flex: 0 0 auto;
    border: 1px solid transparent;
    border-radius: 9999px;
    background: transparent;
    color: #a1a1aa;
    padding: 0.7rem 1rem;
    font: 700 0.68rem/1 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    transition: color 180ms ease, border-color 180ms ease, background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.rnd-scroll-nav-link::before {
    content: "";
    position: absolute;
    left: 0.78rem;
    top: 50%;
    width: 0.35rem;
    height: 0.35rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%);
    transition: background 180ms ease, box-shadow 180ms ease;
}

.rnd-scroll-nav-index {
    margin-left: 0.85rem;
    color: #52525b;
    transition: color 180ms ease;
}

.rnd-scroll-nav-link:hover,
.rnd-scroll-nav-link.is-active {
    border-color: rgba(34, 211, 238, 0.28);
    background: rgba(6, 182, 212, 0.1);
    color: #cffafe;
}

.rnd-scroll-nav-link.is-active {
    transform: translateY(-1px);
    box-shadow: inset 0 0 24px rgba(34, 211, 238, 0.045), 0 16px 44px -28px rgba(34, 211, 238, 0.9);
}

.rnd-scroll-nav-link.is-active::before {
    background: #22d3ee;
    box-shadow: 0 0 18px rgba(34, 211, 238, 0.72);
}

.rnd-scroll-nav-link.is-active .rnd-scroll-nav-index,
.rnd-scroll-nav-link:hover .rnd-scroll-nav-index {
    color: #67e8f9;
}

.rnd-content {
    position: relative;
}

.rnd-section {
    position: relative;
    padding-top: clamp(5.5rem, 8vw, 8rem);
    padding-bottom: clamp(5.5rem, 8vw, 8rem);
}

.rnd-section::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    width: min(100% - 2rem, 80rem);
    height: 1px;
    transform: translateX(-50%);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.14), rgba(34, 211, 238, 0.18), transparent);
}

.rnd-section-shell {
    display: block;
}

.rnd-section-header {
    position: relative;
    max-width: 68rem;
    min-height: 4.25rem;
    margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
    padding-left: clamp(4.25rem, 8vw, 6.25rem);
    padding-bottom: clamp(1.75rem, 3vw, 2.5rem);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.rnd-section-header::before {
    content: attr(data-section-number);
    position: absolute;
    left: 0;
    top: 0.15rem;
    display: grid;
    width: clamp(3rem, 5vw, 4rem);
    aspect-ratio: 1;
    place-items: center;
    border: 1px solid rgba(34, 211, 238, 0.22);
    border-radius: 1rem;
    background: rgba(34, 211, 238, 0.055);
    color: #67e8f9;
    font: 800 0.78rem/1 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    letter-spacing: 0.12em;
    box-shadow: inset 0 0 24px rgba(34, 211, 238, 0.035);
}

.rnd-section-body {
    min-width: 0;
    max-width: 100%;
}

.rnd-section-copy {
    max-width: 66rem;
    color: #a1a1aa;
    font-size: clamp(1.05rem, 1.6vw, 1.28rem);
    line-height: 1.75;
}

.rnd-section-header > p:first-child {
    margin-bottom: 0.85rem !important;
    color: #67e8f9;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.28em;
}

.rnd-section-header h2 {
    max-width: 58rem;
    margin-bottom: 0 !important;
    color: #f8fafc;
    font-size: clamp(2.25rem, 5vw, 4.45rem);
    font-weight: 850;
    letter-spacing: -0.04em;
    line-height: 1;
    text-wrap: balance;
}

.rnd-section-body h3 {
    line-height: 1.1;
    letter-spacing: -0.025em;
}

.rnd-section-body p {
    line-height: 1.65;
}

.rnd-section :is(.rounded-3xl, .rounded-2xl) {
    background-color: rgba(9, 9, 11, 0.46);
    transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.rnd-section :is(.rounded-3xl, .rounded-2xl):hover {
    border-color: rgba(34, 211, 238, 0.28);
    background-color: rgba(15, 23, 42, 0.34);
    transform: translateY(-2px);
}

.rnd-lane-card {
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

.rnd-lane-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.08), transparent 44%);
    opacity: 0;
    transition: opacity 220ms ease;
    z-index: -1;
}

.rnd-lane-card:hover::before {
    opacity: 1;
}

@media (min-width: 640px) {
    .micro-mindset-slide {
        min-width: min(86%, 520px);
    }
}

@media (min-width: 1024px) {
    .rnd-scroll-nav-track {
        gap: 0.6rem;
    }

    .micro-catalog .collection-catalog-card {
        grid-column: auto !important;
        height: 40rem;
    }

    .micro-catalog .collection-catalog-card > .relative.z-10 > p:first-of-type {
        min-height: 5.25rem;
    }

    .framework-catalog .collection-catalog-card,
    .devtools-catalog .collection-catalog-card,
    .ai-catalog .collection-catalog-card,
    .venture-catalog .collection-catalog-card {
        min-height: 31rem;
    }
}

@media (max-width: 640px) {
    .rnd-section-header {
        padding-left: 0;
        padding-top: 4.25rem;
    }

    .rnd-section-header::before {
        top: 0;
    }

    .rnd-scroll-nav-link {
        padding: 0.78rem 0.9rem;
    }

    .framework-assembly-stage {
        grid-template-columns: 1fr;
    }

    .framework-flow-column {
        grid-template-columns: repeat(3, auto);
        justify-content: center;
    }

}

@media (prefers-reduced-motion: reduce) {
    .animate-pulse-slow,
    .framework-contract-panel,
    .framework-panel-line,
    .framework-flow-column span {
        animation: none;
    }

    .micro-mindset-track {
        scroll-behavior: auto;
    }

    .framework-card-motion,
    .framework-card-motion::before,
    .framework-reveal {
        transition: none;
    }

    .framework-card-motion:hover {
        transform: none;
    }

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

    .devtools-command,
    .devtools-pipeline span,
    .ai-node,
    .ai-trace,
    .venture-cell,
    .venture-connector {
        animation: none;
    }
}
