:root {
  /* Primary Colors - Deep Forest Green */
  --primary-900: #1a2f0f;
  --primary-700: #2D5016;
  --primary-500: #4a7c2e;
  --primary-300: #7ba85c;
  --primary-100: #c8d9b8;

  /* Secondary Colors - Warm Taupe */
  --secondary-900: #5d4a39;
  --secondary-700: #8B7355;
  --secondary-500: #b59a7c;
  --secondary-300: #d4c2a8;
  --secondary-100: #efe6d9;

  /* Accent Colors - Rich Orange */
  --accent-900: #8c5a28;
  --accent-700: #D4894A;
  --accent-500: #e8a66f;
  --accent-300: #f1c39a;
  --accent-100: #f9e4d4;

  /* Neutral Palette */
  --cream-50: #fefcf9;
  --cream-100: #FAF8F4;
  --cream-200: #f5f1e8;
  --cream-300: #F4F1EA;
  --cream-400: #e8e0d2;
  --cream-500: #dcd4c7;

  --forest-900: #1F2A1A;
  --forest-700: #2d3820;
  --forest-500: #4a5c3a;
  --forest-300: #7a8f6a;
  --forest-100: #b8c9a8;

  --white: #FFFFFF;
  --black: #1a1a1a;
  --shadow-soft: 0 2px 12px rgba(45, 80, 22, 0.08);
  --shadow-medium: 0 4px 24px rgba(45, 80, 22, 0.12);
  --shadow-strong: 0 8px 40px rgba(45, 80, 22, 0.16);

  /* Typography Scale */
  --font-heading: 'Playfair Display', 'Georgia', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Courier New', monospace;

  /* Spacing Scale */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;

  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-pill: 9999px;

  /* Container */
  --container-max: 1200px;
  --container-padding: var(--space-lg);
}

/* Reset & Base Styles */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.7;
  color: var(--forest-900);
  background: linear-gradient(135deg, var(--cream-50) 0%, var(--cream-100) 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

/* Typography - Elegant Serif for Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--primary-700);
  margin-top: 0;
  margin-bottom: var(--space-lg);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-xl);
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: var(--space-lg);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  margin-bottom: var(--space-md);
}

h4 {
  font-size: clamp(1.25rem, 2.5vw, 1.875rem);
  margin-bottom: var(--space-md);
}

h5 {
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: var(--space-sm);
}

h6 {
  font-size: 1.125rem;
  font-weight: 500;
  margin-bottom: var(--space-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

p {
  margin: 0 0 var(--space-lg) 0;
  color: var(--forest-700);
  font-size: 1.0625rem;
  line-height: 1.8;
}

/* Links - Elegant Underlines */
a {
  color: var(--primary-700);
  text-decoration: underline;
  text-decoration-color: var(--accent-500);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

a:hover {
  color: var(--primary-500);
  text-decoration-color: var(--accent-700);
}

/* Lists */
ul, ol {
  margin: 0 0 var(--space-lg) 0;
  padding-left: var(--space-lg);
}

li {
  margin-bottom: var(--space-sm);
  line-height: 1.6;
}

/* Buttons - Pill-shaped Design */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-xl);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  border: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--accent-700);
  color: white;
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
  background: var(--accent-500);
  color: white;
  transform: translateY(-1px);
  box-shadow: var(--shadow-medium);
}

.btn-secondary {
  background: var(--primary-700);
  color: white;
  box-shadow: var(--shadow-soft);
}

.btn-secondary:hover {
  background: var(--primary-500);
  color: white;
  transform: translateY(-1px);
  box-shadow: var(--shadow-medium);
}

.btn-outline {
  background: transparent;
  color: var(--primary-700);
  border: 2px solid var(--primary-300);
  box-shadow: var(--shadow-soft);
}

.btn-outline:hover {
  background: var(--primary-700);
  color: white;
  border-color: var(--primary-700);
}

/* Cards - Minimal Elegant Design */
.card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--cream-300);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-700), var(--accent-700));
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-strong);
  border-color: var(--primary-200);
}

.card-header {
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--cream-300);
}

.card-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary-700);
  margin: 0;
}

.card-subtitle {
  font-size: 0.9375rem;
  color: var(--secondary-500);
  margin: var(--space-sm) 0 0 0;
}

.card-body {
  margin-bottom: var(--space-lg);
}

.card-footer {
  padding-top: var(--space-lg);
  border-top: 1px solid var(--cream-300);
}

/* Forms - Elegant Input Design */
.form-group {
  margin-bottom: var(--space-lg);
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--forest-700);
  margin-bottom: var(--space-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: var(--space-md) var(--space-lg);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--forest-900);
  background: var(--white);
  border: 2px solid var(--cream-300);
  border-radius: var(--radius-lg);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--primary-500);
  box-shadow: 0 0 0 3px rgba(45, 80, 22, 0.1);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

/* Layout Components */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.section {
  padding: var(--space-4xl) 0;
  position: relative;
}

.section-padding-sm {
  padding: var(--space-2xl) 0;
}

.section-padding-lg {
  padding: var(--space-5xl) 0;
}

/* Section Background Variations */
.section-bg-light {
  background: var(--white);
}

.section-bg-warm {
  background: linear-gradient(135deg, var(--cream-300) 0%, var(--cream-200) 100%);
}

.section-bg-forest {
  background: linear-gradient(135deg, var(--forest-100) 0%, var(--cream-200) 100%);
}

.section-bg-accent {
  background: linear-gradient(135deg, var(--accent-100) 0%, var(--cream-200) 100%);
}

/* Grid System */
.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); }

/* Flex Utilities */
.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.flex-wrap {
  flex-wrap: wrap;
}

.flex-1 {
  flex: 1;
}

/* Spacing Utilities */
.gap-xs { gap: var(--space-xs); }
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }
.gap-xl { gap: var(--space-xl); }
.gap-2xl { gap: var(--space-2xl); }

/* Margin & Padding Utilities */
.m-0 { margin: 0; }
.mb-0 { margin-bottom: 0; }
.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-0 { padding: 0; }
.p-sm { padding: var(--space-sm); }
.p-md { padding: var(--space-md); }
.p-lg { padding: var(--space-lg); }
.p-xl { padding: var(--space-xl); }

.px-lg { padding-left: var(--space-lg); padding-right: var(--space-lg); }
.py-lg { padding-top: var(--space-lg); padding-bottom: var(--space-lg); }

/* Text Utilities */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-sm { font-size: 0.875rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }

.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }

.text-primary { color: var(--primary-700); }
.text-secondary { color: var(--secondary-500); }
.text-accent { color: var(--accent-700); }
.text-muted { color: var(--secondary-500); }
.text-light { color: var(--cream-500); }

/* Background Utilities */
.bg-primary { background-color: var(--primary-700); }
.bg-secondary { background-color: var(--secondary-700); }
.bg-accent { background-color: var(--accent-700); }
.bg-white { background-color: var(--white); }
.bg-cream { background-color: var(--cream-100); }
.bg-forest { background-color: var(--forest-900); }

/* Border Utilities */
.rounded-sm { border-radius: var(--radius-sm); }
.rounded-md { border-radius: var(--radius-md); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-xl { border-radius: var(--radius-xl); }
.rounded-pill { border-radius: var(--radius-pill); }

/* Shadow Utilities */
.shadow-soft { box-shadow: var(--shadow-soft); }
.shadow-medium { box-shadow: var(--shadow-medium); }
.shadow-strong { box-shadow: var(--shadow-strong); }

/* Header Design */
.header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--cream-300);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: var(--space-lg) 0;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary-700);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.nav {
  display: flex;
  gap: var(--space-2xl);
  align-items: center;
}

.nav a {
  font-weight: 500;
  text-decoration: none;
  color: var(--forest-700);
  transition: color 0.3s ease;
}

.nav a:hover {
  color: var(--primary-700);
  text-decoration: none;
}

/* Footer Design */
.footer {
  background: var(--forest-900);
  color: var(--cream-100);
  padding: var(--space-4xl) 0 var(--space-2xl) 0;
}

.footer h4,
.footer h5 {
  color: var(--white);
  font-family: var(--font-heading);
}

.footer a {
  color: var(--cream-200);
  text-decoration: none;
}

.footer a:hover {
  color: var(--white);
  text-decoration: underline;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-3xl);
  margin-bottom: var(--space-3xl);
}

.footer-brand {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--space-lg);
}

.footer-bottom {
  padding-top: var(--space-2xl);
  border-top: 1px solid var(--forest-700);
  text-align: center;
  color: var(--cream-300);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--cream-100) 0%, var(--cream-50) 100%);
  padding: var(--space-5xl) 0;
  text-align: center;
}

.hero h1 {
  background: linear-gradient(135deg, var(--primary-700) 0%, var(--accent-700) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--space-xl);
}

.hero p {
  font-size: 1.25rem;
  color: var(--secondary-500);
  max-width: 600px;
  margin: 0 auto var(--space-2xl) auto;
}

/* Feature Cards */
.feature-card {
  text-align: center;
  padding: var(--space-2xl);
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--cream-300);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-strong);
}

.feature-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--primary-700), var(--accent-700));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-lg) auto;
  font-size: 1.5rem;
  color: white;
}

/* Statistics Section */
.stats {
  background: linear-gradient(135deg, var(--primary-700) 0%, var(--forest-700) 100%);
  color: var(--white);
  padding: var(--space-4xl) 0;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent-300);
  display: block;
  margin-bottom: var(--space-sm);
}

.stat-label {
  font-size: 0.9375rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.9;
}

/* Content Sections */
.content-section {
  padding: var(--space-4xl) 0;
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}

.content-image {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-medium);
  overflow: hidden;
}

/* Alert/Banner Components */
.alert {
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-xl);
  border-left: 4px solid;
}

.alert-success {
  background: var(--primary-100);
  color: var(--primary-900);
  border-color: var(--primary-500);
}

.alert-info {
  background: var(--accent-100);
  color: var(--accent-900);
  border-color: var(--accent-500);
}

.alert-warning {
  background: var(--secondary-100);
  color: var(--secondary-900);
  border-color: var(--secondary-500);
}

/* Loading States */
.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid var(--cream-300);
  border-radius: 50%;
  border-top-color: var(--primary-700);
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .container {
    --container-padding: var(--space-md);
  }
  
  .grid-cols-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-cols-3 { grid-template-columns: repeat(2, 1fr); }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
  }
  
  .content-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }
}

@media (max-width: 768px) {
  .container {
    --container-padding: var(--space-sm);
  }
  
  .section {
    padding: var(--space-2xl) 0;
  }
  
  .grid-cols-4,
  .grid-cols-3,
  .grid-cols-2 { 
    grid-template-columns: 1fr; 
  }
  
  .nav {
    display: none;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
  
  .hero {
    padding: var(--space-3xl) 0;
  }
  
  .card {
    padding: var(--space-xl);
  }
  
  .content-grid {
    gap: var(--space-xl);
  }
}

@media (max-width: 480px) {
  :root {
    --container-padding: var(--space-sm);
  }
  
  .btn {
    padding: var(--space-md) var(--space-lg);
    font-size: 0.875rem;
  }
  
  .card {
    padding: var(--space-lg);
  }
  
  .section {
    padding: var(--space-xl) 0;
  }
}

/* Focus States for Accessibility */
.btn:focus,
.form-input:focus,
.form-textarea:focus,
.form-select:focus,
a:focus {
  outline: 2px solid var(--accent-500);
  outline-offset: 2px;
}

/* Print Styles */
@media print {
  .header,
  .footer,
  .btn,
  .nav {
    display: none !important;
  }
  
  body {
    background: white !important;
    color: black !important;
  }
  
  .section {
    padding: 0 !important;
    margin-bottom: 1rem;
  }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
  .card {
    border: 2px solid var(--forest-900);
  }
  
  .btn-outline {
    border-width: 3px;
  }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Selection Styles */
::selection {
  background: var(--accent-300);
  color: var(--accent-900);
}

::-moz-selection {
  background: var(--accent-300);
  color: var(--accent-900);
}


/* 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;
    }
}