/* ── Easing curves referenced throughout ── */
:root {
    --ease-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── Base resets ── */
html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}
@media (min-width: 1024px) {
    body {
        cursor: none;
    }
}
@media (max-width: 1023px) {
    #cursor-dot,
    #cursor-ring {
        display: none;
    }
}
button,
input,
select,
textarea {
    font-family: inherit;
}
iconify-icon {
    display: inline-block;
    vertical-align: middle;
}
::selection {
    background: rgba(23, 197, 190, 0.3);
    color: #fff;
}

/* ── Custom scrollbar ── */
::-webkit-scrollbar {
    width: 5px;
}
::-webkit-scrollbar-track {
    background: #06030f;
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #0da8a2, #5c2da0);
    border-radius: 9999px;
}

/* ── Starfield canvas ── */
#starfield {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.9;
}

/* ── Custom cursor ── */
#cursor-dot {
    position: fixed;
    width: 6px;
    height: 6px;
    background: #17c5be;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition:
        width 0.2s var(--ease-smooth),
        height 0.2s var(--ease-smooth),
        opacity 0.2s ease;
    will-change: transform;
    box-shadow:
        0 0 8px #17c5be,
        0 0 16px rgba(23, 197, 190, 0.5);
}
#cursor-ring {
    position: fixed;
    width: 36px;
    height: 36px;
    border: 1.5px solid rgba(23, 197, 190, 0.55);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition:
        width 0.25s var(--ease-smooth),
        height 0.25s var(--ease-smooth),
        border-color 0.25s ease,
        opacity 0.25s ease;
    will-change: transform;
}
body.cursor-hover #cursor-dot {
    width: 10px;
    height: 10px;
    box-shadow:
        0 0 14px #17c5be,
        0 0 28px rgba(23, 197, 190, 0.6);
}
body.cursor-hover #cursor-ring {
    width: 52px;
    height: 52px;
    border-color: rgba(23, 197, 190, 0.85);
}
body.cursor-click #cursor-dot {
    transform: translate(-50%, -50%) scale(0.6);
}

/* ── Scroll progress bar ── */
#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 2px;
    width: 0;
    background: linear-gradient(90deg, #17c5be, #5c2da0);
    z-index: 10000;
    transition: width 0.08s linear;
    box-shadow: 0 0 8px #17c5be;
}

/* ── Navbar: JS toggles .scrolled ── */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1100;
    transition:
        background 0.4s ease,
        backdrop-filter 0.4s ease,
        box-shadow 0.4s ease;
}
#navbar.scrolled {
    background: rgba(6, 3, 15, 0.88);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.06),
        0 4px 24px rgba(0, 0, 0, 0.4);
}

/* ── Logo mark shimmer (::before pseudo-element) ── */
.logo-mark {
    position: relative;
    overflow: hidden;
}
.logo-mark::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.22) 0%,
        transparent 60%
    );
    border-radius: inherit;
}

/* ── Menu toggle: icon transition, JS adds .menu-open ── */
/* SVG icon swap — no transition, no Custom Elements dependency */
.menu-icon-bars {
    display: block;
}
.menu-icon-close {
    display: none;
}
.menu-toggle.menu-open .menu-icon-bars {
    display: none;
}
.menu-toggle.menu-open .menu-icon-close {
    display: block;
}
.menu-toggle.menu-open {
    background: rgba(23, 197, 190, 0.12) !important;
    border-color: rgba(23, 197, 190, 0.45) !important;
    color: #17c5be !important;
}

/* ── Gradient text (webkit-background-clip) ── */
.gradient-text {
    background: linear-gradient(90deg, #3cd8d3 0%, #17c5be 40%, #a78bfa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}
.hero-line-plain {
    display: block;
}
.hero-line-gradient {
    display: block;
    background: linear-gradient(90deg, #3cd8d3, #17c5be 40%, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Scroll reveal: --rd per-element delay ── */
.reveal-up {
    opacity: 0;
    transform: translateY(36px);
    transition:
        opacity 0.75s var(--ease-out) var(--rd, 0s),
        transform 0.75s var(--ease-out) var(--rd, 0s);
}
.reveal-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Hero entrance animation ── */
.animate-fade-up {
    opacity: 0;
    animation: fadeUpIn 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* ── Nebula atmospheric glows ── */
.nebula-glow {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(90px);
}
.nebula-cyan {
    width: 700px;
    height: 700px;
    top: -200px;
    left: -100px;
    background: radial-gradient(
        circle,
        rgba(23, 197, 190, 0.12) 0%,
        transparent 70%
    );
    animation: nebulaPulse 8s ease-in-out infinite;
}
.nebula-violet {
    width: 600px;
    height: 600px;
    bottom: -150px;
    right: -80px;
    background: radial-gradient(
        circle,
        rgba(92, 45, 160, 0.18) 0%,
        transparent 70%
    );
    animation: nebulaPulse 8s ease-in-out infinite 4s;
}

/* ── Comet streaks ── */
.comet-streak {
    position: absolute;
    pointer-events: none;
    opacity: 0;
    border-radius: 9999px;
}
.comet-a {
    width: 300px;
    height: 2px;
    top: 22%;
    left: -320px;
    background: linear-gradient(
        90deg,
        transparent,
        #3cd8d3 60%,
        rgba(23, 197, 190, 0.1)
    );
    filter: blur(0.5px);
    box-shadow:
        0 0 8px #17c5be,
        0 0 20px rgba(23, 197, 190, 0.4);
    animation: cometFly 7s ease-out 1.5s infinite;
}
.comet-b {
    width: 200px;
    height: 1.5px;
    top: 65%;
    right: -220px;
    background: linear-gradient(
        270deg,
        transparent,
        rgba(238, 232, 255, 0.7) 60%,
        rgba(92, 45, 160, 0.1)
    );
    filter: blur(0.5px);
    box-shadow: 0 0 6px #5c2da0;
    animation: cometFlyR 10s ease-out 4s infinite;
}
.comet-cta {
    width: 250px;
    height: 1.5px;
    top: 20%;
    left: -270px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(23, 197, 190, 0.7) 60%,
        transparent
    );
    animation: cometFly 9s ease-out 2s infinite;
}

/* ── Comet pulse dot ── */
.comet-pulse {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #17c5be;
    animation: cometPulseAnim 2s ease-out infinite;
    flex-shrink: 0;
}

/* ── Scroll nudge dot ── */
.scroll-nudge-dot {
    width: 100%;
    height: 50%;
    background: linear-gradient(to bottom, #17c5be, transparent);
    border-radius: 9999px;
    animation: scrollDrop 2s ease-in-out infinite;
}

/* ── Marquee ── */
.marquee-inner {
    display: flex;
    align-items: center;
    gap: 28px;
    white-space: nowrap;
    animation: marqueeScroll 32s linear infinite;
    width: max-content;
}
@media (prefers-reduced-motion: reduce) {
    .marquee-inner {
        animation-play-state: paused;
    }
}

/* ── Buttons — kept for ::before shimmer ── */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #17c5be, #0da8a2);
    color: #06030f;
    font-size: 0.9375rem;
    font-weight: 700;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition:
        transform 0.2s var(--ease-spring),
        box-shadow 0.3s ease,
        filter 0.2s ease;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    letter-spacing: -0.01em;
    line-height: 1;
    text-decoration: none;
}
.btn-primary::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.28) 0%,
        transparent 60%
    );
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
}
.btn-primary:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow:
        0 8px 30px rgba(23, 197, 190, 0.45),
        0 2px 8px rgba(0, 0, 0, 0.3);
    filter: brightness(1.08);
}
.btn-primary:hover::before {
    opacity: 1;
}
.btn-primary:active {
    transform: translateY(0) scale(0.98);
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9375rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    cursor: pointer;
    transition:
        background 0.25s ease,
        border-color 0.25s ease,
        color 0.25s ease,
        transform 0.2s var(--ease-spring);
    white-space: nowrap;
    letter-spacing: -0.01em;
    line-height: 1;
    text-decoration: none;
}
.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.22);
    color: #fff;
    transform: translateY(-2px);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 22px;
    background: transparent;
    color: #17c5be;
    font-size: 0.875rem;
    font-weight: 600;
    border: 1.5px solid rgba(23, 197, 190, 0.45);
    border-radius: 12px;
    cursor: pointer;
    transition:
        background 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.2s var(--ease-spring);
    white-space: nowrap;
    line-height: 1;
    text-decoration: none;
}
.btn-outline:hover {
    background: rgba(23, 197, 190, 0.08);
    border-color: #17c5be;
    box-shadow: 0 0 20px rgba(23, 197, 190, 0.2);
    transform: translateY(-1px);
}

.btn-lg {
    padding: 16px 32px !important;
    font-size: 1rem !important;
}
.btn-full {
    width: 100%;
    justify-content: center;
}

/* ── Service card: ::before + child hover selectors ── */
.service-card {
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(
        135deg,
        rgba(23, 197, 190, 0.04) 0%,
        transparent 60%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    border-radius: inherit;
}
.service-card:hover::before {
    opacity: 1;
}
.service-card:hover .service-icon {
    transform: scale(1.1);
}
.service-card:hover .service-icon-cyan {
    box-shadow: 0 0 20px rgba(23, 197, 190, 0.3);
}
.service-card:hover .service-icon-violet {
    box-shadow: 0 0 20px rgba(92, 45, 160, 0.35);
}
.service-card:hover .service-arrow {
    background: rgba(23, 197, 190, 0.22);
    border-color: #17c5be;
    transform: translateX(5px);
    box-shadow: 0 0 12px rgba(23, 197, 190, 0.3);
}

/* ── Orbital animations ── */
.orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 50%;
    border-style: solid;
    transform: translate(-50%, -50%);
    animation: orbitSpin linear infinite;
}
.orbit-1 {
    width: 200px;
    height: 200px;
    border-width: 1px;
    border-color: rgba(23, 197, 190, 0.2) rgba(23, 197, 190, 0.06)
        rgba(23, 197, 190, 0.2) rgba(23, 197, 190, 0.06);
    animation-duration: 15s;
}
.orbit-2 {
    width: 310px;
    height: 310px;
    border-width: 1px;
    border-color: rgba(92, 45, 160, 0.25) rgba(92, 45, 160, 0.06)
        rgba(92, 45, 160, 0.25) rgba(92, 45, 160, 0.06);
    animation-duration: 25s;
    animation-direction: reverse;
}
.orbit-3 {
    width: 415px;
    height: 415px;
    border-width: 1px;
    border-color: rgba(255, 255, 255, 0.06) rgba(255, 255, 255, 0.02)
        rgba(255, 255, 255, 0.06) rgba(255, 255, 255, 0.02);
    animation-duration: 42s;
}
@media (max-width: 480px) {
    .orbit-1 {
        width: 135px;
        height: 135px;
    }
    .orbit-2 {
        width: 210px;
        height: 210px;
    }
    .orbit-3 {
        width: 275px;
        height: 275px;
    }
}
/* ── Orbital: clamp badges inside container on narrow viewports ── */
@media (max-width: 380px) {
    .orbit-1 {
        width: 110px;
        height: 110px;
    }
    .orbit-2 {
        width: 170px;
        height: 170px;
    }
    .orbit-3 {
        width: 225px;
        height: 225px;
    }
    /* Pull badges fully inside so they cannot cause page-width overflow */
    .ob-fast {
        left: 2%;
        bottom: 18%;
    }
    .ob-quality {
        right: 2%;
        top: 14%;
    }
    .ob-reliable {
        right: 2%;
        bottom: 36%;
    }
}
/* ── On the very smallest screens (≤320px) hide orbital to prevent breathing ── */
@media (max-width: 320px) {
    .orbital-visual {
        display: none;
    }
}
.orbit-core-ring {
    position: absolute;
    top: -9px;
    right: -9px;
    bottom: -9px;
    left: -9px;
    border-radius: 50%;
    border: 1px solid rgba(23, 197, 190, 0.14);
    animation: corePulse 4s ease-in-out infinite reverse;
}
.orb-dot {
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 50%;
}
.od-1 {
    width: 10px;
    height: 10px;
    margin: -5px 0 0 -5px;
    background: #17c5be;
    box-shadow: 0 0 10px #17c5be;
    animation: orbitDot1 15s linear infinite;
}
.od-2 {
    width: 8px;
    height: 8px;
    margin: -4px 0 0 -4px;
    background: #eee8ff;
    box-shadow: 0 0 10px #5c2da0;
    animation: orbitDot2 25s linear infinite reverse;
}
.od-3 {
    width: 6px;
    height: 6px;
    margin: -3px 0 0 -3px;
    background: rgba(255, 255, 255, 0.55);
    animation: orbitDot3 42s linear infinite;
}
.orbit-badge {
    position: absolute;
    padding: 6px 12px;
    background: rgba(10, 7, 25, 0.88);
    border-radius: 9999px;
    font-size: 0.72rem;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    backdrop-filter: blur(8px);
    pointer-events: none;
    animation: floatBadge 5s ease-in-out infinite;
}
.ob-fast {
    border: 1px solid rgba(23, 197, 190, 0.4);
    bottom: 20%;
    left: -5%;
    animation-delay: 0s;
}
.ob-quality {
    border: 1px solid rgba(92, 45, 160, 0.5);
    top: 16%;
    right: -2%;
    animation-delay: 1.7s;
}
.ob-reliable {
    border: 1px solid rgba(255, 255, 255, 0.15);
    bottom: 38%;
    right: -4%;
    animation-delay: 3.4s;
}

/* ── Process trail ── */
.process-trail {
    display: none;
    position: absolute;
    top: 28px;
    left: 50px;
    right: 50px;
    height: 2px;
    z-index: 0;
    overflow: hidden;
}
@media (min-width: 1024px) {
    .process-trail {
        display: block;
    }
}
.process-trail-line {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(
        90deg,
        #17c5be,
        rgba(23, 197, 190, 0.25) 60%,
        transparent
    );
    opacity: 0.3;
}
.process-trail-comet {
    position: absolute;
    top: -3px;
    width: 80px;
    height: 8px;
    background: linear-gradient(
        90deg,
        transparent,
        #3cd8d3,
        #17c5be 40%,
        rgba(23, 197, 190, 0.1)
    );
    border-radius: 9999px;
    filter: blur(2px);
    box-shadow: 0 0 12px #17c5be;
    animation: trailComet 3.5s ease-in-out infinite;
}
.process-step:hover .process-icon-wrap {
    background: rgba(23, 197, 190, 0.18);
    box-shadow: 0 0 18px rgba(23, 197, 190, 0.25);
}

/* ── Portfolio overlay child selector ── */
.portfolio-overlay {
    opacity: 0;
    transition: opacity 0.3s ease;
}
.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
}

/* ── Badge live ::before pulse dot ── */
.badge-live {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.badge-live::before {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #4ade80;
    box-shadow: 0 0 5px #4ade80;
    animation: livePulse 2s ease-in-out infinite;
    flex-shrink: 0;
}

/* ── Mobile menu: JS toggles .open ── */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    /* Transition: hidden by default, shown when .is-active */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
        opacity 0.3s ease,
        visibility 0.3s ease;
}
.mobile-menu.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
/* Slide-in for the nav links content */
.mobile-menu-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 0 2rem;
    text-align: center;
    transform: translateY(20px);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.mobile-menu.is-active .mobile-menu-inner {
    transform: translateY(0);
}
.mobile-menu-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(6, 3, 15, 0.97);
}

/* ── Mobile FAB: JS toggles .is-visible ── */
.mobile-fab {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 800;
    padding-bottom: max(16px, env(safe-area-inset-bottom));
    transform: translateY(110%);
    opacity: 0;
    pointer-events: none;
    transition:
        transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
        opacity 0.35s ease;
}
.mobile-fab.is-visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}
@media (min-width: 1024px) {
    .mobile-fab {
        display: none !important;
    }
}
body.fab-visible {
    padding-bottom: 80px;
}
.mobile-fab-btn {
    position: relative;
    overflow: hidden;
}
.mobile-fab-btn::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.25) 0%,
        transparent 60%
    );
    opacity: 0;
    transition: opacity 0.2s ease;
}
.mobile-fab-btn:hover::before {
    opacity: 1;
}

/* ── Form select: custom SVG arrow ── */
.form-select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2394a3b8' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}
.form-select option {
    background: #110d24;
    color: #fff;
}

/* ── @keyframes ── */
@keyframes nebulaPulse {
    0%,
    100% {
        opacity: 0.7;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.08);
    }
}
@keyframes cometFly {
    0% {
        opacity: 0;
        transform: translateX(0);
    }
    5% {
        opacity: 1;
    }
    80% {
        opacity: 0.8;
    }
    100% {
        opacity: 0;
        transform: translateX(calc(100vw + 400px));
    }
}
@keyframes cometFlyR {
    0% {
        opacity: 0;
        transform: translateX(0);
    }
    5% {
        opacity: 1;
    }
    80% {
        opacity: 0.7;
    }
    100% {
        opacity: 0;
        transform: translateX(calc(-100vw - 300px));
    }
}
@keyframes cometPulseAnim {
    0% {
        box-shadow: 0 0 0 0 rgba(23, 197, 190, 0.7);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(23, 197, 190, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(23, 197, 190, 0);
    }
}
@keyframes fadeUpIn {
    from {
        opacity: 0;
        transform: translateY(28px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes scrollDrop {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }
    20% {
        opacity: 1;
    }
    80% {
        opacity: 0.8;
    }
    100% {
        transform: translateY(200%);
        opacity: 0;
    }
}
@keyframes marqueeScroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}
@keyframes orbitSpin {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}
@keyframes corePulse {
    0%,
    100% {
        box-shadow:
            0 0 40px rgba(23, 197, 190, 0.28),
            0 0 80px rgba(23, 197, 190, 0.12);
    }
    50% {
        box-shadow:
            0 0 60px rgba(23, 197, 190, 0.42),
            0 0 120px rgba(23, 197, 190, 0.2);
    }
}
@keyframes orbitDot1 {
    from {
        transform: rotate(0deg) translateX(100px);
    }
    to {
        transform: rotate(360deg) translateX(100px);
    }
}
@keyframes orbitDot2 {
    from {
        transform: rotate(120deg) translateX(155px);
    }
    to {
        transform: rotate(480deg) translateX(155px);
    }
}
@keyframes orbitDot3 {
    from {
        transform: rotate(240deg) translateX(207px);
    }
    to {
        transform: rotate(600deg) translateX(207px);
    }
}
@keyframes floatBadge {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}
@keyframes trailComet {
    0% {
        left: -10%;
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        left: 100%;
        opacity: 0;
    }
}
@keyframes livePulse {
    0%,
    100% {
        opacity: 1;
    }
    50% {
        opacity: 0.35;
    }
}
@keyframes inputShake {
    0%,
    100% {
        transform: translateX(0);
    }
    20% {
        transform: translateX(-5px);
    }
    40% {
        transform: translateX(5px);
    }
    60% {
        transform: translateX(-3px);
    }
    80% {
        transform: translateX(3px);
    }
}
@media (max-width: 480px) {
    @keyframes orbitDot1 {
        from {
            transform: rotate(0deg) translateX(67px);
        }
        to {
            transform: rotate(360deg) translateX(67px);
        }
    }
    @keyframes orbitDot2 {
        from {
            transform: rotate(120deg) translateX(105px);
        }
        to {
            transform: rotate(480deg) translateX(105px);
        }
    }
    @keyframes orbitDot3 {
        from {
            transform: rotate(240deg) translateX(137px);
        }
        to {
            transform: rotate(600deg) translateX(137px);
        }
    }
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ── Team cards ── */
.team-card {
    position: relative;
    overflow: hidden;
}
.team-card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(
        135deg,
        rgba(23, 197, 190, 0.05) 0%,
        transparent 55%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    border-radius: inherit;
}
.team-card:hover::before {
    opacity: 1;
}
.team-card .team-avatar {
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.team-card:hover .team-avatar {
    transform: scale(1.06);
}
