/* ═══════════════════════════════════════════════════════════
   DARK & LIGHT LUXURY BENTO — Hải Học Kinh Tế · FMC K60
   ═══════════════════════════════════════════════════════════ */

/* ── Fonts & Reset ── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root,
[data-theme="dark"] {
  --bg:          #0a0a0a;
  --surface:     #121214;
  --surface-2:   #18181b;
  --border:      rgba(255,255,255,0.08);
  --border-h:    rgba(255,255,255,0.2);
  --text:        #ffffff;
  --text-2:      rgba(255,255,255,0.72);
  --text-3:      rgba(255,255,255,0.42);
  --nav-bg:      rgba(10,10,10,0.8);
  --card-glass:  rgba(255,255,255,0.02);
  --noise-op:    0.4;
  --ring-track:  rgba(255,255,255,0.08);
  --overlay-bg:  linear-gradient(180deg, rgba(10,10,10,0.1) 0%, rgba(10,10,10,0.5) 60%, rgba(10,10,10,0.95) 100%);
  --blue:        #3B82F6;
  --blue-glow:   rgba(59,130,246,0.28);
  --orange:      #FF8C00;
  --orange-glow: rgba(255,140,0,0.25);
  --teal:        #14B8A6;
  --nav-h:       64px;
  --gap:         12px;
  --r:           22px;
}

[data-theme="light"] {
  --bg:          #f8fafc;
  --surface:     #ffffff;
  --surface-2:   #f1f5f9;
  --border:      rgba(15,23,42,0.09);
  --border-h:    rgba(15,23,42,0.22);
  --text:        #0f172a;
  --text-2:      #334155;
  --text-3:      #64748b;
  --nav-bg:      rgba(248,250,252,0.85);
  --card-glass:  rgba(0,0,0,0.015);
  --noise-op:    0.15;
  --ring-track:  rgba(15,23,42,0.08);
  --overlay-bg:  linear-gradient(180deg, rgba(15,23,42,0.05) 0%, rgba(15,23,42,0.4) 60%, rgba(15,23,42,0.92) 100%);
  --blue:        #2563EB;
  --blue-glow:   rgba(37,99,235,0.18);
  --orange:      #EA580C;
  --orange-glow: rgba(234,88,12,0.18);
  --teal:        #0D9488;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
  transition: background-color .35s ease, color .35s ease;
}

/* ── Reading Progress Bar ── */
.reading-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  z-index: 1000;
  background: rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
}
.rp-fill {
  height: 100%;
  width: 25%;
  background: linear-gradient(90deg, var(--blue), var(--orange));
  box-shadow: 0 0 10px var(--orange-glow);
  transition: width .35s cubic-bezier(0.16, 1, 0.3, 1);
}
.rp-pages {
  position: absolute;
  top: 4px;
  right: 20px;
  display: flex;
  gap: 8px;
  pointer-events: none;
}
.rp-page {
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--text-3);
  opacity: .5;
  transition: opacity .3s, color .3s;
}
.rp-page.active {
  opacity: 1;
  color: var(--orange);
}

/* ── Custom Cursor ── */
.cursor, .cursor-dot {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transition: opacity .3s;
}
.cursor {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,0.3);
  transform: translate(-50%,-50%);
  transition: transform .12s ease, width .2s, height .2s, border-color .2s;
  mix-blend-mode: difference;
}
[data-theme="light"] .cursor {
  border-color: rgba(0,0,0,0.35);
  mix-blend-mode: normal;
}
.cursor-dot {
  width: 5px; height: 5px;
  background: #fff;
  transform: translate(-50%,-50%);
}
[data-theme="light"] .cursor-dot {
  background: #0f172a;
}
.cursor.hovered {
  width: 56px; height: 56px;
  border-color: var(--orange);
}
body:not(:hover) .cursor,
body:not(:hover) .cursor-dot { opacity: 0; }

@media (hover: none) {
  .cursor, .cursor-dot { display: none; }
}

/* ── Loader ── */
.loader {
  position: fixed; inset: 0;
  z-index: 9000;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  transition: opacity .6s ease, visibility .6s ease;
}
.loader.gone { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-inner {
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  text-align: center;
  padding: 24px;
  max-width: 640px;
}
.loader-logo-wrap {
  position: relative;
  width: 120px; height: 120px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 2px;
}
.loader-logo-img {
  width: 110px; height: 110px;
  object-fit: cover;
  border-radius: 26px;
  border: 1.5px solid var(--border-h);
  box-shadow: 0 16px 36px rgba(0,0,0,0.5);
  position: relative;
  z-index: 1;
}
.loader-logo-glow {
  position: absolute; inset: -12px;
  border-radius: 34px;
  background: radial-gradient(circle, var(--blue-glow) 0%, var(--orange-glow) 60%, transparent 75%);
  filter: blur(24px);
  z-index: 0;
  opacity: 0.85;
  animation: logoPulse 3s ease-in-out infinite alternate;
}
@keyframes logoPulse {
  0% { transform: scale(0.95); opacity: 0.6; }
  100% { transform: scale(1.08); opacity: 0.95; }
}
.loader-welcome {
  font-size: .85rem;
  font-weight: 800;
  letter-spacing: .22em;
  color: var(--orange);
  text-transform: uppercase;
  margin-top: 4px;
}
.loader-title {
  font-size: clamp(1.2rem, 2.6vw, 1.6rem);
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--text);
  line-height: 1.35;
}
.loader-bar {
  width: 220px; height: 3px;
  background: var(--border);
  border-radius: 3px;
  overflow: hidden;
  margin: 4px 0;
}
.loader-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--blue), var(--orange));
  border-radius: 3px;
  transition: width .04s linear;
}
.loader-sub {
  font-size: .84rem;
  color: var(--text-2);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
  line-height: 1.5;
}
.loader-tag {
  font-weight: 700;
  color: var(--orange);
  background: rgba(255,140,0,0.12);
  border: 1px solid rgba(255,140,0,0.3);
  padding: 3px 10px;
  border-radius: 100px;
  cursor: pointer;
  transition: all .2s;
  display: inline-block;
}
.loader-tag:hover {
  background: rgba(255,140,0,0.25);
  color: #fff;
  transform: translateY(-1px);
}
.nav-brand-logo {
  width: 32px; height: 32px;
  border-radius: 8px;
  object-fit: cover;
  border: 1.5px solid var(--border-h);
  flex-shrink: 0;
}

/* ── Ambient Glow Elements ── */
.ambient-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(55px);
  z-index: 0;
  opacity: 0.55;
  transition: opacity .4s ease;
}
.glow-blue {
  width: 220px; height: 220px;
  top: -60px; right: -60px;
  background: radial-gradient(circle, var(--blue-glow) 0%, transparent 70%);
  animation: glowFloat 8s ease-in-out infinite alternate;
}
.glow-orange {
  width: 240px; height: 240px;
  bottom: -60px; left: -60px;
  background: radial-gradient(circle, var(--orange-glow) 0%, transparent 70%);
  animation: glowFloat 9s ease-in-out infinite alternate-reverse;
}
.glow-blue-sm {
  width: 140px; height: 140px;
  top: -30px; right: -30px;
  background: radial-gradient(circle, var(--blue-glow) 0%, transparent 70%);
}
.glow-orange-sm {
  width: 140px; height: 140px;
  bottom: -30px; right: -30px;
  background: radial-gradient(circle, var(--orange-glow) 0%, transparent 70%);
}
@keyframes glowFloat {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(12px, -8px) scale(1.08); }
  100% { transform: translate(-8px, 12px) scale(0.95); }
}

/* ── Navigation ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  padding: 0 24px;
  gap: 16px;
  background: var(--nav-bg);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
  transition: background-color .35s, border-color .35s;
}
.nav-brand {
  display: flex; align-items: center; gap: 10px;
  font-size: .9rem; font-weight: 700; color: var(--text);
  letter-spacing: -.02em; white-space: nowrap;
  cursor: pointer; background: none; border: none;
  text-decoration: none;
  flex-shrink: 0;
  max-width: calc(100vw - 120px);
}
.nav-brand span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.brand-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--orange));
  box-shadow: 0 0 8px var(--orange-glow);
  flex-shrink: 0;
}
.nav-center {
  display: flex; align-items: center; gap: 4px;
  margin-left: auto;
}
.nav-pill {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 16px;
  border-radius: 100px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-2);
  font-family: inherit; font-size: .8rem; font-weight: 500;
  cursor: pointer;
  transition: all .2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}
.nav-pill:hover { color: var(--text); border-color: var(--border-h); background: rgba(255,255,255,0.04); }
[data-theme="light"] .nav-pill:hover { background: rgba(0,0,0,0.04); }
.nav-pill.active {
  background: var(--surface-2);
  border-color: var(--border-h);
  color: var(--text);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.pill-num { font-size: .62rem; font-weight: 700; color: var(--text-3); letter-spacing: .04em; }
.nav-pill.active .pill-num { color: var(--orange); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 12px;
}

/* ── Theme Toggle Switch ── */
.theme-toggle {
  position: relative;
  width: 58px; height: 32px;
  border-radius: 100px;
  border: 1px solid var(--border-h);
  background: var(--surface-2);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 6px;
  color: var(--text-3);
  transition: all .25s ease;
  flex-shrink: 0;
}
.theme-toggle:hover {
  border-color: var(--orange);
  color: var(--text);
}
.theme-icon {
  width: 16px; height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  pointer-events: none;
  transition: color .2s;
}
.toggle-thumb {
  position: absolute;
  top: 3px; left: 3px;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--orange));
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
  transition: transform .3s cubic-bezier(0.16, 1, 0.3, 1);
}
[data-theme="light"] .toggle-thumb {
  transform: translateX(26px);
}
[data-theme="dark"] .dark-icon { color: #fff; }
[data-theme="light"] .light-icon { color: #fff; }

.theme-toggle.sm {
  width: 52px; height: 28px;
}
.theme-toggle.sm .toggle-thumb {
  width: 20px; height: 20px;
  top: 3px; left: 3px;
}
[data-theme="light"] .theme-toggle.sm .toggle-thumb {
  transform: translateX(24px);
}

.nav-cta {
  padding: 8px 20px; border-radius: 100px;
  font-family: inherit; font-size: .8rem; font-weight: 600;
  cursor: pointer; transition: all .2s;
  white-space: nowrap;
}

/* Liquid Glass Button */
.glass-btn {
  background: var(--card-glass);
  border: 1px solid var(--border-h);
  color: var(--text);
  backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
  position: relative; overflow: hidden;
}
.glass-btn:hover { background: rgba(255,255,255,0.08); color: var(--text); transform: translateY(-1px); }
[data-theme="light"] .glass-btn:hover { background: rgba(0,0,0,0.06); }

.hamburger {
  display: none;
  flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 6px; margin-left: auto;
}
.hamburger span {
  display: block; width: 22px; height: 1.5px;
  background: var(--text-2); border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  z-index: 490;
  background: var(--nav-bg);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 12px 16px 20px;
  flex-direction: column; gap: 4px;
  transform: translateY(-8px);
  opacity: 0;
  transition: transform .3s ease, opacity .3s ease;
}
.mobile-menu.open { display: flex; transform: translateY(0); opacity: 1; }
.mm-item {
  display: flex; align-items: center; gap: 16px;
  padding: 13px 16px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: none;
  color: var(--text-2);
  font-family: inherit; font-size: .92rem; font-weight: 500;
  cursor: pointer; text-align: left;
  transition: all .2s;
}
.mm-item:hover { background: var(--surface-2); color: var(--text); }
.mm-item.active { background: var(--surface-2); border-color: var(--border-h); color: var(--text); }
.mm-item span { font-size: .65rem; font-weight: 700; color: var(--orange); letter-spacing: .08em; min-width: 18px; }

.mm-divider {
  height: 1px;
  background: var(--border);
  margin: 8px 0;
}
.mm-theme-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px;
  font-size: .85rem;
  color: var(--text-2);
}

/* ── Pages ── */
.pages {
  padding-top: var(--nav-h);
  min-height: 100vh;
}

.page {
  display: none;
  opacity: 0;
  transition: opacity .35s ease;
  padding: 18px 24px 48px;
  min-height: calc(100vh - var(--nav-h));
}
.page.active { display: block; opacity: 1; }
.page.animating { animation: pageIn .4s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
@keyframes pageIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Bento Grid ── */
.page-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gap);
  max-width: 1380px;
  margin: 0 auto;
  auto-rows: auto;
}

/* ── Card Base ── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 26px;
  position: relative;
  overflow: hidden;
  transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease, background-color .35s ease;
  cursor: default;
}
.card:hover {
  border-color: var(--border-h);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}

/* Noise Overlay */
.card-noise {
  position: absolute; inset: 0;
  pointer-events: none;
  opacity: var(--noise-op);
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/><feColorMatrix type='matrix' values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size: 200px 200px;
  border-radius: inherit;
  z-index: 1;
}

/* ═══════════════════════════════════════════════════════════
   PAGE 1 — BENTO CARDS
   ═══════════════════════════════════════════════════════════ */

/* [NEW] Avatar Card: col 1-4, row 1-2 */
.card-avatar {
  grid-column: span 4;
  grid-row: span 2;
  min-height: 440px;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: #000;
}
.avatar-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform .6s cubic-bezier(0.16, 1, 0.3, 1), filter .4s ease;
  z-index: 0;
}
.card-avatar:hover .avatar-img {
  transform: scale(1.04);
}
.avatar-overlay {
  position: absolute;
  inset: 0;
  background: var(--overlay-bg);
  z-index: 1;
  pointer-events: none;
}
.avatar-bottom {
  position: relative;
  z-index: 2;
  padding: 24px;
}
.avatar-name {
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.02em;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}
.avatar-title {
  font-size: .72rem;
  font-weight: 600;
  color: var(--orange);
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-top: 4px;
}
.avatar-badge-corner {
  position: absolute;
  top: 18px; right: 18px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 100px;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .08em;
}

/* Hero: col 5-9, row 1 */
.card-hero {
  grid-column: span 5;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.hero-footer-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 10px;
}
.hero-social-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.social-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 13px;
  border-radius: 100px;
  font-size: .72rem;
  font-weight: 600;
  text-decoration: none;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text-2);
  transition: all .2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}
.social-chip:hover {
  transform: translateY(-2px);
  color: #fff;
}
.social-chip.fb:hover {
  background: #1877F2;
  border-color: #1877F2;
  box-shadow: 0 4px 12px rgba(24,119,242,0.35);
}
.social-chip.tt:hover {
  background: #000;
  border-color: #FE2C55;
  color: #fff;
  box-shadow: 0 4px 12px rgba(254,44,85,0.35);
}
.social-chip.in:hover {
  background: #0A66C2;
  border-color: #0A66C2;
  box-shadow: 0 4px 12px rgba(10,102,194,0.35);
}

/* ═══════════════════════════════════════════════════════════
   PAGE 1 — BENTO CARDS (RESTORED DESKTOP GRID)
   ═══════════════════════════════════════════════════════════ */

/* GPA: col 10-12, row 1 */
.card-stat {
  grid-column: span 3;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px;
}

/* Quote: col 5-9, row 2 */
.card-quote {
  grid-column: span 5;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Exp: col 10-12, row 2 */
.card-exp {
  grid-column: span 3;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px;
}

/* Milestones: col 1-4, row 3 */
.card-milestones {
  grid-column: span 4;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Why: col 5-12, row 3 */
.card-why {
  grid-column: span 8;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}

/* ═══════════════════════════════════════════════════════════
   CIRCULAR PROGRESS RINGS (CLEAN & BALANCED)
   ═══════════════════════════════════════════════════════════ */
.stat-ring-wrap {
  position: relative;
  width: 96px;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.stat-ring {
  transform: rotate(-90deg);
  width: 96px;
  height: 96px;
}
.ring-track {
  fill: none;
  stroke: var(--ring-track);
  stroke-width: 6;
}
.ring-fill {
  fill: none;
  stroke-width: 6;
  stroke-linecap: round;
  transition: stroke-dashoffset 1.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.ring-blue {
  stroke: var(--blue);
  filter: drop-shadow(0 0 6px var(--blue-glow));
}
.ring-orange {
  stroke: var(--orange);
  filter: drop-shadow(0 0 6px var(--orange-glow));
}
.ring-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1;
  gap: 2px;
}
.stat-number {
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--text);
  line-height: 1;
  white-space: nowrap;
}
.exp-num {
  font-size: 1.65rem;
  color: var(--orange);
}
.stat-scale {
  font-size: .68rem;
  font-weight: 700;
  color: var(--text-3);
  letter-spacing: .08em;
  line-height: 1;
  white-space: nowrap;
}

/* ═══════════════════════════════════════════════════════════
   TYPED TEXT EFFECT
   ═══════════════════════════════════════════════════════════ */
.typed-cursor {
  display: inline-block;
  font-weight: 300;
  color: var(--orange);
  margin-left: 2px;
  animation: blink 0.9s infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0; }
}

/* ═══════════════════════════════════════════════════════════
   PAGE 2 — 5 TRỤ CỘT BENTO & FLUID TABS
   ═══════════════════════════════════════════════════════════ */
.bento-header {
  grid-column: span 5;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.bento-pnav {
  grid-column: span 7;
  display: flex;
  align-items: center;
}
.bento-pmain {
  grid-column: span 9;
  padding: 0;
  overflow: hidden;
  transition: height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.pillar-panels-wrap {
  width: 100%;
}
.bento-marquee {
  grid-column: span 3;
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.bento-bq {
  grid-column: span 12;
  text-align: center;
  padding: 40px;
}
.bento-bq p {
  font-size: clamp(1.1rem, 2.5vw, 1.45rem);
  font-weight: 400;
  color: var(--text-2);
  line-height: 1.65;
}
.bento-bq p strong { color: var(--text); font-weight: 700; }

/* ─ Pillar Tabs ─ */
.pillar-tabs {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
}
.ptab {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  border-radius: 14px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-3);
  font-family: inherit; font-size: .84rem; font-weight: 500;
  cursor: pointer; text-align: left;
  transition: all .2s cubic-bezier(0.16, 1, 0.3, 1);
}
.ptab:hover { background: var(--surface-2); color: var(--text); }
.ptab.active {
  background: var(--surface-2);
  border-color: var(--border-h);
  color: var(--text);
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}
.ptab.active span { color: var(--text); font-weight: 600; }

/* ─ Pillar Display ─ */
.pl-view {
  display: none;
  padding: 30px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .35s cubic-bezier(0.16, 1, 0.3, 1), transform .35s cubic-bezier(0.16, 1, 0.3, 1);
}
.pl-view.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}
.pl-num { font-size: .65rem; font-weight: 700; letter-spacing: .16em; color: var(--text-3); text-transform: uppercase; margin-bottom: 8px; }
.pl-title { font-size: clamp(1.1rem, 2.2vw, 1.45rem); font-weight: 800; letter-spacing: -.02em; color: var(--text); margin-bottom: 20px; }
.pl-intro { font-size: .86rem; line-height: 1.7; color: var(--text-2); font-style: italic; margin-bottom: 20px; padding: 14px 18px; background: var(--surface-2); border-radius: 12px; border-left: 3px solid var(--blue); }
.pl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pl-item {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 16px; padding: 20px;
  transition: border-color .2s, transform .2s;
}
.pl-item:hover { border-color: var(--border-h); transform: translateY(-2px); }
.pl-item.full { grid-column: span 2; }
.pli-icon { font-size: 1.5rem; margin-bottom: 12px; }
.pl-item h4 { font-size: .86rem; font-weight: 700; color: var(--text); margin-bottom: 8px; letter-spacing: -.01em; }
.pl-item p { font-size: .8rem; line-height: 1.65; color: var(--text-2); margin-bottom: 8px; }
.pl-item p:last-child { margin-bottom: 0; }
.pl-tip { font-style: italic; color: var(--orange) !important; font-weight: 500; }

/* CV vs Portfolio */
.cvport-compare {
  display: flex; align-items: stretch; gap: 12px; margin-top: 14px;
}
.cvc-item {
  flex: 1; padding: 16px; border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
}
.cvc-item.accent {
  background: rgba(59,130,246,0.06);
  border-color: rgba(59,130,246,0.22);
}
.cvc-label { display: block; font-size: .8rem; font-weight: 800; color: var(--text); margin-bottom: 4px; }
.cvc-item.accent .cvc-label { color: var(--blue); }
.cvc-item p { font-size: .78rem; color: var(--text-2); }
.cvc-vs { display: flex; align-items: center; justify-content: center; font-size: .65rem; font-weight: 800; color: var(--text-3); width: 28px; flex-shrink: 0; }

/* ─ Marquee ─ */
.marquee-label { font-size: .58rem; font-weight: 700; letter-spacing: .2em; color: var(--text-3); padding: 18px 22px 8px; text-transform: uppercase; }
.marquee-track { flex: 1; display: flex; flex-direction: column; gap: 12px; justify-content: center; padding: 12px 0; overflow: hidden; }
.marquee-row { overflow: hidden; mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%); -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%); }
.marquee-inner { display: flex; gap: 10px; width: max-content; }
.marquee-row.left .marquee-inner { animation: marqLeft 24s linear infinite; }
.marquee-row.right .marquee-inner { animation: marqRight 30s linear infinite; }
@keyframes marqLeft  { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes marqRight { from { transform: translateX(-50%); } to { transform: translateX(0); } }

.mtag {
  display: inline-flex; align-items: center;
  padding: 8px 16px; border-radius: 100px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  font-size: .78rem; font-weight: 500; color: var(--text-2);
  white-space: nowrap; flex-shrink: 0;
}
.mtag.small { padding: 6px 14px; font-size: .72rem; }
.bento-pmarquee .marquee-track { justify-content: center; padding: 0; height: 56px; }
.bento-pmarquee .marquee-row { height: 56px; display: flex; align-items: center; }

/* ═══════════════════════════════════════════════════════════
   PAGE 3 — ĐÔI LỜI NHẮN NHỦ BENTO
   ═══════════════════════════════════════════════════════════ */
.bento-mhero {
  grid-column: span 5;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  position: relative;
  overflow: hidden;
}
.mhero-content {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.msg-big-title {
  font-size: clamp(1.85rem, 3.2vw, 2.7rem);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.15;
  color: var(--text);
  text-wrap: balance;
}
.mhero-sub {
  font-size: .88rem;
  line-height: 1.65;
  color: var(--text-2);
  text-wrap: pretty;
  max-width: 480px;
}
.mhero-footer {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.mhero-callout {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--orange);
}
.mhero-callout-icon {
  font-size: .95rem;
}
.bento-day1 {
  grid-column: span 4;
  min-height: 360px;
  display: flex;
  flex-direction: column;
}
.day1-tag { font-size: .84rem; font-weight: 600; color: var(--text-3); margin-bottom: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.day1-ul { list-style: none; display: flex; flex-direction: column; gap: 0; }
.day1-ul li { font-size: .84rem; line-height: 1.6; color: var(--text-2); padding: 10px 0; border-bottom: 1px solid var(--border); display: flex; align-items: flex-start; gap: 10px; }
.day1-ul li::before { content: '○'; color: var(--text-3); flex-shrink: 0; margin-top: 1px; }
.day1-ul li:last-child { border-bottom: none; }

.bento-notok {
  grid-column: span 3;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}
.notok-main {
  font-size: clamp(1.3rem, 2.8vw, 2rem);
  font-weight: 900;
  letter-spacing: -.02em;
  background: linear-gradient(135deg, var(--orange), #FFD700);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.bento-notok p { font-size: .82rem; line-height: 1.7; color: var(--text-2); }
.bento-notok strong { color: var(--text); }

.bento-dare {
  grid-column: span 3;
  min-height: 150px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.dare-wide { grid-column: span 3; }
.dare-icon-big { font-size: 2rem; flex-shrink: 0; }
.dare-word { font-size: clamp(1.1rem, 2vw, 1.45rem); font-weight: 800; letter-spacing: -.03em; color: var(--text); line-height: 1.15; }

.bento-1460 {
  grid-column: span 4;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}
.d1460-header {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.d1460-big {
  font-size: clamp(2.4rem, 4.2vw, 3.8rem);
  font-weight: 900;
  letter-spacing: -.06em;
  line-height: 1;
  background: linear-gradient(135deg, var(--blue), var(--orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.d1460-label {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .2em;
  color: var(--text-3);
  text-transform: uppercase;
}
.d1460-sub {
  font-size: .8rem;
  color: var(--text-2);
  line-height: 1.5;
}
.d1460-quote {
  font-size: .95rem;
  font-weight: 700;
  font-style: italic;
  color: var(--orange);
  line-height: 1.4;
}
.d1460-gratitude {
  font-size: .78rem;
  color: var(--text-3);
  line-height: 1.5;
}

.bento-wish {
  grid-column: span 5;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.wish-emoji { font-size: 2rem; }
.card-wish p { font-size: .84rem; line-height: 1.65; color: var(--text-2); }
.card-wish strong { color: var(--text); }
.wish-list { display: flex; flex-direction: column; gap: 4px; }
.wi { font-size: .8rem; color: var(--text); font-weight: 500; padding: 8px 14px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--border); }
.wish-sig { font-size: .8rem; color: var(--text-3); margin-top: 6px; }
.wish-sig span { display: block; font-size: 1.05rem; font-weight: 800; color: var(--text); margin-top: 2px; }

.bento-insight {
  grid-column: span 3;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.insight-badge { display: inline-flex; align-items: center; gap: 6px; font-size: .62rem; font-weight: 700; letter-spacing: .14em; color: var(--teal); text-transform: uppercase; background: rgba(20,184,166,0.1); border: 1px solid rgba(20,184,166,0.2); padding: 4px 10px; border-radius: 100px; width: fit-content; }
.card-insight p { font-size: .8rem; line-height: 1.65; color: var(--text-2); }
.card-insight em { color: var(--text); font-style: italic; }
.card-insight strong { color: var(--text); font-weight: 600; }

/* ═══════════════════════════════════════════════════════════
   PAGE 4 — NGUỒN TIN BENTO
   ═══════════════════════════════════════════════════════════ */
.bento-rheader {
  grid-column: span 6;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.bento-res {
  grid-column: span 3;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.res-top { display: flex; align-items: center; gap: 10px; }
.res-icon { font-size: 1.7rem; }
.res-badge { display: inline-block; font-size: .62rem; font-weight: 700; letter-spacing: .08em; padding: 4px 12px; border-radius: 100px; }
.res-badge.blue { background: rgba(59,130,246,0.12); border: 1px solid rgba(59,130,246,0.22); color: var(--blue); }
.res-badge.orange { background: rgba(255,140,0,0.12); border: 1px solid rgba(255,140,0,0.22); color: var(--orange); }
.card-res h3 { font-size: .92rem; font-weight: 700; color: var(--text); letter-spacing: -.01em; }
.card-res p { font-size: .8rem; line-height: 1.65; color: var(--text-2); }
.res-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 600; color: #1877F2;
  background: rgba(24,119,242,0.1);
  border: 1px solid rgba(24,119,242,0.2);
  padding: 8px 16px; border-radius: 100px;
  transition: all .2s cubic-bezier(0.16, 1, 0.3, 1); align-self: flex-start;
}
.res-link:hover { background: rgba(24,119,242,0.2); transform: translateY(-1px); }

.bento-afollow {
  grid-column: span 6;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.af-label { font-size: .65rem; font-weight: 700; letter-spacing: .16em; color: var(--text-3); text-transform: uppercase; }
.af-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.aftag { display: inline-block; font-size: .75rem; font-weight: 500; color: var(--text-2); background: var(--surface-2); border: 1px solid var(--border); padding: 7px 14px; border-radius: 100px; transition: border-color .2s, color .2s; cursor: default; }
.aftag:hover { border-color: var(--border-h); color: var(--text); }

.bento-fcta {
  grid-column: span 6;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 14px;
}
.card-final-cta .fc-emoji { font-size: 2.8rem; }
.card-final-cta h3 { font-size: clamp(1.3rem, 2.8vw, 1.9rem); font-weight: 800; letter-spacing: -.03em; color: var(--text); line-height: 1.25; }
.card-final-cta h3 span { color: var(--orange); }
.card-final-cta p { font-size: .82rem; color: var(--text-2); }
.fc-sig { font-size: 1.3rem; font-weight: 900; letter-spacing: -.03em; background: linear-gradient(135deg, var(--blue), var(--orange)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; margin: 4px 0 8px; }

.bento-pmarquee {
  grid-column: span 12;
  padding: 0;
  height: 56px;
}

/* ═══════════════════════════════════════════════════════════
   TYPOGRAPHY POLISH & ANTI-ORPHAN RULES (CHỐNG RỚT CHỮ)
   ═══════════════════════════════════════════════════════════ */
h1, h2, h3, h4, h5, h6,
.hero-heading, .section-big-title, .compass-title, .rec-role, .msg-big-title,
.pl-title, .res-archetype-title, .d1460-text, .quote-text, .why-quote, .bento-bq p,
.loader-title, .rec-sec-title, .notok-main, .dare-word {
  text-wrap: balance;
  word-break: normal;
  overflow-wrap: break-word;
  hyphens: none;
}

p, .hero-sub, .compass-desc, .rec-intro, .day1-ul li, .res-advice-list li,
.rec-bullet-list li, .card-wish p, .card-insight p, .card-why p {
  text-wrap: pretty;
  word-break: normal;
  overflow-wrap: break-word;
  hyphens: none;
}

/* Các thành phần cố định KHÔNG ĐƯỢC PHÉP gãy rớt chữ */
.tag, .aftag, .mtag, .job-tag, .pill-num, .stat-number, .exp-num,
.c-chip, .badge-fire, .badge-tag, .rec-status-tag, .loader-tag,
.nav-pill, .stat-label, .stat-sub, .af-label, .cvc-label,
.rec-meta span, .apply-label, .apply-email, .loader-welcome,
.hero-tag, .section-label, .why-tag, .day1-tag, .insight-badge,
.res-archetype-tag, .compass-counter, .wi, .bento-dare:not(.dare-wide) .dare-word,
.cvc-vs, .pl-num, .loader-sub span {
  white-space: nowrap;
}

.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .65rem; font-weight: 700; letter-spacing: .16em;
  color: var(--text-3); text-transform: uppercase;
  margin-bottom: 8px;
}
.dot {
  width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0;
}
.dot.blue { background: var(--blue); box-shadow: 0 0 8px var(--blue-glow); }
.dot.orange { background: var(--orange); box-shadow: 0 0 8px var(--orange-glow); }

.section-label {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .62rem; font-weight: 700; letter-spacing: .16em;
  color: var(--text-3); text-transform: uppercase;
}
.section-label svg { color: var(--text-3); flex-shrink: 0; }

.hero-heading {
  font-size: clamp(1.8rem, 3.2vw, 2.8rem);
  font-weight: 300;
  letter-spacing: -.03em;
  line-height: 1.15;
  color: var(--text-2);
  margin: 12px 0;
}
.hero-name-accent {
  display: block;
  font-weight: 800;
  color: var(--text);
}
.hero-sub {
  font-size: .84rem;
  line-height: 1.65;
  color: var(--text-2);
  max-width: 380px;
  min-height: 56px;
}
.hero-badge-row { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.tag {
  display: inline-block;
  font-size: .68rem; font-weight: 600; letter-spacing: .08em;
  padding: 4px 12px;
  border-radius: 100px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text-2);
}

.stat-label {
  font-size: .68rem; font-weight: 700; letter-spacing: .14em;
  color: var(--text-3); text-transform: uppercase;
}
.stat-sub { font-size: .76rem; color: var(--text-3); }

.quote-mark {
  font-size: 5rem; line-height: .7;
  color: rgba(255,255,255,0.06);
  font-family: Georgia, serif;
  position: absolute; top: 16px; left: 22px;
}
[data-theme="light"] .quote-mark {
  color: rgba(0,0,0,0.06);
}
.quote-text {
  font-size: clamp(.88rem, 1.4vw, 1.02rem);
  line-height: 1.7;
  color: var(--text-2);
  font-weight: 300;
  font-style: italic;
  padding-top: 24px;
  position: relative;
  z-index: 1;
}
.quote-sig {
  font-size: .75rem;
  color: var(--text-3);
  font-weight: 600;
  margin-top: 12px;
}

.ms-header-row { margin-bottom: 8px; }
.ms-list { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.ms-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid transparent;
  transition: background .2s, border-color .2s;
}
.ms-item:hover { background: var(--surface-2); border-color: var(--border); }
.ms-icon { font-size: 1.1rem; flex-shrink: 0; }
.ms-text { font-size: .84rem; color: var(--text-2); line-height: 1.4; }
.ms-text strong { color: var(--text); font-weight: 700; }

.why-tag { display: flex; align-items: center; gap: 8px; font-size: .65rem; font-weight: 700; letter-spacing: .14em; color: var(--text-3); text-transform: uppercase; }
.why-text { font-size: .88rem; line-height: 1.7; color: var(--text-2); }
.why-text em { color: var(--text); font-style: italic; }
.why-quote {
  font-size: .9rem; font-style: italic; color: var(--orange);
  border-left: 2px solid var(--orange);
  padding-left: 14px; line-height: 1.6;
}

.cta-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 22px; border-radius: 100px;
  background: rgba(255,140,0,0.12);
  border: 1px solid rgba(255,140,0,0.28);
  color: var(--orange);
  font-family: inherit; font-size: .82rem; font-weight: 600;
  cursor: pointer; transition: all .2s cubic-bezier(0.16, 1, 0.3, 1);
  align-self: flex-start;
}
.cta-pill:hover { background: rgba(255,140,0,0.22); transform: translateY(-1px); }
.cta-pill.light {
  background: var(--surface-2);
  border-color: var(--border-h);
  color: var(--text);
}
.cta-pill.light:hover { background: var(--border); }

.section-big-title {
  font-size: clamp(1.8rem, 3.4vw, 2.9rem);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1.15;
  color: var(--text);
}
.section-big-sub {
  font-size: .84rem; line-height: 1.7;
  color: var(--text-2); margin-top: 8px;
}
.acc-orange { color: var(--orange); display: inline; }
.acc-blue { color: var(--blue); }

/* ─ Page Dots ─ */
.page-dots {
  position: fixed; right: 24px; top: 50%;
  transform: translateY(-50%);
  z-index: 100;
  display: flex; flex-direction: column; gap: 12px;
}
.pdot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--border-h);
  cursor: pointer; transition: all .25s cubic-bezier(0.16, 1, 0.3, 1);
}
.pdot.active { background: var(--orange); transform: scale(1.5); box-shadow: 0 0 8px var(--orange-glow); }
.pdot:hover:not(.active) { background: var(--text-2); }

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
/* ═══════════════════════════════════════════════════════════
   3D TILT & SPECULAR GLARE EFFECT (ÁP DỤNG CÓ CHỌN LỌC)
   ═══════════════════════════════════════════════════════════ */
.tilt-card {
  transform-style: preserve-3d;
  will-change: transform;
  position: relative;
}
.card-glare {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(circle 320px at var(--glare-x, 50%) var(--glare-y, 50%), rgba(255,255,255,0.16), transparent 70%);
  opacity: 0;
  transition: opacity .3s ease;
  mix-blend-mode: overlay;
  z-index: 6;
}
.tilt-card:hover .card-glare {
  opacity: 1;
}
[data-theme="light"] .card-glare {
  background: radial-gradient(circle 320px at var(--glare-x, 50%) var(--glare-y, 50%), rgba(255,255,255,0.7), transparent 70%);
  mix-blend-mode: soft-light;
}

/* ═══════════════════════════════════════════════════════════
   CAREER COMPASS (ĐỊNH HƯỚNG RA TRƯỜNG TỪ 5 TRỤ CỘT)
   ═══════════════════════════════════════════════════════════ */
.bento-compass {
  grid-column: span 12;
  background: linear-gradient(145deg, var(--surface) 0%, var(--surface-2) 100%);
  border: 1.5px solid var(--border-h);
  padding: 36px 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  transform: none !important;
}
.bento-compass:hover {
  transform: none !important;
}
.compass-header {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.compass-title {
  font-size: clamp(1.4rem, 2.6vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--text);
  line-height: 1.25;
}
.compass-desc {
  font-size: .88rem;
  line-height: 1.7;
  color: var(--text-2);
  max-width: 820px;
}
.compass-status-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 6px;
}
.compass-counter {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: 100px;
  background: rgba(255,140,0,0.12);
  border: 1px solid rgba(255,140,0,0.25);
  color: var(--orange);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .04em;
}
.compass-counter span {
  font-size: 1.05rem;
  color: #fff;
}
[data-theme="light"] .compass-counter span {
  color: var(--text);
}
.compass-reset-btn {
  padding: 6px 16px;
  border-radius: 100px;
  background: var(--surface-2);
  border: 1px solid var(--border-h);
  color: var(--text-2);
  font-family: inherit;
  font-size: .78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
}
.compass-reset-btn:hover {
  background: var(--border-h);
  color: var(--text);
}

.compass-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.c-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 100px;
  background: var(--surface-2);
  border: 1.5px solid var(--border);
  color: var(--text-2);
  font-family: inherit;
  font-size: .82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  user-select: none;
}
.c-chip:hover:not(.disabled) {
  border-color: var(--border-h);
  color: var(--text);
  transform: translateY(-2px);
  background: rgba(255,255,255,0.06);
}
[data-theme="light"] .c-chip:hover:not(.disabled) {
  background: rgba(0,0,0,0.04);
}
.c-chip.selected {
  background: linear-gradient(135deg, rgba(59,130,246,0.18), rgba(255,140,0,0.18));
  border-color: var(--orange);
  color: #fff;
  box-shadow: 0 4px 16px rgba(255,140,0,0.25);
  transform: translateY(-2px) scale(1.03);
}
[data-theme="light"] .c-chip.selected {
  background: linear-gradient(135deg, rgba(37,99,235,0.12), rgba(234,88,12,0.12));
  color: var(--text);
  border-color: var(--orange);
}
.c-chip.disabled {
  opacity: .45;
  cursor: not-allowed;
  transform: none;
}
.c-icon {
  font-size: 1.05rem;
}

/* Compass Result Card */
.compass-result {
  margin-top: 10px;
  background: var(--surface);
  border: 1.5px solid var(--orange);
  border-radius: var(--r);
  padding: 32px 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: resultReveal .5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  box-shadow: 0 16px 48px rgba(255,140,0,0.15);
  position: relative;
  overflow: hidden;
}
@keyframes resultReveal {
  from { opacity: 0; transform: translateY(18px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.res-archetype-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .14em;
  color: var(--orange);
  text-transform: uppercase;
}
.res-archetype-title {
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 900;
  letter-spacing: -.03em;
  color: var(--text);
  line-height: 1.25;
}
.res-archetype-desc {
  font-size: .88rem;
  line-height: 1.7;
  color: var(--text-2);
}
.res-sections-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 6px;
}
.res-box {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.res-box-title {
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .08em;
  color: var(--text);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
}
.res-job-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.job-tag {
  font-size: .78rem;
  font-weight: 600;
  color: var(--blue);
  background: rgba(59,130,246,0.1);
  border: 1px solid rgba(59,130,246,0.22);
  padding: 5px 12px;
  border-radius: 100px;
}
.res-advice-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0;
}
.res-advice-list li {
  font-size: .82rem;
  line-height: 1.6;
  color: var(--text-2);
  position: relative;
  padding-left: 18px;
}
.res-advice-list li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--orange);
  font-size: .75rem;
}

/* ═══════════════════════════════════════════════════════════
   ANBU AGENCY RECRUITMENT CARD
   ═══════════════════════════════════════════════════════════ */
.bento-recruitment {
  grid-column: span 12;
  background: linear-gradient(145deg, var(--surface) 0%, var(--surface-2) 100%);
  border: 1.5px solid rgba(255,140,0,0.3);
  padding: 38px 42px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
}
.rec-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.rec-brand-badge {
  display: flex;
  align-items: center;
  gap: 10px;
}
.badge-fire {
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .12em;
  color: var(--orange);
  background: rgba(255,140,0,0.12);
  border: 1px solid rgba(255,140,0,0.25);
  padding: 5px 14px;
  border-radius: 100px;
}
.badge-tag {
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .08em;
  color: var(--text-2);
}
.rec-status-tag {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  color: #10B981;
  background: rgba(16,185,129,0.12);
  border: 1px solid rgba(16,185,129,0.25);
  padding: 4px 14px;
  border-radius: 100px;
}
.rec-title-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.rec-agency-name {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--text-3);
  text-transform: uppercase;
}
.rec-role {
  font-size: clamp(1.3rem, 2.5vw, 1.85rem);
  font-weight: 900;
  letter-spacing: -.03em;
  color: var(--text);
  line-height: 1.3;
}
.rec-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: .84rem;
  color: var(--text-2);
  margin-top: 4px;
}
.rec-meta strong {
  color: var(--text);
}
.rec-intro {
  font-size: .88rem;
  line-height: 1.7;
  color: var(--text-2);
  padding: 16px 20px;
  background: var(--surface-2);
  border-radius: 12px;
  border-left: 3px solid var(--orange);
}
.rec-grid-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 8px;
}
.rec-section-box {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.rec-sec-title {
  font-size: .88rem;
  font-weight: 800;
  letter-spacing: .08em;
  color: var(--text);
  text-transform: uppercase;
  margin-bottom: 4px;
}
.rec-subgroup {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.rec-sub-name {
  font-size: .84rem;
  font-weight: 700;
  color: var(--blue);
}
.rec-bullet-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0;
}
.rec-bullet-list li {
  font-size: .82rem;
  line-height: 1.6;
  color: var(--text-2);
  position: relative;
  padding-left: 16px;
}
.rec-bullet-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--text-3);
  font-weight: bold;
}
.rec-apply-card {
  margin-top: 20px;
  padding: 20px 24px;
  background: linear-gradient(135deg, rgba(255,140,0,0.08), rgba(59,130,246,0.06));
  border: 1px solid rgba(255,140,0,0.25);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.apply-label {
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .1em;
  color: var(--orange);
  text-transform: uppercase;
}
.apply-email {
  font-size: .92rem;
  color: var(--text);
}
.apply-email strong {
  color: var(--orange);
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE (TABLET & MOBILE)
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 1200px) {
  .nav { padding: 0 16px; gap: 8px; }
  .nav-pill { padding: 6px 12px; font-size: .76rem; }
  .nav-brand span { font-size: .84rem; }
}

@media (max-width: 1024px) {
  .nav-center { display: none; }
  .nav-right .nav-cta { display: none; }
  .hamburger { display: flex; }
}

@media (max-width: 1100px) {
  .page-grid { grid-template-columns: repeat(8, 1fr); }
  .card-avatar  { grid-column: span 4; grid-row: span 2; min-height: 380px; }
  .card-hero    { grid-column: span 4; }
  .card-stat    { grid-column: span 4; }
  .card-quote   { grid-column: span 4; }
  .card-exp     { grid-column: span 4; }
  .card-milestones { grid-column: span 4; }
  .card-why     { grid-column: span 8; }

  .bento-header { grid-column: span 8; }
  .bento-pnav   { grid-column: span 8; }
  .bento-pmain  { grid-column: span 8; }
  .bento-marquee{ grid-column: span 8; min-height: 120px; }
  .bento-compass{ grid-column: span 8; padding: 28px 24px; }
  .bento-bq     { grid-column: span 8; }

  .bento-mhero  { grid-column: span 8; }
  .bento-day1   { grid-column: span 4; }
  .bento-notok  { grid-column: span 4; }
  .bento-dare   { grid-column: span 2; }
  .dare-wide    { grid-column: span 4; }
  .bento-1460   { grid-column: span 4; }
  .bento-wish   { grid-column: span 4; }
  .bento-insight{ grid-column: span 8; }

  .bento-rheader{ grid-column: span 8; }
  .bento-res    { grid-column: span 4; }
  .bento-recruitment { grid-column: span 8; padding: 28px 24px; }
  .bento-afollow{ grid-column: span 8; }
  .bento-fcta   { grid-column: span 8; }
  .bento-pmarquee { grid-column: span 8; }
}

@media (max-width: 768px) {
  :root { --nav-h: 58px; --gap: 10px; }
  .page { padding: 12px 14px 40px; }
  .page-grid { grid-template-columns: repeat(4, 1fr); }
  .nav-center { display: none; }
  .nav-right .nav-cta { display: none; }
  .hamburger  { display: flex; }

  .card-avatar  { grid-column: span 4; grid-row: span 1; min-height: 380px; }
  .card-hero    { grid-column: span 4; }
  .card-stat    { grid-column: span 2; min-height: 170px; }
  .card-exp     { grid-column: span 2; min-height: 170px; }
  .card-quote   { grid-column: span 4; }
  .card-milestones { grid-column: span 4; }
  .card-why     { grid-column: span 4; }

  .bento-header, .bento-pnav, .bento-pmain, .bento-marquee, .bento-compass, .bento-bq,
  .bento-mhero, .bento-day1, .bento-notok, .bento-dare, .dare-wide,
  .bento-1460, .bento-wish, .bento-insight,
  .bento-rheader, .bento-res, .bento-recruitment, .bento-afollow, .bento-fcta, .bento-pmarquee
  { grid-column: span 4; grid-row: span 1; }

  .res-sections-grid { grid-template-columns: 1fr; }
  .rec-grid-cols { grid-template-columns: 1fr; gap: 20px; }
  .bento-compass { padding: 24px 18px; }
  .bento-recruitment { padding: 24px 18px; }
  .compass-result { padding: 22px 18px; }

  .pl-grid      { grid-template-columns: 1fr; }
  .pl-item.full { grid-column: span 1; }
  .page-dots    { display: none; }
  .card         { padding: 20px; }
  .hero-heading { font-size: 1.85rem; }
  .msg-big-title{ font-size: clamp(1.45rem, 5.2vw, 1.9rem); }
  .bento-mhero  { min-height: auto; gap: 16px; }
  .pl-view      { padding: 20px 16px; }
  .cvport-compare { flex-direction: column; }
  .cvc-vs       { width: 100%; height: 24px; }
}
