/* CSS Custom Properties for Theme Colors */
:root {
  --primary-color: #0B0C15;
  --secondary-color: #7000FF;
  --background-color: #05070a;
  --footer-bg-color: #020305;
  --button-color: #00F3FF;
  --section-bg-1: #0B0C15;
  --section-bg-2: #0f1119;
  --section-bg-3: #14161f;
  
  /* Typography */
  --font-heading: 'Playfair Display', 'Georgia', serif;
  --font-body: 'Inter', 'system-ui', sans-serif;
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 6rem;
  
  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 9999px;
  
  /* Shadows */
  --shadow-subtle: 0 2px 8px rgba(0, 0, 0, 0.1);
  --shadow-soft: 0 4px 24px rgba(0, 0, 0, 0.15);
  --shadow-medium: 0 8px 32px rgba(0, 0, 0, 0.2);
}

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

/* Base Styles */
* {
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  background-color: var(--background-color);
  color: #ffffff;
  line-height: 1.7;
  font-weight: 400;
  overflow-x: hidden;
}

/* Typography Enhancements */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.3;
  color: #ffffff;
  margin-bottom: var(--spacing-md);
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 500;
}

p {
  font-size: 1.1rem;
  margin-bottom: var(--spacing-sm);
  color: rgba(255, 255, 255, 0.9);
}

a {
  color: var(--button-color);
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

a:hover {
  color: #ffffff;
}

a.underline-link {
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}

a.underline-link:hover {
  border-bottom-color: var(--button-color);
}

/* Section Backgrounds */
.section-primary {
  background-color: var(--section-bg-1);
}

.section-secondary {
  background-color: var(--section-bg-2);
}

.section-tertiary {
  background-color: var(--section-bg-3);
}

/* Enhanced Container */
.container-custom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-sm);
}

@media (min-width: 768px) {
  .container-custom {
    padding: 0 var(--spacing-md);
  }
}

/* Header Enhancements */
.navbar {
  background-color: rgba(5, 7, 10, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: var(--spacing-sm) 0;
}

.navbar-brand {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: #ffffff !important;
}

.navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.8) !important;
  font-weight: 400;
  margin: 0 var(--spacing-xs);
  padding: var(--spacing-xs) var(--spacing-sm) !important;
  border-radius: var(--radius-pill);
  transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--button-color) !important;
  background-color: rgba(0, 243, 255, 0.1);
}

/* Custom Buttons */
.btn-custom-primary {
  background-color: var(--button-color);
  color: var(--primary-color);
  border: none;
  padding: 12px 32px;
  border-radius: var(--radius-pill);
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-subtle);
}

.btn-custom-primary:hover {
  background-color: #ffffff;
  color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.btn-custom-outline {
  background-color: transparent;
  color: var(--button-color);
  border: 2px solid var(--button-color);
  padding: 10px 30px;
  border-radius: var(--radius-pill);
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-custom-outline:hover {
  background-color: var(--button-color);
  color: var(--primary-color);
  transform: translateY(-2px);
}

/* Enhanced Cards */
.card-custom {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: var(--spacing-md);
  margin-bottom: var(--spacing-sm);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.card-custom:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-medium);
  border-color: rgba(0, 243, 255, 0.3);
}

.card-custom .card-title {
  font-family: var(--font-heading);
  color: #ffffff;
  margin-bottom: var(--spacing-sm);
}

.card-custom .card-text {
  color: rgba(255, 255, 255, 0.8);
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background: linear-gradient(135deg, var(--section-bg-1) 0%, var(--section-bg-2) 100%);
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 70%, rgba(112, 0, 255, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 70% 30%, rgba(0, 243, 255, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: var(--spacing-xl) 0;
}

.hero-title {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 700;
  margin-bottom: var(--spacing-md);
  background: linear-gradient(135deg, #ffffff 0%, var(--button-color) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--spacing-lg);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Content Sections */
.content-section {
  padding: var(--spacing-xl) 0;
}

.content-section-alt {
  padding: var(--spacing-lg) 0;
  background-color: var(--section-bg-2);
}

.section-title {
  text-align: center;
  margin-bottom: var(--spacing-lg);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.section-subtitle {
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.2rem;
  margin-bottom: var(--spacing-lg);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Feature Grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
}

.feature-item {
  text-align: center;
  padding: var(--spacing-md);
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--spacing-sm);
  background: linear-gradient(135deg, var(--button-color) 0%, var(--secondary-color) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--primary-color);
}

.feature-title {
  font-size: 1.5rem;
  margin-bottom: var(--spacing-sm);
  color: #ffffff;
}

.feature-description {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

/* Footer */
.footer {
  background-color: var(--footer-bg-color);
  padding: var(--spacing-lg) 0 var(--spacing-md);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-title {
  font-family: var(--font-heading);
  color: #ffffff;
  margin-bottom: var(--spacing-sm);
  font-size: 1.3rem;
}

.footer-text {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--spacing-sm);
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: var(--spacing-xs);
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--button-color);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--spacing-sm);
  margin-top: var(--spacing-md);
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
}

/* Utility Classes */
.text-center-custom {
  text-align: center;
}

.mb-xl {
  margin-bottom: var(--spacing-xl);
}

.mt-xl {
  margin-top: var(--spacing-xl);
}

.py-xl {
  padding-top: var(--spacing-xl);
  padding-bottom: var(--spacing-xl);
}

.px-xl {
  padding-left: var(--spacing-xl);
  padding-right: var(--spacing-xl);
}

/* Responsive Design */
@media (max-width: 767px) {
  .hero-section {
    min-height: 80vh;
  }
  
  .content-section {
    padding: var(--spacing-md) 0;
  }
  
  .feature-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-sm);
  }
  
  .card-custom {
    padding: var(--spacing-sm);
  }
}

/* Animation Classes */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scroll Behavior */
html {
  scroll-behavior: smooth;
}

/* Focus States for Accessibility */
.btn-custom-primary:focus,
.btn-custom-outline:focus,
a:focus {
  outline: 2px solid var(--button-color);
  outline-offset: 2px;
}

/* Selection Styling */
::selection {
  background-color: var(--button-color);
  color: var(--primary-color);
}

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--background-color);
}

::-webkit-scrollbar-thumb {
  background: var(--secondary-color);
  border-radius: var(--radius-pill);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--button-color);
}


/* 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);
}