/* CSS Variables for Galactic Minimalism Theme */
:root {
  /* Galactic Color Palette */
  --galactic-primary: #1e3a8a;
  --galactic-secondary: #6366f1;
  --galactic-background: #0f172a;
  --galactic-footer: #020617;
  --galactic-button: #7c3aed;
  --galactic-accent: #312e81;
  --galactic-section-dark: #1e1b4b;
  --galactic-section-light: #1e3a8a;
  
  /* Additional Galactic Colors */
  --cosmic-void: #000011;
  --stellar-blue: #3b82f6;
  --nebula-purple: #8b5cf6;
  --galactic-white: #f8fafc;
  --cosmic-gray: #64748b;
  
  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Space Grotesk', 'Inter', sans-serif;
  
  /* Spacing Scale */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  
  /* Border Radius */
  --radius-sm: 0.25rem;
  --radius-md: 0.375rem;
  --radius-lg: 0.5rem;
  --radius-xl: 0.75rem;
  
  /* Shadows - Subtle Cosmic */
  --shadow-subtle: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-medium: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-large: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-cosmic: 0 20px 25px -5px rgb(30 58 138 / 0.15), 0 8px 10px -6px rgb(30 58 138 / 0.1);
}

/* Base Styles */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  background-color: var(--galactic-background);
  color: var(--galactic-white);
  line-height: 1.6;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 var(--space-lg) 0;
  letter-spacing: -0.025em;
  color: var(--galactic-white);
}

h1 {
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -0.05em;
}

h2 {
  font-size: 2.25rem;
}

h3 {
  font-size: 1.875rem;
}

h4 {
  font-size: 1.5rem;
}

h5 {
  font-size: 1.25rem;
}

h6 {
  font-size: 1.125rem;
}

p {
  margin: 0 0 var(--space-md) 0;
  color: #cbd5e1;
}

a {
  color: var(--stellar-blue);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--galactic-secondary);
  text-decoration: underline;
}

/* Galactic Container System */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.container-wide {
  max-width: 1536px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

/* Galactic Sections */
.galactic-section {
  padding: var(--space-3xl) 0;
  position: relative;
}

.galactic-section-dark {
  background-color: var(--galactic-section-dark);
}

.galactic-section-medium {
  background-color: var(--galactic-accent);
}

.galactic-section-light {
  background-color: var(--galactic-section-light);
}

.galactic-section-void {
  background-color: var(--cosmic-void);
}

/* Header */
.header-galactic {
  background: linear-gradient(135deg, var(--galactic-background) 0%, var(--galactic-accent) 100%);
  padding: var(--space-xl) 0;
  border-bottom: 1px solid rgba(99, 102, 241, 0.2);
}

.nav-galactic {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-galactic {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--galactic-white);
  text-decoration: none;
}

.nav-links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: var(--space-xl);
}

.nav-links a {
  color: #cbd5e1;
  font-weight: 500;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
  text-decoration: none;
}

.nav-links a:hover {
  background-color: rgba(99, 102, 241, 0.1);
  color: var(--galactic-white);
}

/* Hero Section */
.hero-galactic {
  background: linear-gradient(135deg, var(--galactic-background) 0%, var(--galactic-accent) 50%, var(--galactic-primary) 100%);
  padding: var(--space-3xl) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-galactic::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: var(--space-lg);
  background: linear-gradient(135deg, var(--galactic-white) 0%, var(--stellar-blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: #cbd5e1;
  margin-bottom: var(--space-2xl);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Clean Corporate Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md) var(--space-xl);
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  min-height: 44px;
}

.btn-primary {
  background-color: var(--galactic-button);
  color: var(--galactic-white);
  border-color: var(--galactic-button);
}

.btn-primary:hover {
  background-color: #6d28d9;
  border-color: #6d28d9;
  color: var(--galactic-white);
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: transparent;
  color: var(--galactic-secondary);
  border-color: var(--galactic-secondary);
}

.btn-secondary:hover {
  background-color: var(--galactic-secondary);
  color: var(--galactic-white);
  text-decoration: none;
}

.btn-outline {
  background-color: transparent;
  color: var(--galactic-white);
  border-color: rgba(248, 250, 252, 0.3);
}

.btn-outline:hover {
  background-color: rgba(248, 250, 252, 0.1);
  border-color: var(--galactic-white);
  color: var(--galactic-white);
}

/* Cards - Clean Galactic Style */
.card {
  background-color: var(--galactic-section-dark);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: all 0.2s ease;
  position: relative;
}

.card:hover {
  border-color: var(--galactic-secondary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-cosmic);
}

.card-header {
  margin-bottom: var(--space-lg);
}

.card-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: var(--space-sm);
  color: var(--galactic-white);
}

.card-subtitle {
  color: var(--cosmic-gray);
  font-size: 0.875rem;
  margin: 0;
}

.card-content {
  color: #cbd5e1;
  line-height: 1.6;
}

.card-footer {
  margin-top: var(--space-lg);
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(99, 102, 241, 0.2);
}

/* Grid System - Galactic */
.grid {
  display: grid;
  gap: var(--space-xl);
}

.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* Forms - Clean Galactic */
.form-group {
  margin-bottom: var(--space-lg);
}

.form-label {
  display: block;
  font-weight: 600;
  margin-bottom: var(--space-sm);
  color: var(--galactic-white);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: var(--space-md);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: var(--radius-md);
  background-color: var(--galactic-background);
  color: var(--galactic-white);
  font-size: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--galactic-secondary);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--cosmic-gray);
}

/* Footer - Deep Galactic */
.footer-galactic {
  background-color: var(--galactic-footer);
  padding: var(--space-3xl) 0 var(--space-xl) 0;
  border-top: 1px solid rgba(99, 102, 241, 0.2);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-xl);
  margin-bottom: var(--space-2xl);
}

.footer-section h4 {
  color: var(--galactic-white);
  margin-bottom: var(--space-lg);
  font-size: 1.125rem;
}

.footer-section p,
.footer-section a {
  color: #94a3b8;
  line-height: 1.6;
}

.footer-section a:hover {
  color: var(--galactic-white);
}

.footer-bottom {
  border-top: 1px solid rgba(99, 102, 241, 0.2);
  padding-top: var(--space-lg);
  text-align: center;
  color: var(--cosmic-gray);
}

/* Utilities */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-0 { margin-bottom: 0; }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }

.mt-0 { margin-top: 0; }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }

.p-0 { padding: 0; }
.p-sm { padding: var(--space-sm); }
.p-md { padding: var(--space-md); }
.p-lg { padding: var(--space-lg); }
.p-xl { padding: var(--space-xl); }

/* Focus States for Accessibility */
.btn:focus,
.form-input:focus,
.form-textarea:focus,
.form-select:focus,
.nav-links a:focus {
  outline: 2px solid var(--galactic-secondary);
  outline-offset: 2px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    padding: 0 var(--space-md);
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .nav-links {
    display: none;
  }
  
  .grid-cols-2,
  .grid-cols-3,
  .grid-cols-4 {
    grid-template-columns: 1fr;
  }
  
  .galactic-section {
    padding: var(--space-2xl) 0;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .btn {
    width: 100%;
    justify-content: center;
  }
}

/* Animations - Subtle Galactic */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* Loading States */
.loading {
  opacity: 0.6;
  pointer-events: none;
}

/* Scroll Indicators */
.scroll-indicator {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--galactic-primary), var(--galactic-secondary));
  transform-origin: left;
  z-index: 1000;
}


/* 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;
    }
}