:root {
  --primary-color: #2e7d32;
  --primary-light: #60ad5e;
  --primary-dark: #005005;
  --secondary-color: #795548;
  --secondary-light: #a98274;
  --white: #ffffff;
  --off-white: #f5f5f5;
  --dark-text: #263238;
  --light-text: #ffffff;
}

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

body {
  font-family: 'Montserrat', sans-serif;
  color: var(--dark-text);
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  color: var(--dark-text);
}

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

/* Header Styles */
header {
  background-color: var(--primary-color);
  color: var(--light-text);
  padding: 20px 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  /* Added a min-height to ensure consistent header height if needed, though not strictly for this issue */
  min-height: 80px; /* Adjust as needed to match your design's height */
  display: flex; /* Use flexbox for header itself to center content vertically */
  align-items: center; /* Vertically center content within the header */
}

/* --- Container for Centering Content --- */
.container {
  max-width: 1200px; /* Max width for content */
  margin: 0 auto; /* Center the container */
  padding: 0 20px; /* Add horizontal padding for smaller screens */
  width: 100%; /* Ensure container takes full width up to max-width */
}

/* --- Navbar Layout --- */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

/* --- Logo Styling --- */
.logo {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--light-text);
  text-decoration: none;
  display: flex;
  align-items: center;
  line-height: 1.2;
}

.logo span {
  color: var(--logo-seed-color);
}

.logo-icon {
  margin-right: 10px;
  font-size: 32px;
  align-self: center;
}

/* --- Navigation Links --- */
.nav-links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.nav-links li {
  margin-left: 30px;
}

.nav-links a {
  color: var(--light-text);
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  height: 100%;
  line-height: 1;
}

.nav-links a:hover {
  color: var(--secondary-light);
}

/* --- Button Styling --- */
.btn {
  padding: 12px 28px;
  border: none;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  margin: 0;
}

.btn-primary {
  background-color: var(--primary-light);
  color: var(--light-text);
  border: 2px solid var(--primary-light);
}

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

.btn-secondary {
  background-color: transparent;
  color: var(--light-text);
  border: 2px solid var(--light-text);
  padding: 10px 28px;
}

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


/* Hero Section */
.hero {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://images.unsplash.com/photo-1609220136736-443140cffec6?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80') no-repeat center center/cover;
  height: 600px;
  display: flex;
  align-items: center;
  color: var(--light-text);
  position: relative;
}

.hero-content {
  max-width: 650px;
  z-index: 1;
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 20px;
  color: var(--light-text);
}

.hero p {
  font-size: 18px;
  margin-bottom: 30px;
}

.hero-buttons {
  display: flex;
  gap: 20px;
}

/* Features Section */
.features {
  padding: 80px 0;
  background-color: var(--off-white);
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 36px;
  margin-bottom: 15px;
  color: var(--primary-dark);
}

.section-title p {
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.feature-card {
  background-color: var(--white);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-10px);
}

.feature-icon {
  background-color: var(--primary-light);
  color: var(--light-text);
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 24px;
  margin-bottom: 15px;
  color: var(--primary-dark);
}

/* Trial Section */
.trial {
  padding: 80px 0;
  background-color: var(--primary-dark);
  color: var(--light-text);
}

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

.trial-text {
  max-width: 600px;
}

.trial h2 {
  font-size: 36px;
  margin-bottom: 20px;
  color: var(--light-text);
}

.trial-highlight {
  font-size: 24px;
  color: var(--secondary-light);
  font-weight: 600;
  margin-bottom: 20px;
}

.trial-steps {
  margin: 30px 0;
}

.step {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.step-number {
  background-color: var(--secondary-light);
  color: var(--light-text);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  font-weight: 700;
}

/* Testimonials */
.testimonials {
  padding: 80px 0;
  background-color: var(--white);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.testimonial-card {
  background-color: var(--off-white);
  border-left: 5px solid var(--primary-light);
  padding: 30px;
  border-radius: 10px;
  position: relative;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 20px;
  font-size: 16px;
}

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

.author-image {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 15px;
}

.author-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-info h4 {
  font-size: 18px;
  margin-bottom: 5px;
}

.author-info p {
  font-size: 14px;
  color: #666;
}

/* Pricing Section */
.pricing {
  padding: 80px 0;
  background-color: var(--off-white);
}

.pricing-options {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 50px;
}

.pricing-card {
  background-color: var(--white);
  border-radius: 10px;
  padding: 40px 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  max-width: 350px;
  width: 100%;
  transition: all 0.3s ease;
}

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

.pricing-card.featured {
  border: 2px solid var(--primary-light);
  position: relative;
}

.featured-label {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--primary-light);
  color: var(--light-text);
  padding: 5px 20px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
}

.price {
  font-size: 48px;
  font-weight: 700;
  color: var(--primary-dark);
  margin: 20px 0;
}

.price span {
  font-size: 16px;
  color: #666;
}

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

.pricing-features li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
}

.pricing-features li:before {
  content: "✓";
  color: var(--primary-light);
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* CTA Section */
.cta {
  background-color: var(--secondary-color);
  padding: 80px 0;
  color: var(--light-text);
  text-align: center;
}

.cta h2 {
  font-size: 36px;
  margin-bottom: 20px;
  color: var(--light-text);
}

.cta p {
  font-size: 18px;
  max-width: 700px;
  margin: 0 auto 30px auto;
}

/* Footer */
footer {
  background-color: var(--primary-dark);
  color: var(--light-text);
  padding: 60px 0 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer-column h3 {
  color: var(--light-text);
  margin-bottom: 20px;
  font-size: 20px;
  border-bottom: 2px solid var(--primary-light);
  padding-bottom: 10px;
  display: inline-block;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--secondary-light);
}

.contact-info p {
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
}

.contact-icon {
  margin-right: 10px;
  color: var(--primary-light);
}

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

.social-links a {
  color: var(--light-text);
  background-color: rgba(255, 255, 255, 0.1);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

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

.copyright {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Media Queries */
@media (max-width: 992px) {
  .features-grid {
      grid-template-columns: repeat(2, 1fr);
  }
  .footer-content {
      grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero {
      height: 500px;
  }
  .hero h1 {
      font-size: 36px;
  }
  .trial-content {
      flex-direction: column;
      text-align: center;
  }
  .trial-text {
      margin-bottom: 40px;
  }
  .testimonial-grid,
  .features-grid {
      grid-template-columns: 1fr;
  }
  .pricing-options {
      flex-direction: column;
      align-items: center;
  }
  .pricing-card {
      max-width: 100%;
      margin-bottom: 30px;
  }

  .navbar {
    flex-direction: column; /* Stack logo and nav links on small screens */
    align-items: flex-start; /* Align items to the start */
  }

  .nav-links {
    flex-direction: column; /* Stack nav links vertically */
    width: 100%; /* Take full width */
    margin-top: 15px; /* Add some space below the logo */
  }

  .nav-links li {
    margin: 10px 0; /* Adjust spacing for stacked links */
  }

  .nav-links a {
    display: block; /* Make links block-level for better touch targets */
    padding: 8px 0;
  }

  .btn-secondary {
    margin-top: 15px; /* Add space above the login button when stacked */
  }
}

@media (max-width: 576px) {
  .nav-links {
      display: none;
  }
  .hero-buttons {
      flex-direction: column;
  }
  .footer-content {
      grid-template-columns: 1fr;
  }
}

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

@keyframes pulse {
  0% {
      transform: rotate(-2deg) scale(1);
      box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  }
  50% {
      transform: rotate(-2deg) scale(1.05);
      box-shadow: 0 8px 16px rgba(0,0,0,0.3);
  }
  100% {
      transform: rotate(-2deg) scale(1);
      box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  }
}

.animated {
  animation: fadeInUp 1s ease;
}