/* ==========================================================================
   Trang /filmlook-grade-engine — giao diện mới (người dùng duyệt 09/10/2026).
   Tông đen/đỏ cũ, nền tối thêm 30% (lớp phủ .30 → .51). Chữ Arial chỉ 400/700.
   Lớp đều mang tiền tố ge- để không đụng các khối style cũ của site.
   Thanh nav, nút nổi và nút bỏ qua điều hướng giữ khối <style> sẵn có trong trang;
   file này nạp SAU khối đó.
   ========================================================================== */
:root {
  --bg: #020202; --cream: #eeece5; --muted: #aaa7a0; --dim: #8d8a85;
  --red: #f51c27; --red-hover: #ff3039;
  --line: rgba(255, 255, 255, .1); --card: rgba(14, 14, 14, .78);
  --ge-nav-h: 92px;
}
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body.ge-page {
  margin: 0; background: var(--bg); color: var(--cream);
  font: 16px/1.6 Arial, Helvetica, "Liberation Sans", sans-serif; -webkit-font-smoothing: antialiased;
}
.ge-page *, .ge-page *::before, .ge-page *::after { box-sizing: border-box; }
.ge-page img { max-width: 100%; }
:where(.ge-page) :is(button, input, select) { font: inherit; }
:where(.ge-page) b, :where(.ge-page) strong { font-weight: 700; }
.ge-icon { display: inline-block; width: 16px; height: 16px; flex: none; vertical-align: -.125em; }

/* Lớp ánh đỏ cố định phía sau toàn trang. */
.ambient-background { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; isolation: isolate; }
.ambient-background::before {
  content: ""; position: absolute; left: 50%; bottom: -6vh; width: 108vw; height: 112vh; transform: translateX(-50%);
  background: url("/assets/grade-engine/ambient/filmlook-red-light-band-v1.webp?v=1") center / cover no-repeat;
  background-image: image-set(url("/assets/grade-engine/ambient/filmlook-red-light-band-v1.webp?v=1") type("image/webp") 1x, url("/assets/grade-engine/ambient/filmlook-red-light-band-v1.png?v=1") type("image/png") 1x);
  opacity: .85;
}
.ambient-background::after { content: ""; position: absolute; inset: -8%; background: rgba(0, 0, 0, .51); }
#main-content, .ge-foot { position: relative; z-index: 1; }

.ge-shell { position: relative; z-index: 1; width: min(100% - 48px, 1200px); margin-inline: auto; }
.ge-dot { width: 7px; height: 7px; flex: none; border-radius: 50%; background: var(--red); }
.ge-page h1, .ge-page h2, .ge-page h3 { margin: 0; font-weight: 700; }
.ge-page em { font-style: italic; font-weight: 400; }

/* Nút */
.ge-btn {
  min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 0 22px;
  border: 0; border-radius: 999px; font-size: 14px; font-weight: 700; line-height: 1.2; color: inherit; text-decoration: none;
  cursor: pointer; transition: transform .2s, background-color .2s, border-color .2s; touch-action: manipulation; -webkit-tap-highlight-color: transparent;
}
.ge-btn:hover { transform: translateY(-2px); }
.ge-btn-red { background: var(--red); color: #fff; }
.ge-btn-red:hover { background: var(--red-hover); }
.ge-btn-cream { background: var(--cream); color: #0b0b0b; }
.ge-btn-cream:hover { background: #fff; }
.ge-btn-line { border: 1px solid rgba(255, 255, 255, .28); background: transparent; color: var(--cream); }
.ge-btn-line:hover { border-color: var(--cream); }
.ge-btn-soon { border: 1px dashed rgba(255, 255, 255, .28); background: transparent; color: var(--muted); cursor: default; }
.ge-btn-soon:hover { transform: none; }
.ge-btn-sm { min-height: 44px; padding: 0 18px; font-size: 13px; }
.ge-btn .ge-icon { width: 18px; height: 18px; }
.ge-text-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--cream); font-size: 13px; font-weight: 700; text-decoration: none; }
.ge-text-link .ge-icon { color: var(--red); }

/* Hero: lấp đầy màn hình đầu trên máy tính (nav cố định cao 92px), dải chữ chạy nằm sát đáy. */
.ge-hero { position: relative; overflow: hidden; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; padding-top: var(--ge-nav-h); }
.ge-hero-main { position: relative; z-index: 1; flex: 1; display: flex; align-items: center; padding: 64px 0; }
.ge-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: clamp(40px, 5vw, 80px); align-items: center; }
.ge-hero-grid.is-solo { grid-template-columns: minmax(0, 720px); }
.ge-hero-copy { container-type: inline-size; }
.ge-hero-eyebrow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 26px; font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.ge-soft-text { color: var(--dim); }
/* Khối chữ FILMLOOK / GRADE ENGINE (09/10/2026): hai dòng rộng đúng bằng nhau, phủ hết cột chữ
   (tối đa 600px). Tỉ lệ đo từ nét chữ Arial đậm: FILMLOOK rộng 5,015em; GRADE ENGINE cỡ 0,583
   giãn 0,08em và viền thêm 0,05em thì rộng bằng FILMLOOK. Dòng dưới dày hơn nét đậm của Arial
   bằng viền cùng màu — không dùng font-weight trên 700 (Windows đổi sang Arial Black). */
.ge-hero h1.ge-lockup { font-size: clamp(56px, 7.2vw, 106px); line-height: 1; text-transform: uppercase; }
@supports (width: 1cqi) {
  .ge-hero h1.ge-lockup { font-size: calc(min(100cqi, 600px) / 5.03); }
}
.ge-lockup-top, .ge-lockup-bottom { display: block; white-space: nowrap; }
.ge-lockup-top { margin-left: -.0625em; line-height: .86; letter-spacing: -.02em; }
.ge-lockup-bottom { margin: .24em -.08em 0 -.006em; font-size: .582em; line-height: 1; letter-spacing: .08em; -webkit-text-stroke: .05em currentColor; }
.ge-hero-lead { max-width: 470px; margin: 26px 0 0; color: var(--muted); font-size: 17px; line-height: 1.7; }
.ge-cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.ge-hero-sub { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 26px; }
.ge-platforms { display: flex; align-items: center; gap: 10px; }
.ge-platforms img { display: block; width: 30px; height: 30px; }
/* Cụm 3 thẻ cửa sổ 3D (10/10/2026) — cùng ngôn ngữ với cụm thẻ trang chủ (css/intro3d.css).
   Vị trí, bề rộng tính theo % bề ngang khung (--x, --w) và theo đơn vị chiều cao --h (--y), nên cả
   cụm co giãn như một tấm ảnh: khung có aspect-ratio cố định, không giật trang khi ảnh tải.
   js/grade-engine.js chỉ đặt hai biến --px, --py (-1…1) theo chuột/cuộn; CSS tính phần còn lại. */
.ge-deck-wrap { position: relative; min-width: 0; margin: 0; }
.ge-deck { --h: 69; position: relative; width: 100%; aspect-ratio: 100 / var(--h); container-type: inline-size; perspective: 1800px; perspective-origin: 50% 40%; }
.ge-deck-2 { --h: 69; }
.ge-deck-1 { --h: 60; }
.ge-deck-stage { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateX(calc(3deg - var(--py, 0) * 4deg)) rotateY(calc(var(--px, 0) * 6deg)); }
.ge-card {
  position: absolute; left: calc(var(--x) * 1%); top: calc(var(--y) / var(--h) * 100%); width: calc(var(--w) * 1%);
  transform: translate3d(calc(var(--px, 0) * var(--d) * 24px), calc(var(--py, 0) * var(--d) * 20px), calc(var(--z) * 1px)) rotateX(calc(var(--rx) * 1deg)) rotateY(calc((var(--ry) - var(--px, 0) * var(--d) * 3) * 1deg));
  -webkit-backface-visibility: hidden; backface-visibility: hidden;
}
/* Thẻ 1 nằm trước, lớn nhất, thấp hơn; thẻ 2 (sau-trái) và thẻ 3 (sau-phải) nhô lên phía trên
   để lộ thanh tiêu đề tên phần mềm — bố cục như cụm thẻ "Chứng nhận đào tạo" trang chủ. */
.ge-card-1 { --x: 7; --y: 15; --w: 86; --z: 70; --rx: 1; --ry: -2; --d: 1; --delay: 0s; z-index: 3; }
.ge-card-2 { --x: 0; --y: 4; --w: 40; --z: -20; --rx: 2; --ry: -12; --d: .6; --delay: -2.4s; z-index: 2; }
.ge-card-3 { --x: 60; --y: 0; --w: 40; --z: -40; --rx: 1; --ry: 12; --d: .45; --delay: -4.6s; z-index: 1; }
.ge-deck-2 .ge-card-1 { --x: 0; --y: 14; --w: 88; }
.ge-deck-2 .ge-card-2 { --x: 48; --y: 0; --w: 52; --ry: 10; }
.ge-deck-1 .ge-card-1 { --x: 0; --y: 0; --w: 100; --ry: 0; }
.ge-card-win {
  overflow: hidden; border: 1px solid rgba(255, 255, 255, .1); border-radius: 12px; background: linear-gradient(180deg, #151515 0%, #0b0b0b 100%);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8), 0 12px 30px -10px rgba(216, 24, 32, .2), 0 0 0 1px rgba(255, 255, 255, .04) inset;
  -webkit-backface-visibility: hidden; backface-visibility: hidden; isolation: isolate;
  animation: ge-float 7.5s ease-in-out var(--delay) infinite;
}
@keyframes ge-float { 0%, 100% { transform: translate3d(0, 0, 0); } 50% { transform: translate3d(0, -10px, 0); } }
.ge-card-bar { display: flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; background: linear-gradient(180deg, #1d1d1d 0%, #151515 100%); border-bottom: 1px solid rgba(255, 255, 255, .05); }
.ge-card-bar i { width: 9px; height: 9px; flex: none; border-radius: 50%; background: rgba(255, 255, 255, .2); }
.ge-card-bar i:first-child { background: var(--red); }
.ge-card-bar b { min-width: 0; margin-left: 8px; overflow: hidden; color: #8b8b8b; font-size: 9px; letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; text-overflow: ellipsis; }
.ge-card-img { position: relative; aspect-ratio: 16 / 9; background: #0b0b0b; }
.ge-card-shot { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 100% 0; }
/* Thẻ nằm sau tối đi một chút để nổi chiều sâu. */
.ge-card-2 .ge-card-img::after, .ge-card-3 .ge-card-img::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .22); pointer-events: none; }
@supports (width: 1cqi) {
  .ge-card-bar { gap: .7cqi; height: 3.2cqi; padding: 0 1.3cqi; }
  .ge-card-bar i { width: clamp(5px, .95cqi, 10px); height: clamp(5px, .95cqi, 10px); }
  .ge-card-bar b { margin-left: .8cqi; font-size: clamp(6px, 1cqi, 11px); }
  .ge-card-win { border-radius: clamp(7px, 1.3cqi, 14px); }
}
.ge-deck-cap { margin-top: 18px; font-size: 12px; color: var(--dim); }
.ge-ticker { position: relative; z-index: 1; overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(0, 0, 0, .35); }
.ge-ticker-track { display: flex; width: max-content; animation: ge-tick 40s linear infinite; }
.ge-ticker-list { display: flex; align-items: center; margin: 0; padding: 17px 0; list-style: none; font-size: 11px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; white-space: nowrap; color: #bdb9b1; }
.ge-ticker-list li { display: flex; align-items: center; gap: 40px; padding-right: 40px; }
.ge-ticker-list .ge-icon { width: 14px; height: 14px; color: var(--red); }
@keyframes ge-tick { to { transform: translateX(-50%); } }

/* Khung mục */
.ge-sec { position: relative; padding: clamp(88px, 9vw, 132px) 0; border-top: 1px solid var(--line); scroll-margin-top: var(--ge-nav-h); }
/* Dưới Hero: nền đỏ vẫn nhìn thấy nhưng tối hơn Hero 40%, chuyển dần trong 420px đầu (chốt 09/10/2026). */
.ge-hero ~ .ge-sec, .ge-foot { background: rgba(0, 0, 0, .4); }
.ge-hero + .ge-sec { background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0, rgba(0, 0, 0, .4) 420px); }
.ge-eyebrow { display: flex; gap: 10px; margin: 0 0 22px; font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: #cfcac0; }
.ge-eyebrow b { color: var(--red); }
.ge-page h2 { font-size: clamp(34px, 3.7vw, 54px); line-height: 1.06; letter-spacing: -.045em; }
.ge-page h2.ge-h2-small { font-size: clamp(28px, 2.6vw, 38px); }
.ge-lead { max-width: 640px; margin: 20px 0 0; color: var(--muted); font-size: 16px; line-height: 1.75; }
.ge-sec-head { margin-bottom: 44px; }
.ge-note { margin: 18px 0 0; font-size: 12px; line-height: 1.6; color: var(--dim); }
.ge-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 0; padding: 0; list-style: none; }
.ge-chips li { min-height: 34px; display: inline-flex; align-items: center; padding: 0 14px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 999px; font-size: 13px; color: #d9d5cc; }

/* 01 — Grade Engine là gì */
.ge-intro-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.ge-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--card); }
.ge-step { padding: 16px 16px 18px; border-left: 1px solid var(--line); }
.ge-step:first-child { border-left: 0; }
.ge-step b { display: block; font-size: 11px; letter-spacing: .14em; color: var(--red); }
.ge-step span { display: block; margin-top: 10px; font-size: 14px; font-weight: 700; line-height: 1.35; }
.ge-tools { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 10px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--card); }
.ge-tool { padding: 22px 22px 24px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.ge-tool:nth-child(-n+2) { border-top: 0; }
.ge-tool:nth-child(odd) { border-left: 0; }
.ge-tool h3 { font-size: 16px; line-height: 1.3; }
.ge-tool p { margin: 8px 0 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
.ge-profiles { display: grid; grid-template-columns: minmax(0, .55fr) minmax(0, 1.45fr); gap: 24px; align-items: start; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); }
.ge-profiles h3 { font-size: 18px; }
.ge-profiles p { margin: 8px 0 0; font-size: 13px; color: var(--dim); }
.ge-profiles .ge-chips { margin-top: 0; }

/* Khung ảnh: dự trữ chỗ 16:9 để trang không giật khi ảnh tải. */
.ge-stage { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border: 1px solid rgba(255, 255, 255, .12); border-radius: 14px; background: #0a0a0a; }
.ge-stage:focus-within { outline: 2px solid var(--red); outline-offset: 3px; }
.ge-layer, .ge-fade { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility 0s linear .35s; }
.ge-layer.is-on, .ge-fade.is-on { opacity: 1; visibility: visible; transition: opacity .35s ease, visibility 0s; }
.ge-fade, .ge-ba-before, .ge-ba-after { display: block; width: 100%; height: 100%; object-fit: cover; }
.ge-ba-before, .ge-ba-after { position: absolute; inset: 0; }
/* Một công thức duy nhất cho vị trí kéo: --ge-pos do js/grade-engine.js đặt trên .ge-compare. */
.ge-compare { --ge-pos: 50%; }
.ge-ba-after { clip-path: inset(0 0 0 var(--ge-pos)); }
.ge-ba-line { position: absolute; top: 0; bottom: 0; left: var(--ge-pos); z-index: 2; width: 2px; margin-left: -1px; background: #fff; pointer-events: none; }
.ge-ba-knob { position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; display: flex; align-items: center; justify-content: center; border: 1px solid rgba(255, 255, 255, .75); border-radius: 50%; background: rgba(10, 10, 10, .85); color: #fff; }
.ge-ba-range { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; touch-action: pan-y; }
.ge-tag {
  position: absolute; z-index: 2; top: 14px; display: inline-flex; align-items: center; gap: 7px; min-height: 28px; max-width: calc(50% - 24px);
  padding: 0 12px; border: 1px solid rgba(255, 255, 255, .35); border-radius: 999px; background: rgba(0, 0, 0, .72);
  font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; overflow: hidden; color: #fff; pointer-events: none;
}
.ge-tag-l { left: 14px; }
.ge-tag-r { right: 14px; }
.ge-tag-b { top: auto; bottom: 14px; left: 14px; max-width: calc(100% - 28px); border-style: dashed; color: #d5d0c6; }
.ge-tabs { display: grid; gap: 8px; margin-top: 12px; }
.ge-tabs-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ge-tabs-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ge-tabs-4, .ge-tabs-7, .ge-tabs-8 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ge-tabs-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.ge-tabs-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.ge-tab {
  min-height: 44px; padding: 6px 10px; border: 1px solid rgba(255, 255, 255, .12); border-radius: 10px; background: rgba(14, 14, 14, .82);
  color: #bdb9b1; font-size: 13px; font-weight: 700; line-height: 1.25; cursor: pointer; transition: border-color .2s, color .2s, background-color .2s;
}
.ge-tab:hover { border-color: rgba(255, 255, 255, .3); color: var(--cream); }
.ge-tab.is-on { border-color: var(--red); background: rgba(245, 28, 39, .12); color: #fff; }
.ge-stage-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; margin-top: 14px; font-size: 12px; color: var(--dim); }

/* Hai cột chữ + ảnh */
.ge-split { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.ge-split.ge-rev, .ge-split.ge-img-left { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }

/* Nhiều cảnh */
.ge-cams { display: grid; gap: 12px; }
.ge-cams-1 { grid-template-columns: minmax(0, 1fr); }
.ge-cams-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ge-cams-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ge-cam { position: relative; margin: 0; aspect-ratio: 16 / 9; overflow: hidden; border: 1px solid rgba(255, 255, 255, .12); border-radius: 12px; background: #0a0a0a; }
.ge-cam .ge-tag { top: 10px; left: 10px; }
.ge-cam-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 16px; margin-top: 14px; font-size: 12px; color: var(--dim); }
.ge-seg { display: inline-flex; padding: 4px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 999px; background: rgba(14, 14, 14, .82); }
.ge-seg button { min-height: 40px; padding: 0 18px; border: 0; border-radius: 999px; background: transparent; color: #bdb9b1; font-size: 13px; font-weight: 700; cursor: pointer; }
.ge-seg button.is-on { background: var(--cream); color: #0b0b0b; }

/* Giao diện tiếng Việt: băng chuyền ba phần mềm */
.ge-ui-carousel { min-width: 0; width: 100%; max-width: 540px; margin-left: auto; }
.ge-ui-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-x: contain; scrollbar-width: none; border-radius: 14px; }
.ge-ui-track::-webkit-scrollbar { display: none; }
.ge-ui-track:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.ge-ui-slide { flex: 0 0 100%; margin: 0; scroll-snap-align: center; }
.ge-ui-frame { aspect-ratio: 4 / 5; display: flex; flex-direction: column; overflow: hidden; border: 1px solid rgba(255, 255, 255, .14); border-radius: 14px; background: #141414; }
.ge-ui-shot { flex: 1; min-height: 0; display: flex; }
.ge-ui-img { display: block; width: 100%; height: 100%; object-fit: contain; }
.ge-ui-app { flex: none; display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-top: 1px solid rgba(255, 255, 255, .1); background: rgba(8, 8, 8, .9); font-size: 15px; font-weight: 700; color: var(--cream); }
.ge-ui-app img { display: block; width: 32px; height: 32px; flex: none; }
.ge-ui-nav { display: flex; align-items: center; gap: 10px; margin-top: 12px; }
.ge-ui-arrow { flex: none; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(255, 255, 255, .22); border-radius: 50%; background: rgba(14, 14, 14, .82); color: var(--cream); cursor: pointer; transition: border-color .2s; }
.ge-ui-arrow:hover { border-color: var(--cream); }
.ge-ui-arrow .ge-icon { width: 18px; height: 18px; }
.ge-ui-tabs { flex: 1; min-width: 0; display: grid; gap: 6px; }
.ge-ui-tabs-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ge-ui-tabs-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ge-ui-tabs .ge-tab { padding: 0 6px; font-size: 12px; }
.ge-ui-hint { margin: 12px 0 0; font-size: 12px; color: var(--dim); }

/* Tải về */
.ge-dl-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: var(--card); }
.ge-dl { display: flex; flex-direction: column; gap: 18px; padding: 28px; border-left: 1px solid var(--line); }
.ge-dl:first-child { border-left: 0; }
.ge-dl-head { display: flex; align-items: center; gap: 14px; }
.ge-dl-head img { display: block; width: 44px; height: 44px; }
.ge-dl h3 { font-size: 20px; letter-spacing: -.02em; }
.ge-dl-meta { margin: 0; padding: 0; list-style: none; font-size: 13px; }
.ge-dl-meta li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.ge-dl-meta li span:first-child { color: var(--dim); }
.ge-dl-meta li span:last-child { text-align: right; }
.ge-dl-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }

/* Đăng ký: thẻ giá + form */
.ge-reg { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 20px; align-items: stretch; }
.ge-price { display: flex; flex-direction: column; padding: 34px; border: 1px solid rgba(255, 255, 255, .12); border-radius: 16px; background: rgba(14, 14, 14, .84); }
.ge-pill { align-self: flex-start; min-height: 30px; display: inline-flex; align-items: center; padding: 0 12px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px; font-size: 12px; color: #cfcac0; }
.ge-amount { margin: 26px 0 0; font-size: clamp(46px, 4.6vw, 64px); font-weight: 700; line-height: 1; letter-spacing: -.05em; }
.ge-price-line { margin: 14px 0 0; font-size: 17px; }
.ge-price-logos { display: flex; gap: 10px; margin-top: 22px; }
.ge-price-logos img { display: block; width: 36px; height: 36px; }
.ge-price .ge-note { margin-top: auto; padding-top: 26px; }
.ge-zalo-link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; margin-top: 10px; color: var(--cream); font-size: 13px; font-weight: 700; text-decoration: none; }
.ge-zalo-link img { display: block; width: 26px; height: 26px; }
.ge-form-box { min-width: 0; display: flex; }
.ge-form { position: relative; flex: 1; display: grid; gap: 18px; align-content: start; padding: 34px; border: 1px solid rgba(255, 255, 255, .12); border-radius: 16px; background: rgba(10, 10, 10, .88); }
.ge-form[hidden] { display: none; }
.ge-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.ge-field { display: grid; gap: 8px; min-width: 0; margin: 0; padding: 0; border: 0; font-size: 13px; font-weight: 700; }
/* Chỉ nhãn trực tiếp của ô nhập. Viết .ge-field label (0,1,1) thì đè luôn lề 14px của ba ô
   chọn phần mềm .ge-soft (0,1,0) nằm trong fieldset — biểu tượng và ô tick dính sát mép. */
.ge-field > label, .ge-field > legend { padding: 0; line-height: 1.5; }
.ge-field legend { margin-bottom: 8px; }
.ge-field small { font-weight: 400; color: var(--dim); }
.ge-input { width: 100%; min-height: 50px; padding: 0 16px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 10px; background: #111; color: var(--cream); font-size: 15px; font-weight: 400; }
.ge-input::placeholder { color: #8c8787; }
.ge-input:focus-visible { outline: 2px solid var(--red); outline-offset: 1px; }
.ge-soft-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.ge-soft { display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 0 14px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 10px; background: #111; font-size: 13px; font-weight: 400; cursor: pointer; }
.ge-soft img { display: block; width: 24px; height: 24px; flex: none; }
.ge-soft input { width: 18px; height: 18px; margin: 0 0 0 auto; flex: none; accent-color: var(--red); }
.ge-soft:has(input:checked) { border-color: var(--red); background: rgba(245, 28, 39, .1); }
.ge-software[data-invalid="true"] .ge-soft { border-color: #ff8f95; }
.ge-consent { display: flex; align-items: flex-start; gap: 12px; font-size: 12px; line-height: 1.6; color: var(--muted); cursor: pointer; }
.ge-consent input { width: 18px; height: 18px; margin: 2px 0 0; flex: none; accent-color: var(--red); }
.ge-submit { width: 100%; }
.ge-submit:disabled { opacity: .65; cursor: wait; transform: none; }
.form-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
#ge-form-message { margin: 0; color: #f0eae6; font-size: 14px; }
#ge-form-message:empty { display: none; }
#ge-form-message[data-state=error] { color: #ffb1b1; }

/* Ô xác nhận trên trang + hộp xác nhận (giữ nguyên kiểu đã duyệt 16/09/2026). */
.ge-registration-received { flex: 1; align-self: center; min-width: 0; padding: 35px 24px; border: 1px solid #ffffff20; border-radius: 22px; background: #ffffff03; text-align: center; }
.ge-registration-received[hidden] { display: none; }
.ge-registration-received h2 { margin: 0 0 14px; font-size: 26px; letter-spacing: -.025em; color: #f4f0e8; }
.ge-registration-received p { max-width: 360px; margin: 0 auto 22px; font-size: 15px; line-height: 1.8; color: #bdb7b5; }
body.ge-confirmation-open { position: fixed; top: var(--ge-confirmation-scroll-top); left: 0; right: 0; width: 100%; overflow: hidden; }
.ge-success-check { width: 64px; height: 64px; display: grid; place-items: center; margin: 0 auto 24px; border: 1px solid #ea566c66; border-radius: 50%; background: radial-gradient(circle at 50% 0, #7a1426, #260b11); box-shadow: 0 0 48px #e8193120; color: #f8ebe7; }
.ge-success-check .ge-icon { width: 29px; height: 29px; }
.ge-success-link { display: flex; width: fit-content; margin-inline: auto; align-items: center; justify-content: center; gap: 9px; min-height: 44px; color: #bdb7b5; text-decoration: none; font: 13px/1.6 Arial, sans-serif; }
.ge-success-link:hover { color: #f4f0e8; }
.ge-success-link .ge-icon, .ge-success-close .ge-icon { width: 21px; height: 21px; flex-shrink: 0; }
.ge-registration-received .ge-success-link { color: #f4f0e8; font-size: 14px; }
.ge-success-dialog {
  width: calc(100% - 32px); max-width: 530px; max-height: calc(100vh - 32px); max-height: calc(100svh - 32px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
  margin: auto; overflow-y: auto; overscroll-behavior: contain; padding: 47px 40px 30px; color: #f4f0e8;
  border: 1px solid #ffffff40; border-radius: 26px; background: radial-gradient(ellipse at 50% 0, #431016 0, transparent 54%), #111;
  box-shadow: 0 30px 110px #000b; text-align: center; font: 16px/1.65 Arial, sans-serif;
}
.ge-success-dialog:not([open]) { display: none; }
.ge-success-dialog::backdrop { background: #000a; -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); }
.ge-success-close { position: absolute; top: 11px; right: 11px; width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 50%; background: transparent; color: #bcb5b3; cursor: pointer; }
.ge-success-close:hover { background: #ffffff10; color: #fff; }
.ge-success-dialog h2 { margin: 0 0 18px; font: 700 32px/1.25 Arial, sans-serif; letter-spacing: -.04em; }
#ge-success-title:focus, #ge-registration-received:focus { outline: none; }
.ge-success-dialog .ge-success-thanks { margin: 0 0 18px; font-size: 17px; line-height: 1.6; color: #ece5e1; }
.ge-success-dialog .ge-success-next { margin: 0 0 28px; font-size: 15px; line-height: 1.8; color: #bdb7b5; }
.ge-success-primary { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 52px; padding: 13px 20px; border: 0; border-radius: 30px; background: #f4f0e8; color: #111; font: 700 14px/1.5 Arial, sans-serif; cursor: pointer; }
.ge-success-primary:hover { background: #fff; }
.ge-success-dialog > .ge-success-link { margin-top: 13px; }
.ge-success-dialog button, .ge-success-link { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
/* Nút Tải xuống (đỏ) và Hướng dẫn (kem) trong hộp/ô xác nhận. */
.download-btn, .guide-btn {
  display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px;
  font: 700 13.5px/1.2 Arial, Helvetica, sans-serif; text-decoration: none; white-space: nowrap; transition: background-color .22s ease, box-shadow .22s ease;
  touch-action: manipulation; -webkit-tap-highlight-color: transparent;
}
.download-btn { background: var(--red); color: #fff; box-shadow: 0 0 0 1px rgba(255, 98, 104, .55), 0 0 20px rgba(245, 28, 39, .55), 0 0 46px rgba(245, 28, 39, .3); }
.download-btn:hover { background: var(--red-hover); }
.guide-btn { background: var(--cream); color: var(--bg); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .36), 0 8px 18px rgba(0, 0, 0, .22); }
.guide-btn:hover { background: var(--red-hover); color: #fff; }
.download-btn .ge-icon, .guide-btn .ge-icon { width: 18px; height: 18px; }
.ge-success-dialog .download-btn { width: 100%; margin: 12px 0 0; }
.ge-success-dialog .guide-btn { width: 100%; margin: 12px 0 4px; }
.ge-registration-received .download-btn { width: fit-content; max-width: 100%; margin: 0 auto 14px; }
.ge-registration-received .guide-btn { width: fit-content; max-width: 100%; margin: 12px auto 0; }

/* Đọc thêm + chân trang */
.ge-rel-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 34px; }
.ge-rel { display: flex; justify-content: space-between; align-items: center; gap: 18px; min-height: 96px; padding: 22px 24px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); color: var(--cream); font-size: 15px; font-weight: 700; line-height: 1.45; text-decoration: none; transition: border-color .2s, transform .2s; }
.ge-rel:hover { border-color: rgba(255, 255, 255, .3); transform: translateY(-3px); }
.ge-rel .ge-icon { width: 18px; height: 18px; color: var(--red); }
.ge-foot { padding: 30px 0 40px; border-top: 1px solid var(--line); }
.ge-foot-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--dim); }
.ge-foot-brand { color: var(--cream); text-decoration: none; }

/* Nút nổi "Đăng Ký": nền đỏ đặc + quầng sáng, rê chuột chỉ tăng quầng (đã duyệt 16/09/2026). */
.floating-actions .floating-register {
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; width: 58px; height: 58px; padding: 0;
  border: 1px solid #ff7880; border-radius: 50%; background: #ed1524 linear-gradient(145deg, #ff2935, #d80918); color: #fff;
  transform: none; -webkit-backdrop-filter: none; backdrop-filter: none; transition: box-shadow .22s ease, border-color .22s ease;
  font: 700 12px/1.25 Arial, Helvetica, sans-serif; white-space: nowrap; text-align: center;
  box-shadow: 0 0 18px #f51c2780, 0 0 36px #f51c2738, 0 6px 18px #0005;
}
.floating-actions .floating-register:hover, .floating-actions .floating-register:focus-visible { border-color: #ffb0b5; box-shadow: 0 0 24px #ff2935e6, 0 0 52px #f51c278c, 0 0 76px #f51c2740; }
.floating-actions .floating-register:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.floating-top .ge-icon { width: 24px; height: 24px; }

/* ---------- Khổ màn hình ---------- */
@media (max-width: 1020px) {
  /* Máy tính bảng, điện thoại: Hero cao theo nội dung, không chừa khoảng trống. */
  .ge-hero { min-height: 0; }
  .ge-hero h1.ge-lockup { font-size: min(calc((100vw - 48px) / 5.1), 118px); }
  .ge-hero-grid, .ge-intro-grid, .ge-split, .ge-split.ge-rev, .ge-split.ge-img-left, .ge-reg, .ge-profiles { grid-template-columns: minmax(0, 1fr); }
  .ge-rel-grid { grid-template-columns: minmax(0, 1fr); }
  .ge-ui-carousel { margin-inline: auto; }
}
/* Chỉnh da: máy tính ảnh bên trái; điện thoại chữ trước, ảnh sau (đúng thứ tự trong HTML). */
@media (min-width: 1021px) {
  /* Cụm thẻ Hero lấn sang lề phải tới sát mép màn hình (chừa 32px) và lấn 24px vào khe giữa hai cột;
     màn hình thấp thì thu nhỏ để Hero vẫn vừa một màn hình (331px = nav + dải chữ chạy + đệm + chú thích). */
  .ge-deck {
    margin-left: -24px;
    width: min(calc(100% + 24px + max(0px, (100vw - 1200px) / 2 - 32px)), calc((100vh - 331px) * 100 / var(--h)));
    width: min(calc(100% + 24px + max(0px, (100vw - 1200px) / 2 - 32px)), calc((100svh - 331px) * 100 / var(--h)));
  }
  .ge-deck-cap { margin-left: -24px; }
  .ge-split.ge-img-left { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
  .ge-split.ge-img-left .ge-split-media { order: -1; }
}
@media (max-width: 860px) {
  /* Nav điện thoại (css/mobile-nav.css) cao 68px. Đặt cố định để nội dung không xê dịch
     lúc js/mobile-nav.js thu nav từ 78/92px về 68px. */
  :root { --ge-nav-h: 68px; }
  .ge-dl-grid { grid-template-columns: minmax(0, 1fr); }
  .ge-dl { border-left: 0; border-top: 1px solid var(--line); }
  .ge-dl:first-child { border-top: 0; }
}
@media (max-width: 760px) {
  .ge-shell { width: min(100% - 32px, 1200px); }
  .ge-hero-main { padding: 32px 0 44px; }
  .ge-hero-eyebrow { margin-bottom: 18px; }
  .ge-hero h1.ge-lockup { font-size: min(calc((100vw - 32px) / 5.1), 118px); }
  .ge-hero-lead { margin-top: 20px; font-size: 16px; }
  .ge-cta-row .ge-btn { flex: 1 1 100%; }
  .ge-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ge-step:nth-child(3) { border-left: 0; }
  .ge-step:nth-child(n+3) { border-top: 1px solid var(--line); }
  .ge-tools { grid-template-columns: minmax(0, 1fr); }
  .ge-tools .ge-tool { border-left: 0; border-top: 1px solid var(--line); }
  .ge-tools .ge-tool:first-child { border-top: 0; }
  .ge-tab { padding: 6px; font-size: 12px; }
  .ge-tabs-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ge-tabs-5, .ge-tabs-6, .ge-tabs-7, .ge-tabs-8 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ge-cams-2, .ge-cams-3, .ge-two, .ge-soft-grid { grid-template-columns: minmax(0, 1fr); }
  .ge-price, .ge-form, .ge-dl { padding: 24px; }
  .ge-sec-head { margin-bottom: 32px; }
  .floating-actions .floating-register { width: 52px; height: 52px; }
}
@supports (width: 1cqi) {
  @media (max-width: 1020px) { .ge-hero h1.ge-lockup { font-size: calc(min(100cqi, 600px) / 5.03); } }
}
@media (max-width: 380px) {
  .ge-ui-nav { gap: 6px; }
  .ge-ui-tabs .ge-tab { padding: 0 2px; font-size: 11px; }
}
@media (max-width: 420px) {
  .ge-success-dialog { padding: 42px 24px 22px; border-radius: 23px; }
  .ge-success-dialog h2 { font-size: 28px; }
  .ge-success-dialog .ge-success-thanks { font-size: 16px; }
  .ge-success-dialog .ge-success-next { font-size: 14px; }
  .ge-success-check { margin-bottom: 21px; }
  .ge-registration-received { padding: 28px 15px; }
  .ge-registration-received h2 { font-size: 23px; }
}
@media (max-height: 520px) {
  .floating-actions { bottom: calc(14px + env(safe-area-inset-bottom)); gap: 10px; }
  .floating-actions .floating-label { display: none; }
}
@media (prefers-reduced-motion: no-preference) {
  .ge-success-dialog[open] { animation: ge-confirmation-appear .2s ease-out; }
  @keyframes ge-confirmation-appear { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ge-ui-track { scroll-behavior: auto; }
  .ge-ticker-track { animation: none; }
  .ge-card-win { animation: none; }
  .ge-layer, .ge-fade, .ge-btn, .ge-rel, .ge-tab { transition: none; }
}
