:root {
  --color-primary: #00AEEF;
  --color-primary-dark: #0090C8;
  --color-navy: #1B2B4B;
  --color-navy-light: #243560;
  --color-promo: #E53E3E;
  --color-purple: #7C3AED;
  --color-gray-bg: #F4F7FA;
  --color-gray-light: #EEF2F6;
  --color-text: #1A202C;
  --color-text-muted: #64748B;
  --color-white: #FFFFFF;
  --color-line-green: #06C755;
}

body {
  font-family: 'Noto Sans Thai', sans-serif;
  color: var(--color-text);
  background-color: var(--color-white);
}

/* Responsive clamp for hero header */
.hero-title {
  font-size: clamp(1.85rem, 4.5vw, 3rem);
  line-height: 1.2;
}

/* Table custom scrollbar */
.table-container::-webkit-scrollbar {
  height: 6px;
}

.table-container::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.table-container::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 10px;
}

.table-container::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Custom Glassmorphism Badge */
.glass-badge {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

/* Hover Glow effect for main pricing row */
.glow-purple {
  box-shadow: 0 0 25px rgba(124, 58, 237, 0.15);
}

/* Premium Grid Background pattern */
.bg-grid-pattern {
  background-image: radial-gradient(rgba(0, 174, 239, 0.08) 1.5px, transparent 0);
  background-size: 32px 32px;
}

/* Glowing alert pulse for sticky promo bar */
@keyframes subtle-pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.95;
  }
}

.pulse-glow {
  animation: subtle-pulse 2s infinite ease-in-out;
}

/* Glassmorphic Success Toast Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes scaleUp {
  from {
    transform: scale(0.92);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes scaleDown {
  from {
    transform: scale(1);
    opacity: 1;
  }
  to {
    transform: scale(0.92);
    opacity: 0;
  }
}

.animate-fade-in {
  animation: fadeIn 0.2s ease-out forwards;
}

.animate-scale-up {
  animation: scaleUp 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.animate-scale-down {
  animation: scaleDown 0.2s ease-out forwards;
}

/* Floating Animations for Premium Overlapping Cards */
@keyframes float-slow {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

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

.animate-float-slow {
  animation: float-slow 4.5s infinite ease-in-out;
}

.animate-float-reverse {
  animation: float-reverse 4.5s infinite ease-in-out;
}
