        /* Trang chào Trung tâm EPS Hải Phòng: chỉ hiện tại / hoặc /index.html. */
        #eps-hp-landing[hidden] { display: none !important; }
        #eps-hp-landing {
            --eps-navy: #0a294d;
            --eps-navy-deep: #061a35;
            --eps-blue: #287fdf;
            --eps-cyan: #75e4f1;
            position: fixed;
            z-index: 2147483647;
            inset: 0;
            overflow: auto;
            color: #f8fbff;
            background: var(--eps-navy-deep);
            font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
        }
        .eps-hp-hero {
            position: relative;
            isolation: isolate;
            display: flex;
            min-height: 100svh;
            overflow: hidden;
            background: var(--eps-navy);
        }
        .eps-hp-photo {
            position: absolute;
            z-index: -3;
            inset: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center;
        }
        .eps-hp-hero::before {
            position: absolute;
            z-index: -2;
            inset: 0;
            content: "";
            background: linear-gradient(90deg, rgba(4, 25, 54, .97) 0%, rgba(7, 42, 80, .91) 33%, rgba(12, 69, 118, .56) 49%, rgba(9, 52, 92, .14) 62%, rgba(6, 35, 70, .03) 74%, transparent 100%);
        }
        .eps-hp-hero::after {
            position: absolute;
            z-index: -1;
            inset: 0;
            content: "";
            background: radial-gradient(circle at 18% 15%, rgba(112, 215, 245, .16), transparent 28%), linear-gradient(0deg, rgba(3, 24, 53, .54), transparent 42%);
            pointer-events: none;
        }
        .eps-hp-hero-inner {
            box-sizing: border-box;
            display: flex;
            flex-direction: column;
            justify-content: center;
            width: 100%;
            min-height: 100svh;
            margin: 0 auto;
            padding: 48px clamp(30px, 9vw, 176px) 42px;
        }
        .eps-hp-brand {
            display: inline-flex;
            align-items: center;
            gap: 11px;
            width: fit-content;
            margin-bottom: clamp(24px, 4vh, 48px);
            color: #f4fbff;
            font-size: 12px;
            font-weight: 800;
            letter-spacing: .13em;
            text-transform: uppercase;
        }
        .eps-hp-brand-mark {
            display: grid;
            width: 39px;
            height: 39px;
            place-items: center;
            border: 1px solid rgba(152, 224, 250, .74);
            border-radius: 12px;
            background: linear-gradient(135deg, #48c7e7, #2d7fe5);
            box-shadow: 0 10px 30px rgba(17, 105, 182, .34);
            font-size: 14px;
            letter-spacing: 0;
        }
        .eps-hp-copy { max-width: 515px; }
        .eps-hp-kicker {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            margin: 0 0 16px;
            color: var(--eps-cyan);
            font-size: 13px;
            font-weight: 750;
            letter-spacing: .1em;
            text-transform: uppercase;
        }
        .eps-hp-kicker::before { width: 29px; height: 2px; content: ""; background: currentColor; }
        .eps-hp-title {
            max-width: 535px;
            margin: 0;
            color: #fff !important;
            font-size: clamp(38px, 4.4vw, 64px);
            font-weight: 850;
            letter-spacing: -.055em;
            line-height: 1.01;
            text-shadow: 0 3px 18px rgba(0, 34, 72, .30);
        }
        .eps-hp-title em { display: block; color: #75e4f1; font-style: normal; }
        .eps-hp-summary {
            max-width: 500px;
            margin: 23px 0 0;
            color: rgba(240, 248, 255, .93);
            font-size: clamp(16px, 1.45vw, 19px);
            line-height: 1.6;
        }
        .eps-hp-pills { display: flex; flex-wrap: wrap; gap: 9px; margin: 27px 0 0; }
        .eps-hp-pill {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 8px 12px;
            border: 1px solid rgba(161, 219, 248, .33);
            border-radius: 999px;
            background: rgba(237, 249, 255, .13);
            color: #fff;
            font-size: 13px;
            font-weight: 650;
            backdrop-filter: blur(8px);
        }
        .eps-hp-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 31px; }
        .eps-hp-button {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            min-height: 52px;
            padding: 0 21px;
            border: 1px solid transparent;
            border-radius: 14px;
            color: #fff;
            font-size: 15px;
            font-weight: 800;
            line-height: 1;
            text-decoration: none;
            transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
        }
        .eps-hp-button:hover, .eps-hp-button:focus-visible { transform: translateY(-2px); }
        .eps-hp-button:focus-visible { outline: 3px solid #8ee7f5; outline-offset: 3px; }
        .eps-hp-button-primary { background: linear-gradient(135deg, #40c4e6, #2e7ee5); box-shadow: 0 13px 30px rgba(20, 111, 201, .36); }
        .eps-hp-button-secondary { border-color: rgba(194,229,249,.50); background: rgba(8, 46, 84, .36); backdrop-filter: blur(10px); }
        .eps-hp-button-secondary:hover { background: rgba(255,255,255,.14); }
        .eps-hp-contact {
            display: flex;
            flex-wrap: wrap;
            gap: 12px 22px;
            max-width: 680px;
            margin-top: clamp(34px, 5.2vh, 62px);
            padding-top: 19px;
            border-top: 1px solid rgba(188, 224, 247, .35);
            color: rgba(240, 248, 255, .95);
            font-size: 13px;
            font-style: normal;
            line-height: 1.45;
        }
        .eps-hp-contact-item { display: inline-flex; align-items: flex-start; gap: 9px; }
        .eps-hp-contact i { width: 15px; margin-top: 2px; color: #75e4f1; }
        .eps-hp-contact a { color: inherit; font-weight: 800; text-decoration: none; }
        .eps-hp-contact a:hover { color: #9cecf5; text-decoration: underline; }
        .eps-hp-scroll-cue {
            position: absolute;
            right: clamp(24px, 5vw, 74px);
            bottom: 31px;
            display: flex;
            align-items: center;
            gap: 9px;
            color: rgba(255,255,255,.83);
            font-size: 11px;
            font-weight: 700;
            letter-spacing: .12em;
            text-transform: uppercase;
            writing-mode: vertical-rl;
        }
        .eps-hp-scroll-cue span { width: 1px; height: 47px; background: rgba(255,255,255,.52); }
        body.eps-hp-landing-open { overflow: hidden; }
        /* Ẩn hoàn toàn các lớp ứng dụng có thể được khởi tạo phía sau trang chào (trừ boot loader). */
        body.eps-hp-landing-open > :not(#eps-hp-landing):not(#eps-library-transition-loader):not(#hw-app-boot-loader):not(script):not(style) { visibility: hidden !important; }

        /* Khóa màu nền sẫm khi chuyển cảnh để triệt tiêu vĩnh viễn hiện tượng chớp trắng */
        body.eps-hp-transition-active,
        body.eps-hp-from-landing {
            background-color: #061a35 !important;
        }

        /* [FIX SMOOTH] Landing page fade-out mượt — tránh snap-cut khi chuyển cảnh */
        #eps-hp-landing {
            -webkit-transition: opacity 0.18s cubic-bezier(0.4, 0, 0.6, 1);
            transition: opacity 0.18s cubic-bezier(0.4, 0, 0.6, 1);
        }
        #eps-hp-landing.eps-hp-landing-fadeout {
            opacity: 0 !important;
            pointer-events: none !important;
        }

        /* Nút bấm ở trạng thái kích hoạt chuyển tiếp */
        .eps-hp-button.is-loading {
            pointer-events: none !important;
            cursor: wait !important;
            opacity: 0.94;
            background: linear-gradient(135deg, #1e70d4, #1254a6) !important;
            box-shadow: 0 0 25px rgba(45, 127, 229, 0.65) !important;
            transform: scale(0.98);
        }

        /* ==========================================================================
           EPS SMART TRANSITION GATE - GIAO DIỆN TẢI THÔNG MINH, MƯỢT MÀ, TINH TẾ
           ========================================================================== */
        #eps-library-transition-loader {
            position: fixed !important;
            top: 0 !important; right: 0 !important; bottom: 0 !important; left: 0 !important;
            z-index: 2147483648 !important;
            display: -webkit-flex !important;
            display: flex !important;
            -webkit-flex-direction: column !important;
            flex-direction: column !important;
            -webkit-align-items: center !important;
            align-items: center !important;
            -webkit-justify-content: center !important;
            justify-content: center !important;
            padding: 24px !important;
            box-sizing: border-box !important;
            background: radial-gradient(circle at 50% 32%, rgba(40, 127, 223, 0.28) 0%, transparent 60%),
                        radial-gradient(circle at 80% 80%, rgba(117, 228, 241, 0.18) 0%, transparent 55%),
                        linear-gradient(145deg, #051429 0%, #0a294d 50%, #061a35 100%) !important;
            color: #f8fbff !important;
            font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
            opacity: 0;
            visibility: hidden;
            pointer-events: none;
            -webkit-transform: scale(0.97) translateZ(0);
            transform: scale(0.97) translateZ(0);
            -webkit-transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1), -webkit-transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), visibility 0s linear 0.22s;
            transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1), transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), visibility 0s linear 0.22s;
            will-change: opacity, transform;
            -webkit-backface-visibility: hidden;
            backface-visibility: hidden;
            -webkit-backdrop-filter: blur(16px);
            backdrop-filter: blur(16px);
        }

        #eps-library-transition-loader.is-visible {
            opacity: 1 !important;
            visibility: visible !important;
            pointer-events: auto !important;
            -webkit-transform: scale(1) translateZ(0) !important;
            transform: scale(1) translateZ(0) !important;
            -webkit-transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1), -webkit-transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), visibility 0s !important;
            transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1), transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), visibility 0s !important;
        }

        #eps-library-transition-loader.is-exiting {
            opacity: 0 !important;
            -webkit-transform: scale(1.03) translateZ(0) !important;
            transform: scale(1.03) translateZ(0) !important;
            pointer-events: none !important;
            -webkit-transition: opacity 0.2s cubic-bezier(0.4, 0, 0.6, 1), -webkit-transform 0.2s cubic-bezier(0.4, 0, 0.6, 1) !important;
            transition: opacity 0.2s cubic-bezier(0.4, 0, 0.6, 1), transform 0.2s cubic-bezier(0.4, 0, 0.6, 1) !important;
        }

        .eps-tl-content {
            position: relative;
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            max-width: 460px;
            width: 100%;
            margin: 0 auto;
        }

        /* Hub biểu tượng EPS phát sáng & Vòng quỹ đạo công nghệ */
        .eps-tl-hub {
            position: relative;
            width: 96px;
            height: 96px;
            display: grid;
            place-items: center;
            margin-bottom: 24px;
        }

        .eps-tl-orbit-ring {
            position: absolute;
            inset: 0;
            border-radius: 50%;
            pointer-events: none;
        }

        .eps-tl-orbit-outer {
            border: 2px dashed rgba(117, 228, 241, 0.55);
            animation: epsTlOrbitSpinClockwise 8s linear infinite;
            box-shadow: 0 0 20px rgba(117, 228, 241, 0.25);
        }

        .eps-tl-orbit-inner {
            inset: 7px;
            border: 1.5px solid transparent;
            border-top-color: rgba(64, 196, 230, 0.85);
            border-right-color: rgba(46, 126, 229, 0.85);
            animation: epsTlOrbitSpinCounter 3.2s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
        }

        .eps-tl-badge {
            width: 58px;
            height: 58px;
            border-radius: 18px;
            background: linear-gradient(135deg, #48c7e7, #2d7fe5);
            display: grid;
            place-items: center;
            box-shadow: 0 12px 32px rgba(20, 111, 201, 0.55), 0 0 16px rgba(117, 228, 241, 0.45);
            border: 1px solid rgba(188, 240, 255, 0.8);
            animation: epsTlBadgePulse 2.4s ease-in-out infinite;
        }

        .eps-tl-badge-mark {
            font-size: 19px;
            font-weight: 900;
            letter-spacing: 0.04em;
            color: #ffffff;
            text-shadow: 0 2px 6px rgba(4, 25, 54, 0.4);
        }

        .eps-tl-brand-title {
            font-size: 11px;
            font-weight: 800;
            letter-spacing: 0.16em;
            text-transform: uppercase;
            color: var(--eps-cyan, #75e4f1);
            margin-bottom: 8px;
        }

        .eps-tl-heading {
            margin: 0;
            font-size: clamp(21px, 4.5vw, 26px);
            font-weight: 700;
            letter-spacing: -0.015em;
            line-height: 1.25;
            color: #ffffff !important;
            -webkit-text-fill-color: #ffffff !important;
            background: none !important;
            -webkit-background-clip: unset !important;
            background-clip: unset !important;
            text-shadow: 0 2px 14px rgba(117, 228, 241, 0.35), 0 1px 3px rgba(0, 0, 0, 0.5);
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }

        /* Thanh tiến trình Neon Glow tinh tế */
        .eps-tl-progress-track {
            position: relative;
            width: min(100%, 320px);
            height: 4px;
            background: rgba(255, 255, 255, 0.12);
            border-radius: 999px;
            overflow: hidden;
            margin: 22px 0 14px;
            box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.3);
        }

        .eps-tl-progress-bar {
            height: 100%;
            width: 0%;
            border-radius: 999px;
            background: linear-gradient(90deg, #287fdf, #75e4f1 70%, #ffffff);
            box-shadow: 0 0 16px rgba(117, 228, 241, 0.9);
            transition: width 0.38s cubic-bezier(0.2, 0.8, 0.2, 1);
        }

        /* Dòng trạng thái thông minh thay đổi mượt mà */
        .eps-tl-status {
            min-height: 22px;
            margin: 0 0 20px;
            font-size: 13.5px;
            font-weight: 600;
            color: #d1ecf9;
            letter-spacing: 0.01em;
            transition: opacity 0.18s ease, transform 0.18s ease;
        }

        .eps-tl-status.is-updating {
            opacity: 0;
            transform: translateY(3px);
        }

        /* Huy hiệu điểm nổi bật */
        .eps-tl-pills {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 8px;
            margin-top: 4px;
        }

        .eps-tl-pill {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 5px 12px;
            border-radius: 999px;
            background: rgba(255, 255, 255, 0.08);
            border: 1px solid rgba(161, 219, 248, 0.22);
            color: rgba(240, 248, 255, 0.9);
            font-size: 11.5px;
            font-weight: 600;
            backdrop-filter: blur(8px);
        }

        .eps-tl-pill i {
            color: var(--eps-cyan, #75e4f1);
            font-size: 11px;
        }

        @keyframes epsTlOrbitSpinClockwise {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        @keyframes epsTlOrbitSpinCounter {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(-360deg); }
        }

        @keyframes epsTlBadgePulse {
            0%, 100% { transform: scale(1); box-shadow: 0 12px 32px rgba(20, 111, 201, 0.55), 0 0 16px rgba(117, 228, 241, 0.45); }
            50% { transform: scale(1.04); box-shadow: 0 16px 38px rgba(20, 111, 201, 0.7), 0 0 24px rgba(117, 228, 241, 0.65); }
        }

        @media (max-width: 820px) {
            .eps-hp-hero { min-height: max(100svh, 700px); }
            .eps-hp-photo { object-position: 68% center; }
            .eps-hp-hero::before { background: linear-gradient(90deg, rgba(4,25,54,.94), rgba(7,48,88,.80) 60%, rgba(7,48,88,.48)), linear-gradient(0deg, rgba(3,24,53,.66), transparent); }
            .eps-hp-hero-inner { min-height: max(100svh, 700px); padding: 27px 24px 33px; }
            .eps-hp-brand { margin-bottom: auto; }
            .eps-hp-copy { padding: 48px 0 12px; }
            .eps-hp-summary { margin-top: 18px; line-height: 1.52; }
            .eps-hp-pills { margin-top: 21px; }
            .eps-hp-actions { margin-top: 26px; }
            .eps-hp-button { flex: 1 1 100%; }
            .eps-hp-contact { margin-top: 28px; padding-top: 15px; font-size: 12px; }
            .eps-hp-scroll-cue { display: none; }
            .eps-tl-content { max-width: 340px; }
            .eps-tl-hub { width: 84px; height: 84px; margin-bottom: 20px; }
            .eps-tl-badge { width: 50px; height: 50px; }
            .eps-tl-badge-mark { font-size: 17px; }
            .eps-tl-status { font-size: 12.5px; }
        }
        @media (prefers-reduced-motion: reduce) {
            .eps-hp-button { transition: none; }
            .eps-tl-orbit-outer, .eps-tl-orbit-inner, .eps-tl-badge { animation: none !important; }
        }
