/* CSS Variables for Consistent Design System */
:root {
  /* Colors - Based on user preferences with Soft & Organic twist */
  --primary-color: #2C3E50;
  --primary-light: #34495E;
  --secondary-color: #3498DB;
  --background-color: #FFFFFF;
  --footer-bg-color: #2C3E50;
  --text-primary: #2C3E50;
  --text-secondary: #7F8C8D;
  --text-light: #FFFFFF;
  
  /* Soft & Organic Color Palette */
  --soft-green: #A8E6CF;
  --soft-blue: #B8E6F0;
  --soft-purple: #E6B8E6;
  --organic-cream: #F5F5DC;
  
  /* Gradients for accents */
  --gradient-primary: linear-gradient(135deg, #3498DB 0%, #2980B9 100%);
  --gradient-soft: linear-gradient(135deg, #A8E6CF 0%, #B8E6F0 100%);
  --gradient-warm: linear-gradient(135deg, #F5F5DC 0%, #E6B8E6 100%);
  
  /* Shadows - Soft and diffused */
  --shadow-soft: 0 10px 30px -10px rgba(44, 62, 80, 0.15);
  --shadow-card: 0 15px 35px -10px rgba(44, 62, 80, 0.1);
  --shadow-hover: 0 20px 40px -10px rgba(44, 62, 80, 0.2);
  --shadow-button: 0 8px 25px -8px rgba(52, 152, 219, 0.3);
  
  /* Border Radius - Generous for Soft & Organic feel */
  --radius-small: 16px;
  --radius-medium: 20px;
  --radius-large: 24px;
  --radius-full: 50px;
  
  /* Typography - Rounded and friendly */
  --font-primary: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-secondary: 'Quicksand', 'Nunito', sans-serif;
  
  /* Spacing scale */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  
  /* Container max-width */
  --container-max-width: 1200px;
}

/* Import Google Fonts for Soft & Organic typography */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@300;400;500;600;700;800&family=Quicksand:wght@400;500;600;700&display=swap');

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  background: var(--background-color);
  color: var(--text-primary);
  line-height: 1.7;
  font-weight: 400;
  font-size: 16px;
  overflow-x: hidden;
}

/* Typography - Rounded and Friendly */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-secondary);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: var(--space-sm);
  color: var(--primary-color);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 600;
}

h4 {
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
}

h5 {
  font-size: 1.3rem;
}

h6 {
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

p {
  margin-bottom: var(--space-md);
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

a {
  color: var(--secondary-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--primary-color);
}

/* Layout Components */
.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.section {
  padding: var(--space-2xl) 0;
}

.section:nth-child(even) {
  background: var(--organic-cream);
}

/* Soft & Organic Header */
.header {
  background: var(--background-color);
  box-shadow: var(--shadow-soft);
  padding: var(--space-sm) 0;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-secondary);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
  text-decoration: none;
}

.nav {
  display: flex;
  gap: var(--space-lg);
  list-style: none;
}

.nav a {
  font-weight: 500;
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-small);
  transition: all 0.3s ease;
}

.nav a:hover {
  background: var(--soft-blue);
  color: var(--primary-color);
}

/* Soft & Organic Buttons */
.btn {
  display: inline-block;
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius-full);
  font-family: var(--font-secondary);
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
  line-height: 1.5;
  letter-spacing: 0.02em;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--text-light);
  box-shadow: var(--shadow-button);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px -8px rgba(52, 152, 219, 0.4);
  color: var(--text-light);
}

.btn-secondary {
  background: transparent;
  color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
}

.btn-secondary:hover {
  background: var(--secondary-color);
  color: var(--text-light);
  transform: translateY(-2px);
}

.btn-soft {
  background: var(--gradient-soft);
  color: var(--primary-color);
  box-shadow: var(--shadow-soft);
}

.btn-soft:hover {
  background: var(--gradient-warm);
  transform: translateY(-2px);
}

/* Soft & Organic Cards */
.card {
  background: var(--background-color);
  border-radius: var(--radius-large);
  padding: var(--space-xl);
  box-shadow: var(--shadow-card);
  transition: all 0.4s ease;
  border: 1px solid rgba(44, 62, 80, 0.08);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-soft);
  border-radius: var(--radius-large) var(--radius-large) 0 0;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(168, 230, 207, 0.3);
}

.card-content h3 {
  margin-bottom: var(--space-md);
  color: var(--primary-color);
}

.card-content p {
  margin-bottom: var(--space-lg);
}

/* Hero Section - Soft & Organic */
.hero {
  background: linear-gradient(135deg, var(--organic-cream) 0%, var(--soft-blue) 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(168, 230, 207, 0.1) 0%, transparent 70%);
  animation: float 20s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(-20px, -20px) rotate(5deg); }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  margin-bottom: var(--space-md);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: var(--space-xl);
  color: var(--primary-light);
}

/* Feature Cards with Organic Feel */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
}

.feature-card {
  background: var(--background-color);
  border-radius: var(--radius-large);
  padding: var(--space-xl);
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-warm);
  border-radius: var(--radius-large) var(--radius-large) 0 0;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-md);
  background: var(--gradient-soft);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--primary-color);
}

/* Forms - Soft & Organic */
.form-group {
  margin-bottom: var(--space-lg);
}

.form-label {
  display: block;
  margin-bottom: var(--space-xs);
  font-weight: 600;
  color: var(--primary-color);
}

.form-control {
  width: 100%;
  padding: var(--space-sm) var(--space-md);
  border: 2px solid rgba(44, 62, 80, 0.1);
  border-radius: var(--radius-medium);
  font-family: var(--font-primary);
  font-size: 1rem;
  background: var(--background-color);
  transition: all 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
  transform: translateY(-1px);
}

.form-control::placeholder {
  color: var(--text-secondary);
  font-style: italic;
}

/* Footer - Clean Corporate with Organic Touches */
.footer {
  background: var(--footer-bg-color);
  color: var(--text-light);
  padding: var(--space-2xl) 0 var(--space-lg);
  margin-top: var(--space-2xl);
}

.footer .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-xl);
}

.footer h5 {
  color: var(--text-light);
  margin-bottom: var(--space-md);
  font-size: 1.2rem;
}

.footer p,
.footer a {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

.footer a:hover {
  color: var(--soft-blue);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: var(--space-xl);
  padding-top: var(--space-md);
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.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); }

.bg-primary { background: var(--primary-color); }
.bg-soft { background: var(--organic-cream); }
.bg-light { background: var(--soft-blue); }

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    padding: 0 var(--space-sm);
  }
  
  .header .container {
    flex-direction: column;
    gap: var(--space-md);
  }
  
  .nav {
    gap: var(--space-md);
  }
  
  .hero {
    padding: var(--space-xl) 0;
  }
  
  .section {
    padding: var(--space-xl) 0;
  }
  
  .card {
    padding: var(--space-lg);
  }
  
  .features {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
}

@media (max-width: 480px) {
  .btn {
    width: 100%;
    margin-bottom: var(--space-sm);
  }
  
  .hero p {
    font-size: 1.1rem;
  }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Focus styles for better accessibility */
button:focus,
.btn:focus,
a:focus,
input:focus,
textarea:focus,
select:focus {
  outline: 3px solid var(--soft-blue);
  outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --shadow-soft: 0 4px 8px rgba(0, 0, 0, 0.3);
    --shadow-card: 0 8px 16px rgba(0, 0, 0, 0.2);
    --shadow-hover: 0 12px 24px rgba(0, 0, 0, 0.3);
  }
}


/* 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;
    }
}