/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: #2c3e50;
  background-color: #f0f8f5;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navbar */
.navbar {
  background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
  color: white;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: white;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease, background 0.3s ease;
  padding: 8px 12px;
  border-radius: 6px;
}

.nav-links a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #e0f2fe;
}

/* Main Content */
main {
  min-height: calc(100vh - 200px);
  padding: 2rem 0;
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 4rem 0;
  background: linear-gradient(135deg, #16a34a 0%, #10b981 50%, #059669 100%);
  color: white;
  border-radius: 12px;
  margin-bottom: 3rem;
  box-shadow: 0 10px 30px rgba(22, 163, 74, 0.2);
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  opacity: 0.95;
}

/* Features Section */
.features {
  margin: 3rem 0;
}

.features h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #16a34a;
  font-weight: 700;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  border-left: 5px solid #16a34a;
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(22, 163, 74, 0.15);
  background: #f0fdf4;
}

.feature-card h3 {
  color: #16a34a;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.feature-card p {
  color: #666;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: #16a34a;
  color: white;
  text-decoration: none;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 500;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.btn:hover {
  background-color: #15803d;
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.3);
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

.btn-nav {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  background: rgba(255, 255, 255, 0.1);
}

.btn-nav:hover {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

.btn-signup {
  background-color: #059669;
  border: 2px solid #059669;
}

.btn-signup:hover {
  background-color: #047857;
  border-color: #047857;
}

/* About Section */
.about {
  padding: 2rem;
  background: white;
  border-radius: 12px;
  border-left: 5px solid #16a34a;
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.08);
}

.about h1 {
  color: #16a34a;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.about p {
  margin-bottom: 1rem;
  font-size: 1rem;
  color: #555;
  line-height: 1.8;
}

/* Contact Section */
.contact {
  max-width: 600px;
  margin: 0 auto;
  padding: 2rem;
  background: white;
  border-radius: 12px;
  border-top: 5px solid #16a34a;
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.08);
}

.contact h1 {
  color: #16a34a;
  margin-bottom: 2rem;
  font-weight: 700;
}

.contact-form {
  display: flex;
  flex-direction: column;
}

.form-group {
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
}

.form-group label {
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #2c3e50;
}

.form-group input,
.form-group textarea {
  padding: 0.75rem;
  border: 2px solid #e5e7eb;
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  background: #fafafa;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #16a34a;
  background: white;
  box-shadow: 0 0 8px rgba(22, 163, 74, 0.2);
}

/* CTA Section */
.cta-section {
  text-align: center;
  padding: 3rem;
  background: linear-gradient(135deg, #16a34a 0%, #10b981 50%, #059669 100%);
  color: white;
  border-radius: 12px;
  margin: 3rem 0;
  box-shadow: 0 10px 30px rgba(22, 163, 74, 0.2);
}

.cta-section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.cta-section p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  opacity: 0.95;
}

/* Error Page */
.error-page {
  text-align: center;
  padding: 5rem 0;
}

.error-page h1 {
  font-size: 5rem;
  color: #dc2626;
  margin-bottom: 1rem;
  font-weight: 700;
}

.error-page p {
  font-size: 1.5rem;
  color: #7f8c8d;
  margin-bottom: 2rem;
}

/* Footer */
footer {
  background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
  color: white;
  text-align: center;
  padding: 2rem;
  margin-top: 3rem;
  box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.1);
}

footer p {
  opacity: 0.9;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-links {
    gap: 1rem;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .features h2 {
    font-size: 1.5rem;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .contact {
    margin: 0;
    border-radius: 0;
  }
}

@media (max-width: 480px) {
  .navbar .container {
    flex-direction: column;
    gap: 1rem;
  }

  .nav-links {
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
    text-align: center;
  }

  .hero h1 {
    font-size: 1.5rem;
  }

  .hero p {
    font-size: 0.9rem;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  .error-page h1 {
    font-size: 3rem;
  }

  .error-page p {
    font-size: 1.2rem;
  }
}
