@charset "UTF-8";

/* ==========================================================================
   PT. MIDAS REKA TELESIS - ENTERPRISE MODERN UI STYLES
   Dual-Theme System (Default: Light Mode | Toggleable: Dark Mode)
   Inspired by modern Next.js / Linear / Vercel design systems
   ========================================================================== */

/* Typography & Base Smoothness */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
  color-scheme: light;
}

html.dark {
  color-scheme: dark;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: #f8fafc; /* Tailwind slate-50 (Default Light) */
  color: #0f172a; /* Tailwind slate-900 */
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.dark body {
  background-color: #030712; /* Tailwind gray-950 / ultra deep navy */
  color: #f1f5f9;
}

/* Custom Slim Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
.dark ::-webkit-scrollbar-track {
  background: #060b19;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 9999px;
  border: 2px solid #f1f5f9;
}
.dark ::-webkit-scrollbar-thumb {
  background: #1e293b;
  border: 2px solid #060b19;
}
::-webkit-scrollbar-thumb:hover {
  background: #0ea5e9;
}

/* Background Grids & Ambient Patterns */
.bg-grid-cyber {
  background-image: 
    linear-gradient(to right, rgba(15, 23, 42, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 23, 42, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
}

.dark .bg-grid-cyber {
  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);
}

.bg-dot-matrix {
  background-image: radial-gradient(rgba(15, 23, 42, 0.07) 1px, transparent 1px);
  background-size: 24px 24px;
}

.dark .bg-dot-matrix {
  background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
}

.radial-mask-center {
  mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
  -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
}

.radial-mask-fade-bottom {
  mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
}

/* Glassmorphism Classes */
.glass-panel {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(226, 232, 240, 0.8);
}

.dark .glass-panel {
  background: rgba(11, 19, 43, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-panel-elevated {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(14, 165, 233, 0.2);
  box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.08);
}

.dark .glass-panel-elevated {
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(56, 189, 248, 0.15);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5), inset 0 1px 0 0 rgba(255, 255, 255, 0.05);
}

.glass-card-interactive {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.dark .glass-card-interactive {
  background: rgba(13, 22, 45, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.glass-card-interactive:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 35px -10px rgba(14, 165, 233, 0.15);
  border-color: rgba(6, 182, 212, 0.5);
}

.dark .glass-card-interactive:hover {
  background: rgba(18, 30, 60, 0.75);
  border-color: rgba(6, 182, 212, 0.35);
  box-shadow: 0 15px 35px -10px rgba(6, 182, 212, 0.15), 0 0 20px 0 rgba(14, 165, 233, 0.1);
}

/* Glowing Badges & Gradients */
.badge-glow-cyan {
  box-shadow: 0 0 15px -3px rgba(6, 182, 212, 0.25);
}

.badge-glow-gold {
  box-shadow: 0 0 15px -3px rgba(245, 158, 11, 0.25);
}

.text-gradient-cyan {
  background: linear-gradient(135deg, #0284c7 0%, #0891b2 50%, #2563eb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.dark .text-gradient-cyan {
  background: linear-gradient(135deg, #38bdf8 0%, #06b6d4 50%, #3b82f6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-gold {
  background: linear-gradient(135deg, #d97706 0%, #b45309 50%, #92400e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.dark .text-gradient-gold {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #d97706 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-silver {
  background: linear-gradient(135deg, #0f172a 0%, #334155 60%, #64748b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.dark .text-gradient-silver {
  background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 60%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Micro-Animations */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

@keyframes float-slow {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(0.5deg); }
}

@keyframes pulse-subtle {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

@keyframes ping-slow {
  0% { transform: scale(1); opacity: 0.8; }
  80%, 100% { transform: scale(2.2); opacity: 0; }
}

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

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

.animate-pulse-subtle {
  animation: pulse-subtle 3s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.animate-ping-slow {
  animation: ping-slow 2.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}

/* Active Nav Indicator */
.nav-link.active {
  color: #0284c7 !important;
  background-color: rgba(14, 165, 233, 0.1);
}

.dark .nav-link.active {
  color: #38bdf8 !important;
  background-color: rgba(56, 189, 248, 0.1);
}

/* Code & Terminal Monospace */
.font-mono-code {
  font-family: 'JetBrains Mono', 'Fira Code', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

/* Interactive Input Focus State */
.input-enterprise {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #0f172a;
  transition: all 0.2s ease-in-out;
}

.input-enterprise:focus {
  outline: none;
  background: #ffffff;
  border-color: #0ea5e9;
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.2);
}

.dark .input-enterprise {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #f8fafc;
}

.dark .input-enterprise:focus {
  background: rgba(15, 23, 42, 0.9);
  border-color: #38bdf8;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2);
}

/* Continuous Logo Marquee */
@keyframes marquee {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-50%); }
}

.animate-marquee {
  display: flex;
  width: max-content;
  animation: marquee 28s linear infinite;
}

.animate-marquee:hover {
  animation-play-state: paused;
}

.animate-marquee-slow {
  display: flex;
  width: max-content;
  animation: marquee 45s linear infinite;
}

.animate-marquee-slow:hover {
  animation-play-state: paused;
}


