/* =============================================
   HealthMax Wellness — Global Stylesheet
   Modifică AICI, se aplică pe tot site-ul.
   ============================================= */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700;900&family=DM+Sans:wght@300;400;500;600&display=swap');

/* ---- CSS Variables ---- */
:root {
  --green-dark:  #1a4a2e;
  --green-main:  #2d7a4f;
  --green-light: #4caf50;
  --green-pale:  #e8f5e9;
  --green-accent:#00c853;
  --gold:        #c8a84b;
  --white:       #ffffff;
  --gray-light:  #f5f7f5;
  --gray-text:   #4a5568;
  --black:       #1a1a1a;
  --shadow:      0 4px 24px rgba(45,122,79,0.12);
  --shadow-lg:   0 12px 48px rgba(45,122,79,0.18);
}

/* ---- Reset ---- */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: 'DM Sans', sans-serif;
  color: var(--black);
  background: var(--white);
  overflow-x: hidden;
  padding-top: 72px; /* nav height */
}

/* ---- Navigation ---- */
nav, #hm-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(45,122,79,0.1);
  padding: 0 40px; height: 72px;
  display: flex; align-items: center; justify-content: space-between;
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}
.nav-logo, .hm-logo {
  display: flex; align-items: center; gap: 10px; text-decoration: none;
}
.nav-logo-icon, .hm-logo-icon {
  width: 40px; height: 40px; background: var(--green-main);
  border-radius: 10px; display: flex; align-items: center;
  justify-content: center; font-size: 20px;
}
.nav-logo-text, .hm-logo-text {
  font-family: 'Playfair Display', serif; font-size: 20px;
  font-weight: 700; color: var(--green-dark); line-height: 1.1;
}
.nav-logo-text span, .hm-logo-text span {
  display: block; font-size: 11px; font-family: 'DM Sans', sans-serif;
  font-weight: 400; color: var(--green-main);
  letter-spacing: 1.5px; text-transform: uppercase;
}
.nav-links, .hm-links {
  display: flex; align-items: center; gap: 8px; list-style: none;
}
.nav-links a, .hm-links a {
  text-decoration: none; color: var(--gray-text);
  font-size: 14px; font-weight: 500; padding: 8px 16px;
  border-radius: 8px; transition: all 0.2s;
}
.nav-links a:hover, .hm-links a:hover {
  color: var(--green-main); background: var(--green-pale);
}

/* Dropdown */
.dropdown, .hm-drop { position: relative; }
.dropdown-toggle, .hm-drop-toggle {
  display: flex; align-items: center; gap: 4px; cursor: pointer;
  text-decoration: none; color: var(--gray-text);
  font-size: 14px; font-weight: 500; padding: 8px 16px;
  border-radius: 8px; transition: all 0.2s;
}
.dropdown-toggle:hover, .hm-drop-toggle:hover {
  color: var(--green-main); background: var(--green-pale);
}
.dropdown-toggle svg, .hm-drop-toggle svg { transition: transform 0.2s; }
.dropdown:hover .dropdown-toggle svg,
.hm-drop:hover .hm-drop-toggle svg { transform: rotate(180deg); }
.dropdown-menu, .hm-drop-menu {
  position: absolute; top: calc(100% + 8px); left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: white; border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.12);
  border: 1px solid rgba(45,122,79,0.1);
  min-width: 280px; opacity: 0; visibility: hidden;
  transition: all 0.25s ease; overflow: hidden;
}
.dropdown:hover .dropdown-menu,
.hm-drop:hover .hm-drop-menu {
  opacity: 1; visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.dropdown-item, .hm-drop-item {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 20px; text-decoration: none;
  color: var(--black); transition: background 0.15s;
  border-bottom: 1px solid rgba(0,0,0,0.04);
}
.dropdown-item:last-child, .hm-drop-item:last-child { border-bottom: none; }
.dropdown-item:hover, .hm-drop-item:hover { background: var(--green-pale); }
.dropdown-item-icon, .hm-drop-icon {
  width: 36px; height: 36px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; flex-shrink: 0;
}
.dropdown-item-text strong, .hm-drop-text strong {
  display: block; font-size: 14px; font-weight: 600; color: var(--green-dark);
}
.dropdown-item-text span, .hm-drop-text span {
  font-size: 12px; color: var(--gray-text);
}
.nav-cta, .hm-cta {
  background: var(--green-main) !important; color: white !important;
  padding: 10px 24px !important; border-radius: 50px !important;
  font-weight: 600 !important; transition: all 0.2s !important;
}
.nav-cta:hover, .hm-cta:hover {
  background: var(--green-dark) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(45,122,79,0.3) !important;
}
.nav-guarantee, .hm-guarantee {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; color: var(--green-main); font-weight: 500;
  padding: 6px 12px; background: var(--green-pale);
  border-radius: 50px; border: 1px solid rgba(45,122,79,0.2);
}
.hamburger, .hm-burger {
  display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px;
}
.hamburger span, .hm-burger span {
  width: 24px; height: 2px; background: var(--green-dark);
  border-radius: 2px; transition: all 0.3s;
}

/* ---- Layout Helpers ---- */
.section { padding: 100px 40px; }
.section-label {
  font-size: 12px; font-weight: 600; letter-spacing: 2px;
  text-transform: uppercase; color: var(--green-main); margin-bottom: 12px;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 4vw, 52px); font-weight: 700;
  color: var(--green-dark); line-height: 1.1; margin-bottom: 16px;
}
.section-subtitle {
  font-size: 17px; color: var(--gray-text);
  line-height: 1.7; max-width: 560px;
}
.section-sub {
  font-size: 16px; color: var(--gray-text);
  line-height: 1.7; max-width: 600px; margin-bottom: 40px;
}

/* ---- Hero ---- */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--green-dark) 0%, #1e5c38 50%, #2d7a4f 100%);
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 120px 40px 80px;
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(76,175,80,0.15) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 30%, rgba(0,200,83,0.1) 0%, transparent 50%);
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
  color: white; padding: 8px 20px; border-radius: 50px;
  font-size: 13px; font-weight: 500; margin-bottom: 32px;
  backdrop-filter: blur(8px);
}
.hero-badge-dot {
  width: 8px; height: 8px; background: var(--green-accent);
  border-radius: 50%; animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.6; transform: scale(1.3); }
}
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(42px, 6vw, 76px); font-weight: 900;
  color: white; line-height: 1.05; margin-bottom: 24px;
  max-width: 800px; margin-left: auto; margin-right: auto;
}
.hero h1 em { font-style: normal; color: var(--green-accent); }
.hero p {
  font-size: 18px; color: rgba(255,255,255,0.8);
  max-width: 560px; margin: 0 auto 48px; line-height: 1.7; font-weight: 300;
}
.hero-buttons {
  display: flex; gap: 16px; justify-content: center;
  flex-wrap: wrap; margin-bottom: 64px;
}
.btn-primary {
  background: var(--green-accent); color: var(--green-dark);
  padding: 16px 40px; border-radius: 50px; font-size: 16px;
  font-weight: 700; text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
  transition: all 0.3s; box-shadow: 0 8px 32px rgba(0,200,83,0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0,200,83,0.4);
  background: #00e065;
}
.btn-secondary {
  background: rgba(255,255,255,0.1); color: white;
  padding: 16px 40px; border-radius: 50px; font-size: 16px;
  font-weight: 600; text-decoration: none;
  border: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(8px); transition: all 0.3s;
}
.btn-secondary:hover { background: rgba(255,255,255,0.2); transform: translateY(-2px); }
.hero-stats { display: flex; gap: 48px; justify-content: center; flex-wrap: wrap; }
.hero-stat { text-align: center; }
.hero-stat-number {
  font-family: 'Playfair Display', serif; font-size: 36px;
  font-weight: 900; color: var(--green-accent); display: block;
}
.hero-stat-label { font-size: 13px; color: rgba(255,255,255,0.6); font-weight: 400; }

/* ---- Trust Bar ---- */
.trust-bar {
  background: var(--green-pale); padding: 20px 40px;
  display: flex; align-items: center; justify-content: center;
  gap: 48px; flex-wrap: wrap;
  border-bottom: 1px solid rgba(45,122,79,0.1);
}
.trust-item { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; color: var(--green-dark); }
.trust-item svg { color: var(--green-main); }

/* ---- Product Cards ---- */
.products { background: var(--gray-light); }
.products-header { text-align: center; margin-bottom: 64px; }
.products-header .section-subtitle { margin: 0 auto; }
.products-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px; max-width: 1200px; margin: 0 auto;
}
.product-card {
  background: white; border-radius: 24px; overflow: hidden;
  box-shadow: var(--shadow); transition: all 0.3s; display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.product-card-badge {
  position: absolute; top: 16px; right: 16px;
  background: var(--gold); color: white; font-size: 11px;
  font-weight: 700; padding: 4px 12px; border-radius: 50px;
  text-transform: uppercase; letter-spacing: 0.5px;
}
.product-card-img {
  position: relative;
  background: linear-gradient(135deg, var(--green-pale), #d4edda);
  height: 220px; display: flex; align-items: center;
  justify-content: center; font-size: 72px; overflow: hidden;
}
.product-card-body { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.product-card-tag { font-size: 11px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--green-main); margin-bottom: 8px; }
.product-card-title { font-family: 'Playfair Display', serif; font-size: 24px; font-weight: 700; color: var(--green-dark); margin-bottom: 12px; }
.product-card-desc { font-size: 14px; color: var(--gray-text); line-height: 1.6; margin-bottom: 20px; flex: 1; }
.product-card-benefits { list-style: none; margin-bottom: 24px; }
.product-card-benefits li { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--gray-text); margin-bottom: 6px; }
.product-card-benefits li::before { content: '\2713'; color: var(--green-main); font-weight: 700; font-size: 14px; }
.product-card-footer { border-top: 1px solid var(--green-pale); padding-top: 20px; }
.product-card-price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 16px; }
.price-from  { font-size: 12px; color: var(--gray-text); }
.price-amount { font-family: 'Playfair Display', serif; font-size: 32px; font-weight: 700; color: var(--green-dark); }
.price-per   { font-size: 13px; color: var(--gray-text); }
.price-original { font-size: 14px; color: #aaa; text-decoration: line-through; }
.product-btn {
  display: block; width: 100%; padding: 14px;
  background: var(--green-main); color: white;
  text-align: center; border-radius: 12px; font-size: 15px;
  font-weight: 700; text-decoration: none; transition: all 0.2s; letter-spacing: 0.3px;
}
.product-btn:hover { background: var(--green-dark); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(45,122,79,0.3); }

/* ---- Guarantee Section ---- */
.guarantee, .guarantee-section {
  background: var(--green-dark); padding: 80px 40px;
  text-align: center; color: white;
}
.guarantee-seal {
  width: 120px; height: 120px; background: rgba(255,255,255,0.1);
  border: 3px solid var(--green-accent); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 48px; margin: 0 auto 32px;
}
.guarantee h2, .guarantee-section h2 {
  font-family: 'Playfair Display', serif; font-size: 40px;
  font-weight: 700; margin-bottom: 16px;
}
.guarantee p, .guarantee-section p {
  font-size: 17px; color: rgba(255,255,255,0.7);
  max-width: 600px; margin: 0 auto; line-height: 1.7;
}

/* ---- Footer ---- */
footer {
  background: var(--black); padding: 60px 40px 40px;
  color: rgba(255,255,255,0.5);
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; max-width: 1200px; margin: 0 auto 48px;
}
.footer-brand p { font-size: 14px; line-height: 1.7; max-width: 280px; margin-top: 16px; }
.footer-col h4 { font-size: 13px; font-weight: 600; color: white; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 20px; }
.footer-col a { display: block; color: rgba(255,255,255,0.5); text-decoration: none; font-size: 14px; margin-bottom: 10px; transition: color 0.2s; }
.footer-col a:hover { color: var(--green-accent); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 32px; text-align: center;
  font-size: 12px; max-width: 1200px; margin: 0 auto;
}

/* ---- Animations ---- */
.fade-up { opacity: 0; transform: translateY(30px); transition: all 0.6s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ---- Badge / Misc ---- */
.badge {
  display: flex; align-items: center; gap: 8px;
  background: var(--gray-light); border-radius: 12px;
  padding: 12px 20px; font-size: 13px; font-weight: 600; color: var(--green-dark);
}

/* ---- FAQ ---- */
.faq-item { border-bottom: 1px solid rgba(0,0,0,0.08); padding: 24px 0; }
.faq-question {
  font-size: 16px; font-weight: 600; color: var(--green-dark);
  cursor: pointer; display: flex; justify-content: space-between; align-items: center;
}
.faq-answer { font-size: 15px; color: var(--gray-text); line-height: 1.7; margin-top: 12px; display: none; }
.faq-arrow { transition: transform 0.3s; font-size: 14px; }
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-item.open .faq-answer { display: block; }

/* ---- Blog Cards ---- */
.blog-card {
  background: white; border-radius: 20px; overflow: hidden;
  transition: all 0.3s; text-decoration: none; color: inherit;
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

/* ---- Ingredient / Feature Cards ---- */
.ingredient-card {
  background: var(--green-pale); border-radius: 16px; padding: 24px;
  border: 2px solid transparent; transition: all 0.2s;
}
.ingredient-card:hover { border-color: var(--green-main); transform: translateY(-2px); }

/* ---- Testimonials ---- */
.testimonial-card {
  background: white; border-radius: 20px; padding: 28px;
  border: 1px solid rgba(45,122,79,0.1); box-shadow: var(--shadow);
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
  nav, #hm-nav { padding: 0 20px; }
  .nav-links, .hm-links { display: none; }
  .nav-guarantee, .hm-guarantee { display: none; }
  .hamburger, .hm-burger { display: flex; }
  .hero { padding: 100px 20px 60px; }
  .hero-stats { gap: 24px; }
  .section { padding: 60px 20px; }
  .trust-bar { gap: 24px; padding: 16px 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
