/* styles.css */
:root {
  --primary-color: #1e88e5; /* vibrant blue */
  --secondary-color: #2ecc71; /* trust green */
  --accent-color: #e0f7fa; /* soft blue/green */
  --bg-color: #ffffff;
  --bg-alt: #f8f9fb; /* clean light gray */
  --cta-accent: #ff6b35; /* high-visibility orange */
  --text-dark: #202124;
  --text-muted: #5f6368;
  --header-height: 80px;
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 12px 24px rgba(0,0,0,0.15);
  --transition: all 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  background-color: var(--bg-color);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 { font-family: 'Merriweather', serif; color: var(--text-dark); margin-bottom: 1rem; line-height: 1.3; }

a { text-decoration: none; color: inherit; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.bg-light { background-color: var(--bg-alt); }
.text-center { text-align: center; }

/* Header */
header {
  position: fixed; top: 0; left: 0; width: 100%; height: var(--header-height);
  background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px);
  z-index: 1000; box-shadow: var(--shadow-sm); transition: var(--transition);
  display: flex; align-items: center;
}
header.scrolled { box-shadow: var(--shadow-md); }
header .container { display: flex; justify-content: space-between; align-items: center; width: 100%; }

.logo { font-size: 1.5rem; font-weight: 700; color: var(--primary-color); display: flex; align-items: center; gap: 0.5rem; }
.logo i { color: var(--secondary-color); }

nav ul { list-style: none; display: flex; gap: 2rem; }
nav ul li a { font-weight: 500; font-size: 0.95rem; color: var(--text-dark); transition: var(--transition); }
nav ul li a:hover { color: var(--primary-color); }

.mobile-menu-toggle { display: none; font-size: 1.5rem; cursor: pointer; color: var(--text-dark); }

/* News Header Section */
.news-header {
  padding: 130px 0 60px;
  background: #fff; border-bottom: 1px solid #eee; text-align: left;
}
.news-header-content { max-width: 800px; margin: 0 auto; }
.news-category { display: inline-block; background: var(--primary-color); color: #fff; padding: 5px 10px; font-size: 0.8rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 15px; border-radius: 4px; }
.news-header h1 { font-size: 2.8rem; margin-bottom: 1rem; color: #111; line-height: 1.2; font-family: 'Merriweather', serif; font-weight: 900; }
.news-header h2.subheadline { font-size: 1.4rem; color: var(--text-muted); margin-bottom: 20px; font-family: 'Inter', sans-serif; font-weight: 400; line-height: 1.5; }
.news-meta { display: flex; align-items: center; gap: 15px; font-size: 0.9rem; color: #888; border-top: 1px solid #f0f0f0; padding-top: 20px; margin-top: 20px; }
.news-meta span { display: flex; align-items: center; gap: 5px; }
.news-meta i { color: var(--primary-color); }

/* Buttons */
.cta-button {
  display: inline-flex; justify-content: center; align-items: center; gap: 10px;
  padding: 16px 36px; border-radius: 50px;
  font-weight: 600; font-size: 1.1rem; cursor: pointer; transition: var(--transition);
  box-shadow: var(--shadow-md); text-align: center;
}
.primary-cta { background: linear-gradient(135deg, var(--cta-accent), #e85a28); color: #fff; border: none; }
.primary-cta:hover { background: linear-gradient(135deg, #e85a28, #d44a1b); transform: translateY(-3px); box-shadow: 0 8px 20px rgba(255, 107, 53, 0.4); color: #fff;}
.secondary-cta { background: var(--primary-color); color: #fff; }
.secondary-cta:hover { background: #0d47a1; transform: translateY(-3px); box-shadow: var(--shadow-lg); color: #fff;}

/* Article Layout */
.article-section { padding: 80px 0; }
.article-wrapper { display: flex; gap: 50px; }
article { flex: 1; max-width: 800px; }
.sidebar { width: 320px; display: none; }

@media (min-width: 1024px) { .sidebar { display: block; } }

.sidebar-widget { background: var(--bg-alt); padding: 30px; border-radius: 12px; margin-bottom: 30px; box-shadow: var(--shadow-sm); }
.sidebar-widget h4 { font-size: 1.2rem; margin-bottom: 15px; border-bottom: 2px solid var(--accent-color); padding-bottom: 10px; }
.sidebar-widget ul { list-style: none; }
.sidebar-widget ul li { margin-bottom: 10px; border-bottom: 1px solid #eee; padding-bottom: 10px; }
.sidebar-widget ul li:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.sidebar-widget ul li a { color: var(--primary-color); font-weight: 500; transition: var(--transition); }
.sidebar-widget ul li a:hover { color: var(--secondary-color); }

.author-meta { display: flex; align-items: center; gap: 15px; margin-bottom: 40px; padding-bottom: 20px; border-bottom: 1px solid #eee; }
.author-img { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; }
.author-info { display: flex; flex-direction: column; }
.author-name { font-weight: 600; color: var(--text-dark); }
.publish-date { font-size: 0.9rem; color: var(--text-muted); }

article h2 { font-size: 2.2rem; margin-top: 50px; margin-bottom: 20px; color: #102a43; }
article h3 { font-size: 1.6rem; margin-top: 40px; margin-bottom: 15px; color: #1a365d; }
article p { margin-bottom: 24px; font-size: 1.15rem; color: #334e68; line-height: 1.8; }
article ul { margin-bottom: 24px; padding-left: 24px; }
article ul li { margin-bottom: 12px; font-size: 1.15rem; color: #334e68; line-height: 1.7; }
article blockquote {
  border-left: 4px solid var(--primary-color);
  background: var(--bg-alt); padding: 20px 20px 20px 24px; margin-bottom: 24px;
  font-style: italic; color: #2d3748; font-size: 1.2rem; border-radius: 0 8px 8px 0;
}

/* Product Section */
.product-section { padding: 100px 0; position: relative; }
.product-card {
  display: flex; flex-direction: column; align-items: center; background: #fff;
  border-radius: 20px; padding: 50px; box-shadow: var(--shadow-lg);
  max-width: 1000px; margin: 0 auto; gap: 50px;
}
@media(min-width: 768px) { .product-card { flex-direction: row; } }
.product-image { flex: 1; text-align: center; position: relative; }
.product-image::before { content: ''; position: absolute; width: 250px; height: 250px; background: var(--accent-color); border-radius: 50%; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 0; }
.product-image img { max-width: 100%; height: auto; max-height: 400px; position: relative; z-index: 1; filter: drop-shadow(0 20px 30px rgba(0,0,0,0.15)); transition: transform 0.5s ease; }
.product-card:hover .product-image img { transform: translateY(-10px); }
.product-info { flex: 1; }
.product-info h3 { font-size: 2.2rem; color: var(--primary-color); margin-bottom: 1rem; }
.product-info p { margin-bottom: 1.5rem; color: var(--text-muted); font-size: 1.1rem; }
.product-info ul { list-style: none; margin-bottom: 2.5rem; }
.product-info ul li { margin-bottom: 0.8rem; display: flex; align-items: flex-start; gap: 12px; font-size: 1.05rem; }
.product-info ul li i { color: var(--secondary-color); margin-top: 4px; }

/* Benefits */
.benefits-section { padding: 100px 0; }
.benefits-header { text-align: center; max-width: 700px; margin: 0 auto 50px; }
.benefits-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
.benefit-card {
  background: #fff; padding: 40px 30px; border-radius: 16px; text-align: center;
  box-shadow: var(--shadow-sm); transition: var(--transition); border: 1px solid #eee;
}
.benefit-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-md); border-color: var(--accent-color); }
.benefit-icon {
  width: 80px; height: 80px; margin: 0 auto 25px; background: linear-gradient(135deg, var(--accent-color), #fff);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem; color: var(--secondary-color); box-shadow: inset 0 0 10px rgba(46, 125, 50, 0.1);
}
.benefit-card h4 { font-size: 1.4rem; margin-bottom: 15px; color: #1a365d; }
.benefit-card p { color: var(--text-muted); line-height: 1.6; }

/* Statistics Component */
.stats-container { display: flex; flex-wrap: wrap; justify-content: center; gap: 40px; margin: 40px 0; background: #fff; padding: 40px; border-radius: 16px; box-shadow: var(--shadow-sm); border: 1px solid #f0f0f0; }
.stat-item { text-align: center; }
.stat-number { font-size: 3rem; font-weight: 700; color: var(--primary-color); line-height: 1; margin-bottom: 10px; font-family: 'Merriweather', serif; }
.stat-label { font-size: 1rem; color: var(--text-muted); font-weight: 500; text-transform: uppercase; letter-spacing: 1px; }

/* FAQ */
.faq-section { padding: 100px 0; }
.faq-header { text-align: center; margin-bottom: 50px; }
.faq-container { max-width: 800px; margin: 0 auto; }
.faq-item { background: #fff; border-radius: 12px; margin-bottom: 15px; box-shadow: var(--shadow-sm); overflow: hidden; border: 1px solid #eee; }
.faq-question {
  padding: 25px; font-weight: 600; font-size: 1.2rem; display: flex;
  justify-content: space-between; align-items: center; cursor: pointer; transition: var(--transition);
}
.faq-question:hover { color: var(--primary-color); background: var(--bg-alt); }
.faq-answer { padding: 0 25px; max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s ease; color: var(--text-muted); line-height: 1.7; }
.faq-item.active .faq-answer { padding: 0 25px 25px; max-height: 1000px; }
.faq-item.active .faq-question { color: var(--primary-color); border-bottom: 1px solid #eee; }
.faq-item.active .faq-question i { transform: rotate(180deg); }

/* References / Trust */
.references-section { padding: 80px 0; border-top: 1px solid #eee; background: #fff; }
.references-content { font-size: 0.9rem; color: #666; max-width: 900px; margin: 0 auto; }
.references-content h4 { font-size: 1.2rem; color: #333; margin-bottom: 20px; }
.references-content ol { padding-left: 20px; margin-bottom: 30px; }
.references-content ol li { margin-bottom: 10px; }
.disclaimer-box { background: #fff3e0; border: 1px solid #ffe0b2; padding: 25px; border-radius: 12px; color: #e65100; font-size: 0.95rem; display: flex; gap: 15px; align-items: flex-start; }
.disclaimer-box i { font-size: 1.5rem; margin-top: 3px; }

/* CTA Section */
.cta-section { padding: 100px 0; text-align: center; background: linear-gradient(135deg, var(--primary-color) 0%, #102a43 100%); color: #fff; }
.cta-section h2 { color: #fff; font-size: 2.5rem; margin-bottom: 20px; }
.cta-section p { font-size: 1.2rem; margin-bottom: 40px; opacity: 0.9; max-width: 700px; margin-left: auto; margin-right: auto; }
.cta-section .primary-cta { background: var(--secondary-color); border: 2px solid var(--secondary-color); }
.cta-section .primary-cta:hover { background: #fff; color: var(--secondary-color); }

/* Footer */
footer { background: #1a202c; color: #cbd5e0; padding: 80px 0 40px; text-align: center; }
.footer-logo { font-size: 1.8rem; font-weight: 700; color: #fff; margin-bottom: 20px; display: flex; justify-content: center; align-items: center; gap: 10px; font-family: 'Merriweather', serif; }
.footer-links { display: flex; justify-content: center; gap: 25px; margin-bottom: 40px; flex-wrap: wrap; }
.footer-links a { transition: var(--transition); font-weight: 500; }
.footer-links a:hover { color: #fff; text-decoration: underline; }
.footer-disclaimer { max-width: 900px; margin: 0 auto 30px; font-size: 0.85rem; opacity: 0.7; line-height: 1.6; }
.copyright { font-size: 0.9rem; margin-top: 30px; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 30px; }

/* Advertorial Conversion Elements */
.problem-section { background: var(--bg-alt); padding: 40px; border-radius: 12px; margin: 0 0 50px 0; border: 1px solid #e0e0e0; }
.problem-section h3 { color: var(--cta-accent); margin-bottom: 15px; font-size: 1.8rem; }
.problem-section ul { margin-bottom: 20px; }
.problem-section ul li { margin-bottom: 10px; font-weight: 500; display: flex; align-items: center; gap: 10px; }
.problem-section ul li i { color: var(--cta-accent); }

.trust-badges { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; margin-top: 25px; padding-top: 20px; border-top: 1px dashed #ddd; width: 100%; }
.trust-badge { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; color: #666; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.trust-badge i { font-size: 1.2rem; color: var(--secondary-color); }

.testimonial-section { padding: 80px 0; background: var(--bg-alt); }
.testimonial-header { text-align: center; margin-bottom: 50px; }
.testimonial-header h2 { font-size: 2.2rem; color: var(--primary-color); }
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; max-width: 1000px; margin: 0 auto; }
.testimonial-card { background: #fff; padding: 30px; border-radius: 12px; box-shadow: var(--shadow-sm); transition: var(--transition); border: 1px solid #eee; position: relative; }
.testimonial-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.testimonial-stars { color: #f59e0b; margin-bottom: 15px; font-size: 1.1rem; }
.testimonial-text { font-style: italic; color: #444; margin-bottom: 20px; line-height: 1.6; }
.testimonial-author { display: flex; align-items: center; gap: 15px; }
.testimonial-avatar { width: 50px; height: 50px; border-radius: 50%; background: var(--accent-color); color: var(--primary-color); display: flex; align-items: center; justify-content: center; font-weight: bold; font-size: 1.2rem; }
.testimonial-name { font-weight: 600; color: var(--text-dark); }
.testimonial-verified { font-size: 0.8rem; color: var(--secondary-color); display: flex; align-items: center; gap: 4px; margin-top: 2px;}

.expert-section { background: #fff; border: 2px solid var(--accent-color); border-radius: 12px; padding: 40px; margin: 50px 0; box-shadow: var(--shadow-md); display: flex; gap: 30px; align-items: center; }
@media (max-width: 768px) { .expert-section { flex-direction: column; } }
.expert-image { width: 150px; height: 150px; border-radius: 50%; object-fit: cover; border: 4px solid var(--accent-color); flex-shrink: 0; }
.expert-content { flex: 1; }
.expert-content h2 { color: #d32f2f; font-size: 2rem; margin-bottom: 20px; }
.expert-content ul { margin-bottom: 30px; }
.expert-content ul li { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-weight: 500; font-size: 1.1rem; }
.expert-content ul li i { color: #d32f2f; }

.ingredient-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin: 40px 0; }
.ingredient-card { background: #fff; border: 1px solid #eee; border-radius: 12px; padding: 30px 20px; text-align: center; box-shadow: var(--shadow-sm); transition: var(--transition); position: relative; overflow: hidden; }
.ingredient-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: var(--secondary-color); }
.ingredient-icon { font-size: 2.5rem; color: var(--secondary-color); margin-bottom: 15px; }
.ingredient-card h4 { color: var(--primary-color); font-size: 1.3rem; margin-bottom: 10px; }

.story-section { background: var(--bg-alt); padding: 40px; border-radius: 12px; border-left: 5px solid var(--primary-color); margin: 50px 0; font-style: italic; font-size: 1.15rem; color: #444; line-height: 1.8; }
.story-step { margin-bottom: 20px; }
.story-step strong { color: var(--primary-color); text-transform: uppercase; font-size: 0.9rem; letter-spacing: 1px; display: block; margin-bottom: 5px; }

.related-articles { margin: 60px 0; }
.related-articles h3 { font-size: 1.8rem; margin-bottom: 30px; border-bottom: 2px solid var(--accent-color); padding-bottom: 15px; }
.related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.related-card { display: block; background: #fff; border-radius: 8px; overflow: hidden; box-shadow: var(--shadow-sm); transition: var(--transition); border: 1px solid #eee; }
.related-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--primary-color); }
.related-card img { width: 100%; height: 140px; object-fit: cover; border-bottom: 1px solid #eee; }
.related-card h5 { padding: 15px; font-size: 1rem; color: var(--text-dark); margin: 0; line-height: 1.4; }
.related-card.featured { border: 2px solid var(--cta-accent); }
.related-card.featured h5 { color: var(--cta-accent); }

.sticky-bar {
  position: fixed; bottom: -100px; left: 0; width: 100%;
  background: rgba(26, 32, 44, 0.95); backdrop-filter: blur(10px);
  color: #fff; padding: 15px 0; box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
  z-index: 1000; transition: bottom 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex; justify-content: center; align-items: center; gap: 30px;
}
.sticky-bar.show { bottom: 0; }
.sticky-bar p { margin: 0; font-size: 1.1rem; font-weight: 600; }
.sticky-bar span { color: var(--cta-accent); font-weight: 700; margin-left: 10px; }
.sticky-bar .cta-button { padding: 10px 25px; font-size: 1rem; margin: 0; }

.scroll-popup {
  position: fixed; bottom: -500px; left: 20px; width: 320px;
  background: #fff; border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2); z-index: 1001;
  padding: 25px; transition: bottom 0.5s ease; border: 1px solid #eee;
}
.scroll-popup.show { bottom: 20px; }
.popup-close { position: absolute; top: 10px; right: 15px; font-size: 1.5rem; cursor: pointer; color: #aaa; }
.popup-close:hover { color: #333; }
.popup-content { text-align: center; }
.popup-image { max-width: 100px; margin: 0 auto 15px; }
.popup-title { font-size: 1.2rem; color: var(--primary-color); margin-bottom: 10px; }
.popup-text { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 15px; line-height: 1.4; }

.inline-product-card {
  display: flex; background: #f8fbfb; border: 1px solid #e0f2f1;
  border-left: 5px solid var(--secondary-color); padding: 25px;
  border-radius: 8px; margin: 30px 0; gap: 20px; align-items: center;
}
.inline-product-img { width: 120px; flex-shrink: 0; }
.inline-product-img img { width: 100%; height: auto; filter: drop-shadow(0 5px 10px rgba(0,0,0,0.1)); }
.inline-product-info h4 { font-size: 1.3rem; margin-bottom: 10px; color: var(--primary-color); }
.inline-product-info p { font-size: 0.95rem; margin-bottom: 15px; line-height: 1.5; }
.inline-product-info ul { padding-left: 0 !important; list-style: none !important; margin-bottom: 15px !important; }
.inline-product-info ul li { font-size: 0.9rem !important; margin-bottom: 5px !important; display: flex; align-items: center; gap: 8px; }

.article-image { width: 100%; border-radius: 12px; margin: 25px 0; box-shadow: var(--shadow-sm); object-fit: cover; max-height: 400px; }

/* Mobile */
@media (max-width: 768px) {
  nav ul { display: none; flex-direction: column; position: absolute; top: var(--header-height); left: 0; width: 100%; background: #fff; box-shadow: var(--shadow-md); padding: 20px 0; text-align: center; gap: 0; }
  nav ul li { width: 100%; }
  nav ul li a { display: block; padding: 15px 20px; border-bottom: 1px solid #f0f0f0; }
  nav ul li:last-child a { border-bottom: none; }
  nav ul.active { display: flex; }
  .mobile-menu-toggle { display: block; }
  .news-header h1 { font-size: 2.2rem; }
  .news-header { padding: 110px 0 50px; }
  .article-wrapper { flex-direction: column; }
  article h2 { font-size: 1.8rem; }
  .product-card { padding: 30px 20px; gap: 30px; }
  .cta-button { padding: 14px 28px; width: 100%; max-width: 300px; margin: 0 auto; }
  
  .floating-cta { bottom: 15px; right: 15px; padding: 12px 20px; font-size: 0.95rem; }
  .scroll-popup { left: 10px; right: 10px; width: auto; bottom: -500px; }
  .scroll-popup.show { bottom: 90px; } /* Above sticky bar */
  .inline-product-card { flex-direction: column; text-align: center; }
  .inline-product-info ul li { justify-content: center; }
  
  .expert-section { padding: 25px 15px; }
  .sticky-bar { flex-direction: column; gap: 10px; text-align: center; padding: 15px; }
  .sticky-bar p { font-size: 0.95rem; }
  .sticky-bar span { display: block; margin-left: 0; margin-top: 5px; }
  .sticky-bar .cta-button { width: 100%; max-width: 250px; }
}
