/* ==========================================================================
   Technopreneurs Technolabs - Global Cyber-Tech Dark Stylesheet
   ========================================================================== */

:root {
  --bg-deep: #080a15;
  --bg-card: #0d1326;
  --bg-card-hover: #121a36;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(245, 158, 11, 0.35);
  --color-amber: #f59e0b;
  --color-amber-glow: rgba(245, 158, 11, 0.3);
  --color-cyan: #06b6d4;
  --color-cyan-glow: rgba(6, 182, 212, 0.25);
  --color-indigo: #3b82f6;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-deep);
  color: #94a3b8;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body {
  background-color: var(--bg-deep);
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

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

/* Glassmorphism Surface */
.glass-panel {
  background: rgba(13, 19, 38, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
}

.glass-panel-hover {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.glass-panel-hover:hover {
  background: rgba(18, 26, 54, 0.85);
  border-color: rgba(245, 158, 11, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.5), 0 0 20px rgba(245, 158, 11, 0.15);
}

/* Glow Badges & Accents */
.badge-glow-amber {
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: #fbbf24;
}

.badge-glow-cyan {
  background: rgba(6, 182, 212, 0.12);
  border: 1px solid rgba(6, 182, 212, 0.3);
  color: #38bdf8;
}

.badge-glow-purple {
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid rgba(139, 92, 246, 0.3);
  color: #c084fc;
}

/* Scrollytelling Reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}
.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }
.delay-500 { transition-delay: 500ms; }

/* Ambient Background Glows */
.ambient-glow-amber {
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.12) 0%, rgba(8, 10, 21, 0) 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

.ambient-glow-indigo {
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.12) 0%, rgba(8, 10, 21, 0) 70%);
  filter: blur(70px);
  pointer-events: none;
  z-index: 0;
}

.ambient-glow-cyan {
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.1) 0%, rgba(8, 10, 21, 0) 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

/* Animated Grid Pattern */
.cyber-grid {
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* Pulse animation for live status badges */
@keyframes pulse-subtle {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.08); }
}
.pulse-badge {
  animation: pulse-subtle 2s infinite ease-in-out;
}

/* ==========================================
   Typography & High-Contrast Fallbacks
   ========================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #ffffff;
  letter-spacing: -0.02em;
}

/* Ensure no dark-on-dark text anywhere on dark pages */
.text-slate-900, .text-gray-900, .text-gray-800, .text-slate-800 {
  color: #ffffff !important;
}
.text-slate-700, .text-gray-700, .text-slate-600, .text-gray-600 {
  color: #e2e8f0 !important;
}
.text-slate-500, .text-gray-500 {
  color: #94a3b8 !important;
}
.text-slate-400, .text-gray-400 {
  color: #cbd5e1 !important;
}

/* Force navbar visibility on desktop */
@media (min-width: 1024px) {
  .lg\:flex {
    display: flex !important;
  }
  .lg\:hidden {
    display: none !important;
  }
}

/* Interactive Card Elevation & Glow */
.interactive-card {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.9) 0%, rgba(11, 16, 34, 0.95) 100%);
  border: 1px solid rgba(6, 182, 212, 0.2);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.interactive-card:hover {
  transform: translateY(-6px);
  border-color: rgba(245, 158, 11, 0.5);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.6), 0 0 25px rgba(6, 182, 212, 0.2);
}
