/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --background: hsl(240, 10%, 3%);
  --foreground: hsl(0, 0%, 98%);
  --card: hsl(240, 10%, 7%);
  --card-foreground: hsl(0, 0%, 95%);
  --popover: hsl(240, 10%, 7%);
  --popover-foreground: hsl(0, 0%, 95%);
  --primary: hsl(195, 100%, 50%);
  --primary-foreground: hsl(240, 10%, 3%);
  --secondary: hsl(280, 60%, 50%);
  --secondary-foreground: hsl(0, 0%, 98%);
  --muted: hsl(240, 5%, 15%);
  --muted-foreground: hsl(240, 4%, 64%);
  --accent: hsl(300, 100%, 50%);
  --accent-foreground: hsl(0, 0%, 98%);
  --destructive: hsl(356.3033, 90.5579%, 54.3137%);
  --destructive-foreground: hsl(0, 0%, 100%);
  --border: hsl(240, 6%, 20%);
  --input: hsl(240, 6%, 15%);
  --ring: hsl(195, 100%, 50%);
  --font-orbitron: 'Orbitron', monospace;
  --font-inter: 'Inter', sans-serif;
  --radius: 0.75rem;
}

.dark {
  --background: hsl(240, 10%, 3%);
  --foreground: hsl(0, 0%, 98%);
  --card: hsl(240, 10%, 7%);
  --card-foreground: hsl(0, 0%, 95%);
  --primary: hsl(195, 100%, 50%);
  --secondary: hsl(280, 60%, 50%);
  --accent: hsl(300, 100%, 50%);
  --muted: hsl(240, 5%, 15%);
  --muted-foreground: hsl(240, 4%, 64%);
  --border: hsl(240, 6%, 20%);
  --input: hsl(240, 6%, 15%);
}

body {
  font-family: var(--font-inter);
  background-color: var(--background);
  color: var(--foreground);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html.dark body {
  background-color: var(--background);
  color: var(--foreground);
}

.orbitron {
  font-family: var(--font-orbitron);
}

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

.max-w-7xl {
  max-width: 1280px;
}

.max-w-4xl {
  max-width: 896px;
}

.max-w-3xl {
  max-width: 768px;
}

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

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

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

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

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

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

.mb-10 {
  margin-bottom: 2.5rem;
}

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

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

/* Navigation Styles */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background-color: hsla(240, 10%, 3%, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

.nav-link {
  position: relative;
  transition: all 0.3s ease;
  text-decoration: none;
  color: var(--foreground);
}

.nav-link:hover {
  color: var(--primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-brand {
  font-family: var(--font-orbitron);
  font-size: 1.25rem;
  font-weight: bold;
  color: var(--primary);
  text-decoration: none;
}

.mobile-menu-button {
  display: none;
  background: none;
  border: none;
  color: var(--foreground);
  cursor: pointer;
  padding: 0.5rem;
}

.desktop-menu {
  display: none;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 768px) {
  .desktop-menu {
    display: flex;
  }
}

.mobile-menu {
  /* Visibility controlled by .hidden and .open classes */
}

.mobile-menu.open {
  display: block !important;
}

@media (max-width: 768px) {
  .desktop-menu {
    display: none;
  }
}

/* Typography */
h1 {
  font-family: var(--font-orbitron);
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 1.5rem;
  background: linear-gradient(45deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

h2 {
  font-family: var(--font-orbitron);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--foreground);
}

h3 {
  font-family: var(--font-orbitron);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--foreground);
}

h4 {
  font-family: var(--font-orbitron);
  font-weight: bold;
  margin-bottom: 0.5rem;
  color: var(--foreground);
}

p {
  margin-bottom: 1rem;
  line-height: 1.7;
}

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

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

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

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

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

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

.font-black {
  font-weight: 900;
}

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

.font-medium {
  font-weight: 500;
}

/* Colors */
.text-primary {
  color: var(--primary);
}

.text-secondary {
  color: var(--secondary);
}

.text-accent {
  color: var(--accent);
}

.text-muted-foreground {
  color: var(--muted-foreground);
}

.text-card-foreground {
  color: var(--card-foreground);
}

.bg-background {
  background-color: var(--background);
}

.bg-card {
  background-color: var(--card);
}

.bg-primary {
  background-color: var(--primary);
}

.border-border {
  border-color: var(--border);
}

.border-primary {
  border-color: var(--primary);
}

/* Layout Components */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 1.5rem 2rem;
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 896px;
}

.section {
  padding: 4rem 0;
}

/* Orb Components */
.orb {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(45deg, var(--primary), var(--accent));
  position: relative;
  margin: 0 auto;
  animation: float 6s ease-in-out infinite, glow 2s ease-in-out infinite alternate;
}

.orb::before {
  content: '';
  position: absolute;
  top: 15px;
  left: 15px;
  width: 20px;
  height: 20px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  filter: blur(1px);
}

.orb-small {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(45deg, var(--primary), var(--secondary));
  animation: float 8s ease-in-out infinite;
  opacity: 0.2;
  position: absolute;
}

.floating-orbs {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* Buttons */
.glow-button {
  background: linear-gradient(45deg, var(--primary), var(--accent));
  border: none;
  padding: 12px 30px;
  border-radius: var(--radius);
  color: var(--background);
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  font-family: var(--font-orbitron);
}

.glow-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  transition: left 0.5s;
}

.glow-button:hover::before {
  left: 100%;
}

.glow-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
}

.button-secondary {
  padding: 0.75rem 2rem;
  border: 1px solid var(--primary);
  background: transparent;
  color: var(--primary);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  font-family: var(--font-orbitron);
  font-weight: 500;
}

.button-secondary:hover {
  background-color: var(--primary);
  color: var(--background);
}

/* Cards */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.card-glow {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.card-glow:hover {
  border-color: var(--primary);
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.2);
  transform: translateY(-5px);
}

/* Forms */
.form-group {
  margin-bottom: 1rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--foreground);
}

.form-input {
  background: var(--input);
  border: 1px solid var(--border);
  color: var(--foreground);
  padding: 12px;
  border-radius: var(--radius);
  transition: all 0.3s ease;
  width: 100%;
  font-family: inherit;
}

.form-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(0, 212, 255, 0.2);
}

.form-textarea {
  background: var(--input);
  border: 1px solid var(--border);
  color: var(--foreground);
  padding: 12px;
  border-radius: var(--radius);
  transition: all 0.3s ease;
  width: 100%;
  min-height: 120px;
  resize: vertical;
  font-family: inherit;
}

.form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(0, 212, 255, 0.2);
}

/* Grid System */
.grid {
  display: grid;
  gap: 1.5rem;
}

.grid-cols-1 {
  grid-template-columns: repeat(1, 1fr);
}

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

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

.flex {
  display: flex;
}

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

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

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

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

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

.gap-4 {
  gap: 1rem;
}

.gap-6 {
  gap: 1.5rem;
}

.gap-8 {
  gap: 2rem;
}

/* Animations */
.fade-in {
  animation: fadeIn 0.5s ease-in;
}

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

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

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  25% { transform: translateY(-20px) rotate(90deg); }
  50% { transform: translateY(-40px) rotate(180deg); }
  75% { transform: translateY(-20px) rotate(270deg); }
}

@keyframes glow {
  from { box-shadow: 0 0 20px var(--primary), 0 0 40px var(--primary), 0 0 60px var(--primary); }
  to { box-shadow: 0 0 40px var(--accent), 0 0 60px var(--accent), 0 0 80px var(--accent); }
}

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

@keyframes twinkle {
  0%, 100% { opacity: 0.8; }
  50% { opacity: 0.3; }
}

/* Utility Classes */
.hidden {
  display: none !important;
}

.fixed {
  position: fixed;
}

.top-0 {
  top: 0;
}

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

.w-full {
  width: 100%;
}

.flex {
  display: flex;
}

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

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

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

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

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

.bg-slate-950 {
  background-color: rgb(2 6 23);
}

.bg-opacity-95 {
  background-color: rgba(2, 6, 23, 0.95);
}

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

.border-slate-800 {
  border-color: rgb(30 41 59);
}

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

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

.text-cyan-400 {
  color: rgb(34 211 238);
}

.block {
  display: block;
}

.lg\:hidden {
  display: block;
}

@media (min-width: 1024px) {
  .lg\:hidden {
    display: none;
  }
}

.left-0 {
  left: 0;
}

.right-0 {
  right: 0;
}

.h-16 {
  height: 4rem;
}

.h-5 {
  height: 1.25rem;
}

.w-5 {
  width: 1.25rem;
}

.max-w-7xl {
  max-width: 80rem;
}

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

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

.sm\:px-6 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.lg\:px-8 {
  padding-left: 1rem;
  padding-right: 1rem;
}

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

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

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

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

.pb-3 {
  padding-bottom: 0.75rem;
}

.p-2 {
  padding: 0.5rem;
}

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

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

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

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

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

.font-medium {
  font-weight: 500;
}

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

.text-foreground {
  color: var(--foreground);
}

.bg-background\/90 {
  background-color: hsla(240, 10%, 3%, 0.9);
}

.text-primary {
  color: var(--primary);
}

.text-muted-foreground {
  color: var(--muted-foreground);
}

.text-destructive {
  color: var(--destructive);
}

.hover\:text-primary:hover {
  color: var(--primary);
}

.bg-card {
  background-color: var(--card);
}

.bg-background {
  background-color: var(--background);
}

.border-border {
  border-color: var(--border);
}

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

.md\:hidden {
  display: block;
}

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

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

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

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

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

@media (min-width: 640px) {
  .sm\:px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 768px) {
  .desktop-menu {
    display: flex !important;
  }

  .mobile-menu-button {
    display: none;
  }

  .md\:hidden {
    display: none;
  }

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

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

@media (min-width: 1024px) {
  .lg\:px-8 {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}
.relative {
  position: relative;
}

.absolute {
  position: absolute;
}

.fixed {
  position: fixed;
}

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

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

.hidden {
  display: none !important;
}

.block {
  display: block;
}

.inline {
  display: inline;
}

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

.w-full {
  width: 100%;
}

.h-full {
  height: 100%;
}

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

.border {
  border: 1px solid;
}

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

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

.rounded {
  border-radius: 0.25rem;
}

.rounded-lg {
  border-radius: var(--radius);
}

.rounded-full {
  border-radius: 9999px;
}

/* Icons */
.icon {
  width: 1rem;
  height: 1rem;
  display: inline-block;
  vertical-align: middle;
  margin-right: 0.5rem;
}

.icon-lg {
  width: 1.5rem;
  height: 1.5rem;
}

/* Footer */
footer {
  background-color: var(--card);
  border-top: 1px solid var(--border);
  padding: 2rem 0;
  margin-top: 4rem;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  .mobile-menu-button {
    display: block;
  }
  
  .mobile-menu {
    padding: 0.5rem;
    background-color: var(--background);
    border-top: 1px solid var(--border);
  }
  
  .nav-link-mobile {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--foreground);
    text-decoration: none;
    font-family: var(--font-orbitron);
    font-weight: 500;
    transition: color 0.3s ease;
  }
  
  .nav-link-mobile:hover,
  .nav-link-mobile.active {
    color: var(--primary);
  }
  
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  .hero-section {
    padding: 5rem 1rem 2rem;
  }
  
  .section {
    padding: 2rem 0;
  }
  
  .grid-cols-2,
  .grid-cols-3 {
    grid-template-columns: 1fr;
  }
  
  .flex-row {
    flex-direction: column;
  }
  
  .px-6 {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  .container {
    padding: 0 1rem;
  }
  
  .glow-button,
  .button-secondary {
    width: 100%;
    justify-content: center;
    margin-bottom: 0.5rem;
  }
  
  .text-2xl {
    font-size: 1.25rem;
  }
  
  .text-xl {
    font-size: 1.125rem;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 2rem;
  }
  
  .hero-section {
    padding: 4rem 0.75rem 2rem;
  }
  
  .orb {
    width: 60px;
    height: 60px;
  }
  
  .orb::before {
    top: 11px;
    left: 11px;
    width: 15px;
    height: 15px;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  .animate-float,
  .animate-glow,
  .fade-in,
  .orb {
    animation: none;
  }
  
  .glow-button::before {
    display: none;
  }
}