/* ==========================================================================
   ORMOSA - Software Consulting & Engineering
   Brand Colors:
   - Azure / Tech Blue: #0284C7, #0EA5E9, #38BDF8
   - Sunrise Amber / Orange: #F97316, #EA580C, #FB923C
   - Dark Tech Canvas: #090D16, #0F172A, #1E293B
   ========================================================================== */

@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 {
  --color-primary: #0ea5e9;
  --color-primary-dark: #0284c7;
  --color-accent: #f97316;
  --color-accent-hover: #ea580c;
  --bg-dark: #090d16;
  --bg-card: rgba(15, 23, 42, 0.75);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(14, 165, 233, 0.3);
}

html {
  scroll-behavior: smooth;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color-scheme: dark;
}

body {
  background-color: var(--bg-dark);
  color: #f1f5f9;
  overflow-x: hidden;
  selection-background-color: #0ea5e9;
  selection-color: #ffffff;
}

::selection {
  background: #0ea5e9;
  color: #ffffff;
}

/* Code & Tech font */
.font-mono {
  font-family: 'JetBrains Mono', monospace;
}

/* Radial Glows */
.radial-glow-cyan {
  background: radial-gradient(circle at 50% 50%, rgba(14, 165, 233, 0.18) 0%, rgba(14, 165, 233, 0) 70%);
}

.radial-glow-orange {
  background: radial-gradient(circle at 50% 50%, rgba(249, 115, 22, 0.15) 0%, rgba(249, 115, 22, 0) 70%);
}

/* Glassmorphism Cards */
.glass-panel {
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-panel:hover {
  border-color: rgba(14, 165, 233, 0.35);
  box-shadow: 0 10px 30px -10px rgba(14, 165, 233, 0.15);
}

.glass-card-interactive {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.6) 0%, rgba(15, 23, 42, 0.8) 100%);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.07);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.glass-card-interactive:hover {
  transform: translateY(-4px);
  border-color: rgba(56, 189, 248, 0.4);
  box-shadow: 0 16px 36px -12px rgba(2, 132, 199, 0.2);
}

/* Gradient Text */
.text-gradient-cyan {
  background: linear-gradient(135deg, #ffffff 0%, #38bdf8 60%, #0284c7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-brand {
  background: linear-gradient(135deg, #38bdf8 0%, #0ea5e9 40%, #fb923c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-orange {
  background: linear-gradient(135deg, #fed7aa 0%, #f97316 70%, #ea580c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Grid Background */
.bg-grid-pattern {
  background-size: 40px 40px;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
}

/* Glowing Border Animation */
.gradient-border-wrap {
  position: relative;
  border-radius: 1rem;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.5), rgba(249, 115, 22, 0.5));
  padding: 1px;
}

.gradient-border-content {
  background: #090d16;
  border-radius: calc(1rem - 1px);
}

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

::-webkit-scrollbar-track {
  background: #090d16;
}

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

::-webkit-scrollbar-thumb:hover {
  background: #0ea5e9;
}

/* Badge Glow */
.badge-pulse {
  position: relative;
}

.badge-pulse::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border-radius: inherit;
  background: inherit;
  filter: blur(6px);
  opacity: 0.4;
  z-index: -1;
}

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

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

@keyframes pulse-subtle {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.05); }
}

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

/* Marquee / Infinite Slider */
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 25s linear infinite;
}

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

@keyframes marquee {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-50%); }
}

/* Interactive Calculator Sliders */
input[type="range"] {
  accent-color: #0ea5e9;
}
