@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

body {
  font-family: var(--font-sans);
  background-color: #080D1A;
  color: #E2E8F0;
  overflow-x: hidden;
  selection-background-color: #10B981;
  selection-color: #ffffff;
}

::selection {
  background: rgba(16, 185, 129, 0.35);
  color: #34D399;
}

/* Glassmorphism Classes */
.glass-panel {
  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);
}

.glass-panel-glow {
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(16, 185, 129, 0.25);
  box-shadow: 0 0 35px -5px rgba(16, 185, 129, 0.15);
}

.glass-card {
  background: rgba(17, 24, 39, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
  transform: translateY(-4px);
  border-color: rgba(52, 211, 153, 0.3);
  box-shadow: 0 20px 30px -10px rgba(0, 0, 0, 0.5), 0 0 20px -5px rgba(16, 185, 129, 0.15);
}

/* Ambient Background Lights */
.bg-mesh-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #0A0F1D;
}
::-webkit-scrollbar-thumb {
  background: #1E293B;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #334155;
}

/* Gradient Text */
.text-gradient {
  background: linear-gradient(135deg, #FFFFFF 20%, #A7F3D0 70%, #34D399 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-emerald {
  background: linear-gradient(135deg, #34D399 0%, #059669 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-cyan {
  background: linear-gradient(135deg, #38BDF8 0%, #0284C7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

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

@keyframes pulse-slow {
  0%, 100% {
    opacity: 0.2;
    transform: scale(1);
  }
  50% {
    opacity: 0.35;
    transform: scale(1.08);
  }
}

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

/* Accordion Smooth Transition */
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out, opacity 0.3s ease-out;
  opacity: 0;
}

.accordion-content.active {
  opacity: 1;
}

/* Badge Pulse */
.badge-ping {
  position: relative;
}
.badge-ping::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 9999px;
  background: inherit;
  opacity: 0.6;
  animation: ping 1.8s cubic-bezier(0, 0, 0.2, 1) infinite;
}


/* Stacked Brand Logo Typography: SA besar, PA & JA bertumpuk dengan tinggi gabungan sama dengan SA */
.brand-stacked-wrap {
  display: inline-flex;
  align-items: stretch;
  user-select: none;
  vertical-align: middle;
  line-height: 0.85;
}

.brand-sa-main {
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.85;
  background: linear-gradient(135deg, #FFFFFF 40%, #E2E8F0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-flex;
  align-items: center;
}

.brand-stack-col {
  display: inline-flex;
  flex-direction: column;
  justify-content: space-between;
  margin-left: 0.08em;
  line-height: 0.85;
}

.brand-pa-sup,
.brand-ja-sub {
  font-size: 0.52em;
  font-weight: 800;
  line-height: 0.85;
  letter-spacing: 0.04em;
  display: block;
}

.brand-pa-sup {
  color: #34D399; /* Emerald */
}

.brand-ja-sub {
  color: #38BDF8; /* Cyan / Blue */
}
