/* ==========================================================================
   SOUTH BEACH COLLAGEN FILLER SERUM - ADVANCED STYLESHEET
   Theme: Dhudiya (Milky/Off-White), Luxury Slate Blue, and Soft Tan/Gold
   Based on High-Conversion & SEO Optimized Template
   ========================================================================== */

/* ===== GLOBAL RESETS ===== */
*, *::before, *::after { 
  box-sizing: border-box; 
  margin: 0; 
  padding: 0; 
}

:root {
  /* === BRAND COLORS (Luxury Skincare Theme) === */
  --brand-primary:   #2E4053; /* Dark Slate Blue - Authority & Trust */
  --brand-secondary: #D4A373; /* Soft Gold/Tan - Luxury & Warmth */
  --brand-accent:    #A98B73; /* Muted Brown for softer borders/accents */
  --brand-yellow:    #E6A822; /* Golden Yellow for Stars */
  --brand-green:     #28A745; /* Verified / Checkmark Green */
  --white:           #FFFFFF;
  --bg-light:        #FDFBF9; /* Dhudiya / Milky Off-White Background */
  --bg-dark:         #1A1A1A; /* Deep Dark for Footer */
  --text-main:       #2C2C2C; /* Strong Dark Grey for headings */
  --text-muted:      #555555; /* Softer text for paragraphs */
  --border-color:    #EAEAEA; /* Clean soft border */
  
  /* Shadows */
  --shadow-sm:       0 2px 10px rgba(0, 0, 0, 0.04);
  --shadow-md:       0 4px 15px rgba(0, 0, 0, 0.08);
  --shadow-lg:       0 10px 30px rgba(0, 0, 0, 0.12);

  /* === OPTIMIZED TYPOGRAPHY SCALES === */
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Lato', sans-serif;
  --lh-body: 1.8;
}

html { 
  scroll-behavior: smooth; 
}

body {
  font-family: var(--font-body);
  color: var(--text-muted);
  background: var(--bg-light);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-main);
  line-height: 1.3;
}

a {
  text-decoration: none;
  transition: all 0.3s ease;
}

/* ===== NAVIGATION ===== */
.main-navigation {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--white);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.nav-links li a:hover {
  color: var(--brand-secondary) !important;
}

.btn-nav:hover {
  background-color: var(--brand-primary) !important;
  color: var(--white) !important;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ===== BUTTONS & CTA ===== */
.btn-cta-main, .btn-cta-secondary, .btn-cta-bar {
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  display: inline-block;
}

.btn-cta-main:hover {
  background-color: #1F2B38 !important; /* Darker Slate */
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(46, 64, 83, 0.4) !important;
}

.btn-cta-secondary:hover {
  background-color: #B88A5C !important; /* Darker Gold/Tan */
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(212, 163, 115, 0.4) !important;
}

/* ===== GRIDS & CARDS (Hover Effects) ===== */
.timeline-card, .why-card, .ingredient-card, .review-card {
  transition: all 0.4s ease;
}

.timeline-card:hover, .ingredient-card:hover, .review-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg) !important;
  border-color: var(--brand-secondary);
}

.ingredient-card img {
  transition: transform 0.5s ease;
}

.ingredient-card:hover img {
  transform: scale(1.1);
}

/* ===== HERO SECTION ANIMATIONS ===== */
.hero-img img {
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}

/* ===== FAQ ACCORDION ===== */
.faq-item {
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: var(--brand-secondary) !important;
  box-shadow: var(--shadow-sm);
}

.faq-q:hover {
  color: var(--brand-secondary) !important;
}

/* ===== BOTTOM STICKY CTA BAR ===== */
.bottom-cta-bar {
  border-top: 4px solid var(--brand-secondary) !important;
}

@keyframes pulse { 
  0% { transform: scale(1); opacity: 1; } 
  50% { transform: scale(1.2); opacity: 0.8; } 
  100% { transform: scale(1); opacity: 1; } 
}
.cta-pulse {
  animation: pulse 2s infinite;
  display: inline-block;
}

/* ===== RESPONSIVE DESIGN (MOBILE & TABLET) ===== */
@media (max-width: 1024px) {
  .hero-grid {
    flex-direction: column;
    text-align: center;
  }
  
  .hero-content {
    order: 2;
  }
  
  .hero-img {
    order: 1;
    margin-bottom: 30px;
  }
  
  .benefits-text, .benefits-image, .guarantee-badge, .guarantee-text {
    flex: 100% !important;
    text-align: center;
  }
  
  .benefits-text ul {
    grid-template-columns: 1fr !important; /* Stack list items on mobile */
    text-align: left;
    margin: 0 auto;
    max-width: 300px;
  }
  
  .nav-links {
    display: none !important; /* Hide standard links on mobile for cleaner look */
  }
  
  .nav-inner {
    justify-content: center !important;
    flex-direction: column;
    gap: 15px;
    padding: 20px !important;
  }
}

@media (max-width: 768px) {
  h1 { font-size: 2.2rem !important; }
  h2 { font-size: 1.8rem !important; }
  
  .content-section {
    padding: 50px 5% !important;
  }
  
  .timeline-grid, .why-grid, .ingredients-grid, .reviews-grid {
    grid-template-columns: 1fr !important;
  }
  
  .cookie-banner {
    flex-direction: column !important;
    text-align: center !important;
    gap: 15px !important;
    bottom: 90px !important; /* Keep above sticky CTA */
  }
  
  .cta-bar-content {
    flex-direction: column;
    gap: 10px !important;
  }
}