
        :root { --primary: #F8FAFC; --accent: #00C880; --surface: rgba(255, 255, 255, 0.04); --text-main: #F8FAFC; --text-light: #9CA3AF; --bg-light: #0A120E; --white: #FFFFFF; --border: rgba(255,255,255,0.08); }
        * { box-sizing: border-box; scroll-behavior: smooth; }
        body { font-family: 'Inter', sans-serif; margin: 0; color: var(--text-main); background: var(--bg-light); line-height: 1.6; }
        .lang-en { display: none; } body.en-mode .lang-vi { display: none; } body.en-mode .lang-en { display: inline; }
        
        /* HEADER & HERO */
        header { background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(20px) saturate(180%); -webkit-backdrop-filter: blur(20px) saturate(180%); padding: 12px 5%; position: fixed; width: 100%; top: 0; left: 0; z-index: 10000; border-bottom: 1px solid rgba(0,0,0,0.1); box-shadow: 0 4px 20px rgba(0,0,0,0.1); transition: background 0.3s; }
        .header-inner { display: flex; justify-content: space-between; align-items: center; width: 100%; max-width: 1240px; margin: 0 auto; }
        .logo-container img { height: 45px; }
        .nav-links a { color: var(--accent); text-decoration: none; font-weight: 700; margin: 0 12px; font-size: 14px; transition: 0.3s; }
        .nav-links a:hover { color: #007A5E; }
        .la-btn { background: var(--accent); color: var(--white); padding: 10px 24px; border-radius: 9999px; text-decoration: none; font-weight: 600; font-size: 13.5px; border: 1px solid rgba(255,255,255,0.1); cursor: pointer; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); box-shadow: 0 4px 15px rgba(0, 168, 107, 0.2); display: inline-flex; align-items: center; justify-content: center; }
        .la-btn:hover { background: #00C880; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0, 168, 107, 0.4); }
        .la-btn-outline { background: transparent; border: 1px solid rgba(255,255,255,0.15); color: var(--white); padding: 10px 24px; border-radius: 9999px; font-weight: 600; font-size: 13.5px; cursor: pointer; transition: all 0.3s; }
        .la-btn-outline:hover { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.3); }
        .btn-cta { background: var(--accent); color: var(--white); padding: 14px 32px; border-radius: 9999px; text-decoration: none; font-weight: 600; font-size: 15px; border: 1px solid rgba(255,255,255,0.1); cursor: pointer; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); box-shadow: 0 4px 20px rgba(0, 168, 107, 0.3); display: inline-flex; align-items: center; justify-content: center; }
        .btn-cta:hover { background: #00C880; transform: translateY(-3px); box-shadow: 0 8px 30px rgba(0, 168, 107, 0.5); }

        .hero { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; align-items: center; margin-top: 0; background: radial-gradient(ellipse at center, transparent 30%, rgba(5,11,8,0.85) 85%), radial-gradient(circle at top, #0A1F16 0%, #050B08 100%); color: var(--white); padding: 120px 4% 80px; text-align: center; position: relative; overflow: hidden; border-bottom: 1px solid rgba(255,255,255,0.05); }
        .hero::before { content: ''; position: absolute; inset: -100px; background: linear-gradient(rgba(0, 200, 128, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 200, 128, 0.05) 1px, transparent 1px); background-size: 50px 50px; transform: perspective(500px) rotateX(60deg) translateY(100px) translateZ(-200px); opacity: 0.4; animation: gridMove 20s linear infinite; pointer-events: none; }
        .hero::after { content: ''; position: absolute; width: 600px; height: 600px; background: radial-gradient(circle, rgba(0, 200, 128, 0.15) 0%, transparent 60%); border-radius: 50%; top: 50%; left: 50%; transform: translate(-50%, -50%); pointer-events: none; z-index: 0; animation: pulseGlow 8s ease-in-out infinite alternate; }
        @keyframes pulseGlow { 0% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); } 100% { opacity: 1; transform: translate(-50%, -50%) scale(1.2); } }
        @keyframes gridMove { 0% { transform: perspective(500px) rotateX(60deg) translateY(0) translateZ(-200px); } 100% { transform: perspective(500px) rotateX(60deg) translateY(50px) translateZ(-200px); } }
        .hero-content { position: relative; z-index: 10; }
        .hero-content { position: relative; z-index: 3; max-width: 880px; width: 100%; }
        .hero h1 { font-size: clamp(40px, 7.5vw, 96px); font-weight: 600; line-height: 1; letter-spacing: -0.035em; margin-bottom: 24px; text-wrap: balance; }
        .hero h1 span { background: linear-gradient(135deg, #00C880 0%, #007A5E 50%, #FFFFFF 100%); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: none; }
        .hero p { font-size: clamp(16px, 2vw, 18px); line-height: 1.6; color: var(--text-light); max-width: 620px; margin: 0 auto 44px; }
        
        .section-container { padding: 40px 4%; max-width: 1440px; margin: 0 auto; }
        .section-title { font-size: clamp(32px, 5vw, 56px); color: var(--primary); margin: 0 0 20px; font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; text-align: center; text-wrap: balance; }
        .section-subtitle { text-align: center; color: var(--text-light); max-width: 640px; margin: 0 auto 40px; font-size: clamp(15px, 2vw, 16px); line-height: 1.6; }
        
        /* GRIDS (RESPONSIVE) */
        .grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 24px; }
        .grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 24px; }
        
        /* SERVICES (NEW) */
        .service-card { background: rgba(255, 255, 255, 0.05); backdrop-filter: blur(10px); padding: 30px; border-radius: 8px; border: 1px solid var(--border); transition: 0.3s; text-align: center; box-shadow: 0 4px 6px rgba(0,0,0,0.2); }
        .service-card:hover { transform: translateY(-5px); border-color: var(--accent); box-shadow: 0 10px 20px rgba(0, 168, 107, 0.1); }
        .service-card i { font-size: 40px; color: var(--accent); margin-bottom: 20px; }
        .service-card h3 { font-size: 18px; color: var(--white); margin: 0 0 15px 0; }
        .service-card p { font-size: 14px; color: var(--text-light); margin: 0; }

        /* EXPERTS — Premium Cards */
        .expert-card {
            background: rgba(255, 255, 255, 0.03); backdrop-filter: blur(16px); border-radius: 20px; overflow: hidden;
            border: 1px solid rgba(255,255,255,0.08); transition: all 0.4s cubic-bezier(.25,.8,.25,1);
            box-shadow: 0 4px 30px rgba(0,0,0,0.2); cursor: pointer;
            min-width: 300px; max-width: 320px; scroll-snap-align: start; flex-shrink: 0;
        }
        .expert-card:hover { transform: translateY(-10px); box-shadow: 0 24px 48px rgba(0, 200, 128, 0.15); border-color: rgba(0, 200, 128, 0.5); }
        .expert-cover { height: 200px; background: linear-gradient(135deg,#050B08 0%,#00A86B 100%); position: relative; overflow: hidden; display:flex; align-items:center; justify-content:center; }
        .expert-cover::after { content:''; position:absolute; inset:0; background:linear-gradient(0deg, rgba(5,11,8,0.8) 0%, transparent 60%); pointer-events:none; }
        .expert-cover > img.expert-cover-bg { width:100%; height:100%; object-fit:cover; position:absolute; inset:0; opacity: 0.5; mix-blend-mode: overlay; }
        .expert-avatar-wrap { position:relative; z-index:3; }
        .expert-avatar-wrap img { width:120px; height:120px; border-radius:50%; border:4px solid #0B1310; object-fit:cover; box-shadow: 0 8px 32px rgba(0,0,0,0.5); background:#0B1310; }
        .expert-body { padding: 18px 24px 24px; text-align:center; }
        .expert-degree { font-size:11px; color:var(--accent); font-weight:700; letter-spacing:1.5px; text-transform:uppercase; margin-bottom:4px; }
        .expert-name { font-size:19px; font-weight:800; color:var(--primary); margin:0 0 4px 0; line-height:1.3; }
        .expert-title-badge { font-size:13px; color:var(--text-light); margin-bottom:14px; display:block; line-height:1.4; }
        .expert-stats { display:flex; justify-content:center; gap:0; margin:0 -24px; padding:14px 24px; background:rgba(0,0,0,0.3); border-top:1px solid rgba(255,255,255,0.05); border-bottom:1px solid rgba(255,255,255,0.05); }
        .expert-stat { text-align:center; flex:1; position:relative; }
        .expert-stat:not(:last-child)::after { content:''; position:absolute; right:0; top:20%; height:60%; width:1px; background:rgba(255,255,255,0.1); }
        .expert-stat-val { font-size:22px; font-weight:800; color:var(--primary); line-height:1; }
        .expert-stat-lbl { font-size:10px; color:#94A3B8; margin-top:4px; text-transform:uppercase; letter-spacing:0.5px; font-weight:600; }
        .expert-view-btn { display:inline-block; margin-top:16px; padding:10px 28px; background:linear-gradient(135deg,var(--accent),#007A5E); color:white; border-radius:25px; font-size:13px; font-weight:700; border:none; cursor:pointer; transition:all 0.3s; box-shadow:0 4px 12px rgba(0,200,128,0.25); }
        .expert-view-btn:hover { transform:scale(1.06); box-shadow:0 6px 20px rgba(0,200,128,0.4); }

        /* EXPERT MODAL — Premium Profile */
        /* EXPERT MODAL — Premium Profile */
        #expert-modal { display:none; position:fixed; inset:0; z-index:10000; background:rgba(5,11,8,0.85); backdrop-filter:blur(12px); align-items:center; justify-content:center; padding:20px; }
        #expert-modal.open { display:flex; animation: modalFadeIn 0.3s ease; }
        @keyframes modalFadeIn { from { opacity:0; } to { opacity:1; } }
        .expert-modal-inner { background:#0B1310; width:100%; max-width:640px; max-height:90vh; border-radius:24px; overflow:hidden; display:flex; flex-direction:column; animation: modalZoomIn 0.35s cubic-bezier(.25,.8,.25,1); box-shadow:0 32px 64px rgba(0,0,0,0.5); border: 1px solid rgba(255,255,255,0.08); }
        @keyframes modalZoomIn { from { transform:scale(0.92) translateY(20px); opacity:0; } to { transform:scale(1) translateY(0); opacity:1; } }
        .em-cover { background:linear-gradient(135deg,#0f2044,#10B981); position:relative; flex-shrink:0; overflow:hidden; display:flex; flex-direction:column; align-items:center; padding: 40px 20px 30px; text-align:center; border-bottom:4px solid var(--accent); }
        .em-cover img#em-cover-img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:1; }
        .em-cover::after { content:''; position:absolute; inset:0; background:rgba(10, 20, 45, 0.85); z-index:2; pointer-events:none; }
        .em-hero-content { position:relative; z-index:4; display:flex; flex-direction:column; align-items:center; width:100%; }
        .em-close { position:absolute; top:14px; right:14px; background:rgba(255,255,255,0.1); color:white; border:none; border-radius:50%; width:36px; height:36px; font-size:16px; cursor:pointer; display:flex; align-items:center; justify-content:center; z-index:5; backdrop-filter:blur(4px); transition:0.2s; }
        .em-close:hover { background:var(--accent); transform:rotate(90deg); }
        .em-avatar { width:120px; height:120px; border-radius:50%; border:4px solid rgba(255,255,255,0.15); object-fit:cover; box-shadow:0 10px 40px rgba(0,0,0,0.5); background:transparent; margin-bottom:16px; }
        .em-degree { font-size:12px; color:var(--accent); font-weight:800; letter-spacing:2px; text-transform:uppercase; margin-bottom:6px; }
        .em-name { font-size:28px; font-weight:800; color:white; margin:0 0 6px; line-height:1.2; text-shadow:0 2px 4px rgba(0,0,0,0.3); }
        .em-title { font-size:15px; color:#CBD5E1; margin-bottom:16px; font-weight:500; }
        .em-links { display:flex; gap:12px; justify-content:center; }
        .em-link { display:inline-flex; align-items:center; gap:6px; padding:8px 18px; border-radius:24px; font-size:13px; font-weight:600; text-decoration:none; transition:0.3s; background:rgba(255,255,255,0.08); color:white; border:1px solid rgba(255,255,255,0.15); backdrop-filter:blur(4px); }
        .em-link:hover { background:var(--accent); border-color:var(--accent); transform:translateY(-2px); box-shadow:0 4px 12px rgba(16,185,129,0.3); }
        .em-tabs { display:flex; gap:0; border-top:1px solid rgba(255,255,255,0.1); border-bottom:2px solid rgba(255,255,255,0.1); flex-shrink:0; overflow-x:auto; background:rgba(0,0,0,0.2); }
        .em-tab { padding:12px 20px; font-size:13px; font-weight:600; color:#94A3B8; cursor:pointer; border-bottom:2px solid transparent; margin-bottom:-2px; white-space:nowrap; transition:0.2s; }
        .em-tab:hover { color:var(--primary); }
        .em-tab.active { color:var(--accent); border-bottom-color:var(--accent); background:rgba(255,255,255,0.05); }
        .em-body { overflow-y:auto; padding:24px 28px 32px; flex:1; }
        .em-panel { display:none; } .em-panel.active { display:block; animation: panelFadeIn 0.3s ease; }
        @keyframes panelFadeIn { from { opacity:0; transform:translateY(8px); } to { opacity:1; transform:translateY(0); } }
        .em-stats-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; margin-bottom:24px; }
        .em-stat-card { background:rgba(255,255,255,0.03); border-radius:14px; padding:18px 12px; text-align:center; border:1px solid rgba(255,255,255,0.1); }
        .em-stat-val { font-size:28px; font-weight:800; color:var(--white); }
        .em-stat-lbl { font-size:11px; color:var(--text-light); margin-top:4px; font-weight:500; }
        .em-bio { font-size:15px; line-height:1.8; color:var(--text-light); margin:16px 0; }
        .em-spec-tags { display:flex; flex-wrap:wrap; gap:8px; margin-top:10px; }
        .em-spec-tag { background:rgba(0, 200, 128, 0.15); color:var(--accent); padding:6px 14px; border-radius:20px; font-size:12px; font-weight:600; border:1px solid rgba(0,200,128,0.2); }
        .em-achiev-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:12px; }
        .em-achiev-card { background:rgba(255,255,255,0.03); border:1px solid rgba(255,255,255,0.1); border-radius:12px; padding:16px; display:flex; align-items:center; gap:14px; }
        .em-achiev-card i { font-size:24px; color:var(--accent); flex-shrink:0; }
        .em-achiev-val { font-size:22px; font-weight:800; color:var(--white); line-height:1; }
        .em-achiev-lbl { font-size:11px; color:var(--text-light); margin-top:4px; }
        .em-cert-list { display:flex; flex-direction:column; gap:10px; }
        .em-cert-item { display:flex; align-items:center; gap:14px; background:rgba(255,255,255,0.03); border:1px solid rgba(255,255,255,0.1); border-radius:12px; padding:14px 16px; }
        .em-cert-icon { background:linear-gradient(135deg,#00C880,#007A5E); color:white; border-radius:10px; width:40px; height:40px; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
        .em-cert-name { font-size:14px; font-weight:700; color:var(--white); }
        .em-cert-meta { font-size:12px; color:var(--text-light); margin-top:3px; }
        .em-projects-list { list-style:none; padding:0; margin:0; }
        .em-projects-list li { padding:12px 0; border-bottom:1px solid rgba(255,255,255,0.1); font-size:14px; color:var(--text-light); display:flex; align-items:flex-start; gap:10px; line-height:1.6; }
        .em-projects-list li:last-child { border-bottom:none; }
        .em-projects-list li::before { content:'→'; color:var(--accent); font-weight:700; flex-shrink:0; margin-top:2px; }

        @media (max-width: 640px) {
            .hero-content h1 { font-size: 36px; }
            .hero-content p { font-size: 16px; }
            .expert-card { min-width: 85vw; max-width: 85vw; scroll-snap-align: center; }
            .expert-cover { height: 220px; }
            .expert-avatar-wrap img { width: 110px; height: 110px; }
            .expert-body { padding: 16px 16px 24px; }
            .em-cover { padding: 30px 16px 20px; }
            .em-avatar { width: 96px; height: 96px; }
            .em-name { font-size: 24px; }
            .em-stats-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
            .em-stat-val { font-size: 22px; }
            .em-achiev-grid { grid-template-columns: 1fr; }
            .em-body { padding: 20px 18px 28px; }

            .stats-bar { flex-direction: column; gap: 20px; padding: 20px; border-radius: 16px; width: 100%; justify-content: center; }
            .stat-item { flex-direction: column; gap: 6px; text-align: center; }
            .stat-content { text-align: center; }
            .stat-item i { font-size: 24px; }
            .stat-num { font-size: 20px; }
            .stat-label { font-size: 9px; line-height: 1.2; }
            
            #expert-cards-wrapper { padding: 0 4%; gap: 15px; margin: 0 -4%; scroll-padding: 4%; }
        }



        /* HUB & BLOG */
        .concept-box { background: rgba(255, 255, 255, 0.03); backdrop-filter: blur(16px); padding: 40px; border-radius: 16px; border: 1px solid var(--border); box-shadow: 0 4px 30px rgba(0,0,0,0.2); }
        .blog-card { background: rgba(255, 255, 255, 0.03); backdrop-filter: blur(16px); border: 1px solid var(--border); border-radius: 16px; padding: 25px; transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); display: flex; flex-direction: column; box-shadow: 0 4px 30px rgba(0,0,0,0.1); }
        .blog-card:hover { border-color: rgba(0, 200, 128, 0.4); transform: translateY(-8px); box-shadow: 0 12px 40px rgba(0, 168, 107, 0.15); background: rgba(255, 255, 255, 0.05); }
        .tag { font-size: 11px; background: rgba(0, 200, 128, 0.15); color: #00C880; padding: 6px 12px; border-radius: 9999px; font-weight: 600; display: inline-block; margin-bottom: 16px; align-self: flex-start; letter-spacing: 0.5px; }
        .blog-meta { margin-top: auto; padding-top: 15px; border-top: 1px solid rgba(255,255,255,0.05); display: flex; justify-content: space-between; font-size: 12px; color: var(--text-light); }
        .tab-filter { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; justify-content: flex-start; }
        .tab-btn { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); padding: 8px 16px; border-radius: 20px; font-size: 13px; font-weight: 600; color: var(--text-light); cursor: pointer; transition: all 0.3s; }
        .tab-btn:hover { border-color: rgba(255,255,255,0.2); color: var(--white); background: rgba(255,255,255,0.1); }
        .tab-btn.active { background: var(--primary); color: #0B1310; border-color: var(--primary); }

        /* CASE STUDIES */
        .case-card { display: flex; background: rgba(255, 255, 255, 0.02); backdrop-filter: blur(16px); border-radius: 16px; overflow: hidden; margin-bottom: 30px; border: 1px solid var(--border); box-shadow: 0 4px 30px rgba(0,0,0,0.1); }
        .case-content { flex: 1; padding: 40px; }
        .case-gallery { flex: 1; background: rgba(16, 25, 22, 0.6); display: flex; flex-direction: column; position: relative; }
        .pain-sol div { background: rgba(255,255,255,0.03); padding: 15px; border-radius: 8px; border-left: 3px solid var(--accent); margin-bottom: 10px; color: var(--text-light); }
        .kpi-badge { background: rgba(0, 200, 128, 0.15); color: #00C880; padding: 10px 15px; border-radius: 8px; font-weight: 600; font-size: 14px; display: inline-block; margin-right: 10px; margin-bottom: 10px; border: 1px solid rgba(0, 200, 128, 0.2); }
        .kpi-badge span { color: var(--white); font-weight: 700; margin-left: 4px; }
        .case-citation { margin-top: 25px; padding: 15px; background: rgba(255, 255, 255, 0.03); border-left: 4px solid var(--accent); border-radius: 0 8px 8px 0; font-size: 13px; color: var(--text-light); font-style: italic; }
        .case-citation a { color: var(--white); font-weight: 700; text-decoration: none; font-style: normal; display: block; margin-top: 5px; transition: color 0.3s; }
        .case-citation a:hover { color: var(--accent); text-decoration: none; }

        /* Case Slider Navigation */
        .cases-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 10; width: 44px; height: 44px; border-radius: 50%; background: rgba(10, 10, 12, 0.8); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,0.1); color: var(--white); font-size: 16px; cursor: pointer; box-shadow: 0 4px 12px rgba(0,0,0,0.3); transition: 0.3s; display: flex; align-items: center; justify-content: center; }
        .cases-nav:hover { background: var(--accent); color: var(--white); border-color: var(--accent); }
        .cases-prev { left: -22px; }
        .cases-next { right: -22px; }

        /* Clickable blog cards */
        .blog-card { cursor: pointer; }

        /* Article Detail Modal */
        .article-modal-overlay { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.6); z-index: 10000; justify-content: center; align-items: center; padding: 20px; }
        .article-modal-overlay.active { display: flex; }
        .article-modal { background: #0B1310; border: 1px solid var(--border); border-radius: 12px; max-width: 700px; width: 100%; max-height: 85vh; overflow-y: auto; box-shadow: 0 25px 60px rgba(0,0,0,0.5); animation: modalSlideUp 0.3s ease; }
        @keyframes modalSlideUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
        .article-modal-header { padding: 25px 30px 15px; border-bottom: 1px solid var(--border); }
        .article-modal-header .tag { margin-bottom: 8px; }
        .article-modal-header h3 { margin: 0 0 10px; color: var(--primary); font-size: 20px; line-height: 1.4; }
        .article-modal-body { padding: 25px 30px 30px; font-size: 14px; line-height: 1.8; color: var(--text-light); }
        .article-modal-close { position: absolute; top: 15px; right: 20px; background: none; border: none; font-size: 20px; color: #9CA3AF; cursor: pointer; transition: 0.2s; }
        .article-modal-close:hover { color: var(--white); }

        /* SURVEY TOOL */
        .survey-container { background: rgba(255, 255, 255, 0.02); backdrop-filter: blur(16px); border-radius: 16px; box-shadow: 0 4px 30px rgba(0,0,0,0.1); overflow: hidden; border: 1px solid var(--border); border-top: 4px solid var(--accent); }
        .progress-bar { display: flex; background: rgba(0,0,0,0.2); border-bottom: 1px solid var(--border); overflow-x: auto; scrollbar-width: none; }
        .progress-bar::-webkit-scrollbar { display: none; }
        .step { flex: 1; min-width: 120px; text-align: center; padding: 15px 5px; font-size: 13px; font-weight: 600; color: var(--text-light); border-bottom: 3px solid transparent; cursor: pointer; }
        .step.active { color: var(--accent); border-bottom-color: var(--accent); background: rgba(255, 255, 255, 0.05); }
        .form-section { padding: 40px; display: none; }
        .form-section.active { display: block; animation: fadeIn 0.4s; }
        @keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
        
        .input-group label { display: block; font-weight: 600; margin-bottom: 8px; font-size: 14px; color: var(--white); }
        .input-group input, .input-group select, .input-group textarea { width: 100%; padding: 12px; background: rgba(255,255,255,0.05); color: var(--white); border: 1px solid var(--border); border-radius: 4px; font-family: 'Inter'; }
        .input-group select option { background: var(--bg-light); color: var(--white); }
        .input-group input:focus, .input-group select:focus, .input-group textarea:focus { outline: none; border-color: var(--accent); background: rgba(255,255,255,0.08); }
        
        .likert-box { margin-bottom: 30px; background: rgba(255,255,255,0.03); border: 1px solid var(--border); border-radius: 8px; padding: 20px; }
        .likert-q { font-weight: 600; color: var(--white); margin-bottom: 20px; font-size: 15px; }
        .scale-wrap { display: flex; justify-content: space-between; position: relative; }
        .scale-wrap::before { content: ''; position: absolute; top: 12px; left: 5%; right: 5%; height: 2px; background: rgba(255,255,255,0.1); z-index: 1; }
        .scale-item { display: flex; flex-direction: column; align-items: center; width: 14%; z-index: 2; }
        .scale-item input { width: 22px; height: 22px; accent-color: var(--accent); cursor: pointer; background: transparent; margin-bottom: 8px;}
        .scale-label { font-size: 11px; color: var(--text-light); text-align: center; font-weight: 500; }
        
        /* PUBLIC STATS BAR */
        .stats-bar {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 40px;
            padding: 15px 40px;
            background: rgba(16, 185, 129, 0.05);
            border-radius: 50px;
            border: 1px solid rgba(16, 185, 129, 0.15);
            margin: 10px auto 30px;
            max-width: fit-content;
        }
        .stat-item { display: flex; align-items: center; gap: 12px; }
        .stat-item i { font-size: 24px; color: var(--accent); }
        .stat-content { text-align: left; }
        .stat-num { font-size: 24px; font-weight: 800; color: var(--primary); margin-bottom: 2px; line-height: 1; }
        .stat-label { font-size: 11px; color: var(--text-light); font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }

        /* EXPLANATION UX */
        .tooltip-icon { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; background: #E5E7EB; color: #4B5563; font-size: 12px; font-weight: bold; cursor: pointer; margin-left: 8px; transition: 0.2s; flex-shrink: 0;}
        .tooltip-icon:hover, .tooltip-icon.active { background: var(--accent); color: white; }
        .exp-block { display: none; background: #F9FAFB; padding: 12px 15px; border-radius: 8px; font-size: 13px; color: #4B5563; margin-top: 10px; font-style: italic; border-left: 3px solid var(--accent); line-height: 1.5; box-shadow: inset 0 2px 4px 0 rgba(0,0,0,0.02); }
        .exp-block.show { display: block; animation: fadeIn 0.3s; }
        
        .btn-wrap { display: flex; justify-content: space-between; margin-top: 30px; border-top: 1px solid var(--border); padding-top: 30px; }
        .btn-outline { background: transparent; border: 1px solid var(--primary); padding: 10px 20px; border-radius: 4px; font-weight: 600; cursor: pointer; }
        
        /* FOOTER */
        footer { background: #050B08; color: var(--text-light); padding: 50px 4% 30px; border-top: 1px solid rgba(255,255,255,0.05); font-size: 14px; }
        .footer-grid { display: grid; grid-template-columns: 1fr; gap: 40px; max-width: 1440px; margin: 0 auto; text-align: left; }
        @media (min-width: 768px) { .footer-grid { grid-template-columns: 1.5fr 1fr; gap: 80px; } }
        .footer-col h4 { color: var(--primary); font-size: 16px; font-weight: 800; margin-bottom: 25px; text-transform: uppercase; letter-spacing: 0.5px; }
        .footer-logo { height: 45px; margin-bottom: 25px; cursor: pointer; transition: 0.3s; filter: brightness(0) invert(1); }
        .footer-logo:hover { opacity: 0.8; }
        .footer-socials { display: flex; gap: 15px; margin-top: 30px; }
        .footer-socials a { color: var(--white); font-size: 18px; transition: 0.3s; display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); text-decoration: none; }
        .footer-socials a:hover { color: var(--white); background: var(--accent); border-color: var(--accent); transform: translateY(-3px); box-shadow: 0 4px 12px rgba(0, 200, 128, 0.2); }
        .footer-contact-list { list-style: none; padding: 0; margin: 0; }
        .footer-contact-list li { display: flex; align-items: flex-start; gap: 15px; margin-bottom: 20px; line-height: 1.6; }
        .footer-contact-list i { color: var(--accent); margin-top: 4px; font-size: 18px; width: 20px; text-align: center; }
        .footer-bottom { border-top: 1px solid rgba(255,255,255,0.05); padding-top: 25px; margin-top: 50px; font-size: 13px; color: var(--text-light); text-align: center; max-width: 1440px; margin-left: auto; margin-right: auto; }

        /* CHATBOT WIDGET */
        .chat-widget { position: fixed; bottom: 30px; right: 30px; z-index: 9999; }
        .chat-float-btn { width: 60px; height: 60px; border-radius: 50%; background: var(--accent); color: var(--white); display: flex; align-items: center; justify-content: center; font-size: 24px; box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4); cursor: pointer; transition: 0.3s; border: none; }
        .chat-float-btn:hover { transform: scale(1.1); background: #059669; }
        .chat-window { position: absolute; bottom: 80px; right: 0; width: 350px; background: #0B1310; border-radius: 12px; box-shadow: 0 10px 40px rgba(0,0,0,0.5); overflow: hidden; border: 1px solid var(--border); display: none; flex-direction: column; opacity: 0; transition: opacity 0.3s, transform 0.3s; transform: translateY(20px); }
        .chat-window.active { display: flex; opacity: 1; transform: translateY(0); }
        .chat-header { background: var(--surface); color: var(--white); padding: 15px 20px; display: flex; justify-content: space-between; align-items: center; border-bottom: 3px solid var(--accent); }
        .chat-header h3 { margin: 0; font-size: 16px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
        .chat-header-close { background: none; border: none; color: #9CA3AF; cursor: pointer; font-size: 16px; transition: 0.2s; }
        .chat-header-close:hover { color: var(--white); }
        .chat-body { height: 350px; padding: 20px; overflow-y: auto; background: var(--bg-light); display: flex; flex-direction: column; gap: 15px; }
        .chat-msg { max-width: 85%; padding: 10px 15px; border-radius: 12px; font-size: 13px; line-height: 1.5; }
        .chat-msg.bot { background: rgba(255,255,255,0.05); color: var(--text-main); border: 1px solid var(--border); border-bottom-left-radius: 4px; align-self: flex-start; }
        .chat-msg.user { background: var(--accent); color: var(--white); border-bottom-right-radius: 4px; align-self: flex-end; }
        .chat-footer { padding: 15px; background: rgba(0,0,0,0.3); border-top: 1px solid var(--border); display: flex; gap: 10px; }
        .chat-input { flex: 1; background: rgba(255,255,255,0.03); color: var(--white); border: 1px solid var(--border); border-radius: 20px; padding: 8px 15px; font-size: 13px; outline: none; transition: 0.3s; font-family: 'Inter'; }
        .chat-input:focus { border-color: var(--accent); }
        .chat-send-btn { background: var(--accent); color: var(--white); border: none; width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: 0.2s; }
        .chat-send-btn:hover { background: #059669; }

        /* Typing indicator */
        .typing-dots { display: flex; gap: 4px; padding: 4px 0; align-items: center; }
        .typing-dots span { width: 8px; height: 8px; background: #9CA3AF; border-radius: 50%; animation: typingBounce 1.4s infinite ease-in-out; }
        .typing-dots span:nth-child(2) { animation-delay: 0.2s; }
        .typing-dots span:nth-child(3) { animation-delay: 0.4s; }
        @keyframes typingBounce { 0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; } 40% { transform: scale(1); opacity: 1; } }

        /* Quick reply chips */
        .chat-suggestions { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 4px; }
        .chat-chip { background: #F0FDF4; border: 1px solid #BBF7D0; color: #059669; font-size: 12px; padding: 6px 12px; border-radius: 16px; cursor: pointer; font-family: 'Inter'; transition: 0.2s; white-space: nowrap; }
        .chat-chip:hover { background: #10B981; color: #fff; border-color: #10B981; }

        /* Chat message links & formatting */
        .chat-msg.bot a { color: var(--accent); font-weight: 600; text-decoration: none; }
        .chat-msg.bot a:hover { text-decoration: underline; }
        .chat-msg.bot strong { color: #111827; }

        /* MOBILE FIRST & RESPONSIVE RWD */
        @media (max-width: 768px) {
            /* Hamburger Menu */
            .hamburger { display: block; background: transparent; border: none; font-size: 24px; cursor: pointer; color: var(--primary); padding: 10px; }
            .nav-menu-container { display: none; flex-direction: column; width: 100%; position: absolute; top: 100%; left: 0; background: var(--white); padding: 15px 5%; box-shadow: 0 4px 6px rgba(0,0,0,0.1); border-top: 1px solid var(--border); }
            .nav-menu-container.active { display: flex; }
            .nav-links { flex-direction: column; width: 100%; align-items: flex-start !important; }
            .nav-links a { margin: 5px 0; padding: 12px 0; width: 100%; border-bottom: 1px solid #F3F4F6; display: block; }
            .nav-actions { width: 100%; flex-direction: column; gap: 10px; margin-top: 15px; }
            .nav-actions button, .nav-actions a { width: 100%; text-align: center; }
            
            /* Tap Targets (Min 44x44px) */
            .la-btn, .la-btn-outline, .btn-cta, .tab-btn { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
            .input-group input, .input-group select, .input-group textarea { min-height: 44px; }
            
            /* Grid 3 to 1 column */
            .grid-3 { grid-template-columns: 1fr; }
            .grid-2 { grid-template-columns: 1fr; }
            
            /* Likert Scale (Matrix to Vertical/Slider-like) */
            .scale-wrap { flex-direction: column; gap: 10px; margin-top: 15px; }
            .scale-wrap::before { display: none; }
            .scale-item { width: 100%; flex-direction: row-reverse; justify-content: space-between; align-items: center; background: #fff; padding: 12px 15px; border: 1px solid var(--border); border-radius: 8px; box-shadow: 0 1px 2px rgba(0,0,0,0.02); }
            .scale-item input { width: 24px; height: 24px; margin: 0; }
            .scale-label { font-size: 14px; text-align: left; }
            .likert-q { font-size: 16px; line-height: 1.4; }
            
            /* Case Studies Vertical */
            .case-card { flex-direction: column; }
            .case-content { padding: 25px; }
            .case-gallery { min-height: 200px; }

            /* Progress bar mobile scroll */
            .progress-bar { overflow-x: auto; white-space: nowrap; -webkit-overflow-scrolling: touch; }
            .step { min-width: 100px; }

            /* Hero adjustments */
            .hero { padding: 100px 5% 80px; }
            .hero h1 { font-size: 36px; }
            .btn-wrap { flex-direction: column; gap: 15px; }
            .btn-wrap button { width: 100%; }
        }
        @media (min-width: 769px) {
            .hamburger { display: none; }
            .nav-menu-container { display: flex; align-items: center; justify-content: space-between; flex: 1; margin-left: 40px; }
            .nav-actions { display: flex; }
        }
    

        .hide-scrollbar::-webkit-scrollbar { display: none; }
        .hide-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }
        @keyframes shimmer { 0%{background-position:-400px 0} 100%{background-position:400px 0} }
    

/* 1. Hide the top Google Translate banner */
.skiptranslate iframe, body > .skiptranslate { display: none !important; }
body { top: 0px !important; }

/* 2. Hide Google logo/text and style the native select */
#google_translate_element .goog-te-gadget {
    color: transparent !important; 
    font-size: 0 !important; 
}
#google_translate_element .goog-te-gadget .goog-te-combo {
    color: #111827 !important; 
    font-size: 13px !important; 
    padding: 6px 10px; 
    border-radius: 6px; 
    border: 1px solid #D1D5DB; 
    margin-left: 15px; 
    font-family: 'Inter', sans-serif; 
    cursor: pointer; 
    background: #fff; 
    outline: none; 
}
#google_translate_element .goog-te-gadget span { display: none !important; }


/* CSS cho Dynamic Background */
body::after {
    transform: translateY(var(--scroll-offset, 0)) translateZ(0);
}

/* ================================================
   THƯ VIỆN TÀI LIỆU — PREMIUM SECTION STYLES
   ================================================ */

/* Wrapper */
.lib-section-wrapper {
    background: var(--bg-light);
    padding-bottom: 80px;
    position: relative;
    overflow: hidden;
}

/* ─── HERO BANNER ─────────────────────────────── */
.lib-hero-banner {
    position: relative;
    background: linear-gradient(135deg, #060f0a 0%, #0a1f16 40%, #061810 100%);
    padding: 80px 4% 90px;
    text-align: center;
    overflow: hidden;
    border-bottom: 1px solid rgba(0,200,128,0.1);
}

.lib-hero-bg-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 20% 50%, rgba(0,200,128,0.08) 0%, transparent 60%),
        radial-gradient(ellipse 60% 80% at 80% 30%, rgba(0,122,94,0.06) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* Animated dot grid bg */
.lib-hero-particles {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle, rgba(0,200,128,0.15) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.3;
    animation: libParticlesDrift 25s linear infinite;
    pointer-events: none;
    z-index: 0;
}
@keyframes libParticlesDrift {
    from { background-position: 0 0; }
    to   { background-position: 80px 80px; }
}

.lib-hero-content {
    position: relative;
    z-index: 2;
    max-width: 780px;
    margin: 0 auto;
}

.lib-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0,200,128,0.12);
    border: 1px solid rgba(0,200,128,0.3);
    color: #00C880;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 8px 18px;
    border-radius: 50px;
    margin-bottom: 28px;
    backdrop-filter: blur(4px);
    animation: libBadgePulse 3s ease-in-out infinite;
}
@keyframes libBadgePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(0,200,128,0.2); }
    50% { box-shadow: 0 0 0 8px rgba(0,200,128,0); }
}

.lib-hero-title {
    font-size: clamp(30px, 5vw, 52px);
    font-weight: 700;
    color: #F8FAFC;
    margin: 0 0 20px;
    line-height: 1.15;
    letter-spacing: -0.025em;
    text-wrap: balance;
}

.lib-hero-highlight {
    background: linear-gradient(135deg, #00C880 0%, #00ffaa 50%, #007A5E 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
}

.lib-hero-sub {
    font-size: clamp(15px, 2vw, 17px);
    color: #94A3B8;
    line-height: 1.7;
    margin: 0 auto 36px;
    max-width: 600px;
}

.lib-hero-stats {
    display: inline-flex;
    align-items: center;
    gap: 0;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 50px;
    padding: 14px 32px;
    backdrop-filter: blur(10px);
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
}

.lib-hstat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}
.lib-hstat span {
    font-size: 22px;
    font-weight: 800;
    color: #00C880;
    line-height: 1;
}
.lib-hstat small {
    font-size: 11px;
    color: #6B7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}
.lib-hstat-divider {
    width: 1px;
    height: 36px;
    background: rgba(255,255,255,0.1);
}

/* ─── CONTROLS BAR (Search + Filter) ─────────── */
.lib-controls-bar {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 4%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transform: translateY(-28px);
}

/* Search Bar */
.lib-search-wrap {
    position: relative;
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
}
.lib-search-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #6B7280;
    font-size: 15px;
    pointer-events: none;
    z-index: 1;
}
.lib-search-input {
    width: 100%;
    padding: 15px 50px 15px 48px;
    background: rgba(20,35,28,0.95);
    border: 1px solid rgba(0,200,128,0.2);
    border-radius: 50px;
    color: #F8FAFC;
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    outline: none;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.3), 0 0 0 0 rgba(0,200,128,0);
}
.lib-search-input::placeholder { color: #6B7280; }
.lib-search-input:focus {
    border-color: rgba(0,200,128,0.5);
    box-shadow: 0 8px 32px rgba(0,0,0,0.4), 0 0 0 3px rgba(0,200,128,0.1);
}
.lib-search-clear {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #6B7280;
    cursor: pointer;
    font-size: 14px;
    padding: 4px;
    transition: color 0.2s;
}
.lib-search-clear:hover { color: #F8FAFC; }

/* Filter Tabs */
.lib-filter-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}
.lib-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 20px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 50px;
    color: #94A3B8;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4,0,0.2,1);
    font-family: 'Inter', sans-serif;
    white-space: nowrap;
}
.lib-filter-btn i { font-size: 12px; }
.lib-filter-btn:hover {
    border-color: rgba(0,200,128,0.3);
    color: #00C880;
    background: rgba(0,200,128,0.05);
}
.lib-filter-btn.active {
    background: linear-gradient(135deg, #00C880, #007A5E);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 4px 16px rgba(0,200,128,0.3);
}

/* ─── DOCUMENT GRID ──────────────────────────── */
.lib-grid-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 4%;
}

.lib-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr));
    gap: 24px;
}

/* ─── DOCUMENT CARD ──────────────────────────── */
.lib-doc-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
    position: relative;
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 24px rgba(0,0,0,0.2);
    animation: libCardFadeIn 0.5s ease both;
}
@keyframes libCardFadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}
.lib-doc-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0,200,128,0.4);
    box-shadow: 0 20px 50px rgba(0,200,128,0.12), 0 4px 24px rgba(0,0,0,0.3);
    background: rgba(255,255,255,0.05);
}

/* Card cover image */
.lib-card-cover {
    height: 200px;
    background: linear-gradient(135deg, #0a1f16 0%, #0f2c1e 100%);
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}
.lib-card-cover::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(6,15,10,0.7) 0%, transparent 60%);
}

/* Category type badge on card */
.lib-card-type {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    background: rgba(0,200,128,0.9);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 50px;
    backdrop-filter: blur(4px);
}
.lib-card-type.type-ebook      { background: rgba(59,130,246,0.9); }
.lib-card-type.type-whitepaper { background: rgba(0,200,128,0.9); }
.lib-card-type.type-report     { background: rgba(245,158,11,0.9); }
.lib-card-type.type-checklist  { background: rgba(168,85,247,0.9); }

/* Download count badge on cover */
.lib-card-dl-badge {
    position: absolute;
    bottom: 10px;
    right: 12px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 5px;
    background: rgba(0,0,0,0.6);
    color: #9CA3AF;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 50px;
    backdrop-filter: blur(4px);
}
.lib-card-dl-badge i { color: #00C880; }

/* Card body */
.lib-card-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.lib-card-title {
    font-size: 15px;
    font-weight: 700;
    color: #F8FAFC;
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s;
}
.lib-doc-card:hover .lib-card-title { color: #00C880; }

.lib-card-desc {
    font-size: 13px;
    color: #6B7280;
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* CTA row at bottom of card */
.lib-card-footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.lib-card-read-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    color: #00C880;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: gap 0.2s;
}
.lib-card-read-btn:hover { gap: 10px; }

.lib-card-dl-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0,200,128,0.1);
    border: 1px solid rgba(0,200,128,0.25);
    color: #00C880;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.25s;
    flex-shrink: 0;
}
.lib-card-dl-btn:hover {
    background: #00C880;
    color: #fff;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0,200,128,0.4);
}

/* ─── EMPTY STATE ────────────────────────────── */
.lib-empty-state {
    text-align: center;
    padding: 80px 20px;
    color: #4B5563;
    grid-column: 1 / -1;
}
.lib-empty-state i {
    font-size: 48px;
    margin-bottom: 16px;
    display: block;
    color: #374151;
}
.lib-empty-state p {
    font-size: 18px;
    font-weight: 600;
    color: #6B7280;
    margin: 0 0 8px;
}
.lib-empty-state small {
    font-size: 14px;
    color: #4B5563;
}

/* ─── PREMIUM MODAL ──────────────────────────── */
.wp-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(5,11,8,0.88);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    padding: 20px;
    backdrop-filter: blur(8px);
}
.wp-modal-overlay[style*="flex"] { display: flex; animation: wpModalIn 0.3s ease; }
@keyframes wpModalIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.wp-modal-inner {
    background: #0d1f19;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    max-width: 820px;
    width: 100%;
    max-height: 92vh;
    overflow-y: auto;
    display: flex;
    flex-direction: row;
    box-shadow: 0 40px 80px rgba(0,0,0,0.6);
    animation: wpModalSlide 0.4s cubic-bezier(0.25,0.8,0.25,1);
    scrollbar-width: thin;
    scrollbar-color: rgba(0,200,128,0.3) transparent;
}
@keyframes wpModalSlide {
    from { transform: scale(0.92) translateY(20px); opacity: 0; }
    to   { transform: scale(1) translateY(0); opacity: 1; }
}

/* Cover panel (left side) */
.wp-modal-cover {
    width: 300px;
    flex-shrink: 0;
    position: relative;
    border-radius: 20px 0 0 20px;
    overflow: hidden;
    min-height: 380px;
    background: linear-gradient(135deg, #0a1f16, #061810);
}
.wp-modal-cover-img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}
.wp-modal-inner:hover .wp-modal-cover-img { transform: scale(1.03); }
.wp-modal-cover-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(6,24,16,0.3) 0%, rgba(6,24,16,0.7) 100%);
}

.wp-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 5;
    background: rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.1);
    color: #9CA3AF;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s;
    backdrop-filter: blur(4px);
}
.wp-modal-close:hover { background: var(--accent); color: #fff; transform: rotate(90deg); }

.wp-modal-cat-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    z-index: 5;
    background: rgba(0,200,128,0.9);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 50px;
}

/* Body panel (right side) */
.wp-modal-body {
    flex: 1;
    padding: 36px 36px 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    overflow-y: auto;
}

.wp-modal-title {
    font-size: 22px;
    font-weight: 800;
    color: #F8FAFC;
    margin: 0;
    line-height: 1.3;
}
.wp-modal-desc {
    font-size: 14px;
    line-height: 1.75;
    color: #9CA3AF;
    margin: 0;
}
.wp-modal-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 12px;
    color: #6B7280;
    font-weight: 600;
}
.wp-modal-meta span { display: flex; align-items: center; gap: 5px; }
.wp-modal-meta i { color: #00C880; }

.wp-modal-divider {
    height: 1px;
    background: rgba(255,255,255,0.07);
    margin: 4px 0;
}

.wp-modal-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.wp-modal-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #D1D5DB;
    font-weight: 500;
}
.wp-modal-feature i { color: #00C880; font-size: 14px; flex-shrink: 0; }

.wp-modal-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px 24px;
    background: linear-gradient(135deg, #00C880, #007A5E);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
    box-shadow: 0 6px 24px rgba(0,200,128,0.35);
    font-family: 'Inter', sans-serif;
    margin-top: 8px;
}
.wp-modal-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 32px rgba(0,200,128,0.5);
}

.wp-modal-note {
    font-size: 12px;
    color: #6B7280;
    text-align: center;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.wp-modal-note i { color: #374151; }

/* ─── RESPONSIVE ─────────────────────────────── */
@media (max-width: 768px) {
    .lib-hero-banner { padding: 60px 5% 70px; }
    .lib-hero-stats  { gap: 16px; padding: 12px 20px; }
    .lib-controls-bar { transform: translateY(-20px); }
    .lib-filter-tabs { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; scrollbar-width: none; }
    .lib-filter-tabs::-webkit-scrollbar { display: none; }
    .lib-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 16px; }
    
    .wp-modal-inner { flex-direction: column; max-height: 90vh; }
    .wp-modal-cover { width: 100%; min-height: 220px; border-radius: 20px 20px 0 0; }
    .wp-modal-body  { padding: 24px 22px 28px; }
}
@media (max-width: 480px) {
    .lib-hstat-divider { display: none; }
    .lib-hero-stats { gap: 20px; }
    .lib-grid { grid-template-columns: 1fr; }
}

