/* ==========================================================================
   HAPPIER SDLC — BRAND IDENTITY DESIGN SYSTEM & STYLESHEET
   Style: Vietnamese Heritage • Dong Son Culture & Chim Lac • Modern Tech
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS Custom Properties (Design Tokens)
   -------------------------------------------------------------------------- */
:root {
  /* Brand Palette */
  --deep-jade: #1A4032;
  --deep-jade-alt: #132f25;
  --deep-jade-card: #204e3d;
  --deep-jade-surface: rgba(26, 64, 50, 0.85);
  --deep-jade-glass: rgba(20, 48, 38, 0.72);

  --gold: #F2C85B;
  --gold-glow: rgba(242, 200, 91, 0.3);
  --gold-subtle: rgba(242, 200, 91, 0.12);
  --gold-border: rgba(242, 200, 91, 0.28);

  --coral: #EF7A5E;
  --coral-glow: rgba(239, 122, 94, 0.3);
  --coral-subtle: rgba(239, 122, 94, 0.12);

  --mint: #8FCBAA;
  --mint-glow: rgba(143, 203, 170, 0.3);
  --mint-subtle: rgba(143, 203, 170, 0.12);

  --cream: #F7EFE0;
  --cream-dim: rgba(247, 239, 224, 0.75);
  --cream-faint: rgba(247, 239, 224, 0.35);

  /* Fonts */
  --font-display: 'Syne', sans-serif;
  --font-body: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Elevation & Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.45);
  --shadow-gold: 0 0 30px rgba(242, 200, 91, 0.25);
  --shadow-coral: 0 0 30px rgba(239, 122, 94, 0.25);

  /* Transitions */
  --transition-fast: 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------------------------------------------------
   2. Reset & Global Styles
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

body {
  font-family: var(--font-body);
  background-color: var(--deep-jade);
  color: var(--cream);
  line-height: 1.65;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(242, 200, 91, 0.04) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(239, 122, 94, 0.04) 0%, transparent 40%);
  background-attachment: fixed;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  outline: none;
  background: none;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.section-padding {
  padding-top: 6rem;
  padding-bottom: 6rem;
  position: relative;
}

.bg-deep-jade { background-color: var(--deep-jade); }
.bg-deep-jade-alt { background-color: var(--deep-jade-alt); }

.text-gold { color: var(--gold); }
.text-coral { color: var(--coral); }
.text-mint { color: var(--mint); }
.text-cream { color: var(--cream); }

.font-syne { font-family: var(--font-display); }
.font-be-vietnam { font-family: var(--font-body); }
.font-mono { font-family: var(--font-mono); }

/* Text Gradients */
.gradient-text-gold {
  background: linear-gradient(135deg, #FFF0B8 0%, #F2C85B 50%, #D49B2A 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-coral {
  background: linear-gradient(135deg, #FFB29E 0%, #EF7A5E 50%, #C44C30 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Glassmorphism Classes */
.glass-panel {
  background: var(--deep-jade-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--gold-border);
  border-radius: 20px;
  box-shadow: var(--shadow-md);
}

.glass-card {
  background: rgba(30, 74, 59, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(242, 200, 91, 0.16);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.glass-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: var(--shadow-gold);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-weight: 600;
  border-radius: 9999px;
  transition: all var(--transition-normal);
  text-decoration: none;
  font-size: 0.95rem;
}

.btn-primary {
  background: linear-gradient(135deg, #F2C85B 0%, #E5B53D 100%);
  color: var(--deep-jade);
  box-shadow: 0 4px 18px rgba(242, 200, 91, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #FFE48F 0%, #F2C85B 100%);
  box-shadow: 0 6px 24px rgba(242, 200, 91, 0.5);
  transform: translateY(-2px);
}

.btn-outline {
  border: 1px solid var(--gold-border);
  color: var(--cream);
  background: rgba(242, 200, 91, 0.05);
}

.btn-outline:hover {
  border-color: var(--gold);
  background: rgba(242, 200, 91, 0.14);
  color: var(--gold);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.45rem 1.1rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 0.85rem 2rem;
  font-size: 1.05rem;
}

.btn-block {
  width: 100%;
}

/* --------------------------------------------------------------------------
   3. Top Announcement Bar & Header
   -------------------------------------------------------------------------- */
.announcement-bar {
  background: linear-gradient(90deg, #132f25 0%, #1c4737 50%, #132f25 100%);
  border-bottom: 1px solid var(--gold-border);
  padding: 0.35rem 1rem;
  font-size: 0.8rem;
  position: relative;
  z-index: 101;
}

.announcement-content {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.badge-cultural {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(242, 200, 91, 0.15);
  color: var(--gold);
  padding: 0.15rem 0.55rem;
  border-radius: 9999px;
  font-weight: 700;
  letter-spacing: 0.05em;
  font-size: 0.72rem;
  border: 1px solid rgba(242, 200, 91, 0.3);
  white-space: nowrap;
}

.announcement-text {
  color: var(--cream-dim);
  font-size: 0.8rem;
}

.announcement-link {
  color: var(--gold);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}

/* Site Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(18, 44, 35, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(242, 200, 91, 0.14);
  transition: all var(--transition-fast);
}

.header-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0.65rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand-logo-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-logo-box {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--deep-jade-card);
  border: 1px solid var(--gold-border);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  flex-shrink: 0;
}

.brand-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-text-box {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.1;
  color: var(--cream);
  white-space: nowrap;
}

.brand-sub {
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mint);
  font-weight: 600;
  white-space: nowrap;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.nav-item {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--cream-dim);
  padding: 0.35rem 0.2rem;
  position: relative;
  transition: color var(--transition-fast);
  white-space: nowrap;
}

.nav-item:hover {
  color: var(--gold);
}

.nav-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--gold);
  border-radius: 1px;
  transition: width var(--transition-fast);
}

.nav-item:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

/* Compact Circle Icon Button */
.icon-circle-button {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(242, 200, 91, 0.08);
  border: 1px solid var(--gold-border);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  position: relative;
  flex-shrink: 0;
}

.icon-circle-button:hover {
  background: rgba(242, 200, 91, 0.22);
  color: #fff;
  border-color: var(--gold);
  transform: translateY(-1px);
}

.icon-circle-button.sound-playing {
  animation: pulseButton 2s infinite;
  border-color: var(--gold);
  background: rgba(242, 200, 91, 0.18);
}

.icon-circle-button.muted {
  opacity: 0.6;
}

@keyframes pulseButton {
  0% { box-shadow: 0 0 0 0 rgba(242, 200, 91, 0.5); }
  70% { box-shadow: 0 0 0 7px rgba(242, 200, 91, 0); }
  100% { box-shadow: 0 0 0 0 rgba(242, 200, 91, 0); }
}

.nav-cta-btn {
  padding: 0.42rem 1.05rem;
  font-size: 0.84rem;
  gap: 0.45rem;
  white-space: nowrap;
}

.nav-cta-btn .cta-short {
  display: none;
}

/* Animated Hamburger Toggle Button */
.mobile-toggle-btn {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(242, 200, 91, 0.08);
  border: 1px solid var(--gold-border);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.mobile-toggle-btn:hover {
  background: rgba(242, 200, 91, 0.16);
  border-color: var(--gold);
}

.hamburger-bar {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--cream);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.2s ease, background-color 0.2s ease;
}

.mobile-toggle-btn.is-active .bar-1 {
  transform: translateY(7px) rotate(45deg);
  background: var(--gold);
}

.mobile-toggle-btn.is-active .bar-2 {
  opacity: 0;
  transform: scaleX(0);
}

.mobile-toggle-btn.is-active .bar-3 {
  transform: translateY(-7px) rotate(-45deg);
  background: var(--gold);
}

/* --------------------------------------------------------------------------
   Mobile Sliding Drawer & Backdrop
   -------------------------------------------------------------------------- */
.mobile-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(7, 18, 14, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 199;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.32s ease;
}

.mobile-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(360px, 86vw);
  background: rgba(18, 44, 35, 0.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-left: 1px solid var(--gold-border);
  box-shadow: -15px 0 45px rgba(0, 0, 0, 0.6);
  z-index: 200;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.mobile-drawer.is-open {
  transform: translateX(0);
}

body.drawer-open {
  overflow: hidden;
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.25rem 1rem;
  border-bottom: 1px solid rgba(242, 200, 91, 0.15);
}

.drawer-close-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(242, 200, 91, 0.08);
  border: 1px solid var(--gold-border);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.drawer-close-btn:hover {
  background: var(--coral);
  color: #fff;
  border-color: var(--coral);
  transform: rotate(90deg);
}

.mobile-drawer-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.mobile-menu-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-bottom: 0.85rem;
  text-transform: uppercase;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 1.75rem;
}

.mobile-nav-item {
  display: flex;
  align-items: center;
  padding: 0.75rem 0.95rem;
  border-radius: 12px;
  background: rgba(242, 200, 91, 0.04);
  border: 1px solid transparent;
  color: var(--cream);
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 600;
  transition: all var(--transition-fast);
}

.mobile-nav-item:hover, .mobile-nav-item:active {
  background: rgba(242, 200, 91, 0.12);
  border-color: var(--gold-border);
  color: var(--gold);
  transform: translateX(4px);
}

.nav-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--gold);
  font-weight: 700;
  margin-right: 0.85rem;
  opacity: 0.8;
}

.nav-text {
  flex-grow: 1;
}

.nav-arrow {
  color: var(--mint);
  font-size: 1rem;
  opacity: 0.7;
  transition: transform var(--transition-fast);
}

.mobile-nav-item:hover .nav-arrow {
  transform: translateX(3px);
  opacity: 1;
}

.mobile-drawer-footer {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(242, 200, 91, 0.12);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-download-btn {
  padding: 0.85rem 1.25rem;
  font-size: 0.92rem;
}

.mobile-drawer-meta {
  font-size: 0.72rem;
  color: var(--cream-dim);
  text-align: center;
}

.meta-status {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* --------------------------------------------------------------------------
   4. Hero Section
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  padding-top: 5rem;
  padding-bottom: 6rem;
  overflow: hidden;
}

.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 0;
}

.drum-watermark {
  position: absolute;
  top: -200px;
  right: -200px;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  border: 2px dashed rgba(242, 200, 91, 0.08);
  box-shadow: inset 0 0 100px rgba(242, 200, 91, 0.03);
  animation: drumSpin 120s linear infinite;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.1rem;
  border-radius: 9999px;
  background: rgba(242, 200, 91, 0.1);
  border: 1px solid var(--gold-border);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin-bottom: 1.8rem;
}

.hero-pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 10px var(--coral);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.3); }
}

/* --------------------------------------------------------------------------
   Hero Title Stage & Soaring Chim Lac Motion System
   -------------------------------------------------------------------------- */
.hero-title-stage-wrapper {
  position: relative;
  display: inline-block;
  margin: 0 auto 1.5rem;
  max-width: 1000px;
  width: 100%;
}

/* Ambient Sacred Dong Son Sun Aura */
.sacred-dong-son-sun-aura {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 720px;
  height: 380px;
  transform: translate(-50%, -50%);
  background: radial-gradient(
    ellipse at center,
    rgba(242, 200, 91, 0.22) 0%,
    rgba(239, 122, 94, 0.1) 40%,
    rgba(26, 64, 50, 0) 72%
  );
  filter: blur(28px);
  pointer-events: none;
  z-index: 0;
  animation: sacredSunBreathe 7s ease-in-out infinite alternate;
}

@keyframes sacredSunBreathe {
  0% { transform: translate(-50%, -50%) scale(0.92); opacity: 0.7; }
  100% { transform: translate(-50%, -50%) scale(1.15); opacity: 1; }
}

/* Motion Stage for Chim Lac */
.chim-lac-motion-stage {
  position: absolute;
  inset: -60px -80px;
  pointer-events: none;
  z-index: 1;
  overflow: visible;
}

.flight-lines-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.dongson-wave {
  animation: waveDrift 16s ease-in-out infinite alternate;
}

.wave-mid {
  animation-duration: 22s;
  animation-delay: -5s;
}

@keyframes waveDrift {
  0% { transform: translateX(-30px) translateY(0); }
  100% { transform: translateX(30px) translateY(-10px); }
}

.flight-trail-line {
  stroke-dasharray: 14 10;
  animation: flightTrailStream 2.5s linear infinite;
  opacity: 0.65;
}

@keyframes flightTrailStream {
  from { stroke-dashoffset: 48; }
  to { stroke-dashoffset: 0; }
}

/* Main Soaring Chim Lac (Vector Bird Entity in Motion) */
.soaring-bird-entity {
  position: absolute;
  width: 160px;
  height: 160px;
  top: 45%;
  left: 50%;
  pointer-events: none;
  filter: drop-shadow(0 0 16px rgba(242, 200, 91, 0.45));
  will-change: transform;
  animation: chimLacSkyFlight 15s cubic-bezier(0.42, 0, 0.58, 1) infinite;
}

.chim-lac-soar-svg {
  width: 100%;
  height: 100%;
  transform-origin: 40% 50%;
}

/* Wing flapping oscillation */
.lac-animated-wing-upper {
  transform-origin: 350px 300px;
  animation: wingFlapUpper 2.2s ease-in-out infinite;
}

@keyframes wingFlapUpper {
  0%, 100% { transform: rotate(0deg) scaleY(1); }
  35% { transform: rotate(-9deg) scaleY(0.88); }
  70% { transform: rotate(4deg) scaleY(1.05); }
}

.lac-animated-wing-lower {
  transform-origin: 360px 440px;
  animation: wingFlapLower 2.2s ease-in-out infinite;
}

@keyframes wingFlapLower {
  0%, 100% { transform: rotate(0deg) scaleY(1); }
  35% { transform: rotate(8deg) scaleY(0.9); }
  70% { transform: rotate(-3deg) scaleY(1.04); }
}

/* Tail feather flutter */
.lac-animated-tail {
  transform-origin: 190px 370px;
  animation: tailFlutter 3s ease-in-out infinite alternate;
}

@keyframes tailFlutter {
  0% { transform: rotate(-3deg) scale(0.96); }
  100% { transform: rotate(3deg) scale(1.03); }
}

/* Eye pulse */
.lac-eye-pulse {
  animation: eyeGlow 3s ease-in-out infinite alternate;
}

@keyframes eyeGlow {
  0% { fill: #1A4032; }
  100% { fill: #EF7A5E; filter: drop-shadow(0 0 6px #EF7A5E); }
}

/* S-Curve Sky Flight Trajectory Across the Title */
@keyframes chimLacSkyFlight {
  0% {
    transform: translate(-380px, 90px) rotate(16deg) scale(0.85);
  }
  20% {
    transform: translate(-140px, -45px) rotate(6deg) scale(1.02);
  }
  40% {
    transform: translate(120px, -80px) rotate(-8deg) scale(1.1);
  }
  60% {
    transform: translate(320px, -15px) rotate(10deg) scale(0.98);
  }
  80% {
    transform: translate(160px, 95px) rotate(-14deg) scale(0.88);
  }
  100% {
    transform: translate(-380px, 90px) rotate(16deg) scale(0.85);
  }
}

/* Companion Birds */
.companion-bird {
  position: absolute;
  pointer-events: none;
  filter: drop-shadow(0 0 8px rgba(242, 200, 91, 0.3));
}

.bird-echo-1 {
  top: 15%;
  left: 55%;
  animation: companionFly1 19s cubic-bezier(0.42, 0, 0.58, 1) infinite;
}

@keyframes companionFly1 {
  0% { transform: translate(-320px, -40px) rotate(12deg) scale(0.7); }
  50% { transform: translate(260px, -100px) rotate(-6deg) scale(0.85); }
  100% { transform: translate(-320px, -40px) rotate(12deg) scale(0.7); }
}

.bird-echo-2 {
  top: 70%;
  left: 45%;
  animation: companionFly2 24s cubic-bezier(0.42, 0, 0.58, 1) infinite;
}

@keyframes companionFly2 {
  0% { transform: translate(280px, 40px) rotate(-12deg) scale(0.6); }
  50% { transform: translate(-280px, -30px) rotate(8deg) scale(0.75); }
  100% { transform: translate(280px, 40px) rotate(-12deg) scale(0.6); }
}

/* Hero Heading Layout & Kinetic Shimmer */
.hero-heading {
  position: relative;
  z-index: 2;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5.5vw, 4.4rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.heading-phrase {
  display: inline-block;
  position: relative;
}

/* Kinetic Shimmer on Text */
.kinetic-gold {
  background: linear-gradient(
    115deg,
    #F2C85B 0%,
    #FFF6DC 30%,
    #F2C85B 50%,
    #D49B2A 70%,
    #FFF6DC 85%,
    #F2C85B 100%
  );
  background-size: 250% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: textGoldShine 6s ease-in-out infinite;
  display: inline-block;
}

@keyframes textGoldShine {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.kinetic-coral {
  background: linear-gradient(
    115deg,
    #EF7A5E 0%,
    #FFC9BC 30%,
    #EF7A5E 50%,
    #C44C30 70%,
    #FFC9BC 85%,
    #EF7A5E 100%
  );
  background-size: 250% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: textCoralShine 6s ease-in-out infinite;
  display: inline-block;
}

@keyframes textCoralShine {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero-lead {
  max-width: 820px;
  margin: 0 auto 2.5rem;
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: var(--cream-dim);
  line-height: 1.7;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-bottom: 4rem;
}

/* Hero Artwork Card */
.hero-artwork-card {
  max-width: 1040px;
  margin: 0 auto;
  overflow: hidden;
  text-align: left;
}

.hero-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.5rem;
  background: rgba(19, 47, 37, 0.8);
  border-bottom: 1px solid var(--gold-border);
}

.window-dots {
  display: flex;
  gap: 6px;
}

.dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}
.dot-coral { background: var(--coral); }
.dot-gold { background: var(--gold); }
.dot-mint { background: var(--mint); }

.window-title {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--cream-dim);
}

.window-tag {
  font-size: 0.75rem;
  color: var(--gold);
  background: rgba(242, 200, 91, 0.12);
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
}

.hero-card-body {
  position: relative;
  background: #0f241c;
}

.hero-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.hero-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.hero-artwork-card:hover .hero-banner-img {
  transform: scale(1.02);
}

.hero-floating-logo {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  width: 120px;
  height: 120px;
  padding: 10px;
  background: rgba(26, 64, 50, 0.9);
  backdrop-filter: blur(12px);
  border: 1px solid var(--gold);
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(242, 200, 91, 0.3);
  animation: birdFloat 6s ease-in-out infinite;
}

@keyframes birdFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.floating-badge-svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 1.2rem 1.5rem;
  background: rgba(19, 47, 37, 0.7);
  border-top: 1px solid var(--gold-border);
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gold);
}

.stat-desc {
  font-size: 0.8rem;
  color: var(--cream-dim);
}

.hero-stat-divider {
  width: 1px;
  height: 32px;
  background: rgba(242, 200, 91, 0.2);
}

/* --------------------------------------------------------------------------
   5. Section Header Component
   -------------------------------------------------------------------------- */
.section-header {
  max-width: 800px;
  margin: 0 auto 3.5rem;
}

.section-header.text-center {
  text-align: center;
}

.section-subtitle {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--cream);
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--cream-dim);
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   6. Section 1: Triết Lý Cốt Lõi (Philosophy Grid)
   -------------------------------------------------------------------------- */
.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.pillar-card {
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
}

.pillar-icon-box {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.bg-gold-subtle { background: var(--gold-subtle); border: 1px solid rgba(242, 200, 91, 0.25); }
.bg-coral-subtle { background: var(--coral-subtle); border: 1px solid rgba(239, 122, 94, 0.25); }
.bg-mint-subtle { background: var(--mint-subtle); border: 1px solid rgba(143, 203, 170, 0.25); }

.pillar-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 1rem;
}

.pillar-text {
  font-size: 0.95rem;
  color: var(--cream-dim);
  line-height: 1.7;
  flex-grow: 1;
  margin-bottom: 1.5rem;
}

.pillar-tag {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--gold);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   7. Section 2: Phân Tích Biểu Tượng Chim Lạc (Symbolism)
   -------------------------------------------------------------------------- */
.symbolism-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.symbolism-viewer {
  padding: 1.5rem;
}

.viewer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.2rem;
}

.viewer-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--gold);
  text-transform: uppercase;
  font-weight: 700;
}

.viewer-hint {
  font-size: 0.78rem;
  color: var(--cream-dim);
}

.viewer-canvas-wrap {
  background: #112820;
  border: 1px solid var(--gold-border);
  border-radius: 16px;
  overflow: hidden;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.anatomy-svg-container {
  position: relative;
  width: 100%;
  max-width: 440px;
  aspect-ratio: 1 / 1;
}

.anatomy-svg {
  width: 100%;
  height: 100%;
  border-radius: 20px;
}

.anatomy-part {
  transition: opacity 0.3s ease, filter 0.3s ease;
  cursor: pointer;
}

.anatomy-part:hover {
  filter: drop-shadow(0 0 12px var(--gold));
}

.hotspot-pin {
  position: absolute;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--deep-jade);
  font-weight: 800;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px rgba(242, 200, 91, 0.7);
  cursor: pointer;
  transform: translate(-50%, -50%);
  transition: transform var(--transition-fast), background-color var(--transition-fast);
  z-index: 10;
}

.hotspot-pin:hover, .hotspot-pin.active {
  transform: translate(-50%, -50%) scale(1.3);
  background: #fff;
  box-shadow: 0 0 20px var(--coral);
}

.viewer-actions {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.symbolism-details {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.anatomy-card {
  padding: 1.5rem;
  background: rgba(26, 64, 50, 0.4);
  border: 1px solid rgba(242, 200, 91, 0.15);
  border-radius: 14px;
  transition: all var(--transition-normal);
  cursor: pointer;
}

.anatomy-card:hover {
  border-color: var(--gold-border);
  background: rgba(26, 64, 50, 0.7);
}

.anatomy-card.active {
  border-color: var(--gold);
  background: rgba(30, 74, 59, 0.8);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), var(--shadow-gold);
  transform: translateX(6px);
}

.anatomy-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  margin-bottom: 0.75rem;
}

.badge-coral { background: var(--coral-subtle); color: var(--coral); border: 1px solid rgba(239, 122, 94, 0.3); }
.badge-cream { background: rgba(247, 239, 224, 0.15); color: var(--cream); border: 1px solid rgba(247, 239, 224, 0.3); }
.badge-gold  { background: var(--gold-subtle); color: var(--gold); border: 1px solid rgba(242, 200, 91, 0.3); }
.badge-mint  { background: var(--mint-subtle); color: var(--mint); border: 1px solid rgba(143, 203, 170, 0.3); }

.anatomy-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--cream);
  margin-bottom: 0.5rem;
}

.anatomy-body {
  font-size: 0.9rem;
  color: var(--cream-dim);
  line-height: 1.65;
}

.anatomy-body code {
  font-family: var(--font-mono);
  background: rgba(0, 0, 0, 0.3);
  padding: 0.15rem 0.35rem;
  border-radius: 4px;
  color: var(--gold);
  font-size: 0.85em;
}

/* --------------------------------------------------------------------------
   8. Section 3: Vũ Trụ Trống Đồng Đông Sơn (Interactive Drum)
   -------------------------------------------------------------------------- */
.drum-interactive-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  padding: 2.5rem;
  align-items: center;
}

.drum-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn-group {
  display: flex;
  gap: 0.5rem;
}

.btn-group .btn.active {
  background: var(--gold);
  color: var(--deep-jade);
  border-color: var(--gold);
  font-weight: 700;
}

.ring-status-pill {
  font-size: 0.82rem;
  color: var(--cream-dim);
  background: rgba(0, 0, 0, 0.25);
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  border: 1px solid var(--gold-border);
}

.drum-svg-wrapper {
  position: relative;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  aspect-ratio: 1 / 1;
  filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.6));
  cursor: grab;
  transition: transform 0.2s ease-out;
}

.dongson-drum-svg {
  width: 100%;
  height: 100%;
  transform-origin: 50% 50%;
}

.dongson-drum-svg.spinning {
  animation: drumSpin 60s linear infinite;
}

.dongson-drum-svg.glow-mode {
  filter: drop-shadow(0 0 25px rgba(242, 200, 91, 0.6));
}

@keyframes drumSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.drum-ring-group {
  cursor: pointer;
  transition: stroke 0.2s ease, opacity 0.2s ease, filter 0.2s ease;
}

.drum-ring-group:hover, .drum-ring-group.active {
  filter: url(#drumGoldGlow) drop-shadow(0 0 10px #F2C85B);
  opacity: 1 !important;
}

.drum-tip {
  margin-top: 1.2rem;
  font-size: 0.82rem;
  color: var(--cream-dim);
}

.pulse-indicator {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  margin-right: 4px;
  animation: pulseDot 1.5s infinite;
}

/* Drum Info Details */
.ring-card-details {
  padding: 2.2rem;
}

.ring-detail-header {
  border-bottom: 1px solid var(--gold-border);
  padding-bottom: 1.25rem;
  margin-bottom: 1.5rem;
}

.ring-number-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold);
  background: var(--gold-subtle);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  border: 1px solid rgba(242, 200, 91, 0.3);
  margin-bottom: 0.75rem;
}

.ring-detail-title {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--cream);
  line-height: 1.2;
  margin-bottom: 0.4rem;
}

.ring-role-tag {
  font-size: 0.9rem;
  color: var(--mint);
  font-weight: 500;
}

.ring-detail-content p {
  font-size: 0.98rem;
  color: var(--cream-dim);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.ring-sdlc-mapping {
  background: rgba(19, 47, 37, 0.6);
  border: 1px solid rgba(242, 200, 91, 0.15);
  border-radius: 12px;
  padding: 1.2rem;
  margin-bottom: 1.5rem;
}

.mapping-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.mapping-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.mapping-list li {
  font-size: 0.88rem;
  color: var(--cream);
  line-height: 1.5;
  position: relative;
  padding-left: 1.2rem;
}

.mapping-list li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 0.75rem;
  top: 1px;
}

.ring-tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.tech-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  background: rgba(0, 0, 0, 0.35);
  color: var(--cream);
  padding: 0.3rem 0.65rem;
  border-radius: 6px;
  border: 1px solid rgba(242, 200, 91, 0.2);
}

.ring-quick-nav {
  border-top: 1px solid rgba(242, 200, 91, 0.12);
  padding-top: 1.25rem;
}

.quick-nav-label {
  display: block;
  font-size: 0.78rem;
  color: var(--cream-dim);
  margin-bottom: 0.75rem;
}

.ring-pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.ring-pill {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  background: rgba(242, 200, 91, 0.07);
  color: var(--cream-dim);
  border: 1px solid rgba(242, 200, 91, 0.15);
  transition: all var(--transition-fast);
}

.ring-pill:hover, .ring-pill.active {
  background: var(--gold);
  color: var(--deep-jade);
  border-color: var(--gold);
}

/* --------------------------------------------------------------------------
   9. Section 4: Hệ Thống Bảng Màu (Color Swatches Grid)
   -------------------------------------------------------------------------- */
.color-palette-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.color-swatch-card {
  background: rgba(26, 64, 50, 0.5);
  border: 1px solid rgba(242, 200, 91, 0.18);
  border-radius: 16px;
  overflow: hidden;
  transition: all var(--transition-normal);
  cursor: pointer;
  position: relative;
}

.color-swatch-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.swatch-preview {
  height: 140px;
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 1rem;
}

.contrast-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.2rem 0.45rem;
  border-radius: 4px;
}

.contrast-tag.light-tag {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.contrast-tag.dark-tag {
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
}

.copy-swatch-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.3);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.copy-swatch-btn:hover {
  background: #fff;
  color: var(--deep-jade);
  transform: scale(1.1);
}

.swatch-info {
  padding: 1.25rem;
}

.swatch-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.3rem;
}

.swatch-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--cream);
}

.swatch-hex {
  font-size: 0.85rem;
  color: var(--gold);
  font-weight: 700;
}

.swatch-vn-name {
  font-size: 0.82rem;
  color: var(--mint);
  margin-bottom: 0.75rem;
  font-weight: 500;
}

.swatch-meta {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin-bottom: 0.85rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(242, 200, 91, 0.1);
}

.meta-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--cream-dim);
}

.swatch-role {
  font-size: 0.82rem;
  color: var(--cream-dim);
  line-height: 1.5;
}

.swatch-role strong {
  color: var(--cream);
}

/* Code Export Box */
.code-export-box {
  overflow: hidden;
  max-width: 900px;
  margin: 3rem auto 0;
}

.code-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
  background: rgba(19, 47, 37, 0.9);
  border-bottom: 1px solid var(--gold-border);
  flex-wrap: wrap;
  gap: 0.75rem;
}

.code-tabs {
  display: flex;
  gap: 0.5rem;
}

.code-tab {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--cream-dim);
  padding: 0.4rem 0.85rem;
  border-radius: 6px;
  transition: all var(--transition-fast);
}

.code-tab.active {
  background: var(--gold);
  color: var(--deep-jade);
}

.code-body {
  padding: 1.5rem;
  background: #0f241c;
  overflow-x: auto;
}

.code-body pre {
  color: var(--mint);
}

/* --------------------------------------------------------------------------
   10. Section 5: Hệ Thống Typography
   -------------------------------------------------------------------------- */
.typography-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.type-card {
  padding: 2.2rem;
  position: relative;
}

.type-card-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--gold);
  background: var(--gold-subtle);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  border: 1px solid rgba(242, 200, 91, 0.25);
  margin-bottom: 1rem;
}

.type-font-name {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--cream);
  margin-bottom: 0.25rem;
}

.type-font-meta {
  font-size: 0.82rem;
  color: var(--mint);
  margin-bottom: 1.5rem;
}

.type-sample-display {
  font-size: 1.45rem;
  line-height: 1.35;
  color: var(--gold);
  padding: 1.25rem;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 12px;
  border: 1px dashed rgba(242, 200, 91, 0.25);
  margin-bottom: 1.25rem;
}

.type-font-usage {
  font-size: 0.9rem;
  color: var(--cream-dim);
  line-height: 1.6;
}

/* Type Playground */
.type-playground {
  padding: 2rem;
  max-width: 1040px;
  margin: 3rem auto 0;
}

.playground-controls {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
  align-items: center;
}

.control-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.control-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gold);
}

.type-text-input {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--gold-border);
  border-radius: 10px;
  color: var(--cream);
  font-size: 0.95rem;
}

.type-text-input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 10px rgba(242, 200, 91, 0.3);
}

.type-slider {
  width: 100%;
  accent-color: var(--gold);
}

.playground-preview {
  padding: 2.5rem;
  background: rgba(15, 36, 28, 0.8);
  border: 1px solid rgba(242, 200, 91, 0.2);
  border-radius: 14px;
  overflow-x: auto;
}

.live-preview-text {
  color: var(--cream);
  line-height: 1.25;
  transition: font-size 0.1s ease;
  word-break: break-word;
}

/* --------------------------------------------------------------------------
   11. Section 6: Quy Chuẩn Sử Dụng (Logo Guidelines)
   -------------------------------------------------------------------------- */
.guideline-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.guideline-card {
  padding: 2.2rem;
}

.guideline-card-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 0.75rem;
}

.guideline-card-desc {
  font-size: 0.92rem;
  color: var(--cream-dim);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.clearspace-visual-box {
  background: #112820;
  border: 1px solid var(--gold-border);
  border-radius: 14px;
  padding: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.clearspace-boundary {
  position: relative;
  border: 2px dashed var(--gold);
  padding: 2.2rem;
  background: rgba(242, 200, 91, 0.05);
}

.clearspace-img {
  width: 140px;
  height: 140px;
}

.dim-label {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--gold);
}

.top-label { top: 0.5rem; left: 50%; transform: translateX(-50%); }
.bottom-label { bottom: 0.5rem; left: 50%; transform: translateX(-50%); }
.left-label { left: 0.6rem; top: 50%; transform: translateY(-50%); }
.right-label { right: 0.6rem; top: 50%; transform: translateY(-50%); }

.size-specs {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  border-top: 1px solid rgba(242, 200, 91, 0.15);
  padding-top: 1rem;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  color: var(--cream-dim);
}

.spec-row strong {
  color: var(--gold);
  font-family: var(--font-mono);
}

/* Variations Grid */
.variations-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.var-box {
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.85rem;
  border: 1px solid rgba(242, 200, 91, 0.15);
}

.var-box img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.var-box span {
  font-size: 0.78rem;
  font-weight: 600;
}

.var-dark { background: #1A4032; color: var(--cream); }
.var-cream { background: #F7EFE0; color: #1A4032; }
.var-gold { background: #261D08; color: var(--gold); border-color: var(--gold); }
.var-mono { background: #000; color: #fff; }

/* Do's and Don'ts */
.dodont-section {
  max-width: 1040px;
  margin: 3.5rem auto 0;
}

.dodont-main-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--cream);
  margin-bottom: 2rem;
}

.dodont-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.dodont-card {
  padding: 2rem;
}

.dodont-header {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  margin-bottom: 1.25rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dodont-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.dodont-list li {
  font-size: 0.92rem;
  color: var(--cream-dim);
  line-height: 1.6;
  position: relative;
  padding-left: 1.5rem;
}

.do-card .dodont-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--mint);
  font-weight: 800;
}

.dont-card .dodont-list li::before {
  content: '✕';
  position: absolute;
  left: 0;
  color: var(--coral);
  font-weight: 800;
}

/* --------------------------------------------------------------------------
   12. Section 7: Ứng Dụng Thực Tế (Mockups)
   -------------------------------------------------------------------------- */
.mockup-tabs-container {
  max-width: 1040px;
  margin: 0 auto;
}

.mockup-nav-tabs {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.mockup-tab-btn {
  padding: 0.6rem 1.4rem;
  border-radius: 9999px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--cream-dim);
  background: rgba(242, 200, 91, 0.06);
  border: 1px solid rgba(242, 200, 91, 0.18);
  transition: all var(--transition-fast);
}

.mockup-tab-btn.active, .mockup-tab-btn:hover {
  background: var(--gold);
  color: var(--deep-jade);
  border-color: var(--gold);
}

.mockup-content-panel {
  display: none;
}

.mockup-content-panel.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Dashboard Mockup */
.dashboard-mockup {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.dash-topbar {
  background: #112820;
  border-bottom: 1px solid var(--gold-border);
  padding: 0.85rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.dash-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.95rem;
}

.dash-tenant-badge {
  font-size: 0.8rem;
  background: rgba(242, 200, 91, 0.15);
  color: var(--gold);
  padding: 0.25rem 0.75rem;
  border-radius: 6px;
}

.dash-user-avatar {
  font-size: 0.8rem;
  color: var(--cream-dim);
}

.dash-body {
  display: grid;
  grid-template-columns: 220px 1fr;
  min-height: 280px;
}

.dash-sidebar {
  background: #0f241c;
  border-right: 1px solid rgba(242, 200, 91, 0.1);
  padding: 1rem 0;
  display: flex;
  flex-direction: column;
}

.dash-nav-link {
  padding: 0.75rem 1.5rem;
  font-size: 0.85rem;
  color: var(--cream-dim);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.dash-nav-link.active, .dash-nav-link:hover {
  background: rgba(242, 200, 91, 0.1);
  color: var(--gold);
  border-left: 3px solid var(--gold);
}

.dash-main {
  padding: 2rem;
  background: #153328;
}

.dash-project-card {
  padding: 1.5rem;
}

.dash-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.badge-gate {
  font-size: 0.75rem;
  background: rgba(143, 203, 170, 0.2);
  color: var(--mint);
  border: 1px solid var(--mint);
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  font-weight: 600;
}

.progress-bar-wrap {
  height: 8px;
  background: rgba(0, 0, 0, 0.35);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 1.25rem;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #F2C85B 0%, #EF7A5E 100%);
  border-radius: 4px;
}

.dash-stats-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--cream-dim);
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* Terminal Mockup */
.terminal-mockup {
  background: #0b1c15;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.terminal-header {
  background: #112820;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(242, 200, 91, 0.15);
}

.t-dot { width: 10px; height: 10px; border-radius: 50%; }
.t-red { background: #ff5f56; }
.t-yellow { background: #ffbd2e; }
.t-green { background: #27c93f; }

.t-title {
  margin-left: 0.5rem;
  font-size: 0.78rem;
  color: var(--cream-dim);
}

.terminal-body {
  padding: 1.5rem;
  font-size: 0.88rem;
  line-height: 1.65;
}

.cli-line { margin-bottom: 0.5rem; }
.cli-output pre {
  font-size: 0.75rem;
  line-height: 1.15;
  margin: 0.75rem 0;
  overflow-x: auto;
}

.blink-cursor {
  animation: blink 1s step-end infinite;
}

@keyframes blink { 50% { opacity: 0.4; } }

/* Business Card Mockup */
.card-mockup-wrapper {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  perspective: 1000px;
}

.business-card {
  width: 420px;
  height: 240px;
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6);
  border: 1px solid var(--gold-border);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.business-card:hover {
  transform: rotateY(8deg) rotateX(4deg) translateY(-8px);
}

.card-front {
  background: linear-gradient(135deg, #1A4032 0%, #112920 100%);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-drum-pattern {
  position: absolute;
  top: -80px;
  right: -80px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  border: 1px dashed rgba(242, 200, 91, 0.2);
  pointer-events: none;
}

.card-logo-area {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.card-brand-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--gold);
}

.card-person-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--cream);
}

.card-person-title {
  font-size: 0.8rem;
  color: var(--mint);
  margin-bottom: 0.4rem;
}

.card-contact {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--cream-dim);
}

.card-back {
  background: #112820;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.card-gold-seal {
  margin-bottom: 1.2rem;
  filter: drop-shadow(0 0 15px rgba(242, 200, 91, 0.4));
}

.card-slogan {
  font-family: var(--font-display);
  font-size: 0.88rem;
  color: var(--gold);
  font-style: italic;
}

/* Merch Showcase Grid */
.merch-showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.merch-item {
  padding: 2rem;
}

.merch-preview-box {
  height: 200px;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  position: relative;
  overflow: hidden;
}

.tshirt-silhouette {
  width: 140px;
  height: 140px;
  background: #1A4032;
  border-radius: 12px;
  border: 1px solid var(--gold-border);
  display: flex;
  align-items: center;
  justify-content: center;
}

.tshirt-print {
  width: 60px;
  height: 60px;
}

.badge-silhouette {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: radial-gradient(circle, #F2C85B 0%, #B8861E 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.badge-print {
  width: 50px;
  height: 50px;
}

.cup-silhouette {
  width: 100px;
  height: 120px;
  background: #1e4a3b;
  border-radius: 8px 8px 24px 24px;
  border: 2px solid var(--gold-border);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cup-brand {
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: 0.1em;
}

.merch-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--cream);
  margin-bottom: 0.4rem;
}

.merch-desc {
  font-size: 0.85rem;
  color: var(--cream-dim);
}

/* --------------------------------------------------------------------------
   13. Section 8: Tải Brand Kit
   -------------------------------------------------------------------------- */
.brand-kit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.kit-card {
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
}

.kit-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.kit-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 0.6rem;
}

.kit-desc {
  font-size: 0.9rem;
  color: var(--cream-dim);
  line-height: 1.6;
  flex-grow: 1;
  margin-bottom: 1.25rem;
}

.kit-meta {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--mint);
  margin-bottom: 1.5rem;
}

.svg-inline-copy {
  padding: 1.5rem 2rem;
  max-width: 900px;
  margin: 3rem auto 0;
}

.inline-copy-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

/* --------------------------------------------------------------------------
   14. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: #0f241c;
  border-top: 1px solid var(--gold-border);
  padding: 5rem 0 2rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-mission {
  font-size: 0.9rem;
  color: var(--cream-dim);
  line-height: 1.7;
  margin-top: 1rem;
  max-width: 420px;
}

.footer-col-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.footer-links-col {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links-col a {
  font-size: 0.88rem;
  color: var(--cream-dim);
}

.footer-links-col a:hover {
  color: var(--gold);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid rgba(242, 200, 91, 0.1);
  font-size: 0.82rem;
  color: var(--cream-dim);
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-cloudflare-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(242, 200, 91, 0.08);
  border: 1px solid var(--gold-border);
  padding: 0.3rem 0.75rem;
  border-radius: 9999px;
}

.cf-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint);
  margin-right: 0.5rem;
  box-shadow: 0 0 8px var(--mint);
}

/* --------------------------------------------------------------------------
   15. Toast Notifications
   -------------------------------------------------------------------------- */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  background: #112920;
  border: 1px solid var(--gold);
  color: var(--cream);
  padding: 0.85rem 1.25rem;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5), 0 0 15px rgba(242, 200, 91, 0.3);
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  animation: slideToastIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideToastIn {
  from { opacity: 0; transform: translateY(20px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.toast.fade-out {
  animation: fadeToastOut 0.3s forwards;
}

@keyframes fadeToastOut {
  to { opacity: 0; transform: translateY(-10px); }
}

/* --------------------------------------------------------------------------
   16. Responsive Breakpoints & Mobile Optimization
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .symbolism-layout {
    grid-template-columns: 1fr;
  }

  .drum-interactive-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .guideline-columns {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  /* Hide desktop-only elements */
  .desktop-nav {
    display: none;
  }

  .desktop-only {
    display: none !important;
  }

  /* Show mobile hamburger toggle */
  .mobile-toggle-btn {
    display: flex;
  }

  /* Header compact mobile tweaks */
  .header-container {
    padding: 0.5rem 1rem;
  }

  .brand-logo-box {
    width: 34px;
    height: 34px;
  }

  .brand-title {
    font-size: 1.05rem;
  }

  .brand-sub {
    font-size: 0.62rem;
  }

  .nav-cta-btn {
    padding: 0.38rem 0.8rem;
    font-size: 0.78rem;
  }

  .nav-cta-btn .cta-full {
    display: none;
  }

  .nav-cta-btn .cta-short {
    display: inline;
  }

  /* Section Paddings & Headers */
  .section-padding {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }

  .section-header {
    margin-bottom: 2.2rem;
  }

  .section-title {
    font-size: clamp(1.6rem, 6.5vw, 2.2rem);
  }

  .section-desc {
    font-size: 0.92rem;
    line-height: 1.6;
  }

  /* Hero Section Mobile */
  .hero-section {
    padding-top: 2.5rem;
    padding-bottom: 3.5rem;
  }

  .hero-title-stage-wrapper {
    margin-bottom: 1rem;
  }

  .sacred-dong-son-sun-aura {
    width: 320px;
    height: 220px;
  }

  .chim-lac-motion-stage {
    inset: -20px -20px;
  }

  .soaring-bird-entity {
    width: 95px;
    height: 95px;
  }

  .companion-bird {
    display: none;
  }

  .hero-heading {
    font-size: clamp(1.85rem, 7.5vw, 2.6rem);
    margin-bottom: 0.85rem;
  }

  .hero-lead {
    font-size: 0.94rem;
    line-height: 1.6;
    margin-bottom: 1.75rem;
  }

  .hero-cta-group {
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
    margin-bottom: 2.5rem;
  }

  .hero-cta-group .btn {
    width: 100%;
  }

  .hero-floating-logo {
    width: 64px;
    height: 64px;
    bottom: 0.75rem;
    right: 0.75rem;
    padding: 6px;
    border-radius: 14px;
  }

  .hero-card-header {
    padding: 0.65rem 1rem;
  }

  .window-title {
    font-size: 0.72rem;
  }

  .window-tag {
    font-size: 0.68rem;
  }

  .hero-card-footer {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.65rem;
    padding: 0.85rem 1rem;
  }

  .hero-stat-divider {
    display: none;
  }

  .hero-stat-item {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }

  .stat-number {
    font-size: 1rem;
  }

  .stat-desc {
    font-size: 0.75rem;
  }

  /* Philosophy Cards */
  .philosophy-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .pillar-card {
    padding: 1.75rem 1.25rem;
  }

  /* Symbolism Anatomy */
  .symbolism-viewer {
    padding: 1rem;
  }

  .viewer-canvas-wrap {
    padding: 0.75rem;
  }

  .hotspot-pin {
    width: 28px;
    height: 28px;
    font-size: 0.75rem;
  }

  .viewer-actions {
    flex-direction: column;
  }

  .viewer-actions .btn {
    width: 100%;
  }

  .anatomy-card {
    padding: 1.15rem;
  }

  .anatomy-title {
    font-size: 1.05rem;
  }

  .anatomy-body {
    font-size: 0.85rem;
  }

  /* Drum Interactive Mobile */
  .drum-interactive-container {
    padding: 1.25rem 0.85rem;
  }

  .drum-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
  }

  .btn-group {
    display: flex;
    gap: 0.35rem;
  }

  .btn-group .btn {
    flex: 1;
    padding: 0.45rem 0.35rem;
    font-size: 0.75rem;
    text-align: center;
  }

  .ring-status-pill {
    text-align: center;
    font-size: 0.75rem;
  }

  .drum-svg-wrapper {
    max-width: 320px;
  }

  .ring-card-details {
    padding: 1.25rem 1rem;
  }

  .ring-detail-title {
    font-size: 1.35rem;
  }

  .ring-detail-content p {
    font-size: 0.88rem;
  }

  .ring-sdlc-mapping {
    padding: 1rem;
  }

  .mapping-list li {
    font-size: 0.82rem;
  }

  .ring-pill-list {
    gap: 0.35rem;
  }

  .ring-pill {
    padding: 0.3rem 0.6rem;
    font-size: 0.72rem;
  }

  /* Color Palette Mobile (2 columns) */
  .color-palette-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
  }

  .swatch-preview {
    height: 95px;
    padding: 0.65rem;
  }

  .swatch-info {
    padding: 0.85rem;
  }

  .swatch-title {
    font-size: 0.95rem;
  }

  .swatch-vn-name {
    font-size: 0.75rem;
    margin-bottom: 0.4rem;
  }

  .swatch-hex {
    font-size: 0.75rem;
  }

  .swatch-meta {
    margin-bottom: 0.4rem;
    padding-bottom: 0.4rem;
  }

  .meta-label {
    font-size: 0.65rem;
  }

  .swatch-role {
    display: none;
  }

  /* Code Export Box Mobile */
  .code-header {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
  }

  .code-tabs {
    display: flex;
    justify-content: space-between;
  }

  .code-tab {
    flex: 1;
    text-align: center;
    font-size: 0.75rem;
    padding: 0.4rem 0.2rem;
  }

  .code-body {
    padding: 1rem;
    font-size: 0.78rem;
  }

  /* Typography Playground Mobile */
  .type-playground {
    padding: 1.25rem;
  }

  .playground-controls {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .type-sample-display {
    font-size: 1.15rem;
    padding: 0.85rem;
  }

  .playground-preview {
    padding: 1.25rem;
  }

  .live-preview-text {
    font-size: clamp(1.2rem, 5vw, 2rem) !important;
  }

  /* Guidelines Mobile */
  .guideline-card {
    padding: 1.5rem 1rem;
  }

  .clearspace-visual-box {
    padding: 1.5rem 0.85rem;
  }

  .clearspace-boundary {
    padding: 1.25rem;
  }

  .clearspace-img {
    width: 90px;
    height: 90px;
  }

  .variations-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
  }

  .var-box {
    padding: 0.85rem 0.5rem;
  }

  .var-box img {
    width: 44px;
    height: 44px;
  }

  .var-box span {
    font-size: 0.72rem;
  }

  .dodont-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .dodont-card {
    padding: 1.25rem;
  }

  .dodont-list li {
    font-size: 0.85rem;
  }

  /* Mockups Mobile */
  .mockup-nav-tabs {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 0.65rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .mockup-nav-tabs::-webkit-scrollbar {
    display: none;
  }

  .mockup-tab-btn {
    flex-shrink: 0;
    padding: 0.45rem 1rem;
    font-size: 0.82rem;
  }

  .dash-body {
    grid-template-columns: 1fr;
  }

  .dash-sidebar {
    border-right: none;
    border-bottom: 1px solid rgba(242, 200, 91, 0.1);
    flex-direction: row;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .dash-nav-link {
    white-space: nowrap;
    padding: 0.5rem 1rem;
    border-left: none !important;
  }

  .dash-main {
    padding: 1.25rem;
  }

  .card-mockup-wrapper {
    gap: 1.5rem;
  }

  .business-card {
    width: 100%;
    max-width: 320px;
    height: 185px;
    padding: 1.25rem;
  }

  .card-person-name {
    font-size: 1rem;
  }

  .card-brand-name {
    font-size: 1rem;
  }

  .terminal-body {
    padding: 1rem;
    font-size: 0.75rem;
  }

  .cli-output pre {
    font-size: 0.6rem;
  }

  /* Brand Kit Mobile */
  .brand-kit-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .kit-card {
    padding: 1.5rem 1.25rem;
  }

  .svg-inline-copy {
    padding: 1.25rem;
  }

  .inline-copy-header {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .inline-copy-header .btn {
    width: 100%;
  }

  /* Footer Mobile */
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2.5rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.85rem;
  }

  /* Toast Mobile */
  .toast-container {
    left: 1rem;
    right: 1rem;
    bottom: 1.25rem;
    align-items: center;
  }

  .toast {
    width: 100%;
    max-width: 380px;
    justify-content: center;
    font-size: 0.82rem;
  }
}

@media (max-width: 420px) {
  .color-palette-grid {
    grid-template-columns: 1fr;
  }

  .brand-title {
    font-size: 0.95rem;
  }

  .brand-sub {
    display: none;
  }

  .header-actions {
    gap: 0.4rem;
  }

  .icon-circle-button {
    width: 32px;
    height: 32px;
  }
}

/* --------------------------------------------------------------------------
   17. Flying Chim Lac Cursor Companion & Mouse Dynamics
   -------------------------------------------------------------------------- */
/* Ambient Spotlight following the mouse cursor across the page */
.cursor-spotlight {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  background: radial-gradient(
    650px circle at var(--mouse-x, -500px) var(--mouse-y, -500px),
    rgba(242, 200, 91, 0.055) 0%,
    rgba(239, 122, 94, 0.02) 40%,
    transparent 70%
  );
  transition: opacity 0.4s ease;
}

/* Precision Focal Point at Exact Mouse Coordinates */
.cursor-focal-point {
  position: fixed;
  top: 0;
  left: 0;
  width: 5px;
  height: 5px;
  background: var(--gold);
  transform: translate(-50%, -50%) rotate(45deg);
  border-radius: 1px;
  pointer-events: none;
  z-index: 99997;
  box-shadow: 0 0 6px var(--gold), 0 0 12px rgba(242, 200, 91, 0.8);
  transition: background-color 0.2s ease, opacity 0.3s ease;
  will-change: transform;
}

.cursor-focal-point.is-hovering {
  transform: translate(-50%, -50%) rotate(45deg) scale(1.6);
  background: #FFF4D0;
  box-shadow: 0 0 8px #FFF4D0, 0 0 16px var(--coral);
}

/* Golden Orbit Ring around Mouse Center */
.cursor-orbit-ring {
  position: fixed;
  top: 0;
  left: 0;
  width: 76px; /* 2 * 38px radius */
  height: 76px;
  border-radius: 50%;
  border: 1px dashed rgba(242, 200, 91, 0.32);
  box-shadow: 0 0 10px rgba(242, 200, 91, 0.12), inset 0 0 8px rgba(242, 200, 91, 0.08);
  pointer-events: none;
  z-index: 99995;
  transform: translate(-50%, -50%);
  will-change: transform;
  transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1), 
              height 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.3s ease,
              opacity 0.3s ease;
}

.cursor-orbit-ring.is-hovering {
  width: 100px; /* 2 * 50px radius */
  height: 100px;
  border: 1px solid rgba(242, 200, 91, 0.65);
  box-shadow: 0 0 16px rgba(242, 200, 91, 0.35), inset 0 0 12px rgba(242, 200, 91, 0.2);
}

/* The 3 Flying Chim Lac Birds in Orbit */
.cursor-chim-lac {
  position: fixed;
  top: 0;
  left: 0;
  width: 36px;
  height: 36px;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  will-change: transform;
  transition: opacity 0.3s ease;
  filter: drop-shadow(0 0 10px rgba(242, 200, 91, 0.75));
}

.cursor-bird-svg {
  width: 100%;
  height: 100%;
  transform-origin: 50% 50%;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), filter 0.25s ease;
}

/* Wing flapping oscillation for cursor birds with natural offsets */
.cur-bird-wing-upper {
  transform-origin: 350px 300px;
  animation: curWingFlapUpper 0.32s ease-in-out infinite alternate;
}

#cursor-chim-lac-1 .cur-bird-wing-upper {
  animation-delay: -0.11s;
}

#cursor-chim-lac-2 .cur-bird-wing-upper {
  animation-delay: -0.22s;
}

@keyframes curWingFlapUpper {
  0% { transform: rotate(0deg) scaleY(1); }
  100% { transform: rotate(-10deg) scaleY(0.85); }
}

.cur-bird-wing-lower {
  transform-origin: 360px 440px;
  animation: curWingFlapLower 0.32s ease-in-out infinite alternate;
}

#cursor-chim-lac-1 .cur-bird-wing-lower {
  animation-delay: -0.11s;
}

#cursor-chim-lac-2 .cur-bird-wing-lower {
  animation-delay: -0.22s;
}

@keyframes curWingFlapLower {
  0% { transform: rotate(0deg) scaleY(1); }
  100% { transform: rotate(9deg) scaleY(0.88); }
}

.cur-bird-tail {
  transform-origin: 190px 370px;
  animation: curTailFlutter 0.48s ease-in-out infinite alternate;
}

#cursor-chim-lac-1 .cur-bird-tail {
  animation-delay: -0.16s;
}

#cursor-chim-lac-2 .cur-bird-tail {
  animation-delay: -0.32s;
}

@keyframes curTailFlutter {
  0% { transform: rotate(-4deg); }
  100% { transform: rotate(4deg); }
}

/* Hover excitation state */
.cursor-chim-lac.is-hovering {
  filter: drop-shadow(0 0 18px rgba(242, 200, 91, 1));
}

.cursor-chim-lac.is-hovering .cursor-bird-svg {
  transform: scale(1.22);
}

.cursor-chim-lac.is-hovering .cur-bird-wing-upper,
.cursor-chim-lac.is-hovering .cur-bird-wing-lower {
  animation-duration: 0.16s;
}

/* Clicking dive state */
.cursor-chim-lac.is-clicking {
  filter: drop-shadow(0 0 22px rgba(239, 122, 94, 1));
}

.cursor-chim-lac.is-clicking .cursor-bird-svg {
  transform: scale(0.82) rotate(-12deg);
}

/* Particle Sparks Canvas for Clicks and Hovers */
.cursor-sparks-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 99996;
}

/* Dynamic Card Hover Glare */
.glass-card, .pillar-card, .color-swatch-card, .kit-card, .anatomy-card {
  position: relative;
  overflow: hidden;
}

.glass-card::before, .pillar-card::before, .color-swatch-card::before, .kit-card::before {
  content: '';
  position: absolute;
  top: var(--card-mouse-y, -100%);
  left: var(--card-mouse-x, -100%);
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(242, 200, 91, 0.12) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.glass-card:hover::before, .pillar-card:hover::before, .color-swatch-card:hover::before, .kit-card:hover::before {
  opacity: 1;
}

/* Hide custom cursor on touch / mobile devices */
@media (hover: none) or (pointer: coarse) {
  .cursor-chim-lac,
  .cursor-orbit-ring,
  .cursor-focal-point,
  .cursor-spotlight,
  .cursor-sparks-canvas {
    display: none !important;
  }
}


