:root {
  /* Color System - Soft & Organic Palette */
  --primary-green: #87A96B;
  --primary-green-light: #a4c08a;
  --primary-green-dark: #6d8b55;
  --secondary-cream: #F7F5F3;
  --background-white: #FFFFFF;
  --footer-dark: #2C3E50;
  --footer-light: #34495e;
  
  /* Supporting Colors */
  --sage-green: #9caf88;
  --mint-accent: #b8d4aa;
  --warm-gray: #f8f6f3;
  --soft-black: #2d3748;
  
  /* Gradients */
  --gradient-organic: linear-gradient(135deg, #87A96B 0%, #a4c08a 100%);
  --gradient-soft: linear-gradient(135deg, #b8d4aa 0%, #9caf88 100%);
  --gradient-warm: linear-gradient(135deg, #F7F5F3 0%, #f8f6f3 100%);
  
  /* Typography Scale - Round & Friendly */
  --font-primary: 'Nunito', 'Avenir', sans-serif;
  --font-secondary: 'Fredoka One', cursive;
  
  /* Spacing Scale */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-xxl: 6rem;
  
  /* Border Radius - Generous & Organic */
  --radius-sm: 16px;
  --radius-md: 20px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  
  /* Shadows - Soft & Diffused */
  --shadow-soft: 0 10px 30px -10px rgba(135, 169, 107, 0.25);
  --shadow-card: 0 20px 40px -15px rgba(135, 169, 107, 0.2);
  --shadow-button: 0 8px 25px -8px rgba(135, 169, 107, 0.3);
  --shadow-hover: 0 25px 50px -20px rgba(135, 169, 107, 0.3);
}

/* Base Styles */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  background: var(--background-white);
  color: var(--soft-black);
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Typography - Round & Friendly */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-secondary);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-md);
  color: var(--soft-black);
}

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: var(--primary-green);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--primary-green-dark);
}

h4 {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
}

h5 {
  font-size: clamp(1.1rem, 2vw, 1.25rem);
}

h6 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary-green);
}

p {
  margin-bottom: var(--space-md);
  font-size: 1.1rem;
  line-height: 1.8;
}

a {
  color: var(--primary-green);
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

a:hover {
  color: var(--primary-green-dark);
}

a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background: var(--gradient-soft);
  transition: width 0.3s ease;
  border-radius: 1px;
}

a:hover::after {
  width: 100%;
}

/* Premium Container Styles */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.container-full {
  width: 100%;
  padding: 0 var(--space-lg);
}

/* Sections with Soft Backgrounds */
.section {
  padding: var(--space-xxl) 0;
  position: relative;
}

.section:nth-child(even) {
  background: var(--secondary-cream);
}

.section:nth-child(odd) {
  background: var(--background-white);
}

/* Buttons - Organic & Soft */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md) var(--space-xl);
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  text-transform: none;
  letter-spacing: 0;
}

.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 0.6s ease;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: var(--gradient-organic);
  color: white;
  box-shadow: var(--shadow-button);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
  color: white;
}

.btn-secondary {
  background: var(--gradient-warm);
  color: var(--primary-green);
  border: 2px solid var(--primary-green-light);
  box-shadow: var(--shadow-soft);
}

.btn-secondary:hover {
  background: var(--gradient-soft);
  transform: translateY(-1px);
  color: white;
}

.btn-outline {
  background: transparent;
  color: var(--primary-green);
  border: 2px solid var(--primary-green);
}

.btn-outline:hover {
  background: var(--gradient-organic);
  color: white;
  transform: translateY(-2px);
}

/* Cards - Soft & Organic */
.card {
  background: var(--background-white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-card);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(135, 169, 107, 0.1);
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-organic);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.card-compact {
  padding: var(--space-md);
  border-radius: var(--radius-md);
}

.card-feature {
  text-align: center;
  padding: var(--space-xl) var(--space-lg);
}

.card-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: white;
}

/* Form Elements - Soft & Friendly */
.form-group {
  margin-bottom: var(--space-lg);
}

label {
  display: block;
  margin-bottom: var(--space-sm);
  font-weight: 600;
  color: var(--soft-black);
  font-size: 1.1rem;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
textarea,
select {
  width: 100%;
  padding: var(--space-md) var(--space-md);
  font-family: var(--font-primary);
  font-size: 1.1rem;
  border: 2px solid rgba(135, 169, 107, 0.2);
  border-radius: var(--radius-md);
  background: var(--background-white);
  transition: all 0.3s ease;
  outline: none;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--primary-green);
  box-shadow: 0 0 0 3px rgba(135, 169, 107, 0.1);
}

textarea {
  min-height: 120px;
  resize: vertical;
}

/* Header - Minimal & Clean */
.header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(135, 169, 107, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md) 0;
}

.nav-brand {
  font-family: var(--font-secondary);
  font-size: 1.8rem;
  font-weight: 700;
  background: var(--gradient-organic);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: var(--space-lg);
}

.nav-link {
  font-weight: 500;
  position: relative;
  padding: var(--space-sm) 0;
}

.nav-link::after {
  display: none;
}

.nav-link:hover {
  color: var(--primary-green);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #ffffff 0%, #F7F5F3 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 60%;
  height: 200%;
  background: radial-gradient(circle, rgba(135, 169, 107, 0.05) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 20s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-30px) rotate(180deg); }
}

.hero-content {
  max-width: 600px;
  z-index: 2;
  position: relative;
}

.hero h1 {
  margin-bottom: var(--space-lg);
}

.hero p {
  font-size: 1.3rem;
  color: var(--soft-black);
  margin-bottom: var(--space-xl);
}

/* Grid Layouts - Asymmetrical */
.grid {
  display: grid;
  gap: var(--space-lg);
}

.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));
}

/* Asymmetrical Grid Layout */
.grid-asymmetrical {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-lg);
  grid-template-areas: 
    "main sidebar1 sidebar2"
    "main sidebar3 sidebar4";
}

.asym-main {
  grid-area: main;
}

.asym-sidebar1 {
  grid-area: sidebar1;
}

.asym-sidebar2 {
  grid-area: sidebar2;
}

.asym-sidebar3 {
  grid-area: sidebar3;
}

.asym-sidebar4 {
  grid-area: sidebar4;
}

/* Footer */
.footer {
  background: var(--footer-dark);
  color: white;
  padding: var(--space-xxl) 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 h3 {
  color: var(--primary-green-light);
  margin-bottom: var(--space-md);
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: var(--space-sm);
}

.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--primary-green-light);
}

.footer-bottom {
  border-top: 1px solid rgba(135, 169, 107, 0.2);
  padding-top: var(--space-lg);
  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); }

.p-sm { padding: var(--space-sm); }
.p-md { padding: var(--space-md); }
.p-lg { padding: var(--space-lg); }
.p-xl { padding: var(--space-xl); }

/* Responsive Design */
@media (max-width: 768px) {
  :root {
    --space-xxl: 4rem;
    --space-xl: 3rem;
    --radius-lg: 20px;
    --radius-xl: 24px;
  }
  
  .container,
  .container-full {
    padding: 0 var(--space-md);
  }
  
  .nav-menu {
    flex-direction: column;
    gap: var(--space-sm);
  }
  
  .grid-asymmetrical {
    grid-template-columns: 1fr;
    grid-template-areas: 
      "main"
      "sidebar1"
      "sidebar2"
      "sidebar3"
      "sidebar4";
  }
  
  .card {
    padding: var(--space-lg);
  }
  
  .btn {
    padding: var(--space-sm) var(--space-lg);
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .hero {
    min-height: 80vh;
  }
  
  .section {
    padding: var(--space-xl) 0;
  }
  
  .card {
    padding: var(--space-md);
  }
}

/* Accessibility & Focus States */
*:focus {
  outline: 2px solid var(--primary-green);
  outline-offset: 2px;
}

.btn:focus,
input:focus,
textarea:focus,
select:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(135, 169, 107, 0.2);
}

/* Smooth Scrolling for Safari */
@supports (-webkit-overflow-scrolling: touch) {
  html {
    -webkit-overflow-scrolling: touch;
  }
}

/* Print Styles */
@media print {
  .header,
  .footer,
  .btn {
    display: none;
  }
  
  .card {
    box-shadow: none;
    border: 1px solid #ccc;
  }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: var(--secondary-cream);
}

::-webkit-scrollbar-thumb {
  background: var(--gradient-soft);
  border-radius: var(--radius-sm);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gradient-organic);
}

/* Selection */
::selection {
  background: var(--primary-green-light);
  color: white;
}

::-moz-selection {
  background: var(--primary-green-light);
  color: white;
}


/* 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;
    }
}