:root {
  --primary-color: #8B4513;
  --secondary-color: #6B3410;
  --accent-color: #C0724A;
  --light-color: #FAF3EA;
  --dark-color: #3C1F0A;
  --gradient-primary: linear-gradient(135deg, #8B4513 0%, #C0724A 100%);
  --hover-color: #6B3410;
  --background-color: #FDFAF5;
  --text-color: #3A2C1E;
  --border-color: rgba(192, 114, 74, 0.22);
  --divider-color: rgba(139, 69, 19, 0.12);
  --shadow-color: rgba(139, 69, 19, 0.12);
  --highlight-color: #F4D03F;
  --main-font: 'Playfair Display', serif;
  --alt-font: 'Roboto', sans-serif;
}

/* Mobile Menu */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 8px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 8px;
}

.hamburger .line {
  width: 28px;
  height: 3px;
  background-color: var(--light-color);
  margin: 3px 0;
  transition: 0.3s;
  border-radius: 2px;
}

#menu-toggle { display: none; }

#menu-toggle:checked ~ .mobile-nav {
  max-height: 400px;
  opacity: 1;
}

.mobile-nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.4s ease;
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
  z-index: 1000;
}

.mobile-nav ul { padding: 2rem; margin: 0; list-style: none; }
.mobile-nav li { margin: 1rem 0; }

.mobile-nav a {
  display: block;
  padding: 1.2rem 1.8rem;
  color: var(--light-color);
  text-decoration: none;
  border-radius: 15px;
  transition: all 0.3s ease;
  font-size: 1.1rem;
  font-weight: 500;
  border: 2px solid transparent;
}

.mobile-nav a:hover {
  background-color: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.3);
  transform: translateX(8px);
}

/* Feature Cards — horizontal layout: icon left, text right */
.feature-card {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 1.5rem;
  background: white;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 6px 22px var(--shadow-color);
  border: 2px solid var(--border-color);
  border-bottom: 4px solid var(--accent-color);
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.feature-card:hover::before { transform: scaleX(1); }

.feature-card:hover {
  transform: translateX(8px);
  box-shadow: 0 12px 35px var(--shadow-color);
  border-color: var(--primary-color);
}

.feature-icon {
  font-size: 3rem;
  flex-shrink: 0;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--light-color);
  border-radius: 14px;
  transition: transform 0.35s ease;
}

.feature-card:hover .feature-icon { transform: scale(1.15) rotate(-4deg); }

.feature-text { flex: 1; }

/* Testimonials */
.testimonial {
  background: white;
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: 0 8px 28px var(--shadow-color);
  border-left: 5px solid var(--accent-color);
  position: relative;
  transition: all 0.35s ease;
}

.testimonial::after {
  content: '❝';
  position: absolute;
  bottom: 15px;
  right: 20px;
  font-size: 3rem;
  color: var(--accent-color);
  opacity: 0.12;
  line-height: 1;
}

.testimonial:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px var(--shadow-color);
  border-left-color: var(--primary-color);
}

/* FAQ */
.faq-item {
  background: white;
  border-radius: 16px;
  padding: 2.2rem 2.5rem;
  margin: 1.2rem 0;
  box-shadow: 0 5px 18px var(--shadow-color);
  border: 2px solid var(--border-color);
  border-right: 5px solid var(--primary-color);
  transition: all 0.35s ease;
}

.faq-item:hover {
  transform: translateX(-6px);
  box-shadow: 0 10px 30px var(--shadow-color);
  border-right-color: var(--accent-color);
}

/* Stat Cards */
.stat-card {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 8px 24px var(--shadow-color);
  transition: all 0.35s ease;
  border: 2px solid var(--border-color);
}

.stat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px var(--shadow-color);
  border-color: var(--accent-color);
}

.stat-number {
  font-size: 3.2rem;
  font-weight: 700;
  color: var(--primary-color);
  font-family: var(--main-font);
  line-height: 1.2;
}

.stat-text {
  font-size: 1rem;
  color: var(--text-color);
  margin-top: 0.7rem;
}

/* Trust Indicators */
.trust-indicator {
  background: rgba(255,255,255,0.15);
  color: white;
  padding: 1.8rem;
  border-radius: 14px;
  border: 2px solid rgba(255,255,255,0.25);
  transition: all 0.3s ease;
  backdrop-filter: blur(4px);
}

.trust-indicator:hover {
  background: rgba(255,255,255,0.22);
  transform: translateY(-4px);
}

/* Inputs */
input, textarea {
  transition: all 0.35s ease;
  font-family: var(--alt-font);
  border: 2px solid var(--border-color);
  border-radius: 10px;
  padding: 1.2rem;
  background-color: white;
  color: var(--text-color);
  font-size: 1rem;
}

input:focus, textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 5px rgba(139, 69, 19, 0.08);
  transform: translateY(-2px);
}

input:hover, textarea:hover {
  border-color: var(--accent-color);
}

/* Buttons */
button, .btn {
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
  background: var(--gradient-primary);
  color: white;
  border: none;
  padding: 1.2rem 2.6rem;
  border-radius: 8px;
  font-weight: 600;
  font-family: var(--alt-font);
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.95rem;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  box-shadow: 0 5px 18px rgba(139, 69, 19, 0.3);
}

button::before, .btn::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 0; height: 0;
  background: rgba(255,255,255,0.18);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.5s ease, height 0.5s ease;
}

button:hover::before, .btn:hover::before {
  width: 300%; height: 300%;
}

button:hover, .btn:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 12px 28px rgba(139, 69, 19, 0.38);
}

html { scroll-behavior: smooth; }

.hero {
  position: relative;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 50%, var(--dark-color) 100%);
}

h1, h2, h3 {
  text-shadow: 0 2px 4px rgba(0,0,0,0.08);
  font-family: var(--main-font);
  font-weight: 700;
}

body {
  font-family: var(--alt-font);
  color: var(--text-color);
  background-color: var(--background-color);
  line-height: 1.7;
}

header {
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
  color: var(--light-color);
  padding: 1.2rem 0;
  position: relative;
  z-index: 1000;
  box-shadow: 0 4px 18px var(--shadow-color);
}

footer {
  background: linear-gradient(135deg, var(--dark-color) 0%, var(--secondary-color) 100%);
  color: var(--light-color);
  padding: 4.5rem 0 1.5rem;
}

header img[alt="logo"],
footer img[alt="logo"] { filter: brightness(0) invert(1); }

a:focus, button:focus, input:focus, textarea:focus {
  outline: 3px solid var(--highlight-color);
  outline-offset: 4px;
}

::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: var(--light-color); }
::-webkit-scrollbar-thumb { background: var(--gradient-primary); border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary-color); }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in-up { animation: fadeInUp 0.85s ease-out; }

/* Pattern: soft dots */
.pattern-bg {
  background-image:
    radial-gradient(circle, rgba(192, 114, 74, 0.08) 1px, transparent 1px),
    radial-gradient(circle, rgba(139, 69, 19, 0.04) 1px, transparent 1px);
  background-size: 28px 28px, 14px 14px;
  background-position: 0 0, 7px 7px;
  background-color: var(--background-color);
}

/* Contact block */
.contact-block { width: 80%; margin: 0 auto; }

/* Nutrient table */
.nutrient-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 22px var(--shadow-color);
}

.nutrient-table th {
  background: var(--gradient-primary);
  color: white;
  padding: 1rem 1.2rem;
  text-align: left;
  font-family: var(--main-font);
  font-size: 0.95rem;
}

.nutrient-table td {
  padding: 0.9rem 1.2rem;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-color);
  font-size: 0.95rem;
}

.nutrient-table tr:last-child td { border-bottom: none; }

.nutrient-table tr:nth-child(even) td {
  background-color: rgba(192, 114, 74, 0.04);
}

.nutrient-table tr:hover td {
  background-color: rgba(192, 114, 74, 0.09);
}

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .navigation { display: none; }
  .mobile-nav { display: block; }
  .hero h1 { font-size: 2.4rem; }
  .container { padding: 0 1.5rem; }
  .feature-card { padding: 1.6rem; }
  .contact-block { width: 100%; }
  .nutrient-table th, .nutrient-table td { padding: 0.7rem 0.8rem; font-size: 0.85rem; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.9rem; }
  .feature-card { flex-direction: column; }
  .stat-number { font-size: 2.6rem; }
  .contact-block { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

@media (prefers-contrast: high) {
  :root {
    --text-color: #000;
    --background-color: #fff;
    --border-color: #000;
    --primary-color: #000;
    --secondary-color: #000;
  }
}