:root {
  /* Color Palette - Soft & Organic with Professional Elegance */
  --color-primary: #1e1b4b;
  --color-secondary: #4c1d95;
  --color-background: #0f172a;
  --color-footer-bg: #020617;
  --color-button: #fbbf24;
  --color-accent: #8b5cf6;
  --color-success: #10b981;
  --color-warning: #f59e0b;
  --color-error: #ef4444;
  
  /* Section Backgrounds */
  --section-bg-1: #1e1b4b;
  --section-bg-2: #172554;
  --section-bg-3: #312e81;
  
  /* Soft & Organic Gradients */
  --gradient-primary: linear-gradient(135deg, #1e1b4b 0%, #4c1d95 100%);
  --gradient-secondary: linear-gradient(135deg, #4c1d95 0%, #8b5cf6 100%);
  --gradient-button: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  --gradient-warm: linear-gradient(135deg, #fbbf24 0%, #f97316 100%);
  --gradient-cool: linear-gradient(135deg, #1e1b4b 0%, #3b82f6 100%);
  --gradient-organic: linear-gradient(135deg, #4c1d95 0%, #8b5cf6 50%, #fbbf24 100%);
  
  /* Typography - Round & Friendly */
  --font-primary: 'Inter', 'Poppins', system-ui, -apple-system, sans-serif;
  --font-heading: 'Poppins', 'Inter', system-ui, -apple-system, sans-serif;
  --font-accent: 'Nunito', 'Inter', system-ui, -apple-system, sans-serif;
  
  /* Spacing Scale - Generous */
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  
  /* Border Radius - Soft & Organic */
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 20px;
  --radius-xl: 24px;
  --radius-2xl: 32px;
  --radius-full: 9999px;
  
  /* Soft Shadows - Diffused */
  --shadow-soft-sm: 0 4px 20px -8px rgba(30, 27, 75, 0.3);
  --shadow-soft-md: 0 8px 30px -12px rgba(30, 27, 75, 0.4);
  --shadow-soft-lg: 0 12px 40px -15px rgba(30, 27, 75, 0.5);
  --shadow-soft-xl: 0 20px 60px -20px rgba(30, 27, 75, 0.6);
  --shadow-organic: 0 15px 35px -10px rgba(76, 29, 149, 0.3), 
                    0 5px 15px -5px rgba(139, 92, 246, 0.2);
  
  /* Transitions */
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  --transition-organic: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Base Styles */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  background: var(--color-background);
  color: #f8fafc;
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}

/* Typography - Round & Friendly */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.3;
  color: #ffffff;
  letter-spacing: -0.025em;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  background: var(--gradient-organic);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: #fbbf24;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  color: #a78bfa;
}

h4 {
  font-size: clamp(1.25rem, 2.5vw, 1.875rem);
  color: #c4b5fd;
}

h5 {
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  color: #ddd6fe;
}

h6 {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  color: #e0e7ff;
}

p {
  color: #cbd5e1;
  margin-bottom: var(--space-md);
  font-weight: 400;
}

a {
  color: var(--color-button);
  text-decoration: none;
  transition: var(--transition-smooth);
}

a:hover {
  color: #f59e0b;
  transform: translateY(-1px);
}

/* Organic Container System */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.container-fluid {
  width: 100%;
  padding: 0 var(--space-lg);
}

/* Soft & Organic Button System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-sm) var(--space-xl);
  font-family: var(--font-accent);
  font-weight: 600;
  font-size: 1rem;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition-organic);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  min-height: 48px;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: var(--transition-organic);
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: var(--gradient-button);
  color: var(--color-background);
  box-shadow: var(--shadow-soft-md);
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: var(--shadow-soft-lg);
  color: var(--color-background);
}

.btn-secondary {
  background: var(--gradient-secondary);
  color: #ffffff;
  box-shadow: var(--shadow-soft-md);
}

.btn-secondary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: var(--shadow-soft-lg);
}

.btn-outline {
  background: transparent;
  color: var(--color-button);
  border: 2px solid var(--color-button);
  box-shadow: var(--shadow-soft-sm);
}

.btn-outline:hover {
  background: var(--gradient-button);
  color: var(--color-background);
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft-md);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

/* Organic Card System */
.card {
  background: rgba(30, 27, 75, 0.6);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-organic);
  transition: var(--transition-organic);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gradient-warm);
  opacity: 0.6;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-soft-xl);
  border-color: rgba(251, 191, 36, 0.3);
}

.card-compact {
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
}

.card-featured {
  background: var(--gradient-primary);
  border: 2px solid rgba(251, 191, 36, 0.3);
  position: relative;
}

.card-featured::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: var(--gradient-warm);
  border-radius: var(--radius-xl);
  z-index: -1;
  opacity: 0;
  transition: var(--transition-organic);
}

.card-featured:hover::after {
  opacity: 0.1;
}

/* Section Backgrounds */
.section {
  padding: var(--space-4xl) 0;
  position: relative;
}

.section-primary {
  background: var(--section-bg-1);
}

.section-secondary {
  background: var(--section-bg-2);
}

.section-accent {
  background: var(--section-bg-3);
}

.section-dark {
  background: var(--color-background);
}

.section-footer {
  background: var(--color-footer-bg);
}

/* Hero Section - Organic Layout */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  background: var(--gradient-primary);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 80%, rgba(251, 191, 36, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(76, 29, 149, 0.1) 0%, transparent 50%);
  animation: float 20s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(2deg); }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  padding: var(--space-2xl);
}

.hero-title {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 800;
  margin-bottom: var(--space-lg);
  background: linear-gradient(135deg, #ffffff 0%, #fbbf24 50%, #a78bfa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: glow 3s ease-in-out infinite alternate;
}

@keyframes glow {
  from { filter: drop-shadow(0 0 20px rgba(251, 191, 36, 0.3)); }
  to { filter: drop-shadow(0 0 30px rgba(139, 92, 246, 0.5)); }
}

.hero-subtitle {
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  color: #cbd5e1;
  margin-bottom: var(--space-2xl);
  font-weight: 400;
}

.hero-buttons {
  display: flex;
  gap: var(--space-lg);
  justify-content: center;
  flex-wrap: wrap;
}

/* Navigation - Organic Design */
.navbar {
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: var(--space-md) 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: var(--transition-smooth);
}

.navbar.scrolled {
  background: rgba(15, 23, 42, 0.95);
  box-shadow: var(--shadow-soft-md);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: #fbbf24;
  text-decoration: none;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: var(--space-xl);
  margin: 0;
  padding: 0;
}

.nav-link {
  color: #cbd5e1;
  font-weight: 500;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-full);
  transition: var(--transition-smooth);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gradient-warm);
  transition: var(--transition-smooth);
  transform: translateX(-50%);
}

.nav-link:hover {
  color: #fbbf24;
  transform: translateY(-1px);
}

.nav-link:hover::after {
  width: 80%;
}

/* Form Elements - Soft & Organic */
.form-group {
  margin-bottom: var(--space-lg);
}

.form-label {
  display: block;
  margin-bottom: var(--space-sm);
  font-weight: 600;
  color: #e2e8f0;
  font-family: var(--font-accent);
}

.form-input {
  width: 100%;
  padding: var(--space-md) var(--space-lg);
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  color: #ffffff;
  font-size: 1rem;
  transition: var(--transition-smooth);
  backdrop-filter: blur(10px);
}

.form-input:focus {
  outline: none;
  border-color: var(--color-button);
  box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.1);
  background: rgba(255, 255, 255, 0.08);
}

.form-input::placeholder {
  color: #94a3b8;
}

/* Grid System - Organic Layout */
.grid {
  display: grid;
  gap: var(--space-2xl);
}

.grid-cols-1 { grid-template-columns: repeat(1, 1fr); }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid-cols-4 { grid-template-columns: repeat(4, 1fr); }

/* Flexbox Utilities */
.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-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }
.gap-xl { gap: var(--space-xl); }

/* Spacing Utilities */
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }

/* Text Utilities */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-primary { color: var(--color-button); }
.text-secondary { color: #a78bfa; }
.text-muted { color: #94a3b8; }

/* Badge System */
.badge {
  display: inline-flex;
  align-items: center;
  padding: var(--space-xs) var(--space-sm);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  font-family: var(--font-accent);
}

.badge-primary {
  background: var(--gradient-button);
  color: var(--color-background);
}

.badge-secondary {
  background: var(--gradient-secondary);
  color: #ffffff;
}

.badge-outline {
  background: transparent;
  color: var(--color-button);
  border: 1px solid var(--color-button);
}

/* Footer - Organic Design */
.footer {
  background: var(--color-footer-bg);
  padding: var(--space-4xl) 0 var(--space-2xl);
  margin-top: var(--space-4xl);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.footer-section h4 {
  color: #fbbf24;
  margin-bottom: var(--space-lg);
  font-size: 1.25rem;
}

.footer-section p,
.footer-section a {
  color: #94a3b8;
  line-height: 1.6;
}

.footer-section a:hover {
  color: var(--color-button);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--space-xl);
  text-align: center;
  color: #64748b;
}

/* Animations - Organic & Smooth */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.animate-slide-up {
  animation: slideInUp 0.6s ease-out;
}

.animate-slide-left {
  animation: slideInLeft 0.6s ease-out;
}

.animate-slide-right {
  animation: slideInRight 0.6s ease-out;
}

.animate-fade-in {
  animation: fadeIn 0.8s ease-out;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .container {
    padding: 0 var(--space-md);
  }
  
  .grid-cols-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-cols-3 { grid-template-columns: repeat(2, 1fr); }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .nav-menu {
    gap: var(--space-md);
  }
}

@media (max-width: 768px) {
  :root {
    --space-4xl: 3rem;
    --space-3xl: 2.5rem;
  }
  
  .container {
    padding: 0 var(--space-sm);
  }
  
  .grid-cols-4,
  .grid-cols-3,
  .grid-cols-2 {
    grid-template-columns: 1fr;
  }
  
  .hero-content {
    padding: var(--space-lg);
  }
  
  .nav-menu {
    display: none;
  }
  
  .card {
    padding: var(--space-lg);
  }
  
  .section {
    padding: var(--space-3xl) 0;
  }
}

@media (max-width: 480px) {
  .btn {
    width: 100%;
    justify-content: center;
  }
  
  .hero-buttons {
    width: 100%;
  }
  
  .card {
    padding: var(--space-md);
  }
}

/* Scroll Animations */
@media (prefers-reduced-motion: no-preference) {
  .card,
  .btn,
  .hero-content {
    opacity: 0;
    animation: slideInUp 0.6s ease-out forwards;
  }
  
  .card:nth-child(2) { animation-delay: 0.1s; }
  .card:nth-child(3) { animation-delay: 0.2s; }
  .card:nth-child(4) { animation-delay: 0.3s; }
  .card:nth-child(5) { animation-delay: 0.4s; }
  .card:nth-child(6) { animation-delay: 0.5s; }
}

/* Focus States for Accessibility */
.btn:focus,
.form-input:focus,
.nav-link:focus {
  outline: 2px solid var(--color-button);
  outline-offset: 2px;
}

/* Selection Styling */
::selection {
  background: rgba(251, 191, 36, 0.3);
  color: #ffffff;
}

::-moz-selection {
  background: rgba(251, 191, 36, 0.3);
  color: #ffffff;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--color-background);
}

::-webkit-scrollbar-thumb {
  background: var(--gradient-secondary);
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gradient-warm);
}

/* Utility Classes */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* 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(255,255,255,0.1), transparent);
  animation: loading 1.5s infinite;
}

@keyframes loading {
  0% { left: -100%; }
  100% { left: 100%; }
}

/* Interactive Elements */
.interactive {
  transition: var(--transition-organic);
  cursor: pointer;
}

.interactive:hover {
  transform: translateY(-2px);
}

.interactive:active {
  transform: translateY(0);
}

/* Glass Effect Utility */
.glass {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.glass-dark {
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}


/* 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;
    }
}