/* ==========================================================================
   KesorCloud Ultra Modern Design System (ReactBits & GetLayers.ai Aesthetic)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Aurora Ambient Lighting (GetLayers.ai fluid glow)
   -------------------------------------------------------------------------- */
.kesor-aurora-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: -10;
}

.kesor-aurora-sphere-1 {
  position: absolute;
  top: -15%;
  left: 20%;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.22) 0%, rgba(99, 102, 241, 0.08) 50%, transparent 75%);
  filter: blur(80px);
  animation: aurora-drift-1 16s ease-in-out infinite alternate;
  will-change: transform;
}

.kesor-aurora-sphere-2 {
  position: absolute;
  top: 10%;
  right: 15%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.18) 0%, rgba(16, 185, 129, 0.06) 50%, transparent 75%);
  filter: blur(90px);
  animation: aurora-drift-2 20s ease-in-out infinite alternate;
  will-change: transform;
}

.kesor-aurora-sphere-3 {
  position: absolute;
  bottom: 5%;
  left: 30%;
  width: 700px;
  height: 450px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.15) 0%, rgba(59, 130, 246, 0.05) 50%, transparent 75%);
  filter: blur(100px);
  animation: aurora-drift-3 18s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes aurora-drift-1 {
  0% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(60px, 40px) scale(1.1);
  }

  100% {
    transform: translate(-40px, -20px) scale(0.95);
  }
}

@keyframes aurora-drift-2 {
  0% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(-50px, 50px) scale(1.15);
  }

  100% {
    transform: translate(30px, -30px) scale(0.9);
  }
}

@keyframes aurora-drift-3 {
  0% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(-30px, -40px) scale(1.08);
  }

  100% {
    transform: translate(50px, 20px) scale(0.92);
  }
}

/* --------------------------------------------------------------------------
   2. ReactBits Cyber Grid & Hero Two-Column Layout
   -------------------------------------------------------------------------- */
.kesor-cyber-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 80%);
  pointer-events: none;
}

html:not(.dark) .kesor-cyber-grid {
  background-image:
    linear-gradient(to right, rgba(15, 23, 42, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 23, 42, 0.06) 1px, transparent 1px);
}

.kesor-hero-grid {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 2.5rem;
}

.kesor-hero-left {
  width: 100%;
}

.kesor-hero-right {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  min-height: 480px;
}

@media (min-width: 1024px) {
  .kesor-hero-grid {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .kesor-hero-left {
    width: 52%;
    flex: 0 0 52%;
  }

  .kesor-hero-right {
    width: 48%;
    flex: 0 0 48%;
  }
}

/* --------------------------------------------------------------------------
   3. ReactBits OrbitImages Component Styles
   -------------------------------------------------------------------------- */
.orbit-container {
  position: relative;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  max-width: 520px;
  aspect-ratio: 1 / 1;
  overflow: visible;
}

.orbit-scaling-container {
  width: 100%;
  height: 100%;
  position: relative;
}

.orbit-scaling-container--responsive {
  position: absolute;
  left: 50%;
  top: 50%;
  transform-origin: center center;
}

.orbit-rotation-wrapper {
  width: 100%;
  height: 100%;
  transform-origin: center center;
  position: relative;
}

.orbit-path-svg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.orbit-item {
  position: absolute;
  will-change: transform, opacity;
  user-select: none;
  cursor: pointer;
  transition: filter 0.2s ease;
}

.orbit-item:hover {
  filter: drop-shadow(0 0 16px rgba(6, 182, 212, 0.6));
}

.orbit-center-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  pointer-events: auto;
}

.orbit-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Orbit Card Badges */
.orbit-badge-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px 8px 10px;
  border-radius: 9999px;
  background: rgba(11, 16, 30, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 15px 35px -8px rgba(0, 0, 0, 0.7), 0 0 20px -5px rgba(59, 130, 246, 0.2);
  white-space: nowrap;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.orbit-badge-card:hover {
  border-color: rgba(6, 182, 212, 0.6);
  box-shadow: 0 20px 40px -5px rgba(0, 0, 0, 0.8), 0 0 25px rgba(6, 182, 212, 0.35);
}

.orbit-badge-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   4. ReactBits Border Beam / Glowing Border Effect
   -------------------------------------------------------------------------- */
.kesor-border-beam {
  position: relative;
  border-radius: 1.5rem;
  padding: 1.5px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.4) 0%, rgba(6, 182, 212, 0.4) 50%, rgba(168, 85, 247, 0.4) 100%);
  box-shadow: 0 0 30px -10px rgba(59, 130, 246, 0.25);
}

.kesor-border-beam-inner {
  position: relative;
  background: #0c1322;
  border-radius: calc(1.5rem - 1.5px);
  height: 100%;
}

/* Fast border beam for status badge */
.kesor-pill-beam {
  position: relative;
  overflow: hidden;
  border-radius: 9999px;
  padding: 1px;
}

.kesor-pill-beam::before {
  content: '';
  position: absolute;
  inset: -200%;
  background: conic-gradient(from 0deg,
      transparent 0deg,
      transparent 260deg,
      #10b981 300deg,
      #06b6d4 330deg,
      #3b82f6 360deg);
  animation: border-beam-rotate 3s linear infinite;
  z-index: 0;
}

.kesor-pill-beam>* {
  position: relative;
  z-index: 1;
  border-radius: 9999px;
}

@keyframes border-beam-rotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* --------------------------------------------------------------------------
   5. ReactBits Spotlight & 3D Tilt Card Component
   -------------------------------------------------------------------------- */
.kesor-tilt-card {
  transform-style: preserve-3d;
  transition: transform 0.15s cubic-bezier(0.2, 0, 0.2, 1), box-shadow 0.25s ease, border-color 0.25s ease;
  will-change: transform;
  position: relative;
}

.kesor-spotlight-overlay {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
  mix-blend-mode: screen;
}

.kesor-tilt-card:hover .kesor-spotlight-overlay {
  opacity: 1;
}

/* --------------------------------------------------------------------------
   6. 3D Server Console & Telemetry Scanner
   -------------------------------------------------------------------------- */
.kesor-terminal {
  background: #060911;
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-family: 'JetBrains Mono', ui-monospace, Menlo, Monaco, Consolas, monospace;
  box-shadow:
    0 25px 50px -12px rgba(0, 0, 0, 0.75),
    0 0 40px -10px rgba(59, 130, 246, 0.15),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.1);
  position: relative;
}

.kesor-terminal-scanline {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(18, 16, 16, 0) 50%,
      rgba(0, 0, 0, 0.25) 50%),
    linear-gradient(90deg,
      rgba(255, 0, 0, 0.02),
      rgba(0, 255, 0, 0.01),
      rgba(0, 255, 0, 0.02));
  background-size: 100% 3px, 4px 100%;
  pointer-events: none;
  opacity: 0.8;
}

.kesor-terminal-beam {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #3B82F6, #60A5FA, transparent);
  box-shadow: 0 0 14px rgba(59, 130, 246, 0.8);
  animation: kesor-scanbeam 6s ease-in-out infinite;
  pointer-events: none;
  opacity: 0.8;
}

@keyframes kesor-scanbeam {
  0% {
    transform: translateY(0);
    opacity: 0;
  }

  10% {
    opacity: 0.9;
  }

  90% {
    opacity: 0.9;
  }

  100% {
    transform: translateY(320px);
    opacity: 0;
  }
}

/* --------------------------------------------------------------------------
   7. Radar Wave Ping Animation for Datacenters
   -------------------------------------------------------------------------- */
@keyframes kesor-radar-pulse {
  0% {
    transform: scale(0.8);
    opacity: 1;
  }

  100% {
    transform: scale(2.6);
    opacity: 0;
  }
}

.kesor-radar-wave {
  position: absolute;
  inset: -6px;
  border-radius: 9999px;
  border: 1.5px solid #3B82F6;
  animation: kesor-radar-pulse 2s cubic-bezier(0, 0.2, 0.8, 1) infinite;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   8. Royal Sapphire Range Slider Styled
   -------------------------------------------------------------------------- */
.kesor-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 9999px;
  background: linear-gradient(90deg, #1D4ED8 0%, #2563EB 50%, #3B82F6 100%);
  outline: none;
  transition: opacity 0.2s;
}

.kesor-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid #2563EB;
  box-shadow: 0 0 16px rgba(37, 99, 235, 0.7);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.kesor-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
  box-shadow: 0 0 22px rgba(37, 99, 235, 1);
}

.kesor-slider::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid #2563EB;
  box-shadow: 0 0 16px rgba(37, 99, 235, 0.7);
  cursor: pointer;
}

/* --------------------------------------------------------------------------
   9. Glassmorphism Utilities
   -------------------------------------------------------------------------- */
.kesor-glass {
  background: rgba(22, 27, 34, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* --------------------------------------------------------------------------
   10. Royal Sapphire Tinted Scrollbar
   -------------------------------------------------------------------------- */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: rgba(13, 17, 23, 0.8);
}

::-webkit-scrollbar-thumb {
  background: rgba(37, 99, 235, 0.4);
  border-radius: 9999px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(37, 99, 235, 0.8);
}

/* --------------------------------------------------------------------------
   11. ROYAL KHMER ROYAL SAPPHIRE & PLATINUM SILVER STYLES
   -------------------------------------------------------------------------- */

/* Global Selection */
::selection {
  background: rgba(37, 99, 235, 0.4);
  color: #FFFFFF;
}

/* Metallic Radiant Text */
.kesor-gold-text {
  background: linear-gradient(135deg, #FFFFFF 0%, #E2E8F0 40%, #93C5FD 75%, #3B82F6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Khmer Royal Divider with Lotus Diamond Motif */
.khmer-gold-divider {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 16px !important;
  width: 100% !important;
  margin: 1.5rem auto !important;
  color: #3B82F6 !important;
  font-family: 'Koulen', 'Kantumruy Pro', cursive, sans-serif;
  letter-spacing: 0.1em;
  text-align: center !important;
}

.khmer-gold-divider::before,
.khmer-gold-divider::after {
  content: '';
  flex: 1;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, #2563EB, #3B82F6, transparent);
}

/* Khmer Royal Sapphire Gradients */
.kesor-gold-text,
.khmer-gold-text {
  background: linear-gradient(180deg, #FFFFFF 0%, #F0F6FC 30%, #93C5FD 65%, #3B82F6 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.6)) !important;
}

html:not(.dark) .kesor-gold-text,
html:not(.dark) .khmer-gold-text {
  background: linear-gradient(135deg, #0f172a 0%, #334155 45%, #475569 80%, #64748b 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  filter: drop-shadow(0 1px 3px rgba(100, 116, 139, 0.2)) !important;
}

/* Royal Sapphire Primary Button */
.khmer-gold-btn {
  background: linear-gradient(135deg, #3B82F6 0%, #2563EB 55%, #1D4ED8 100%) !important;
  color: #FFFFFF !important;
  font-weight: 700 !important;
  border: 1px solid rgba(96, 165, 250, 0.5) !important;
  box-shadow: 0 8px 24px -3px rgba(37, 99, 235, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.25) !important;
  transition: all 0.25s ease !important;
  position: relative;
  overflow: hidden;
}

.khmer-gold-btn:hover {
  background: linear-gradient(135deg, #60A5FA 0%, #3B82F6 50%, #2563EB 100%) !important;
  box-shadow: 0 12px 32px -2px rgba(37, 99, 235, 0.6), 0 0 20px rgba(59, 130, 246, 0.4) !important;
  transform: translateY(-2px);
}

.khmer-gold-btn::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 40%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform: rotate(25deg);
  transition: all 0.75s ease;
}

.khmer-gold-btn:hover::after {
  left: 120%;
}

/* Secondary Khmer Midnight Slate Button */
.khmer-glass-btn {
  background: rgba(22, 27, 34, 0.85) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #F0F6FC !important;
  font-weight: 600 !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
  transition: all 0.25s ease !important;
}

.khmer-glass-btn:hover {
  background: rgba(37, 99, 235, 0.15) !important;
  border-color: rgba(59, 130, 246, 0.5) !important;
  color: #FFFFFF !important;
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.25) !important;
  transform: translateY(-2px);
}

/* Khmer Royal Badge */
.khmer-royal-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid rgba(59, 130, 246, 0.35);
  background: rgba(37, 99, 235, 0.15);
  color: #93C5FD;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* =========================================================================
   MINECRAFT MODERN HOSTING PLAN CARDS (ROYAL SAPPHIRE & MIDNIGHT SLATE)
   ========================================================================= */
.mc-cycle-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background: #161B22 !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  padding: 0.35rem;
  border-radius: 0.875rem;
}

.mc-cycle-btn {
  padding: 0.5rem 1.15rem;
  border-radius: 0.625rem;
  font-size: 0.8125rem;
  font-weight: 700;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  color: #94A3B8;
  cursor: pointer;
  background: transparent;
  border: none;
}

.mc-cycle-btn:hover {
  color: #FFFFFF;
}

.mc-cycle-btn.active {
  background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%) !important;
  color: #FFFFFF !important;
  font-weight: 800 !important;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4) !important;
}

.mc-plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 1.125rem;
  padding: 1.5rem;
  background: #161B22 !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 16px 40px -5px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
  transition: all 0.25s ease-in-out !important;
}

.mc-plan-card:hover {
  transform: translateY(-4px) !important;
  border-color: rgba(59, 130, 246, 0.5) !important;
  box-shadow: 0 22px 55px -5px rgba(0, 0, 0, 0.85), 0 0 25px rgba(37, 99, 235, 0.25) !important;
}

.mc-plan-card.is-popular {
  border-color: #3B82F6 !important;
  box-shadow: 0 20px 50px -5px rgba(0, 0, 0, 0.8), 0 0 30px rgba(37, 99, 235, 0.3) !important;
}

/* --------------------------------------------------------------------------
   MINECRAFT BUTTONS, BADGES, AND SPEC ICONS (ROYAL SAPPHIRE)
   -------------------------------------------------------------------------- */

/* Buy Now Button - Royal Sapphire Gradient */
.mc-buy-btn,
.mc-plan-card .mc-buy-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !important;
  padding: 0.625rem 1.15rem !important;
  border-radius: 0.625rem !important;
  background: linear-gradient(135deg, #3B82F6 0%, #2563EB 55%, #1D4ED8 100%) !important;
  color: #FFFFFF !important;
  font-weight: 700 !important;
  font-size: 0.875rem !important;
  line-height: 1.25rem !important;
  letter-spacing: 0.025em !important;
  border: 1px solid rgba(96, 165, 250, 0.5) !important;
  box-shadow: 0 8px 22px -3px rgba(37, 99, 235, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
  text-decoration: none !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  cursor: pointer !important;
  white-space: nowrap !important;
}

.mc-buy-btn:hover,
.mc-plan-card .mc-buy-btn:hover {
  background: linear-gradient(135deg, #60A5FA 0%, #3B82F6 50%, #2563EB 100%) !important;
  color: #FFFFFF !important;
  border-color: rgba(147, 197, 253, 0.8) !important;
  box-shadow: 0 12px 30px -2px rgba(37, 99, 235, 0.6), 0 0 20px rgba(59, 130, 246, 0.35) !important;
  transform: translateY(-2px) scale(1.02) !important;
}

.mc-buy-btn:active,
.mc-plan-card .mc-buy-btn:active {
  transform: scale(0.98) !important;
}

.mc-buy-btn i,
.mc-buy-btn svg,
.mc-plan-card .mc-buy-btn i,
.mc-plan-card .mc-buy-btn svg {
  color: #FFFFFF !important;
  font-size: 1.05rem !important;
}

.mc-buy-btn:hover i,
.mc-buy-btn:hover svg,
.mc-plan-card .mc-buy-btn:hover i,
.mc-plan-card .mc-buy-btn:hover svg {
  color: #FFFFFF !important;
}

.mc-buy-btn span,
.mc-plan-card .mc-buy-btn span {
  color: #FFFFFF !important;
  font-weight: 700 !important;
}

.mc-buy-btn:hover span,
.mc-plan-card .mc-buy-btn:hover span {
  color: #FFFFFF !important;
}

.mc-plan-card a[href*="checkout"] {
  background: linear-gradient(135deg, #3B82F6 0%, #2563EB 55%, #1D4ED8 100%) !important;
  color: #FFFFFF !important;
  font-weight: 700 !important;
  border: 1px solid rgba(96, 165, 250, 0.5) !important;
}

/* Info Icon Button Next to Buy Button */
.mc-info-btn,
.mc-plan-card .mc-info-btn {
  width: 2.35rem !important;
  height: 2.35rem !important;
  border-radius: 0.625rem !important;
  background: rgba(13, 17, 23, 0.8) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: #94A3B8 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.2s ease !important;
  cursor: pointer !important;
  text-decoration: none !important;
  flex-shrink: 0 !important;
}

.mc-info-btn:hover,
.mc-plan-card .mc-info-btn:hover {
  background: rgba(37, 99, 235, 0.15) !important;
  color: #FFFFFF !important;
  border-color: rgba(59, 130, 246, 0.5) !important;
}

/* Most Popular Royal Sapphire Badge */
.mc-popular-badge,
.mc-plan-card .mc-popular-badge {
  display: inline-flex !important;
  align-items: center !important;
  padding: 0.3rem 0.75rem !important;
  border-radius: 0.5rem !important;
  background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%) !important;
  color: #FFFFFF !important;
  font-size: 0.725rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.025em !important;
  border: 1px solid rgba(96, 165, 250, 0.5) !important;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35) !important;
  flex-shrink: 0 !important;
  line-height: 1.2 !important;
}

/* Uniform Royal Sapphire Spec Bullets */
.mc-spec-icon,
.mc-plan-card .mc-spec-icon {
  color: #3B82F6 !important;
  font-size: 1.15rem !important;
  flex-shrink: 0 !important;
  line-height: 1 !important;
}

/* Light Mode Overrides for Modern Cards */
html:not(.dark) .mc-cycle-switch {
  background: #f1f5f9 !important;
  border: 1px solid #cbd5e1 !important;
}

html:not(.dark) .mc-cycle-btn {
  color: #64748b;
}

html:not(.dark) .mc-cycle-btn:hover {
  color: #0f172a;
}

html:not(.dark) .mc-cycle-btn.active {
  background: linear-gradient(135deg, #0f172a 0%, #334155 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.25) !important;
}

html:not(.dark) .mc-plan-card {
  background: #FFFFFF !important;
  border: 1.5px solid #cbd5e1 !important;
  box-shadow: 0 10px 30px -5px rgba(100, 116, 139, 0.1) !important;
}

html:not(.dark) .mc-plan-card:hover {
  border-color: #94a3b8 !important;
  box-shadow: 0 18px 40px -5px rgba(100, 116, 139, 0.2), 0 0 25px rgba(203, 213, 225, 0.3) !important;
}

html:not(.dark) .mc-buy-btn,
html:not(.dark) .mc-plan-card .mc-buy-btn,
html:not(.dark) .mc-plan-card a[href*="checkout"] {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 60%, #334155 100%) !important;
  color: #FFFFFF !important;
  border: 1px solid #475569 !important;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.25) !important;
}

html:not(.dark) .mc-buy-btn:hover,
html:not(.dark) .mc-plan-card .mc-buy-btn:hover {
  background: linear-gradient(135deg, #000000 0%, #0f172a 70%, #1e293b 100%) !important;
  color: #FFFFFF !important;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.4) !important;
}

html:not(.dark) .mc-buy-btn i,
html:not(.dark) .mc-buy-btn svg,
html:not(.dark) .mc-plan-card .mc-buy-btn i,
html:not(.dark) .mc-plan-card .mc-buy-btn svg,
html:not(.dark) .mc-buy-btn span,
html:not(.dark) .mc-plan-card .mc-buy-btn span {
  color: #FFFFFF !important;
}

html:not(.dark) .mc-popular-badge,
html:not(.dark) .mc-plan-card .mc-popular-badge {
  background: #f1f5f9 !important;
  color: #0f172a !important;
  border: 1px solid #94a3b8 !important;
  box-shadow: 0 2px 8px rgba(100, 116, 139, 0.15) !important;
}

html:not(.dark) .mc-spec-icon,
html:not(.dark) .mc-plan-card .mc-spec-icon {
  color: #334155 !important;
}

html:not(.dark) .mc-plan-card .card-ram-val {
  color: #0F172A !important;
}

html:not(.dark) .mc-plan-card .card-price-big {
  color: #0F172A !important;
}

html:not(.dark) .mc-plan-card .card-spec-text {
  color: #1E293B !important;
}

html:not(.dark) .mc-plan-card .card-desc-text {
  color: #475569 !important;
}

html:not(.dark) .mc-plan-card .card-avatar-wrap {
  background: #F1F5F9 !important;
  border-color: #cbd5e1 !important;
}

html:not(.dark) .mc-plan-card .card-footer-border {
  border-color: #e2e8f0 !important;
}

/* =========================================================================
   KHMER PLAN CARDS (ROYAL SAPPHIRE & MIDNIGHT SLATE)
   ========================================================================= */

/* Default & Dark Mode Card Body */
.khmer-card-gold,
html.dark .khmer-card-gold {
  position: relative;
  border-radius: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  background: #161B22 !important;
  box-shadow:
    0 16px 40px -5px rgba(0, 0, 0, 0.7),
    inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.khmer-card-gold:hover,
html.dark .khmer-card-gold:hover {
  border-color: rgba(59, 130, 246, 0.5) !important;
  box-shadow:
    0 22px 55px -5px rgba(0, 0, 0, 0.85),
    0 0 25px rgba(37, 99, 235, 0.25) !important;
  transform: translateY(-4px);
}

/* Plan Card Title in Dark Mode: Brilliant Pure White */
.khmer-card-gold .card-title,
html.dark .khmer-card-gold .card-title {
  color: #FFFFFF !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
  letter-spacing: 0.04em;
  transition: color 0.2s ease;
}

.khmer-card-gold:hover .card-title,
html.dark .khmer-card-gold:hover .card-title {
  color: #60A5FA !important;
}

/* Price Section in Dark Mode */
.khmer-card-gold .card-price-num,
html.dark .khmer-card-gold .card-price-num {
  color: #FFFFFF !important;
  text-shadow: 0 0 20px rgba(37, 99, 235, 0.3);
}

.khmer-card-gold .card-price-period,
html.dark .khmer-card-gold .card-price-period {
  color: #94A3B8 !important;
}

.khmer-card-gold .card-price-label,
html.dark .khmer-card-gold .card-price-label {
  color: #94A3B8 !important;
}

.khmer-card-gold .card-billing-badge,
html.dark .khmer-card-gold .card-billing-badge {
  background: rgba(37, 99, 235, 0.15) !important;
  color: #93C5FD !important;
  border: 1px solid rgba(59, 130, 246, 0.3) !important;
}

/* Plan Description in Dark Mode: Crisp Soft Slate */
.khmer-card-gold .card-desc,
html.dark .khmer-card-gold .card-desc {
  color: #CBD5E1 !important;
}

/* Primary Hardware Specs Box in Dark Mode: Deep Midnight Pedestal */
.khmer-card-gold .card-specs-box,
html.dark .khmer-card-gold .card-specs-box {
  background: rgba(13, 17, 23, 0.85) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
}

.khmer-card-gold .card-spec-icon-wrap,
html.dark .khmer-card-gold .card-spec-icon-wrap {
  background: rgba(37, 99, 235, 0.15) !important;
  color: #3B82F6 !important;
  border: 1px solid rgba(59, 130, 246, 0.3) !important;
}

.khmer-card-gold .card-spec-label,
html.dark .khmer-card-gold .card-spec-label {
  color: #94A3B8 !important;
  letter-spacing: 0.06em;
}

.khmer-card-gold .card-spec-val,
html.dark .khmer-card-gold .card-spec-val {
  color: #FFFFFF !important;
  font-weight: 800 !important;
}

/* Detailed Specifications Bullets in Dark Mode: Crisp White-Slate */
.khmer-card-gold .card-bullet-item,
html.dark .khmer-card-gold .card-bullet-item {
  color: #E2E8F0 !important;
  font-size: 13px !important;
}

.khmer-card-gold .card-bullet-icon,
html.dark .khmer-card-gold .card-bullet-icon {
  background: rgba(37, 99, 235, 0.15) !important;
  color: #3B82F6 !important;
  border: 1px solid rgba(59, 130, 246, 0.3) !important;
}

/* Category Tag on Card */
.khmer-card-gold .card-cat-badge,
html.dark .khmer-card-gold .card-cat-badge {
  background: rgba(37, 99, 235, 0.12) !important;
  border: 1px solid rgba(59, 130, 246, 0.3) !important;
  color: #93C5FD !important;
}

/* Royal Sapphire Selection Highlight */
::selection {
  background-color: #2563EB !important;
  color: #FFFFFF !important;
}

::-moz-selection {
  background-color: #2563EB !important;
  color: #FFFFFF !important;
}

/* Custom Royal Cambodian Scrollbars */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

html.dark ::-webkit-scrollbar-track,
body.dark ::-webkit-scrollbar-track {
  background: #0D1117;
}

html.dark ::-webkit-scrollbar-thumb,
body.dark ::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #3B82F6 0%, #2563EB 50%, #1D4ED8 100%);
  border-radius: 9999px;
  border: 1px solid rgba(96, 165, 250, 0.4);
}

html:not(.dark) ::-webkit-scrollbar-track,
body:not(.dark) ::-webkit-scrollbar-track {
  background: #f1f5f9;
}

html:not(.dark) ::-webkit-scrollbar-thumb,
body:not(.dark) ::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #cbd5e1 0%, #94a3b8 100%);
  border-radius: 9999px;
  border: 1px solid #94a3b8;
}

/* =========================================================================
   1. LIGHT THEME (POLISHED SILVER & PLATINUM CHROME METALLIC)
   ========================================================================= */
body:not(.dark),
html:not(.dark) body {
  background-color: #f1f5f9 !important;
  color: #0f172a !important;
  background-image:
    linear-gradient(to right, rgba(148, 163, 184, 0.12) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(148, 163, 184, 0.12) 1px, transparent 1px),
    radial-gradient(ellipse at 50% -5%, rgba(148, 163, 184, 0.22) 0%, transparent 65%) !important;
  background-size: 48px 48px, 48px 48px, 100% 100% !important;
  background-repeat: repeat, repeat, no-repeat !important;
}

body.dark,
html.dark body {
  background-color: #0D1117 !important;
  color: #FFFFFF !important;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    radial-gradient(ellipse at 50% -5%, rgba(37, 99, 235, 0.12) 0%, transparent 60%) !important;
  background-size: 48px 48px, 48px 48px, 100% 100% !important;
  background-repeat: repeat, repeat, no-repeat !important;
}

html:not(.dark) .bg-background {
  background-color: #f1f5f9 !important;
}

html:not(.dark) .bg-background-secondary {
  background-color: #FFFFFF !important;
  border: 1.5px solid #cbd5e1 !important;
  box-shadow: 0 12px 35px -5px rgba(100, 116, 139, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 0 15px rgba(203, 213, 225, 0.2) !important;
}

html:not(.dark) .border-neutral,
html:not(.dark) .border-neutral\/70,
html:not(.dark) .border-neutral\/80,
html:not(.dark) .border-neutral\/60,
html:not(.dark) .border-neutral\/50,
html:not(.dark) .border-neutral\/40 {
  border-color: #cbd5e1 !important;
}

html:not(.dark) .kesor-glass {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1.5px solid #cbd5e1;
  box-shadow: 0 12px 35px -5px rgba(100, 116, 139, 0.12), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
}

html:not(.dark) .kesor-tilt-card {
  background: #FFFFFF !important;
  border: 1.5px solid #cbd5e1 !important;
  box-shadow: 0 12px 35px -5px rgba(100, 116, 139, 0.12), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
}

html:not(.dark) .kesor-tilt-card:hover {
  border-color: #94a3b8 !important;
  box-shadow: 0 18px 45px -5px rgba(100, 116, 139, 0.22), 0 0 25px rgba(203, 213, 225, 0.35) !important;
}

/* Hardware Spec Pedestal Cards in Light and Dark Modes */
html:not(.dark) .kesor-spec-card {
  background: #FFFFFF !important;
  border: 1.5px solid #cbd5e1 !important;
  box-shadow: 0 10px 30px -5px rgba(100, 116, 139, 0.12), inset 0 1px 0 #FFFFFF !important;
}

html:not(.dark) .kesor-spec-card:hover {
  border-color: #94a3b8 !important;
  box-shadow: 0 16px 40px -5px rgba(100, 116, 139, 0.22) !important;
}

html.dark .kesor-spec-card {
  background: #161B22 !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 12px 35px -5px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
}

html.dark .kesor-spec-card:hover {
  border-color: rgba(59, 130, 246, 0.5) !important;
  box-shadow: 0 16px 45px -5px rgba(0, 0, 0, 0.8), 0 0 25px rgba(37, 99, 235, 0.25) !important;
}

/* Plan Cards in Silver Light Mode */
html:not(.dark) .khmer-card-gold {
  background: #FFFFFF !important;
  border: 1.5px solid #cbd5e1 !important;
  box-shadow: 0 14px 40px -5px rgba(100, 116, 139, 0.14), inset 0 1px 0 #FFFFFF !important;
}

html:not(.dark) .khmer-card-gold:hover {
  border-color: #94a3b8 !important;
  box-shadow: 0 22px 55px -5px rgba(100, 116, 139, 0.26), 0 0 30px rgba(203, 213, 225, 0.4) !important;
}

html:not(.dark) .khmer-card-gold .card-title {
  color: #0F172A !important;
}

html:not(.dark) .khmer-card-gold:hover .card-title {
  color: #334155 !important;
}

html:not(.dark) .khmer-card-gold .card-price-num {
  color: #0F172A !important;
}

html:not(.dark) .khmer-card-gold .card-price-period {
  color: #64748B !important;
}

html:not(.dark) .khmer-card-gold .card-price-label {
  color: #475569 !important;
}

html:not(.dark) .khmer-card-gold .card-billing-badge {
  background: #f1f5f9 !important;
  color: #334155 !important;
  border: 1px solid #cbd5e1 !important;
}

html:not(.dark) .khmer-card-gold .card-desc {
  color: #334155 !important;
}

html:not(.dark) .khmer-card-gold .card-specs-box {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%) !important;
  border: 1.5px solid #cbd5e1 !important;
  box-shadow: 0 4px 12px rgba(100, 116, 139, 0.08) !important;
}

html:not(.dark) .khmer-card-gold .card-spec-icon-wrap {
  background: #e2e8f0 !important;
  color: #334155 !important;
  border: 1px solid #cbd5e1 !important;
}

html:not(.dark) .khmer-card-gold .card-spec-label {
  color: #64748B !important;
}

html:not(.dark) .khmer-card-gold .card-spec-val {
  color: #0F172A !important;
  font-weight: 800 !important;
}

html:not(.dark) .khmer-card-gold .card-bullet-item {
  color: #334155 !important;
}

html:not(.dark) .khmer-card-gold .card-bullet-icon {
  background: #e2e8f0 !important;
  color: #475569 !important;
  border: 1px solid #cbd5e1 !important;
}

html:not(.dark) .khmer-card-gold .card-cat-badge {
  background: #f1f5f9 !important;
  border: 1px solid #cbd5e1 !important;
  color: #334155 !important;
}

/* Secondary Polished Silver Button in Light Mode */
html:not(.dark) .khmer-glass-btn {
  background: #FFFFFF !important;
  border: 1.5px solid #cbd5e1 !important;
  color: #0F172A !important;
  box-shadow: 0 4px 14px rgba(100, 116, 139, 0.12), inset 0 1px 0 #FFFFFF !important;
}

html:not(.dark) .khmer-glass-btn:hover {
  background: #f8fafc !important;
  border-color: #94a3b8 !important;
  color: #0F172A !important;
  box-shadow: 0 6px 20px rgba(100, 116, 139, 0.22) !important;
  transform: translateY(-2px);
}

/* Primary Button in Light Mode: Polished Chrome / Platinum Bar */
html:not(.dark) .khmer-gold-btn {
  background: linear-gradient(135deg, #FFFFFF 0%, #e2e8f0 40%, #cbd5e1 75%, #94a3b8 100%) !important;
  color: #0F172A !important;
  border: 1.5px solid #94a3b8 !important;
  box-shadow: 0 8px 24px -3px rgba(100, 116, 139, 0.3), inset 0 1px 0 #FFFFFF !important;
}

html:not(.dark) .khmer-gold-btn:hover {
  background: linear-gradient(135deg, #FFFFFF 0%, #f1f5f9 50%, #cbd5e1 100%) !important;
  box-shadow: 0 14px 35px -3px rgba(100, 116, 139, 0.42), 0 0 20px rgba(203, 213, 225, 0.5) !important;
  transform: translateY(-2px);
}

/* Primary Button in Light Mode: Sleek Slate Chrome */
html:not(.dark) .bg-primary,
html:not(.dark) button.bg-primary,
html:not(.dark) a.bg-primary {
  background: linear-gradient(135deg, #1e293b 0%, #334155 60%, #475569 100%) !important;
  color: #FFFFFF !important;
  font-weight: 800 !important;
  border: 1px solid #475569 !important;
  box-shadow: 0 8px 24px -3px rgba(30, 41, 59, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
}

html:not(.dark) .bg-primary:hover,
html:not(.dark) button.bg-primary:hover,
html:not(.dark) a.bg-primary:hover {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 70%, #334155 100%) !important;
  box-shadow: 0 14px 35px -3px rgba(15, 23, 42, 0.45) !important;
  transform: translateY(-1px);
}

/* Secondary Button in Light Mode */
html:not(.dark) .bg-neutral\/20,
html:not(.dark) button.bg-neutral\/20 {
  background-color: #FFFFFF !important;
  border: 1.5px solid #cbd5e1 !important;
  color: #1E293B !important;
  font-weight: 700 !important;
}

html:not(.dark) .bg-neutral\/20:hover,
html:not(.dark) button.bg-neutral\/20:hover {
  background-color: #f1f5f9 !important;
  border-color: #94a3b8 !important;
  color: #0F172A !important;
}

/* Form Inputs in Light Mode */
html:not(.dark) input[type="text"],
html:not(.dark) input[type="email"],
html:not(.dark) input[type="password"],
html:not(.dark) input[type="number"],
html:not(.dark) select,
html:not(.dark) textarea {
  background-color: #FFFFFF !important;
  border: 1.5px solid #cbd5e1 !important;
  color: #0F172A !important;
}

html:not(.dark) input:focus,
html:not(.dark) select:focus,
html:not(.dark) textarea:focus {
  border-color: #64748b !important;
  box-shadow: 0 0 0 3px rgba(148, 163, 184, 0.3) !important;
  outline: none !important;
}

/* Badges in Light Mode */
html:not(.dark) .khmer-royal-badge,
html:not(.dark) .bg-primary\/10 {
  background-color: #f1f5f9 !important;
  color: #1E293B !important;
  border: 1.5px solid #cbd5e1 !important;
}

/* Text Primary in Light Mode */
html:not(.dark) .text-primary {
  color: #334155 !important;
}

/* Majestic Koulen Title Gradient in Light Mode: Polished Chrome / Platinum */
html:not(.dark) .kesor-gold-text {
  background: linear-gradient(135deg, #0f172a 0%, #334155 45%, #475569 80%, #64748b 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

/* Traditional Lotus Divider in Light Mode */
html:not(.dark) .khmer-gold-divider {
  background: linear-gradient(90deg, transparent 0%, rgba(148, 163, 184, 0.4) 20%, rgba(148, 163, 184, 0.8) 50%, rgba(148, 163, 184, 0.4) 80%, transparent 100%) !important;
  border-color: #cbd5e1 !important;
  color: #334155 !important;
}

/* Sidebar in Light Mode */
html:not(.dark) aside#main-aside {
  background-color: #FFFFFF !important;
  border-right: 1.5px solid #cbd5e1 !important;
  box-shadow: 2px 0 15px rgba(100, 116, 139, 0.08);
}

/* =========================================================================
   2. DARK THEME (ROYAL SAPPHIRE & MIDNIGHT SLATE)
   ========================================================================= */
html.dark body {
  background-color: #0D1117 !important;
  color: #F0F6FC !important;
  background-image:
    radial-gradient(circle at 50% -5%, rgba(37, 99, 235, 0.1) 0%, transparent 60%),
    radial-gradient(circle at 10% 45%, rgba(30, 58, 138, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 90% 75%, rgba(37, 99, 235, 0.06) 0%, transparent 50%) !important;
  background-attachment: fixed !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
}

html.dark .bg-background {
  background-color: #0D1117 !important;
}

/* Midnight Slate Cards in Dark Mode */
html.dark .bg-background-secondary {
  background-color: #161B22 !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 16px 40px -5px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
}

html.dark .border-neutral,
html.dark .border-neutral\/70,
html.dark .border-neutral\/80,
html.dark .border-neutral\/60,
html.dark .border-neutral\/50,
html.dark .border-neutral\/40 {
  border-color: rgba(255, 255, 255, 0.08) !important;
}

html.dark .kesor-glass {
  background: rgba(22, 27, 34, 0.88) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  box-shadow: 0 16px 45px -5px rgba(0, 0, 0, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
}

html.dark .kesor-tilt-card {
  background: #161B22 !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 16px 40px -5px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
}

html.dark .kesor-tilt-card:hover {
  border-color: rgba(59, 130, 246, 0.5) !important;
  box-shadow: 0 22px 55px -5px rgba(0, 0, 0, 0.85), 0 0 25px rgba(37, 99, 235, 0.2) !important;
}

/* Primary Button in Dark Mode: Royal Sapphire Gradient with Pure White Text */
html.dark .bg-primary,
html.dark button.bg-primary,
html.dark a.bg-primary {
  background: linear-gradient(135deg, #3B82F6 0%, #2563EB 55%, #1D4ED8 100%) !important;
  color: #FFFFFF !important;
  font-weight: 700 !important;
  border: 1px solid rgba(96, 165, 250, 0.5) !important;
  box-shadow: 0 8px 22px -3px rgba(37, 99, 235, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.25) !important;
}

html.dark .bg-primary:hover,
html.dark button.bg-primary:hover,
html.dark a.bg-primary:hover {
  background: linear-gradient(135deg, #60A5FA 0%, #3B82F6 50%, #2563EB 100%) !important;
  box-shadow: 0 12px 30px -2px rgba(37, 99, 235, 0.6), 0 0 20px rgba(59, 130, 246, 0.35) !important;
  transform: translateY(-2px);
}

/* Secondary Button in Dark Mode: Midnight Slate Glass */
html.dark .bg-neutral\/20,
html.dark button.bg-neutral\/20 {
  background-color: rgba(22, 27, 34, 0.8) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #F0F6FC !important;
  font-weight: 600 !important;
}

html.dark .bg-neutral\/20:hover,
html.dark button.bg-neutral\/20:hover {
  background-color: rgba(37, 99, 235, 0.12) !important;
  border-color: rgba(59, 130, 246, 0.5) !important;
  color: #FFFFFF !important;
}

/* Form Inputs in Dark Mode */
html.dark input[type="text"],
html.dark input[type="email"],
html.dark input[type="password"],
html.dark input[type="number"],
html.dark select,
html.dark textarea {
  background-color: #0D1117 !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  color: #F0F6FC !important;
}

html.dark input:focus,
html.dark select:focus,
html.dark textarea:focus {
  border-color: #3B82F6 !important;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.25) !important;
  outline: none !important;
}

/* Badges in Dark Mode */
html.dark .khmer-royal-badge,
html.dark .bg-primary\/10 {
  background-color: rgba(37, 99, 235, 0.12) !important;
  color: #93C5FD !important;
  border: 1px solid rgba(59, 130, 246, 0.3) !important;
}

/* Text Primary in Dark Mode */
html.dark .text-primary {
  color: #3B82F6 !important;
}

/* Majestic Koulen Title Gradient in Dark Mode: Luminous Frost White */
html.dark .kesor-gold-text {
  background: linear-gradient(180deg, #FFFFFF 0%, #F0F6FC 50%, #CBD5E1 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.6)) !important;
}

/* Traditional Lotus Divider in Dark Mode */
html.dark .khmer-gold-divider {
  background: linear-gradient(90deg, transparent 0%, rgba(59, 130, 246, 0.3) 25%, rgba(59, 130, 246, 0.6) 50%, rgba(59, 130, 246, 0.3) 75%, transparent 100%) !important;
  border-color: rgba(59, 130, 246, 0.3) !important;
  color: #93C5FD !important;
}

/* Sidebar in Dark Mode */
html.dark aside#main-aside {
  background-color: rgba(13, 17, 23, 0.98) !important;
  border-right: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 5px 0 30px rgba(0, 0, 0, 0.6);
}

/* Terminal Styling */
.kesor-terminal {
  background-color: #0c1017 !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  box-shadow: 0 20px 50px -15px rgba(0, 0, 0, 0.85), 0 0 30px -5px rgba(37, 99, 235, 0.15) !important;
}

/* Account Avatar Royal Sapphire Gradient */
.from-primary.to-cyan-500 {
  background-image: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%) !important;
  color: #FFFFFF !important;
  border: 1.5px solid rgba(96, 165, 250, 0.5) !important;
  box-shadow: 0 6px 20px -3px rgba(37, 99, 235, 0.4) !important;
}

html:not(.dark) .from-primary.to-cyan-500 {
  background-image: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%) !important;
  color: #FFFFFF !important;
  border: 1.5px solid rgba(37, 99, 235, 0.4) !important;
  box-shadow: 0 6px 18px -3px rgba(37, 99, 235, 0.3) !important;
}

/* Active Tabs in Account & Navigation */
html.dark .bg-primary.text-white {
  background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%) !important;
  color: #FFFFFF !important;
  font-weight: 700 !important;
}

/* =========================================================================
   HERO SECTION & MAJESTIC ANGKOR WAT PEDESTAL (ULTRAWIDE READY)
   ========================================================================= */
.kesor-hero-section {
  position: relative;
  overflow: hidden;
  min-height: 620px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 5rem;
  padding-bottom: 4rem;
  z-index: 10;
}

@media (min-width: 1024px) {
  .kesor-hero-section {
    min-height: 680px;
  }
}

@media (min-width: 1440px) {
  .kesor-hero-section {
    min-height: 720px;
    padding-top: 6rem;
    padding-bottom: 5rem;
  }
}

/* Angkor Wat Background image */
.kesor-hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transition: filter 0.5s ease;
}

html.dark .kesor-hero-bg-img {
  filter: brightness(0.82) contrast(1.12);
}

html:not(.dark) .kesor-hero-bg-img {
  filter: brightness(0.92) contrast(1.05);
}

/* Ambient Scrim Over Angkor Wat */
.kesor-hero-scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

html.dark .kesor-hero-scrim {
  background: 
    radial-gradient(ellipse 90% 80% at 50% 40%, rgba(13, 17, 23, 0.4) 0%, rgba(13, 17, 23, 0.85) 80%, #0D1117 100%),
    linear-gradient(to bottom, rgba(13, 17, 23, 0.8) 0%, transparent 20%, transparent 75%, #0D1117 100%);
}

html:not(.dark) .kesor-hero-scrim {
  background: 
    radial-gradient(ellipse 90% 80% at 50% 40%, rgba(241, 245, 249, 0.35) 0%, rgba(241, 245, 249, 0.85) 80%, #F1F5F9 100%),
    linear-gradient(to bottom, rgba(241, 245, 249, 0.8) 0%, transparent 20%, transparent 75%, #F1F5F9 100%);
}

/* Frosted Glass Pedestal Card inside Hero */
.kesor-hero-glass-card {
  position: relative;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-radius: 1.75rem;
  transition: all 0.4s ease;
}

html.dark .kesor-hero-glass-card {
  background: rgba(13, 17, 23, 0.82) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: 
    0 30px 70px -15px rgba(0, 0, 0, 0.9),
    inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
}

html:not(.dark) .kesor-hero-glass-card {
  background: rgba(255, 255, 255, 0.92) !important;
  border: 1.5px solid rgba(203, 213, 225, 0.85) !important;
  box-shadow: 
    0 25px 60px -15px rgba(15, 23, 42, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 0 30px rgba(203, 213, 225, 0.3) !important;
}

/* Hero Badge */
.kesor-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.3s ease;
}

html.dark .kesor-hero-badge {
  background: rgba(22, 27, 34, 0.85);
  border: 1px solid rgba(59, 130, 246, 0.35);
  color: #93C5FD;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

html:not(.dark) .kesor-hero-badge {
  background: rgba(255, 255, 255, 0.95);
  border: 1.5px solid #CBD5E1;
  color: #1E3A8A;
  box-shadow: 0 4px 15px rgba(100, 116, 139, 0.12);
}

/* Hero Heading */
.kesor-hero-title-main {
  font-family: 'Koulen', 'Kantumruy Pro', cursive, sans-serif;
  letter-spacing: 0.03em;
  line-height: 1.15;
}

html.dark .kesor-hero-title-main {
  color: #FFFFFF !important;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.8);
}

html:not(.dark) .kesor-hero-title-main {
  color: #0F172A !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

/* Hero Subtitle */
.kesor-hero-subtitle {
  line-height: 1.7;
  font-size: 1.05rem;
}

html.dark .kesor-hero-subtitle {
  color: #CBD5E1 !important;
}

html:not(.dark) .kesor-hero-subtitle {
  color: #334155 !important;
}

/* Hero Trust Metric Cards */
.kesor-hero-metric {
  padding: 0.875rem 1rem;
  border-radius: 1rem;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: all 0.3s ease;
}

html.dark .kesor-hero-metric {
  background: rgba(22, 27, 34, 0.85) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5) !important;
}

html:not(.dark) .kesor-hero-metric {
  background: rgba(255, 255, 255, 0.95) !important;
  border: 1.5px solid #CBD5E1 !important;
  box-shadow: 0 8px 20px rgba(100, 116, 139, 0.1) !important;
}

.kesor-hero-metric-val {
  font-family: 'Koulen', sans-serif;
  font-size: 2rem;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.05em;
}

html.dark .kesor-hero-metric-val {
  color: #FFFFFF !important;
}

html:not(.dark) .kesor-hero-metric-val {
  color: #0F172A !important;
}

.kesor-hero-metric-lbl {
  font-size: 0.75rem;
  margin-top: 0.375rem;
  font-weight: 600;
}

html.dark .kesor-hero-metric-lbl {
  color: #94A3B8 !important;
}

html:not(.dark) .kesor-hero-metric-lbl {
  color: #475569 !important;
}

/* =========================================================================
   HARDWARE SPEC CARDS (BELOW HERO)
   ========================================================================= */
.kesor-spec-card {
  padding: 1rem;
  border-radius: 1.25rem;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

html.dark .kesor-spec-card {
  background: #161B22 !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6) !important;
}

html.dark .kesor-spec-card:hover {
  border-color: rgba(59, 130, 246, 0.5) !important;
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.8), 0 0 20px rgba(37, 99, 235, 0.25) !important;
}

html:not(.dark) .kesor-spec-card {
  background: #FFFFFF !important;
  border: 1.5px solid #CBD5E1 !important;
  box-shadow: 0 8px 20px -3px rgba(100, 116, 139, 0.12), inset 0 1px 0 #FFFFFF !important;
}

html:not(.dark) .kesor-spec-card:hover {
  border-color: #2563EB !important;
  transform: translateY(-3px);
  box-shadow: 0 12px 30px -4px rgba(37, 99, 235, 0.18) !important;
}

.kesor-spec-card .spec-title {
  font-family: 'Koulen', sans-serif;
  font-weight: 700;
  letter-spacing: 0.04em;
}

html.dark .kesor-spec-card .spec-title {
  color: #FFFFFF !important;
}

html:not(.dark) .kesor-spec-card .spec-title {
  color: #0F172A !important;
}

html.dark .kesor-spec-card .spec-sub {
  color: #94A3B8 !important;
}

html:not(.dark) .kesor-spec-card .spec-sub {
  color: #475569 !important;
}

/* =========================================================================
   HOSTING PLAN CARDS (MIDNIGHT SLATE / POLISHED SILVER PLATINUM)
   ========================================================================= */
.kesor-tier-card {
  border-radius: 1.5rem;
  padding: 1.5rem;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Dark Mode Cards */
html.dark .kesor-tier-card {
  background: #161B22 !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 12px 35px -5px rgba(0, 0, 0, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
}

html.dark .kesor-tier-card:hover {
  border-color: rgba(59, 130, 246, 0.5) !important;
  transform: translateY(-5px);
  box-shadow: 0 20px 50px -5px rgba(0, 0, 0, 0.9), 0 0 25px rgba(37, 99, 235, 0.25) !important;
}

html.dark .kesor-tier-card.popular {
  background: #161B22 !important;
  border: 2px solid #3B82F6 !important;
  box-shadow: 0 18px 45px -5px rgba(0, 0, 0, 0.85), 0 0 25px rgba(59, 130, 246, 0.3) !important;
}

html.dark .kesor-tier-card.popular:hover {
  border-color: #60A5FA !important;
  box-shadow: 0 25px 60px -5px rgba(0, 0, 0, 0.95), 0 0 35px rgba(59, 130, 246, 0.4) !important;
}

/* Light Mode Cards */
html:not(.dark) .kesor-tier-card {
  background: #FFFFFF !important;
  border: 1.5px solid #CBD5E1 !important;
  box-shadow: 0 12px 35px -5px rgba(100, 116, 139, 0.12), inset 0 1px 0 #FFFFFF !important;
}

html:not(.dark) .kesor-tier-card:hover {
  border-color: #2563EB !important;
  transform: translateY(-5px);
  box-shadow: 0 20px 45px -5px rgba(37, 99, 235, 0.2), 0 0 20px rgba(37, 99, 235, 0.1) !important;
}

html:not(.dark) .kesor-tier-card.popular {
  background: #FFFFFF !important;
  border: 2px solid #2563EB !important;
  box-shadow: 0 16px 45px -5px rgba(37, 99, 235, 0.22), 0 0 25px rgba(37, 99, 235, 0.15) !important;
}

html:not(.dark) .kesor-tier-card.popular:hover {
  border-color: #1D4ED8 !important;
  box-shadow: 0 22px 55px -5px rgba(37, 99, 235, 0.28), 0 0 30px rgba(37, 99, 235, 0.2) !important;
}

/* Card Avatar Box */
.kesor-avatar-box {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

html.dark .kesor-avatar-box {
  background: #0D1117 !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

html:not(.dark) .kesor-avatar-box {
  background: #F1F5F9 !important;
  border: 1.5px solid #CBD5E1 !important;
}

/* Card Titles */
.kesor-tier-title {
  font-family: 'Koulen', sans-serif;
  letter-spacing: 0.03em;
  font-size: 1.2rem;
  line-height: 1.2;
}

html.dark .kesor-tier-title {
  color: #FFFFFF !important;
}

html:not(.dark) .kesor-tier-title {
  color: #0F172A !important;
}

/* Card Specs List */
.kesor-tier-specs {
  border-top: 1px solid;
  border-bottom: 1px solid;
  padding: 0.875rem 0;
  margin: 1rem 0;
  font-size: 0.8125rem;
  font-weight: 600;
}

html.dark .kesor-tier-specs {
  border-color: rgba(255, 255, 255, 0.08) !important;
  color: #E2E8F0 !important;
}

html:not(.dark) .kesor-tier-specs {
  border-color: #E2E8F0 !important;
  color: #334155 !important;
}

/* Card Price */
.kesor-tier-price {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.75rem;
  font-weight: 800;
}

html.dark .kesor-tier-price {
  color: #FFFFFF !important;
}

html:not(.dark) .kesor-tier-price {
  color: #0F172A !important;
}

/* Detail Button */
.kesor-btn-detail {
  padding: 0.625rem 0.75rem;
  border-radius: 0.75rem;
  text-align: center;
  font-family: 'Koulen', sans-serif;
  font-size: 0.8125rem;
  letter-spacing: 0.03em;
  transition: all 0.2s ease;
}

html.dark .kesor-btn-detail {
  background: #0D1117 !important;
  color: #E2E8F0 !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

html.dark .kesor-btn-detail:hover {
  background: #1C2128 !important;
  border-color: rgba(59, 130, 246, 0.5) !important;
  color: #60A5FA !important;
}

html:not(.dark) .kesor-btn-detail {
  background: #F1F5F9 !important;
  color: #0F172A !important;
  border: 1.5px solid #CBD5E1 !important;
}

html:not(.dark) .kesor-btn-detail:hover {
  background: #E2E8F0 !important;
  border-color: #94A3B8 !important;
  color: #1E3A8A !important;
}

/* =========================================================================
   RAM CALCULATOR, FLEET & FAQ CARDS
   ========================================================================= */
.kesor-calc-card,
.kesor-fleet-card,
.kesor-faq-card {
  border-radius: 1.5rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

html.dark .kesor-calc-card,
html.dark .kesor-fleet-card,
html.dark .kesor-faq-card {
  background: #161B22 !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 16px 40px -5px rgba(0, 0, 0, 0.75) !important;
}

html:not(.dark) .kesor-calc-card,
html:not(.dark) .kesor-fleet-card,
html:not(.dark) .kesor-faq-card {
  background: #FFFFFF !important;
  border: 1.5px solid #CBD5E1 !important;
  box-shadow: 0 14px 35px -5px rgba(100, 116, 139, 0.12), inset 0 1px 0 #FFFFFF !important;
}

/* Fleet Card Highlighted (Phnom Penh) */
html.dark .kesor-fleet-card.highlighted {
  border: 2px solid #3B82F6 !important;
  box-shadow: 0 18px 45px -5px rgba(0, 0, 0, 0.85), 0 0 25px rgba(59, 130, 246, 0.3) !important;
}

html:not(.dark) .kesor-fleet-card.highlighted {
  border: 2px solid #2563EB !important;
  box-shadow: 0 16px 45px -5px rgba(37, 99, 235, 0.22), 0 0 20px rgba(37, 99, 235, 0.12) !important;
}

/* Fleet Card Titles */
html.dark .kesor-fleet-card h4,
html.dark .kesor-calc-card h3,
html.dark .kesor-faq-card h4 {
  color: #FFFFFF !important;
}

html:not(.dark) .kesor-fleet-card h4,
html:not(.dark) .kesor-calc-card h3,
html:not(.dark) .kesor-faq-card h4 {
  color: #0F172A !important;
}

/* Calculator Inner Box */
.kesor-calc-inner {
  border-radius: 1rem;
}

html.dark .kesor-calc-inner {
  background: #0D1117 !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

html:not(.dark) .kesor-calc-inner {
  background: #F8FAFC !important;
  border: 1.5px solid #CBD5E1 !important;
}

/* Pill Badges */
.kesor-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 1.125rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  transition: all 0.2s ease;
}

html.dark .kesor-pill-badge {
  background: #161B22 !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: #93C5FD !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

html:not(.dark) .kesor-pill-badge {
  background: #FFFFFF !important;
  border: 1.5px solid #CBD5E1 !important;
  color: #1E3A8A !important;
  box-shadow: 0 4px 12px rgba(100, 116, 139, 0.1);
}

/* Fallback utilities for arbitrary classes */
html.dark .dark\:border-white\/10 {
  border-color: rgba(255, 255, 255, 0.1) !important;
}

/* =========================================================================
   ROYAL SAPPHIRE PRIMARY BUTTONS & BADGES
   ========================================================================= */
.kesor-btn-primary {
  background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 50%, #1E40AF 100%) !important;
  color: #FFFFFF !important;
  border: 1px solid rgba(147, 197, 253, 0.45) !important;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35) !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.kesor-btn-primary:hover {
  background: linear-gradient(135deg, #3B82F6 0%, #2563EB 50%, #1D4ED8 100%) !important;
  color: #FFFFFF !important;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.5) !important;
  transform: translateY(-2px) scale(1.02) !important;
}

.kesor-btn-primary:active {
  transform: translateY(0) scale(0.98) !important;
}

.kesor-btn-primary span,
.kesor-btn-primary i,
.kesor-btn-primary svg {
  color: #FFFFFF !important;
}

/* Popular Badge */
.kesor-badge-popular {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0.25rem 0.75rem !important;
  border-radius: 9999px !important;
  background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%) !important;
  color: #FFFFFF !important;
  font-weight: 800 !important;
  font-size: 0.6875rem !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  box-shadow: 0 2px 10px rgba(37, 99, 235, 0.35) !important;
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
}

.kesor-badge-popular span {
  color: #FFFFFF !important;
}

/* Active Category Tab */
.kesor-tab-active {
  background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%) !important;
  color: #FFFFFF !important;
  font-weight: 800 !important;
  border: 1px solid rgba(147, 197, 253, 0.5) !important;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4) !important;
}

.kesor-tab-active span,
.kesor-tab-active i {
  color: #FFFFFF !important;
}

/* Hero Gradient Text */
.kesor-hero-gradient-text {
  display: inline-block;
  background: linear-gradient(135deg, #2563EB 0%, #3B82F6 50%, #4F46E5 100%);
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  font-weight: 900;
}

html.dark .kesor-hero-gradient-text {
  background: linear-gradient(135deg, #FFFFFF 0%, #93C5FD 50%, #60A5FA 100%);
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

/* Active Billing Cycle & Preset Pill */
.kesor-cycle-active {
  background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%) !important;
  color: #FFFFFF !important;
  font-weight: 700 !important;
  border-radius: 0.5rem !important;
  box-shadow: 0 2px 10px rgba(37, 99, 235, 0.4) !important;
  border: 1px solid rgba(147, 197, 253, 0.4) !important;
}

.kesor-cycle-active span {
  color: #FFFFFF !important;
}

/* Section Subtitle Badges */
.kesor-section-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  padding: 0.25rem 0.75rem !important;
  border-radius: 9999px !important;
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  transition: all 0.2s ease !important;
}

html.dark .kesor-section-badge {
  background: rgba(37, 99, 235, 0.15) !important;
  color: #60A5FA !important;
  border: 1px solid rgba(59, 130, 246, 0.3) !important;
}

html.dark .kesor-section-badge i {
  color: #60A5FA !important;
}

html:not(.dark) .kesor-section-badge {
  background: rgba(37, 99, 235, 0.08) !important;
  color: #1D4ED8 !important;
  border: 1px solid rgba(37, 99, 235, 0.25) !important;
}

html:not(.dark) .kesor-section-badge i {
  color: #1D4ED8 !important;
}

/* Adaptive Client Area Button in Navbar */
.kesor-btn-client {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  padding: 0.5rem 1rem !important;
  border-radius: 0.75rem !important;
  font-weight: 700 !important;
  font-size: 0.8125rem !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  text-decoration: none !important;
}

html.dark .kesor-btn-client {
  background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%) !important;
  color: #FFFFFF !important;
  border: 1px solid rgba(147, 197, 253, 0.4) !important;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35) !important;
}

html.dark .kesor-btn-client:hover {
  background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%) !important;
  color: #FFFFFF !important;
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.5) !important;
  transform: translateY(-1px) !important;
}

html.dark .kesor-btn-client i,
html.dark .kesor-btn-client span {
  color: #FFFFFF !important;
}

html:not(.dark) .kesor-btn-client {
  background: #F1F5F9 !important;
  color: #0F172A !important;
  border: 1.5px solid #CBD5E1 !important;
  box-shadow: 0 2px 6px rgba(100, 116, 139, 0.1) !important;
}

html:not(.dark) .kesor-btn-client:hover {
  background: #E2E8F0 !important;
  border-color: #94A3B8 !important;
  color: #1E3A8A !important;
  transform: translateY(-1px) !important;
}

html:not(.dark) .kesor-btn-client i,
html:not(.dark) .kesor-btn-client span {
  color: #0F172A !important;
}

/* Tier Card Spec Icons */
.kesor-tier-specs i {
  color: #2563EB !important;
}

html.dark .kesor-tier-specs i {
  color: #60A5FA !important;
}

/* ==========================================================================
   KESOR CLOUD - MODERN 2-COLUMN SPLIT HERO WITH 3D GAME MARQUEE WALL
   ========================================================================== */

.kesor-isometric-hero-section {
  position: relative;
  overflow: hidden;
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding-top: 6rem;
  padding-bottom: 4rem;
  background-color: #060911;
}

html:not(.dark) .kesor-isometric-hero-section {
  background-color: #f8fafc;
}

/* 3D Isometric Stage - Pushed to right and tilted toward camera */
.kesor-isometric-stage {
  position: absolute;
  top: -20%;
  bottom: -20%;
  right: -8%;
  width: 65%;
  pointer-events: none;
  perspective: 1400px;
  overflow: hidden;
  z-index: 1;
  opacity: 0.95;
}

@media (max-width: 1024px) {
  .kesor-isometric-stage {
    width: 100%;
    right: -25%;
    opacity: 0.35;
  }
}

/* 3D Tilted Wall of Game Columns */
.kesor-isometric-wall {
  width: 130%;
  height: 150%;
  display: flex;
  gap: 1.5rem;
  transform: rotateX(16deg) rotateY(-22deg) rotateZ(8deg) skewY(-4deg);
  transform-style: preserve-3d;
  will-change: transform;
}

/* Infinite Scrolling Columns */
.kesor-game-col {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 290px;
  flex-shrink: 0;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

.kesor-game-col-up { animation-name: marquee-col-up; }
.kesor-game-col-down { animation-name: marquee-col-down; }

.col-speed-1 { animation-duration: 36s; }
.col-speed-2 { animation-duration: 44s; }
.col-speed-3 { animation-duration: 40s; }

@keyframes marquee-col-up {
  0% { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}

@keyframes marquee-col-down {
  0% { transform: translateY(-50%); }
  100% { transform: translateY(0); }
}

/* Rounded 3D Game Card Tile */
.kesor-game-tile {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 1.25rem;
  overflow: hidden;
  background-color: #0d131f;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 
    0 20px 40px -10px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(255, 255, 255, 0.06);
  transform: translateZ(0);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

html:not(.dark) .kesor-game-tile {
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: 0 16px 32px -8px rgba(0, 0, 0, 0.18);
}

.kesor-game-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.95) contrast(1.05);
}

/* Vignette Gradients - Dark on left for text, fades to bright visible cards on right */
.kesor-isometric-scrim {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: 
    linear-gradient(90deg, #060911 0%, #060911 38%, rgba(6, 9, 17, 0.75) 55%, rgba(6, 9, 17, 0.2) 80%, rgba(6, 9, 17, 0.7) 100%),
    linear-gradient(180deg, #060911 0%, transparent 15%, transparent 85%, #060911 100%);
}

html:not(.dark) .kesor-isometric-scrim {
  background: 
    linear-gradient(90deg, #f8fafc 0%, #f8fafc 38%, rgba(248, 250, 252, 0.75) 55%, rgba(248, 250, 252, 0.2) 80%, rgba(248, 250, 252, 0.7) 100%),
    linear-gradient(180deg, #f8fafc 0%, transparent 15%, transparent 85%, #f8fafc 100%);
}

.kesor-glow-sphere-1 {
  position: absolute;
  top: 15%;
  left: 10%;
  width: 500px;
  height: 500px;
  border-radius: 9999px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.18) 0%, transparent 70%);
  filter: blur(80px);
  z-index: 2;
  pointer-events: none;
}

.kesor-glow-sphere-2 {
  position: absolute;
  bottom: 10%;
  right: 15%;
  width: 600px;
  height: 600px;
  border-radius: 9999px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.2) 0%, transparent 70%);
  filter: blur(90px);
  z-index: 2;
  pointer-events: none;
}

/* ==========================================================================
   KESOR CLOUD - MODERN 2-COLUMN SPLIT HERO WITH 3D GAME MARQUEE WALL
   ========================================================================== */

.kesor-isometric-hero-section {
  position: relative;
  overflow: hidden;
  padding-top: 6.5rem;
  padding-bottom: 2.5rem;
  background-color: #060911;
}

html:not(.dark) .kesor-isometric-hero-section {
  background-color: #f8fafc;
}

/* 3D Isometric Stage - Pushed to right and tilted toward camera */
.kesor-isometric-stage {
  position: absolute;
  top: -15%;
  bottom: -15%;
  right: -5%;
  width: 60%;
  pointer-events: none;
  perspective: 1400px;
  overflow: hidden;
  z-index: 1;
  opacity: 0.95;
}

@media (max-width: 1024px) {
  .kesor-isometric-stage {
    width: 100%;
    right: -20%;
    opacity: 0.35;
  }
}

/* 3D Tilted Wall of Game Columns */
.kesor-isometric-wall {
  width: 130%;
  height: 150%;
  display: flex;
  gap: 1.5rem;
  transform: rotateX(16deg) rotateY(-22deg) rotateZ(8deg) skewY(-4deg);
  transform-style: preserve-3d;
  will-change: transform;
}

/* Infinite Scrolling Columns */
.kesor-game-col {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 290px;
  flex-shrink: 0;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

.kesor-game-col-up { animation-name: marquee-col-up; }
.kesor-game-col-down { animation-name: marquee-col-down; }

.col-speed-1 { animation-duration: 36s; }
.col-speed-2 { animation-duration: 44s; }
.col-speed-3 { animation-duration: 40s; }

@keyframes marquee-col-up {
  0% { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}

@keyframes marquee-col-down {
  0% { transform: translateY(-50%); }
  100% { transform: translateY(0); }
}

/* Rounded 3D Game Card Tile */
.kesor-game-tile {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 1.25rem;
  overflow: hidden;
  background-color: #0d131f;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 
    0 20px 40px -10px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(255, 255, 255, 0.06);
  transform: translateZ(0);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

html:not(.dark) .kesor-game-tile {
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: 0 16px 32px -8px rgba(0, 0, 0, 0.18);
}

.kesor-game-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.95) contrast(1.05);
}

/* Vignette Gradients */
.kesor-isometric-scrim {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: 
    linear-gradient(90deg, #060911 0%, #060911 36%, rgba(6, 9, 17, 0.75) 55%, rgba(6, 9, 17, 0.2) 80%, rgba(6, 9, 17, 0.7) 100%),
    linear-gradient(180deg, #060911 0%, transparent 12%, transparent 88%, #060911 100%);
}

html:not(.dark) .kesor-isometric-scrim {
  background: 
    linear-gradient(90deg, #f8fafc 0%, #f8fafc 36%, rgba(248, 250, 252, 0.75) 55%, rgba(248, 250, 252, 0.2) 80%, rgba(248, 250, 252, 0.7) 100%),
    linear-gradient(180deg, #f8fafc 0%, transparent 12%, transparent 88%, #f8fafc 100%);
}

.kesor-glow-sphere-1 {
  position: absolute;
  top: 15%;
  left: 10%;
  width: 500px;
  height: 500px;
  border-radius: 9999px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.18) 0%, transparent 70%);
  filter: blur(80px);
  z-index: 2;
  pointer-events: none;
}

.kesor-glow-sphere-2 {
  position: absolute;
  bottom: 10%;
  right: 15%;
  width: 600px;
  height: 600px;
  border-radius: 9999px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.2) 0%, transparent 70%);
  filter: blur(90px);
  z-index: 2;
  pointer-events: none;
}

/* Redesigned Clean Sleek Hardware Bar */
.kesor-spec-card-clean {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.875rem 1.25rem;
  border-radius: 1rem;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.35);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

html:not(.dark) .kesor-spec-card-clean {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(226, 232, 240, 0.9);
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.06);
}

.kesor-spec-card-clean:hover {
  transform: translateY(-2px);
  border-color: rgba(56, 189, 248, 0.4);
  box-shadow: 0 8px 30px -4px rgba(56, 189, 248, 0.25);
}

.kesor-spec-icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.15) 0%, rgba(37, 99, 235, 0.2) 100%);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: #38bdf8;
  font-size: 1.25rem;
  flex-shrink: 0;
}

/* ==========================================================================\n   KESOR CLOUD - MODERN 2-COLUMN SPLIT HERO WITH 3D GAME MARQUEE WALL\n   ========================================================================== */\n\n.kesor-isometric-hero-section {\n  position: relative;\n  overflow: hidden;\n  padding-top: 7rem;\n  padding-bottom: 5rem;\n  background-color: #060911;\n}\n\nhtml:not(.dark) .kesor-isometric-hero-section {\n  background-color: #f8fafc;\n}\n\n/* 3D Isometric Stage - Pushed to right and tilted toward camera */\n.kesor-isometric-stage {\n  position: absolute;\n  top: -15%;\n  bottom: -15%;\n  right: -5%;\n  width: 58%;\n  pointer-events: none;\n  perspective: 1400px;\n  overflow: hidden;\n  z-index: 1;\n  opacity: 0.95;\n}\n\n@media (max-width: 1024px) {\n  .kesor-isometric-stage {\n    width: 100%;\n    right: -20%;\n    opacity: 0.35;\n  }\n}\n\n/* 3D Tilted Wall of Game Columns */\n.kesor-isometric-wall {\n  width: 130%;\n  height: 150%;\n  display: flex;\n  gap: 1.5rem;\n  transform: rotateX(16deg) rotateY(-22deg) rotateZ(8deg) skewY(-4deg);\n  transform-style: preserve-3d;\n  will-change: transform;\n}\n\n/* Infinite Scrolling Columns */\n.kesor-game-col {\n  display: flex;\n  flex-direction: column;\n  gap: 1.5rem;\n  width: 290px;\n  flex-shrink: 0;\n  animation-timing-function: linear;\n  animation-iteration-count: infinite;\n}\n\n.kesor-game-col-up { animation-name: marquee-col-up; }\n.kesor-game-col-down { animation-name: marquee-col-down; }\n\n.col-speed-1 { animation-duration: 36s; }\n.col-speed-2 { animation-duration: 44s; }\n.col-speed-3 { animation-duration: 40s; }\n\n@keyframes marquee-col-up {\n  0% { transform: translateY(0); }\n  100% { transform: translateY(-50%); }\n}\n\n@keyframes marquee-col-down {\n  0% { transform: translateY(-50%); }\n  100% { transform: translateY(0); }\n}\n\n/* Rounded 3D Game Card Tile */\n.kesor-game-tile {\n  position: relative;\n  width: 100%;\n  aspect-ratio: 16 / 9;\n  border-radius: 1.25rem;\n  overflow: hidden;\n  background-color: #0d131f;\n  border: 1px solid rgba(255, 255, 255, 0.14);\n  box-shadow: \n    0 20px 40px -10px rgba(0, 0, 0, 0.7),\n    0 0 0 1px rgba(255, 255, 255, 0.06);\n  transform: translateZ(0);\n  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;\n}\n\nhtml:not(.dark) .kesor-game-tile {\n  border-color: rgba(0, 0, 0, 0.1);\n  box-shadow: 0 16px 32px -8px rgba(0, 0, 0, 0.18);\n}\n\n.kesor-game-tile img {\n  width: 100%;\n  height: 100%;\n  object-fit: cover;\n  filter: brightness(0.95) contrast(1.05);\n}\n\n/* Vignette Gradients */\n.kesor-isometric-scrim {\n  position: absolute;\n  inset: 0;\n  z-index: 2;\n  pointer-events: none;\n  background: \n    linear-gradient(90deg, #060911 0%, #060911 36%, rgba(6, 9, 17, 0.75) 55%, rgba(6, 9, 17, 0.2) 80%, rgba(6, 9, 17, 0.7) 100%),\n    linear-gradient(180deg, #060911 0%, transparent 12%, transparent 88%, #060911 100%);\n}\n\nhtml:not(.dark) .kesor-isometric-scrim {\n  background: \n    linear-gradient(90deg, #f8fafc 0%, #f8fafc 36%, rgba(248, 250, 252, 0.75) 55%, rgba(248, 250, 252, 0.2) 80%, rgba(248, 250, 252, 0.7) 100%),\n    linear-gradient(180deg, #f8fafc 0%, transparent 12%, transparent 88%, #f8fafc 100%);\n}\n\n.kesor-glow-sphere-1 {\n  position: absolute;\n  top: 15%;\n  left: 10%;\n  width: 500px;\n  height: 500px;\n  border-radius: 9999px;\n  background: radial-gradient(circle, rgba(56, 189, 248, 0.18) 0%, transparent 70%);\n  filter: blur(80px);\n  z-index: 2;\n  pointer-events: none;\n}\n\n.kesor-glow-sphere-2 {\n  position: absolute;\n  bottom: 10%;\n  right: 15%;\n  width: 600px;\n  height: 600px;\n  border-radius: 9999px;\n  background: radial-gradient(circle, rgba(37, 99, 235, 0.2) 0%, transparent 70%);\n  filter: blur(90px);\n  z-index: 2;\n  pointer-events: none;\n}\n\n/* Redesigned Clean Sleek Hardware Bar */\n.kesor-spec-card-clean {\n  position: relative;\n  display: flex;\n  align-items: center;\n  gap: 0.875rem;\n  padding: 1rem 1.25rem;\n  border-radius: 1rem;\n  background: rgba(15, 23, 42, 0.7);\n  backdrop-filter: blur(16px);\n  -webkit-backdrop-filter: blur(16px);\n  border: 1px solid rgba(255, 255, 255, 0.08);\n  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.35);\n  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);\n}\n\nhtml:not(.dark) .kesor-spec-card-clean {\n  background: rgba(255, 255, 255, 0.9);\n  border-color: rgba(226, 232, 240, 0.9);\n  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.06);\n}\n\n.kesor-spec-card-clean:hover {\n  transform: translateY(-2px);\n  border-color: rgba(56, 189, 248, 0.4);\n  box-shadow: 0 8px 30px -4px rgba(56, 189, 248, 0.25);\n}\n\n.kesor-spec-icon-box {\n  display: flex;\n  align-items: center;\n  justify-content: center;\n  width: 2.75rem;\n  height: 2.75rem;\n  border-radius: 0.75rem;\n  background: linear-gradient(135deg, rgba(56, 189, 248, 0.15) 0%, rgba(37, 99, 235, 0.2) 100%);\n  border: 1px solid rgba(56, 189, 248, 0.3);\n  color: #38bdf8;\n  font-size: 1.25rem;\n  flex-shrink: 0;\n}\n

/* 5-column grid for categories with 5 products (e.g. Minecraft Hosting) */
@media (min-width: 1280px) {
  .kesor-grid-5 {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 1rem !important;
  }
  .kesor-grid-5 .kesor-tier-card {
    padding: 1.25rem 0.875rem !important;
  }
}
