/* ==========================================================================
   BENAGACHAGA.ES - Official Spanish Prelanding Style System
   Design: Modern Health & Bio-Pharma, Glassmorphism, Responsive Mobile-First
   ========================================================================== */

:root {
  /* Color Palette */
  --primary: #0f3d32;
  --primary-dark: #09261f;
  --primary-light: #165b4b;
  
  /* Brand Accent Color - Golden Amber from Chaga Box */
  --brand-chaga: #c67d28;

  /* CTA Accent Color - High Contrast Royal Bio-Blue */
  --accent: #2563eb;
  --accent-hover: #1d4ed8;
  --accent-light: #dbeafe;
  
  --bg-main: #f8faf9;
  --bg-card: #ffffff;
  --bg-alt: #f0f4f2;
  --text-main: #1f2937;
  --text-muted: #4b5563;
  --text-light: #9ca3af;
  --border-color: #e5e7eb;
  --success: #059669;
  --danger: #dc2626;
  
  /* Gradients */
  --grad-primary: linear-gradient(135deg, #0f3d32 0%, #061c17 100%);
  --grad-accent: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  --grad-hero: linear-gradient(135deg, #edf7f4 0%, #f8faf9 100%);
  --grad-card: linear-gradient(180deg, #ffffff 0%, #f9fafb 100%);

  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.12);
  --shadow-glow: 0 8px 25px rgba(37, 99, 235, 0.4);

  /* Typography */
  --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  
  /* Layout Radius */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-full: 9999px;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Top Urgency / Announcement Bar */
.top-bar {
  background: var(--grad-primary);
  color: #ffffff;
  font-size: 0.875rem;
  padding: 8px 16px;
  text-align: center;
  font-weight: 500;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-sm);
}

.top-bar .badge-live {
  background: rgba(239, 68, 68, 0.9);
  color: white;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.85; transform: scale(1.05); }
  100% { opacity: 1; transform: scale(1); }
}

/* Header Navbar */
.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--border-color);
  padding: 10px 24px;
}

.navbar-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 48px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.5px;
}

.brand-title span {
  color: var(--brand-chaga);
}

.brand-tag {
  background: var(--bg-alt);
  color: var(--primary-light);
  font-size: 0.75rem;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  font-weight: 600;
}

.nav-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--primary);
}

.btn-header-cta {
  background: var(--grad-accent);
  color: white;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: -0.2px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-header-cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

/* Layout Containers */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Section Padding */
.section {
  padding: 60px 0;
}

.section-alt {
  background-color: var(--bg-alt);
}

/* Hero Section */
.hero {
  background: var(--grad-hero);
  padding: 30px 0 35px;
  border-bottom: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 30px;
  align-items: flex-start;
}

.hero-content {
  padding-top: 0;
}

.hero-headline {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1.25;
  margin-bottom: 10px;
}

.hero-headline span {
  color: var(--brand-chaga);
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.hero-highlights {
  list-style: none;
  margin-bottom: 16px;
}

.hero-highlights li {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-highlights li i {
  color: var(--success);
  font-size: 1.1rem;
}

@keyframes ctaPulse {
  0% {
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.4), 0 0 0 0 rgba(37, 99, 235, 0.4);
  }
  50% {
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.65), 0 0 0 12px rgba(37, 99, 235, 0);
  }
  100% {
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.4), 0 0 0 0 rgba(37, 99, 235, 0);
  }
}

.btn-primary-cta {
  background: var(--grad-accent);
  color: white;
  font-size: 1.05rem;
  font-weight: 600;
  padding: 14px 30px;
  border-radius: var(--radius-full);
  text-align: center;
  display: inline-block;
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.35);
  transition: all 0.3s ease;
  width: auto;
  text-transform: none;
  letter-spacing: -0.2px;
  border: none;
  cursor: pointer;
  -webkit-font-smoothing: antialiased;
  animation: ctaPulse 2.5s infinite ease-in-out;
}

.btn-primary-cta:hover {
  animation-play-state: paused;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.55);
}

/* Trust Signals Bar Component */
.trust-signals-bar {
  display: inline-flex;
  flex-direction: column;
  gap: 12px;
  justify-content: center;
  align-items: flex-start;
  margin: 22px auto 0;
  max-width: 420px;
  background: rgba(255, 255, 255, 0.95);
  padding: 16px 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  text-align: left;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-main);
}

.trust-item svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  stroke: var(--brand-chaga);
}

.trust-item strong {
  color: var(--primary-dark);
}

.order-banner-card .trust-signals-bar {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: white;
  margin: 22px auto 0;
  max-width: 420px;
}

.order-banner-card .trust-item {
  color: rgba(255, 255, 255, 0.95);
}

.order-banner-card .trust-item svg {
  stroke: #fef08a;
}

.order-banner-card .trust-item strong {
  color: #fef08a;
}

.hero-image-wrapper {
  position: relative;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  margin-top: 0;
}

.hero-image-wrapper img {
  width: 100%;
  max-width: 440px;
  max-height: 440px;
  object-fit: contain;
  margin: 0 auto;
  border: none;
  outline: none;
  box-shadow: none;
  transition: transform 0.3s ease;
}

.hero-image-wrapper img:hover {
  transform: scale(1.02);
}

.hero-floating-badge {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  padding: 12px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--border-color);
  white-space: nowrap;
  z-index: 2;
}

.hero-floating-badge .icon {
  font-size: 1.8rem;
}

.hero-floating-badge .text {
  text-align: left;
  font-size: 0.85rem;
  line-height: 1.2;
}

.hero-floating-badge .text strong {
  display: block;
  font-size: 0.95rem;
  color: var(--primary);
}

/* Section Headings */
.section-title {
  text-align: center;
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 12px;
  line-height: 1.25;
}

.section-subtitle {
  text-align: center;
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 760px;
  margin: 0 auto 45px;
}

/* Feature Cards Grid (6 Areas) */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.feature-card {
  background: white;
  padding: 28px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  position: relative;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.feature-icon {
  width: 54px;
  height: 54px;
  background: var(--bg-alt);
  color: var(--primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 18px;
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 10px;
}

.feature-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Science & PubMed Box */
.science-box {
  background: white;
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border-left: 6px solid var(--primary);
  margin-top: 50px;
}

.science-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.science-header h3 {
  font-size: 1.5rem;
  color: var(--primary-dark);
  font-weight: 800;
}

.pubmed-links-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.pubmed-item {
  background: var(--bg-alt);
  padding: 20px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.pubmed-item strong {
  display: block;
  font-size: 0.9rem;
  color: var(--primary-dark);
  margin-bottom: 4px;
}

.pubmed-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  line-height: 1.5;
}

.pubmed-link {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary-light);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: auto;
}

.pubmed-link:hover {
  text-decoration: underline;
}

/* Composition & Dosage Section */
.composition-card-box {
  background: white;
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}

.composition-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: center;
}

.composition-info {
  background: transparent;
  padding: 0;
  box-shadow: none;
  border: none;
}

.table-composition {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

.table-composition th, .table-composition td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.95rem;
}

.table-composition th {
  background: var(--bg-alt);
  color: var(--primary-dark);
  font-weight: 700;
}

.table-composition td strong {
  color: var(--primary);
}

.dosage-badge-box {
  background: var(--accent-light);
  border: 1px solid var(--accent);
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  margin-top: 20px;

}

.dosage-badge-box h4 {
  color: var(--accent-hover);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;

}

.dosage-badge-box p {
  font-size: 0.9rem;
  color: var(--text-main);

}

/* Where to Buy (Trust & Store Comparison) */
.comparison-container {
  background: white;
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 24px;
}

.comparison-table th, .comparison-table td {
  padding: 16px;
  text-align: center;
  border-bottom: 1px solid var(--border-color);
}

.comparison-table th {
  background: var(--bg-alt);
  font-size: 1rem;
  color: var(--primary-dark);
}

.comparison-table td:first-child {
  text-align: left;
  font-weight: 600;
}

.badge-check {
  color: var(--success);
  font-weight: 800;
  font-size: 1.2rem;
}

.badge-cross {
  color: var(--danger);
  font-weight: 800;
  font-size: 1.2rem;
}

.store-note {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 20px;
  text-align: center;
  font-style: italic;
}

/* Testimonials / Reviews Block */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.review-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--primary-light);
  color: white;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.author-info h4 {
  font-size: 1rem;
  color: var(--primary-dark);
  font-weight: 700;
}

.author-info span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.review-stars {
  color: #f59e0b;
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.review-text {
  font-size: 0.95rem;
  color: var(--text-main);
  line-height: 1.6;
  margin-bottom: 18px;
}

.review-img-box {
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-top: 10px;
}

.review-img-box img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.review-img-box img:hover {
  transform: scale(1.03);
}

/* FAQ Accordion */
.faq-accordion {
  max-width: 840px;
  margin: 40px auto 0;
}

.faq-item {
  background: white;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  margin-bottom: 14px;
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-question {
  width: 100%;
  padding: 18px 24px;
  text-align: left;
  background: none;
  border: none;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: inherit;
}

.faq-question::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--primary);
  font-weight: 400;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
  content: '−';
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 24px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 24px 20px;
}

/* Final Order Offer Banner */
.order-banner-card {
  background: var(--grad-primary);
  color: white;
  border-radius: var(--radius-lg);
  padding: 45px;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.order-banner-content {
  text-align: center;
}

.order-banner-content h2 {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}

.order-banner-content p {
  font-size: 1.05rem;
  opacity: 0.9;
  margin-bottom: 24px;
}

.timer-box {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(6px);
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.timer-digits {
  font-size: 1.6rem;
  font-weight: 800;
  color: #fef08a;
  letter-spacing: 1px;
}

.order-price-display {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 24px;
}

.order-price-display .old {
  font-size: 1.2rem;
  opacity: 0.6;
  text-decoration: line-through;
}

.order-price-display .current {
  font-size: 3rem;
  font-weight: 800;
  color: #fef08a;
}

/* Footer */
.footer {
  background: #0d2720;
  color: rgba(255, 255, 255, 0.7);
  padding: 40px 0 20px;
  font-size: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 30px;
}

.footer-col h5 {
  color: white;
  font-size: 1rem;
  margin-bottom: 14px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Sticky Bottom Bar for Mobile */
.sticky-mobile-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  padding: 12px 20px;
  box-shadow: 0 -4px 15px rgba(0,0,0,0.15);
  z-index: 9999;
  border-top: 1px solid var(--border-color);
}

.sticky-mobile-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.sticky-price {
  display: flex;
  flex-direction: column;
}

.sticky-price span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.sticky-price strong {
  font-size: 1.4rem;
  color: var(--primary);
  font-weight: 800;
  line-height: 1;
}

/* Responsive Media Queries */
@media (max-width: 992px) {
  .hero-grid, .composition-wrapper, .order-banner-card {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .nav-links {
    display: none;
  }

  .hero-headline {
    font-size: 2rem;
  }

  .order-banner-card {
    padding: 30px 20px;
  }
}

@media (max-width: 768px) {
  .sticky-mobile-cta {
    display: block;
  }
  
  body {
    padding-bottom: 70px;
  }

  .section {
    padding: 40px 0;
  }

  .comparison-table th, .comparison-table td {
    padding: 10px 6px;
    font-size: 0.85rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}
