/* Base Styles */
:root {
  --foreground-rgb: 255, 255, 255;
  --background-start-rgb: 0, 0, 0;
  --background-end-rgb: 0, 0, 0;
  --font-orbitron: 'Orbitron', sans-serif;
  --font-rajdhani: 'Rajdhani', sans-serif;
  --primary: #dc2626;
  --primary-light: rgba(220, 38, 38, 0.2);
  --primary-lighter: rgba(220, 38, 38, 0.1);
  --zinc-800: #27272a;
  --zinc-900: #18181b;
  --zinc-950: #09090b;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  color: rgb(var(--foreground-rgb));
  background: linear-gradient(to bottom, transparent, rgb(var(--background-end-rgb))) rgb(var(--background-start-rgb));
  font-family: var(--font-rajdhani);
  line-height: 1.5;
}

h1, h2, h3, h4, h5, h6, .font-display {
  font-family: var(--font-orbitron);
  letter-spacing: 0.05em;
}

.font-mono {
  font-family: var(--font-rajdhani);
  letter-spacing: 0.05em;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Layout */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.relative {
  position: relative;
}

.absolute {
  position: absolute;
}

.fixed {
  position: fixed;
}

.inset-0 {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.z-0 {
  z-index: 0;
}

.z-5 {
  z-index: 5;
}

.z-10 {
  z-index: 10;
}

.z-20 {
  z-index: 20;
}

.z-50 {
  z-index: 50;
}

.flex {
  display: flex;
}

.inline-flex {
  display: inline-flex;
}

.inline-block {
  display: inline-block;
}

.grid {
  display: grid;
}

.flex-col {
  flex-direction: column;
}

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.flex-wrap {
  flex-wrap: wrap;
}

.gap-2 {
  gap: 0.5rem;
}

.gap-4 {
  gap: 1rem;
}

.gap-6 {
  gap: 1.5rem;
}

.gap-8 {
  gap: 2rem;
}

.gap-12 {
  gap: 3rem;
}

.gap-16 {
  gap: 4rem;
}

.space-y-2 > * + * {
  margin-top: 0.5rem;
}

.space-y-3 > * + * {
  margin-top: 0.75rem;
}

.space-y-4 > * + * {
  margin-top: 1rem;
}

.space-x-8 > * + * {
  margin-left: 2rem;
}

.w-full {
  width: 100%;
}

.w-1 {
  width: 0.25rem;
}

.w-2 {
  width: 0.5rem;
}

.w-3 {
  width: 0.75rem;
}

.w-8 {
  width: 2rem;
}

.w-12 {
  width: 3rem;
}

.w-28 {
  width: 7rem;
}

.w-40 {
  width: 10rem;
}

.h-1 {
  height: 0.25rem;
}

.h-2 {
  height: 0.5rem;
}

.h-3 {
  height: 0.75rem;
}

.h-6 {
  height: 1.5rem;
}

.h-8 {
  height: 2rem;
}

.h-20 {
  height: 5rem;
}

.h-28 {
  height: 7rem;
}

.h-64 {
  height: 16rem;
}

.h-full {
  height: 100%;
}

.h-screen {
  height: 100vh;
}

.min-h-screen {
  min-height: 100vh;
}

.max-w-md {
  max-width: 28rem;
}

.max-w-3xl {
  max-width: 48rem;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.my-auto {
  margin-top: auto;
  margin-bottom: auto;
}

.mt-1 {
  margin-top: 0.25rem;
}

.mt-2 {
  margin-top: 0.5rem;
}

.mt-3 {
  margin-top: 0.75rem;
}

.mt-4 {
  margin-top: 1rem;
}

.mt-6 {
  margin-top: 1.5rem;
}

.mt-8 {
  margin-top: 2rem;
}

.mt-12 {
  margin-top: 3rem;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-3 {
  margin-bottom: 0.75rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.mb-12 {
  margin-bottom: 3rem;
}

.mb-16 {
  margin-bottom: 4rem;
}

.ml-1 {
  margin-left: 0.25rem;
}

.ml-2 {
  margin-left: 0.5rem;
}

.ml-3 {
  margin-left: 0.75rem;
}

.ml-4 {
  margin-left: 1rem;
}

.ml-auto {
  margin-left: auto;
}

.mr-3 {
  margin-right: 0.75rem;
}

.mr-4 {
  margin-right: 1rem;
}

.p-1 {
  padding: 0.25rem;
}

.p-2 {
  padding: 0.5rem;
}

.p-3 {
  padding: 0.75rem;
}

.p-4 {
  padding: 1rem;
}

.p-6 {
  padding: 1.5rem;
}

.p-8 {
  padding: 2rem;
}

.px-2 {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.px-3 {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.px-5 {
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.px-6 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.px-8 {
  padding-left: 2rem;
  padding-right: 2rem;
}

.py-1 {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}

.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.py-3 {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.py-4 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.py-5 {
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}

.py-12 {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.py-16 {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.py-20 {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.pt-8 {
  padding-top: 2rem;
}

/* Typography */
.text-xs {
  font-size: 0.75rem;
}

.text-sm {
  font-size: 0.875rem;
}

.text-base {
  font-size: 1rem;
}

.text-lg {
  font-size: 1.125rem;
}

.text-xl {
  font-size: 1.25rem;
}

.text-2xl {
  font-size: 1.5rem;
}

.text-3xl {
  font-size: 1.875rem;
}

.text-4xl {
  font-size: 2.25rem;
}

.text-5xl {
  font-size: 3rem;
}

.text-6xl {
  font-size: 3.75rem;
}

.text-7xl {
  font-size: 4.5rem;
}

.font-bold {
  font-weight: 700;
}

.font-semibold {
  font-weight: 600;
}

.font-mono {
  font-family: monospace;
}

.italic {
  font-style: italic;
}

.tracking-wide {
  letter-spacing: 0.025em;
}

.tracking-wider {
  letter-spacing: 0.05em;
}

.tracking-widest {
  letter-spacing: 0.1em;
}

.text-left {
  text-align: left;
}

.text-center {
  text-align: center;
}

.text-white {
  color: white;
}

.text-black {
  color: black;
}

.text-red-500 {
  color: #ef4444;
}

.text-red-600 {
  color: #dc2626;
}

.text-cyan-500 {
  color: #06b6d4;
}

.text-zinc-300 {
  color: #d4d4d8;
}

.text-zinc-400 {
  color: #a1a1aa;
}

.text-zinc-500 {
  color: #71717a;
}

/* Backgrounds */
.bg-black {
  background-color: #000;
}

.bg-white {
  background-color: #fff;
}

.bg-red-600 {
  background-color: #dc2626;
}

.bg-red-700 {
  background-color: #b91c1c;
}

.bg-zinc-800 {
  background-color: #27272a;
}

.bg-zinc-900 {
  background-color: #18181b;
}

.bg-zinc-950 {
  background-color: #09090b;
}

.bg-transparent {
  background-color: transparent;
}

.bg-black\/50 {
  background-color: rgba(0, 0, 0, 0.5);
}

.bg-black\/70 {
  background-color: rgba(0, 0, 0, 0.7);
}

.bg-black\/90 {
  background-color: rgba(0, 0, 0, 0.9);
}

.bg-black\/80 {
  background-color: rgba(0, 0, 0, 0.8);
}

.bg-zinc-900\/80 {
  background-color: rgba(24, 24, 27, 0.8);
}

.bg-zinc-900\/95 {
  background-color: rgba(24, 24, 27, 0.95);
}

.bg-red-600\/10 {
  background-color: rgba(220, 38, 38, 0.1);
}

.bg-red-600\/20 {
  background-color: rgba(220, 38, 38, 0.2);
}

.bg-red-600\/30 {
  background-color: rgba(220, 38, 38, 0.3);
}

.bg-white\/5 {
  background-color: rgba(255, 255, 255, 0.05);
}

.bg-white\/10 {
  background-color: rgba(255, 255, 255, 0.1);
}

.bg-white\/30 {
  background-color: rgba(255, 255, 255, 0.3);
}

.bg-cover {
  background-size: cover;
}

.bg-center {
  background-position: center;
}

.bg-repeat {
  background-repeat: repeat;
}

.bg-repeat-y {
  background-repeat: repeat-y;
}

.bg-size-100 {
  background-size: 100% auto;
}

.backdrop-blur-md {
  backdrop-filter: blur(12px);
}

.backdrop-blur-sm {
  backdrop-filter: blur(4px);
}

.backdrop-blur-lg {
  backdrop-filter: blur(16px);
}

.opacity-5 {
  opacity: 0.05;
}

.opacity-10 {
  opacity: 0.1;
}

.opacity-30 {
  opacity: 0.3;
}

.opacity-50 {
  opacity: 0.5;
}

.opacity-70 {
  opacity: 0.7;
}

.opacity-75 {
  opacity: 0.75;
}

.opacity-80 {
  opacity: 0.8;
}

.opacity-90 {
  opacity: 0.9;
}

.opacity-0 {
  opacity: 0;
}

.mix-blend-overlay {
  mix-blend-mode: overlay;
}

/* Borders */
.border {
  border-width: 1px;
  border-style: solid;
}

.border-t {
  border-top-width: 1px;
  border-top-style: solid;
}

.border-b {
  border-bottom-width: 1px;
  border-bottom-style: solid;
}

.border-l {
  border-left-width: 1px;
  border-left-style: solid;
}

.border-r {
  border-right-width: 1px;
  border-right-style: solid;
}

.border-red-600 {
  border-color: #dc2626;
}

.border-red-600\/30 {
  border-color: rgba(220, 38, 38, 0.3);
}

.border-red-600\/50 {
  border-color: rgba(220, 38, 38, 0.5);
}

.border-zinc-700 {
  border-color: #3f3f46;
}

.border-zinc-800 {
  border-color: #27272a;
}

.border-zinc-900 {
  border-color: #18181b;
}

.border-white\/30 {
  border-color: rgba(255, 255, 255, 0.3);
}

/* Transforms */
.transform {
  transform-origin: center;
}

.rotate-45 {
  transform: rotate(45deg);
}

.-rotate-45 {
  transform: rotate(-45deg);
}

.rotate-\[135deg\] {
  transform: rotate(135deg);
}

.origin-top-right {
  transform-origin: top right;
}

.-translate-x-full {
  transform: translateX(-100%);
}

.-translate-x-2 {
  transform: translateX(-0.5rem);
}

.translate-x-1 {
  transform: translateX(0.25rem);
}

.translate-x-2 {
  transform: translateX(0.5rem);
}

.translate-x-full {
  transform: translateX(100%) !important;
}

.-translate-y-1 {
  transform: translateY(-0.25rem);
}

.translate-y-1 {
  transform: translateY(0.25rem);
}

.translate-y-\[6px\] {
  transform: translateY(6px);
}

.-translate-y-\[6px\] {
  transform: translateY(-6px);
}

.-skew-x-20 {
  transform: skewX(-20deg);
}

/* Transitions */
.transition-all {
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 300ms;
}

.transition-colors {
  transition-property: color, background-color, border-color;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 300ms;
}

.transition-transform {
  transition-property: transform;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 300ms;
}

.transition-opacity {
  transition-property: opacity;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 300ms;
}

.duration-300 {
  transition-duration: 300ms;
}

.ease-in-out {
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Animations */
@keyframes scan {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

@keyframes blink {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

@keyframes glitch {
  0% {
    text-shadow: 0.05em 0 0 rgba(255, 0, 0, 0.75), -0.025em -0.05em 0 rgba(0, 255, 0, 0.75), 0.025em 0.05em 0 rgba(0, 0, 255, 0.75);
  }
  14% {
    text-shadow: 0.05em 0 0 rgba(255, 0, 0, 0.75), -0.025em -0.05em 0 rgba(0, 255, 0, 0.75), 0.025em 0.05em 0 rgba(0, 0, 255, 0.75);
  }
  15% {
    text-shadow: -0.05em -0.025em 0 rgba(255, 0, 0, 0.75), 0.025em 0.025em 0 rgba(0, 255, 0, 0.75), -0.05em -0.05em 0 rgba(0, 0, 255, 0.75);
  }
  49% {
    text-shadow: -0.05em -0.025em 0 rgba(255, 0, 0, 0.75), 0.025em 0.025em 0 rgba(0, 255, 0, 0.75), -0.05em -0.05em 0 rgba(0, 0, 255, 0.75);
  }
  50% {
    text-shadow: 0.025em 0.05em 0 rgba(255, 0, 0, 0.75), 0.05em 0 0 rgba(0, 255, 0, 0.75), 0 -0.05em 0 rgba(0, 0, 255, 0.75);
  }
  99% {
    text-shadow: 0.025em 0.05em 0 rgba(255, 0, 0, 0.75), 0.05em 0 0 rgba(0, 255, 0, 0.75), 0 -0.05em 0 rgba(0, 0, 255, 0.75);
  }
  100% {
    text-shadow: -0.025em 0 0 rgba(255, 0, 0, 0.75), -0.025em -0.025em 0 rgba(0, 255, 0, 0.75), -0.025em -0.05em 0 rgba(0, 0, 255, 0.75);
  }
}

@keyframes logo-shine {
  0% {
    transform: translateX(-100%);
  }
  20% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(100%);
  }
}

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

.animate-blink {
  animation: blink 0.8s infinite;
}

.animate-scan {
  animation: scan 2s linear infinite;
}

.glitch {
  position: relative;
  text-shadow: 0.05em 0 0 rgba(255, 0, 0, 0.75), -0.025em -0.05em 0 rgba(0, 255, 0, 0.75), 0.025em 0.05em 0 rgba(0, 0, 255, 0.75);
  animation: glitch 500ms infinite;
}

/* Menu transition animation */
.menu-enter {
  opacity: 0;
  transform: translateX(100%);
}

.menu-enter-active {
  opacity: 1;
  transform: translateX(0);
  transition: opacity 300ms, transform 300ms;
}

.menu-exit {
  opacity: 1;
  transform: translateX(0);
}

.menu-exit-active {
  opacity: 0;
  transform: translateX(100%);
  transition: opacity 300ms, transform 300ms;
}

/* Remove padding adjustment when menu is open */
.menu-open {
  padding-right: 0;
}

@media (max-width: 768px) {
  .menu-open {
    padding-right: 0;
  }
}

/* Hover Effects */
.hover\:bg-red-600:hover {
  background-color: #dc2626;
}

.hover\:bg-red-700:hover {
  background-color: #b91c1c;
}

.hover\:bg-white\/5:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

.hover\:bg-zinc-900:hover {
  background-color: #18181b;
}

.hover\:text-red-500:hover {
  color: #ef4444;
}

.hover\:text-red-600:hover {
  color: #dc2626;
}

.hover\:border-red-600\/30:hover {
  border-color: rgba(220, 38, 38, 0.3);
}

.hover\:border-red-600\/50:hover {
  border-color: rgba(220, 38, 38, 0.5);
}

.group:hover .group-hover\:w-full {
  width: 100%;
}

.group:hover .group-hover\:translate-x-1 {
  transform: translateX(0.25rem);
}

.group:hover .group-hover\:w-8 {
  width: 2rem;
}

.group:hover .group-hover\:mr-4 {
  margin-right: 1rem;
}

/* Responsive */
@media (min-width: 768px) {
  .md\:flex {
    display: flex !important;
  }

  .md\:hidden {
    display: none !important;
  }

  .md\:flex-row {
    flex-direction: row;
  }

  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .md\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .md\:mb-0 {
    margin-bottom: 0;
  }

  .md\:text-2xl {
    font-size: 1.5rem;
  }

  .md\:text-7xl {
    font-size: 4.5rem;
  }

  .md\:block {
    display: block !important;
  }

  .md\:w-96 {
    width: 24rem;
  }
}

/* Utilities */
.overflow-hidden {
  overflow: hidden;
}

.overflow-y-auto {
  overflow-y: auto;
}

.pointer-events-none {
  pointer-events: none;
}

.focus\:outline-none:focus {
  outline: none;
}

.focus\:border-red-600:focus {
  border-color: #dc2626;
}

/* Custom Styles */
.cyberpunk-header {
  position: relative;
}

.cyberpunk-header h1 {
  font-size: 3rem;
  font-weight: bold;
  letter-spacing: 0.1em;
}

@media (min-width: 768px) {
  .cyberpunk-header h1 {
    font-size: 4.5rem;
  }
}

.cyberpunk-header .red-line {
  height: 4px;
  background-color: #dc2626;
  width: 10rem;
  margin: 1rem auto;
  position: relative;
  overflow: hidden;
}

.cyberpunk-header .red-line::after {
  content: '';
  position: absolute;
  inset: 0;
  background-color: white;
  opacity: 0.75;
  transform: translateX(-100%);
  animation: scan 2s linear infinite;
}

.cyberpunk-header .digital-code {
  font-size: 0.75rem;
  color: rgba(220, 38, 38, 0.8);
  margin-top: 0.5rem;
  letter-spacing: 0.2em;
  animation: pulse 2s infinite;
}

.glitch-text {
  font-family: var(--font-mono);
  position: relative;
}

.glitch-text .cursor {
  display: inline-block;
  width: 0.5rem;
  height: 1rem;
  background-color: #dc2626;
  margin-left: 0.25rem;
  animation: blink 0.8s infinite;
}

.hidden {
  display: none;
}

/* Logo styles */
.logo {
  height: 40px;
  width: auto;
  transition: all 0.3s ease;
}

.logo-container {
  position: relative;
  overflow: hidden;
}

.logo-container::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transform: translateX(-100%);
  animation: logo-shine 3s forwards;
}

.scrolled .logo {
  height: 35px;
}

/* Language Selector */
.language-selector {
  position: relative;
  margin-left: 1rem;
}

.language-selector button {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem;
  color: white;
  font-size: 0.875rem;
  transition: all 0.3s ease;
}

.language-selector button:hover {
  color: var(--primary);
}

.language-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  background: var(--zinc-900);
  border: 1px solid var(--zinc-800);
  min-width: 120px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.language-selector:hover .language-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.language-dropdown a {
  display: block;
  padding: 0.5rem 1rem;
  color: white;
  font-size: 0.875rem;
  transition: all 0.3s ease;
}

.language-dropdown a:hover {
  background: rgba(220, 38, 38, 0.1);
  color: var(--primary);
}

/* Header Search */
.header-search {
  position: relative;
  width: 200px;
}

.header-search input {
  width: 100%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.5rem 2rem;
  color: white;
  font-size: 0.875rem;
  transition: all 0.3s ease;
}

.header-search input:focus {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--primary);
  outline: none;
}

.header-search svg {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1rem;
  height: 1rem;
  color: rgba(255, 255, 255, 0.5);
}

/* Notification Badge */
.notification-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: var(--primary);
  color: white;
  font-size: 0.75rem;
  padding: 0.25rem 0.5rem;
  border-radius: 9999px;
  animation: pulse 2s infinite;
}

/* Floating Contact */
.floating-contact {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--primary);
  color: white;
  padding: 1rem;
  border-radius: 9999px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  z-index: 50;
}

.floating-contact:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 8px -1px rgba(0, 0, 0, 0.2), 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.max-w-xs {
  max-width: 20rem;
}

/* Shadow utilities */
.shadow-md {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.shadow-2xl {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Additional media queries */
@media (max-width: 768px) {
  .floating-contact {
    display: block;
  }

  .header-search {
    display: none;
  }

  .language-selector {
    display: none;
  }
}
