:root {
  --brand-cyan: #22d3ee;
  --brand-blue: #3b82f6;
}
body {
  font-family: 'Inter', sans-serif;
  background-color: #030712;
  color: #f9fafb;
  -webkit-tap-highlight-color: transparent;
}
html {
  scroll-behavior: smooth;
}
.glass {
  background: rgba(17, 24, 39, 0.4);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.glass-card {
  background: linear-gradient(135deg, rgba(31, 41, 55, 0.3) 0%, rgba(17, 24, 39, 0.5) 100%);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.glass-active {
  background: rgba(34, 211, 238, 0.08);
  border: 1px solid rgba(34, 211, 238, 0.3);
  box-shadow: 0 0 25px rgba(34, 211, 238, 0.15);
}
.gradient-text {
  background: linear-gradient(135deg, #22d3ee 0%, #3b82f6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(34, 211, 238, 0.1) 0%, transparent 70%);
  pointer-events: none;
}
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: #030712;
}
::-webkit-scrollbar-thumb {
  background: #1f2937;
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: #374151;
}

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

@keyframes slideIn {
  from { transform: translateX(-100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes activePulse {
  0% { box-shadow: 0 0 15px rgba(34, 211, 238, 0.1); }
  50% { box-shadow: 0 0 30px rgba(34, 211, 238, 0.25); }
  100% { box-shadow: 0 0 15px rgba(34, 211, 238, 0.1); }
}

.animate-fadeIn {
  animation: fadeIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-slideIn {
  animation: slideIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-activePulse {
  animation: activePulse 2s infinite ease-in-out;
}

.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.tab-active-indicator {
  position: absolute;
  left: 0;
  top: 20%;
  bottom: 20%;
  width: 3px;
  background: #22d3ee;
  box-shadow: 0 0 15px #22d3ee;
  border-radius: 0 4px 4px 0;
  animation: slideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Global Responsive Fixes */
.responsive-container {
  width: 100%;
  max-width: 100%;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 768px) {
  .responsive-container {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }
}
@media (min-width: 1280px) {
  .responsive-container {
    max-width: 80rem;
  }
}

/* Hamburger Morph Animation */
.nav-icon {
  width: 24px;
  height: 18px;
  position: relative;
  cursor: pointer;
}
.nav-icon span {
  display: block;
  position: absolute;
  height: 2px;
  width: 100%;
  background: #fff;
  border-radius: 9px;
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: .25s ease-in-out;
}
.nav-icon span:nth-child(1) { top: 0px; }
.nav-icon span:nth-child(2) { top: 8px; }
.nav-icon span:nth-child(3) { top: 16px; }

.nav-icon.open span:nth-child(1) {
  top: 8px;
  transform: rotate(135deg);
}
.nav-icon.open span:nth-child(2) {
  opacity: 0;
  left: -60px;
}
.nav-icon.open span:nth-child(3) {
  top: 8px;
  transform: rotate(-135deg);
}

/* Global Page Transition Overlay */
.page-transition-overlay {
  position: fixed;
  inset: 0;
  background-color: #030712;
  z-index: 9999;
  pointer-events: none;
  opacity: 1; /* Start dark */
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.page-transition-overlay.loaded {
  opacity: 0; /* Fade to clear */
}
.page-transition-overlay.navigating {
  opacity: 1; /* Fade to dark on click */
  pointer-events: all;
}

@keyframes shake {
  0% { transform: rotate(0deg); }
  25% { transform: rotate(10deg); }
  50% { transform: rotate(0deg); }
  75% { transform: rotate(-10deg); }
  100% { transform: rotate(0deg); }
}

.hover-shake:hover {
  animation: shake 0.3s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  perspective: 1000px;
}
