@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700;800&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --primary-green: #1A472A;
  --primary-green-rgb: 26, 71, 42;
  --accent-pink: #E91E63;
  --accent-orange: #FF5722;
  --accent-gold: #D4AF37;
  --bg-sand: #F9F5F1;
  --text-dark: #1A1A1A;
  --text-light: #F9F5F1;
  --glass-white: rgba(255, 255, 255, 0.1);
  --section-padding: 120px 8%;
  --transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

html {
  scroll-behavior: smooth;
}

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

h1, h2, h3, h4 {
  font-family: 'Outfit', sans-serif;
  letter-spacing: -0.02em;
}

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

ul {
  list-style: none;
}

/* Scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg-sand); }
::-webkit-scrollbar-thumb { background: var(--primary-green); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent-pink); }

/* Animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes float {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-30px) rotate(5deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

.reveal {
  opacity: 0;
}

.animate-in {
  animation: fadeInUp 1.2s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 25px 8%;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

header.scrolled {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(25px);
  padding: 12px 8%;
  box-shadow: 0 12px 40px rgba(0,0,0,0.06);
}

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

.logo img {
  height: 80px;
  transition: var(--transition);
}

header.scrolled .logo img {
  height: 60px;
}

.nav-links {
  display: flex;
  gap: 45px;
}

.nav-links a {
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dark);
}

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

/* Premium Buttons System */
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--primary-green);
  color: #fff;
  padding: 16px 36px;
  border-radius: 100px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(26, 71, 42, 0.15);
}

.cta-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: 0.5s;
}

.cta-btn:hover::before {
  left: 100%;
}

.cta-btn:hover {
  transform: translateY(-5px) scale(1.03);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

/* Specific Button Themes */
.cta-primary {
  background: linear-gradient(135deg, var(--accent-pink), #ff4d6d);
  box-shadow: 0 15px 30px rgba(233, 30, 99, 0.25);
}

.cta-primary:hover {
  box-shadow: 0 20px 45px rgba(233, 30, 99, 0.4);
}

.cta-outline {
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  color: #fff;
}

.cta-outline:hover {
  background: #fff;
  color: var(--primary-green);
  border-color: #fff;
}

.cta-dark-outline {
  background: transparent;
  border: 1.5px solid var(--primary-green);
  color: var(--primary-green);
}

.cta-dark-outline:hover {
  background: var(--primary-green);
  color: #fff;
}

/* Parallax Hero Structure */
#hero {
  height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #0d1a10;
}

.hero-container {
  width: 100%;
  padding: 0 8%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 50px;
  z-index: 20;
}

.hero-content {
  z-index: 30;
  text-shadow: 0 4px 60px rgba(0,0,0,0.8);
}

.hero-tagline {
  color: var(--accent-pink);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.4em;
  font-size: 0.9rem;
  margin-bottom: 25px;
  display: block;
}

.hero-content h1 {
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 1.0;
  color: #fff;
  margin-bottom: 30px;
  font-weight: 800;
}

.hero-content p {
  font-size: 1.15rem;
  max-width: 500px;
  margin-bottom: 40px;
  color: rgba(255,255,255,0.7);
  line-height: 1.8;
}

/* Enhanced Cinematic Parallax System */
.parallax-layer {
  position: absolute;
  top: -5%; /* Over-sizing for safe parallax overflow */
  left: -5%;
  width: 110%;
  height: 110%;
  background-size: cover;
  background-position: center;
  pointer-events: none;
  transition: transform 0.15s cubic-bezier(0.2, 0, 0.2, 1); /* Inertial smoothing fallback */
  will-change: transform;
}

.layer-bg { 
  z-index: 1; 
  filter: brightness(0.8) blur(2px);
  transform: scale(1.05); /* Safe zone */
}

/* Middle Depth: Forest Assets */
.layer-mahua-fruits {
  z-index: 5;
  background-size: 50% !important;
  background-repeat: no-repeat;
  background-position: 85% 40%;
  filter: contrast(1.15) brightness(1.1) saturate(1.2) drop-shadow(0 20px 40px rgba(0,0,0,0.2));
  mask-image: radial-gradient(circle at 85% 40%, black 30%, rgba(0,0,0,0.8) 50%, transparent 85%);
  -webkit-mask-image: radial-gradient(circle at 85% 40%, black 30%, rgba(0,0,0,0.8) 50%, transparent 85%);
  animation: float-hero-slow 15s ease-in-out infinite;
}

/* Near Depth: Visual Ingredients */
.layer-ingredients {
  z-index: 12;
  background-size: 70% !important;
  background-repeat: no-repeat;
  background-position: 70% 65%;
  filter: contrast(1.2) brightness(1.15) saturate(1.3) drop-shadow(0 30px 60px rgba(0,0,0,0.3));
  mask-image: radial-gradient(circle at 70% 65%, black 40%, transparent 80%);
  -webkit-mask-image: radial-gradient(circle at 70% 65%, black 40%, transparent 80%);
  animation: float-hero-fast 12s ease-in-out infinite;
}

/* Focal Point: The Bottle */
.bottle-wrapper {
  z-index: 30;
  position: relative;
  animation: float-bottle 7s ease-in-out infinite;
}

.floating-bottle {
  width: 100%;
  max-width: 500px;
  filter: contrast(1.15) brightness(1.1) drop-shadow(0 80px 100px rgba(0,0,0,0.4));
  transition: transform 0.4s cubic-bezier(0.2, 0, 0.2, 1);
}

/* Independent Breathing Animations */
@keyframes float-hero-slow { 0%, 100% { transform: translate(0, 0) rotate(0.5deg); } 50% { transform: translate(-10px, 15px) rotate(-0.5deg); } }
@keyframes float-hero-fast { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(15px, -20px) scale(1.02); } }
@keyframes float-bottle { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-25px); } }

/* Luxury Entry Reveal System */
.hero-content .reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 1.2s cubic-bezier(0.2, 0, 0.2, 1);
}

.hero-content.animate-in .reveal {
  opacity: 1;
  transform: translateY(0);
}

.floating-bottle {
  width: 100%;
  max-width: 480px;
  mix-blend-mode: multiply;
  filter: contrast(1.1) brightness(1.05) drop-shadow(0 60px 100px rgba(0,0,0,0.3));
  display: block;
}

.hero-main-btn {
  background: #fff !important;
  color: var(--primary-green) !important;
  padding: 22px 48px !important;
  font-size: 1.15rem !important;
  border-radius: 100px !important;
}

.hero-main-btn:hover {
  background: var(--accent-pink) !important;
  color: #fff !important;
  transform: translateY(-8px) scale(1.05);
}

/* Benefit Icons Fix */
.benefit-icon i {
  display: inline-block;
}

/* Story */
#story {
  padding: var(--section-padding);
  background: white;
  display: flex;
  align-items: center;
  gap: 100px;
}

.story-img {
  flex: 1;
  border-radius: 40px;
  overflow: hidden;
  box-shadow: 0 50px 100px rgba(0,0,0,0.1);
}

.story-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 30px; /* Consistent spacing between all elements */
}

.story-content h2 {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  color: var(--primary-green);
  line-height: 1.1;
  margin: 0;
}

.story-content p {
  font-size: 1.15rem;
  color: #555;
  line-height: 1.8;
  margin: 0;
}

.section-label {
  color: var(--accent-pink);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 20px;
  display: block;
}

h2 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.1;
  margin-bottom: 30px;
  color: var(--primary-green);
}

/* Ingredients */
#ingredients {
  padding: var(--section-padding);
  background: var(--primary-green);
  color: white;
  text-align: center;
}

.ingredients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 50px;
  margin-top: 80px;
}

.ingredient-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 60px 45px;
  border-radius: 40px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition);
}

.ingredient-card:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-15px);
  border-color: var(--accent-gold);
}

/* Benefits */
#benefits {
  padding: var(--section-padding);
  background: var(--bg-sand);
}

.benefits-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 35px;
  margin-top: 60px;
}

.benefit-item {
  background: white;
  padding: 50px 40px;
  border-radius: 35px;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0,0,0,0.03);
  transition: var(--transition);
}

.benefit-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 40px 80px rgba(0,0,0,0.08);
}

.benefit-icon {
  font-size: 3.5rem;
  color: var(--accent-pink);
  margin-bottom: 25px;
}

/* Footer */
/* Premium Unified Footer */
footer {
  background: #0a1f12; /* Deeper Forest Green */
  color: rgba(255, 255, 255, 0.7);
  padding: 100px 8% 40px;
  position: relative;
  border-top: 4px solid var(--accent-pink);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr;
  gap: 80px;
  margin-bottom: 80px;
}

.footer-info p {
  line-height: 1.8;
  margin-bottom: 30px;
  font-size: 0.95rem;
}

.footer-links h4 {
  color: #fff;
  font-family: 'Outfit';
  text-transform: uppercase;
  margin-bottom: 30px;
  font-size: 0.9rem;
  letter-spacing: 0.15em;
}

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

.footer-links ul li a {
  font-size: 0.93rem;
  transition: var(--transition);
  color: rgba(255,255,255,0.6);
}

.footer-links ul li a:hover {
  color: var(--accent-pink);
  padding-left: 8px;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-icon {
  width: 42px;
  height: 42px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: var(--transition);
  border: 1px solid rgba(255,255,255,0.1);
  font-size: 1.1rem;
}

.social-icon:hover {
  background: var(--accent-pink);
  transform: translateY(-5px);
  border-color: var(--accent-pink);
  box-shadow: 0 10px 20px rgba(233, 30, 99, 0.3);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

.designed-by {
  font-weight: 700;
  color: #fff;
  transition: var(--transition);
}

.designed-by:hover {
  color: var(--accent-pink);
}

/* Process Section */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

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

.step-num {
  font-family: 'Outfit';
  font-size: 4rem;
  font-weight: 800;
  color: rgba(26, 71, 42, 0.05);
  margin-bottom: -40px;
  position: relative;
  z-index: 1;
}

.process-step img, .step-placeholder-img {
  width: 100%;
  border-radius: 40px;
  margin-bottom: 30px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.08);
  transition: var(--transition);
}

.process-step:hover img {
  transform: translateY(-15px);
  box-shadow: 0 45px 90px rgba(0,0,0,0.12);
}

/* Nutrition Section */
.nutrition-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 80px;
}

.stat-card {
  background: white;
  padding: 30px;
  border-radius: 30px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

.stat-value {
  display: block;
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent-pink);
  font-family: 'Outfit';
  margin-bottom: 10px;
}

/* Founder Section */
.founder-section {
  display: flex;
  align-items: center;
  background: #fdfaf5;
  border-radius: 60px;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0,0,0,0.05);
}

.founder-img {
  flex: 1;
}

.founder-img img {
  width: 100%;
  height: 600px;
  object-fit: cover;
}

.founder-quote {
  flex: 1.2;
  padding: 80px;
}

.quote-text {
  font-size: 1.6rem;
  color: var(--primary-green);
  line-height: 1.6;
  font-style: italic;
  margin: 30px 0;
  font-family: 'Outfit';
}

/* Testimonial Section */
.testimonial-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.testi-card {
  background: rgba(255,255,255,0.05);
  padding: 50px;
  border-radius: 40px;
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
}

.testi-card p {
  font-size: 1.25rem;
  margin-bottom: 30px;
  line-height: 1.6;
}

@media (max-width: 1024px) {
  #hero { flex-direction: column; text-align: center; padding-top: 140px; }
  .hero-visual { justify-content: center; margin-top: 50px; }
  .hero-visual img { width: 80%; }
  #story { flex-direction: column; gap: 60px; }
  .footer-top { grid-template-columns: 1fr; gap: 60px; }
  .nav-links { display: none; }
}

/* Ingredient Gallery V2 */
.ingredient-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.ingredient-card-v2 {
  background: white;
  border-radius: 40px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.05);
  transition: var(--transition);
}

.ingredient-card-v2:hover {
  transform: translateY(-15px);
  box-shadow: 0 40px 80px rgba(0,0,0,0.1);
}

.ingredient-card-v2 .img-wrapper {
  height: 300px;
  overflow: hidden;
}

.ingredient-card-v2 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.ingredient-card-v2:hover img {
  transform: scale(1.1);
}

.card-info {
  padding: 30px;
  text-align: left;
}

.card-info h3 {
  color: var(--primary-green);
  margin-bottom: 15px;
  font-size: 1.5rem;
}

.card-info p {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Advanced Nutrition Table */
.table-wrapper-glass {
  background: white;
  border-radius: 30px;
  padding: 40px;
  box-shadow: 0 40px 100px rgba(0,0,0,0.05);
  max-width: 1100px; /* Wider for full data */
  margin: 0 auto;
  overflow-x: auto; /* Enable scroll for desktop if needed */
}

.nutri-table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  min-width: 800px; /* Ensure columns don't squish too much */
}

.nutri-table th {
  text-align: left;
  padding: 15px 20px;
  border-bottom: 2px solid var(--primary-green);
  color: var(--primary-green);
  text-transform: uppercase;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  background: #fdfaf5;
}

.nutri-table td {
  padding: 18px 20px;
  border-bottom: 1px solid rgba(0,0,0,0.04);
  color: #555;
  transition: all 0.3s ease;
}

.nutri-table tr:nth-child(even) {
  background: rgba(26, 71, 42, 0.01);
}

.nutri-table tr:hover td {
  background: rgba(26, 71, 42, 0.04);
  color: var(--primary-green);
}

.method-col {
  font-family: monospace;
  font-size: 0.75rem;
  opacity: 0.6;
}

.result-col {
  font-weight: 800;
  color: var(--primary-green) !important;
  background: rgba(26, 71, 42, 0.04);
  font-size: 1rem;
}

/* Scroll indicator hint */
.table-wrapper-glass::after {
  content: '← Scroll for full lab data →';
  display: block;
  text-align: center;
  font-size: 0.7rem;
  opacity: 0.4;
  margin-top: 20px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

@media (min-width: 1100px) {
  .table-wrapper-glass::after { display: none; }
}

@media (max-width: 1100px) {
  .ingredient-gallery {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .ingredient-gallery {
    grid-template-columns: 1fr;
  }
  .table-wrapper-glass {
    padding: 20px;
  }
}
