#bizup-root {
    --black: #000000;
    --teal: #60a5fa;
    --teal2: #3b82f6;
    --white: #ffffff;
    --font: 'Be Vietnam Pro', sans-serif;
    background: var(--black);
    color: var(--white);
    font-family: var(--font);
    overflow: hidden;
    position: relative;
    border-radius: 24px;
    /* maintain rounded corners of previous card */

    /* Scroll Reveal Initial State */
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 1s cubic-bezier(0.22, 1, 0.36, 1), transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}

#bizup-root.bizup-revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Side Overlays */
.bizup-overlay-left,
.bizup-overlay-right {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 150px;
    z-index: 10;
    pointer-events: none;
}

.bizup-overlay-left {
    left: 0;
    background: linear-gradient(to right, #000 0%, transparent 100%);
}

.bizup-overlay-right {
    right: 0;
    background: linear-gradient(to left, #000 0%, transparent 100%);
}



/* ─── HERO ─── */
#bizup-root .hero {
    min-height: 100vh;
    min-height: 100svh;
    /* Keep original height */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 130px 40px 90px;
    text-align: center;
}

#bizup-root .hero-sweep {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

#bizup-root .hero-sweep svg {
    width: 100%;
    height: 100%;
}

#bizup-root .hero-glow-center {
    position: absolute;
    top: 38%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 560px;
    height: 260px;
    background: radial-gradient(ellipse, rgba(96, 165, 250, 0.2) 0%, rgba(96, 165, 250, 0.1) 30%, rgba(96, 165, 250, 0.03) 55%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

#bizup-root .hero-arc {
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 960px;
    height: 420px;
    background: radial-gradient(ellipse at 50% 100%, rgba(96, 165, 250, 0.09) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* Chip */
#bizup-root .hero-chip-wrapper {
    position: relative;
    z-index: 2;
    margin-bottom: 36px;
    opacity: 0;
    transform: translateY(-24px);
    animation: bizupChipIn 1.1s 0.15s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes bizupChipIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#bizup-root .hero-chip {
    position: relative;
    width: 136px;
    height: 136px;
    margin: 0 auto;
}

#bizup-root .circuit-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 820px;
    height: 210px;
    pointer-events: none;
}

#bizup-root .circuit-container svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
}

#bizup-root .chip-body {
    width: 136px;
    height: 136px;
    background: linear-gradient(145deg, #101828 0%, #08101a 40%, #050a10 100%);
    border: 1.5px solid rgba(96, 165, 250, 0.38);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 0 0 1px rgba(96, 165, 250, 0.1), 0 0 32px rgba(96, 165, 250, 0.18), 0 0 80px rgba(96, 165, 250, 0.08), inset 0 1px 0 rgba(96, 165, 250, 0.22);
    transition: box-shadow 0.45s;
}

#bizup-root .chip-body:hover {
    box-shadow: 0 0 0 1px rgba(96, 165, 250, 0.22), 0 0 60px rgba(96, 165, 250, 0.4), 0 0 120px rgba(96, 165, 250, 0.16), inset 0 1px 0 rgba(96, 165, 250, 0.3);
}

#bizup-root .chip-body::before {
    content: '';
    position: absolute;
    inset: 8px;
    background-image: linear-gradient(rgba(96, 165, 250, 0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(96, 165, 250, 0.07) 1px, transparent 1px);
    background-size: 14px 14px;
    border-radius: 8px;
}

#bizup-root .chip-logo {
    font-family: var(--font);
    font-weight: 900;
    font-size: 22px;
    letter-spacing: -1px;
    color: var(--teal);
    position: relative;
    z-index: 1;
    text-shadow: 0 0 20px rgba(96, 165, 250, 0.7);
}

#bizup-root .chip-body::after {
    content: '';
    position: absolute;
    inset: -7px;
    border: 1px dashed rgba(96, 165, 250, 0.12);
    border-radius: 25px;
    animation: bizupChipRotate 22s linear infinite;
}

@keyframes bizupChipRotate {
    to {
        transform: rotate(360deg);
    }
}

#bizup-root .chip-led {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #60a5fa;
    border-radius: 50%;
    box-shadow: 0 0 5px #60a5fa;
    animation: bizupLedPulse 2s ease-in-out infinite;
}

#bizup-root .hero-chip:hover .chip-led {
    animation-duration: 0.6s;
}

#bizup-root .chip-led:nth-child(1) {
    top: 6px;
    left: 6px;
    animation-delay: 0s
}

#bizup-root .chip-led:nth-child(2) {
    top: 6px;
    right: 6px;
    animation-delay: 0.5s
}

#bizup-root .chip-led:nth-child(3) {
    bottom: 6px;
    left: 6px;
    animation-delay: 1s
}

#bizup-root .chip-led:nth-child(4) {
    bottom: 6px;
    right: 6px;
    animation-delay: 1.5s
}

@keyframes bizupLedPulse {

    0%,
    100% {
        opacity: 1
    }

    50% {
        opacity: 0.22
    }
}

#bizup-root .agent-icon {
    position: absolute;
    width: 46px;
    height: 46px;
    background: rgba(16, 20, 28, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: bizupAgentFloat 4s ease-in-out infinite;
    transition: border-color 0.3s, box-shadow 0.3s;
}

#bizup-root .agent-icon:hover {
    border-color: rgba(96, 165, 250, 0.55);
    box-shadow: 0 0 18px rgba(96, 165, 250, 0.32);
    animation-play-state: paused;
}

#bizup-root .agent-icon svg {
    width: 20px;
    height: 20px;
    opacity: 0.65;
    transition: opacity 0.3s;
}

#bizup-root .agent-icon:hover svg {
    opacity: 1;
}

#bizup-root .agent-1 {
    top: -34px;
    left: -290px;
    animation-delay: 0s
}

#bizup-root .agent-2 {
    top: 14px;
    left: -395px;
    animation-delay: 0.7s
}

#bizup-root .agent-3 {
    top: -34px;
    right: -290px;
    animation-delay: 0.35s
}

#bizup-root .agent-4 {
    top: 14px;
    right: -395px;
    animation-delay: 1.1s
}

@keyframes bizupAgentFloat {

    0%,
    100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-7px)
    }
}

#bizup-root h2 {
    font-family: var(--font);
    font-weight: 900;
    font-size: clamp(54px, 9vw, 106px);
    line-height: 0.94;
    letter-spacing: -0.04em;
    margin-bottom: 26px;
    opacity: 0;
    transform: translateY(36px);
    animation: bizupFadeUp 1s 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    color: #fff;
}

#bizup-root h2 .teal {
    color: var(--teal);
}

#bizup-root .hero-sub {
    font-size: clamp(15px, 2vw, 17.5px);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.52);
    max-width: 460px;
    margin: 0 auto 36px;
    line-height: 1.7;
    opacity: 0;
    transform: translateY(22px);
    animation: bizupFadeUp 0.85s 0.72s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes bizupFadeUp {
    to {
        opacity: 1;
        transform: none;
    }
}

#bizup-root .hero-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 56px;
    opacity: 0;
    transform: translateY(20px);
    animation: bizupFadeUp 0.85s 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

#bizup-root .hero-tag {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 100px;
    color: rgba(255, 255, 255, 0.65);
    font-size: 13.5px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

#bizup-root .hero-tag:hover {
    background: rgba(96, 165, 250, 0.06);
    border-color: rgba(96, 165, 250, 0.35);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(96, 165, 250, 0.12);
}

#bizup-root .hero-stats {
    display: flex;
    gap: 64px;
    justify-content: center;
    margin-top: 10px;
    opacity: 0;
    transform: translateY(40px);
    animation: bizupPushUp 1s 1.05s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes bizupPushUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#bizup-root .stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

#bizup-root .stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -32px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 45px;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.12), transparent);
}

#bizup-root .stat-value {
    font-size: 62px;
    font-weight: 900;
    letter-spacing: -0.04em;
    color: #fff;
    line-height: 1;
    margin-bottom: 10px;
}

#bizup-root .stat-value span {
    color: var(--teal);
}

#bizup-root .stat-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.38);
    font-weight: 500;
}

@media(max-width:960px) {
    #bizup-root h2 {
        font-size: clamp(42px, 12vw, 70px);
    }

    #bizup-root .circuit-container,
    #bizup-root .agent-icon {
        display: none;
    }

    #bizup-root #cur-dot,
    #bizup-root #cur-ring {
        display: none;
    }

    #bizup-root:hover {
        cursor: auto;
    }

    #bizup-root .hero-stats {
        gap: 32px;
        flex-wrap: wrap;
    }

    #bizup-root .stat-item:not(:last-child)::after {
        display: none;
    }
}
            


/* backdrop-filter (hiệu ứng kính mờ) chỉ bật trên thiết bị có chuột/GPU mạnh;
   mobile/touch dùng nền bán trong suốt thường — nhìn gần như nhau, nhẹ hơn nhiều */
@media (hover: hover) and (pointer: fine) and (min-width: 1025px) {
    #bizup-root .agent-icon {
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }
}
