/*
================================================================
  HAIR LA VIE - OFFICIAL WEBSITE STYLESHEET
================================================================
*/

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Inter:wght@300;400;500;600;700&display=swap');

/* Brand Design System Variables */
:root {
  --color-teal: #0ba6ab;
  --color-teal-hover: #098e92;
  --color-teal-light: #e6f6f7;
  --color-copper: #c87a53;
  --color-copper-hover: #b36741;
  --color-copper-light: #fdf5f1;
  --color-bg-warm: #FAF7F2;
  --color-bg-white: #ffffff;
  --color-text-dark: #222b2b;
  --color-text-muted: #626a6a;
  --color-border: #e3ded6;
  --color-border-light: #f0ede8;
  
  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Inter', sans-serif;
  
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 2px 8px rgba(34, 43, 43, 0.05);
  --shadow-md: 0 8px 24px rgba(34, 43, 43, 0.08);
  --shadow-lg: 0 16px 40px rgba(34, 43, 43, 0.12);
  --border-radius: 12px;
  --border-radius-lg: 20px;
}

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

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

body {
  font-family: var(--font-body);
  background-color: var(--color-bg-warm);
  color: var(--color-text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-text-dark);
}

h1 {
  font-size: 3.5rem;
  font-weight: 500;
}

h2 {
  font-size: 2.8rem;
  font-weight: 500;
  text-align: center;
  position: relative;
  margin-bottom: 3.5rem;
}

h2::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background-color: var(--color-teal);
}

h3 {
  font-size: 2rem;
  font-weight: 600;
}

h4 {
  font-size: 1.4rem;
  font-weight: 600;
}

p {
  color: var(--color-text-muted);
  font-size: 1rem;
  margin-bottom: 1.25rem;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-smooth);
}

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

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-padding {
  padding: 7rem 0;
}

.text-center {
  text-align: center;
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(250, 247, 242, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border-light);
  transition: var(--transition-smooth);
}

header.scrolled {
  padding: 0.5rem 0;
  box-shadow: var(--shadow-sm);
  background-color: rgba(250, 247, 242, 0.95);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  width: 240px;
  height: 60px;
}

.logo img {
  width: 100%;
  height: auto;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2.5rem;
}

.nav-link {
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-text-dark);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-teal);
  transition: var(--transition-smooth);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-cta {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: var(--color-teal);
  color: var(--color-bg-white) !important;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border-radius: 50px;
  box-shadow: var(--shadow-sm);
}

.nav-cta:hover {
  background-color: var(--color-teal-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Mobile Menu Button */
.hamburger {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--color-text-dark);
  margin: 5px 0;
  transition: var(--transition-smooth);
}

/* Primary buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.25rem;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: none;
}

.btn-primary {
  background-color: var(--color-teal);
  color: var(--color-bg-white);
  box-shadow: 0 4px 14px rgba(11, 166, 171, 0.3);
}

.btn-primary:hover {
  background-color: var(--color-teal-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(11, 166, 171, 0.4);
}

.btn-secondary {
  background-color: var(--color-bg-white);
  color: var(--color-text-dark);
  border: 1px solid var(--color-border);
}

.btn-secondary:hover {
  background-color: var(--color-teal-light);
  border-color: var(--color-teal);
  color: var(--color-teal);
  transform: translateY(-2px);
}

.btn-accent {
  background-color: var(--color-copper);
  color: var(--color-bg-white);
  box-shadow: 0 4px 14px rgba(200, 122, 83, 0.3);
}

.btn-accent:hover {
  background-color: var(--color-copper-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(200, 122, 83, 0.4);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 95vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  background-color: var(--color-bg-white);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.hero-content {
  z-index: 2;
}

.hero-tagline {
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--color-teal);
  margin-bottom: 1rem;
  display: inline-block;
}

.hero-content h1 {
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero-content p {
  font-size: 1.15rem;
  line-height: 1.7;
  margin-bottom: 2.5rem;
  color: var(--color-text-muted);
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
}

.hero-image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
}

.hero-image-bg {
  position: absolute;
  width: 120%;
  height: 120%;
  background-color: var(--color-teal-light);
  border-radius: 40% 60% 60% 40% / 40% 40% 60% 60%;
  z-index: -1;
  animation: blob-bounce 8s ease-in-out infinite alternate;
}

.hero-img {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  width: 90%;
  transform: rotate(-1deg);
  transition: var(--transition-smooth);
}

.hero-img:hover {
  transform: rotate(0) scale(1.02);
}

@keyframes blob-bounce {
  0% { border-radius: 40% 60% 60% 40% / 40% 40% 60% 60%; }
  100% { border-radius: 60% 40% 40% 60% / 60% 60% 40% 40%; }
}

/* Feature Spotlight Grid / Cards */
.intro-spotlight {
  background-color: var(--color-bg-warm);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.intro-text h3 {
  font-size: 2.4rem;
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

.intro-text .highlight-quote {
  font-size: 1.25rem;
  font-style: italic;
  font-family: var(--font-heading);
  color: var(--color-copper);
  border-left: 3px solid var(--color-copper);
  padding-left: 1.5rem;
  margin: 2rem 0;
  line-height: 1.5;
}

.badge-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.badge-item {
  text-align: center;
  padding: 1.5rem 1rem;
  background-color: var(--color-bg-white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border-light);
  transition: var(--transition-smooth);
}

.badge-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-teal);
}

.badge-icon {
  font-size: 2rem;
  color: var(--color-teal);
  margin-bottom: 0.5rem;
}

.badge-title {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Ingredients Section */
.ingredients-section {
  background-color: var(--color-bg-white);
}

.ingredients-intro {
  max-width: 700px;
  margin: 0 auto 4rem auto;
}

.ingredients-interactive {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
}

.ingredients-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.ingredient-card {
  background-color: var(--color-bg-warm);
  padding: 2rem;
  border-radius: var(--border-radius);
  border: 1px solid var(--color-border-light);
  cursor: pointer;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.ingredient-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background-color: var(--color-teal);
  transition: var(--transition-smooth);
}

.ingredient-card:hover, .ingredient-card.active {
  background-color: var(--color-bg-white);
  box-shadow: var(--shadow-md);
  border-color: var(--color-teal-light);
  transform: translateY(-3px);
}

.ingredient-card:hover::before, .ingredient-card.active::before {
  height: 100%;
}

.ingredient-card h4 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--color-text-dark);
  font-family: var(--font-body);
  font-weight: 600;
}

.ingredient-card p {
  font-size: 0.88rem;
  margin-bottom: 0;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ingredient-detail-pane {
  background-color: var(--color-bg-warm);
  border-radius: var(--border-radius-lg);
  padding: 3rem;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 120px;
}

.ingredient-detail-pane h3 {
  font-size: 2.2rem;
  color: var(--color-text-dark);
  margin-bottom: 1rem;
}

.ingredient-detail-role {
  display: inline-block;
  padding: 0.4rem 1rem;
  background-color: var(--color-teal-light);
  color: var(--color-teal);
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
}

.ingredient-detail-text {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.ingredient-detail-list {
  list-style: none;
  border-top: 1px solid var(--color-border);
  padding-top: 1.5rem;
}

.ingredient-detail-list li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
  color: var(--color-text-muted);
}

.ingredient-detail-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-teal);
  font-weight: bold;
}

/* Products Cards Grid */
.products-section {
  background-color: var(--color-bg-warm);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 4rem;
}

.product-card {
  background-color: var(--color-bg-white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border-light);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: var(--transition-smooth);
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.product-image-container {
  position: relative;
  background-color: var(--color-bg-warm);
  padding: 1.5rem;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-image-container img {
  width: 90%;
  height: auto;
  object-fit: contain;
  transition: var(--transition-smooth);
}

.product-card:hover .product-image-container img {
  transform: scale(1.05);
}

.product-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: var(--color-copper);
  color: var(--color-bg-white);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.4rem 0.8rem;
  border-radius: 50px;
  z-index: 2;
}

.product-info {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--color-text-dark);
}

.product-meta {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-teal);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.product-description {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 2rem;
  flex-grow: 1;
}

/* Amazon Brand Match: Teal base block for buy triggers */
.product-action-block {
  margin-top: auto;
  border-top: 1px solid var(--color-border-light);
  padding-top: 1.5rem;
}

.product-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
}

.product-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text-dark);
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: #f4c150;
  font-size: 0.85rem;
}

.product-rating span {
  color: var(--color-text-muted);
  font-size: 0.75rem;
  margin-left: 0.25rem;
}

.btn-shop-amazon {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: var(--color-teal);
  color: var(--color-bg-white) !important;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.8rem;
  padding: 0.9rem;
  border-radius: 50px;
  box-shadow: 0 4px 10px rgba(11, 166, 171, 0.2);
}

.btn-shop-amazon:hover {
  background-color: var(--color-teal-hover);
  box-shadow: 0 6px 15px rgba(11, 166, 171, 0.35);
  transform: translateY(-2px);
}

/* Shop All button wrapper */
.shop-all-wrapper {
  margin-top: 4rem;
}

/* How It Works (90-Day Timeline) */
.timeline-section {
  background-color: var(--color-bg-white);
}

.timeline-intro {
  max-width: 800px;
  margin: 0 auto 5rem auto;
}

.timeline-intro p {
  font-size: 1.15rem;
  line-height: 1.7;
}

.timeline-container {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

.timeline-container::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background-color: var(--color-border);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  margin-bottom: 6rem;
  width: 50%;
  padding: 0 3rem;
}

.timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
}

.timeline-item:nth-child(even) {
  left: 50%;
  text-align: left;
}

.timeline-badge {
  position: absolute;
  top: 0;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--color-teal);
  color: var(--color-bg-white);
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  box-shadow: var(--shadow-sm);
  border: 4px solid var(--color-bg-white);
}

.timeline-item:nth-child(odd) .timeline-badge {
  right: -30px;
}

.timeline-item:nth-child(even) .timeline-badge {
  left: -30px;
}

.timeline-content {
  background-color: var(--color-bg-warm);
  padding: 2.5rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border-light);
  transition: var(--transition-smooth);
}

.timeline-content:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--color-teal-light);
}

.timeline-title {
  font-size: 1.8rem;
  margin-bottom: 0.75rem;
  color: var(--color-text-dark);
}

.timeline-timeframe {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-copper);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.timeline-content p {
  font-size: 0.95rem;
  margin-bottom: 0;
  line-height: 1.6;
}

/* Callout Banner - 90 Days Promise */
.callout-banner {
  background-color: var(--color-teal);
  color: var(--color-bg-white);
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius-lg);
  padding: 5rem 4rem;
  margin-top: 5rem;
}

.callout-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.callout-content h3 {
  color: var(--color-bg-white);
  font-size: 2.4rem;
  margin-bottom: 1rem;
}

.callout-content p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.1rem;
  margin-bottom: 0;
}

.callout-action {
  text-align: right;
}

.callout-action .btn {
  background-color: var(--color-bg-white);
  color: var(--color-teal) !important;
}

.callout-action .btn:hover {
  background-color: var(--color-teal-light);
  transform: translateY(-2px);
}

.callout-decor {
  position: absolute;
  right: -50px;
  bottom: -50px;
  width: 300px;
  height: 300px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  z-index: 1;
}

/* Testimonials / Before & After Section */
.testimonials-section {
  background-color: var(--color-bg-warm);
}

.before-after-hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 6rem;
}

.before-after-img-container {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
}

.before-after-text-container h3 {
  font-size: 2.4rem;
  margin-bottom: 1.5rem;
}

.before-after-text-container p {
  font-size: 1.1rem;
  line-height: 1.7;
}

.testimonial-carousel-container {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-slide {
  min-width: 100%;
  padding: 1rem;
}

.testimonial-card {
  background-color: var(--color-bg-white);
  padding: 4rem 3rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border-light);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 15px;
  left: 30px;
  font-family: var(--font-heading);
  font-size: 8rem;
  line-height: 1;
  color: var(--color-teal-light);
  z-index: 1;
}

.testimonial-quote {
  position: relative;
  z-index: 2;
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-style: italic;
  line-height: 1.5;
  color: var(--color-text-dark);
  margin-bottom: 2rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.author-info h5 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.author-info p {
  font-size: 0.8rem;
  color: var(--color-teal);
  margin-bottom: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.verified-buyer-badge {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #2e7d32;
  background-color: #e8f5e9;
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
}

.testimonial-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.control-btn {
  background-color: var(--color-bg-white);
  border: 1px solid var(--color-border);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.control-btn:hover {
  background-color: var(--color-teal);
  color: var(--color-bg-white);
  border-color: var(--color-teal);
}

.carousel-dots {
  display: flex;
  gap: 0.5rem;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-border);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.dot.active {
  width: 24px;
  border-radius: 4px;
  background-color: var(--color-teal);
}

/* FAQ Accordion Section */
.faq-section {
  background-color: var(--color-bg-white);
}

.faq-intro {
  max-width: 700px;
  margin: 0 auto 4rem auto;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  text-align: left;
  padding: 0.5rem 0;
  cursor: pointer;
}

.faq-question h4 {
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-text-dark);
  transition: var(--transition-smooth);
}

.faq-icon {
  position: relative;
  width: 16px;
  height: 16px;
}

.faq-icon::before, .faq-icon::after {
  content: '';
  position: absolute;
  background-color: var(--color-text-dark);
  transition: var(--transition-smooth);
}

.faq-icon::before {
  top: 7px;
  left: 0;
  width: 16px;
  height: 2px;
}

.faq-icon::after {
  top: 0;
  left: 7px;
  width: 2px;
  height: 16px;
}

.faq-item.active .faq-question h4 {
  color: var(--color-teal);
}

.faq-item.active .faq-icon::after {
  transform: rotate(90deg);
  opacity: 0;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
}

.faq-answer p {
  padding-top: 1rem;
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 0;
}

.faq-item.active .faq-answer {
  max-height: 1000px;
  transition: max-height 0.5s cubic-bezier(1, 0, 1, 0);
}

.faq-footer {
  text-align: center;
  margin-top: 4rem;
}

/* Brand Promise Subsections (About / Ingredients pages) */
.promise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.promise-card {
  background-color: var(--color-bg-white);
  padding: 3rem 2rem;
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--color-border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

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

.promise-icon-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--color-teal-light);
  color: var(--color-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.promise-card h4 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.promise-card p {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 0;
}

/* Footer Section */
footer {
  background-color: var(--color-text-dark);
  color: var(--color-bg-white);
  padding: 5rem 0 2rem 0;
  border-top: 4px solid var(--color-teal);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-brand .logo {
  margin-bottom: 1.5rem;
  filter: brightness(0) invert(1);
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.footer-socials {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  transition: var(--transition-smooth);
}

.social-link:hover {
  background-color: var(--color-teal);
  color: var(--color-bg-white);
}

.footer-heading {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1.5rem;
  color: var(--color-bg-white);
}

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

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--color-teal);
  padding-left: 5px;
}

.footer-newsletter p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.newsletter-form {
  display: flex;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 0.5rem;
}

.newsletter-input {
  background: none;
  border: none;
  color: var(--color-bg-white);
  padding: 0.5rem;
  font-size: 0.9rem;
  flex-grow: 1;
  outline: none;
}

.newsletter-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.newsletter-btn {
  background: none;
  border: none;
  color: var(--color-teal);
  cursor: pointer;
  padding: 0.5rem;
  font-weight: bold;
  transition: var(--transition-smooth);
}

.newsletter-btn:hover {
  color: var(--color-bg-white);
  transform: translateX(3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8rem;
  margin-bottom: 0;
}

.footer-legal-links {
  display: flex;
  gap: 2rem;
}

.footer-legal-links a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8rem;
}

.footer-legal-links a:hover {
  color: var(--color-teal);
}

/* Animations Scroll Reveal Class */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* RESPONSIVE DESIGN */
@media (max-width: 1024px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2.3rem; }
  
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }
  
  /* Mobile Nav active */
  header.nav-active .nav-menu {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: var(--color-bg-warm);
    padding: 2rem;
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
    gap: 1.5rem;
    align-items: center;
    z-index: 999;
  }
  
  .hamburger {
    display: block;
  }
  
  header.nav-active .hamburger span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  header.nav-active .hamburger span:nth-child(2) {
    opacity: 0;
  }
  
  header.nav-active .hamburger span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
  
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .hero-content {
    text-align: center;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .intro-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .badge-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .ingredients-interactive {
    grid-template-columns: 1fr;
  }
  
  .ingredient-detail-pane {
    position: relative;
    top: 0;
  }
  
  .timeline-container::before {
    left: 30px;
  }
  
  .timeline-item {
    width: 100%;
    padding-left: 5rem;
    padding-right: 0;
    text-align: left !important;
  }
  
  .timeline-badge {
    left: 0 !important;
    right: auto !important;
  }
  
  .timeline-item:nth-child(even) {
    left: 0;
  }
  
  .before-after-hero-split {
    grid-template-columns: 1fr;
  }
  
  .callout-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .callout-action {
    text-align: center;
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  h1 { font-size: 2.3rem; }
  h2 { font-size: 1.8rem; }
  
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-buttons .btn {
    width: 100%;
  }
  
  .products-grid {
    grid-template-columns: 1fr;
  }
  
  .badge-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}
