:root {
  /* Color System - Nature-inspired Green Palette */
  --color-primary: #2E7D32;
  --color-primary-light: #4CAF50;
  --color-primary-dark: #1B5E20;
  
  --color-secondary: #81C784;
  --color-secondary-light: #A5D6A7;
  --color-secondary-dark: #66BB6A;
  
  --color-background: #FAFAFA;
  --color-surface: #FFFFFF;
  --color-surface-alt: #F1F8E9;
  
  --color-footer-bg: #1B5E20;
  --color-footer-text: #E8F5E8;
  
  --color-text: #2E7D32;
  --color-text-light: #4CAF50;
  --color-text-muted: #689F38;
  --color-text-inverse: #FFFFFF;
  
  --color-success: #4CAF50;
  --color-warning: #FF9800;
  --color-error: #F44336;
  
  /* Typography Scale */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-secondary: 'Poppins', 'Inter', sans-serif;
  
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  --text-6xl: 3.75rem;
  
  /* Spacing Scale */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  
  /* Border Radius System */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 20px;
  --radius-xl: 24px;
  --radius-2xl: 32px;
  
  /* Shadow System - Soft and Diffused */
  --shadow-soft-sm: 0 4px 20px -4px rgba(46, 125, 50, 0.1);
  --shadow-soft-md: 0 8px 30px -8px rgba(46, 125, 50, 0.15);
  --shadow-soft-lg: 0 12px 40px -12px rgba(46, 125, 50, 0.2);
  --shadow-soft-xl: 0 20px 60px -16px rgba(46, 125, 50, 0.25);
  
  /* Transition System */
  --transition-fast: 0.15s ease-out;
  --transition-base: 0.3s ease-out;
  --transition-slow: 0.5s ease-out;
}

/* Global Reset and Base Styles */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-primary);
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--color-text);
  background: linear-gradient(135deg, #F1F8E9 0%, #FAFAFA 50%, #FFFFFF 100%);
  margin: 0;
  padding: 0;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Typography Hierarchy - Round and Friendly */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-secondary);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 var(--space-6) 0;
  color: var(--color-primary-dark);
  letter-spacing: -0.02em;
}

h1 {
  font-size: var(--text-5xl);
  font-weight: 800;
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

h2 {
  font-size: var(--text-4xl);
  font-weight: 700;
}

h3 {
  font-size: var(--text-3xl);
  font-weight: 600;
}

h4 {
  font-size: var(--text-2xl);
  font-weight: 600;
}

h5 {
  font-size: var(--text-xl);
  font-weight: 600;
}

h6 {
  font-size: var(--text-lg);
  font-weight: 600;
}

p {
  margin: 0 0 var(--space-4) 0;
  color: var(--color-text-muted);
}

/* Links with Organic Hover Effects */
a {
  color: var(--color-primary);
  text-decoration: none;
  transition: all var(--transition-base);
  border-radius: var(--radius-sm);
  padding: var(--space-1) var(--space-2);
}

a:hover {
  color: var(--color-primary-dark);
  background-color: rgba(129, 199, 132, 0.1);
  transform: translateY(-1px);
}

a:focus {
  outline: 2px solid var(--color-secondary);
  outline-offset: 2px;
}

/* Lists with Rounded Styling */
ul, ol {
  margin: 0 0 var(--space-4) 0;
  padding-left: var(--space-6);
}

li {
  margin-bottom: var(--space-2);
  color: var(--color-text-muted);
}

/* Custom Container System */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.container-wide {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

.container-full {
  width: 100%;
  margin: 0 auto;
}

/* Section Layout System */
.section {
  padding: var(--space-20) 0;
  position: relative;
}

.section-sm {
  padding: var(--space-12) 0;
}

.section-lg {
  padding: var(--space-24) 0;
}

/* Background Variants */
.section-white {
  background-color: var(--color-surface);
}

.section-light {
  background: linear-gradient(145deg, #F1F8E9 0%, #FAFAFA 100%);
}

.section-primary {
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
  color: var(--color-text-inverse);
}

/* Button System - Soft & Organic */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-base);
  font-weight: 600;
  font-family: var(--font-secondary);
  border-radius: var(--radius-lg);
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  letter-spacing: 0.01em;
  box-shadow: var(--shadow-soft-md);
}

.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: left var(--transition-slow);
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  color: var(--color-text-inverse);
  box-shadow: var(--shadow-soft-lg);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft-xl);
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
}

.btn-secondary {
  background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-secondary-light) 100%);
  color: var(--color-primary-dark);
  box-shadow: var(--shadow-soft-md);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft-lg);
  background: linear-gradient(135deg, var(--color-secondary-dark) 0%, var(--color-secondary) 100%);
}

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
  box-shadow: none;
}

.btn-outline:hover {
  background: var(--color-primary);
  color: var(--color-text-inverse);
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft-lg);
}

.btn-large {
  padding: var(--space-6) var(--space-12);
  font-size: var(--text-lg);
  border-radius: var(--radius-xl);
}

.btn-small {
  padding: var(--space-3) var(--space-6);
  font-size: var(--text-sm);
  border-radius: var(--radius-md);
}

/* Card System - Organic Design */
.card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  box-shadow: var(--shadow-soft-md);
  transition: all var(--transition-base);
  border: 1px solid rgba(46, 125, 50, 0.08);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-secondary) 0%, var(--color-primary) 100%);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-soft-xl);
  border-color: rgba(46, 125, 50, 0.15);
}

.card-header {
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-4);
  border-bottom: 2px solid rgba(46, 125, 50, 0.1);
}

.card-title {
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-primary-dark);
  margin: 0 0 var(--space-3) 0;
}

.card-subtitle {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  margin: 0;
}

.card-content {
  margin-bottom: var(--space-6);
}

.card-footer {
  padding-top: var(--space-4);
  border-top: 1px solid rgba(46, 125, 50, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Feature Card with Image */
.feature-card {
  text-align: center;
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  padding: var(--space-10);
  box-shadow: var(--shadow-soft-lg);
  transition: all var(--transition-base);
  border: 1px solid rgba(46, 125, 50, 0.1);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--color-secondary) 0%, var(--color-primary) 50%, var(--color-secondary-light) 100%);
}

.feature-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: var(--shadow-soft-xl);
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-6);
  background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-primary) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-soft-md);
}

/* Hero Section Styles */
.hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #F1F8E9 0%, #FAFAFA 50%, #FFFFFF 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 40%;
  height: 200%;
  background: linear-gradient(45deg, rgba(129, 199, 132, 0.1) 0%, rgba(46, 125, 50, 0.05) 100%);
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(5deg); }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero-title {
  font-size: var(--text-6xl);
  font-weight: 800;
  margin-bottom: var(--space-6);
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 50%, var(--color-secondary) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: var(--text-xl);
  color: var(--color-text-muted);
  margin-bottom: var(--space-10);
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
}

/* Grid System */
.grid {
  display: grid;
  gap: var(--space-8);
}

.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

/* Form Elements */
.form-group {
  margin-bottom: var(--space-6);
}

.form-label {
  display: block;
  margin-bottom: var(--space-2);
  font-weight: 600;
  color: var(--color-text);
  font-size: var(--text-sm);
}

.form-input {
  width: 100%;
  padding: var(--space-4) var(--space-5);
  font-size: var(--text-base);
  font-family: var(--font-primary);
  border: 2px solid rgba(46, 125, 50, 0.2);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  transition: all var(--transition-base);
  color: var(--color-text);
}

.form-input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(129, 199, 132, 0.1);
  transform: translateY(-1px);
}

.form-input::placeholder {
  color: var(--color-text-muted);
}

/* Navigation Styles */
.nav {
  background: var(--color-surface);
  box-shadow: var(--shadow-soft-sm);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(46, 125, 50, 0.1);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) 0;
}

.nav-brand {
  font-family: var(--font-secondary);
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--color-primary);
  text-decoration: none;
}

.nav-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: var(--space-8);
}

.nav-link {
  color: var(--color-text);
  font-weight: 500;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
}

.nav-link:hover {
  color: var(--color-primary);
  background: rgba(129, 199, 132, 0.1);
}

/* Footer Styles */
.footer {
  background: linear-gradient(135deg, var(--color-footer-bg) 0%, var(--color-primary-dark) 100%);
  color: var(--color-footer-text);
  padding: var(--space-16) 0 var(--space-8) 0;
}

.footer-content {
  text-align: center;
}

.footer-brand {
  font-family: var(--font-secondary);
  font-size: var(--text-3xl);
  font-weight: 800;
  color: var(--color-footer-text);
  margin-bottom: var(--space-6);
}

.footer-description {
  font-size: var(--text-lg);
  margin-bottom: var(--space-8);
  opacity: 0.9;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: var(--space-6);
  margin-top: var(--space-8);
  text-align: center;
  opacity: 0.8;
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: var(--space-2); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }

.mt-0 { margin-top: 0; }
.mt-2 { margin-top: var(--space-2); }
.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }

.p-4 { padding: var(--space-4); }
.p-6 { padding: var(--space-6); }
.p-8 { padding: var(--space-8); }

.hidden { display: none; }
.block { display: block; }
.inline-block { display: inline-block; }
.flex { display: flex; }
.inline-flex { display: inline-flex; }

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    padding: 0 var(--space-4);
  }
  
  .hero-title {
    font-size: var(--text-4xl);
  }
  
  .hero-cta {
    flex-direction: column;
    align-items: center;
  }
  
  .nav-menu {
    gap: var(--space-4);
  }
  
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
  
  .btn-large {
    padding: var(--space-5) var(--space-8);
  }
}

@media (max-width: 480px) {
  .card,
  .feature-card {
    padding: var(--space-6);
  }
  
  .section {
    padding: var(--space-12) 0;
  }
  
  .hero-title {
    font-size: var(--text-3xl);
  }
  
  h1 {
    font-size: var(--text-3xl);
  }
  
  h2 {
    font-size: var(--text-2xl);
  }
}

/* Animation Classes */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.animate-fadeInUp {
  animation: fadeInUp 0.6s ease-out;
}

.animate-slideInRight {
  animation: slideInRight 0.6s ease-out;
}

/* Focus Styles for Accessibility */
*:focus {
  outline: 2px solid var(--color-secondary);
  outline-offset: 2px;
}

/* Selection Styles */
::selection {
  background: rgba(129, 199, 132, 0.3);
  color: var(--color-primary-dark);
}

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--color-background);
}

::-webkit-scrollbar-thumb {
  background: var(--color-secondary);
  border-radius: var(--radius-sm);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-primary);
}


/* 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;
    }
}