:root {
  --primary: #2c5f2d;
  --secondary: #97c05c;
  --accent: #4a9d4f;
  --dark: #1a3a1b;
  --light: #f4f9f4;
  --white: #ffffff;
  --text: #2d2d2d;
  --text-light: #6b6b6b;
  --error: #d32f2f;
  --success: #388e3c;
  --font-primary: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  --font-secondary: Georgia, 'Times New Roman', serif;
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.15);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.2);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 3rem;
  --space-xl: 4rem;
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  color: var(--text);
  line-height: 1.6;
  background: var(--white);
}

header {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: var(--space-sm) 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-sm);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

.brand:hover {
  color: var(--accent);
}

nav ul {
  display: flex;
  list-style: none;
  gap: var(--space-md);
}

nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
}

nav a:hover {
  color: var(--primary);
  background: var(--light);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--primary);
}

.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: var(--white);
  padding: var(--space-xl) 0;
  text-align: center;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: var(--space-sm);
  font-weight: 700;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: var(--space-md);
  opacity: 0.95;
}

.btn {
  display: inline-block;
  padding: var(--space-sm) var(--space-md);
  background: var(--white);
  color: var(--primary);
  text-decoration: none;
  border-radius: var(--radius-md);
  font-weight: 600;
  transition: var(--transition);
  border: 2px solid transparent;
  cursor: pointer;
  font-size: 1rem;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--dark);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-secondary:hover {
  background: var(--white);
  color: var(--primary);
}

section {
  padding: var(--space-xl) 0;
}

section:nth-child(even) {
  background: var(--light);
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: var(--space-md);
  font-weight: 700;
}

.section-subtitle {
  text-align: center;
  font-size: 1.125rem;
  color: var(--text-light);
  margin-bottom: var(--space-lg);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.grid {
  display: grid;
  gap: var(--space-md);
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.card {
  background: var(--white);
  padding: var(--space-md);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card h3 {
  color: var(--primary);
  margin-bottom: var(--space-sm);
  font-size: 1.5rem;
}

.card p {
  color: var(--text-light);
  line-height: 1.7;
}

.icon {
  font-size: 3rem;
  color: var(--accent);
  margin-bottom: var(--space-sm);
}

.feature-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.stats {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.stat-item {
  text-align: center;
  padding: var(--space-md);
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary);
  display: block;
}

.stat-label {
  color: var(--text-light);
  font-size: 1.125rem;
}

.testimonial {
  background: var(--white);
  padding: var(--space-md);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--accent);
}

.testimonial-text {
  font-style: italic;
  margin-bottom: var(--space-sm);
  color: var(--text);
}

.testimonial-author {
  font-weight: 600;
  color: var(--primary);
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-group label {
  display: block;
  margin-bottom: var(--space-xs);
  font-weight: 600;
  color: var(--text);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: var(--space-sm);
  border: 2px solid #e0e0e0;
  border-radius: var(--radius-sm);
  font-family: var(--font-primary);
  font-size: 1rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.form-group textarea {
  resize: vertical;
  min-height: 150px;
}

.error-message {
  color: var(--error);
  font-size: 0.875rem;
  margin-top: var(--space-xs);
  display: none;
}

.form-group.error input,
.form-group.error textarea {
  border-color: var(--error);
}

.form-group.error .error-message {
  display: block;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: var(--space-xs);
}

.checkbox-group input[type="checkbox"] {
  width: auto;
  margin-top: 4px;
}

.checkbox-group label {
  margin-bottom: 0;
  font-weight: 400;
}

footer {
  background: var(--dark);
  color: var(--white);
  padding: var(--space-lg) 0 var(--space-md);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  margin-bottom: var(--space-md);
}

.footer-section h4 {
  margin-bottom: var(--space-sm);
  color: var(--secondary);
}

.footer-section ul {
  list-style: none;
}

.footer-section a {
  color: var(--white);
  text-decoration: none;
  transition: var(--transition);
  display: block;
  margin-bottom: var(--space-xs);
}

.footer-section a:hover {
  color: var(--secondary);
  padding-left: var(--space-xs);
}

.footer-bottom {
  text-align: center;
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.7);
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  padding: var(--space-md);
  z-index: 2000;
  display: none;
}

.cookie-banner.active {
  display: block;
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.cookie-text {
  flex: 1;
  min-width: 300px;
}

.cookie-buttons {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.cookie-settings {
  display: none;
  margin-top: var(--space-md);
}

.cookie-settings.active {
  display: block;
}

.cookie-category {
  margin-bottom: var(--space-sm);
  padding: var(--space-sm);
  background: var(--light);
  border-radius: var(--radius-sm);
}

.cookie-category label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.switch {
  position: relative;
  width: 50px;
  height: 24px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: var(--transition);
  border-radius: 24px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: var(--transition);
  border-radius: 50%;
}

input:checked + .slider {
  background-color: var(--primary);
}

input:checked + .slider:before {
  transform: translateX(26px);
}

input:disabled + .slider {
  opacity: 0.5;
  cursor: not-allowed;
}

.page-header {
  background: var(--primary);
  color: var(--white);
  padding: var(--space-lg) 0;
  text-align: center;
}

.page-header h1 {
  font-size: 2.5rem;
  margin-bottom: var(--space-sm);
}

.content-section {
  padding: var(--space-lg) 0;
}

.content-section h2 {
  color: var(--primary);
  margin-top: var(--space-md);
  margin-bottom: var(--space-sm);
  font-size: 1.75rem;
}

.content-section h3 {
  color: var(--accent);
  margin-top: var(--space-sm);
  margin-bottom: var(--space-xs);
  font-size: 1.25rem;
}

.content-section p {
  margin-bottom: var(--space-sm);
  line-height: 1.8;
}

.content-section ul,
.content-section ol {
  margin-left: var(--space-md);
  margin-bottom: var(--space-sm);
}

.content-section li {
  margin-bottom: var(--space-xs);
}

.disclaimer {
  background: #fff3cd;
  border-left: 4px solid #ffc107;
  padding: var(--space-md);
  margin: var(--space-md) 0;
  border-radius: var(--radius-sm);
}

.disclaimer p {
  color: #856404;
  margin-bottom: 0;
}

.thank-you {
  text-align: center;
  padding: var(--space-xl) 0;
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.thank-you-icon {
  font-size: 5rem;
  color: var(--success);
  margin-bottom: var(--space-md);
}

.thank-you h1 {
  color: var(--primary);
  margin-bottom: var(--space-sm);
}

.thank-you p {
  color: var(--text-light);
  font-size: 1.125rem;
  margin-bottom: var(--space-md);
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  nav ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow-md);
    padding: var(--space-sm);
    gap: 0;
  }

  nav ul.active {
    display: flex;
  }

  nav li {
    width: 100%;
  }

  nav a {
    display: block;
    padding: var(--space-sm);
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .cookie-content {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-buttons {
    justify-content: stretch;
  }

  .cookie-buttons .btn {
    flex: 1;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.5rem;
  }

  .stat-number {
    font-size: 2rem;
  }

  .btn {
    padding: var(--space-xs) var(--space-sm);
    font-size: 0.875rem;
  }
}
