﻿
    /* AIAUTO 5D BRIGHT CONCEPT - Pearl White & Tech Gradient (Cyan/Violet) */
    :root {
      --bg: #1A1C2C;
      --bg-deep: #12141F;
      --surface: #252839;
      --surface-2: #2E3247;
      --glass: rgba(37, 40, 57, 0.72);
      --glass-strong: rgba(26, 28, 44, 0.92);
      --glass-border: rgba(0, 229, 255, 0.20);

      --accent-auto: #00E5FF; 
      --accent-auto-ink: #0B1020;
      --accent-ai: #E91E63; 
      --accent-ai-bright: #FF4D8D;
      --neural-cyan: #00E5FF;
      --neural-violet: #E91E63;

      --fg: #FFFFFF;
      --fg-2: #C7CCE0;
      --muted: #8B93B5;
      --border: #333857;
      --border-soft: #2A2F47;

      --success: #10B981;
      --warn: #F59E0B;
      --danger: #EF4444;
      --gold: #00E5FF;

      --grad-5d: linear-gradient(135deg, #00E5FF, #7C3AED 55%, #E91E63);
      /* Bề mặt phái sinh (để đổi theme toàn cục) */
      --surface-raise: #252839;
      --surface-input: #1D2033;
      --surface-section: linear-gradient(180deg, #1D2033, #181B2C);
      --surface-visual: linear-gradient(160deg, #23263A, #282B42);
      --surface-head: linear-gradient(135deg, #23263A, #1D2B3A);
      --surface-msg: #23263A;
      --surface-footer: linear-gradient(180deg, #1D2033, #12141F);
      --panel: rgba(26, 28, 44, 0.96);
      --grad-logo: linear-gradient(to right, #00E5FF, #4DD8FF 30%, #E91E63 60%, #7C3AED);
      --grad-stat: linear-gradient(135deg, #00E5FF, #E91E63, #7C3AED);
      --font-sans: 'Inter', -apple-system, sans-serif;
      --font-mono: 'SF Mono', Consolas, monospace;
      --radius-sm: 8px;
      --radius-md: 14px;
      --radius-lg: 22px;
      --radius-xl: 30px;
      --radius-pill: 9999px;
      --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
    }

    /* Seller eKYC: Điều 6 identity verification flow */
    .seller-ekyc { margin-top:24px; padding:20px; border:1px solid rgba(0,229,255,.24); border-radius:var(--radius-md); background:linear-gradient(145deg,rgba(0,229,255,.08),rgba(233,30,99,.07)); }
    .seller-ekyc-head { display:flex; justify-content:space-between; gap:16px; align-items:flex-start; margin-bottom:18px; }
    .seller-ekyc h4 { margin:8px 0 6px; color:var(--fg); font-size:18px; }
    .seller-ekyc p { color:var(--muted); font-size:13px; line-height:1.6; margin:0; }
    .seller-ekyc-badge { flex:0 0 auto; padding:6px 10px; border:1px solid rgba(245,158,11,.45); border-radius:999px; color:var(--warn); font-size:11px; font-weight:700; white-space:nowrap; }
    .seller-ekyc-types { display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-bottom:14px; }
    .seller-ekyc-type { display:flex; gap:9px; align-items:flex-start; padding:12px; border:1px solid var(--border); border-radius:var(--radius-sm); cursor:pointer; background:rgba(18,20,31,.38); }
    .seller-ekyc-type:has(input:checked) { border-color:var(--neural-cyan); background:rgba(0,229,255,.09); }
    .seller-ekyc-type input { accent-color:var(--neural-cyan); margin-top:3px; }
    .seller-ekyc-type b, .seller-ekyc-type small { display:block; }
    .seller-ekyc-type b { color:var(--fg); font-size:13px; }
    .seller-ekyc-type small { color:var(--muted); font-size:11px; margin-top:3px; }
    .seller-ekyc-grid { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
    .seller-ekyc-upload { min-height:96px; display:flex; flex-direction:column; justify-content:center; align-items:center; text-align:center; gap:5px; padding:14px; border:1px dashed rgba(0,229,255,.45); border-radius:var(--radius-sm); cursor:pointer; background:rgba(7,19,43,.42); }
    .seller-ekyc-upload:hover { border-color:var(--neural-cyan); background:rgba(0,229,255,.08); }
    .seller-ekyc-upload input { display:none; }
    .seller-ekyc-upload span { color:var(--neural-cyan); font-size:12px; font-weight:700; }
    .seller-ekyc-upload small { color:var(--muted); font-size:10px; overflow-wrap:anywhere; }
    .seller-ekyc-consent { display:flex; gap:8px; align-items:flex-start; margin-top:14px; padding:11px; border-radius:var(--radius-sm); background:rgba(16,185,129,.08); color:var(--fg-2); font-size:12px; line-height:1.5; }
    .seller-ekyc-consent input { accent-color:var(--success); margin-top:3px; }
    .seller-ekyc-note { margin-top:10px !important; font-size:11px !important; }
    .seller-ekyc-submit { width:100%; margin-top:14px; border-color:var(--neural-cyan); color:var(--neural-cyan); }
    @media (max-width:600px) { .seller-ekyc-head, .seller-ekyc-types, .seller-ekyc-grid { grid-template-columns:1fr; flex-direction:column; } .seller-ekyc-badge { align-self:flex-start; } }
    
    * { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; }
    body {
      background: var(--bg); color: var(--fg);
      font-family: var(--font-sans); line-height: 1.6;
      background-image: 
        radial-gradient(circle at 15% 50%, rgba(0, 229, 255, 0.06), transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(233, 30, 99, 0.06), transparent 25%);
    }

    h1, h2, h3 { font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; }
    a { color: inherit; text-decoration: none; }
    button, input, select { font: inherit; outline: none; }
    button { cursor: pointer; border: none; }
    .eyebrow { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: var(--neural-cyan); font-weight: 700; }
    
    .wrap { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
    .wrap.split { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
    @media(max-width:860px){ .wrap.split { grid-template-columns: 1fr; gap: 24px; } }
    
    .section { padding: 26px 0; scroll-margin-top: 76px; }
    .section.alt { background: rgba(255,255,255,0.01); border-block: 1px solid rgba(255,255,255,0.03); }
    .section-head { margin-bottom: 24px; text-align: center; display: flex; flex-direction: column; align-items: center; }
    .section-head h2 { font-size: 26px; margin-bottom: 8px; text-transform: uppercase; }
    .section-head p { color: var(--muted); max-width: 650px; font-size: 14px; margin-bottom: 0; }
    
    .btn { display: inline-flex; align-items: center; justify-content: center; padding: 0 24px; height: 44px; border-radius: var(--radius-pill); font-weight: 600; font-size: 15px; transition: all 170ms ease; white-space: nowrap; }
    .btn-primary { background: var(--accent-auto); color: var(--accent-auto-ink); }
    .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(255, 92, 31, 0.3); }
    .btn-secondary { background: var(--surface-2); color: var(--fg); border: 1px solid var(--border); }
    .btn-secondary:hover { border-color: var(--accent-ai-bright); }
    .btn-danger { background: rgba(255,107,107,0.15); color: var(--danger); }
    .btn-danger:hover { background: rgba(255,107,107,0.25); }

    .nav { position: sticky; top: 0; z-index: 100; background: var(--glass-strong); backdrop-filter: blur(16px); border-bottom: 1px solid var(--glass-border); padding: 16px 0; }
    .nav .wrap { display: flex; justify-content: space-between; align-items: center; }
    .logo { font-size: 24px; font-weight: 800; letter-spacing: -0.5px; display:flex; align-items: center; gap:8px; color:var(--accent-auto); }
    .logo span { color:var(--accent-ai); }
    .nav-links { display: flex; gap: 32px; align-items: center; }
    .nav-links a { font-weight: 500; font-size: 15px; color: var(--muted); transition: color .2s; }
    .nav-links a:hover { color: var(--fg); }
    .nav-hotline { background: var(--surface-2); padding: 6px 14px; border-radius: 99px; font-weight: 600; font-size: 14px; display: flex; align-items: center; gap: 8px; border: 1px solid var(--border); }
    .nav-hotline::before { content: ''; width: 8px; height: 8px; background: var(--success); border-radius: 50%; box-shadow: 0 0 8px var(--success); }
    .nav-motion { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); color: var(--fg); border-radius: 99px; padding: 6px 14px; font-size: 13px; font-weight: 600; cursor: pointer; transition: all .2s; margin-right: 12px; }
    .nav-motion:hover { border-color: var(--accent-ai); color: var(--accent-ai); background: rgba(255,255,255,0.1); }
    
    /* Logo 5D Động (Nogo) với 9 tia sáng đa sắc bay quỹ đạo */
    /* ============================================================
       NOGO 5D — Logo ảnh AIAUTO, ĐỎ TƯƠI, động liên tục 24/24
       Kích thước TỰ ĐỘNG cân đối bằng clamp(): điện thoại ~38px
       -> máy tính ~52px, không cần viết media query riêng.
       Mọi chuyển động dùng transform/opacity nên chạy trên GPU,
       không giật lag, không làm chậm trang.
       ============================================================ */
    .logo-container {
      position: relative; display: flex; align-items: center; justify-content: center;
      z-index: 10; margin-right: 18px;
      width: clamp(46px, 4.4vw, 62px); height: clamp(46px, 4.4vw, 62px);
      flex: 0 0 auto; perspective: 900px; transform-style: preserve-3d; cursor: pointer;
    }
    /* Ảnh logo đỏ tươi — tự co giãn, nổi khối 5D, hào quang đỏ */
    /* NOGO LẮC LƯ: nghiêng qua lại + nhấp nhô + đảo nhẹ 3 trục.
       Dùng 3 vòng chạy cùng lúc với chu kỳ LỆCH NHAU (6s/3.2s/5s)
       nên chuyển động không bao giờ lặp y hệt -> nhìn "sống" như
       vật thật đang bồng bềnh, đúng cảm giác 5D. */
    .logo-container .logo-img-3d {
      position: relative; z-index: 5;
      width: clamp(38px, 3.6vw, 52px); height: auto; object-fit: contain;
      border-radius: 11px;
      filter: drop-shadow(0 3px 10px rgba(232,20,45,.55)) drop-shadow(0 0 18px rgba(232,20,45,.28)) saturate(1.12);
      animation: nogoSway 5s ease-in-out infinite, nogoGlow 3.2s ease-in-out infinite;
      transform-style: preserve-3d; will-change: transform, filter; backface-visibility: hidden;
    }
    @keyframes nogoSway {
      0%   { transform: translateY(0)      rotateZ(0deg)    rotateY(0deg)   rotateX(0deg)   scale(1); }
      20%  { transform: translateY(-3.5px) rotateZ(-4.5deg) rotateY(11deg)  rotateX(4deg)   scale(1.03); }
      40%  { transform: translateY(-1px)   rotateZ(2deg)    rotateY(-6deg)  rotateX(-2deg)  scale(1.01); }
      60%  { transform: translateY(2.5px)  rotateZ(4.5deg)  rotateY(-11deg) rotateX(-4deg)  scale(.975); }
      80%  { transform: translateY(1px)    rotateZ(-2deg)   rotateY(5deg)   rotateX(2deg)   scale(.995); }
      100% { transform: translateY(0)      rotateZ(0deg)    rotateY(0deg)   rotateX(0deg)   scale(1); }
    }
    .logo-container:hover .logo-img-3d {
      animation-play-state: paused;
      transform: scale(1.1) translateY(-3px) rotateY(8deg);
      filter: drop-shadow(0 8px 24px rgba(232,20,45,.9)) drop-shadow(0 0 34px rgba(255,201,40,.55)) saturate(1.25);
      transition: transform .28s cubic-bezier(.22,1,.36,1), filter .28s ease;
    }
    /* Ẩn logo chữ cũ — đã thay bằng ảnh */
    .logo-container .logo-text { display: none; }
    /* Hào quang đỏ phía sau, phập phồng liên tục */
    .nogo-aura {
      position: absolute; inset: -22%; border-radius: 50%; z-index: 0; pointer-events: none;
      background: radial-gradient(circle at 50% 50%, rgba(232,20,45,.42) 0%, rgba(232,20,45,.16) 42%, transparent 70%);
      filter: blur(7px); animation: nogoAura 4.5s ease-in-out infinite; will-change: transform, opacity;
    }
    @keyframes nogoFloat5D {
      0%, 100% { transform: translateY(0)      rotateY(0deg)  rotateX(0deg)  scale(1); }
      25%      { transform: translateY(-3.5px) rotateY(9deg)  rotateX(3deg)  scale(1.025); }
      50%      { transform: translateY(0)      rotateY(0deg)  rotateX(0deg)  scale(1); }
      75%      { transform: translateY(3px)    rotateY(-9deg) rotateX(-3deg) scale(.985); }
    }
    @keyframes nogoGlow {
      0%, 100% { filter: drop-shadow(0 3px 10px rgba(232,20,45,.55)) drop-shadow(0 0 18px rgba(232,20,45,.28)) saturate(1.12); }
      50%      { filter: drop-shadow(0 5px 16px rgba(232,20,45,.85)) drop-shadow(0 0 30px rgba(255,201,40,.42)) saturate(1.28); }
    }
    @keyframes nogoAura {
      0%, 100% { transform: scale(.9);   opacity: .5; }
      50%      { transform: scale(1.14); opacity: .92; }
    }
    /* Tôn trọng chế độ "giảm chuyển động" của hệ điều hành (WCAG 2.1) */
    @media (prefers-reduced-motion: reduce) {
      .logo-container .logo-img-3d, .nogo-aura,
      .nogo-5d-orbit .orbit-rings, .nogo-5d-orbit .orbit-particles,
      .nogo-5d-orbit .p-dot { animation: none !important; }
    }
    
    /* Hiệu ứng quỹ đạo 5D */
    .nogo-5d-orbit .orbit-rings { position: absolute; inset: -16%; transform-style: preserve-3d; animation: orbitSpin 14s linear infinite; z-index: 1; pointer-events: none; }
    .nogo-5d-orbit .ring { position: absolute; top: 50%; left: 50%; border-radius: 50%; border: 1px solid rgba(232, 20, 45, 0.45); transform-style: preserve-3d; }
    .nogo-5d-orbit .ring-1 { width: 118%; height: 58%; margin-top: -29%; margin-left: -59%; border: 1.4px dashed rgba(232, 20, 45, 0.72); transform: rotateX(68deg) rotateY(14deg); }
    .nogo-5d-orbit .ring-2 { width: 130%; height: 50%; margin-top: -25%; margin-left: -65%; border: 1.2px solid rgba(255, 201, 40, 0.5); transform: rotateX(76deg) rotateY(-26deg); }
    .nogo-5d-orbit .ring-3 { width: 108%; height: 68%; margin-top: -34%; margin-left: -54%; border: 1.2px dashed rgba(255, 92, 92, 0.55); transform: rotateX(54deg) rotateY(6deg); }
    
    /* ---- 9 CHÒM SÁNG BAY VÒNG QUANH NOGO, LẤP LÁNH 24/24 ----
       Mỗi hạt tự bay trọn một vòng tròn quanh logo bằng công thức
       rotate(góc) -> translateX(bán kính) -> rotate(-góc):
       vòng ngoài quay đưa hạt đi vòng tròn, vòng trong quay ngược
       lại giữ cho hạt không bị xoay méo. Mỗi hạt có bán kính, tốc
       độ, độ sâu Z và nhịp lấp lánh RIÊNG -> tạo chiều sâu 5D thật,
       không phải 9 hạt dính cứng vào một đĩa phẳng như trước. */
    .nogo-5d-orbit .orbit-particles {
      position: absolute; inset: 0; transform-style: preserve-3d; z-index: 2; pointer-events: none;
      animation: orbitTilt 16s ease-in-out infinite;
    }
    .nogo-5d-orbit .p-dot {
      position: absolute; top: 50%; left: 50%;
      width: 5px; height: 5px; margin: -2.5px 0 0 -2.5px;
      border-radius: 50%;
      box-shadow: 0 0 8px currentColor, 0 0 15px currentColor, 0 0 24px currentColor;
      transform-style: preserve-3d; will-change: transform, opacity;
      backface-visibility: hidden;
      animation-name: orbitFly, twinkle;
      animation-timing-function: linear, ease-in-out;
      animation-iteration-count: infinite, infinite;
    }
    /* --r: bán kính vòng bay · --z: độ sâu 3D · thời lượng & độ trễ khác nhau */
    .nogo-5d-orbit .p1 { --r: 30px; --z:  22px; color: #E8142D; background: #E8142D; animation-duration: 7s,   1.5s; animation-delay: 0s,    0s;   }
    .nogo-5d-orbit .p2 { --r: 34px; --z: -20px; color: #FF3B5C; background: #FF3B5C; animation-duration: 9s,   1.2s; animation-delay: -1.2s, .2s; }
    .nogo-5d-orbit .p3 { --r: 26px; --z:  16px; color: #FFC928; background: #FFC928; animation-duration: 6s,   1.8s; animation-delay: -2.4s, .4s; }
    .nogo-5d-orbit .p4 { --r: 36px; --z: -16px; color: #FF6B6B; background: #FF6B6B; animation-duration: 11s,  1.4s; animation-delay: -3.1s, .1s; }
    .nogo-5d-orbit .p5 { --r: 31px; --z:  26px; color: #F59E0B; background: #F59E0B; animation-duration: 8s,   1.6s; animation-delay: -4.5s, .5s; }
    .nogo-5d-orbit .p6 { --r: 24px; --z: -11px; color: #E8142D; background: #E8142D; animation-duration: 5.5s, 1.3s; animation-delay: -0.8s, .3s; }
    .nogo-5d-orbit .p7 { --r: 38px; --z:  11px; color: #FF8A3D; background: #FF8A3D; animation-duration: 12s,  1.7s; animation-delay: -6s,   .6s; }
    .nogo-5d-orbit .p8 { --r: 28px; --z: -26px; color: #FFD76A; background: #FFD76A; animation-duration: 7.5s, 1.5s; animation-delay: -2s,   .2s; }
    .nogo-5d-orbit .p9 { --r: 33px; --z:  30px; color: #FF4D6D; background: #FF4D6D; animation-duration: 10s,  1.9s; animation-delay: -5.3s, .7s; }

    /* Bay trọn vòng tròn quanh logo */
    @keyframes orbitFly {
      from { transform: rotate(0deg)   translateX(var(--r, 30px)) translateZ(var(--z, 0px)) rotate(0deg); }
      to   { transform: rotate(360deg) translateX(var(--r, 30px)) translateZ(var(--z, 0px)) rotate(-360deg); }
    }
    /* Lấp lánh: sáng bùng rồi mờ đi, kèm phình to thu nhỏ */
    @keyframes twinkle {
      0%, 100% { opacity: .28; transform: scale(.6); }
      35%      { opacity: 1;   transform: scale(1.45); }
      65%      { opacity: .62; transform: scale(1.05); }
    }
    /* Cả chùm hạt nghiêng qua lại -> nhìn như khối cầu 3 chiều */
    @keyframes orbitTilt {
      0%, 100% { transform: rotateX(58deg) rotateZ(0deg); }
      50%      { transform: rotateX(72deg) rotateZ(26deg); }
    }
    
    @keyframes orbitSpin { 0% { transform: rotateY(0deg) rotateX(5deg); } 100% { transform: rotateY(360deg) rotateX(5deg); } }
    @keyframes orbitSpinRev { 0% { transform: rotateZ(0deg) rotateX(-10deg); } 100% { transform: rotateZ(-360deg) rotateX(-10deg); } }
    @keyframes pPulse { 0%, 100% { opacity: 0.4; transform: scale(0.8); } 50% { opacity: 1; transform: scale(1.5); } }
    
    @media(max-width:1250px){ .nav-links{gap:18px;} .nav-links a{font-size:13.5px;} }
@media(max-width:1120px){ .nav-links{gap:12px;} .nav-links a{font-size:12.5px;} }
@media(max-width:860px){ .nav-links{display:none;} }

    .hero { padding: 44px 0 26px; }
    .hero-bento { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 24px; }
    @media(max-width:860px){ .hero-bento { grid-template-columns: 1fr; } }
    .hero-main { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 48px; display: flex; flex-direction: column; justify-content: center; box-shadow: var(--shadow); }
    .hero-main h1 { font-size: clamp(40px, 5vw, 64px); text-transform: uppercase; margin-bottom: 20px; }
    .hero-main p { font-size: 18px; color: var(--muted); margin-bottom: 32px; max-width: 500px; }
    .hero-actions { display: flex; gap: 16px; }
    
    .hero-visual { background: linear-gradient(145deg, var(--surface-2), var(--surface)); border: 1px solid var(--border); border-radius: var(--radius-xl); position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; min-height: 400px; }
    .neural-mesh { position: absolute; inset: 0; background-image: radial-gradient(circle at 50% 50%, var(--neural-cyan) 0%, transparent 60%); opacity: 0.15; mix-blend-mode: screen; filter: blur(30px); }
    .hero-car { font-size: 120px; z-index: 2; filter: drop-shadow(0 0 20px var(--accent-auto)); animation: float 6s ease-in-out infinite; }
    @keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-15px); } }

    .ticker { background: var(--glass-strong); border-block: 1px solid var(--border); padding: 12px 0; overflow: hidden; display: flex; user-select: none; margin-bottom: 22px;}
    /* Chạy chữ mượt: chuyển động trên GPU, dùng translate3d + backface-visibility để không rung sub-pixel */
    .ticker-track { display: flex; gap: 48px; animation: tickerMove 30s linear infinite; white-space: nowrap; will-change: transform; backface-visibility: hidden; transform: translate3d(0,0,0); }
    .ticker:hover .ticker-track { animation-play-state: paused; }
    /* Bấm giữ để dừng trên điện thoại/máy tính bảng */
    .ticker:active .ticker-track { animation-play-state: paused; }
    @keyframes tickerMove { from { transform: translate3d(0,0,0); } to { transform: translate3d(-50%,0,0); } }
    
    /* Product Ticker Slider */
    .product-ticker-wrap { overflow: hidden; white-space: nowrap; padding: 20px 0; user-select: none; }
    .product-ticker-track { display: inline-flex; gap: 24px; animation: productTicker 40s linear infinite; will-change: transform; transform: translate3d(0,0,0); }
    .product-ticker-wrap:hover .product-ticker-track { animation-play-state: paused; }
    .product-ticker-wrap:active .product-ticker-track { animation-play-state: paused; }
    @keyframes productTicker { from { transform: translate3d(0,0,0); } to { transform: translate3d(calc(-50% - 12px),0,0); } }
    .product-ticker-track .product { width: 300px; white-space: normal; flex-shrink: 0; }
    
    /* Điện thoại: chữ nhỏ hơn, khoảng cách hẹp hơn, chạy chậm lại cho dễ đọc */
    @media (max-width: 640px) {
      .ticker { padding: 11px 0; margin-bottom: 26px; }
      .ticker-track { gap: 30px; animation-duration: 38s; }
      .ticker-item { font-size: 12.5px; letter-spacing: 0.6px; gap: 10px; }
    }
    .ticker-item { font-weight: 600; font-size: 14px; letter-spacing: 1px; color: var(--muted); text-transform: uppercase; display: flex; align-items: center; gap: 16px; }
    .ticker-item::before { content: ''; width: 6px; height: 6px; background: var(--accent-auto); border-radius: 50%; }

    .toolbar { display: flex; gap: 16px; margin-bottom: 32px; flex-wrap: wrap; }
    .field { height: 48px; background: var(--bg-deep); border: 1px solid var(--border); border-radius: var(--radius-sm); color: var(--fg); padding: 0 16px; width: 100%; transition: border-color 0.2s; }
    .field:focus { border-color: var(--accent-ai); box-shadow: 0 0 0 2px rgba(47, 111, 235, 0.2); }
    select.field { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%238FA1B7' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
    
    .product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
    .product { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: all 170ms ease; display: flex; flex-direction: column; }
    .product:hover { transform: translateY(-4px); border-color: var(--neural-cyan); box-shadow: 0 12px 30px rgba(0,0,0,0.5); }
    .product-visual { height: 160px; background: var(--bg-deep); display: flex; align-items: center; justify-content: center; position: relative; border-bottom: 1px solid var(--border); }
    .product-icon { font-size: 48px; filter: drop-shadow(0 4px 12px rgba(0, 229, 255, 0.2)); }
    .tag { position: absolute; top: 12px; left: 12px; background: var(--surface-2); color: var(--fg); font-size: 11px; font-weight: 700; padding: 4px 8px; border-radius: 6px; letter-spacing: 1px; border: 1px solid var(--border); }
    .tag-hot { background: linear-gradient(135deg, rgba(16,185,129,0.18), rgba(0,229,255,0.18)); color: var(--neural-cyan); border-color: rgba(0,229,255,0.45); box-shadow: 0 0 12px rgba(0,229,255,0.15); }
    .idea-hot { border-color: rgba(0,229,255,0.35); }
    .idea-hot:hover { border-color: var(--neural-cyan); box-shadow: 0 12px 30px rgba(0,0,0,0.5), 0 0 22px rgba(0,229,255,0.18); }
    .product-body { padding: 20px; flex-grow: 1; display: flex; flex-direction: column; }
    .product-body h3 { font-size: 16px; margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
    .product-body .spec { color: var(--muted); font-size: 13px; margin-bottom: 16px; flex-grow: 1; }
.product-shop{display:flex;align-items:center;gap:5px;font-size:12px;color:var(--muted);margin:6px 0 2px;font-weight:600;letter-spacing:.2px}
.product-shop::before{content:"🏪";font-size:11px}
    .product-body .price { display: flex; flex-direction: column; gap: 2px; margin-bottom: 20px; }
    .price del { color: var(--muted); font-size: 13px; }
    .price strong { font-size: 20px; color: var(--neural-cyan); }
    .price .stock { font-size: 12px; color: var(--success); margin-top: 4px; }
    .catalog-meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; font-size: 14px; color: var(--muted); }
    
    .pager { display: flex; gap: 8px; justify-content: center; margin-top: 48px; }
    .pager button { width: 40px; height: 40px; border-radius: 10px; background: var(--surface); border: 1px solid var(--border); color: var(--fg); font-weight: 600; }
    .pager button.active { background: var(--accent-ai); color: #fff; border-color: var(--accent-ai); }
    .empty { text-align: center; padding: 64px 20px; background: var(--surface); border-radius: 16px; border: 1px dashed var(--border); color: var(--muted); display: none; }
    .empty.show { display: block; }

    .form-card, .info-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 32px; }
    .info-card h3, .form-card h3 { font-size: 24px; margin-bottom: 16px; color: var(--neural-cyan); }
    .info-card p { color: var(--muted); margin-bottom: 32px; }
    .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
    .form-grid .wide { grid-column: 1 / -1; }
    .form-actions { margin-top: 8px; display: flex; gap: 12px; }
    .form-status { margin-top: 16px; font-size: 14px; padding: 12px; border-radius: 8px; display: none; }
    .form-status.ok { display: block; background: rgba(47,191,113,0.1); color: var(--success); border: 1px solid rgba(47,191,113,0.2); }
    .form-status.bad { display: block; background: rgba(255,107,107,0.1); color: var(--danger); border: 1px solid rgba(255,107,107,0.2); }

    .benefits { display: flex; flex-direction: column; gap: 24px; }
    .benefit { display: flex; gap: 16px; }
    .benefit b.check { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; background: rgba(0,229,255,0.15); color: var(--neural-cyan); border-radius: 50%; flex-shrink: 0; }
    .benefit div b { display: block; margin-bottom: 4px; }
    .benefit div span { color: var(--muted); font-size: 14px; }

    .discount-card { background: var(--surface); border-radius: var(--radius-xl); border: 1px solid var(--border); padding: 32px; overflow-x: auto; }
    .discount-row { display: grid; grid-template-columns: 180px 1fr 140px 100px; gap: 24px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--border-soft); }
    .discount-row:last-child { border-bottom: none; }
    .discount-range { width: 100%; accent-color: var(--accent-auto); }
    .discount-pct { display: inline-block; width: 48px; font-weight: 700; color: var(--accent-auto); }
    .discount-price { font-family: var(--font-mono); color: var(--success); }

    .boss-launch { position: fixed; right: 24px; bottom: 24px; z-index: 90; height: 56px; padding: 0 24px; background: var(--surface-2); border: 1px solid var(--accent-ai); border-radius: 28px; color: var(--fg); font-weight: 700; font-size: 16px; display: flex; align-items: center; gap: 12px; box-shadow: 0 12px 32px rgba(0,0,0,0.4); transition: all 0.2s; }
    .boss-launch:hover { transform: scale(1.05); border-color: var(--neural-cyan); }

    /* ===== CỤM LIÊN HỆ NHANH 24/7 (gọi · Zalo · email) =====
       Đặt bên trên nút Boss AI, không che nút đó. Trên điện thoại
       thu thành cụm icon tròn để không chiếm màn hình bán hàng. */
    .lien-he-nhanh { position: fixed; right: 24px; bottom: 92px; z-index: 89; display: flex; flex-direction: column; gap: 10px; }
    .lhn-nut { display: flex; align-items: center; gap: 10px; min-width: 186px; padding: 9px 15px 9px 12px;
      background: var(--surface-2); border: 1px solid var(--border); border-radius: 26px; color: var(--fg);
      text-decoration: none; font-weight: 700; font-size: 14px; box-shadow: 0 10px 26px rgba(0,0,0,.42);
      transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
    .lhn-nut:hover { transform: translateX(-4px) scale(1.03); box-shadow: 0 14px 34px rgba(0,0,0,.52); }
    .lhn-icon { width: 32px; height: 32px; flex: 0 0 32px; display: grid; place-items: center; border-radius: 50%; font-size: 16px; }
    .lhn-chu { display: flex; flex-direction: column; line-height: 1.22; }
    .lhn-chu small { font-weight: 600; font-size: 11px; color: var(--muted); }
    .lhn-goi .lhn-icon { background: rgba(16,185,129,.16); box-shadow: 0 0 0 1px rgba(16,185,129,.5) inset; }
    .lhn-goi:hover { border-color: var(--success); }
    .lhn-zalo .lhn-icon { background: rgba(0,229,255,.14); box-shadow: 0 0 0 1px rgba(0,229,255,.5) inset; }
    .lhn-zalo:hover { border-color: var(--neural-cyan); }
    .lhn-mail .lhn-icon { background: rgba(233,30,99,.14); box-shadow: 0 0 0 1px rgba(233,30,99,.45) inset; }
    .lhn-mail:hover { border-color: var(--accent-ai); }
    /* Nhấp nháy nhẹ ở nút gọi để người dùng thấy sàn có người trực */
    .lhn-goi .lhn-icon::after { content: ''; position: absolute; width: 32px; height: 32px; border-radius: 50%;
      border: 1px solid rgba(16,185,129,.75); animation: pulseRing 2.4s ease-out infinite; }
    .lhn-goi .lhn-icon { position: relative; }
    @media (max-width: 720px) {
      .lien-he-nhanh { right: 14px; bottom: 84px; gap: 8px; }
      .lhn-nut { min-width: 0; width: 46px; height: 46px; padding: 0; justify-content: center; border-radius: 50%; }
      .lhn-chu { display: none; }
    }
    @media (prefers-reduced-motion: reduce) { .lhn-goi .lhn-icon::after { animation: none; } }

    /* ===== GIỌNG NÓI BOSS AI — nút mic & loa, hiệu ứng 5D ===== */
    .boss-voice-btn { flex: 0 0 auto; width: 40px; height: 40px; display: grid; place-items: center;
      background: var(--surface-input); border: 1px solid var(--border); border-radius: 50%;
      font-size: 17px; cursor: pointer; color: var(--fg); position: relative;
      transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease, background .16s ease; }
    .boss-voice-btn:hover { transform: translateY(-2px) scale(1.06); border-color: var(--neural-cyan);
      box-shadow: 0 8px 20px rgba(0,229,255,.26); }
    .boss-voice-btn:active { transform: scale(.95); }
    /* Mic đang nghe: vòng sóng lan toả + viền hồng rực */
    .boss-mic.dang-nghe { background: rgba(233,30,99,.18); border-color: var(--accent-ai);
      box-shadow: 0 0 0 1px var(--accent-ai) inset, 0 0 22px rgba(233,30,99,.55); }
    .boss-mic.dang-nghe::before, .boss-mic.dang-nghe::after {
      content: ''; position: absolute; inset: -4px; border-radius: 50%;
      border: 1.5px solid rgba(233,30,99,.7); animation: micSong 1.6s ease-out infinite; }
    .boss-mic.dang-nghe::after { animation-delay: .8s; }
    @keyframes micSong {
      0%   { transform: scale(.85); opacity: .85; }
      100% { transform: scale(1.65); opacity: 0; }
    }
    /* Loa đang bật: viền cyan phát sáng */
    .boss-loa.dang-bat { background: rgba(0,229,255,.16); border-color: var(--neural-cyan);
      box-shadow: 0 0 0 1px var(--neural-cyan) inset, 0 0 18px rgba(0,229,255,.45); }

    .boss-voice-status { max-height: 0; overflow: hidden; opacity: 0; padding: 0 16px;
      font-size: 12.5px; color: var(--neural-cyan); font-weight: 600;
      transition: max-height .22s ease, opacity .22s ease, padding .22s ease; }
    .boss-voice-status.hien { max-height: 60px; opacity: 1; padding: 6px 16px 2px; }
    .boss-voice-status.canh { color: var(--warn); }
    .boss-voice-hint { padding: 7px 16px; font-size: 11.5px; color: var(--muted); line-height: 1.45; }
    @media (prefers-reduced-motion: reduce) {
      .boss-mic.dang-nghe::before, .boss-mic.dang-nghe::after { animation: none; }
      .boss-voice-btn:hover { transform: none; }
    }
    @media (max-width: 520px) { .boss-voice-btn { width: 36px; height: 36px; font-size: 15px; } }
    .boss-dot { position: relative; width: 10px; height: 10px; background: var(--neural-cyan); border-radius: 50%; box-shadow: 0 0 12px var(--neural-cyan); }
    .boss-dot::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid rgba(0,229,255,.8); animation: pulseRing 2s ease-out infinite; }
    @keyframes pulseRing { 0% { transform: scale(.5); opacity: .9; } 100% { transform: scale(1.8); opacity: 0; } }
    
    .boss-panel { position: fixed; right: 24px; bottom: 96px; z-index: 95; width: 380px; height: 560px; background: rgba(16,29,47,0.95); backdrop-filter: blur(24px); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow); display: flex; flex-direction: column; transform: translateY(20px) scale(0.95); opacity: 0; pointer-events: none; transition: all 0.3s ease; overflow: hidden; }
    .boss-panel.open { transform: translateY(0) scale(1); opacity: 1; pointer-events: auto; }
    .boss-head { padding: 20px 24px; background: var(--surface-2); border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }
    .boss-avatar { width: 40px; height: 40px; background: var(--bg-deep); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-weight: 800; color: var(--neural-cyan); border: 1px solid var(--border); }
    .boss-title { display: flex; align-items: center; gap: 12px; }
    .boss-close { background: none; border: none; color: var(--muted); font-size: 24px; cursor: pointer; }
    .boss-close:hover { color: var(--fg); }
    .boss-messages { flex-grow: 1; padding: 24px; overflow-y: auto; display: flex; flex-direction: column; gap: 16px; }
    .boss-msg { max-width: 85%; padding: 12px 16px; border-radius: 16px; font-size: 14px; }
    .boss-msg.ai { background: var(--surface-2); color: var(--fg); align-self: flex-start; border-bottom-left-radius: 4px; }
    .boss-msg.user { background: var(--accent-ai); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
    .boss-suggestions { padding: 0 24px 16px; display: flex; gap: 8px; overflow-x: auto; }
    .boss-suggestions::-webkit-scrollbar { display: none; }
    .boss-suggestions button { white-space: nowrap; padding: 6px 12px; background: var(--surface); border: 1px solid var(--border); color: var(--fg); border-radius: 99px; font-size: 12px; }
    .boss-form { padding: 16px 24px; background: var(--surface-2); border-top: 1px solid var(--border); display: flex; gap: 12px; }
    .boss-input { flex-grow: 1; background: transparent; border: none; color: var(--fg); font-size: 14px; }
    .boss-send { background: var(--accent-auto); border: none; color: var(--accent-auto-ink); width: 36px; height: 36px; border-radius: 10px; font-weight: 800; cursor: pointer;}

    .footer { background: var(--bg-deep); padding: 40px 0 30px; border-top: 1px solid var(--border); margin-top: 44px; }
    .footer-grid { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; padding-bottom: 22px; border-bottom: 1px solid var(--border); }
    .footer-company { display: flex; flex-direction: column; gap: 8px; color: var(--muted); font-size: 14px; }
    .toast { position: fixed; top: 24px; right: 24px; background: var(--accent-ai); color: #fff; padding: 16px 24px; border-radius: 12px; font-weight: 600; box-shadow: var(--shadow); transform: translateY(-100px); opacity: 0; transition: all 0.4s; z-index: 999; }
    .toast.show { transform: translateY(0); opacity: 1; }
    
    .idea-meta { display: flex; gap: 8px; margin-bottom: 20px; }
    .idea-pill { font-size: 11px; background: var(--surface-2); padding: 4px 8px; border-radius: 6px; color: var(--neural-cyan); }
    
    .course-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
    .course-card { background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 32px; }
    .course-card ul { list-style: none; margin: 24px 0; display: flex; flex-direction: column; gap: 12px; }
    .course-card li { display: flex; gap: 12px; color: var(--fg-2); }
    .course-card li::before { content: '✓'; color: var(--success); font-weight: bold; }
    
    .profit-output { margin: 24px 0; padding: 24px; background: var(--surface-2); border-radius: 12px; font-size: 16px; font-weight: 600; color: var(--neural-cyan); border: 1px solid var(--border); }
    
    .policy { margin-top: 32px; padding-top: 32px; border-top: 1px solid var(--border); }
    .policy-head { display: flex; gap: 16px; margin-bottom: 24px; }
    .policy-icon { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; background: var(--surface-2); color: var(--success); border-radius: 10px; font-size: 20px; }
    .policy-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 24px; }
    .policy-chip { background: var(--surface-2); padding: 12px; border-radius: 8px; font-size: 13px; color: var(--muted); border: 1px solid var(--border); }
    .policy-chip b { display: block; color: var(--fg); margin-bottom: 4px; }
    
    /* Table for AI Packages */
    .ai-packages { width: 100%; border-collapse: collapse; margin-top: 24px; background: var(--surface); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
    .ai-packages th, .ai-packages td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--border); }
    .ai-packages th { background: var(--surface-2); color: var(--neural-cyan); font-weight: 700; text-transform: uppercase; font-size: 13px; letter-spacing: 1px; }
    .ai-packages tbody tr:hover { background: rgba(255, 255, 255, 0.02); }
    .ai-packages td { color: var(--fg-2); font-size: 14px; vertical-align: top; }
    .ai-packages td strong { color: var(--fg); display: block; margin-bottom: 4px; font-size: 15px; }
    .ai-packages td .bonus { color: var(--neural-violet); font-size: 13px; margin-top: 8px; display: block; }
    .ai-packages .price-col { font-weight: 700; font-family: var(--font-mono); white-space: nowrap; }
    .ai-packages .price-month { color: var(--success); }
    .ai-packages .price-year { color: var(--accent-ai-bright); }
    .ai-packages .price-life { color: var(--neural-cyan); }
    
    @media (max-width: 1024px) {
      .ai-packages { display: block; overflow-x: auto; white-space: nowrap; }
      .ai-packages td { white-space: normal; min-width: 250px; }
      .ai-packages td.price-col { min-width: 100px; }
    }

    /* ========== 7D ULTIMATE LAYER ========== */
    @keyframes auroraShift { 0%{transform:translate3d(0,0,0) scale(1.04)} 50%{transform:translate3d(-2.5%,-1.5%,0) scale(1.10)} 100%{transform:translate3d(0,0,0) scale(1.04)} }
    @keyframes floatY { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-12px)} }
    @keyframes glowPulse { 0%,100%{box-shadow:0 0 12px rgba(212,175,55,.35)} 50%{box-shadow:0 0 32px rgba(230,57,70,.5)} }
    @keyframes particleFloat { 0%{transform:translateY(0) scale(1);opacity:.25} 50%{transform:translateY(-90px) scale(1.6);opacity:.7} 100%{transform:translateY(-180px) scale(.6);opacity:0} }
    /* Bỏ background-attachment:fixed — nguyên nhân giật khi cuộn trên di động */
    .aurora { position: fixed; inset: -20% -20% auto; height: 90vh; z-index: -2; pointer-events: none;
      background: linear-gradient(120deg, rgba(0,229,255,.16), rgba(233,30,99,.14), rgba(124,58,237,.12), rgba(0,229,255,.10));
      background-size: 300% 300%; animation: auroraShift 18s ease infinite; filter: blur(70px); }
    .particles { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
    .particle { position: absolute; bottom: -20px; width: 5px; height: 5px; border-radius: 50%;
      background: radial-gradient(circle, var(--neural-cyan), transparent); animation: particleFloat linear infinite; opacity: .3; }
    .glow-card { position: relative; }
    .glow-card::before { content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 1px;
      background: linear-gradient(135deg, var(--accent-auto), var(--accent-ai-bright), var(--neural-cyan));
      -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
      -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .3s; }
    .glow-card:hover::before { opacity: 1; }
    .tilt-3d { transform-style: preserve-3d; transition: transform .25s ease, box-shadow .25s ease; will-change: transform; }
    .tilt-3d:hover { box-shadow: 0 24px 60px rgba(0,0,0,.55), 0 0 40px rgba(0,229,255,.18); }
    .reveal { opacity: 0; transform: translateY(34px); transition: opacity .7s ease, transform .7s ease; }
    .reveal.visible { opacity: 1; transform: translateY(0); }
    .stats-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 48px 0 8px; }
    @media(max-width:860px){ .stats-band { grid-template-columns: repeat(2, 1fr); } }
    .stat-card { text-align: center; padding: 26px 14px; background: var(--glass); border: 1px solid var(--glass-border);
      border-radius: var(--radius-lg); backdrop-filter: blur(14px); position: relative; overflow: hidden; }
    .stat-card b { display: block; font-size: 34px; font-weight: 800;
      background: var(--grad-stat); -webkit-background-clip: text; background-clip: text; color: transparent; }
    .stat-card span { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; font-weight: 600; }
    .stat-card::after { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 50% -20%, rgba(0,229,255,.14), transparent 60%); }
    .feature-card { background: var(--glass); border: 1px solid var(--glass-border); border-radius: var(--radius-lg);
      padding: 26px; backdrop-filter: blur(14px); display: flex; flex-direction: column; gap: 10px; height: 100%; }
    .feature-card .f-icon { width: 52px; height: 52px; border-radius: 16px; display: flex; align-items: center; justify-content: center;
      font-size: 26px; background: linear-gradient(135deg, rgba(0,229,255,.18), rgba(233,30,99,.16)); box-shadow: inset 0 0 18px rgba(0,229,255,.12); }
    .feature-card h4 { font-size: 17px; }
    .feature-card p { color: var(--muted); font-size: 13.5px; }
    .testi-card { background: var(--glass); border: 1px solid var(--glass-border); border-radius: var(--radius-lg); padding: 26px;
      backdrop-filter: blur(14px); display: flex; flex-direction: column; gap: 12px; }
    .testi-card .stars { color: #FFD700; letter-spacing: 2px; }
    .testi-card p { color: var(--fg-2); font-size: 14px; }
    .testi-card .who { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 13px; }
    .testi-card .who b { color: var(--fg); }
    .faq-item { background: var(--glass); border: 1px solid var(--glass-border); border-radius: var(--radius-md); margin-bottom: 12px; overflow: hidden; backdrop-filter: blur(12px); }
    .faq-q { width: 100%; text-align: left; padding: 18px 22px; background: none; color: var(--fg); font-weight: 600; font-size: 15px; display: flex; justify-content: space-between; align-items: center; gap: 12px; cursor: pointer; }
    .faq-q .chev { color: var(--accent-auto); transition: transform .3s; }
    .faq-item.open .chev { transform: rotate(180deg); }
    .faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; color: var(--muted); font-size: 14px; }
    .faq-a p { padding: 0 22px 18px; }
    .faq-item.open .faq-a { max-height: 220px; }
    .cta-band { background: linear-gradient(135deg, rgba(0,229,255,.18), rgba(233,30,99,.16), rgba(124,58,237,.12));
      border: 1px solid var(--glass-border); border-radius: var(--radius-xl); padding: 56px 40px; text-align: center; position: relative; overflow: hidden; }
    .cta-band h2 { font-size: clamp(28px,4vw,44px); margin-bottom: 12px; }
    .cta-band p { color: var(--fg-2); max-width: 560px; margin: 0 auto 28px; }
    .cta-band .glow-orb { position: absolute; width: 260px; height: 260px; border-radius: 50%; filter: blur(60px); opacity: .5; animation: floatY 7s ease infinite; will-change: transform; transform: translateZ(0); }
    .cta-band .glow-orb.a { background: rgba(0,229,255,.4); top: -80px; left: -60px; }
    .cta-band .glow-orb.b { background: rgba(233,30,99,.35); bottom: -100px; right: -40px; animation-delay: 2s; }
    .footer-7d { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
    @media(max-width:860px){ .footer-7d { grid-template-columns: repeat(2, minmax(0,1fr)); } }
    .footer-7d h5 { color: var(--accent-auto); text-transform: uppercase; letter-spacing: 1px; font-size: 13px; margin-bottom: 14px; }
    .footer-7d a, .footer-7d span { display: block; color: var(--muted); font-size: 13.5px; margin-bottom: 8px; }
    .footer-7d a:hover { color: var(--neural-cyan); }
    .newsletter { display: flex; gap: 8px; margin-top: 12px; }
    .newsletter input { flex: 1; background: var(--bg-deep); border: 1px solid var(--border); border-radius: var(--radius-pill); padding: 10px 16px; color: var(--fg); }
    @media (prefers-reduced-motion: reduce) { .aurora, .particle, .glow-orb, .holo-orb, .hero-car, .ticker-track, .btn-primary { animation: none !important; } }

    /* ========== AIAUTO 5D BRIGHT THEME LAYER ========== */
    @keyframes gradMove { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
    @keyframes orbFloat { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(40px,-50px) scale(1.15); } }

    body {
      background: var(--bg);
      background-image:
        radial-gradient(circle at 12% 22%, rgba(0,229,255,0.10), transparent 28%),
        radial-gradient(circle at 88% 18%, rgba(233,30,99,0.10), transparent 30%),
        radial-gradient(circle at 70% 80%, rgba(124,58,237,0.08), transparent 30%);
      color: var(--fg);
    }

    /* Aurora neon dark - Tối ưu GPU phần cứng */
    .aurora {
      background: linear-gradient(120deg, rgba(0,229,255,0.20), rgba(124,58,237,0.16), rgba(233,30,99,0.14), rgba(0,229,255,0.18));
      background-size: 260% 260%; animation: auroraShift 20s ease-in-out infinite; filter: blur(48px); opacity: .65;
      will-change: background-position; transform: translateZ(0);
    }
    .particle { background: radial-gradient(circle, #00E5FF, transparent); box-shadow: 0 0 6px rgba(0,229,255,0.5); will-change: transform; transform: translateZ(0); }

    /* Halo orbs - Tối ưu GPU */
    .holo-field { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; transform: translateZ(0); }
    .holo-orb { position: absolute; border-radius: 50%; filter: blur(52px); opacity: .28; animation: orbFloat 18s ease-in-out infinite; will-change: transform; }
    .holo-orb.one { width: 420px; height: 420px; background: radial-gradient(circle, rgba(0,229,255,.5), transparent 65%); top: 12%; left: -120px; }
    .holo-orb.two { width: 380px; height: 380px; background: radial-gradient(circle, rgba(233,30,99,.45), transparent 65%); bottom: 6%; right: -100px; animation-delay: 4s; }

    /* Low-power and background-tab states keep the page responsive. */
    .reduced .particle, .reduced .holo-orb, .reduced .glow-orb { animation: none !important; }
    .reduced .aurora { animation-duration: 32s; opacity: .42; }
    .tab-hidden .aurora, .tab-hidden .particle, .tab-hidden .holo-orb, .tab-hidden .glow-orb, .tab-hidden .btn-primary, .tab-hidden .boss-dot { animation-play-state: paused !important; }
    @media (max-width: 768px) {
      .aurora { filter: blur(34px); opacity: .48; animation-duration: 28s; }
      .holo-orb { filter: blur(38px); opacity: .2; animation-duration: 24s; }
      .stat-card, .feature-card, .testi-card, .faq-item { backdrop-filter: blur(7px); }
    }

    /* Nav dark */
    .nav { background: var(--glass-strong); border-bottom: 1px solid var(--glass-border); box-shadow: 0 6px 30px rgba(0,0,0,0.25); padding: 14px 0; }
    .nav-links a { color: var(--muted); }
    .nav-links a:hover { color: var(--accent-ai); }
    .nav-hotline { background: var(--surface-raise); border: 1px solid var(--border); color: var(--fg-2); box-shadow: 0 4px 14px rgba(0,0,0,0.25); }

    /* Buttons */
    .btn-primary { background: var(--grad-5d); background-size: 200% 200%; animation: gradMove 9s ease-in-out infinite; color: #fff; box-shadow: 0 8px 22px rgba(0,229,255,0.28); }
    .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0,229,255,0.38); }
    .btn-secondary { background: var(--surface-raise); color: var(--fg-2); border: 1px solid var(--border); }
    .btn-secondary:hover { border-color: var(--accent-ai); color: var(--fg); }
    .btn-danger { background: rgba(239,68,68,0.10); color: var(--danger); }

    /* Hero */
    .hero-main { background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); }
    .hero-main h1 span { color: var(--neural-cyan); }
    .hero-visual { background: linear-gradient(145deg, var(--surface-2), var(--surface)); border: 1px solid var(--border); }
    .neural-mesh { background-image: radial-gradient(circle at 50% 50%, #00E5FF 0%, transparent 60%); opacity: 0.18; }
    .hero-car { filter: drop-shadow(0 0 24px rgba(0,229,255,0.45)); }

    /* Ticker */
    .ticker { background: var(--glass-strong); border-block: 1px solid var(--glass-border); box-shadow: inset 0 -1px 0 rgba(0,0,0,0.3); }
    .ticker-item::before { background: var(--accent-ai); box-shadow: 0 0 8px rgba(0,229,255,0.6); }
    .ticker-item { color: var(--muted); }

    /* Section alt + cards */
    .section.alt { background: var(--surface-section); border-block: 1px solid rgba(0,229,255,0.10); }
    .section-head h2 { color: var(--fg); }
    .product { background: var(--surface); border: 1px solid var(--border); box-shadow: 0 4px 16px rgba(0,0,0,0.25); }
    .product:hover { transform: translateY(-5px); border-color: rgba(0,229,255,0.55); box-shadow: 0 16px 36px rgba(0,0,0,0.4), 0 0 24px rgba(0,229,255,0.18); }
    .product-visual { background: var(--surface-visual); border-bottom: 1px solid var(--border-soft); }
    .product-icon { filter: drop-shadow(0 6px 14px rgba(0,229,255,0.25)); }
    .tag { background: var(--surface-2); color: var(--fg-2); border: 1px solid var(--border); box-shadow: 0 2px 8px rgba(0,0,0,0.25); }
    .tag-hot { background: linear-gradient(135deg, rgba(0,229,255,0.16), rgba(124,58,237,0.14)); color: var(--neural-cyan); border-color: rgba(0,229,255,0.45); box-shadow: 0 0 12px rgba(0,229,255,0.18); }
    .idea-hot { border-color: rgba(0,229,255,0.35); }
    .idea-hot:hover { border-color: var(--accent-ai); box-shadow: 0 16px 36px rgba(0,0,0,0.4), 0 0 22px rgba(0,229,255,0.20); }
    .price strong { color: var(--accent-ai); }

    /* Fields + forms */
    .field { background: var(--surface-input); border: 1px solid var(--border); color: var(--fg); box-shadow: inset 0 1px 3px rgba(0,0,0,0.3); }
    .field:focus { border-color: var(--accent-ai); box-shadow: 0 0 0 3px rgba(0,229,255,0.15); }
    select.field { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%238B93B5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); }
    .form-card, .info-card { background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); }
    .info-card h3, .form-card h3 { color: var(--accent-ai); }
    .benefit b.check { background: rgba(0,229,255,0.16); color: #00E5FF; }

    /* Bảng chiết khấu + khóa học */
    .discount-card { background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); }
    .discount-range { accent-color: var(--accent-auto); }
    .discount-pct { color: var(--accent-auto); }
    .course-card { background: var(--surface); border: 1px solid var(--border); box-shadow: 0 8px 24px rgba(0,0,0,0.3); }
    .profit-output { background: var(--surface-msg); color: var(--neural-cyan); border: 1px solid rgba(0,229,255,0.35); }
    .idea-pill { background: var(--surface-msg); color: var(--neural-cyan); }
    .policy-icon { background: var(--surface-msg); color: var(--success); }
    .policy-chip { background: var(--surface); border: 1px solid var(--border); }
    .policy-chip b { color: var(--fg); }
    .policy { border-top-color: var(--border); }

    /* Bảng gói AI */
    .ai-packages { background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); }
    .ai-packages th { background: var(--surface-head); color: var(--neural-cyan); }
    .ai-packages tbody tr:hover { background: rgba(0,229,255,0.05); }

    /* Stats / Features / Testi / FAQ 7D */
    .stat-card { background: var(--glass); border: 1px solid var(--glass-border); backdrop-filter: blur(14px); box-shadow: 0 8px 24px rgba(0,0,0,0.3); }
    .stat-card::after { background: radial-gradient(circle at 50% -20%, rgba(0,229,255,0.16), transparent 60%); }
    .feature-card { background: var(--glass); border: 1px solid var(--glass-border); backdrop-filter: blur(14px); }
    .feature-card .f-icon { background: linear-gradient(135deg, rgba(0,229,255,0.18), rgba(124,58,237,0.16)); box-shadow: inset 0 0 18px rgba(0,229,255,0.12); }
    .testi-card { background: var(--glass); border: 1px solid var(--glass-border); backdrop-filter: blur(14px); }
    .faq-item { background: var(--glass); border: 1px solid var(--glass-border); backdrop-filter: blur(12px); }
    .faq-q .chev { color: var(--accent-auto); }
    .cta-band { background: linear-gradient(135deg, rgba(0,229,255,0.16), rgba(124,58,237,0.14), rgba(233,30,99,0.12)); border: 1px solid var(--glass-border); }
    .cta-band .glow-orb.a { background: rgba(0,229,255,0.4); }
    .cta-band .glow-orb.b { background: rgba(233,30,99,0.35); }

    /* Boss AI */
    .boss-launch { background: var(--grad-5d); background-size: 200% 200%; animation: gradMove 6s ease infinite, none; border: none; color: #fff; box-shadow: 0 12px 30px rgba(0,229,255,0.35); }
    .boss-launch:hover { transform: scale(1.05); box-shadow: 0 16px 36px rgba(0,229,255,0.45); }
    .boss-dot { background: var(--neural-cyan); box-shadow: 0 0 12px var(--neural-cyan); animation: pulse 2s infinite; }
    .boss-panel { background: var(--panel); border: 1px solid var(--glass-border); box-shadow: 0 24px 60px rgba(0,0,0,0.55); }
    .boss-head { background: var(--surface-head); border-bottom: 1px solid var(--border); }
    .boss-avatar { background: var(--grad-5d); color: #fff; border: none; }
    .boss-msg.ai { background: var(--surface-msg); color: var(--fg-2); border: 1px solid var(--border-soft); }
    .boss-msg.user { background: var(--grad-5d); color: #fff; }
    .boss-suggestions button { background: var(--surface); border: 1px solid var(--border); color: var(--fg-2); }
    .boss-suggestions button:hover { border-color: var(--accent-ai); color: var(--accent-ai); }
    .boss-form { background: var(--surface-input); border-top: 1px solid var(--border); }
    .boss-input { color: var(--fg); }
    .boss-send { background: var(--grad-5d); color: #fff; }
    .boss-note { padding: 10px 24px 14px; font-size: 11.5px; color: var(--muted); background: var(--surface-input); border-top: 1px solid var(--border-soft); }

    /* Footer */
    .footer { background: var(--surface-footer); border-top: 1px solid var(--border); }
    .footer-grid { border-bottom-color: var(--border); }
    .footer-7d h5 { color: var(--accent-auto); }
    .footer-7d a:hover { color: var(--accent-ai); }
    .newsletter input { background: var(--surface-input); border: 1px solid var(--border); color: var(--fg); }
    .newsletter input:focus { border-color: var(--accent-ai); box-shadow: 0 0 0 3px rgba(0,229,255,0.15); }

    /* Toast + misc */
    .toast { background: var(--grad-5d); color: #fff; }
    .pager button { background: var(--surface); border: 1px solid var(--border); color: var(--fg-2); }
    .pager button.active { background: var(--grad-5d); color: #fff; border-color: transparent; }
    .empty { background: var(--surface); border: 1px dashed var(--border); color: var(--muted); }
    .glow-card:hover::before { background: linear-gradient(135deg, var(--accent-auto), var(--neural-violet), var(--accent-ai)); }
    .glow-card:hover { box-shadow: 0 20px 44px rgba(0,0,0,0.35); }
    .tilt-3d:hover { box-shadow: 0 24px 50px rgba(0,0,0,0.4), 0 0 30px rgba(0,229,255,0.15); }
    ::selection { background: rgba(0,229,255,0.28); color: var(--fg); }
    ::-webkit-scrollbar { width: 10px; height: 10px; }
    ::-webkit-scrollbar-track { background: #1D2033; }
    ::-webkit-scrollbar-thumb { background: linear-gradient(180deg, var(--accent-auto), var(--accent-ai)); border-radius: 8px; }

    /* Thành phần mới */
    .policy-status { margin-top: 14px; font-size: 13.5px; padding: 12px 14px; border-radius: 10px; display: none; }
    .policy-status.approved, .policy-status.review, .policy-status.blocked { display: block; }
    .policy-status.approved { background: rgba(16,185,129,0.10); color: #34D399; border: 1px solid rgba(16,185,129,0.25); }
    .policy-status.review { background: rgba(245,158,11,0.12); color: #FBBF24; border: 1px solid rgba(245,158,11,0.30); }
    .policy-status.blocked { background: rgba(239,68,68,0.10); color: #F87171; border: 1px solid rgba(239,68,68,0.28); }
    .course-meta { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--muted); margin: 16px 0 18px; }
    .course-meta span:last-child { color: var(--accent-ai); font-weight: 600; }
    .note { font-size: 13px; color: var(--muted); }
    /* Removed duplicate nav-motion */
    .nav-burger { display: none; background: #FFFFFF; border: 1px solid var(--border); color: var(--fg); width: 42px; height: 42px; border-radius: 12px; font-size: 20px; cursor: pointer; align-items: center; justify-content: center; }
    @media (max-width: 860px) {
      .nav-burger { display: inline-flex; }
      .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--glass-strong); flex-direction: column; align-items: stretch; padding: 18px 24px; gap: 14px; border-bottom: 1px solid var(--glass-border); box-shadow: 0 24px 50px rgba(15,23,42,0.14); backdrop-filter: blur(20px); }
      .nav-links.open { display: flex; }
      .nav-motion { align-self: flex-start; }
      .hero-main { padding: 28px 20px !important; }
      .hero-actions { flex-direction: column; align-items: stretch; }
      .boss-panel { right: 12px; left: 12px; width: auto; }
      .form-grid { grid-template-columns: 1fr; }
      .stats-band { gap: 12px; }
      .footer-7d { grid-template-columns: repeat(2, minmax(0,1fr)); }
    }

    @media (prefers-reduced-motion: reduce) { .btn-primary, .boss-launch { animation: none; } }

    @media (prefers-reduced-motion: reduce) { *,::before,::after{ animation-duration: 0.01ms!important; transition-duration: 0.01ms!important; } .ticker-track { animation: none; } }

    /* ĐỀ ÁN CUNG CẤP DỊCH VỤ */
    .legal-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 28px; max-width: 920px; margin: 0 auto; }
    .legal-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px; margin-bottom: 20px; font-size: 14px; }
    @media(max-width:700px){ .legal-meta { grid-template-columns: 1fr; } }
    .legal-meta b { color: var(--neural-cyan); font-weight: 700; }
    .legal-note { font-size: 13px; color: var(--muted); background: var(--surface-2); border: 1px dashed var(--border); padding: 10px 14px; border-radius: var(--radius-sm); margin-bottom: 20px; }
    .legal-ch { border: 1px solid var(--border); border-radius: var(--radius-md); margin-bottom: 10px; overflow: hidden; background: var(--bg-deep); }
    .legal-ch summary { list-style: none; cursor: pointer; padding: 14px 16px; font-weight: 700; font-size: 15px; color: var(--fg); display: flex; justify-content: space-between; align-items: center; gap: 10px; transition: background .15s; }
    .legal-ch summary::-webkit-details-marker { display: none; }
    .legal-ch summary::after { content: '+'; font-size: 20px; color: var(--neural-cyan); flex-shrink: 0; transition: transform .2s; }
    .legal-ch[open] summary::after { transform: rotate(45deg); }
    .legal-ch[open] summary { background: var(--surface-2); }
    .legal-ch summary:hover { background: var(--surface-2); }
    .legal-body { padding: 0 16px 16px; font-size: 14px; color: var(--fg-2); }
    .legal-body p { margin-bottom: 8px; }
    .legal-body ul, .legal-body ol { margin: 0 0 8px 18px; }
    .legal-body li { margin-bottom: 4px; }
    .legal-body b.art { color: var(--neural-cyan); }
    /* ===== TRUNG TÂM HỒ SƠ PHÁP LÝ & QUY TRÌNH VẬN HÀNH ===== */
    .doc-table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--bg-deep); margin-bottom: 16px; }
    .doc-table { width: 100%; border-collapse: collapse; font-size: 13px; min-width: 760px; }
    .doc-table th { background: var(--surface-2); color: var(--neural-cyan); text-align: left; padding: 11px 12px; font-size: 12px; letter-spacing: .4px; text-transform: uppercase; }
    .doc-table td { padding: 10px 12px; border-top: 1px solid var(--border-soft); color: var(--fg-2); vertical-align: top; }
    .doc-table tbody tr:hover { background: var(--surface); }
    .doc-table td.no { color: var(--neural-cyan); font-weight: 700; width: 42px; }
    .doc-tag { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .3px; white-space: nowrap; }
    .doc-tag.ok { background: rgba(16,185,129,.14); color: #10b981; border: 1px solid rgba(16,185,129,.35); }
    .doc-tag.wait { background: rgba(245,158,11,.14); color: #f59e0b; border: 1px solid rgba(245,158,11,.35); }
    .doc-tag.need { background: rgba(239,68,68,.13); color: #ef4444; border: 1px solid rgba(239,68,68,.32); }
    .doc-file { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 6px; background: var(--surface-2); border: 1px solid var(--border); font-size: 11px; font-weight: 700; color: var(--neural-cyan); margin: 2px 4px 2px 0; white-space: nowrap; }
    .flow-steps { display: grid; gap: 12px; margin-bottom: 8px; }
    .flow-step { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; padding: 14px 16px; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--bg-deep); }
    .flow-step .num { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 14px; color: #04121a; background: linear-gradient(135deg, var(--neural-cyan), #7c3aed); }
    .flow-step h6 { margin: 0 0 4px; font-size: 14px; color: var(--fg); font-weight: 700; }
    .flow-step p { margin: 0; font-size: 13px; color: var(--fg-2); line-height: 1.55; }
    .flow-step .sla { display: inline-block; margin-top: 6px; font-size: 11px; font-weight: 700; color: var(--neural-cyan); background: var(--surface-2); border: 1px solid var(--border); border-radius: 999px; padding: 2px 9px; }
    .seal-box { margin-top: 18px; padding: 16px 18px; border: 1px dashed rgba(239,68,68,.5); border-radius: var(--radius-md); background: rgba(239,68,68,.05); }
    .seal-box h6 { margin: 0 0 8px; font-size: 14px; color: #ef4444; font-weight: 800; letter-spacing: .3px; }
    .seal-box p { margin: 0 0 7px; font-size: 13px; color: var(--fg-2); line-height: 1.6; }
    .seal-box p:last-child { margin-bottom: 0; }
    .doc-progress { height: 8px; border-radius: 999px; background: var(--surface-2); overflow: hidden; border: 1px solid var(--border); margin: 6px 0 14px; }
    .doc-progress > i { display: block; height: 100%; background: linear-gradient(90deg, var(--neural-cyan), #7c3aed); }
    /* ===== AFFILIATE — CHIA % LỢI NHUẬN ===== */
    .aff-formula { border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--bg-deep); padding: 12px 14px; margin: 6px 0 10px; }
    .aff-formula > div { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 13px; color: var(--fg-2); padding: 5px 0; }
    .aff-formula > div b { font-weight: 700; color: var(--fg); white-space: nowrap; }
    .aff-formula > div.eq { border-top: 1px solid var(--border-soft); margin-top: 4px; padding-top: 8px; }
    .aff-formula > div.eq b { color: var(--neural-cyan); }
    .aff-formula > div.res { border-top: 1px dashed var(--border); margin-top: 4px; padding-top: 8px; font-weight: 700; color: var(--fg); }
    .aff-formula > div.res b { color: #10b981; }
    .aff-tier-box { margin-top: 14px; padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--bg-deep); }
    .aff-tier-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 13px; color: var(--fg-2); margin-bottom: 4px; }
    .aff-tier-top b { color: var(--neural-cyan); font-size: 14px; white-space: nowrap; }
    .aff-tier-box small { font-size: 12px; color: var(--muted); display: block; }
    /* Nhật ký hoa hồng từng đơn — % hiển thị màu XANH LÁ */
    .aff-order { border: 1px solid var(--border); border-left: 3px solid #22c55e; border-radius: var(--radius-md); background: var(--bg-deep); padding: 11px 13px; margin-bottom: 10px; }
    .aff-order-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 2px; }
    .aff-order-head b { font-size: 14px; color: var(--fg); }
    .aff-pct { font-size: 15px; font-weight: 900; color: #22c55e; background: rgba(34,197,94,.14); border: 1px solid rgba(34,197,94,.45); border-radius: 999px; padding: 3px 12px; white-space: nowrap; letter-spacing: .3px; }
    .aff-order-date { font-size: 11px; color: var(--muted); margin-bottom: 8px; }
    .aff-calc { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 12.5px; color: var(--fg-2); padding: 3px 0; }
    .aff-calc b { font-weight: 700; color: var(--fg); white-space: nowrap; }
    .aff-calc.profit { border-top: 1px solid var(--border-soft); margin-top: 4px; padding-top: 7px; }
    .aff-calc.profit b { color: var(--neural-cyan); }
    .aff-calc.com { border-top: 1px dashed rgba(34,197,94,.4); margin-top: 4px; padding-top: 7px; }
    .aff-calc.com b { color: #22c55e; font-size: 15px; font-weight: 900; }
    .aff-pct-sm { display: inline-block; font-style: normal; font-size: 11px; font-weight: 700; color: #22c55e; background: rgba(34,197,94,.12); border-radius: 999px; padding: 1px 8px; margin-left: 6px; }
    .fc-row .num.green, .aff-green { color: #22c55e; font-weight: 800; }
    /* ===== 10 SÀN TMĐT TOÀN CẦU ===== */
    .gc-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 22px; }
    @media(max-width:700px){ .gc-stats { grid-template-columns: repeat(2, 1fr); } }
    .gc-stat { text-align: center; padding: 14px 10px; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--bg-deep); }
    .gc-stat b { display: block; font-size: 26px; font-weight: 900; color: var(--neural-cyan); line-height: 1.1; }
    .gc-stat span { font-size: 12px; color: var(--muted); }
    .gc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
    .gc-card { border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--bg-deep); padding: 14px; display: flex; flex-direction: column; gap: 8px; transition: border-color .18s, transform .18s; content-visibility: auto; contain-intrinsic-size: 200px; }
    .gc-card:hover { border-color: var(--neural-cyan); transform: translateY(-2px); }
    .gc-card.on { border-color: #22c55e; }
    .gc-head { display: flex; align-items: center; gap: 10px; }
    .gc-logo { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; font-size: 20px; background: var(--surface-2); border: 1px solid var(--border); flex-shrink: 0; }
    .gc-name { font-size: 15px; font-weight: 800; color: var(--fg); line-height: 1.25; }
    .gc-region { font-size: 11px; color: var(--muted); }
    .gc-meta { display: flex; justify-content: space-between; font-size: 12px; color: var(--fg-2); border-top: 1px solid var(--border-soft); padding-top: 8px; }
    .gc-meta b { color: var(--fg); }
    .gc-state { font-size: 11px; font-weight: 800; padding: 2px 9px; border-radius: 999px; align-self: flex-start; }
    .gc-state.off { background: var(--surface-2); color: var(--muted); border: 1px solid var(--border); }
    .gc-state.on { background: rgba(34,197,94,.14); color: #22c55e; border: 1px solid rgba(34,197,94,.45); }
    .gc-btn { margin-top: auto; height: 34px; font-size: 12.5px; }
    .gc-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
    /* KHO NGUỒN HÀNG */
    .supply-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--bg-deep); }
    .supply-table { width: 100%; border-collapse: collapse; font-size: 13px; min-width: 880px; }
    .supply-table th { background: var(--surface-2); color: var(--neural-cyan); text-align: left; padding: 11px 12px; font-size: 12px; letter-spacing: .5px; text-transform: uppercase; }
    .supply-table td { padding: 10px 12px; border-top: 1px solid var(--border-soft); color: var(--fg-2); }
    .supply-table tbody tr:hover { background: var(--surface); }
    .supply-table .price { color: var(--neural-cyan); font-weight: 700; white-space: nowrap; }
    .supply-table .profit { color: var(--success); font-weight: 700; white-space: nowrap; }
    .supply-table .cat { font-size: 11px; letter-spacing: 1px; color: var(--muted); white-space: nowrap; }
    /* TỔ ĐỘI BOSS AI */
    .pipeline-node { background: var(--surface-2); border: 1px solid var(--border); color: var(--fg); border-radius: 999px; padding: 8px 14px; font-size: 12px; font-weight: 700; white-space: nowrap; }
    .pipeline-arrow { color: var(--neural-cyan); font-size: 16px; font-weight: 900; }
    .team-row { display: flex; gap: 10px; align-items: center; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 10px 14px; font-size: 13px; color: var(--fg-2); }
    .platform-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(180px,1fr)); gap:12px; margin:22px 0; }
    .platform-card { background:var(--surface); border:1px solid var(--border); border-radius:var(--radius-md); padding:16px; }
    .platform-card strong { display:block; color:var(--fg); margin-bottom:6px; }
    .platform-state { display:inline-flex; align-items:center; gap:7px; color:var(--muted); font-size:12px; }
    .platform-state .dot { width:8px; height:8px; border-radius:50%; background:var(--muted); }
    .platform-state.ready { color:var(--success); }
    .platform-state.ready .dot { background:var(--success); box-shadow:0 0 10px rgba(47,191,113,.55); }
    /* ====== TỔ ĐỘI BOSS AI: TRẠM TỰ SỬA LỖI & BẢO MẬT ====== */
    .boss-team-board { display:grid; grid-template-columns:repeat(auto-fit,minmax(172px,1fr)); gap:10px; margin-top:16px; }
    .boss-member { background:var(--surface); border:1px solid var(--border); border-radius:var(--radius-md); padding:12px 14px; }
    .boss-member b { display:block; font-size:13px; }
    .boss-member small { color:var(--muted); font-size:11px; display:block; margin:2px 0 10px; }
    .boss-member .st { display:inline-block; font-size:11px; font-weight:700; padding:3px 10px; border-radius:999px; }
    .st-ok { background:rgba(16,185,129,.15); color:#34D399; }
    .st-fix { background:rgba(0,229,255,.15); color:#4DD8FF; }
    .st-warn { background:rgba(245,158,11,.15); color:#FBBF24; }
    .st-block { background:rgba(239,68,68,.15); color:#F87171; }
    .boss-log-grid { display:grid; grid-template-columns:1fr 1fr; gap:12px; margin-top:14px; }
    .boss-log-box { max-height:150px; overflow-y:auto; margin-top:6px; font-size:11.5px; display:flex; flex-direction:column; gap:4px; }
    .boss-log-box > div { padding:6px 8px; border-radius:6px; background:var(--surface-2); color:var(--fg-2); line-height:1.4; }
    .boss-log-box .sec-alert { background:rgba(239,68,68,.12); color:#F87171; }
    .boss-log-box .sec-info { background:rgba(0,229,255,.08); color:#4DD8FF; }
    .boss-log-box .sec-block { background:rgba(239,68,68,.18); color:#FF8A8A; }
    .boss-log-box .fix-ok { background:rgba(16,185,129,.10); color:#34D399; }
    .boss-log-box .fix-err { background:rgba(245,158,11,.12); color:#FBBF24; }
    @media(max-width:760px){ .boss-log-grid { grid-template-columns:1fr; } }
    /* ====== ĐỔI MÀU SÀN (theme switcher) 31/08/2026 ====== */
    .theme-switcher { position:fixed; left:18px; bottom:18px; z-index:88; display:flex; align-items:center; gap:8px; background:var(--panel); border:1px solid var(--glass-border); border-radius:999px; padding:8px 14px; backdrop-filter:blur(12px); box-shadow:0 8px 24px rgba(0,0,0,.35); }
    .theme-switcher .ts-label { font-size:11px; color:var(--muted); white-space:nowrap; }
    .theme-btn { width:26px; height:26px; border-radius:50%; border:2px solid transparent; cursor:pointer; padding:0; transition:transform .15s; }
    .theme-btn:hover { transform:scale(1.15); }
    .theme-btn.active { border-color:var(--fg); box-shadow:0 0 0 2px var(--accent-auto); }
    .theme-btn[data-theme="cyber"] { background:linear-gradient(135deg,#00E5FF,#E91E63); }
    .theme-btn[data-theme="gold"] { background:linear-gradient(135deg,#FFC928,#B45309); }
    .theme-btn[data-theme="chanh"] { background:linear-gradient(135deg,#A3E635,#15803D); }
    .theme-btn[data-theme="light"] { background:linear-gradient(135deg,#6366F1,#22D3EE); }
    @media(max-width:560px){ .theme-switcher .ts-label{display:none;} .theme-switcher{padding:6px 10px;} }
    .software-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:14px; margin-top:22px; }
    .software-module { background:var(--surface); border:1px solid var(--border); border-radius:var(--radius-md); padding:18px; }
    .software-module h4 { color:var(--neural-cyan); margin:0 0 8px; }
    .software-module p { color:var(--fg-2); font-size:13px; margin:0; }

    /* ====== NÚT BẤM: phản hồi mượt, an toàn ====== */
    .btn { cursor:pointer; -webkit-tap-highlight-color:transparent; }
    .btn:active { transform:translateY(0) scale(.97); box-shadow:none !important; }
    .btn:focus-visible { outline:2px solid var(--accent-ai-bright); outline-offset:3px; }
    .btn:disabled { opacity:.55; cursor:not-allowed; transform:none; box-shadow:none; animation:none; }

    /* ====== MODAL CHUNG (POPUP TẢI APP) ====== */
    .modal { position:fixed; inset:0; z-index:10002; display:none; align-items:center; justify-content:center; padding:16px; }
    .modal.open { display:flex; }
    .modal .modal-bg { position:absolute; inset:0; background:rgba(8,11,20,.62); backdrop-filter:blur(6px); }
    .modal .modal-dialog { position:relative; z-index:2; width:100%; max-height:88vh; overflow:auto; background:var(--surface-1); border:1px solid var(--border); border-radius:18px; box-shadow:0 24px 60px rgba(0,0,0,.45); }
    .modal .modal-header { display:flex; align-items:center; justify-content:space-between; gap:12px; }
    .modal .modal-header h3 { margin:0; font-size:17px; }

    /* ====== MODAL YÊU CẦU ĐẶC VỤ ====== */
    .modal-backdrop { position:fixed; inset:0; background:rgba(8,11,20,.55); backdrop-filter:blur(6px); display:flex; align-items:center; justify-content:center; z-index:10001; padding:16px; opacity:0; visibility:hidden; transition:opacity .22s, visibility .22s; }
    .modal-backdrop.open { opacity:1; visibility:visible; }
    .modal-card { position:relative; width:100%; max-width:440px; background:var(--glass-strong); border:1px solid var(--glass-border); border-radius:22px; padding:26px; box-shadow:0 24px 60px rgba(15,23,42,.3); transform:translateY(12px); transition:transform .22s; }
    .modal-backdrop.open .modal-card { transform:none; }
    .modal-card h3 { margin:0 0 6px; }
    .modal-card .modal-meta { color:var(--muted); font-size:13px; margin-bottom:16px; }
    .modal-card .field { width:100%; margin-bottom:10px; }
    .modal-card textarea.field { resize:vertical; min-height:84px; }
    .modal-close { position:absolute; top:12px; right:16px; background:none; border:none; font-size:26px; cursor:pointer; color:var(--muted); line-height:1; }

    /* ====== NÚT VỀ ĐẦU TRANG ====== */
    .back-top { position:fixed; right:24px; bottom:104px; z-index:80; width:44px; height:44px; border-radius:50%; border:none; cursor:pointer; background:var(--accent-auto); color:var(--accent-auto-ink); font-size:18px; box-shadow:0 8px 20px rgba(0,0,0,.2); opacity:0; visibility:hidden; transform:translateY(10px); transition:opacity .25s, transform .25s, visibility .25s; }
    .back-top.show { opacity:1; visibility:visible; transform:none; }
    .back-top:hover { transform:translateY(-2px); }

    /* ====== SÀN PROFIT LAB + VÍ ĐIỆN TỬ ====== */
    .pp-row { display:flex; flex-wrap:wrap; gap:10px 18px; justify-content:space-between; background:var(--surface); border:1px solid var(--border); border-radius:var(--radius-sm); padding:10px 14px; margin-bottom:8px; font-size:13px; }
    .pp-row.pp-total { background:linear-gradient(135deg, rgba(99,102,241,.12), rgba(6,182,212,.12)); border-color:var(--accent-ai); }
    .wallet-grid { display:grid; grid-template-columns:repeat(auto-fit, minmax(240px, 1fr)); gap:14px; margin-top:22px; }
    .wallet-card { background:var(--surface); border:1px solid var(--border); border-radius:var(--radius-md); padding:18px; display:flex; flex-direction:column; gap:10px; }
    .wallet-card .wallet-top { display:flex; align-items:center; gap:12px; }
    .wallet-card .wallet-icon { width:44px; height:44px; border-radius:12px; background:linear-gradient(135deg, rgba(99,102,241,.14), rgba(6,182,212,.14)); display:flex; align-items:center; justify-content:center; font-size:22px; }
    .wallet-card h4 { margin:0; color:var(--fg); font-size:16px; }
    .wallet-card .wallet-cat { font-size:11px; color:var(--neural-cyan); background:rgba(6,182,212,.1); border-radius:999px; padding:2px 10px; }
    .wallet-card p { margin:0; color:var(--fg-2); font-size:13px; flex:1; }
    .wallet-actions { display:flex; gap:8px; }
    .wallet-actions .btn { flex:1; height:38px; font-size:13px; padding:0 12px; }

    /* ====== NGƯỜI MUA: GIỎ HÀNG / THANH TOÁN / ĐÁNH GIÁ / YÊU THÍCH / ĐƠN HÀNG ====== */
    .product { position:relative; }
    .nav-cart { position:relative; background:var(--surface-2); border:1px solid var(--border); border-radius:99px; width:40px; height:40px; cursor:pointer; font-size:18px; display:inline-flex; align-items:center; justify-content:center; }
    .nav-cart-badge { position:absolute; top:-6px; right:-6px; min-width:18px; height:18px; border-radius:9px; background:var(--accent-auto); color:var(--accent-auto-ink); font-size:11px; font-weight:700; align-items:center; justify-content:center; display:none; }
    .card-heart { position:absolute; top:10px; left:10px; z-index:2; width:32px; height:32px; border-radius:50%; border:1px solid var(--border); background:rgba(37,40,57,.9); cursor:pointer; font-size:15px; line-height:1; display:flex; align-items:center; justify-content:center; }
    .card-heart.active { border-color:var(--accent-auto); }
    .stars { display:flex; align-items:center; gap:5px; color:#FFB300; font-size:13px; margin:4px 0; }
    .stars-n { color:var(--muted); font-size:12px; }
    .ship-note { font-size:11px; color:var(--success); margin:4px 0 8px; }
    .cart-backdrop { position:fixed; inset:0; background:rgba(8,11,20,.5); z-index:10002; opacity:0; visibility:hidden; transition:opacity .22s, visibility .22s; }
    .cart-backdrop.open { opacity:1; visibility:visible; }
    .cart-panel { position:absolute; top:0; right:0; height:100%; width:min(400px,92vw); background:var(--glass-strong); border-left:1px solid var(--glass-border); display:flex; flex-direction:column; transform:translateX(100%); transition:transform .25s; }
    .cart-backdrop.open .cart-panel { transform:none; }
    .cart-head { display:flex; justify-content:space-between; align-items:center; padding:18px 22px; border-bottom:1px solid var(--border); }
    .cart-head h3 { margin:0; }
    .cart-head a { font-size:13px; color:var(--neural-cyan); text-decoration:none; }
    .cart-items { flex:1; overflow-y:auto; padding:14px 22px; display:flex; flex-direction:column; gap:10px; }
    .cart-row { display:flex; gap:10px; align-items:center; background:var(--surface); border:1px solid var(--border); border-radius:var(--radius-sm); padding:10px; }
    .cart-icon { font-size:22px; }
    .cart-info { flex:1; }
    .cart-info b { display:block; font-size:13px; }
    .cart-info span { color:var(--fg-2); font-size:12px; }
    .cart-qty { display:flex; gap:6px; align-items:center; margin-top:4px; }
    .cart-qty button { width:24px; height:24px; border-radius:6px; border:1px solid var(--border); background:var(--surface-2); cursor:pointer; }
    .cart-del { border:none; background:none; cursor:pointer; font-size:15px; }
    .cart-foot { padding:16px 22px; border-top:1px solid var(--border); display:flex; flex-direction:column; gap:8px; }
    .cart-line { display:flex; justify-content:space-between; font-size:13px; color:var(--fg-2); }
    .cart-line.total { font-size:16px; color:var(--fg); font-weight:700; }
    .co-summary { background:var(--surface); border:1px solid var(--border); border-radius:var(--radius-sm); padding:10px 14px; margin:10px 0; }
    .co-line { display:flex; justify-content:space-between; font-size:13px; color:var(--fg-2); padding:2px 0; }
    .co-line.total { font-size:15px; color:var(--fg); font-weight:700; }
    .co-voucher { display:flex; gap:8px; margin:10px 0; }
    .co-voucher .field { flex:1; }
    .star-input { display:flex; gap:6px; margin:8px 0; }
    .star-input button { background:none; border:none; color:#4A5168; cursor:pointer; font-size:26px; padding:0; }
    .star-input button.on { color:#FFB300; }
    .review-list { max-height:200px; overflow-y:auto; background:var(--surface); border:1px solid var(--border); border-radius:var(--radius-sm); padding:10px 14px; margin-bottom:10px; }
    .review-item { border-bottom:1px dashed var(--border); padding:8px 0; }
    .review-item p { margin:4px 0; font-size:13px; }
    .review-date { font-size:11px; color:var(--muted); }
    .order-card { background:var(--surface); border:1px solid var(--border); border-radius:var(--radius-md); padding:16px; margin-bottom:12px; }
    .order-head { display:flex; justify-content:space-between; align-items:center; margin-bottom:6px; }
    .order-status { font-size:12px; font-weight:700; border-radius:999px; padding:3px 12px; }
    .order-status[data-status="Chờ xác nhận"] { background:rgba(245,158,11,.15); color:#FBBF24; }
    .order-status[data-status="Đang giao"] { background:rgba(0,229,255,.15); color:var(--neural-cyan); }
    .order-status[data-status="Đã giao"] { background:rgba(47,191,113,.15); color:var(--success); }
    .order-status[data-status="Đã hủy"] { background:rgba(239,68,68,.12); color:#ef4444; }
    .order-meta { font-size:12px; color:var(--muted); margin-bottom:8px; }
    .order-items { border-top:1px dashed var(--border); padding:8px 0; }
    .order-item { display:flex; justify-content:space-between; font-size:13px; padding:2px 0; }
    .order-totals { display:flex; justify-content:space-between; font-size:13px; border-top:1px dashed var(--border); padding-top:8px; }
    .order-actions { display:flex; gap:8px; margin-top:10px; }
    .order-actions .btn { height:36px; font-size:12px; padding:0 12px; }

    /* ====== HIỆU NĂNG: will-change + tạm dừng khi tab ẩn ====== */
    .aurora, .holo-orb, .glow-orb, .ticker-track, .hero-car { will-change: transform; }
    body.tab-hidden .aurora, body.tab-hidden .holo-orb, body.tab-hidden .glow-orb,
    body.tab-hidden .particle, body.tab-hidden .ticker-track,
    body.tab-hidden .hero-car { animation-play-state: paused !important; }

    /* ====== CHẾ ĐỘ MÁY YẾU: nút "Giảm hiệu ứng" giờ có tác dụng thật ====== */
    body.reduced .aurora, body.reduced .holo-orb, body.reduced .glow-orb, body.reduced .particle { animation: none !important; opacity: 0; }
    body.reduced .hero-car, body.reduced .ticker-track, body.reduced .btn-primary { animation: none; }
    body.reduced .nav, body.reduced .stat-card, body.reduced .feature-card, body.reduced .testi-card, body.reduced .faq-item, body.reduced .boss-panel { backdrop-filter: none; -webkit-backdrop-filter: none; }
    /* ====== DỰ BÁO DOANH THU ====== */
    .forecast-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 24px; align-items: start; }
    @media(max-width:860px){ .forecast-grid { grid-template-columns: 1fr; } }
    .fc-slider { width: 100%; accent-color: var(--accent-auto); margin: 4px 0 18px; }
    .fc-row { display: grid; grid-template-columns: 2.2fr 0.6fr 1fr 1.1fr 1fr; gap: 8px; padding: 9px 0; border-bottom: 1px solid var(--border-soft); font-size: 13px; align-items: center; }
    .fc-row.head { font-weight: 700; color: var(--muted); text-transform: uppercase; font-size: 11px; letter-spacing: .5px; border-bottom-color: var(--border); }
    .fc-row .num { font-family: var(--font-mono); text-align: right; }
    .fc-row .rev { color: var(--neural-cyan); font-weight: 700; }
    .fc-total { background: var(--surface-2); border-radius: var(--radius-md); padding: 14px 16px; margin-top: 12px; display: flex; justify-content: space-between; align-items: center; font-weight: 800; font-size: 17px; flex-wrap: wrap; gap: 8px; }
    .fc-note { font-size: 12px; color: var(--muted); margin-top: 14px; }
    @media (max-width: 860px) {
      #bossPanel { left: 12px; right: 12px; width: auto; }
    }
    /* ====== AIAUTO CỔNG GIAO DIỆN: thu gọn trang chính, giữ nguyên sức mạnh ====== */
    [data-ch] { display: none; }
    body[data-channel="shop"] [data-ch="shop"],
    body[data-channel="ecosystem"] [data-ch="ecosystem"],
    body[data-channel="sellers"] [data-ch="sellers"],
    body[data-channel="admin"] [data-ch="admin"] { display: block; }
    .channel-bar { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; padding: 16px 16px 0; background: var(--bg); }
    .channel-btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 18px; border-radius: var(--radius-pill); border: 1px solid var(--border); background: var(--surface); color: var(--fg-2); font-weight: 600; font-size: 14px; transition: all .18s ease; }
    .channel-btn:hover { border-color: var(--accent-ai-bright); color: var(--fg); }
    .channel-btn.active { background: var(--grad-5d); color: #fff; border-color: transparent; box-shadow: 0 6px 18px rgba(99,102,241,.35); }
    .channel-btn.admin { opacity: .62; font-size: 13px; }
    .channel-btn.admin.active { opacity: 1; }
    section[data-ch], .hero, .ticker { scroll-margin-top: 132px; }

    /* ====== MỤC LỤC NHANH TRONG KÊNH (dính dưới thanh kênh) ======
       Giúp khách nhảy thẳng tới mục cần xem thay vì cuộn dài.
       Nhãn do js/muc-luc-kenh.js sinh theo đúng các mục đang hiện. */
    .muc-luc-kenh {
      position: sticky; top: 64px; z-index: 88;
      display: flex; align-items: center; gap: 7px;
      padding: 10px 16px 11px; margin: 10px 0 0;
      overflow-x: auto; overflow-y: hidden; white-space: nowrap;
      background: linear-gradient(180deg, rgba(18,20,31,.96), rgba(18,20,31,.86));
      backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
      border-top: 1px solid var(--border-soft);
      border-bottom: 1px solid var(--border);
      scrollbar-width: thin; scrollbar-color: var(--neural-cyan) transparent;
    }
    .muc-luc-kenh::-webkit-scrollbar { height: 5px; }
    .muc-luc-kenh::-webkit-scrollbar-thumb { background: rgba(0,229,255,.42); border-radius: 4px; }
    .muc-luc-kenh::-webkit-scrollbar-track { background: transparent; }
    .ml-muc {
      flex: 0 0 auto; display: inline-flex; align-items: center;
      padding: 6px 13px; border-radius: var(--radius-pill);
      border: 1px solid var(--border); background: var(--surface);
      color: var(--fg-2); font-size: 12.5px; font-weight: 600;
      text-decoration: none; letter-spacing: .1px;
      transition: color .16s ease, border-color .16s ease, background .16s ease, transform .16s ease;
    }
    .ml-muc:hover {
      color: var(--fg); border-color: var(--neural-cyan);
      background: rgba(0,229,255,.08); transform: translateY(-1px);
    }
    .ml-muc.dang-xem {
      color: #fff; border-color: transparent;
      background: linear-gradient(135deg, #00E5FF, #E91E63);
      box-shadow: 0 4px 14px rgba(0,229,255,.3);
    }
    .ml-moc {
      flex: 0 0 auto; margin: 0 4px 0 10px; padding-left: 12px;
      border-left: 1px solid var(--border);
      font-size: 10px; font-weight: 800; letter-spacing: .7px;
      color: var(--muted); text-transform: uppercase;
    }
    .ml-moc:first-child { margin-left: 0; padding-left: 0; border-left: 0; }
    @media (max-width: 860px) {
      .muc-luc-kenh { top: 56px; padding: 8px 12px 9px; gap: 6px; }
      .ml-muc { padding: 5px 11px; font-size: 12px; }
      .ml-moc { display: none; }
      section[data-ch], .hero, .ticker { scroll-margin-top: 118px; }
    }
    @media (prefers-reduced-motion: reduce) {
      .muc-luc-kenh { scroll-behavior: auto; }
      .ml-muc, .ml-muc:hover { transition: none; transform: none; }
    }

    /* Hiệu năng: chỉ dựng phần đang nhìn — cuộn mượt trên cả máy yếu */
    .section { content-visibility: auto; contain-intrinsic-size: auto 720px; }
    /* ====== SỔ THU CHI (doanh thu – chi phí nội bộ) ====== */
    .fin-grid { display: grid; grid-template-columns: 1fr 1.7fr; gap: 20px; }
    @media(max-width:860px){ .fin-grid { grid-template-columns: 1fr; } }
    .fin-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 22px; box-shadow: var(--shadow); }
    .fin-summary { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-bottom: 16px; }
    .fin-stat { border-radius: var(--radius-md); padding: 12px 14px; background: var(--surface-2); border: 1px solid var(--border); font-size: 12px; color: var(--muted); }
    .fin-stat b { display: block; font-size: 19px; margin-top: 2px; }
    .fin-stat.rev b { color: var(--success); }
    .fin-stat.exp b { color: var(--danger); }
    .fin-stat.bal b { color: var(--neural-violet); }
    .fin-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
    .fin-row { display: grid; grid-template-columns: 84px 1fr 130px 52px; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--border-soft); font-size: 14px; }
    .fin-row.head { font-weight: 700; color: var(--muted); text-transform: uppercase; font-size: 11px; letter-spacing: .5px; border-bottom-color: var(--border); }
    .fin-tag { font-size: 10px; font-weight: 700; padding: 2px 6px; border-radius: 99px; }
    .fin-tag.thu { background: rgba(16,185,129,.14); color: var(--success); }
    .fin-tag.chi { background: rgba(239,68,68,.14); color: var(--danger); }
    .fin-del { background: none; border: none; color: var(--muted); font-size: 15px; line-height: 1; padding: 4px; cursor: pointer; }
    .fin-del:hover { color: var(--danger); }
    .fin-empty { color: var(--muted); padding: 16px 0; }
    /* ====== TƯƠNG THÍCH ĐA HỆ ĐIỀU HÀNH, ĐIỆN THOẠI & MÁY YẾU — mượt, không giật ====== */
    .nav { -webkit-backdrop-filter: blur(16px); }
    @supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .nav { background: rgba(26,28,44,0.98); } }
    html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 88px; }
    html, body { overflow-x: clip; }
    @supports not (overflow-x: clip) { html, body { overflow-x: hidden; } }
    button, a { -webkit-tap-highlight-color: transparent; }
    body.reduced .reveal { transition: none; opacity: 1; transform: none; }
    .ticker-track, .hero-car, .aurora, .holo-orb, .particle { backface-visibility: hidden; }
    .footer-7d > div, .newsletter, .newsletter input { min-width: 0; }
    /* ===== TỐI ƯU HIỆU NĂNG — CUỘN MƯỢT TRÊN MỌI THIẾT BỊ ===== */
    /* Cô lập layout từng thẻ để trình duyệt không phải tính lại cả trang khi 1 thẻ đổi */
    .product, .software-module, .idea-card, .info-card, .order-card, .legal-ch { contain: layout style; }
    /* Lưới sản phẩm dài: chỉ render phần đang nhìn thấy */
    .catalog-grid > .product { content-visibility: auto; contain-intrinsic-size: 380px; }
    /* Ảnh/khối media giữ đúng chỗ, tránh giật layout khi tải */
    .product-visual { contain: layout paint; }
    /* Chỉ bật will-change khi thực sự tương tác — tránh chiếm RAM GPU liên tục */
    .product:hover, .software-module:hover, .gc-card:hover { will-change: transform; }
    /* Bảng cuộn ngang mượt trên iOS */
    .doc-table-wrap, .supply-wrap { -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
    /* Khi người dùng bật "Giảm hiệu ứng": tắt toàn bộ hiệu ứng nặng */
    body.reduced .aurora, body.reduced .particle, body.reduced .holo-orb, body.reduced .glow-orb { display: none !important; }
    body.reduced .ticker-track, body.reduced .hero-car { animation: none !important; }
    body.reduced * { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
    body.reduced .product:hover, body.reduced .gc-card:hover { transform: none; }
    /* Máy yếu / màn hình nhỏ: giảm đổ bóng và làm mờ nền (2 thứ tốn GPU nhất) */
    @media (max-width: 640px) {
      .aurora, .holo-orb, .glow-orb { display: none; }
      .particle { display: none; }
      .product, .info-card, .software-module { box-shadow: none; }
      .section { content-visibility: auto; contain-intrinsic-size: auto 640px; }
    }
    @media (max-width: 860px) {
      .nav { backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
      .section { padding: 48px 0; }
      .section-head { margin-bottom: 32px; }
      .section-head h2 { font-size: 26px; }
      .channel-bar { gap: 6px; padding: 12px 12px 0; }
      .channel-btn { padding: 7px 12px; font-size: 13px; }
      .hero-main { padding: 30px 22px; }
    }
    @media (max-width: 480px) {
      .section { padding: 40px 0; }
      .hero-actions { flex-direction: column; }
      .hero-actions .btn { width: 100%; }
    }
  
/* NAV DROPDOWN */
.nav-item-dropdown {
  position: relative;
  display: inline-block;
}
.nav-item-dropdown > a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  min-width: 200px;
  padding: 8px 0;
  display: none;
  flex-direction: column;
  box-shadow: 0 10px 25px rgba(0,0,0,0.5);
  backdrop-filter: blur(12px);
  z-index: 100;
}
.nav-item-dropdown:hover .nav-dropdown-menu {
  display: flex;
}
.nav-dropdown-menu a {
  padding: 8px 16px !important;
  margin: 0 !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  border-radius: 0 !important;
}
.nav-dropdown-menu a:hover {
  background: rgba(255,255,255,0.05);
  color: var(--neural-cyan) !important;
}


/* AIAUTO GPU ACCELERATION & PERFORMANCE TWEAKS */
* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Force hardware acceleration for expensive filters and shadows */
.glass, .glass-nav, .legal-card, .card, .boss-ai-widget, .backdrop-blur {
  transform: translateZ(0);
  will-change: transform;
  backface-visibility: hidden;
}

/* Optimize scrolling */
html, body {
  overscroll-behavior-y: none;
}


/* ----------------------------------------------------
   TỐI ƯU HÓA HIỆU NĂNG TOÀN DIỆN (GPU & CPU)
------------------------------------------------------- */
@media screen and (max-width: 768px) {
  /* Tắt các hiệu ứng blur nặng trên thiết bị di động */
  .aurora {
    filter: none !important;
    opacity: 0.05 !important;
    animation: none !important;
    background-size: 100% 100% !important;
  }
  .particle, .particles {
    display: none !important; /* Tắt hạt sáng */
  }
  .glass, .glass-nav, .legal-card, .card {
    backdrop-filter: blur(10px) !important; /* Giảm độ blur */
    -webkit-backdrop-filter: blur(10px) !important;
  }
}

/* Tắt particle trên mọi thiết bị nếu gây giật lag */
.particle, .particles { display: none !important; }

/* Giảm tải render cho nội dung dài */
#noiquy, #deanat, #hoso-bct, #hopdong, #service-plan, .legal-public-top {
  content-visibility: auto;
  contain-intrinsic-size: 1000px;
}

/* Hardware Acceleration cho layer */
.glass, .glass-nav, .aurora {
  transform: translateZ(0);
  will-change: transform;
}
  

/* ═════════ ULTIMATE RESPONSIVE & APP-LIKE PATCH ═════════ */
/* 1. Ngăn chặn tràn viền ngang (Horizontal Overflow) trên mọi thiết bị */
html, body {
  max-width: 100vw;
  overflow-x: hidden;
  -webkit-text-size-adjust: antialiased;
  -webkit-tap-highlight-color: transparent; /* Bỏ viền xanh khi chạm trên mobile */
}

/* 2. Căn chỉnh ảnh và media tự động co giãn */
img, video, svg {
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

/* 3. Responsive cho Quick Menu (Menu 10 nút tiện ích) */
.quick-menu {
  display: grid !important;
  /* Trên Mobile/Tablet: Luôn chia 5 cột, chữ nhỏ lại để vừa khít màn hình */
  grid-template-columns: repeat(5, 1fr) !important;
  gap: 12px 4px !important;
  width: 100%;
}
.quick-menu-item {
  padding: 0 2px;
  word-break: break-word;
}
.quick-menu-item span {
  font-size: clamp(9px, 2.5vw, 12px) !important; /* Font tự động thu phóng theo màn hình */
  line-height: 1.2;
}
.quick-menu-icon {
  width: clamp(32px, 10vw, 45px) !important;
  height: clamp(32px, 10vw, 45px) !important;
  font-size: clamp(16px, 5vw, 24px) !important;
  margin-bottom: 4px;
}

/* 4. Responsive cho Modal Tải App (Không bị tràn/mất nút trên đt màn nhỏ) */
#appDownloadModal .modal-dialog {
  width: 90%;
  max-height: 85vh; /* Giới hạn chiều cao */
  overflow-y: auto; /* Cho phép cuộn nếu nội dung dài */
  margin: auto;
}
#appDownloadModal .app-split {
  flex-direction: column; /* Xếp dọc trên mobile */
}
@media (min-width: 650px) {
  #appDownloadModal .app-split {
    flex-direction: row; /* Xếp ngang trên Tablet/PC */
  }
}

/* 5. Khối Luật 30 Mục tự động dàn cột */
.legal-public-top .legal-toc, #noiquy .noiquy-toc {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)) !important;
  gap: 10px;
}

/* 6. Fix Bottom Nav dính viền iPhone tai thỏ (Safe Area) */
.mobile-bottom-nav {
  padding-bottom: env(safe-area-inset-bottom, 12px) !important;
}

/* 7. Ẩn các banner thừa/không cần thiết trên mobile để tiết kiệm diện tích */
@media (max-width: 768px) {
  .hero-7d h1 { font-size: clamp(24px, 7vw, 32px); } /* Auto scale chữ To */
  .app-banner { display: none !important; } /* Ẩn banner tải app ngang trên cùng vì đã có popup và bottom nav */
  body { padding-bottom: 80px !important; overflow-x: hidden; } /* Chừa chỗ cho thanh Bottom Nav và chống tràn ngang */
  
  /* Căng giãn Mọi Khối trên Điện thoại cho Đẹp Mê Ly */
  .section { padding: 24px 0; }
  .section-head { margin-bottom: 20px; padding: 0 10px; }
  .section-head h2 { font-size: clamp(20px, 6vw, 24px); margin-bottom: 6px; }
  .wrap { padding: 0 12px; }
  
  /* Căng Grid tự động */
  .product-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
  .product-card .price { font-size: 16px; }
  
  /* Navbar */
  .nav-links { display: none; } /* Có thể làm hamburger menu, tạm ẩn để tránh vỡ */
  .header .wrap { justify-content: space-between; }
  
  /* Bảng giá / Gói cước (Trang chủ) xếp dọc */
  #pricing .grid, .seller-ekyc-grid { grid-template-columns: 1fr !important; }
}

/* Tinh chỉnh riêng cho Tablet (iPad) đến PC để bung rộng hoàn chỉnh */
@media (min-width: 769px) {
  .wrap { max-width: 1240px; }
  .product-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
}

@media (min-width: 1200px) {
  .wrap { max-width: 1400px; } /* Màn hình bự dãn ra 1400px */
  .product-grid { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 24px; }
}

