:root {
  --primary: #2c5f4f;
  --secondary: #4a8b73;
  --accent: #7fb89e;
  --light: #f4f8f6;
  --dark: #1a3329;
  --text: #2d3436;
  --text-light: #636e72;
  --white: #ffffff;
  --error: #d63031;
  --success: #00b894;
  
  --font-primary: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  --font-secondary: Georgia, 'Times New Roman', serif;
  
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.16);
  
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;
}

* {
  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;
  transition: all 0.3s ease;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--space-sm) var(--space-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

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

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

nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}

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

nav a:hover::after {
  width: 100%;
}

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

main {
  min-height: 60vh;
}

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

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: var(--space-md);
  font-family: var(--font-secondary);
}

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

.cta-button {
  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: all 0.3s ease;
  box-shadow: var(--shadow-md);
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

section {
  padding: var(--space-lg) var(--space-md);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

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

.section-subtitle {
  text-align: center;
  color: var(--text-light);
  margin-bottom: var(--space-lg);
  font-size: 1.1rem;
}

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

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

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

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

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

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

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

.feature-section {
  background: var(--light);
}

.steps-section {
  background: var(--white);
}

.step {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
  margin-bottom: var(--space-md);
}

.step-number {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
}

.step-content h3 {
  color: var(--primary);
  margin-bottom: var(--space-xs);
}

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

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

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

.form-section {
  background: var(--light);
}

.form-container {
  max-width: 600px;
  margin: 0 auto;
  background: var(--white);
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

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

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

input[type="text"],
input[type="email"],
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: border-color 0.3s ease;
}

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

textarea {
  resize: vertical;
  min-height: 120px;
}

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

.error-message.show {
  display: block;
}

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

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

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

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

.submit-button {
  width: 100%;
  padding: var(--space-sm) var(--space-md);
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: var(--radius-md);
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.submit-button:hover {
  background: var(--secondary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.submit-button:disabled {
  background: #ccc;
  cursor: not-allowed;
  transform: none;
}

.disclaimer {
  background: #fff9e6;
  border-left: 4px solid #f39c12;
  padding: var(--space-md);
  margin: var(--space-md) 0;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--text);
}

.disclaimer strong {
  color: var(--dark);
}

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

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

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

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

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

.footer-section a:hover {
  color: var(--accent);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  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.show {
  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: 250px;
}

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

.cookie-button {
  padding: var(--space-xs) var(--space-md);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

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

.cookie-accept:hover {
  background: var(--secondary);
}

.cookie-reject {
  background: #e0e0e0;
  color: var(--text);
}

.cookie-reject:hover {
  background: #d0d0d0;
}

.cookie-settings {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.cookie-settings:hover {
  background: var(--primary);
  color: var(--white);
}

.cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.7);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 3000;
  padding: var(--space-md);
}

.cookie-modal.show {
  display: flex;
}

.cookie-modal-content {
  background: var(--white);
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  max-width: 600px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
}

.cookie-modal h3 {
  color: var(--primary);
  margin-bottom: var(--space-md);
}

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

.cookie-category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-xs);
}

.cookie-category h4 {
  color: var(--primary);
}

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

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

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #ccc;
  transition: 0.3s;
  border-radius: 24px;
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background: white;
  transition: 0.3s;
  border-radius: 50%;
}

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

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

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

.cookie-modal-buttons {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

.thank-you-section {
  text-align: center;
  padding: var(--space-xl) var(--space-md);
}

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

.policy-content {
  max-width: 900px;
  margin: 0 auto;
  padding: var(--space-lg) var(--space-md);
}

.policy-content h1 {
  color: var(--primary);
  margin-bottom: var(--space-md);
  font-family: var(--font-secondary);
}

.policy-content h2 {
  color: var(--secondary);
  margin-top: var(--space-lg);
  margin-bottom: var(--space-sm);
}

.policy-content p,
.policy-content ul {
  margin-bottom: var(--space-sm);
  color: var(--text);
}

.policy-content ul {
  padding-left: var(--space-md);
}

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

.content-section {
  max-width: 1000px;
  margin: 0 auto;
  padding: var(--space-lg) var(--space-md);
}

.content-section h1 {
  color: var(--primary);
  margin-bottom: var(--space-md);
  font-family: var(--font-secondary);
  font-size: 2.5rem;
}

.content-section h2 {
  color: var(--secondary);
  margin-top: var(--space-lg);
  margin-bottom: var(--space-sm);
  font-size: 2rem;
}

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

.content-section p {
  margin-bottom: var(--space-sm);
  color: var(--text);
}

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

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

.highlight-box {
  background: var(--light);
  padding: var(--space-md);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--primary);
  margin: var(--space-md) 0;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  
  nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow-md);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  
  nav.active {
    max-height: 400px;
  }
  
  nav ul {
    flex-direction: column;
    padding: var(--space-md);
    gap: var(--space-sm);
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .cookie-content {
    flex-direction: column;
    align-items: stretch;
  }
  
  .cookie-buttons {
    justify-content: stretch;
  }
  
  .cookie-button {
    flex: 1;
  }
  
  .step {
    flex-direction: column;
  }
}
