/* SEA Global Business - Custom Styles & Design System (Cyan-Pulse Direct) */

:root {
  --color-primary: #006782;
  --color-primary-container: #00b5e2;
  --color-on-primary: #ffffff;
  --color-secondary: #a04100;
  --color-secondary-container: #ff6b00;
  --color-sea-dark: #1e293b;
  --color-sea-cyan: #00b5e2;
  --color-sea-orange: #ff6b00;
  --color-background: #f5fafe;
  --color-surface: #f5fafe;
  --color-surface-container-lowest: #ffffff;
  --color-surface-container-low: #eff4f8;
  --color-surface-container: #e9eff2;
  --color-surface-container-high: #e3e9ed;
  --color-on-background: #171c1f;
  --color-on-surface-variant: #3d484e;
  --color-outline-variant: #bcc8cf;
  
  --font-headline: 'Sora', sans-serif;
  --font-body: 'Hanken Grotesk', sans-serif;
}

/* Base styles */
html {
  scroll-behavior: smooth;
  font-family: var(--font-body);
  background-color: var(--color-background);
  color: var(--color-on-background);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headline);
}

/* Material Symbols alignment */
.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  vertical-align: middle;
  display: inline-block;
  line-height: 1;
}

.material-symbols-outlined.fill {
  font-variation-settings: 'FILL' 1;
}

/* Glassmorphism & Cards */
.glass-panel {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.glass-panel-dark {
  background: rgba(30, 41, 59, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.bento-card {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.bento-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

/* Hero Gradient Overlay */
.hero-overlay {
  background: linear-gradient(90deg, rgba(30, 41, 59, 0.92) 0%, rgba(30, 41, 59, 0.75) 55%, rgba(30, 41, 59, 0.4) 100%);
}

.hero-overlay-dark {
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.85) 0%, rgba(30, 41, 59, 0.95) 100%);
}

/* Modal animation */
@keyframes modalIn {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.animate-modal-in {
  animation: modalIn 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Toast animation */
@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-toast-in {
  animation: toastIn 0.3s ease-out forwards;
}

/* Hero Entrance Animations */
@keyframes heroFadeUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroZoomIn {
  0% {
    opacity: 0;
    transform: scale(1.08);
  }
  100% {
    opacity: 0.35;
    transform: scale(1);
  }
}

.hero-animate-bg {
  animation: heroZoomIn 1.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-animate-el-1 {
  opacity: 0;
  animation: heroFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.15s forwards;
}

.hero-animate-el-2 {
  opacity: 0;
  animation: heroFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.35s forwards;
}

.hero-animate-el-3 {
  opacity: 0;
  animation: heroFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.5s forwards;
}

.hero-animate-el-4 {
  opacity: 0;
  animation: heroFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.65s forwards;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

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

/* Active navigation indicators */
.nav-link {
  position: relative;
  transition: color 0.2s ease;
}

.nav-link.active {
  color: #006782;
  font-weight: 700;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #00b5e2;
  border-radius: 2px;
}
