/* ==========================================================================
   WEB APP DEVELOPMENT PAGE — "wa-" section system
   Specialisation / Digital Development / Web App Development
   Site theme: Afacad, deep navy/violet fields, brand accents
   magenta #B51BB5 · orange #F0A400 · violet #AC20BC · cyan #43D2E0.
   Its own layout language: mission-control hero with a live app console,
   instrument gauges, bento product grid, exploded architecture stack,
   orbital launch trajectory, load chart, stage switcher, lift-off CTA.
   No existing site component is reused.
   ========================================================================== */

:root {
    --wa-ink: #0a0b2e;
    --wa-ink-2: #14083a;
    --wa-violet: #4a128c;
    --wa-purple: #7b2ff7;
    --wa-magenta: #B51BB5;
    --wa-orange: #F0A400;
    --wa-cyan: #43D2E0;
    --wa-green: #34d399;
    --wa-paper: #f7f4fd;
    --wa-radius: 24px;
    --wa-shell: min(var(--site-width, 88%), 1240px);
    --wa-ease: cubic-bezier(.22, .8, .24, 1);
}

.wa-shell {
    width: var(--wa-shell);
    margin-inline: auto;
}

/* ---------- shared type & buttons ---------------------------------------- */

.wa-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .17em;
    text-transform: uppercase;
    color: var(--wa-cyan);
}

.wa-eyebrow i {
    font-style: normal;
    opacity: .45;
}

.wa-eyebrow--dark { color: var(--wa-purple); }

.wa-grad {
    font-style: normal;
    background: linear-gradient(100deg, var(--wa-cyan), var(--wa-magenta) 55%, var(--wa-orange));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.wa-head {
    text-align: center;
    max-width: 780px;
    margin: 0 auto clamp(2.4rem, 5.5vh, 4rem);
}

.wa-head--left {
    text-align: left;
    margin-inline: 0;
}

.wa-head h2 {
    margin: .95rem 0 1.05rem;
    font-size: clamp(1.95rem, 3.7vw, 3.15rem);
    line-height: 1.08;
    font-weight: 600;
    letter-spacing: -.015em;
    color: var(--wa-ink);
}

.wa-head--light h2 { color: #fff; }

.wa-head__lead {
    font-size: clamp(1rem, 1.4vw, 1.15rem);
    line-height: 1.65;
    color: rgba(10, 11, 46, .72);
}

.wa-head--light .wa-head__lead { color: rgba(255, 255, 255, .82); }

.wa-btn {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    padding: .95rem 1.75rem;
    border-radius: 999px;
    font-size: 1.02rem;
    font-weight: 600;
    letter-spacing: .01em;
    transition: transform .35s var(--wa-ease), box-shadow .35s var(--wa-ease),
        background .35s var(--wa-ease), color .35s var(--wa-ease), border-color .35s var(--wa-ease);
}

.wa-btn span { transition: transform .35s var(--wa-ease); }

.wa-btn:hover span { transform: translateX(5px); }

.wa-btn--solid {
    color: #fff;
    background: linear-gradient(90deg, var(--wa-purple), var(--wa-magenta));
    box-shadow: 0 10px 30px -10px var(--wa-magenta);
}

.wa-btn--solid:hover {
    transform: translateY(-3px);
    filter: brightness(1.08);
    box-shadow: 0 18px 40px -10px var(--wa-magenta);
}

.wa-btn--ghost {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .34);
    background: rgba(255, 255, 255, .06);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.wa-btn--ghost:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, .6);
    background: rgba(255, 255, 255, .13);
}

/* reveal-on-scroll */
.wa-reveal > * {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .8s var(--wa-ease), transform .8s var(--wa-ease);
}

.wa-reveal.is-visible > * {
    opacity: 1;
    transform: none;
}

.wa-reveal.is-visible > *:nth-child(2) { transition-delay: .1s; }
.wa-reveal.is-visible > *:nth-child(3) { transition-delay: .2s; }


/* ============================================================
   1. HERO — MISSION CONTROL
   ============================================================ */

.wa-hero {
    position: relative;
    min-height: max(660px, 96svh);
    display: flex;
    align-items: center;
    overflow: hidden;
    background:
        radial-gradient(120% 90% at 88% 8%, rgba(123, 47, 247, .34), transparent 55%),
        linear-gradient(158deg, var(--wa-ink) 0%, var(--wa-ink-2) 46%, var(--wa-violet) 100%);
    isolation: isolate;
}

.wa-hero__sky {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.wa-hero__nebula {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: .55;
}

.wa-hero__nebula--a {
    width: 46vw;
    height: 46vw;
    right: -12vw;
    top: -14vw;
    background: radial-gradient(circle, rgba(181, 27, 181, .55), transparent 68%);
}

.wa-hero__nebula--b {
    width: 38vw;
    height: 38vw;
    left: -14vw;
    bottom: -16vw;
    background: radial-gradient(circle, rgba(67, 210, 224, .38), transparent 68%);
}

.wa-hero__nebula--c {
    width: 30vw;
    height: 30vw;
    left: 34%;
    top: 30%;
    background: radial-gradient(circle, rgba(240, 164, 0, .18), transparent 70%);
}

/* concentric signal rings behind the console */
.wa-hero__rings {
    position: absolute;
    right: 4%;
    top: 50%;
    width: min(58vw, 760px);
    aspect-ratio: 1;
    translate: 0 -50%;
}

.wa-hero__rings span {
    position: absolute;
    inset: 0;
    margin: auto;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .1);
}

.wa-hero__rings span:nth-child(1) { inset: 0; }
.wa-hero__rings span:nth-child(2) { inset: 12%; border-color: rgba(67, 210, 224, .16); }
.wa-hero__rings span:nth-child(3) { inset: 24%; border-color: rgba(181, 27, 181, .2); }
.wa-hero__rings span:nth-child(4) { inset: 36%; border-color: rgba(240, 164, 0, .16); }

.wa-hero__rings span::after {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: 50%;
    border: 1px solid transparent;
    border-top-color: rgba(255, 255, 255, .38);
    animation: wa-spin 14s linear infinite;
}

.wa-hero__rings span:nth-child(2)::after { animation-duration: 11s; animation-direction: reverse; }
.wa-hero__rings span:nth-child(3)::after { animation-duration: 17s; }
.wa-hero__rings span:nth-child(4)::after { animation-duration: 9s; animation-direction: reverse; }

@keyframes wa-spin {
    to { rotate: 360deg; }
}

.wa-hero__grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(120% 90% at 30% 40%, #000 20%, transparent 78%);
    -webkit-mask-image: radial-gradient(120% 90% at 30% 40%, #000 20%, transparent 78%);
}

.wa-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
    gap: clamp(2rem, 4.5vw, 4.2rem);
    align-items: center;
    width: var(--wa-shell);      /* same content width as every other page */
    margin-inline: auto;
    padding: calc(var(--hdr-full, 108px) + 2.6rem) 0 clamp(3.5rem, 8vh, 6rem);
}

.wa-hero__title {
    margin: 1.15rem 0 1.35rem;
    font-size: clamp(2.3rem, 5vw, 4.05rem);
    line-height: 1.04;
    font-weight: 600;
    letter-spacing: -.02em;
    color: #fff;
}

.wa-hero__lead {
    max-width: 33rem;
    font-size: clamp(1.02rem, 1.5vw, 1.22rem);
    line-height: 1.66;
    color: rgba(255, 255, 255, .8);
}

.wa-hero__cta {
    display: flex;
    flex-wrap: wrap;
    gap: .95rem;
    margin: 2.15rem 0 1.75rem;
}

.wa-hero__chips {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
}

.wa-hero__chips li {
    padding: .42rem .95rem;
    border-radius: 999px;
    font-size: .84rem;
    letter-spacing: .02em;
    color: rgba(255, 255, 255, .82);
    border: 1px solid rgba(255, 255, 255, .18);
    background: rgba(255, 255, 255, .06);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

/* ---- hero headline typing effect (same behaviour as home "WHAT WE SPECIALISE IN") ---- */
.wa-hero__title .wa-typing-line {
    display: block;
    position: relative;
    color: #fff;
}

/* invisible copy of the FINAL text reserves the exact height (even when it wraps),
   so the hero never reflows while the letters are typed */
.wa-hero__title .wa-typing-line::before {
    content: attr(data-text);
    display: block;
    visibility: hidden;
    padding-bottom: .18em;        /* room for descenders (p, g, y) and the full stop */
    margin-bottom: -.18em;
    line-height: 1.05;
    pointer-events: none;
}

.wa-hero__title .wa-typing-text {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: block;
    padding: 0 .06em .18em 0;
    line-height: 1.05;
}

.wa-hero__title .wa-typing-gradient .wa-typing-text {
    background: linear-gradient(100deg, var(--wa-cyan), var(--wa-magenta) 55%, var(--wa-orange));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.wa-hero__title .wa-typing-cursor {
    display: inline-block;
    width: .06em;
    height: .85em;
    margin-left: .06em;
    vertical-align: -.02em;
    background: var(--wa-cyan);
    -webkit-text-fill-color: initial;
    animation: wa-typing-blink .7s steps(1, end) infinite;
}

@keyframes wa-typing-blink {
    0%, 45% { opacity: 1; }
    46%, 100% { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .wa-hero__title .wa-typing-cursor { animation: none; opacity: 1; }
}

/* ---- the live app console ------------------------------------------------ */

.wa-hero__stage {
    position: relative;
    perspective: 1400px;
}

.wa-console {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(165deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, .05));
    border: 1px solid rgba(255, 255, 255, .22);
    box-shadow: 0 44px 90px rgba(5, 3, 24, .6), 0 4px 18px rgba(5, 3, 24, .4);
    transform: rotateY(-7deg) rotateX(2deg) translateZ(0);
    transition: transform .6s var(--wa-ease);
    /* anti-aliasing for 3D-transformed rounded edges */
    backface-visibility: hidden;
    will-change: transform;
    outline: 1px solid transparent;
    isolation: isolate;
    -webkit-mask-image: -webkit-radial-gradient(white, black);
}

.wa-hero__stage:hover .wa-console {
    transform: rotateY(-2deg) rotateX(1deg) translateZ(0);
}

.wa-console__bar {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: .85rem 1.15rem;
    background: rgba(10, 11, 46, .55);
    border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.wa-console__dots {
    display: flex;
    gap: .42rem;
}

.wa-console__dots i {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .24);
}

.wa-console__dots i:nth-child(1) { background: rgba(240, 164, 0, .8); }
.wa-console__dots i:nth-child(2) { background: rgba(67, 210, 224, .75); }
.wa-console__dots i:nth-child(3) { background: rgba(181, 27, 181, .75); }

.wa-console__tabs {
    display: flex;
    gap: .35rem;
    margin-left: auto;
}

.wa-console__tab {
    padding: .38rem .85rem;
    border: 0;
    border-radius: 999px;
    font-family: inherit;
    font-size: .82rem;
    font-weight: 500;
    color: rgba(255, 255, 255, .62);
    background: transparent;
    cursor: pointer;
    transition: color .3s, background .3s;
}

.wa-console__tab.is-active {
    color: #fff;
    background: linear-gradient(90deg, var(--wa-purple), var(--wa-magenta));
}

/* countdown ring: shows time until the console switches screen */
.wa-console__ring {
    width: 26px;
    height: 26px;
    flex: none;
}

.wa-console__ring svg {
    width: 100%;
    height: 100%;
    rotate: -90deg;
}

.wa-console__ring circle {
    fill: none;
    stroke: var(--wa-cyan);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-dasharray: 94.2;
    stroke-dashoffset: 0;
}

.wa-console.is-ticking .wa-console__ring circle {
    animation: wa-tick 5s linear infinite;
}

@keyframes wa-tick {
    from { stroke-dashoffset: 94.2; }
    to { stroke-dashoffset: 0; }
}

.wa-console__body {
    display: grid;
    grid-template-columns: 64px 1fr;
    min-height: 330px;
    background: linear-gradient(170deg, rgba(10, 11, 46, .62), rgba(20, 8, 58, .55));
}

.wa-console__side {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.15rem;
    padding: 1.15rem 0;
    border-right: 1px solid rgba(255, 255, 255, .1);
}

.wa-console__logo {
    width: 30px;
    height: 30px;
    border-radius: 9px;
    background: linear-gradient(135deg, var(--wa-magenta), var(--wa-purple));
}

.wa-console__nav {
    display: flex;
    flex-direction: column;
    gap: .75rem;
    margin-top: .35rem;
}

.wa-console__nav span {
    width: 22px;
    height: 22px;
    border-radius: 7px;
    background: rgba(255, 255, 255, .12);
}

.wa-console__nav span.is-active {
    background: linear-gradient(135deg, var(--wa-cyan), var(--wa-purple));
    box-shadow: 0 0 14px rgba(67, 210, 224, .55);
}

.wa-console__avatar {
    margin-top: auto;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--wa-orange), var(--wa-magenta));
}

.wa-console__screens {
    position: relative;
    padding: 1.15rem 1.35rem 1.35rem;
}

.wa-console__screen {
    position: absolute;
    inset: 1.15rem 1.35rem 1.35rem;
    opacity: 0;
    transform: translateY(14px) scale(.98);
    transition: opacity .55s var(--wa-ease), transform .55s var(--wa-ease);
    pointer-events: none;
}

.wa-console__screen.is-active {
    position: relative;
    inset: auto;
    opacity: 1;
    transform: none;
    pointer-events: auto;
}

/* screen 0 — dashboard */
.wa-console__kpis {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .75rem;
    margin-bottom: 1.15rem;
}

.wa-console__kpi {
    padding: .85rem .95rem;
    border-radius: 13px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .12);
}

.wa-console__kpi b {
    display: block;
    font-size: 1.32rem;
    font-weight: 600;
    color: #fff;
}

.wa-console__kpi small {
    font-size: .74rem;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .55);
}

.wa-console__chart {
    padding: 1.15rem 1.15rem .85rem;
    border-radius: 15px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .1);
}

.wa-console__bars {
    display: flex;
    align-items: flex-end;
    gap: .65rem;
    height: 118px;
}

.wa-console__bars i {
    flex: 1;
    height: var(--h);
    border-radius: 7px 7px 3px 3px;
    background: linear-gradient(180deg, var(--wa-cyan), rgba(67, 210, 224, .18));
    transform-origin: bottom;
    animation: wa-grow 1.1s var(--wa-ease) both;
}

.wa-console__bars i:nth-child(even) {
    background: linear-gradient(180deg, var(--wa-magenta), rgba(181, 27, 181, .18));
}

.wa-console__bars i:nth-child(2) { animation-delay: .08s; }
.wa-console__bars i:nth-child(3) { animation-delay: .16s; }
.wa-console__bars i:nth-child(4) { animation-delay: .24s; }
.wa-console__bars i:nth-child(5) { animation-delay: .32s; }
.wa-console__bars i:nth-child(6) { animation-delay: .4s; }
.wa-console__bars i:nth-child(7) { animation-delay: .48s; }
.wa-console__bars i:nth-child(8) { animation-delay: .56s; }

@keyframes wa-grow {
    from { transform: scaleY(.15); opacity: 0; }
}

.wa-console__spark {
    margin-top: .85rem;
    height: 52px;
}

.wa-console__spark svg {
    width: 100%;
    height: 100%;
}

.wa-console__spark polyline {
    fill: none;
    stroke: var(--wa-orange);
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 420;
    stroke-dashoffset: 420;
    animation: wa-draw 2.2s var(--wa-ease) .5s forwards;
}

@keyframes wa-draw {
    to { stroke-dashoffset: 0; }
}

/* screen 1 — workflows */
.wa-console__cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .85rem;
    height: 100%;
}

.wa-console__col {
    padding: .95rem .85rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .1);
}

.wa-console__col small {
    display: block;
    margin-bottom: .85rem;
    font-size: .72rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .58);
}

.wa-console__col span {
    display: block;
    height: 34px;
    margin-bottom: .65rem;
    border-radius: 9px;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .12);
    animation: wa-blink 3.2s ease-in-out infinite;
}

.wa-console__col span.is-hot {
    background: linear-gradient(100deg, rgba(240, 164, 0, .8), rgba(181, 27, 181, .65));
    border-color: transparent;
}

.wa-console__col:nth-child(2) span { animation-delay: .5s; }
.wa-console__col:nth-child(3) span { animation-delay: 1s; }

@keyframes wa-blink {
    50% { opacity: .55; }
}

/* screen 2 — insights */
.wa-console__donuts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .85rem;
    margin-bottom: 1.05rem;
}

.wa-console__donut {
    --p: 70;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .6rem;
    padding: 1rem .5rem .9rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .12);
    transition: transform .45s var(--wa-ease), background .45s var(--wa-ease),
        border-color .45s var(--wa-ease);
}

.wa-console__donut:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, .1);
    border-color: rgba(255, 255, 255, .24);
}

.wa-console__donut-ring {
    position: relative;
    width: 84px;
    height: 84px;
}

.wa-console__donut-ring svg {
    display: block;
    width: 100%;
    height: 100%;
    rotate: -90deg;
    overflow: visible;
}

.wa-console__donut-ring circle {
    fill: none;
    stroke-width: 7;
    stroke-linecap: round;
}

.wa-console__donut-track {
    stroke: rgba(255, 255, 255, .12);
}

.wa-console__donut-fill {
    stroke-dasharray: 0 100;
    filter: drop-shadow(0 0 5px rgba(67, 210, 224, .45));
    transition: stroke-dasharray 1.4s var(--wa-ease) .25s;
}

/* ring sweeps in every time the Insights screen is shown */
.wa-console__screen.is-active .wa-console__donut-fill {
    stroke-dasharray: var(--p) 100;
}

.wa-console__donut-ring b {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-size: 1.12rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    color: #fff;
}

.wa-console__donut small {
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: rgba(255, 255, 255, .62);
}

.wa-console__rows span {
    display: block;
    height: 15px;
    margin: 0 0 .62rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, .12);
}

.wa-console__rows span:nth-child(1) { width: 88%; }
.wa-console__rows span:nth-child(2) { width: 68%; }
.wa-console__rows span:nth-child(3) { width: 76%; }

.wa-console__foot {
    display: flex;
    align-items: center;
    gap: .65rem;
    padding: .8rem 1.15rem;
    font-size: .82rem;
    letter-spacing: .03em;
    color: rgba(255, 255, 255, .72);
    background: rgba(10, 11, 46, .62);
    border-top: 1px solid rgba(255, 255, 255, .12);
}

.wa-console__pulse {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--wa-green);
    box-shadow: 0 0 0 0 rgba(52, 211, 153, .6);
    animation: wa-ping 2.2s ease-out infinite;
}

@keyframes wa-ping {
    70% { box-shadow: 0 0 0 11px rgba(52, 211, 153, 0); }
    100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

/* floating glass readouts */
.wa-hero__float {
    position: absolute;
    padding: .85rem 1.15rem;
    border-radius: 16px;
    background: rgba(20, 8, 58, .62);
    backface-visibility: hidden;
    will-change: translate;
    border: 1px solid rgba(255, 255, 255, .22);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    box-shadow: 0 18px 44px rgba(5, 3, 24, .45);
    animation: wa-floaty 7s ease-in-out infinite;
}

.wa-hero__float b {
    display: block;
    font-size: 1.02rem;
    font-weight: 600;
    color: #fff;
}

.wa-hero__float small {
    font-size: .78rem;
    color: rgba(255, 255, 255, .68);
}

.wa-hero__float--a {
    left: -5%;
    top: -7%;
}

.wa-hero__float--b {
    right: -3%;
    bottom: 12%;
    animation-delay: 1.6s;
}

@keyframes wa-floaty {
    50% { translate: 0 -14px; }
}

.wa-hero__scroll {
    position: absolute;
    left: 50%;
    bottom: 1.65rem;
    translate: -50% 0;
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    font-size: .8rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .6);
}

.wa-hero__scroll span {
    width: 1px;
    height: 34px;
    background: linear-gradient(180deg, transparent, rgba(255, 255, 255, .75));
    animation: wa-drip 1.8s ease-in-out infinite;
}

@keyframes wa-drip {
    50% { translate: 0 8px; opacity: .45; }
}


/* ============================================================
   2. INSTRUMENT STRIP
   ============================================================ */

.wa-instruments {
    position: relative;
    padding: clamp(4.5rem, 9vh, 7rem) 0;
    background:
        radial-gradient(60% 70% at 8% 8%, rgba(67, 210, 224, .16), transparent 55%),
        radial-gradient(55% 65% at 94% 92%, rgba(181, 27, 181, .13), transparent 55%),
        linear-gradient(180deg, var(--wa-paper), #fff);
}

.wa-instruments__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.15rem;
}

.wa-gauge {
    padding: 1.85rem 1.55rem 1.75rem;
    border-radius: var(--wa-radius);
    background: #fff;
    border: 1px solid rgba(74, 18, 140, .1);
    box-shadow: 0 22px 50px rgba(38, 13, 78, .1);
    transition: transform .45s var(--wa-ease), box-shadow .45s var(--wa-ease);
}

.wa-gauge:hover {
    transform: translateY(-8px);
    box-shadow: 0 32px 68px rgba(38, 13, 78, .18);
}

.wa-gauge__dial svg {
    width: 100%;
    height: auto;
    overflow: visible;
}

.wa-gauge__track {
    fill: none;
    stroke: rgba(74, 18, 140, .12);
    stroke-width: 9;
    stroke-linecap: round;
}

.wa-gauge__fill {
    --p: .8;
    fill: none;
    stroke: var(--wa-purple);
    stroke-width: 9;
    stroke-linecap: round;
    stroke-dasharray: 151;
    stroke-dashoffset: 151;
    transition: stroke-dashoffset 1.4s var(--wa-ease) .25s;
}

/* the dial sweeps in when the strip is revealed (webapp.js adds .is-visible) */
.wa-reveal.is-visible .wa-gauge__fill {
    stroke-dashoffset: calc(151 - 151 * var(--p));
}

.wa-gauge:nth-child(2) .wa-gauge__fill { stroke: var(--wa-cyan); }
.wa-gauge:nth-child(3) .wa-gauge__fill { stroke: var(--wa-magenta); }
.wa-gauge:nth-child(4) .wa-gauge__fill { stroke: var(--wa-orange); }

.wa-gauge__pin {
    fill: var(--wa-violet);
}

.wa-gauge__value {
    display: block;
    margin: .85rem 0 .35rem;
    font-size: clamp(2.15rem, 3.2vw, 2.75rem);
    font-weight: 600;
    letter-spacing: -.02em;
    color: var(--wa-ink);
}

.wa-gauge h3 {
    margin-bottom: .55rem;
    font-size: 1.12rem;
    font-weight: 600;
    color: var(--wa-violet);
}

.wa-gauge p {
    font-size: .96rem;
    line-height: 1.6;
    color: rgba(10, 11, 46, .7);
}


/* ============================================================
   3. BENTO — WHAT WE BUILD
   ============================================================ */

.wa-bento {
    position: relative;
    padding: clamp(4.5rem, 9vh, 7rem) 0;
    overflow: hidden;
    background:
        radial-gradient(75% 60% at 82% 0%, rgba(123, 47, 247, .32), transparent 58%),
        radial-gradient(65% 60% at 6% 100%, rgba(67, 210, 224, .18), transparent 55%),
        linear-gradient(165deg, var(--wa-ink) 0%, var(--wa-ink-2) 55%, var(--wa-violet) 130%);
}

.wa-bento__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.15rem;
}

.wa-tile {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: .75rem;
    padding: 1.85rem 1.75rem;
    border-radius: var(--wa-radius);
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .14);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    overflow: hidden;
    transition: transform .45s var(--wa-ease), border-color .45s var(--wa-ease),
        background .45s var(--wa-ease);
}

.wa-tile::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(60% 90% at 100% 0%, rgba(67, 210, 224, .18), transparent 60%);
        opacity: 0;
    transition: opacity .45s var(--wa-ease);
}

.wa-tile:hover {
    transform: translateY(-7px);
    border-color: rgba(67, 210, 224, .45);
    background: rgba(255, 255, 255, .11);
}

.wa-tile:hover::after { opacity: 1; }

.wa-tile h3 {
    font-size: 1.28rem;
    font-weight: 600;
    color: #fff;
}

.wa-tile p {
    font-size: .98rem;
    line-height: 1.62;
    color: rgba(255, 255, 255, .76);
}

.wa-tile--wide {
    grid-column: span 2;
    grid-row: span 2;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: 1.75rem;
    align-items: center;
    padding: 2.15rem;
    background: rgba(255, 255, 255, .1);
}

.wa-tile__copy h3 { font-size: 1.65rem; margin-bottom: .65rem; }
.wa-tile__copy p { font-size: 1.05rem; }

/* animated mini product inside the wide tile */
.wa-tile__viz { perspective: 900px; }

.wa-tile__panel {
    border-radius: 16px;
    overflow: hidden;
    background: rgba(10, 11, 46, .55);
    border: 1px solid rgba(255, 255, 255, .18);
    box-shadow: 0 30px 60px rgba(5, 3, 24, .5);
    transform: rotateY(-11deg) rotateX(4deg);
    transition: transform .6s var(--wa-ease);
}

.wa-tile--wide:hover .wa-tile__panel {
    transform: rotateY(-4deg) rotateX(1deg);
}

.wa-tile__panel-bar {
    display: flex;
    gap: .42rem;
    padding: .8rem .95rem;
    background: rgba(255, 255, 255, .07);
    border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.wa-tile__panel-bar i {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .28);
}

.wa-tile__panel-bar i:nth-child(1) { background: var(--wa-orange); }
.wa-tile__panel-bar i:nth-child(2) { background: var(--wa-cyan); }
.wa-tile__panel-bar i:nth-child(3) { background: var(--wa-magenta); }

.wa-tile__panel-body {
    display: grid;
    grid-template-columns: 74px 1fr;
    min-height: 230px;
}

.wa-tile__side {
    display: flex;
    flex-direction: column;
    gap: .62rem;
    padding: 1.05rem .85rem;
    border-right: 1px solid rgba(255, 255, 255, .1);
}

.wa-tile__side span {
    height: 11px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .16);
}

.wa-tile__side span:first-child {
    background: linear-gradient(90deg, var(--wa-cyan), var(--wa-purple));
}

.wa-tile__main {
    padding: 1.15rem 1.15rem 1.05rem;
}

.wa-tile__line {
    height: 13px;
    margin-bottom: .72rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, .16);
}

.wa-tile__line--lg {
    width: 62%;
    height: 19px;
    background: linear-gradient(90deg, rgba(67, 210, 224, .85), rgba(67, 210, 224, .25));
}

.wa-tile__line--sm { width: 44%; }

.wa-tile__mini-bars {
    display: flex;
    align-items: flex-end;
    gap: .55rem;
    height: 86px;
    margin: 1.15rem 0 .85rem;
}

.wa-tile__mini-bars i {
    flex: 1;
    border-radius: 6px 6px 2px 2px;
    background: linear-gradient(180deg, var(--wa-magenta), rgba(181, 27, 181, .2));
    animation: wa-bounce 2.8s var(--wa-ease) infinite;
}

.wa-tile__mini-bars i:nth-child(1) { height: 38%; animation-delay: 0s; }
.wa-tile__mini-bars i:nth-child(2) { height: 62%; animation-delay: .2s; }
.wa-tile__mini-bars i:nth-child(3) { height: 48%; animation-delay: .4s; }
.wa-tile__mini-bars i:nth-child(4) { height: 82%; animation-delay: .6s; background: linear-gradient(180deg, var(--wa-orange), rgba(240, 164, 0, .2)); }
.wa-tile__mini-bars i:nth-child(5) { height: 58%; animation-delay: .8s; }
.wa-tile__mini-bars i:nth-child(6) { height: 95%; animation-delay: 1s; background: linear-gradient(180deg, var(--wa-cyan), rgba(67, 210, 224, .2)); }

@keyframes wa-bounce {
    50% { transform: scaleY(.72); }
}

/* tile icons (pure CSS pictograms) */
.wa-tile__icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .16);
}

.wa-ico {
    position: relative;
    width: 24px;
    height: 24px;
}

.wa-ico--gauge::before {
    content: "";
    position: absolute;
    inset: 2px;
    border-radius: 50%;
    border: 3px solid var(--wa-cyan);
    border-bottom-color: transparent;
    rotate: -45deg;
}

.wa-ico--gauge::after {
    content: "";
    position: absolute;
    left: 11px;
    top: 11px;
    width: 9px;
    height: 3px;
    border-radius: 2px;
    background: var(--wa-orange);
    rotate: -60deg;
    transform-origin: left center;
}

.wa-ico--portal::before {
    content: "";
    position: absolute;
    inset: 3px 5px;
    border-radius: 6px;
    border: 2.5px solid var(--wa-magenta);
}

.wa-ico--portal::after {
    content: "";
    position: absolute;
    left: 14px;
    top: 10px;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--wa-cyan);
    box-shadow: -6px 0 0 var(--wa-cyan);
}

.wa-ico--flow::before,
.wa-ico--flow::after {
    content: "";
    position: absolute;
    width: 13px;
    height: 13px;
    border-radius: 4px;
    border: 2.5px solid var(--wa-orange);
}

.wa-ico--flow::before { left: 1px; top: 1px; }

.wa-ico--flow::after {
    right: 1px;
    bottom: 1px;
    border-color: var(--wa-cyan);
}

.wa-ico--market::before {
    content: "";
    position: absolute;
    inset: 4px 2px 3px;
    border-radius: 4px 4px 7px 7px;
    border: 2.5px solid var(--wa-cyan);
    border-top-width: 7px;
}

.wa-ico--realtime::before {
    content: "";
    position: absolute;
    inset: 3px;
    border-radius: 50%;
    border: 2.5px solid var(--wa-magenta);
    animation: wa-ping 2.4s ease-out infinite;
}

.wa-ico--realtime::after {
    content: "";
    position: absolute;
    inset: 9px;
    border-radius: 50%;
    background: var(--wa-orange);
}


/* ============================================================
   4. LAYERS — SYSTEM BLUEPRINT (all text always visible)
   ============================================================ */

.wa-layers {
    padding: clamp(4.5rem, 9vh, 7rem) 0;
    background:
        radial-gradient(60% 50% at 90% 8%, rgba(240, 164, 0, .12), transparent 55%),
        radial-gradient(55% 50% at 6% 60%, rgba(123, 47, 247, .09), transparent 55%),
        linear-gradient(180deg, var(--wa-paper), #fff);
}

.wa-lay-flow {
    position: relative;
    display: grid;
    gap: 1.6rem;
    max-width: 1020px;
    margin: 3rem auto 0;
}

/* vertical "request flow" line running through every layer */
.wa-lay-flow::before {
    content: "";
    position: absolute;
    top: 20px;
    bottom: 20px;
    left: 34px;
    width: 3px;
    border-radius: 3px;
    background: linear-gradient(180deg, var(--wa-cyan), var(--wa-purple), var(--wa-magenta), var(--wa-orange));
    opacity: .35;
}

.wa-lay-flow::after {
    content: "";
    position: absolute;
    left: 29px;
    top: 20px;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid var(--wa-purple);
    box-shadow: 0 0 0 5px rgba(123, 47, 247, .16);
    animation: wa-flow 5.5s var(--wa-ease) infinite;
}

@keyframes wa-flow {
    0%   { top: 20px; opacity: 0; }
    10%  { opacity: 1; }
    90%  { opacity: 1; }
    100% { top: calc(100% - 33px); opacity: 0; }
}

.wa-lay {
    --c1: var(--wa-cyan);
    --c2: var(--wa-purple);
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    gap: 2rem;
    align-items: center;
    margin-left: 68px;
    padding: 1.7rem 2rem;
    border-radius: 24px;
    background: #fff;
    border: 1px solid rgba(74, 18, 140, .12);
    box-shadow: 0 16px 40px rgba(38, 13, 78, .08);
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .7s var(--wa-ease), transform .7s var(--wa-ease),
        box-shadow .45s var(--wa-ease), border-color .45s var(--wa-ease);
}

.wa-reveal.is-visible .wa-lay { opacity: 1; transform: none; }
.wa-reveal.is-visible .wa-lay:nth-child(1) { transition-delay: .05s; }
.wa-reveal.is-visible .wa-lay:nth-child(2) { transition-delay: .2s; }
.wa-reveal.is-visible .wa-lay:nth-child(3) { transition-delay: .35s; }
.wa-reveal.is-visible .wa-lay:nth-child(4) { transition-delay: .5s; }

.wa-lay--api   { --c1: var(--wa-purple);  --c2: var(--wa-magenta); }
.wa-lay--data  { --c1: var(--wa-magenta); --c2: var(--wa-orange); }
.wa-lay--infra { --c1: var(--wa-orange);  --c2: var(--wa-green); }

/* node on the flow line */
.wa-lay::before {
    content: "";
    position: absolute;
    left: -43px;
    top: 50%;
    width: 18px;
    height: 18px;
    margin-top: -9px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--c1), var(--c2));
    box-shadow: 0 0 0 5px #fff, 0 0 0 6px rgba(74, 18, 140, .12);
}

/* little connector from the node into the card */
.wa-lay::after {
    content: "";
    position: absolute;
    left: -25px;
    top: 50%;
    width: 25px;
    height: 2px;
    background: linear-gradient(90deg, var(--c1), rgba(74, 18, 140, .12));
}

.wa-reveal.is-visible .wa-lay:hover {
    transform: translateX(6px);
    border-color: rgba(123, 47, 247, .38);
    box-shadow: 0 24px 56px rgba(74, 18, 140, .16);
}

.wa-lay__info h3 {
    margin: 0 0 .55rem;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--wa-ink);
}

.wa-lay__info p {
    margin: 0 0 1.05rem;
    font-size: 1rem;
    line-height: 1.65;
    color: rgba(10, 11, 46, .78);
}

.wa-lay__chips {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.wa-lay__chips li {
    padding: .3rem .8rem;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 500;
    letter-spacing: .04em;
    color: var(--wa-violet);
    background: rgba(123, 47, 247, .09);
    border: 1px solid rgba(123, 47, 247, .22);
}

/* ---- mini illustrations ---- */
.wa-lay__visual {
    display: grid;
    place-items: center;
    min-height: 150px;
    padding: 1.1rem;
    border-radius: 18px;
    background: linear-gradient(160deg, rgba(123, 47, 247, .07), rgba(67, 210, 224, .09));
    border: 1px solid rgba(74, 18, 140, .08);
}

/* experience: wireframe screen */
.wa-lay__ui {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .5rem;
    width: 100%;
    max-width: 260px;
    padding: .7rem;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 10px 26px rgba(38, 13, 78, .12);
}
.wa-lay__ui-bar { grid-column: 1 / -1; display: flex; gap: .3rem; }
.wa-lay__ui-bar i { width: 7px; height: 7px; border-radius: 50%; background: rgba(74, 18, 140, .22); }
.wa-lay__ui-bar i:first-child { background: var(--wa-orange); }
.wa-lay__ui-hero { grid-column: 1 / -1; height: 34px; border-radius: 9px;
    background: linear-gradient(100deg, var(--wa-cyan), var(--wa-purple)); }
.wa-lay__ui-card { height: 30px; border-radius: 8px; background: rgba(123, 47, 247, .12); }

/* application: connected service nodes */
.wa-lay__api { display: flex; align-items: center; width: 100%; max-width: 260px; }
.wa-lay__api span { flex: none; width: 30px; height: 30px; border-radius: 10px;
    background: linear-gradient(135deg, var(--wa-purple), var(--wa-magenta));
    box-shadow: 0 8px 18px rgba(123, 47, 247, .3); }
.wa-lay__api i { flex: 1; height: 3px; margin: 0 .25rem; border-radius: 3px; overflow: hidden;
    background: linear-gradient(90deg, rgba(123, 47, 247, .5) 0 50%, rgba(123, 47, 247, .15) 50%) 0 0 / 200% 100%;
    animation: wa-api 1.6s linear infinite; }
@keyframes wa-api { to { background-position: -200% 0; } }

/* data: stacked database discs */
.wa-lay__data { display: grid; gap: .35rem; width: 120px; }
.wa-lay__data span { height: 30px; border-radius: 50% / 60%;
    background: linear-gradient(180deg, #fff, rgba(181, 27, 181, .22));
    border: 2px solid rgba(181, 27, 181, .45);
    box-shadow: 0 6px 14px rgba(181, 27, 181, .16);
    animation: wa-disc 3.2s ease-in-out infinite; }
.wa-lay__data span:nth-child(2) { animation-delay: .4s; }
.wa-lay__data span:nth-child(3) { animation-delay: .8s; }
@keyframes wa-disc { 50% { transform: translateY(-4px); } }

/* infrastructure: node grid with status lights */
.wa-lay__infra { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; width: 100%; max-width: 220px; }
.wa-lay__infra i { position: relative; height: 40px; border-radius: 10px;
    background: rgba(240, 164, 0, .16); border: 1px solid rgba(240, 164, 0, .4); }
.wa-lay__infra i::after { content: ""; position: absolute; top: 8px; right: 8px; width: 7px; height: 7px;
    border-radius: 50%; background: var(--wa-green); animation: wa-ping 2.2s ease-out infinite; }
.wa-lay__infra i:nth-child(even)::after { animation-delay: .9s; }

@media (max-width: 760px) {
    .wa-lay { grid-template-columns: 1fr; margin-left: 38px; padding: 1.35rem 1.25rem; }
    .wa-lay-flow::before { left: 10px; }
    .wa-lay-flow::after { left: 5px; }
    .wa-lay::before { left: -37px; width: 16px; height: 16px; margin-top: -8px; }
    .wa-lay::after { left: -21px; width: 21px; }
    .wa-lay__visual { min-height: 120px; }
}

@media (prefers-reduced-motion: reduce) {
    .wa-lay { opacity: 1; transform: none; transition: none; }
    .wa-lay-flow::after, .wa-lay__api i, .wa-lay__data span, .wa-lay__infra i::after { animation: none; }
}


/* ============================================================
   5. TRAJECTORY — IDEA TO USERS
   ============================================================ */

.wa-trajectory {
    position: relative;
    padding: clamp(4.5rem, 9vh, 7rem) 0;
    overflow: hidden;
    background:
        radial-gradient(70% 60% at 12% 10%, rgba(181, 27, 181, .26), transparent 55%),
        radial-gradient(60% 55% at 90% 90%, rgba(67, 210, 224, .16), transparent 55%),
        linear-gradient(170deg, var(--wa-ink-2), var(--wa-ink));
}

/* Roadmap — staggered phase bars (Gantt style, overlapping like real projects) */
.wa-road {
    --road-cols: 10;
    position: relative;
    margin-top: 1rem;
    padding: 0 0 .5rem;
}

.wa-road__axis {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    padding-bottom: .9rem;
    margin-bottom: 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, .14);
    font-size: .74rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .5);
}

.wa-road__axis span:nth-child(n+2) { text-align: center; }
.wa-road__axis span:last-child { text-align: right; }

.wa-road__grid {
    position: absolute;
    inset: 3rem 0 0;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    pointer-events: none;
}

.wa-road__grid i {
    border-left: 1px dashed rgba(255, 255, 255, .09);
}

.wa-road__grid i:first-child { border-left: 0; }

.wa-bar {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(var(--road-cols), minmax(0, 1fr));
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateX(-28px);
    transition: opacity .7s var(--wa-ease), transform .7s var(--wa-ease);
}

.wa-reveal.is-visible .wa-bar { opacity: 1; transform: none; }
.wa-reveal.is-visible .wa-bar:nth-of-type(1) { transition-delay: .10s; }
.wa-reveal.is-visible .wa-bar:nth-of-type(2) { transition-delay: .25s; }
.wa-reveal.is-visible .wa-bar:nth-of-type(3) { transition-delay: .40s; }
.wa-reveal.is-visible .wa-bar:nth-of-type(4) { transition-delay: .55s; }
.wa-reveal.is-visible .wa-bar:nth-of-type(5) { transition-delay: .70s; }

/* each bar starts a little later than the last — the "staircase" */
.wa-bar:nth-of-type(1) .wa-bar__body { grid-column: 1 / 6;  --b1: var(--wa-cyan);    --b2: var(--wa-purple); }
.wa-bar:nth-of-type(2) .wa-bar__body { grid-column: 2 / 7;  --b1: var(--wa-purple);  --b2: var(--wa-magenta); }
.wa-bar:nth-of-type(3) .wa-bar__body { grid-column: 4 / 9;  --b1: var(--wa-magenta); --b2: var(--wa-orange); }
.wa-bar:nth-of-type(4) .wa-bar__body { grid-column: 5 / 10; --b1: var(--wa-orange);  --b2: var(--wa-magenta); }
.wa-bar:nth-of-type(5) .wa-bar__body { grid-column: 6 / 11; --b1: var(--wa-cyan);    --b2: var(--wa-green); }

.wa-bar__body {
    position: relative;
    display: flex;
    gap: 1.1rem;
    align-items: flex-start;
    padding: 1.15rem 1.4rem 1.15rem 1.15rem;
    border-radius: 18px;
    overflow: hidden;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .13);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    transition: transform .45s var(--wa-ease), background .45s var(--wa-ease),
        border-color .45s var(--wa-ease), box-shadow .45s var(--wa-ease);
}

/* coloured accent rail on the left edge of each bar */
.wa-bar__body::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 5px;
    background: linear-gradient(180deg, var(--b1), var(--b2));
}

/* the final bar fades out to show the work never really ends */
.wa-bar:nth-of-type(5) .wa-bar__body {
    -webkit-mask-image: linear-gradient(90deg, #000 70%, rgba(0, 0, 0, .35));
    mask-image: linear-gradient(90deg, #000 70%, rgba(0, 0, 0, .35));
}

.wa-bar__body:hover {
    transform: translateX(8px);
    background: rgba(255, 255, 255, .11);
    border-color: rgba(255, 255, 255, .3);
    box-shadow: 0 18px 44px rgba(0, 0, 0, .28), 0 0 0 1px rgba(255, 255, 255, .04);
}

.wa-bar__icon {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    color: #fff;
    background: linear-gradient(135deg, var(--b1), var(--b2));
    box-shadow: 0 8px 22px rgba(0, 0, 0, .3);
}

.wa-bar__icon svg { width: 22px; height: 22px; }

.wa-bar__top {
    min-height: 46px;
    margin-top: -.0rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .35rem .8rem;
    margin-bottom: 0;
}

.wa-bar h3 {
    margin: 0;
    font-size: 1.2rem;
    line-height: 1.25;
    font-weight: 600;
    color: #fff;
}

.wa-bar small {
    padding: .22rem .65rem;
    border-radius: 999px;
    font-size: .72rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--wa-orange);
    background: rgba(240, 164, 0, .12);
    border: 1px solid rgba(240, 164, 0, .3);
}

.wa-bar p {
    margin: 0;
    font-size: .95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, .76);
}


/* ============================================================
   6. LOAD — BUILT FOR THE DAY IT GOES VIRAL
   ============================================================ */

.wa-load {
    padding: clamp(4.5rem, 9vh, 7rem) 0;
    background:
        radial-gradient(60% 65% at 4% 90%, rgba(67, 210, 224, .16), transparent 55%),
        linear-gradient(180deg, #fff, var(--wa-paper));
}

.wa-load__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    gap: clamp(2.25rem, 4.5vw, 4.5rem);
    align-items: center;
}

.wa-chart {
    position: relative;
    margin: 2.25rem 0 0;
    padding: 1.35rem 1.35rem 1.15rem;
    border-radius: 22px;
    background: #fff;
    border: 1px solid rgba(74, 18, 140, .1);
    box-shadow: 0 28px 60px rgba(38, 13, 78, .12);
}

.wa-chart svg {
    width: 100%;
    height: 260px;
    overflow: visible;
}

.wa-chart__grid line {
    stroke: rgba(74, 18, 140, .1);
    stroke-width: 1;
}

.wa-chart__area {
    fill: url(#wa-chart-fill);
    opacity: 0;
    transition: opacity 1.2s var(--wa-ease) .8s;
}

.wa-reveal.is-visible .wa-chart__area { opacity: 1; }

.wa-chart__line {
    fill: none;
    stroke: var(--wa-purple);
    stroke-width: 3.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 1200;
    stroke-dashoffset: 1200;
    transition: stroke-dashoffset 2.2s var(--wa-ease) .25s;
}

.wa-reveal.is-visible .wa-chart__line { stroke-dashoffset: 0; }

.wa-chart__spike {
    fill: #fff;
    stroke: var(--wa-magenta);
    stroke-width: 4;
    opacity: 0;
    transition: opacity .5s ease 1.9s;
}

.wa-reveal.is-visible .wa-chart__spike {
    opacity: 1;
    animation: wa-pulse-dot 2.2s ease-in-out 2.2s infinite;
}

@keyframes wa-pulse-dot {
    50% { r: 11; }
}

.wa-chart figcaption {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem 1.35rem;
    margin-top: 1.05rem;
    font-size: .86rem;
    letter-spacing: .03em;
}

.wa-chart__spike-label {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    color: var(--wa-magenta);
    font-weight: 600;
}

.wa-chart__spike-label::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--wa-magenta);
}

.wa-chart__flat-label {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    color: rgba(10, 11, 46, .66);
}

.wa-chart__flat-label::before {
    content: "";
    width: 18px;
    height: 3px;
    border-radius: 2px;
    background: var(--wa-purple);
}

.wa-load__pillars {
    display: grid;
    gap: 1.05rem;
}

.wa-pillar {
    padding: 1.55rem 1.65rem;
    border-radius: 20px;
    background: #fff;
    border: 1px solid rgba(74, 18, 140, .1);
    border-left: 4px solid var(--wa-cyan);
    box-shadow: 0 18px 42px rgba(38, 13, 78, .09);
    transition: transform .45s var(--wa-ease), box-shadow .45s var(--wa-ease);
}

.wa-pillar:nth-child(2) { border-left-color: var(--wa-magenta); }
.wa-pillar:nth-child(3) { border-left-color: var(--wa-orange); }
.wa-pillar:nth-child(4) { border-left-color: var(--wa-purple); }

.wa-pillar:hover {
    transform: translateX(8px);
    box-shadow: 0 26px 56px rgba(38, 13, 78, .16);
}

.wa-pillar b {
    display: block;
    margin-bottom: .45rem;
    font-size: 1.14rem;
    font-weight: 600;
    color: var(--wa-ink);
}

.wa-pillar p {
    font-size: .97rem;
    line-height: 1.6;
    color: rgba(10, 11, 46, .7);
}


/* ============================================================
   7. STAGES — THE RIGHT STACK FOR YOUR STAGE
   ============================================================ */

.wa-stages {
    padding: clamp(4.5rem, 9vh, 7rem) 0;
    background:
        radial-gradient(70% 65% at 90% 0%, rgba(123, 47, 247, .3), transparent 58%),
        radial-gradient(55% 55% at 5% 100%, rgba(240, 164, 0, .14), transparent 55%),
        linear-gradient(175deg, var(--wa-ink) 0%, var(--wa-ink-2) 60%, var(--wa-violet) 135%);
}

.wa-stages__switch {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: min(100%, 560px);
    margin: 0 auto 2.25rem;
    padding: .45rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .16);
}

.wa-stages__thumb {
    position: absolute;
    top: .45rem;
    bottom: .45rem;
    left: .45rem;
    width: calc((100% - .9rem) / 3);
    border-radius: 999px;
    background: linear-gradient(90deg, var(--wa-purple), var(--wa-magenta));
    box-shadow: 0 8px 22px -8px var(--wa-magenta);
    transition: translate .45s var(--wa-ease);
}

.wa-stages__btn {
    position: relative;
    z-index: 1;
    padding: .78rem 1rem;
    border: 0;
    border-radius: 999px;
    font-family: inherit;
    font-size: 1.02rem;
    font-weight: 600;
    color: rgba(255, 255, 255, .72);
    background: transparent;
    cursor: pointer;
    transition: color .35s;
}

.wa-stages__btn.is-active { color: #fff; }

.wa-stages__panels {
    position: relative;
}

.wa-stage {
    display: none;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
    gap: clamp(1.75rem, 3.5vw, 3.25rem);
    align-items: center;
    padding: clamp(1.85rem, 3.5vw, 2.85rem);
    border-radius: var(--wa-radius);
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .16);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
}

.wa-stage.is-active {
    display: grid;
    animation: wa-stage-in .55s var(--wa-ease);
}

@keyframes wa-stage-in {
    from { opacity: 0; transform: translateY(18px); }
}

.wa-stage__brief h3 {
    font-size: clamp(1.55rem, 2.5vw, 2.15rem);
    font-weight: 600;
    line-height: 1.18;
    color: #fff;
    margin-bottom: .95rem;
}

.wa-stage__brief > p {
    font-size: 1.05rem;
    line-height: 1.66;
    color: rgba(255, 255, 255, .8);
    margin-bottom: 1.65rem;
}

.wa-stage__facts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .85rem;
}

.wa-stage__facts li {
    padding: 1.05rem 1.15rem;
    border-radius: 15px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .13);
}

.wa-stage__facts b {
    display: block;
    font-size: 1.18rem;
    font-weight: 600;
    color: var(--wa-cyan);
}

.wa-stage__facts small {
    font-size: .82rem;
    color: rgba(255, 255, 255, .66);
}

.wa-stage__stack {
    padding: 1.75rem;
    border-radius: 20px;
    background: rgba(10, 11, 46, .5);
    border: 1px solid rgba(255, 255, 255, .14);
}

.wa-stage__stack > small {
    display: block;
    margin-bottom: .85rem;
    font-size: .78rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .58);
}

.wa-stage__chips {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
    margin-bottom: 1.55rem;
}

.wa-stage__chips:last-child { margin-bottom: 0; }

.wa-stage__chips span {
    padding: .55rem 1.05rem;
    border-radius: 999px;
    font-family: "SFMono-Regular", Consolas, Menlo, monospace;
    font-size: .85rem;
    color: var(--wa-ink);
    background: linear-gradient(105deg, rgba(67, 210, 224, .95), rgba(67, 210, 224, .7));
    transition: transform .35s var(--wa-ease);
}

.wa-stage__chips span:hover { transform: translateY(-3px); }

.wa-stage__chips--soft span {
    color: rgba(255, 255, 255, .85);
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .18);
}


/* ============================================================
   8. CTA — LIFT-OFF
   ============================================================ */

.wa-cta {
    padding: clamp(3.5rem, 8vh, 6.5rem) 0 clamp(4.5rem, 9vh, 7.5rem);
    background: linear-gradient(180deg, var(--wa-violet), var(--wa-ink));
}

.wa-cta__card {
    position: relative;
    overflow: hidden;
    padding: clamp(2.75rem, 6vw, 4.75rem) clamp(1.75rem, 5vw, 4.25rem);
    border-radius: clamp(24px, 3vw, 36px);
    text-align: center;
    background:
        radial-gradient(60% 110% at 82% 12%, rgba(240, 164, 0, .3), transparent 58%),
        radial-gradient(55% 100% at 12% 92%, rgba(67, 210, 224, .26), transparent 55%),
        linear-gradient(140deg, rgba(181, 27, 181, .55), rgba(20, 8, 58, .9));
    border: 1px solid rgba(255, 255, 255, .22);
    box-shadow: 0 40px 90px rgba(5, 3, 24, .5);
}

.wa-cta__card h2 {
    margin: 1.05rem 0 1.15rem;
    font-size: clamp(1.85rem, 3.6vw, 3rem);
    line-height: 1.12;
    font-weight: 600;
    letter-spacing: -.015em;
    color: #fff;
}

.wa-cta__lead {
    max-width: 42rem;
    margin: 0 auto 2.15rem;
    font-size: clamp(1rem, 1.4vw, 1.16rem);
    line-height: 1.66;
    color: rgba(255, 255, 255, .82);
}

.wa-cta__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .95rem;
}

.wa-cta__ring {
    position: absolute;
    right: -70px;
    top: -70px;
    width: 260px;
    height: 260px;
    pointer-events: none;
}

.wa-cta__ring span {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .28);
}

.wa-cta__ring span:last-child {
    inset: 34px;
    border-color: rgba(255, 255, 255, .18);
}


/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1180px) {
    .wa-hero__inner {
        grid-template-columns: 1fr;
        padding: calc(var(--hdr-full, 108px) + 2rem) 0 clamp(3rem, 7vh, 5rem);
    }

    .wa-hero__stage { max-width: 720px; margin-inline: auto; width: 100%; }
    .wa-hero__rings { opacity: .55; }
    .wa-hero__float--a { left: 0; }
    .wa-hero__float--b { right: 0; }

    .wa-instruments__grid { grid-template-columns: repeat(2, 1fr); }


    /* roadmap: wider bars, smaller stagger */
    .wa-bar:nth-of-type(1) .wa-bar__body { grid-column: 1 / 8; }
    .wa-bar:nth-of-type(2) .wa-bar__body { grid-column: 2 / 9; }
    .wa-bar:nth-of-type(3) .wa-bar__body { grid-column: 3 / 10; }
    .wa-bar:nth-of-type(4) .wa-bar__body { grid-column: 4 / 11; }
    .wa-bar:nth-of-type(5) .wa-bar__body { grid-column: 4 / 11; }

    .wa-load__inner { grid-template-columns: 1fr; }

    .wa-stage,
    .wa-stage.is-active { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
    .wa-bento__grid { grid-template-columns: repeat(2, 1fr); }

    .wa-tile--wide {
        grid-column: span 2;
        grid-row: auto;
        grid-template-columns: 1fr;
    }

    .wa-stage__facts { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .wa-hero { min-height: 0; }
    .wa-hero__inner { padding: calc(var(--hdr-full, 90px) + 1.25rem) 0 3.5rem; }
    .wa-hero__title { font-size: clamp(2.25rem, 9.4vw, 3.15rem); }

    .wa-console { transform: none; }
    .wa-hero__stage:hover .wa-console { transform: none; }
    .wa-console__body { grid-template-columns: 52px 1fr; min-height: 300px; }
    .wa-console__kpis { grid-template-columns: 1fr 1fr; }
    .wa-console__kpi:last-child { display: none; }
    .wa-console__floats { display: none; }
    .wa-hero__float { display: none; }

    .wa-instruments__grid { grid-template-columns: 1fr; }
    .wa-bento__grid { grid-template-columns: 1fr; }
    .wa-tile--wide { grid-column: auto; }

    /* roadmap: full-width stacked bars on phones */
    .wa-road__axis, .wa-road__grid { display: none; }
    .wa-bar:nth-of-type(n) .wa-bar__body { grid-column: 1 / -1; }
    .wa-bar__body:hover { transform: none; }

    .wa-stages__switch { width: 100%; }
    .wa-stage__facts { grid-template-columns: 1fr; }

    .wa-btn { padding: .85rem 1.45rem; font-size: .98rem; }
}

@media (prefers-reduced-motion: reduce) {
    .wa-hero__rings span::after,
    .wa-console__bars i,
    .wa-console__spark polyline,
    .wa-console__col span,
    .wa-console__pulse,
    .wa-tile__mini-bars i,
    .wa-ico--realtime::before,
    .wa-hero__float,
    .wa-hero__scroll span,
    .wa-console.is-ticking .wa-console__ring circle {
        animation: none !important;
    }

    .wa-reveal > * {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .wa-bar { opacity: 1; transform: none; transition: none; }
    .wa-chart__line { transition: none; stroke-dashoffset: 0; }
    .wa-chart__area, .wa-chart__spike { opacity: 1; transition: none; }
}