:root {
  --primary-color: #4A6741;
  --secondary-color: #344D2E;
  --accent-color: #7DA86E;
  --light-color: #EEF4EB;
  --dark-color: #1E2D1A;
  --gradient-primary: linear-gradient(135deg, #4A6741 0%, #7DA86E 100%);
  --hover-color: #3A5432;
  --background-color: #F5F9F3;
  --text-color: #2B3828;
  --border-color: rgba(74, 103, 65, 0.22);
  --divider-color: rgba(74, 103, 65, 0.15);
  --shadow-color: rgba(74, 103, 65, 0.14);
  --highlight-color: #F0A55A;
  --main-font: 'Montserrat', sans-serif;
  --alt-font: 'Poppins', sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  width: 100%;
}

body {
  font-family: var(--alt-font);
  color: var(--text-color);
  background: linear-gradient(160deg, #F5F9F3 0%, var(--light-color) 100%);
  line-height: 1.7;
  margin: 0;
  padding: 0;
  width: 100%;
  min-width: 320px;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

h1, h2, h3 {
  font-family: var(--main-font);
  font-weight: 700;
  color: var(--primary-color);
  margin: 0 0 1.2rem 0;
}

h1 {
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.2;
}

h2 {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  line-height: 1.3;
}

h3 {
  font-size: clamp(1.15rem, 3vw, 1.45rem);
  line-height: 1.4;
}

p {
  margin: 0 0 1rem 0;
  font-size: clamp(1rem, 2vw, 1.1rem);
}

/* Mobile Menu */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 10px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 6px;
  border: 1px solid var(--border-color);
  backdrop-filter: blur(8px);
}

.hamburger .line {
  width: 24px;
  height: 2px;
  background: var(--primary-color);
  margin: 3px 0;
  transition: 0.3s;
  border-radius: 2px;
}

#menu-toggle {
  display: none;
}

#menu-toggle:checked ~ .mobile-nav {
  max-height: 500px;
  opacity: 1;
}

.mobile-nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.3s ease;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
}

.mobile-nav ul {
  padding: 2rem;
  margin: 0;
  list-style: none;
}

.mobile-nav li {
  margin: 1.2rem 0;
}

.mobile-nav a {
  display: block;
  padding: 0.8rem 0;
  color: var(--text-color);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1rem;
  font-weight: 500;
  border-bottom: 1px solid transparent;
}

.mobile-nav a:hover {
  color: var(--primary-color);
  border-bottom-color: var(--primary-color);
}

/* Header */
header {
  background: rgba(255, 255, 255, 0.96);
  color: var(--text-color);
  padding: 1.5rem 0;
  position: relative;
  z-index: 1000;
  box-shadow: 0 2px 18px var(--shadow-color);
  backdrop-filter: blur(12px);
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  height: 3rem;
  width: auto;
}

.navigation ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 2rem;
}

.navigation a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  transition: all 0.3s ease;
}

.navigation a:hover {
  color: var(--primary-color);
}

.grid {
  display: grid;
  width: 100%;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 2rem;
  width: 100%;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  width: 100%;
}

/* Feature Cards — top border + subtle header bg */
.feature-card {
  background: #ffffff;
  border-top: 4px solid var(--accent-color);
  border-radius: 0 0 10px 10px;
  padding: 0;
  box-shadow: 0 4px 20px var(--shadow-color);
  transition: all 0.3s ease;
  text-align: center;
  width: 100%;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 12px 36px var(--shadow-color);
  border-top-color: var(--primary-color);
}

.feature-card-header {
  background: linear-gradient(135deg, var(--light-color) 0%, #ddeedd 100%);
  padding: 2rem 1.5rem 1.5rem;
}

.feature-card-body {
  padding: 1.4rem 1.8rem 2rem;
}

.feature-icon {
  font-size: 2.8rem;
  margin: 0 auto 0.8rem auto;
  color: var(--primary-color);
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--border-color);
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px var(--shadow-color);
}

.feature-card:hover .feature-icon {
  background: var(--gradient-primary);
  color: white;
  transform: scale(1.1);
  border-color: transparent;
}

/* Testimonials */
.testimonial {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 2.2rem;
  margin: 1rem 0;
  box-shadow: 0 3px 18px var(--shadow-color);
  transition: all 0.3s ease;
  width: 100%;
  position: relative;
}

.testimonial::before {
  content: '"';
  position: absolute;
  top: 1rem;
  left: 1.5rem;
  font-size: 4rem;
  color: var(--accent-color);
  opacity: 0.25;
  font-family: var(--main-font);
  line-height: 1;
}

.testimonial:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px var(--shadow-color);
}

/* FAQ Items */
.faq-item {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin: 1rem 0;
  box-shadow: 0 2px 12px var(--shadow-color);
  transition: all 0.3s ease;
  padding: 2rem 2.2rem;
  width: 100%;
}

.faq-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 24px var(--shadow-color);
  border-color: var(--accent-color);
}

/* Comparison table */
.compare-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 22px var(--shadow-color);
}

.compare-table th {
  padding: 1rem 1.5rem;
  font-family: var(--main-font);
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
}

.compare-table th:first-child {
  background: #e8e8e8;
  color: #555;
  text-align: left;
}

.compare-table th.col-before {
  background: #c0392b;
  color: #fff;
}

.compare-table th.col-after {
  background: var(--primary-color);
  color: #fff;
}

.compare-table td {
  padding: 0.95rem 1.5rem;
  font-size: 0.97rem;
  border-bottom: 1px solid var(--border-color);
  background: #fff;
}

.compare-table td:first-child {
  font-weight: 600;
  color: var(--text-color);
  background: #fafafa;
}

.compare-table td.val-before {
  text-align: center;
  color: #c0392b;
}

.compare-table td.val-after {
  text-align: center;
  color: var(--primary-color);
  font-weight: 600;
}

.compare-table tr:last-child td {
  border-bottom: none;
}

/* Form */
input,
textarea {
  transition: all 0.3s ease;
  font-family: var(--alt-font);
  border: 2px solid var(--border-color);
  border-radius: 8px;
  padding: 1rem 1.2rem;
  background: rgba(255, 255, 255, 0.94);
  color: var(--text-color);
  font-size: 1rem;
  width: 100%;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(74, 103, 65, 0.13);
  background: white;
}

.btn,
button {
  transition: all 0.3s ease;
  background: var(--gradient-primary);
  color: white;
  border: none;
  padding: 1rem 2.2rem;
  border-radius: 8px;
  font-weight: 600;
  font-family: var(--alt-font);
  cursor: pointer;
  font-size: 1rem;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  box-shadow: 0 4px 18px rgba(74, 103, 65, 0.28);
}

.btn:hover,
button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(74, 103, 65, 0.38);
}

.trust-indicator {
  background: rgba(255, 255, 255, 0.88);
  padding: 1.3rem;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  box-shadow: 0 2px 15px var(--shadow-color);
  transition: all 0.3s ease;
  text-align: center;
  width: 100%;
  color: var(--dark-color);
}

.trust-indicator:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 28px var(--shadow-color);
}

/* Footer */
footer {
  background-color: var(--dark-color);
  color: var(--light-color);
  padding: 3rem 0 1rem;
}

footer img[alt="logo"] {
  filter: brightness(0) invert(1);
}

/* Pattern */
.pattern-bg {
  background-image:
    radial-gradient(circle at 70% 20%, rgba(74, 103, 65, 0.07) 0%, transparent 50%),
    radial-gradient(circle at 25% 75%, rgba(125, 168, 110, 0.06) 0%, transparent 50%),
    repeating-linear-gradient(120deg, rgba(74, 103, 65, 0.03) 0px, rgba(74, 103, 65, 0.03) 1px, transparent 1px, transparent 60px);
}

/* Responsive */
@media (max-width: 768px) {
  .hamburger { display: flex; }
  .navigation { display: none; }
  .mobile-nav { display: block; }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem;
  }

  .feature-icon {
    width: 70px;
    height: 70px;
    font-size: 2.3rem;
  }

  .feature-card-header { padding: 1.6rem 1.2rem 1.2rem; }
  .feature-card-body { padding: 1.2rem 1.4rem 1.6rem; }

  .testimonial,
  .faq-item { padding: 1.8rem 1.4rem; }

  .compare-table th,
  .compare-table td { padding: 0.75rem 0.9rem; font-size: 0.9rem; }

  #contact .grid { max-width: 100% !important; }
}

@media (max-width: 480px) {
  .container { padding: 0 0.75rem; }
  .testimonial, .faq-item { padding: 1.4rem 1rem; }
  .feature-icon { width: 62px; height: 62px; font-size: 2rem; }
  .compare-table th,
  .compare-table td { padding: 0.6rem 0.7rem; font-size: 0.82rem; }
}

a:focus,
button:focus,
input:focus,
textarea:focus {
  outline: 2px solid var(--accent-color);
  outline-offset: 2px;
}