/* The default is the complete, static HTML/SVG experience. */
.connection-flow { animation: none; }
.fx-controls[hidden], .fx-debug[hidden] { display: none; }
.fx-controls {
    position: fixed; bottom: 18px; right: 20px; z-index: 45;
    display: flex; align-items: center; gap: 9px; padding: 7px 10px 7px 14px;
    border: 1px solid #568cae60; border-radius: 30px;
    background: #082531f5; color: #e3f8ff; box-shadow: 0 6px 25px #05192222;
    font-size: 11px; backdrop-filter: blur(10px);
}
.fx-control-dot { width: 5px; height: 5px; border-radius: 50%; background: #8de8ef; }
.fx-controls select {
    border: 0; border-radius: 20px; padding: 8px 7px; background: #143d4d;
    font: inherit; color: #e6f8ff; min-height: 34px; cursor: pointer; color-scheme: dark;
}
.fx-controls select:focus-visible { outline: 2px solid #8de8ef; outline-offset: 3px; }
.fx-webgl, .fx-annotations { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.fx-webgl { z-index: 4; }
.fx-annotations { z-index: 5; overflow: hidden; }
.fx-scene-annotations { position: absolute; overflow: hidden; }
.fx-scene-annotations[hidden] { display: none; }
.fx-scene-eyebrow {
    position: absolute; top: 13px; left: 18px; right: 18px;
    color: #accbdc; font-size: 9px; letter-spacing: 2px; line-height: 1.5;
}
.fx-scene-eyebrow::before { content: '+'; color: #8de8ef; margin-right: 12px; }
.fx-scene-foot {
    position: absolute; left: 18px; right: 18px; bottom: 12px;
    display: flex; align-items: center; justify-content: space-between;
    padding-top: 13px; border-top: 1px solid #9bd7e32b;
    color: #afcddb; font-size: 10px; letter-spacing: .6px;
}
.fx-scene-foot>span { font-size: 17px; color: #8de8ef; }
.fx-node-label, .fx-nucleus-label { position: absolute; left: 0; top: 0; text-align: center; white-space: nowrap; }
.fx-node-label {
    color: #d7f5ff; background: #071f2bba; padding: 5px 8px; border: 1px solid #3b73854a;
    border-radius: 5px; font-size: 11px; letter-spacing: .25px;
}
.fx-nucleus-label { color: #f1fbff; text-shadow: 0 2px 12px #000; }
.fx-nucleus-label strong { font-size: 20px; font-weight: 600; letter-spacing: -.5px; display: block; }
.fx-nucleus-label small { display: block; margin-top: 6px; font-size: 7px; letter-spacing: 1.5px; color: #b2dce9; }
.architecture.fx-scene-ready>*, .core-blueprint.fx-scene-ready>* { visibility: hidden; }
.core-blueprint.fx-scene-ready { border-color: #549baf55; background: #082632; }
.fx-ambient .hero-grid {
    animation: fx-grid-drift 28s linear infinite;
    background-size: 64px 64px;
}
.fx-ambient .hero::after {
    content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background: radial-gradient(ellipse at 70% 35%, #0c75ac30, transparent 55%);
    animation: fx-breathe 7s ease-in-out infinite alternate;
}
.fx-ambient .hero:not(.fx-visible) .hero-grid { animation-play-state: paused; }
.fx-ambient .hero:not(.fx-visible)::after { animation-play-state: paused; }
.solution-card { position: relative; isolation: isolate; }
.fx-ambient .solution-card {
    transform: perspective(900px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
    transition: transform 180ms ease, background 250ms ease, box-shadow 250ms ease;
}
.fx-ambient .solution-card:hover, .fx-ambient .solution-card:focus-visible {
    box-shadow: inset 0 0 0 1px #1694bc88, 0 14px 35px #00639712;
    background: radial-gradient(circle at var(--pointer-x, 50%) var(--pointer-y, 40%), #d5f2f8 0, #f5fbfd 65%);
}
:root:not(.fx-paused) .solution-card:hover .icon-tile, :root:not(.fx-paused) .solution-card:focus-visible .icon-tile {
    transform: translateY(-3px) rotate(-7deg); background: #d9f4fb; color: #005479;
}
.icon-tile { transition: transform 220ms ease, background 220ms ease; }
.application-card { --application-delay: 0s; }
.application-card:nth-child(2) { --application-delay: .45s; }
.application-card:nth-child(3) { --application-delay: .9s; }
.fx-ambient .application-card.fx-visible .mini-window { animation: fx-window-float 7s ease-in-out infinite; }
.fx-ambient .application-card.fx-visible .integration-flow i {
    background: linear-gradient(90deg, #8eb8c7 0%, #8eb8c7 30%, #0075a0 50%, #8eb8c7 70%);
    background-size: 200% 100%; animation: fx-flow 2.8s linear infinite;
}
.fx-ambient .application-card.fx-visible .mini-hub { animation: fx-hub-pulse 3s ease-in-out infinite; }
.fx-ambient .application-card.fx-visible .workflow>div { animation: fx-workflow 6s ease-in-out infinite; }
.fx-ambient .application-card.fx-visible .workflow>div:nth-of-type(2) { animation-delay: 2s; }
.fx-ambient .application-card.fx-visible .workflow>div:nth-of-type(3) { animation-delay: 4s; }
.fx-ambient .application-card.fx-visible .insight-panel { animation: fx-panel-float 8s ease-in-out infinite; }
.fx-ambient .application-card.fx-visible .insight-bars>span {
    transform-origin: bottom; animation: fx-bar-rise 5s cubic-bezier(.2,.7,.3,1) infinite;
}
.insight-bars>span:nth-child(2) { animation-delay: .12s!important; }
.insight-bars>span:nth-child(3) { animation-delay: .24s!important; }
.insight-bars>span:nth-child(4) { animation-delay: .36s!important; }
.insight-bars>span:nth-child(5) { animation-delay: .48s!important; }
.insight-bars>span:nth-child(6) { animation-delay: .6s!important; }
.insight-bars>span:nth-child(7) { animation-delay: .72s!important; }
.fx-ambient .fx-visible .method-grid li::before { animation: fx-method-pulse 8s ease-in-out infinite; }
.fx-ambient .fx-visible .method-grid li:nth-child(2)::before { animation-delay: 2s; }
.fx-ambient .fx-visible .method-grid li:nth-child(3)::before { animation-delay: 4s; }
.fx-ambient .fx-visible .method-grid li:nth-child(4)::before { animation-delay: 6s; }
.fx-ambient .fx-visible .method-grid li::after {
    content: ''; position: absolute; top: -1px; left: 0; width: 100%; height: 1px;
    background: linear-gradient(90deg, transparent, #0c8eb0, transparent);
    transform-origin: left; animation: fx-method-line 8s ease-in-out infinite;
    animation-delay: inherit;
}
.fx-ambient .fx-visible .method-grid li:nth-child(2)::after { animation-delay: 2s; }
.fx-ambient .fx-visible .method-grid li:nth-child(3)::after { animation-delay: 4s; }
.fx-ambient .fx-visible .method-grid li:nth-child(4)::after { animation-delay: 6s; }
.fx-ambient .contact-cta.fx-visible::before { animation: fx-contact-wave 8s ease-in-out infinite; }
.fx-paused *, .fx-paused *::before, .fx-paused *::after {
    animation: none!important; transition: none!important;
}
.fx-paused { scroll-behavior: auto; }
.fx-paused .button:hover, .fx-paused .solution-card { transform: none; }
.fx-debug {
    position: fixed; bottom: 18px; left: 18px; width: min(365px, calc(100vw - 36px));
    max-height: 70vh; overflow: auto; z-index: 60; background: #061a24f5; color: #daf3fc;
    border: 1px solid #45788e; border-radius: 8px; padding: 12px; font: 11px/1.5 monospace;
    box-shadow: 0 8px 30px #0003;
}
.fx-debug summary { cursor: pointer; min-height: 20px; }
.fx-debug output { display: block; white-space: pre-wrap; padding-block: 13px; line-height: 1.8; }
.fx-debug-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.fx-debug button { color: #dcf4fc; background: #164152; border: 1px solid #356376; border-radius: 4px; padding: 8px; cursor: pointer; }
.fx-debug button:hover { background: #24627a; }
.fx-debug p { font-size: 10px; margin-top: 12px; color: #a6c6d4; }
@keyframes fx-grid-drift { to { background-position: 64px 64px; } }
@keyframes fx-breathe { to { opacity: .4; transform: translate(2%, 3%); } }
@keyframes fx-window-float { 0%,100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-7px) rotate(-1deg); } }
@keyframes fx-panel-float { 0%,100% { transform: translateY(0) rotate(3deg); } 50% { transform: translateY(-5px) rotate(1deg); } }
@keyframes fx-flow { to { background-position: -200% 0; } }
@keyframes fx-hub-pulse { 0%,100% { box-shadow: 0 0 0 0 #178fb300; } 50% { box-shadow: 0 0 0 7px #178fb31c; } }
@keyframes fx-workflow { 0%,35%,100% { transform: translateX(0); } 15% { transform: translateX(7px); box-shadow: 0 0 0 2px #4fa9c770; } }
@keyframes fx-bar-rise { 0%,100% { transform: scaleY(.7); } 40%,65% { transform: scaleY(1); } }
@keyframes fx-method-pulse { 0%,35%,100% { box-shadow: 0 0 0 0 #078fb400; } 15% { box-shadow: 0 0 0 7px #078fb422; background: #02a7ce; } }
@keyframes fx-method-line { 0%,40%,100% { transform: scaleX(0); opacity: 0; } 20% { transform: scaleX(1); opacity: 1; } }
@keyframes fx-contact-wave { 0%,100% { transform: scale(1); opacity: .55; } 50% { transform: scale(1.2); opacity: 1; } }
@media (max-width: 600px) {
    .fx-controls { bottom: 10px; right: 10px; font-size: 10px; gap: 7px; padding: 4px 7px 4px 11px; }
    .fx-controls select { font-size: 10px; min-height: 34px; }
    .fx-scene-eyebrow { font-size: 7px; letter-spacing: 1.1px; top: 10px; left: 10px; }
    .fx-scene-foot { font-size: 8px; left: 10px; right: 10px; }
    .fx-node-label { font-size: 9px; padding: 4px 6px; }
    .fx-nucleus-label strong { font-size: 17px; }
    .fx-nucleus-label small { font-size: 6px; letter-spacing: 1px; }
    .fx-debug { bottom: 68px; }
    .footer-bottom { padding-bottom: 70px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none!important; transition: none!important; }
    .fx-webgl, .fx-annotations { display: none; }
    .architecture.fx-scene-ready>*, .core-blueprint.fx-scene-ready>* { visibility: visible; }
    .solution-card, .icon-tile { transform: none!important; }
}
