:root {
  --primary-color: #2563eb;
  --secondary-color: #1e40af;
  --background-color: #ffffff;
  --footer-bg-color: #1f2937;
  --button-color: #2563eb;
  --section-bg-1: #ffffff;
  --section-bg-2: #f8fafc;
  --section-bg-3: #ffffff;
  
  /* Soft & Organic Palette Extensions */
  --soft-blue-light: #dbeafe;
  --soft-blue-gradient: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
  --soft-shadow: 0 10px 30px -10px rgba(37, 99, 235, 0.15);
  --soft-shadow-hover: 0 20px 40px -15px rgba(37, 99, 235, 0.25);
  
  /* Typography - Round & Friendly */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Nunito', var(--font-primary);
  
  /* Border Radius - Generous as requested */
  --radius-small: 16px;
  --radius-medium: 20px;
  --radius-large: 24px;
  
  /* Spacing Scale */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  
  /* 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);
}

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  background-color: var(--background-color);
  color: #374151;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Typography Hierarchy - Round & Friendly */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: #111827;
  margin-bottom: var(--space-md);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: -0.02em;
  font-weight: 800;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.015em;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  letter-spacing: -0.01em;
}

h4 {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
}

h5 {
  font-size: 1.25rem;
}

h6 {
  font-size: 1.125rem;
  font-weight: 600;
}

p {
  margin-bottom: var(--space-sm);
  color: #6b7280;
  font-size: 1.125rem;
  line-height: 1.75;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition-smooth);
  border-radius: var(--radius-small);
  padding: 2px 4px;
}

a:hover {
  color: var(--secondary-color);
  background-color: var(--soft-blue-light);
}

/* Professional Layout Components */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.section {
  padding: var(--space-2xl) 0;
  position: relative;
}

.section:nth-child(odd) {
  background-color: var(--section-bg-1);
}

.section:nth-child(even) {
  background-color: var(--section-bg-2);
}

.section:last-child {
  background-color: var(--section-bg-3);
}

/* Soft & Organic Card System */
.card {
  background: #ffffff;
  border-radius: var(--radius-large);
  box-shadow: var(--soft-shadow);
  padding: var(--space-xl);
  transition: var(--transition-smooth);
  border: 1px solid #f3f4f6;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--soft-blue-gradient);
  border-radius: var(--radius-large) var(--radius-large) 0 0;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--soft-shadow-hover);
  border-color: var(--soft-blue-light);
}

.card-header {
  margin-bottom: var(--space-lg);
}

.card-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: var(--space-sm);
}

.card-text {
  color: #6b7280;
  line-height: 1.6;
  font-size: 1rem;
}

/* Soft & Organic Button System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius-medium);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: var(--transition-bounce);
  position: relative;
  overflow: hidden;
  font-family: var(--font-primary);
  letter-spacing: 0.01em;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.6s;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: var(--soft-blue-gradient);
  color: white;
  box-shadow: var(--soft-shadow);
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: var(--soft-shadow-hover);
  color: white;
}

.btn-secondary {
  background: #f9fafb;
  color: var(--primary-color);
  border: 2px solid var(--soft-blue-light);
}

.btn-secondary:hover {
  background: var(--soft-blue-light);
  color: var(--secondary-color);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-outline:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-2px);
}

/* Professional Form Elements */
.form-group {
  margin-bottom: var(--space-lg);
}

.form-label {
  display: block;
  font-weight: 600;
  color: #374151;
  margin-bottom: var(--space-xs);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-control {
  width: 100%;
  padding: var(--space-sm) var(--space-md);
  border: 2px solid #e5e7eb;
  border-radius: var(--radius-medium);
  font-size: 1rem;
  font-family: var(--font-primary);
  transition: var(--transition-smooth);
  background: #ffffff;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px var(--soft-blue-light);
  transform: translateY(-1px);
}

.form-control::placeholder {
  color: #9ca3af;
}

/* Header Styling */
.header {
  background: #ffffff;
  border-bottom: 1px solid #f3f4f6;
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.95);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md) 0;
}

.nav-brand {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-color);
  text-decoration: none;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: var(--space-lg);
  align-items: center;
}

.nav-link {
  color: #374151;
  font-weight: 500;
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-small);
  transition: var(--transition-smooth);
}

.nav-link:hover {
  color: var(--primary-color);
  background-color: var(--soft-blue-light);
}

/* Footer Styling */
.footer {
  background: var(--footer-bg-color);
  color: #d1d5db;
  padding: var(--space-2xl) 0 var(--space-lg);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.footer-section h4 {
  color: #ffffff;
  margin-bottom: var(--space-md);
  font-size: 1.125rem;
}

.footer-section p,
.footer-section a {
  color: #9ca3af;
  line-height: 1.6;
}

.footer-section a:hover {
  color: #ffffff;
  background: transparent;
}

.footer-bottom {
  border-top: 1px solid #374151;
  padding-top: var(--space-lg);
  text-align: center;
  color: #6b7280;
}

/* Grid System */
.grid {
  display: grid;
  gap: var(--space-lg);
}

.grid-cols-1 { grid-template-columns: 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); }

/* Flex 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); }

/* 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); }

.p-sm { padding: var(--space-sm); }
.p-md { padding: var(--space-md); }
.p-lg { padding: var(--space-lg); }
.p-xl { padding: var(--space-xl); }

/* Text Utilities */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-primary { color: var(--primary-color); }
.text-secondary { color: var(--secondary-color); }
.text-muted { color: #6b7280; }

.text-sm { font-size: 0.875rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }

.font-light { font-weight: 300; }
.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }

/* Hero Section Styling */
.hero {
  background: linear-gradient(135deg, var(--section-bg-1) 0%, var(--soft-blue-light) 100%);
  padding: var(--space-2xl) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.05) 0%, transparent 70%);
  animation: float 20s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(30px, -30px) rotate(120deg); }
  66% { transform: translate(-20px, 20px) rotate(240deg); }
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  margin-bottom: var(--space-md);
  background: linear-gradient(135deg, #111827 0%, var(--primary-color) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  color: #6b7280;
  max-width: 600px;
  margin: 0 auto var(--space-xl);
}

/* Features Section */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.feature-card {
  text-align: center;
  padding: var(--space-xl);
  background: #ffffff;
  border-radius: var(--radius-large);
  box-shadow: var(--soft-shadow);
  transition: var(--transition-smooth);
  border: 1px solid #f3f4f6;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--soft-shadow-hover);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: var(--soft-blue-gradient);
  border-radius: var(--radius-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-md);
  color: white;
  font-size: 1.5rem;
  font-weight: bold;
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    padding: 0 var(--space-sm);
  }
  
  .section {
    padding: var(--space-xl) 0;
  }
  
  .grid-cols-2,
  .grid-cols-3,
  .grid-cols-4 {
    grid-template-columns: 1fr;
  }
  
  .nav-menu {
    flex-direction: column;
    gap: var(--space-sm);
  }
  
  .card {
    padding: var(--space-lg);
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
  
  .hero {
    padding: var(--space-xl) 0;
  }
}

@media (max-width: 480px) {
  .btn {
    width: 100%;
    justify-content: center;
  }
  
  .nav {
    flex-direction: column;
    gap: var(--space-sm);
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
}

/* Accessibility & Focus States */
.btn:focus,
.form-control:focus,
.nav-link:focus,
a:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* Selection Styling */
::selection {
  background: var(--soft-blue-light);
  color: var(--primary-color);
}

::-moz-selection {
  background: var(--soft-blue-light);
  color: var(--primary-color);
}

/* Smooth Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* Loading States */
.loading {
  opacity: 0.7;
  pointer-events: none;
}

.spinner {
  width: 20px;
  height: 20px;
  border: 2px solid #f3f4f6;
  border-top: 2px solid var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}


/* 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;
    }
}