/**
 * PT MAESTRO KARSA INDONESIA - BESPOKE ENTERPRISE IT CONSULTANT STYLESHEET
 * Inspired by leading Indonesian Corporate IT Platforms (JMC, Integra, iCommits, Infra, WanTeknologi)
 * Palette:
 * - Canvas Background: #F8FAFC (Clean Executive Slate)
 * - Card Surface: #FFFFFF (Pure White)
 * - Corporate Navy: #0F172A (Deep Trust Navy / Slate 900)
 * - Secondary Slate: #334155 (Slate 700)
 * - Muted Subtitles: #64748B (Slate 500)
 * - Prestigious Accent: #B48C50 / #9A7432 (Warm Champagne Gold)
 * - Subtle Borders: #E2E8F0 (Slate 200)
 */

/* Custom Typography (Bespoke Enterprise IT Architecture) */
.font-display {
  font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  letter-spacing: -0.025em;
}

.font-sans-body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

.font-editorial {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

.font-mono-tech {
  font-family: 'JetBrains Mono', monospace;
}

/* Subtle Geometric IT Grid Background */
.bg-enterprise-grid {
  background-color: #FFFFFF;
  background-image: 
    radial-gradient(#CBD5E1 1px, transparent 1px);
  background-size: 28px 28px;
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
  color-scheme: light;
}

/* Selection Color */
::selection {
  background-color: #F1E5D1;
  color: #0F172A;
}

/* Minimalist Custom Scrollbar */
::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}

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

::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
  background: #946E37;
}

/* Micro Focus States */
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: #946E37 !important;
  box-shadow: 0 0 0 3px rgba(148, 110, 55, 0.15) !important;
}

/* Corporate Card Hover Lift */
.corporate-card {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.corporate-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px -8px rgba(15, 23, 42, 0.08), 0 4px 12px -2px rgba(15, 23, 42, 0.04);
  border-color: #CBD5E1;
}

/* Soft Floating Animation */
@keyframes soft-float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

.animate-soft-float {
  animation: soft-float 5s ease-in-out infinite;
}

/* Soft Status Pulse */
@keyframes status-pulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

.status-dot-pulse {
  animation: status-pulse 2.2s infinite;
}

/* Button Micro-Motion */
.group:hover .group-arrow {
  transform: translateX(4px);
}

.group-arrow {
  transition: transform 0.2s ease-out;
}

/* Scroll-Triggered Reveal */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-on-scroll.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Delays */
.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }

/* Service Tabs */
.corporate-tab.active {
  background-color: #0F172A;
  border-color: #0F172A;
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.15);
}

.corporate-tab.active .tab-index {
  color: #D4AF37;
}

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