body {
  background-color: #FAF7F2;
  color: #1D1D1F;
  font-family: 'Be Vietnam Pro', sans-serif;
  overflow-x: clip;
}
.glass-card {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.06), 0 0 0 1px rgba(231, 227, 220, 0.8);
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}
.glass-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.98);
  border-color: rgba(197, 155, 39, 0.5);
  box-shadow: 0 20px 45px -12px rgba(197, 155, 39, 0.15), 0 0 0 1px rgba(197, 155, 39, 0.4);
}
[data-ci-db-sim="true"],
[data-ci-db-sim="true"]:hover,
[data-ci-anatomy-sim="true"],
[data-ci-anatomy-sim="true"]:hover,
#ci-homepage-interactive-lab,
#ci-homepage-interactive-lab:hover {
  transform: none !important;
}
.glass-dock {
  background: rgba(255, 255, 255, 0.90);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 16px 45px -8px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(231, 227, 220, 0.9);
}
.glass-card-dark {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(28px);
  border: 1px solid rgba(231, 227, 220, 0.9);
  box-shadow: 0 14px 40px -10px rgba(0, 0, 0, 0.08);
}
.badge-gold {
  background: rgba(197, 155, 39, 0.12);
  color: #9A7314;
  border: 1px solid rgba(197, 155, 39, 0.35);
}
.badge-green {
  background: rgba(27, 73, 49, 0.08);
  color: #1B4931;
  border: 1px solid rgba(27, 73, 49, 0.22);
}
/* Shimmer & Pulse Animations for Magnetic CTAs */
@keyframes shimmerSweep {
  0% { transform: translateX(-150%) skewX(-20deg); }
  30%, 100% { transform: translateX(250%) skewX(-20deg); }
}
.animate-shimmer {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  animation: shimmerSweep 3.8s ease-in-out infinite;
  pointer-events: none;
}
@keyframes ripplePulse {
  0% { transform: scale(1); opacity: 0.85; }
  50% { transform: scale(1.6); opacity: 0; }
  100% { transform: scale(1.6); opacity: 0; }
}
.animate-ripple {
  animation: ripplePulse 2s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}
/* Smooth Scrollbar */
::-webkit-scrollbar {
  width: 7px;
}
::-webkit-scrollbar-track {
  background: #FAF7F2;
}
::-webkit-scrollbar-thumb {
  background: #C59B27;
  border-radius: 9999px;
}

/* ========================================================================= */
/* CALIBRATED VIETNAMESE TYPOGRAPHY RULES: STANDARDS COMPLIANT               */
/* line-height: 1.35-1.45 cho H1, 1.30-1.40 cho H2/H3, tracking: normal      */
/* Tuyệt đối không va chạm dấu tiếng Việt                                    */
/* ========================================================================= */
h1, .text-display-hero, .text-4xl, .text-5xl, .text-6xl, .text-7xl {
  line-height: 1.38 !important;
  letter-spacing: normal !important;
}
h2, h3, .font-headline, .font-display, .font-title-editorial {
  line-height: 1.34 !important;
  letter-spacing: normal !important;
}
h4, h5, h6 {
  line-height: 1.35 !important;
  letter-spacing: normal !important;
}
.tracking-tight, .tracking-tighter {
  letter-spacing: normal !important;
}
.leading-none, .leading-tight, .leading-snug {
  line-height: 1.35 !important;
}
