/* Value equation diagram, used inside the Webflow AI Consultancy page (pixel units: Webflow scales rem with the viewport). */
.ve-wrap { width: 100%; margin: 40px 0; }
.ve { perspective: 1400px; display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; gap: 18px; align-items: stretch; color: #fef5ef; font-family: inherit; }
.ve-card { --rx: 0deg; --ry: 0deg; --lift: 0px; display: grid; grid-template-rows: auto 1fr auto; gap: 14px; padding: 24px; min-height: 340px; border-radius: 24px; background: #20242d; border: 0; transform: rotateX(var(--rx)) rotateY(var(--ry)) translateZ(var(--lift)); transform-style: preserve-3d; transition: transform .6s cubic-bezier(.2,.7,.2,1), box-shadow .45s ease; will-change: transform; }
.ve-card.is-active, .ve-result.is-active { --lift: 24px; transition: transform .12s ease-out, box-shadow .45s ease; box-shadow: 0 30px 60px -24px rgba(0,0,0,.7); }
@media (prefers-reduced-motion: reduce) { .ve-card, .ve-result { transform: none !important; transition: none; } }
.ve-icon { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgb(254 245 239 / .1); }
.ve-icon svg { width: 20px; height: 20px; fill: none; stroke: #fef5ef; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ve-card h3 { font-weight: 600; font-size: 22px; line-height: 1.1; letter-spacing: -0.02em; align-self: end; margin: 0; color: #fef5ef; }
.ve-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; color: rgb(254 245 239 / .7); font-size: 15px; line-height: 1.4; }
.ve-op { align-self: center; font-size: 32px; font-weight: 300; color: #fef5ef; }
.ve-result { --rx: 0deg; --ry: 0deg; --lift: 0px; transform: rotateX(var(--rx)) rotateY(var(--ry)) translateZ(var(--lift)); transition: transform .6s cubic-bezier(.2,.7,.2,1), box-shadow .45s ease; position: relative; overflow: hidden; display: grid; grid-template-rows: 1fr auto; min-height: 340px; padding: 24px; border-radius: 24px; background: #282b68; color: #fef5ef; }
.ve-result h3 { font-weight: 600; font-size: 22px; line-height: 1.1; letter-spacing: -0.02em; margin: 0; color: #fef5ef; }
.ve-rings { width: 100%; max-width: 260px; justify-self: center; align-self: center; }
.ve-ring { fill: rgb(254 245 239 / .08); transform-box: fill-box; transform-origin: center; animation: ve-ripple 5s ease-in-out infinite; }
.ve-ring.r2 { animation-delay: .25s; } .ve-ring.r3 { animation-delay: .5s; } .ve-ring.r4 { animation-delay: .75s; }
.ve-core { fill: rgb(254 245 239 / .16); }
.ve-tick-ring { fill: none; stroke: #20fbf4; stroke-width: 1.6; stroke-dasharray: 3 3; transform-box: fill-box; transform-origin: center; animation: ve-rot 16s linear infinite; }
.ve-tick { fill: none; stroke: #20fbf4; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
@keyframes ve-ripple { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.06); opacity: .55; } }
@keyframes ve-rot { to { transform: rotate(360deg); } }
@media (max-width: 1000px) { .ve { grid-template-columns: 1fr; } .ve-op { justify-self: center; } .ve-card, .ve-result { min-height: 0; } .ve-card h3 { margin-top: 18px; } }
@media (prefers-reduced-motion: reduce) { .ve-ring, .ve-tick-ring { animation: none; } }
