/* CSS Variables for Theme Customization */
:root {
  /* Brand Colors */
  --primary-color: #00FF9D;
  --secondary-color: #2C2C2C;
  --background-color: #121212;
  --footer-bg-color: #0a0a0a;
  --button-color: #00FF9D;
  
  /* Section Backgrounds */
  --section-bg-1: #121212;
  --section-bg-2: #1A1A1A;
  --section-bg-3: #151515;
  
  /* Text Colors */
  --text-primary: #FFFFFF;
  --text-secondary: #B3B3B3;
  --text-muted: #666666;
  
  /* Border Colors */
  --border-color: #333333;
  --border-light: #404040;
  
  /* Spacing Scale */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-xxl: 4rem;
  
  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-weight-light: 300;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  
  /* Border Radius */
  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 12px;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  
  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* Base Styles */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  background-color: var(--background-color);
  color: var(--text-primary);
  line-height: 1.6;
  margin: 0;
  padding: 0;
  font-weight: var(--font-weight-normal);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Typography Overrides */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-primary);
  font-weight: var(--font-weight-semibold);
  line-height: 1.2;
  margin-bottom: var(--spacing-md);
}

h1 {
  font-size: 2.5rem;
  font-weight: var(--font-weight-bold);
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-md);
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: #00FF7F;
  text-decoration: none;
}

/* Layout Components */
.container-custom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.section {
  padding: var(--spacing-xxl) 0;
}

.section-alt {
  background-color: var(--section-bg-2);
}

.section-dark {
  background-color: var(--section-bg-3);
}

/* Header Styles */
.navbar-custom {
  background-color: rgba(18, 18, 18, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  padding: var(--spacing-md) 0;
  transition: all var(--transition-normal);
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: var(--font-weight-bold);
  color: var(--text-primary) !important;
  text-decoration: none;
}

.navbar-nav .nav-link {
  color: var(--text-secondary) !important;
  font-weight: var(--font-weight-medium);
  padding: var(--spacing-sm) var(--spacing-md) !important;
  transition: color var(--transition-fast);
  border-radius: var(--border-radius-sm);
}

.navbar-nav .nav-link:hover {
  color: var(--primary-color) !important;
  background-color: rgba(0, 255, 157, 0.1);
}

/* Button Styles */
.btn-custom {
  background-color: var(--button-color);
  border: 1px solid var(--button-color);
  color: #000000;
  font-weight: var(--font-weight-semibold);
  padding: var(--spacing-sm) var(--spacing-lg);
  border-radius: var(--border-radius-md);
  transition: all var(--transition-fast);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-xs);
}

.btn-custom:hover {
  background-color: transparent;
  color: var(--primary-color);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-outline-custom {
  background-color: transparent;
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
  font-weight: var(--font-weight-semibold);
  padding: var(--spacing-sm) var(--spacing-lg);
  border-radius: var(--border-radius-md);
  transition: all var(--transition-fast);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-xs);
}

.btn-outline-custom:hover {
  background-color: var(--primary-color);
  color: #000000;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* Card Styles */
.card-custom {
  background-color: var(--section-bg-2);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-lg);
  transition: all var(--transition-normal);
  height: 100%;
}

.card-custom:hover {
  border-color: var(--primary-color);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.card-header-custom {
  background-color: transparent;
  border-bottom: 1px solid var(--border-color);
  padding: 0 0 var(--spacing-md) 0;
  margin-bottom: var(--spacing-md);
}

.card-title-custom {
  color: var(--text-primary);
  font-weight: var(--font-weight-semibold);
  margin-bottom: var(--spacing-xs);
}

.card-text-custom {
  color: var(--text-secondary);
  margin-bottom: 0;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, var(--background-color) 0%, var(--section-bg-3) 100%);
  padding: var(--spacing-xxl) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 50%, rgba(0, 255, 157, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--spacing-lg);
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--primary-color) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: var(--spacing-xl);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Feature Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-lg);
  margin-top: var(--spacing-xl);
}

.feature-item {
  text-align: center;
  padding: var(--spacing-lg);
  background-color: var(--section-bg-2);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  transition: all var(--transition-normal);
}

.feature-item:hover {
  border-color: var(--primary-color);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background-color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--spacing-md);
  font-size: 1.5rem;
  color: #000000;
  font-weight: var(--font-weight-bold);
}

.feature-title {
  font-size: 1.25rem;
  font-weight: var(--font-weight-semibold);
  color: var(--text-primary);
  margin-bottom: var(--spacing-sm);
}

.feature-description {
  color: var(--text-secondary);
  margin-bottom: 0;
}

/* Stats Section */
.stats-section {
  background-color: var(--section-bg-3);
  padding: var(--spacing-xl) 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-lg);
  text-align: center;
}

.stat-item {
  padding: var(--spacing-md);
}

.stat-number {
  font-size: 3rem;
  font-weight: var(--font-weight-bold);
  color: var(--primary-color);
  display: block;
  margin-bottom: var(--spacing-xs);
}

.stat-label {
  color: var(--text-secondary);
  font-weight: var(--font-weight-medium);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.875rem;
}

/* Footer Styles */
.footer-custom {
  background-color: var(--footer-bg-color);
  border-top: 1px solid var(--border-color);
  padding: var(--spacing-xl) 0 var(--spacing-lg);
  margin-top: var(--spacing-xxl);
}

.footer-title {
  color: var(--text-primary);
  font-weight: var(--font-weight-semibold);
  margin-bottom: var(--spacing-md);
  font-size: 1.125rem;
}

.footer-link {
  color: var(--text-secondary);
  text-decoration: none;
  display: block;
  padding: var(--spacing-xs) 0;
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--primary-color);
  text-decoration: none;
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: var(--spacing-lg);
  margin-top: var(--spacing-lg);
  text-align: center;
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* Utility Classes */
.text-primary-custom {
  color: var(--text-primary) !important;
}

.text-secondary-custom {
  color: var(--text-secondary) !important;
}

.text-muted-custom {
  color: var(--text-muted) !important;
}

.bg-primary-custom {
  background-color: var(--primary-color) !important;
}

.bg-dark-custom {
  background-color: var(--background-color) !important;
}

.border-custom {
  border: 1px solid var(--border-color) !important;
}

.border-primary {
  border-color: var(--primary-color) !important;
}

.mb-custom {
  margin-bottom: var(--spacing-lg);
}

.mt-custom {
  margin-top: var(--spacing-lg);
}

.py-custom {
  padding: var(--spacing-lg) 0;
}

.px-custom {
  padding-left: var(--spacing-md);
  padding-right: var(--spacing-md);
}

/* Form Styles */
.form-custom {
  background-color: var(--section-bg-2);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-xl);
}

.form-control-custom {
  background-color: var(--section-bg-3);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  color: var(--text-primary);
  padding: var(--spacing-sm) var(--spacing-md);
  transition: all var(--transition-fast);
}

.form-control-custom:focus {
  background-color: var(--section-bg-3);
  border-color: var(--primary-color);
  color: var(--text-primary);
  box-shadow: 0 0 0 0.2rem rgba(0, 255, 157, 0.25);
}

.form-control-custom::placeholder {
  color: var(--text-muted);
}

.form-label-custom {
  color: var(--text-secondary);
  font-weight: var(--font-weight-medium);
  margin-bottom: var(--spacing-xs);
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.125rem;
  }
  
  .section {
    padding: var(--spacing-xl) 0;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
  }
  
  .container-custom {
    padding: 0 var(--spacing-sm);
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .card-custom {
    padding: var(--spacing-md);
  }
  
  .form-custom {
    padding: var(--spacing-md);
  }
}

/* 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-up {
  animation: slideUp 0.6s ease-out;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Focus States for Accessibility */
.btn-custom:focus,
.btn-outline-custom:focus,
.nav-link:focus,
.footer-link:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* 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, 255, 157, 0.2), transparent);
  animation: loading 1.5s infinite;
}

@keyframes loading {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}


/* Cookie Banner Additional Styles for Bootstrap */
.cookie-banner-custom {
    z-index: 1060;
    backdrop-filter: blur(10px);
}

.cookie-banner-custom .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}