:root {
  --bg: #0d0d0d;
  --surface: #111111;
  --surface-2: #171717;
  --text: #f8f9fa;
  --muted: #94a3b8;
  --gold: #ffd700;
  --bronze: #cd7f32;
  /* Shared motion tokens (match index.html) */
  --motion-fast: 220ms;
  --motion-base: 280ms;
  --motion-slow: 420ms;
  --motion-sweep: 720ms;
  --ease-premium: cubic-bezier(0.22, 1, 0.36, 1);
}
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  color: var(--text);
  font-family: Inter, system-ui, sans-serif;
  background:
    radial-gradient(1100px 520px at -8% -10%, rgba(255, 215, 0, 0.16), transparent 52%),
    radial-gradient(900px 380px at 100% 0%, rgba(205, 127, 50, 0.2), transparent 58%),
    var(--bg);
  overflow-x: clip;
}
.topbar {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: #0a0a0a;
}
.showcase-nav,
.showcase-nav-brand {
  min-width: 0;
}
.showcase-nav-brand {
  max-width: calc(100% - 8.5rem);
}
.showcase-nav-brand__label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
@media (max-width: 379px) {
  .showcase-nav-brand {
    max-width: calc(100% - 7.25rem);
  }
  .showcase-nav-brand__label {
    max-width: 7.25rem;
  }
  .showcase-nav-cta {
    padding-inline: 0.75rem;
    font-size: 0.72rem;
  }
}
.hero-wrap {
  border: 1px solid rgba(255, 215, 0, 0.18);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.46);
}
.hero-wrap .hero-particles {
  z-index: 0;
}
.hero-wrap > .grid {
  position: relative;
  z-index: 1;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid rgba(255, 215, 0, 0.35);
  background: rgba(255, 215, 0, 0.08);
}
.gold-text {
  background: linear-gradient(110deg, #fff0a8 0%, #ffd700 38%, #cd7f32 92%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.orb-stage {
  position: relative;
  width: min(88vw, 370px);
  aspect-ratio: 1;
  border-radius: 999px;
  margin-inline: auto;
  background:
    radial-gradient(circle at 35% 28%, rgba(255, 255, 255, 0.22), transparent 38%),
    radial-gradient(circle at 72% 68%, rgba(255, 215, 0, 0.28), transparent 55%),
    rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 215, 0, 0.26);
  box-shadow: inset 0 0 40px rgba(255, 215, 0, 0.1), 0 30px 70px rgba(0, 0, 0, 0.45);
  transform-style: preserve-3d;
  --orb-float-y: 0px;
  --orb-tilt-x: 0deg;
  --orb-tilt-y: 0deg;
  transform: translateY(var(--orb-float-y)) rotateX(var(--orb-tilt-x)) rotateY(var(--orb-tilt-y));
  animation: floatOrb 4.8s ease-in-out infinite;
}
.orb-stage img {
  position: absolute;
  inset: 18% 18%;
  width: 64%;
  height: 64%;
  object-fit: contain;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.4));
}
.orb-ring {
  position: absolute;
  inset: 10%;
  border-radius: 999px;
  border: 1px dashed rgba(255, 215, 0, 0.35);
  animation: spinRing 22s linear infinite;
}
.case-card {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
}
.case-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 1rem;
  pointer-events: none;
  border: 1px solid rgba(255, 215, 0, 0.13);
  opacity: 0;
  transition: opacity var(--motion-fast) ease;
}
.case-card:hover::after { opacity: 1; }
.metric {
  border: 1px solid rgba(255, 215, 0, 0.2);
  background: rgba(255, 215, 0, 0.06);
}
.reveal {
  opacity: 1;
  transform: none;
}
html.motion-ready .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity var(--motion-slow) ease, transform var(--motion-slow) var(--ease-premium);
}
html.motion-ready .reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}
.fx-btn {
  min-height: 44px;
  min-width: 44px;
  touch-action: manipulation;
  transition: transform var(--motion-base) var(--ease-premium), box-shadow var(--motion-base) ease, background-color var(--motion-fast) ease;
}
.fx-btn--gold {
  background-color: #ffd700;
  color: #1a1a1a !important;
  -webkit-text-fill-color: #1a1a1a;
  text-shadow: none;
  box-shadow: 0 12px 24px -16px rgba(255, 215, 0, 0.68);
}
.fx-btn:hover { transform: translateY(-2px); }
.fx-btn--gold:hover {
  background-color: #e5b000;
  color: #1a1a1a !important;
  -webkit-text-fill-color: #1a1a1a;
}
.fx-btn:focus-visible {
  outline: 3px solid rgba(255, 215, 0, 0.9);
  outline-offset: 3px;
}
.fx-btn--gold:focus-visible {
  outline-color: #f8f9fa;
}
@media (hover: none) {
  .case-card:hover { transform: none; }
  .case-card:active { transform: scale(0.985); }
}
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .case-card,
  .case-card::after,
  .orb-stage,
  .orb-ring { transition: none !important; animation: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}
@keyframes floatOrb {
  0%, 100% { --orb-float-y: 0px; }
  50% { --orb-float-y: -9px; }
}
@keyframes spinRing {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* === Nâng cấp hover hiện đại (transform-only, đồng bộ token trang chủ) === */
.case-card,
.metric {
  transition:
    transform var(--motion-slow, 420ms) var(--ease-premium, cubic-bezier(0.22, 1, 0.36, 1)),
    border-color var(--motion-base, 280ms) ease,
    box-shadow var(--motion-slow, 420ms) ease;
}
.case-card:hover {
  transform: translate3d(0, -4px, 0);
  border-color: rgba(255, 215, 0, 0.45);
  box-shadow: 0 28px 60px -28px rgba(205, 127, 50, 0.4);
}
.metric:hover {
  transform: translate3d(0, -3px, 0);
  border-color: rgba(255, 215, 0, 0.4);
}
@media (hover: none) {
  .case-card:hover,
  .metric:hover {
    transform: none;
    box-shadow: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .case-card,
  .metric {
    transition: none;
  }
}
