:root {
  --primary-color: #7D3C6E;
  --secondary-color: #5C2A51;
  --accent-color: #C47BAE;
  --light-color: #FAF0F7;
  --dark-color: #2E1029;
  --gradient-primary: linear-gradient(135deg, #7D3C6E 0%, #C47BAE 100%);
  --hover-color: #5C2A51;
  --background-color: #FDF8FC;
  --text-color: #2E1F2B;
  --border-color: rgba(196, 123, 174, 0.22);
  --divider-color: rgba(125, 60, 110, 0.12);
  --shadow-color: rgba(125, 60, 110, 0.13);
  --highlight-color: #F7DC6F;
  --main-font: 'Lora', serif;
  --alt-font: 'Poppins', 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 — icon in colored circle top-center, text below */
.feature-card {
  background: white;
  border-radius: 20px;
  padding: 0 2rem 2.5rem;
  box-shadow: 0 8px 26px var(--shadow-color);
  border: 2px solid var(--border-color);
  transition: all 0.4s ease;
  text-align: center;
  position: relative;
  overflow: visible;
}

.feature-card:hover {
  transform: translateY(-8px) rotate(-0.5deg);
  box-shadow: 0 20px 42px var(--shadow-color);
  border-color: var(--accent-color);
}

.feature-icon-wrap {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: -1px auto 1.6rem;
  font-size: 2.6rem;
  box-shadow: 0 6px 18px var(--shadow-color);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  position: relative;
  top: -28px;
}

.feature-card:hover .feature-icon-wrap {
  transform: scale(1.12);
  box-shadow: 0 10px 28px var(--shadow-color);
}

/* Nutrient bar block */
.nutrient-bar-item {
  margin-bottom: 1.4rem;
}

.nutrient-bar-label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
  color: var(--text-color);
  font-family: var(--alt-font);
}

.nutrient-bar-track {
  background: var(--border-color);
  border-radius: 50px;
  height: 14px;
  overflow: hidden;
}

.nutrient-bar-fill {
  height: 100%;
  border-radius: 50px;
  background: var(--gradient-primary);
  position: relative;
}

.nutrient-bar-fill::after {
  content: '';
  position: absolute;
  top: 2px; left: 8px; right: 8px;
  height: 4px;
  background: rgba(255,255,255,0.3);
  border-radius: 50px;
}

/* Testimonials */
.testimonial {
  background: white;
  border-radius: 18px;
  padding: 2.5rem;
  box-shadow: 0 8px 24px var(--shadow-color);
  border: 2px solid var(--border-color);
  position: relative;
  transition: all 0.35s ease;
}

.testimonial::before {
  content: '❝';
  font-size: 5rem;
  color: var(--accent-color);
  opacity: 0.1;
  position: absolute;
  top: 10px; left: 18px;
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial:hover {
  transform: scale(1.02);
  box-shadow: 0 16px 38px var(--shadow-color);
  border-color: var(--primary-color);
}

/* FAQ */
.faq-item {
  background: white;
  border-radius: 18px;
  padding: 2.2rem 2.4rem;
  margin: 1.4rem 0;
  box-shadow: 0 5px 18px var(--shadow-color);
  border-top: 4px solid var(--accent-color);
  border-bottom: 4px solid transparent;
  transition: all 0.35s ease;
}

.faq-item:hover {
  border-bottom-color: var(--primary-color);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px var(--shadow-color);
}

/* Inputs */
input, textarea {
  transition: all 0.35s ease;
  font-family: var(--alt-font);
  border: 2px solid var(--border-color);
  border-radius: 12px;
  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(125, 60, 110, 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.8rem;
  border-radius: 50px;
  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 6px 20px rgba(125, 60, 110, 0.28);
}

button::before, .btn::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 0; height: 0;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.5s, height 0.5s;
}

button:hover::before, .btn:hover::before { width: 300%; height: 300%; }

button:hover, .btn:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 14px 30px rgba(125, 60, 110, 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.07);
  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: gentle wave/mesh */
.pattern-bg {
  background-color: var(--background-color);
  background-image:
    linear-gradient(rgba(196, 123, 174, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(196, 123, 174, 0.06) 1px, transparent 1px),
    linear-gradient(rgba(125, 60, 110, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(125, 60, 110, 0.03) 1px, transparent 1px);
  background-size: 50px 50px, 50px 50px, 10px 10px, 10px 10px;
}

.contact-block { width: 80%; margin: 0 auto; }

/* Stat cards for random block */
.stat-ring-card {
  background: white;
  border-radius: 20px;
  padding: 2.4rem 1.8rem;
  text-align: center;
  box-shadow: 0 8px 24px var(--shadow-color);
  border: 2px solid var(--border-color);
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}

.stat-ring-card::before {
  content: '';
  position: absolute;
  width: 120px; height: 120px;
  border-radius: 50%;
  background: var(--gradient-primary);
  opacity: 0.06;
  top: -30px; right: -30px;
  transition: transform 0.4s ease;
}

.stat-ring-card:hover::before { transform: scale(1.5); }

.stat-ring-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 18px 38px var(--shadow-color);
  border-color: var(--accent-color);
}

.stat-ring-number {
  font-size: 3rem;
  font-weight: 700;
  font-family: var(--main-font);
  color: var(--primary-color);
  line-height: 1.1;
}

.stat-ring-emoji {
  font-size: 2.4rem;
  margin-bottom: 0.6rem;
  display: block;
}

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .navigation { display: none; }
  .mobile-nav { display: block; }
  .hero h1 { font-size: 2.3rem; }
  .container { padding: 0 1.5rem; }
  .contact-block { width: 100%; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.9rem; }
  .stat-ring-number { font-size: 2.4rem; }
  .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;
  }
}