@media (hover: hover) and (pointer: fine) {
    body,
    body *,
    body a,
    body button,
    body input,
    body select,
    body textarea {
        cursor: url("../images/cursor-star.svg") 11 11, auto !important;
    }

    .cursor-lines {
        --cursor-line-x: -120px;
        --cursor-line-y: -120px;
        --cursor-line-length: 50px;
        --cursor-line-left-angle: 180deg;
        --cursor-line-right-angle: 180deg;
        position: fixed;
        inset: 0;
        z-index: 79;
        opacity: 0;
        pointer-events: none;
        transition: opacity 1000ms ease;
    }

    .cursor-lines.is-visible {
        opacity: 1;
        transition-duration: 80ms;
    }

    .cursor-line {
        position: absolute;
        left: calc(var(--cursor-line-x) - var(--cursor-line-length));
        top: calc(var(--cursor-line-y) - 1px);
        width: var(--cursor-line-length);
        height: 2px;
        border-radius: 999px;
        background: linear-gradient(90deg, rgba(35, 238, 205, 0), rgba(35, 238, 205, 0.88));
        transform-origin: 100% 50%;
        will-change: transform;
    }

    .cursor-line.is-left {
        transform: rotate(var(--cursor-line-left-angle));
    }

    .cursor-line.is-right {
        transform: rotate(var(--cursor-line-right-angle));
    }

    .cursor-lines.is-action .cursor-line {
        background: linear-gradient(90deg, rgba(255, 211, 77, 0), rgba(255, 211, 77, 0.9));
    }
}

.nav {
    position: fixed;
    top: 50%;
    right: clamp(14px, 2vw, 28px);
    z-index: 70;
    width: 178px;
    transform: translateY(-50%);
    pointer-events: none;
}

.nav.is-scrolled {
    transform: translateY(-50%);
}

.hud-nav-connector {
    position: absolute;
    top: 12px;
    right: 7px;
    bottom: 12px;
    width: 1px;
    background-image: linear-gradient(to bottom, rgba(99, 179, 237, 0.62) 0 42%, transparent 42% 100%);
    background-size: 1px 11px;
    animation: navDash 1.1s linear infinite;
    opacity: 0.72;
}

.nav-links {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 22px;
}

.nav-links a {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    min-height: 18px;
    border: 0;
    color: rgba(238, 246, 255, 0.68);
    background: transparent;
    font-family: var(--font);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0;
    text-align: right;
    text-transform: uppercase;
    pointer-events: auto;
    transition: color 180ms ease;
}

.nav-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    max-width: 0;
    margin-right: 0;
    overflow: hidden;
    opacity: 0;
    white-space: nowrap;
    transform: translateX(10px);
    transition: max-width 260ms ease, margin-right 260ms ease, opacity 180ms ease, transform 260ms ease;
}

.nav-label span {
    color: rgba(99, 179, 237, 0.66);
}

.nav-label strong {
    color: currentColor;
    font: inherit;
}

.nav-node {
    position: relative;
    flex: 0 0 auto;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: rgba(238, 246, 255, 0.46);
    box-shadow: 0 0 10px rgba(238, 246, 255, 0.08);
    transition: background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a.is-active {
    color: rgba(238, 246, 255, 0.94);
    outline: 0;
}

.nav-links a:hover .nav-label,
.nav-links a:focus-visible .nav-label,
.nav-links a.is-active .nav-label {
    max-width: 148px;
    margin-right: 12px;
    opacity: 1;
    transform: translateX(0);
}

.nav-links a.is-active {
    color: #63b3ed;
}

.nav-links a.is-active .nav-label span,
.nav-links a.is-active .nav-label strong {
    color: #63b3ed;
}

.nav-links a:hover:not(.is-active) .nav-label span,
.nav-links a:hover:not(.is-active) .nav-label strong,
.nav-links a:focus-visible:not(.is-active) .nav-label span,
.nav-links a:focus-visible:not(.is-active) .nav-label strong {
    color: rgba(238, 246, 255, 0.92);
}

.nav-links a:hover .nav-node,
.nav-links a:focus-visible .nav-node,
.nav-links a.is-active .nav-node {
    background: #63b3ed;
    box-shadow: 0 0 16px rgba(99, 179, 237, 0.64);
    transform: scale(1.12);
}

.nav-links a.is-active .nav-node::after {
    content: "";
    position: absolute;
    inset: -10px;
    border: 1px solid rgba(99, 179, 237, 0.72);
    border-radius: 50%;
    animation: navPulse 1.8s ease-out infinite;
}

.hud-corner {
    position: fixed;
    z-index: 65;
    width: 38px;
    height: 38px;
    border-color: rgba(99, 179, 237, 0.42);
    pointer-events: none;
}

.hud-corner.is-top-left {
    top: 22px;
    left: 22px;
    border-top: 1px solid;
    border-left: 1px solid;
}

.hud-corner.is-top-right {
    top: 22px;
    right: 22px;
    border-top: 1px solid;
    border-right: 1px solid;
}

.hud-corner.is-bottom-left {
    bottom: 22px;
    left: 22px;
    border-bottom: 1px solid;
    border-left: 1px solid;
}

.hud-corner.is-bottom-right {
    right: 22px;
    bottom: 22px;
    border-right: 1px solid;
    border-bottom: 1px solid;
}

.hud-coordinate,
.hud-status {
    position: fixed;
    z-index: 66;
    font-family: var(--font);
    letter-spacing: 0;
    pointer-events: none;
}

.hud-coordinate {
    top: auto;
    bottom: 28px;
    left: 36px;
    color: rgba(238, 246, 255, 0.58);
    font-size: 0.68rem;
    line-height: 1.65;
    pointer-events: auto;
}

.hud-coordinate span,
.hud-coordinate strong {
    display: block;
    font-weight: 800;
}

.hud-coordinate strong {
    color: rgba(99, 179, 237, 0.72);
}

.hud-coordinate .hud-contact-line {
    display: flex;
    align-items: center;
    gap: 8px;
    width: max-content;
    font-weight: 800;
    white-space: nowrap;
    color: rgba(238, 246, 255, 0.72);
    text-decoration: none;
    transition: color 180ms ease, transform 180ms ease;
}

.hud-coordinate .hud-contact-line + .hud-contact-line {
    margin-top: 4px;
}

.hud-coordinate .hud-contact-line:hover,
.hud-coordinate .hud-contact-line:focus-visible {
    color: #23eecd;
    transform: translateX(2px);
}

.hud-coordinate .hud-contact-line:focus-visible {
    outline: 1px solid rgba(35, 238, 205, 0.6);
    outline-offset: 4px;
}

.hud-coordinate .hud-contact-line strong {
    display: inline-flex;
    color: currentColor;
}

.hud-contact-icon {
    display: inline-flex;
    width: 22px;
    height: 22px;
    object-fit: contain;
    border-radius: 6px;
}

.hud-zalo-badge,
.hud-mail-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 18px;
    border: 1px solid rgba(35, 238, 205, 0.38);
    border-radius: 999px;
    color: #23eecd;
    background: rgba(35, 238, 205, 0.1);
    font-size: 0.58rem;
    font-weight: 900;
}

.hud-mail-badge {
    border-color: rgba(99, 179, 237, 0.42);
    color: #63b3ed;
    background: rgba(99, 179, 237, 0.1);
}

.hud-scan-line {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    z-index: 64;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(99, 179, 237, 0.5), transparent);
    opacity: 0.34;
    pointer-events: none;
    animation: hudScan 6s linear infinite;
}

.hud-status {
    top: 28px;
    bottom: auto;
    left: 36px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: rgba(238, 246, 255, 0.64);
    font-size: 0.68rem;
    font-weight: 800;
}

.hud-status strong {
    display: block;
    line-height: 1.35;
}

.hud-status span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 16px rgba(105, 245, 189, 0.7);
}

.back-to-top {
    position: fixed;
    right: 25px;
    bottom: 25px;
    z-index: 77;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(99, 179, 237, 0.34);
    border-radius: 50%;
    color: #70f7c5;
    background: rgba(5, 10, 20, 0.54);
    box-shadow:
        0 18px 40px rgba(0, 0, 0, 0.32),
        0 0 24px rgba(99, 179, 237, 0.16);
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px) scale(0.92);
    transition:
        opacity 220ms ease,
        transform 220ms ease,
        border-color 180ms ease,
        color 180ms ease,
        background 180ms ease,
        box-shadow 180ms ease;
    backdrop-filter: blur(8px) saturate(118%);
    -webkit-backdrop-filter: blur(8px) saturate(118%);
}

.back-to-top.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.back-to-top:hover,
.back-to-top:focus-visible {
    border-color: rgba(112, 247, 197, 0.78);
    color: #ffffff;
    background: rgba(35, 238, 205, 0.14);
    box-shadow:
        0 18px 40px rgba(0, 0, 0, 0.32),
        0 0 28px rgba(112, 247, 197, 0.34);
    outline: 0;
    transform: translateY(-2px) scale(1.04);
}

.back-to-top svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.language-switcher {
    position: fixed;
    top: 28px;
    right: 28px;
    z-index: 76;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    color: rgba(238, 246, 255, 0.9);
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    pointer-events: auto;
}

.language-globe {
    display: inline-flex;
    width: 18px;
    height: 18px;
    color: #63b3ed;
    filter: drop-shadow(0 0 7px rgba(99, 179, 237, 0.42));
    margin: 0;
    padding: 0;
}

.language-globe svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.language-code {
    font-size: calc(0.62rem + 4px);
    font-weight: 900;
    letter-spacing: 0;
    margin: 0;
    padding: 0;
    color: currentColor;
    transition: color 180ms ease, text-shadow 180ms ease;
}

.language-switcher:hover,
.language-switcher:focus-visible {
    color: #23eecd;
    outline: 0;
}

.language-switcher:hover .language-code,
.language-switcher:focus-visible .language-code {
    text-shadow: 0 0 12px rgba(35, 238, 205, 0.48);
}

.primary-button,
.secondary-button {
    --magnetic-x: 0px;
    --magnetic-y: 0px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    border-radius: var(--radius);
    font-weight: 800;
    transition:
        transform 180ms ease,
        box-shadow 180ms ease,
        border-color 180ms ease,
        background 180ms ease,
        color 180ms ease;
    transform: translate3d(var(--magnetic-x), var(--magnetic-y), 0);
    will-change: transform;
}

.primary-button {
    border: 1px solid rgba(88, 225, 255, 0.55);
    background: linear-gradient(135deg, #78ecff, #8e7dff);
    color: #06101a;
    box-shadow: 0 14px 34px rgba(88, 225, 255, 0.18);
}

.primary-button,
.secondary-button {
    padding: 0 24px;
}

.secondary-button {
    border: 1px solid var(--line-strong);
    color: var(--text);
    background: rgba(255, 255, 255, 0.04);
}

.primary-button:hover,
.primary-button:focus-visible,
.secondary-button:hover,
.secondary-button:focus-visible {
    transform: translate3d(var(--magnetic-x), calc(var(--magnetic-y) - 2px), 0);
    box-shadow: 0 18px 48px rgba(88, 225, 255, 0.22);
}

.primary-button:hover,
.primary-button:focus-visible {
    border-color: rgba(105, 245, 189, 0.72);
    background: linear-gradient(135deg, #9af8ff, #69f5bd);
    color: #031018;
}

.secondary-button:hover,
.secondary-button:focus-visible {
    border-color: rgba(35, 238, 205, 0.52);
    background: rgba(35, 238, 205, 0.12);
    color: #ffffff;
}

.primary-button:focus-visible,
.secondary-button:focus-visible {
    outline: 1px solid rgba(35, 238, 205, 0.62);
    outline-offset: 4px;
}


.content-section {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: center;
}

.content-section::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(88, 225, 255, 0.28), transparent);
}

