:root {
  --primary: #2E7D32;
  --secondary: #1B5E20;
  --accent: #66BB6A;
  --bg: #F8FAF8;
  --bg-alt: #EDF5ED;
  --text: #1A2E1A;
  --text-muted: #4A6B4A;
  --dark: #1A2E1A;
  --section-accent: #E0EDE0;
  --primary-rgb: 46, 125, 50;
  --accent-rgb: 102, 187, 106;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: Inter, -apple-system, system-ui, sans-serif;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--secondary);
}

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

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--dark);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}

.main-nav {
  display: flex;
  list-style: none;
  gap: 32px;
  align-items: center;
}

.nav-link {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
  letter-spacing: 0.02em;
}

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

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  padding: 8px;
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  overflow: hidden;
  padding-top: 56px;
}

.hero::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--primary-rgb), 0.15) 0%, transparent 70%);
  top: -100px;
  right: -100px;
  z-index: 0;
  animation: float 6s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--accent-rgb), 0.1) 0%, transparent 70%);
  bottom: -50px;
  left: -50px;
  z-index: 0;
  animation: float 8s ease-in-out infinite reverse;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  padding: 48px 24px;
}

.hero h1 {
  font-size: 2rem;
  color: #fff;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.hero p {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 32px;
  line-height: 1.6;
}

.btn {
  display: inline-block;
  padding: 12px 32px;
  background: #fff;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: 4px;
  transition: all 0.3s;
  border: 1px solid transparent;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

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

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

.btn-secondary {
  background: transparent;
  border: 1px solid #fff;
  color: #fff;
}

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

.section {
  padding: 64px 24px;
}

.section:nth-child(even) {
  background: var(--bg-alt);
}

.section-dark {
  background: var(--dark);
  color: #fff;
}

.section-dark h2,
.section-dark h3,
.section-dark p {
  color: #fff;
}

.section-accent {
  background: var(--section-accent);
}

.section-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 16px;
  text-align: center;
  letter-spacing: -0.02em;
  color: var(--primary);
}

.section-dark .section-title {
  color: #fff;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  text-align: center;
  max-width: 700px;
  margin: 0 auto 48px;
  line-height: 1.6;
}

.section-dark .section-subtitle {
  color: rgba(255, 255, 255, 0.7);
}

.grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.grid-3 > * {
  flex: 1 1 calc(33.333% - 16px);
  min-width: 280px;
}

.grid-2 > * {
  flex: 1 1 calc(50% - 12px);
  min-width: 320px;
}

.grid-4 > * {
  flex: 1 1 calc(25% - 18px);
  min-width: 240px;
}

.card {
  background: #fff;
  border: 1px solid #e0e0e0;
  padding: 32px;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  border-color: var(--primary);
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 16px;
  border-radius: 2px;
}

.card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

.card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  flex-grow: 1;
}

.feature {
  text-align: center;
  padding: 24px;
}

.feature-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  font-size: 24px;
  border-radius: 50%;
}

.feature h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

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

.content-section h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--primary);
  border-left: 3px solid var(--primary);
  padding-left: 16px;
}

.content-section h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 32px 0 16px;
  color: var(--text);
}

.content-section p {
  margin-bottom: 16px;
  line-height: 1.7;
}

.content-section ul,
.content-section ol {
  margin: 16px 0 16px 24px;
}

.content-section li {
  margin-bottom: 8px;
  line-height: 1.6;
}

blockquote {
  border-left: 3px solid var(--accent);
  padding-left: 24px;
  margin: 32px 0;
  font-style: italic;
  color: var(--text-muted);
}

.testimonial {
  background: #fff;
  border: 1px solid #e0e0e0;
  padding: 32px;
  border-radius: 4px;
}

.testimonial-text {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 16px;
  color: var(--text);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.testimonial-author img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-info h4 {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text);
}

.testimonial-info p {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.cta-section {
  text-align: center;
  padding: 64px 24px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: #fff;
}

.cta-section h2 {
  font-size: 1.5rem;
  margin-bottom: 16px;
  color: #fff;
}

.cta-section p {
  font-size: 1.125rem;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.9);
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: inherit;
  font-size: 0.875rem;
  transition: border-color 0.2s;
}

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

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

footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.8);
  padding: 48px 24px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 32px;
}

.footer-section {
  flex: 1;
  min-width: 220px;
}

.footer-section h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}

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

.footer-section ul li {
  margin-bottom: 8px;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  transition: color 0.2s;
}

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

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
}

.social-links {
  display: flex;
  gap: 16px;
  margin-top: 16px;
}

.social-links a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: #fff;
  transition: all 0.2s;
}

.social-links a:hover {
  background: var(--primary);
  transform: translateY(-2px);
}

.section-divider {
  display: block;
  width: 100%;
  height: auto;
  margin: -1px 0;
  line-height: 0;
}

.section-divider svg {
  display: block;
  width: 100%;
  height: 60px;
}

.section-divider.flip {
  transform: scaleY(-1);
}

[data-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}

[data-animate="fade-in"] {
  transform: none;
}

[data-animate="fade-in"].visible {
  opacity: 1;
}

[data-animate="slide-left"] {
  transform: translateX(-30px);
}

[data-animate="slide-left"].visible {
  opacity: 1;
  transform: translateX(0);
}

[data-animate="slide-right"] {
  transform: translateX(30px);
}

[data-animate="slide-right"].visible {
  opacity: 1;
  transform: translateX(0);
}

[data-stagger] > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

[data-stagger] > *.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% center;
  }
  100% {
    background-position: 200% center;
  }
}

.animate-float {
  animation: float 3s ease-in-out infinite;
}

.animate-fade-in-up {
  animation: fadeInUp 0.8s ease-out;
}

.two-column {
  display: flex;
  gap: 48px;
  align-items: flex-start;
}

.two-column > * {
  flex: 1;
}

.image-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.image-grid img {
  flex: 1 1 calc(50% - 8px);
  min-width: 200px;
  height: 250px;
  object-fit: cover;
  border-radius: 4px;
}

.badge {
  display: inline-block;
  padding: 4px 12px;
  background: var(--accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  margin: 48px 0;
}

.stat {
  text-align: center;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.timeline {
  position: relative;
  padding-left: 40px;
  border-left: 2px solid var(--primary);
}

.timeline-item {
  position: relative;
  padding-bottom: 32px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -45px;
  top: 0;
  width: 12px;
  height: 12px;
  background: var(--primary);
  border-radius: 50%;
  border: 3px solid var(--bg);
}

.timeline-date {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.timeline-content h3 {
  font-size: 1.125rem;
  margin-bottom: 8px;
}

.timeline-content p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.accordion-item {
  border: 1px solid #e0e0e0;
  margin-bottom: 8px;
  border-radius: 4px;
  overflow: hidden;
}

.accordion-header {
  padding: 16px 24px;
  background: #fff;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.2s;
}

.accordion-header:hover {
  background: var(--bg-alt);
}

.accordion-header h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}

.accordion-icon {
  font-size: 1.25rem;
  color: var(--primary);
  transition: transform 0.2s;
}

.accordion-item.active .accordion-icon {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  background: var(--bg-alt);
}

.accordion-content-inner {
  padding: 16px 24px;
}

.accordion-item.active .accordion-content {
  max-height: 500px;
}

.breadcrumb {
  padding: 16px 0;
  font-size: 0.875rem;
}

.breadcrumb a {
  color: var(--text-muted);
}

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

.breadcrumb span {
  margin: 0 8px;
  color: var(--text-muted);
}

.tag {
  display: inline-block;
  padding: 6px 12px;
  background: var(--bg-alt);
  color: var(--text);
  font-size: 0.75rem;
  border-radius: 4px;
  margin-right: 8px;
  margin-bottom: 8px;
  border: 1px solid #e0e0e0;
}

.tag:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.pricing-card {
  background: #fff;
  border: 2px solid #e0e0e0;
  padding: 32px;
  text-align: center;
  transition: all 0.3s;
  border-radius: 4px;
}

.pricing-card.featured {
  border-color: var(--primary);
  transform: scale(1.05);
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.pricing-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.pricing-price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 16px;
}

.pricing-price span {
  font-size: 1rem;
  color: var(--text-muted);
}

.pricing-features {
  list-style: none;
  margin: 24px 0;
  text-align: left;
}

.pricing-features li {
  padding: 8px 0;
  font-size: 0.875rem;
  border-bottom: 1px solid #f0f0f0;
}

.video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 4px;
  margin: 32px 0;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid rgba(0, 0, 0, 0.1);
  border-left-color: var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.alert {
  padding: 16px 24px;
  border-radius: 4px;
  margin-bottom: 16px;
  border-left: 4px solid;
}

.alert-info {
  background: #e3f2fd;
  border-color: #2196f3;
  color: #1565c0;
}

.alert-success {
  background: #e8f5e9;
  border-color: #4caf50;
  color: #2e7d32;
}

.alert-warning {
  background: #fff3e0;
  border-color: #ff9800;
  color: #e65100;
}

.alert-error {
  background: #ffebee;
  border-color: #f44336;
  color: #c62828;
}

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

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

  .grid-3 > * {
    flex: 1 1 calc(50% - 12px);
  }

  .two-column {
    flex-direction: column;
    gap: 32px;
  }

  .footer-content {
    flex-direction: column;
  }
}

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

  .main-nav {
    position: fixed;
    top: 56px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--dark);
    padding: 24px;
    gap: 16px;
    transform: translateX(-100%);
    transition: transform 0.3s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }

  .main-nav.open {
    transform: translateX(0);
  }

  .nav-link {
    width: 100%;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .hero {
    min-height: 70vh;
  }

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

  .section {
    padding: 48px 16px;
  }

  .grid {
    gap: 16px;
  }

  .grid-3 > *,
  .grid-2 > *,
  .grid-4 > * {
    flex: 1 1 100%;
  }

  .card {
    padding: 24px;
  }

  .stats {
    gap: 24px;
  }

  .timeline {
    padding-left: 24px;
  }

  .footer-content {
    gap: 24px;
  }
}

@media screen and (max-width: 480px) {
  html {
    font-size: 14px;
  }

  .container {
    padding: 0 16px;
  }

  .nav-container {
    padding: 12px 16px;
  }

  .hero {
    min-height: 60vh;
  }

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

  .section {
    padding: 32px 16px;
  }

  .btn {
    padding: 10px 24px;
    font-size: 0.75rem;
  }

  .card {
    padding: 16px;
  }

  .image-grid img {
    flex: 1 1 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}