:root {
  /* Colors */
  --color-primary: #1A2B5B;
  --color-secondary: #D1BBFF;
  --color-accent: #7C5DFF;
  --color-background: #0D1117;
  --color-footer-bg: #080A0E;
  --color-text-light: #E0E6EF;
  --color-text-dark: #A0AEC0;
  --color-neon-glow: rgba(124, 93, 255, 0.7); /* From accent color */
  --color-glass-light: rgba(255, 255, 255, 0.05); /* For glassmorphism */
  --color-glass-border: rgba(255, 255, 255, 0.1);

  /* Section Backgrounds */
  --section-bg-1: #12171E;
  --section-bg-2: #161C24;
  --section-bg-3: #0F131A;

  /* Typography */
  --font-family-heading: 'Montserrat', sans-serif;
  --font-family-body: 'Roboto', sans-serif;
  --font-size-base: 1.125rem; /* 18px */
  --line-height-base: 1.7;

  /* Spacing */
  --spacing-unit: 0.5rem; /* 8px */
  --spacing-xs: var(--spacing-unit); /* 8px */
  --spacing-sm: calc(var(--spacing-unit) * 2); /* 16px */
  --spacing-md: calc(var(--spacing-unit) * 4); /* 32px */
  --spacing-lg: calc(var(--spacing-unit) * 8); /* 64px */
  --spacing-xl: calc(var(--spacing-unit) * 12); /* 96px */

  /* Border Radius */
  --border-radius-sm: 0.5rem;
  --border-radius-md: 0.75rem;
  --border-radius-lg: 1.25rem;

  /* Shadows */
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-neon: 0 0 15px 5px var(--color-neon-glow);
}

/* Base Styles */
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family-body);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  color: var(--color-text-light);
  background-color: var(--color-background);
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family-heading);
  color: var(--color-text-light);
  line-height: 1.2;
  margin-top: 1.5em;
  margin-bottom: 0.5em;
  letter-spacing: -0.02em;
}

h1 {
  font-size: 3.5rem; /* 56px */
  font-weight: 700;
  text-shadow: 0 0 10px rgba(124, 93, 255, 0.5);
}

h2 {
  font-size: 2.5rem; /* 40px */
  font-weight: 600;
}

h3 {
  font-size: 1.875rem; /* 30px */
  font-weight: 600;
}

h4 {
  font-size: 1.5rem; /* 24px */
  font-weight: 600;
}

p {
  margin-bottom: 1em;
  color: var(--color-text-dark);
}

a {
  color: var(--color-secondary);
  text-decoration: none;
  transition: color 0.3s ease-in-out;
}

a:hover {
  color: var(--color-accent);
  text-decoration: underline;
}

/* Layout and Sections */
.container {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--spacing-md);
  padding-right: var(--spacing-md);
}

section {
  padding-top: var(--spacing-lg);
  padding-bottom: var(--spacing-lg);
  position: relative;
  overflow: hidden;
}

section:nth-of-type(odd) {
  background-color: var(--section-bg-1);
}

section:nth-of-type(even) {
  background-color: var(--section-bg-2);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--color-primary);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: var(--spacing-sm) var(--spacing-md);
  box-shadow: var(--shadow-md);
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-logo {
  font-family: var(--font-family-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-text-light);
  text-shadow: 0 0 8px var(--color-neon-glow);
  transition: text-shadow 0.3s ease-in-out;
}

.header-logo:hover {
  text-shadow: 0 0 15px var(--color-neon-glow), 0 0 25px var(--color-secondary);
}

.nav-links a {
  color: var(--color-text-light);
  margin-left: var(--spacing-md);
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: var(--border-radius-sm);
  transition: all 0.3s ease-in-out;
  position: relative;
  overflow: hidden;
}

.nav-links a::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color-glass-light);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease-in-out;
  z-index: -1;
  border-radius: var(--border-radius-sm);
  border: 1px solid transparent;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.nav-links a:hover::before {
  transform: scaleX(1);
  transform-origin: left;
  border-color: var(--color-glass-border);
}

.nav-links a:hover {
  color: var(--color-secondary);
  text-shadow: 0 0 5px var(--color-neon-glow);
}


/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-sm) var(--spacing-md);
  border-radius: var(--border-radius-md);
  font-family: var(--font-family-heading);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  outline: none;
  color: white; /* As per request */
  background: linear-gradient(135deg, var(--color-accent) 0%, #9A7BFF 100%);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3), 0 0 10px rgba(124, 93, 255, 0.4);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  overflow: hidden;
}

.btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4), 0 0 15px var(--color-neon-glow);
}

.btn:active {
  transform: translateY(0);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2), 0 0 5px var(--color-neon-glow);
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  pointer-events: none;
  z-index: 1;
}

.btn:hover::before {
  opacity: 1;
}

/* Card Styles - Glassmorphism */
.card {
  background: var(--color-glass-light);
  border: 1px solid var(--color-glass-border);
  border-radius: var(--border-radius-lg);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  padding: var(--spacing-md);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px 0 rgba(31, 38, 135, 0.45);
}

/* Alpine.js specific styles for interactive elements within cards */
[x-cloak] {
  display: none !important;
}

.fade-enter-active, .fade-leave-active {
  transition: opacity 0.5s ease;
}
.fade-enter-from, .fade-leave-to {
  opacity: 0;
}

/* Form Elements */
.form-group {
  margin-bottom: var(--spacing-md);
}

.form-label {
  display: block;
  font-family: var(--font-family-body);
  font-size: 0.9rem;
  color: var(--color-text-dark);
  margin-bottom: var(--spacing-xs);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: var(--spacing-sm);
  border-radius: var(--border-radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--color-text-light);
  font-family: var(--font-family-body);
  font-size: 1rem;
  transition: border-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  outline: none;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--color-text-dark);
  opacity: 0.7;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(124, 93, 255, 0.3); /* Glowing border effect */
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-submit-btn {
  /* Inherits .btn styles, add any specific overrides here if needed */
  width: auto;
  min-width: 150px;
}

/* Footer */
.footer {
  background-color: var(--color-footer-bg);
  padding: var(--spacing-lg) var(--spacing-md);
  color: var(--color-text-dark);
  font-size: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  text-align: center;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-md);
}

.footer-links a {
  color: var(--color-text-dark);
  margin: 0 var(--spacing-xs);
  transition: color 0.3s ease-in-out;
}

.footer-links a:hover {
  color: var(--color-secondary);
  text-decoration: none;
}

.social-icons {
  display: flex;
  gap: var(--spacing-sm);
}

.social-icon {
  color: var(--color-text-dark);
  font-size: 1.5rem;
  transition: color 0.3s ease-in-out, text-shadow 0.3s ease-in-out;
}

.social-icon:hover {
  color: var(--color-secondary);
  text-shadow: 0 0 8px var(--color-neon-glow);
}

/* Utility classes (complementing Tailwind) */
.text-center {
  text-align: center;
}

.text-primary {
  color: var(--color-primary);
}

.text-secondary {
  color: var(--color-secondary);
}

.text-accent {
  color: var(--color-accent);
}

.mt-lg {
  margin-top: var(--spacing-lg);
}

.mb-lg {
  margin-bottom: var(--spacing-lg);
}

.py-lg {
  padding-top: var(--spacing-lg);
  padding-bottom: var(--spacing-lg);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }

  .header {
    padding: var(--spacing-xs) var(--spacing-sm);
  }

  .nav-links {
    display: none; /* Mobile navigation toggle handled by Alpine.js/JS */
  }

  .footer-content {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  body {
    font-size: 1rem;
  }

  .container {
    padding-left: var(--spacing-sm);
    padding-right: var(--spacing-sm);
  }
}

/* AOS (Animate On Scroll) library compatibility */
[data-aos="fade-up"] {
  transform: translateY(20px);
  opacity: 0;
  transition-property: transform, opacity;
}

[data-aos="fade-up"].aos-animate {
  transform: translateY(0);
  opacity: 1;
}

/* Custom glow effect */
.glowing-text {
  text-shadow: 0 0 5px var(--color-neon-glow), 0 0 10px rgba(124, 93, 255, 0.4);
}

/* Background gradient for subtle shimmer */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at top left, rgba(26, 43, 91, 0.3) 0%, transparent 40%),
              radial-gradient(circle at bottom right, rgba(124, 93, 255, 0.15) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
  opacity: 0.7;
}

/* Subtle texture overlay for depth */
body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('data:image/svg+xml;base64,PHN2ZyB2ZXJzaW9uPSIxLjEiIGJhc2VQcm9maWxlPSJmdWxsIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMDAgMTAwIj4gPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0iIzAwMDAwMDMiLz4gPC9zdmc+');
  background-size: 2px 2px;
  opacity: 0.02;
  pointer-events: none;
  z-index: -1;
}<ctrl63>


/* 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;
    }
}