:root {
  /* Core Color Palette */
  --primary-green: #0aff60;
  --primary-purple: #bc13fe;
  --bg-dark: #050505;
  --bg-section-dark: #0a0a12;
  --bg-footer: #000000;
  --bg-surface: #0f0f0f;
  
  /* Typography System */
  --font-serif: 'Playfair Display', 'Times New Roman', serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  
  /* Spacing Scale */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;
  --space-2xl: 8rem;
  
  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 9999px;
  
  /* Shadows */
  --shadow-subtle: 0 2px 8px rgba(10, 255, 96, 0.05);
  --shadow-elevated: 0 8px 32px rgba(188, 19, 254, 0.1);
  --shadow-glow-green: 0 0 24px rgba(10, 255, 96, 0.3);
  --shadow-glow-purple: 0 0 24px rgba(188, 19, 254, 0.3);
}

/* Global Styles */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background: var(--bg-dark);
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  font-size: 16px;
  letter-spacing: 0.01em;
}

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.2;
  margin: 0;
  color: white;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  margin-bottom: var(--space-md);
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: var(--space-sm);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: var(--space-sm);
}

p {
  margin: 0 0 var(--space-sm) 0;
  font-size: 1.1rem;
  line-height: 1.7;
}

a {
  color: var(--primary-green);
  text-decoration: none;
  transition: all 0.3s ease;
  border-bottom: 1px solid transparent;
}

a:hover {
  color: white;
  border-bottom-color: var(--primary-green);
}

/* Layout Components */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.container-wide {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

/* Section Styling */
.section {
  padding: var(--space-2xl) 0;
  position: relative;
}

.section-dark {
  background: var(--bg-dark);
}

.section-alt {
  background: var(--bg-section-dark);
}

.section-light {
  background: var(--bg-surface);
}

/* Header Styling */
.header {
  background: rgba(5, 5, 5, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(10, 255, 96, 0.1);
  position: sticky;
  top: 0;
  z-index: 50;
  padding: var(--space-sm) 0;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-green);
  text-decoration: none;
  transition: all 0.3s ease;
}

.logo:hover {
  color: white;
  text-shadow: var(--shadow-glow-green);
}

.nav {
  display: flex;
  gap: var(--space-md);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav a {
  font-weight: 500;
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
  transition: all 0.3s ease;
}

.nav a:hover {
  background: rgba(10, 255, 96, 0.1);
  color: var(--primary-green);
}

/* Button System */
.btn {
  display: inline-block;
  padding: var(--space-sm) var(--space-md);
  border: none;
  border-radius: var(--radius-pill);
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
  letter-spacing: 0.01em;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--primary-purple);
  color: white;
  box-shadow: var(--shadow-elevated);
}

.btn-primary:hover {
  background: #a011d9;
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow-purple);
}

.btn-secondary {
  background: transparent;
  color: var(--primary-green);
  border: 2px solid var(--primary-green);
}

.btn-secondary:hover {
  background: var(--primary-green);
  color: var(--bg-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow-green);
}

.btn-link {
  background: none;
  color: var(--primary-green);
  padding: var(--space-xs) 0;
  border: none;
  border-bottom: 1px solid var(--primary-green);
  border-radius: 0;
  position: relative;
  overflow: hidden;
}

.btn-link:hover {
  color: white;
  border-bottom-color: var(--primary-purple);
}

/* Card Components */
.card {
  background: rgba(15, 15, 15, 0.8);
  border: 1px solid rgba(188, 19, 254, 0.1);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  margin-bottom: var(--space-sm);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.card:hover {
  border-color: rgba(188, 19, 254, 0.3);
  transform: translateY(-4px);
  box-shadow: var(--shadow-elevated);
}

.card-header {
  margin-bottom: var(--space-sm);
}

.card-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: white;
  margin-bottom: var(--space-xs);
}

.card-subtitle {
  color: rgba(10, 255, 96, 0.8);
  font-size: 0.9rem;
  font-weight: 500;
}

.card-content {
  margin-bottom: var(--space-sm);
}

.card-footer {
  display: flex;
  gap: var(--space-sm);
  align-items: center;
}

/* Grid System */
.grid {
  display: grid;
  gap: var(--space-md);
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-section-dark) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 20%, rgba(10, 255, 96, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 80% 80%, rgba(188, 19, 254, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero-title {
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 1.1;
  margin-bottom: var(--space-md);
  background: linear-gradient(135deg, white 0%, var(--primary-green) 50%, var(--primary-purple) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--space-lg);
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

/* Form Styling */
.form-group {
  margin-bottom: var(--space-md);
}

.form-label {
  display: block;
  margin-bottom: var(--space-xs);
  font-weight: 600;
  color: white;
}

.form-input {
  width: 100%;
  padding: var(--space-sm);
  background: rgba(15, 15, 15, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  color: white;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-input:focus {
  outline: none;
  border-color: var(--primary-green);
  box-shadow: 0 0 0 3px rgba(10, 255, 96, 0.1);
}

.form-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

textarea.form-input {
  min-height: 120px;
  resize: vertical;
}

/* Footer Styling */
.footer {
  background: var(--bg-footer);
  border-top: 1px solid rgba(10, 255, 96, 0.1);
  padding: var(--space-xl) 0 var(--space-md) 0;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.footer-section h3 {
  color: var(--primary-green);
  margin-bottom: var(--space-sm);
  font-size: 1.25rem;
}

.footer-section p,
.footer-section a {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--space-xs);
}

.footer-section a:hover {
  color: var(--primary-green);
}

.footer-bottom {
  border-top: 1px solid rgba(188, 19, 254, 0.1);
  padding-top: var(--space-md);
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.text-primary {
  color: var(--primary-green);
}

.text-secondary {
  color: var(--primary-purple);
}

.text-muted {
  color: rgba(255, 255, 255, 0.6);
}

.bg-primary {
  background: var(--primary-green);
}

.bg-secondary {
  background: var(--primary-purple);
}

.bg-surface {
  background: var(--bg-surface);
}

.mb-sm {
  margin-bottom: var(--space-sm);
}

.mb-md {
  margin-bottom: var(--space-md);
}

.mb-lg {
  margin-bottom: var(--space-lg);
}

.mt-sm {
  margin-top: var(--space-sm);
}

.mt-md {
  margin-top: var(--space-md);
}

.mt-lg {
  margin-top: var(--space-lg);
}

.py-lg {
  padding-top: var(--space-lg);
  padding-bottom: var(--space-lg);
}

.py-xl {
  padding-top: var(--space-xl);
  padding-bottom: var(--space-xl);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .container {
    padding: 0 var(--space-sm);
  }
  
  .nav {
    flex-direction: column;
    gap: var(--space-xs);
  }
  
  .hero-cta {
    flex-direction: column;
  }
  
  .btn {
    width: 100%;
  }
  
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

@media (max-width: 480px) {
  :root {
    --space-md: 1.5rem;
    --space-lg: 3rem;
    --space-xl: 4rem;
    --space-2xl: 6rem;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  h3 {
    font-size: 1.5rem;
  }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
  background: var(--primary-green);
  border-radius: var(--radius-pill);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-purple);
}

/* Loading Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* Hover Effects */
.hover-lift {
  transition: transform 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-4px);
}

/* Focus States for Accessibility */
.btn:focus,
.form-input:focus,
a:focus {
  outline: 2px solid var(--primary-green);
  outline-offset: 2px;
}


/* 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;
    }
}