:root {
  /* Cosmic Minimalism Color Palette */
  --cosmic-black: #0A0A0A;
  --space-navy: #0B1426;
  --cosmic-blue: #1E3A8A;
  --deep-purple: #1E1B4B;
  --cosmic-indigo: #312E81;
  --stellar-purple: #7C3AED;
  --footer-gray: #111111;
  --stellar-white: #F8FAFC;
  --cosmic-gray: #94A3B8;
  --accent-gold: #F59E0B;
  
  /* Typography - Elegant Serif for headings */
  --font-serif: 'Playfair Display', 'Times New Roman', serif;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  
  /* Spacing & Layout */
  --section-padding: 4rem 0;
  --container-padding: 2rem;
  --element-spacing: 2rem;
  
  /* Borders & Shadows */
  --border-radius-pill: 9999px;
  --border-radius-soft: 12px;
  --shadow-glow: 0 0 20px rgba(124, 58, 237, 0.2);
  --shadow-deep: 0 10px 25px rgba(0, 0, 0, 0.3);
  --shadow-subtle: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background: var(--cosmic-black);
  color: var(--stellar-white);
  line-height: 1.7;
  overflow-x: hidden;
  font-weight: 400;
  letter-spacing: 0.025em;
}

/* Typography Hierarchy */
h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

h1 {
  font-size: 3.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--stellar-white) 0%, var(--cosmic-blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 30px rgba(248, 250, 252, 0.3);
}

h2 {
  font-size: 2.5rem;
  color: var(--stellar-white);
  position: relative;
}

h2::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 3rem;
  height: 2px;
  background: linear-gradient(90deg, var(--stellar-purple) 0%, transparent 100%);
  border-radius: 1px;
}

h3 {
  font-size: 1.75rem;
  color: var(--cosmic-gray);
}

p {
  color: var(--cosmic-gray);
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

/* Links - Elegant & Underlined */
a {
  color: var(--stellar-white);
  text-decoration: none;
  position: relative;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--stellar-purple);
}

a:not(.btn)::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--stellar-purple);
  transition: width 0.3s ease;
}

a:not(.btn):hover::after {
  width: 100%;
}

/* Buttons - Pill-shaped Elegant */
.btn {
  display: inline-block;
  padding: 0.875rem 2.5rem;
  background: var(--stellar-purple);
  color: var(--stellar-white);
  border: none;
  border-radius: var(--border-radius-pill);
  font-family: var(--font-serif);
  font-weight: 500;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-glow);
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.1) 50%, transparent 100%);
  transition: left 0.5s ease;
}

.btn:hover::before {
  left: 100%;
}

.btn:hover {
  background: linear-gradient(135deg, var(--stellar-purple) 0%, var(--cosmic-blue) 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(124, 58, 237, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--stellar-white);
  border: 2px solid var(--cosmic-gray);
  box-shadow: none;
}

.btn-secondary:hover {
  background: var(--cosmic-gray);
  border-color: var(--cosmic-gray);
  color: var(--cosmic-black);
}

/* Layout Components */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.section {
  padding: var(--section-padding);
  position: relative;
}

.section:nth-child(even) {
  background: var(--space-navy);
}

.section:nth-child(odd) {
  background: var(--cosmic-black);
}

.section-dark {
  background: linear-gradient(135deg, var(--space-navy) 0%, var(--deep-purple) 100%);
}

/* Hero Section - Full Screen Cosmic */
.hero {
  min-height: 100vh;
  background: 
    radial-gradient(circle at 20% 50%, rgba(124, 58, 237, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(30, 58, 138, 0.1) 0%, transparent 50%),
    var(--cosmic-black);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(2px 2px at 20px 30px, var(--stellar-white), transparent),
    radial-gradient(2px 2px at 40px 70px, var(--cosmic-blue), transparent),
    radial-gradient(1px 1px at 90px 40px, var(--stellar-purple), transparent),
    radial-gradient(1px 1px at 130px 80px, var(--stellar-white), transparent);
  background-size: 150px 150px;
  opacity: 0.3;
  animation: sparkle 8s linear infinite;
}

@keyframes sparkle {
  0% { transform: translateY(0) rotate(0deg); }
  100% { transform: translateY(-10px) rotate(1deg); }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  margin-bottom: 1.5rem;
  animation: fadeInUp 1s ease-out;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 3rem;
  animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-cta {
  animation: fadeInUp 1s ease-out 0.6s both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Cards - Minimal & Elegant */
.card {
  background: linear-gradient(135deg, var(--space-navy) 0%, var(--deep-purple) 100%);
  border-radius: var(--border-radius-soft);
  padding: 2.5rem;
  margin: 1.5rem 0;
  border: 1px solid rgba(124, 58, 237, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, transparent 0%, rgba(124, 58, 237, 0.02) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card:hover::before {
  opacity: 1;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-deep);
  border-color: rgba(124, 58, 237, 0.3);
}

.card h3 {
  color: var(--stellar-white);
  margin-bottom: 1rem;
}

.card p {
  margin-bottom: 0;
}

/* Forms - Elegant & Minimal */
.form-group {
  margin-bottom: 2rem;
}

label {
  display: block;
  margin-bottom: 0.75rem;
  font-weight: 500;
  color: var(--stellar-white);
  font-family: var(--font-serif);
}

input, textarea, select {
  width: 100%;
  padding: 1rem 1.5rem;
  background: var(--cosmic-black);
  border: 2px solid var(--cosmic-gray);
  border-radius: var(--border-radius-soft);
  color: var(--stellar-white);
  font-family: var(--font-sans);
  font-size: 1rem;
  transition: all 0.3s ease;
}

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--stellar-purple);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

textarea {
  min-height: 120px;
  resize: vertical;
}

/* Lists - Minimal Styling */
ul, ol {
  margin: 1.5rem 0;
  padding-left: 2rem;
}

li {
  color: var(--cosmic-gray);
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

/* Navigation - Clean & Minimal */
.nav {
  background: rgba(11, 20, 38, 0.95);
  backdrop-filter: blur(10px);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(124, 58, 237, 0.1);
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.nav-logo {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--stellar-white);
  text-decoration: none;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2.5rem;
  margin: 0;
  padding: 0;
}

.nav-link {
  color: var(--cosmic-gray);
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--stellar-purple);
}

/* Footer - Space Dark */
.footer {
  background: var(--footer-gray);
  padding: 4rem 0 2rem;
  border-top: 1px solid rgba(124, 58, 237, 0.2);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
}

.footer-section h4 {
  color: var(--stellar-white);
  font-family: var(--font-serif);
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
}

.footer-section p, .footer-section a {
  color: var(--cosmic-gray);
  text-decoration: none;
  margin-bottom: 0.75rem;
  display: block;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--stellar-purple);
}

.footer-bottom {
  text-align: center;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(124, 58, 237, 0.1);
  color: var(--cosmic-gray);
}

/* Geometric Patterns & Decorative Elements */
.geometric-bg {
  position: relative;
}

.geometric-bg::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: 200px;
  background: linear-gradient(45deg, var(--stellar-purple) 0%, transparent 100%);
  opacity: 0.05;
  border-radius: 50%;
  transform: translate(50%, -50%);
}

.geometric-bg::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 150px;
  height: 150px;
  background: linear-gradient(-45deg, var(--cosmic-blue) 0%, transparent 100%);
  opacity: 0.05;
  border-radius: 50%;
  transform: translate(-50%, 50%);
}

/* Glow Effects */
.glow-text {
  text-shadow: 0 0 20px rgba(124, 58, 237, 0.5);
}

.glow-border {
  border: 1px solid rgba(124, 58, 237, 0.3);
  box-shadow: 0 0 20px rgba(124, 58, 237, 0.1);
}

/* Space Icons Integration */
.icon {
  width: 24px;
  height: 24px;
  fill: currentColor;
  vertical-align: middle;
  margin-right: 0.5rem;
}

.icon-large {
  width: 48px;
  height: 48px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }
  
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .nav-content {
    flex-direction: column;
    gap: 1rem;
    padding: 0 1rem;
  }
  
  .nav-menu {
    gap: 1.5rem;
  }
  
  .card {
    padding: 2rem;
  }
  
  .btn {
    padding: 0.75rem 2rem;
  }
  
  .hero-content {
    padding: 0 1rem;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  .card {
    padding: 1.5rem;
  }
  
  .btn {
    padding: 0.625rem 1.5rem;
  }
}

/* Custom Utilities */
.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.mt-auto { margin-top: auto; }
.mb-auto { margin-bottom: auto; }
.ml-auto { margin-left: auto; }
.mr-auto { margin-right: auto; }

.mx-auto { margin-left: auto; margin-right: auto; }

.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.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; }

.grid {
  display: grid;
}

.grid-cols-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 768px) {
  .grid-cols-2,
  .grid-cols-3 {
    grid-template-columns: 1fr;
  }
}

/* Animation & Interaction Enhancements */
.fade-in {
  animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.slide-up {
  animation: slideUp 0.6s ease-out;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Focus States for Accessibility */
*:focus {
  outline: 2px solid var(--stellar-purple);
  outline-offset: 2px;
}

button:focus,
.btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.3);
}

/* Selection Styling */
::selection {
  background: var(--stellar-purple);
  color: var(--stellar-white);
}

::-moz-selection {
  background: var(--stellar-purple);
  color: var(--stellar-white);
}


/* 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;
    }
}