@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Noto+Sans+SC:wght@300;400;500;600;700&family=Prompt:wght@300;400;500;600;700&family=Sarabun:wght@300;400;500;600;700&display=swap');

:root {
  --navy-950: #060b19;
  --navy-900: #0a1128;
  --navy-800: #111d40;
  --crimson-700: #991b1b;
  --crimson-600: #b91c1c;
  --gold-500: #d97706;
  --gold-400: #f59e0b;
}

html {
  scroll-behavior: smooth;
  font-family: 'Prompt', 'Inter', 'Noto Sans SC', 'Sarabun', sans-serif;
}

body {
  font-family: 'Prompt', 'Inter', 'Noto Sans SC', 'Sarabun', sans-serif;
  color: #0f172a;
  background-color: #f8fafc;
  overflow-x: hidden;
}

/* Smooth typography adjustments per language */
html[lang="th"] body {
  font-family: 'Prompt', 'Sarabun', sans-serif;
}

html[lang="en"] body {
  font-family: 'Inter', 'Prompt', sans-serif;
}

html[lang="zh"] body {
  font-family: 'Noto Sans SC', 'Inter', sans-serif;
}

/* Hero Background Pattern */
.hero-gradient {
  background: radial-gradient(circle at 85% 20%, rgba(185, 28, 28, 0.22) 0%, transparent 45%),
              radial-gradient(circle at 15% 80%, rgba(30, 64, 175, 0.28) 0%, transparent 50%),
              linear-gradient(135deg, #070d1f 0%, #0f172a 55%, #172554 100%);
}

.subtle-grid {
  background-size: 40px 40px;
  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);
}

/* Card Hover Effects */
.b2b-card {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.b2b-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 35px -10px rgba(15, 23, 42, 0.12), 0 8px 15px -6px rgba(15, 23, 42, 0.06);
}

/* Language Switcher Active State */
.lang-btn.active {
  background-color: #0f172a;
  color: #ffffff;
  font-weight: 600;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

/* Glassmorphism elements */
.glass-panel {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #94a3b8;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #64748b;
}
