:root {
  /* Cosmic Color Palette */
  --cosmic-primary: #0F1419;
  --cosmic-secondary: #2A1F5C;
  --cosmic-background: #0A0D14;
  --cosmic-footer: #1A1D24;
  --neon-accent: #00D4FF;
  --neon-glow: rgba(0, 212, 255, 0.3);
  --corporate-white: #FFFFFF;
  --corporate-gray: #E5E7EB;
  --corporate-dark: #6B7280;
  
  /* Typography Scale */
  --font-primary: 'Inter', 'Segoe UI', system-ui, sans-serif;
  --font-display: 'Orbitron', 'Inter', monospace;
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  
  /* Spacing System */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  
  /* Border System */
  --border-xs: 1px;
  --border-sm: 2px;
  --border-radius: 4px;
  --border-radius-lg: 8px;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(15, 20, 25, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(15, 20, 25, 0.1);
  --shadow-neon: 0 0 20px rgba(0, 212, 255, 0.2);
  --shadow-cosmic: 0 25px 50px -12px rgba(42, 31, 92, 0.25);
}

/* Base Styles */
* {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  background-color: var(--cosmic-background);
  color: var(--corporate-white);
  line-height: 1.6;
  margin: 0;
  padding: 0;
  min-height: 100vh;
}

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
  color: var(--corporate-white);
}

h1 { font-size: var(--text-5xl); }
h2 { font-size: var(--text-4xl); }
h3 { font-size: var(--text-3xl); }
h4 { font-size: var(--text-2xl); }
h5 { font-size: var(--text-xl); }
h6 { font-size: var(--text-lg); }

p {
  margin: 0;
  color: var(--corporate-gray);
  font-size: var(--text-base);
}

a {
  color: var(--neon-accent);
  text-decoration: none;
  transition: all 0.2s ease;
}

a:hover {
  color: var(--corporate-white);
  text-shadow: 0 0 8px var(--neon-glow);
}

/* Layout Components */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-4);
}

.container-wide {
  max-width: none;
  margin: 0 auto;
}

/* Header */
.header {
  background: linear-gradient(135deg, var(--cosmic-primary) 0%, var(--cosmic-secondary) 100%);
  border-bottom: var(--border-xs) solid rgba(0, 212, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    linear-gradient(90deg, transparent 0%, rgba(0, 212, 255, 0.03) 50%, transparent 100%),
    linear-gradient(0deg, transparent 0%, rgba(0, 212, 255, 0.02) 100%);
  pointer-events: none;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) 0;
  position: relative;
  z-index: 1;
}

.logo {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--corporate-white);
  text-decoration: none;
  position: relative;
}

.logo:hover {
  color: var(--neon-accent);
  text-shadow: 0 0 15px var(--neon-glow);
}

.nav {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: var(--space-8);
}

.nav a {
  color: var(--corporate-gray);
  font-weight: 500;
  font-size: var(--text-base);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--border-radius);
  transition: all 0.3s ease;
  position: relative;
}

.nav a:hover,
.nav a.active {
  color: var(--neon-accent);
  background: rgba(0, 212, 255, 0.1);
  box-shadow: 0 0 15px rgba(0, 212, 255, 0.2);
}

/* Main Content */
.main {
  min-height: calc(100vh - 200px);
}

/* Sections */
.section {
  padding: var(--space-20) 0;
  position: relative;
}

.section:nth-child(even) {
  background-color: var(--cosmic-primary);
}

.section:nth-child(odd) {
  background-color: var(--cosmic-background);
}

/* Hero Section */
.hero {
  padding: var(--space-20) 0;
  text-align: center;
  position: relative;
  background: 
    radial-gradient(circle at 20% 80%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(42, 31, 92, 0.2) 0%, transparent 50%);
}

.hero h1 {
  font-size: var(--text-5xl);
  margin-bottom: var(--space-6);
  background: linear-gradient(135deg, var(--corporate-white) 0%, var(--neon-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
}

.hero p {
  font-size: var(--text-lg);
  color: var(--corporate-gray);
  margin-bottom: var(--space-8);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-3) var(--space-6);
  font-family: var(--font-primary);
  font-size: var(--text-base);
  font-weight: 600;
  text-decoration: none;
  border: var(--border-xs) solid transparent;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: var(--neon-accent);
  color: var(--cosmic-background);
  border-color: var(--neon-accent);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

.btn-primary:hover {
  background: rgba(0, 212, 255, 0.9);
  transform: translateY(-1px);
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--corporate-white);
  border-color: var(--neon-accent);
}

.btn-secondary:hover {
  background: var(--neon-accent);
  color: var(--cosmic-background);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

.btn-ghost {
  background: transparent;
  color: var(--corporate-gray);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--corporate-white);
  border-color: rgba(255, 255, 255, 0.3);
}

/* Cards */
.card {
  background: linear-gradient(135deg, var(--cosmic-primary) 0%, rgba(42, 31, 92, 0.3) 100%);
  border: var(--border-xs) solid rgba(0, 212, 255, 0.1);
  border-radius: var(--border-radius-lg);
  padding: var(--space-6);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--neon-accent), transparent);
}

.card:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 212, 255, 0.3);
  box-shadow: var(--shadow-neon);
}

.card h3 {
  color: var(--corporate-white);
  margin-bottom: var(--space-3);
  font-size: var(--text-xl);
}

.card p {
  color: var(--corporate-gray);
  margin-bottom: 0;
}

/* Grid System */
.grid {
  display: grid;
  gap: var(--space-6);
}

.grid-1 { grid-template-columns: 1fr; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* Forms */
.form-group {
  margin-bottom: var(--space-4);
}

.form-label {
  display: block;
  color: var(--corporate-white);
  font-weight: 500;
  margin-bottom: var(--space-2);
  font-size: var(--text-sm);
}

.form-input {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  background: rgba(255, 255, 255, 0.05);
  border: var(--border-xs) solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius);
  color: var(--corporate-white);
  font-size: var(--text-base);
  transition: all 0.3s ease;
}

.form-input:focus {
  outline: none;
  border-color: var(--neon-accent);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

.form-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-1 { margin-bottom: var(--space-1); }
.mb-2 { margin-bottom: var(--space-2); }
.mb-3 { margin-bottom: var(--space-3); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }

.mt-1 { margin-top: var(--space-1); }
.mt-2 { margin-top: var(--space-2); }
.mt-3 { margin-top: var(--space-3); }
.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }

.p-1 { padding: var(--space-1); }
.p-2 { padding: var(--space-2); }
.p-3 { padding: var(--space-3); }
.p-4 { padding: var(--space-4); }
.p-6 { padding: var(--space-6); }
.p-8 { padding: var(--space-8); }

.hidden { display: none; }
.block { display: block; }
.inline { display: inline; }
.inline-block { display: inline-block; }
.flex { display: flex; }
.inline-flex { display: inline-flex; }

/* Accent Elements */
.accent-border {
  border: var(--border-sm) solid var(--neon-accent);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.2);
}

.glow-text {
  color: var(--neon-accent);
  text-shadow: 0 0 10px var(--neon-glow);
}

.section-title {
  text-align: center;
  margin-bottom: var(--space-12);
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 2px;
  background: var(--neon-accent);
  margin: var(--space-4) auto 0;
  box-shadow: 0 0 10px var(--neon-glow);
}

/* Footer */
.footer {
  background: var(--cosmic-footer);
  border-top: var(--border-xs) solid rgba(0, 212, 255, 0.1);
  padding: var(--space-12) 0 var(--space-8);
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--neon-accent), transparent);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-8);
  margin-bottom: var(--space-8);
}

.footer h4 {
  color: var(--corporate-white);
  margin-bottom: var(--space-4);
  font-size: var(--text-lg);
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer ul li {
  margin-bottom: var(--space-2);
}

.footer ul li a {
  color: var(--corporate-gray);
  font-size: var(--text-sm);
  transition: color 0.2s ease;
}

.footer ul li a:hover {
  color: var(--neon-accent);
}

.footer-bottom {
  border-top: var(--border-xs) solid rgba(255, 255, 255, 0.1);
  padding-top: var(--space-6);
  text-align: center;
  color: var(--corporate-gray);
  font-size: var(--text-sm);
}

/* Responsive Design */
@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    gap: var(--space-4);
  }
  
  .nav {
    gap: var(--space-4);
  }
  
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
  
  .hero h1 {
    font-size: var(--text-4xl);
  }
  
  .section {
    padding: var(--space-12) 0;
  }
  
  .container {
    padding: 0 var(--space-3);
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: var(--text-3xl);
  }
  
  .nav {
    flex-direction: column;
    gap: var(--space-2);
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
}

/* Animation Classes */
.fade-in {
  animation: fadeIn 0.6s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.slide-in {
  animation: slideIn 0.8s ease-out;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Focus States for Accessibility */
*:focus {
  outline: 2px solid var(--neon-accent);
  outline-offset: 2px;
}

.btn:focus,
.form-input:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.2);
}

/* Loading States */
.loading {
  position: relative;
  overflow: hidden;
}

.loading::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.3), transparent);
  animation: loading 1.5s infinite;
}

@keyframes loading {
  0% { left: -100%; }
  100% { left: 100%; }
}


/* Cookie Banner Additional Styles for Tailwind */
.cookie-banner-hover-effect:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

@media (prefers-reduced-motion: reduce) {
    .cookie-banner-hover-effect:hover {
        transform: none;
    }
}