@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600;700;900&family=Roboto:wght@300;400;500;700&display=swap');

:root {
  --primary-color: #5E7E2A;
  --secondary-color: #839F56;
  --accent-color: #A3D454;
  --background: #FAFAF8;
  --background-alt: #F2F0ED;
  --text-color: #1C1917;
  --text-muted: #57534E;
  --section-dark: #1C1917;
  --section-accent: #F5F0EB;

  --primary-rgb: 94, 126, 42;
  --secondary-rgb: 131, 159, 86;
  --accent-rgb: 163, 212, 84;

  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-xxl: 4rem;

  --font-xs: 0.75rem;
  --font-sm: 0.875rem;
  --font-base: 1rem;
  --font-lg: 1.25rem;
  --font-xl: 1.625rem;
  --font-xxl: 2.25rem;
  --font-hero: 3rem;

  --transition-quick: 0.2s ease;
  --transition-smooth: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

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

body {
  font-family: 'Roboto', sans-serif;
  font-size: var(--font-base);
  line-height: 1.5;
  color: var(--text-color);
  background-color: var(--background);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-color);
  margin-bottom: var(--spacing-sm);
}

h1 {
  font-size: var(--font-hero);
  font-weight: 900;
  letter-spacing: -0.02em;
}

h2 {
  font-size: var(--font-xxl);
  font-weight: 700;
}

h3 {
  font-size: var(--font-xl);
  font-weight: 600;
}

h4 {
  font-size: var(--font-lg);
  font-weight: 600;
}

h5, h6 {
  font-size: var(--font-base);
  font-weight: 600;
}

p {
  margin-bottom: var(--spacing-sm);
  color: var(--text-color);
}

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

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

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

ul {
  list-style-position: inside;
  margin-bottom: var(--spacing-sm);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
  width: 100%;
}

.row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
}

.grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-lg);
}

.grid-2 {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-lg);
}

.grid-2 > * {
  flex: 1 1 calc(50% - var(--spacing-lg));
  min-width: 280px;
}

.grid-3 {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-lg);
}

.grid-3 > * {
  flex: 1 1 calc(33.333% - var(--spacing-lg));
  min-width: 260px;
}

.grid-4 {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-md);
}

.grid-4 > * {
  flex: 1 1 calc(25% - var(--spacing-md));
  min-width: 220px;
}

.navbar {
  background: var(--section-dark);
  padding: var(--spacing-sm) 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
  border-bottom: 2px solid var(--primary-color);
}

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

.logo {
  font-family: 'Montserrat', sans-serif;
  font-size: var(--font-xl);
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 0.05em;
  transition: color var(--transition-quick);
}

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

.nav-menu {
  display: flex;
  gap: var(--spacing-lg);
  list-style: none;
  align-items: center;
}

.nav-item {
  position: relative;
}

.nav-link {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: var(--font-sm);
  color: #ffffff;
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: 4px;
  transition: all var(--transition-quick);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.nav-link:hover {
  background: rgba(163, 212, 84, 0.15);
  color: var(--accent-color);
  transform: translateY(-2px);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 28px;
  color: #ffffff;
  cursor: pointer;
  position: absolute;
  right: 20px;
  top: 20px;
  z-index: 1001;
  transition: color var(--transition-quick);
}

.mobile-menu-toggle:hover {
  color: var(--accent-color);
}

.hero {
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: linear-gradient(135deg, rgba(94, 126, 42, 0.95) 0%, rgba(131, 159, 86, 0.9) 100%);
  padding: var(--spacing-xxl) var(--spacing-lg);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(163, 212, 84, 0.2) 0%, transparent 70%);
  top: -150px;
  right: -100px;
  animation: float 8s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(131, 159, 86, 0.15) 0%, transparent 70%);
  bottom: -100px;
  left: -80px;
  animation: float 10s ease-in-out infinite reverse;
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 900px;
}

.hero h1 {
  color: #ffffff;
  margin-bottom: var(--spacing-md);
  font-size: clamp(2rem, 5vw, var(--font-hero));
  text-shadow: 2px 4px 12px rgba(0,0,0,0.3);
  animation: fadeInUp 0.8s ease-out;
}

.hero p {
  color: #ffffff;
  font-size: var(--font-lg);
  margin-bottom: var(--spacing-xl);
  opacity: 0.95;
  font-weight: 300;
  animation: fadeInUp 1s ease-out 0.2s backwards;
}

.header-hero {
  min-height: 40vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(94, 126, 42, 0.9) 0%, rgba(131, 159, 86, 0.85) 100%);
  padding: var(--spacing-xl) var(--spacing-lg);
  position: relative;
}

.header-hero h1 {
  color: #ffffff;
  text-align: center;
  font-size: clamp(1.8rem, 4vw, var(--font-xxl));
  text-shadow: 1px 2px 8px rgba(0,0,0,0.2);
}

.content-section {
  padding: var(--spacing-xxl) 0;
  position: relative;
}

.section-dark {
  background-color: var(--section-dark);
  color: #ffffff;
  padding: var(--spacing-xxl) 0;
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: #ffffff;
}

.section-dark p {
  color: rgba(255, 255, 255, 0.9);
}

.section-accent {
  background-color: var(--section-accent);
  padding: var(--spacing-xxl) 0;
}

.section-header {
  text-align: center;
  margin-bottom: var(--spacing-xl);
}

.section-header h2 {
  position: relative;
  display: inline-block;
  padding-bottom: var(--spacing-sm);
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.card {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: var(--spacing-lg);
  transition: all var(--transition-smooth);
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(94, 126, 42, 0.15);
  border-color: var(--primary-color);
}

.card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: var(--spacing-md);
  transition: transform var(--transition-smooth);
}

.card:hover img {
  transform: scale(1.05);
}

.card h3 {
  margin-bottom: var(--spacing-sm);
  color: var(--text-color);
}

.card p {
  flex-grow: 1;
  color: var(--text-muted);
  margin-bottom: var(--spacing-md);
}

.feature {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-left: 4px solid var(--primary-color);
  padding: var(--spacing-lg);
  border-radius: 6px;
  transition: all var(--transition-quick);
}

.feature:hover {
  border-left-color: var(--accent-color);
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  transform: translateX(4px);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--spacing-md);
  color: #ffffff;
  font-size: 28px;
  box-shadow: 0 4px 12px rgba(94, 126, 42, 0.3);
}

.testimonial-card {
  background: #ffffff;
  padding: var(--spacing-xl);
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  position: relative;
  border: 1px solid #f0f0f0;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: -20px;
  left: 20px;
  font-size: 80px;
  color: var(--accent-color);
  font-family: Georgia, serif;
  opacity: 0.3;
}

.testimonial-card p {
  font-style: italic;
  margin-bottom: var(--spacing-md);
  color: var(--text-color);
}

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

.pricing-card {
  background: #ffffff;
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  padding: var(--spacing-xl);
  text-align: center;
  transition: all var(--transition-smooth);
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary-color);
  box-shadow: 0 15px 35px rgba(94, 126, 42, 0.2);
}

.pricing-card.featured {
  border-color: var(--accent-color);
  border-width: 3px;
  box-shadow: 0 8px 25px rgba(163, 212, 84, 0.25);
}

.pricing-card h3 {
  font-size: var(--font-xl);
  margin-bottom: var(--spacing-md);
  color: var(--primary-color);
}

.pricing-card .price {
  font-size: var(--font-hero);
  font-weight: 900;
  color: var(--text-color);
  margin-bottom: var(--spacing-lg);
}

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

.two-col-layout {
  display: flex;
  gap: var(--spacing-xl);
  align-items: center;
  flex-wrap: wrap;
}

.two-col-layout > * {
  flex: 1 1 400px;
}

.two-col-layout.reverse {
  flex-direction: row-reverse;
}

.two-col-layout img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.btn {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: var(--font-base);
  padding: 0.875rem 2rem;
  border-radius: 6px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-quick);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: #ffffff;
  border-color: var(--primary-color);
  box-shadow: 0 4px 15px rgba(94, 126, 42, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(94, 126, 42, 0.4);
  color: #ffffff;
}

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

.btn-secondary:hover {
  background: var(--primary-color);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(94, 126, 42, 0.25);
}

.btn-outline {
  background: transparent;
  color: var(--text-color);
  border-color: var(--text-color);
}

.btn-outline:hover {
  background: var(--text-color);
  color: #ffffff;
}

.btn-lg {
  padding: 1.125rem 2.5rem;
  font-size: var(--font-lg);
}

.text-center {
  text-align: center;
}

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

[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);
}

.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);
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-25px) rotate(5deg);
  }
}

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

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

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.9;
  }
}

form {
  max-width: 600px;
  margin: 0 auto;
}

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

label {
  display: block;
  margin-bottom: var(--spacing-xs);
  font-weight: 600;
  color: var(--text-color);
  font-family: 'Montserrat', sans-serif;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
textarea,
select {
  width: 100%;
  padding: 0.875rem;
  border: 2px solid #e0e0e0;
  border-radius: 6px;
  font-family: 'Roboto', sans-serif;
  font-size: var(--font-base);
  transition: all var(--transition-quick);
  background: #ffffff;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(94, 126, 42, 0.15);
}

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

footer {
  background: var(--section-dark);
  color: #ffffff;
  padding: var(--spacing-xl) 0;
  border-top: 3px solid var(--primary-color);
}

footer h4 {
  color: #ffffff;
  margin-bottom: var(--spacing-md);
}

footer p,
footer a {
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--font-sm);
}

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

footer .footer-links {
  display: flex;
  gap: var(--spacing-md);
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: var(--spacing-md);
}

footer .copyright {
  text-align: center;
  padding-top: var(--spacing-md);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.6);
  font-size: var(--font-xs);
}

@media screen and (max-width: 1024px) {
  :root {
    --font-hero: 2.5rem;
    --font-xxl: 2rem;
    --spacing-xxl: 3rem;
  }

  .grid-3 > * {
    flex: 1 1 calc(50% - var(--spacing-lg));
  }

  .grid-4 > * {
    flex: 1 1 calc(50% - var(--spacing-md));
  }
}

@media screen and (max-width: 768px) {
  :root {
    --font-hero: 2rem;
    --font-xxl: 1.75rem;
    --font-xl: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-xxl: 2.5rem;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .nav-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--section-dark);
    padding: var(--spacing-lg);
    gap: var(--spacing-sm);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
  }

  .nav-menu.active {
    display: flex;
    max-height: 500px;
  }

  .nav-item {
    width: 100%;
  }

  .nav-link {
    display: block;
    padding: var(--spacing-sm);
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .hero {
    min-height: 75vh;
    padding: var(--spacing-xl) var(--spacing-md);
  }

  .header-hero {
    min-height: 35vh;
  }

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

  .two-col-layout {
    flex-direction: column;
    gap: var(--spacing-lg);
  }

  .two-col-layout.reverse {
    flex-direction: column;
  }

  .content-section {
    padding: var(--spacing-xl) 0;
  }
}

@media screen and (max-width: 480px) {
  :root {
    --font-hero: 1.75rem;
    --font-xxl: 1.5rem;
    --spacing-lg: 1.5rem;
  }

  .container {
    padding: 0 var(--spacing-sm);
  }

  .hero {
    min-height: 65vh;
  }

  .btn {
    padding: 0.75rem 1.5rem;
    font-size: var(--font-sm);
  }

  .btn-lg {
    padding: 0.875rem 1.75rem;
    font-size: var(--font-base);
  }

  .card,
  .feature {
    padding: var(--spacing-md);
  }
}

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