/* ==========================================================================
   STATIKA V7 - PREMIUM DESIGN SYSTEM
   ========================================================================== */

:root {
  --font-heading: 'Fraunces', serif;
  --font-body: 'DM Sans', sans-serif;

  /* Color Palette */
  --color-bg: #FAF9F6; /* Premium off-white */
  --color-text: #1A1A1A; /* Stark black for contrast */
  --color-text-light: #5A5A5A;
  
  /* Brand Accents */
  --color-accent-dark: #000000;
  --color-accent-light: #FFFFFF;

  /* Flavor Colors */
  --flavor-cherry: #E63946;
  --flavor-blue: #1D4ED8;
  --flavor-mango: #F59E0B;
  --flavor-lime: #84CC16;
  --flavor-grape: #7C3AED;
  --flavor-peach: #F472B6;
  --flavor-black: #171717;
  --flavor-watermelon: #EC4899;

  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-premium: 0 20px 40px rgba(0,0,0,0.08);
}

/* ==========================================================================
   RESET & BASE
   ========================================================================== */
* { box-sizing: border-box; margin: 0; padding: 0; }

body, html {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; outline: none; }

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0; left: 0; width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 3rem;
  z-index: 100;
  transition: var(--transition-smooth);
}

.navbar.scrolled {
  background: rgba(250, 249, 246, 0.9);
  backdrop-filter: blur(10px);
  padding: 1rem 3rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.nav-left, .nav-right {
  flex: 1;
}

.nav-right {
  display: flex;
  justify-content: flex-end;
}

.nav-center {
  flex: 2;
  display: flex;
  justify-content: center;
}

.nav-logo {
  height: 100px;
  object-fit: contain;
  transition: var(--transition-smooth);
}
.navbar.scrolled .nav-logo {
  height: 60px;
}

.nav-links {
  display: flex;
  gap: 3rem;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  align-items: center;
}

.nav-links a {
  position: relative;
  transition: var(--transition-smooth);
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px;
  background: var(--color-text); transition: var(--transition-smooth);
}
.nav-links a:hover::after { width: 100%; }

.btn-primary {
  background: var(--color-accent-dark);
  color: var(--color-accent-light);
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.9rem;
  transition: var(--transition-smooth);
  white-space: nowrap;
}
.btn-primary:hover {
  background: #333;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

/* ==========================================================================
   HERO SECTION (GULP INSPIRED)
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  padding-top: 140px;
  background: radial-gradient(circle at top, #DBF4FF 0%, #A5D8FF 50%, #74C0FC 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: url('data:image/svg+xml,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)" opacity="0.05"/%3E%3C/svg%3E');
  pointer-events: none;
  z-index: 1;
}

.hero-text {
  text-align: center;
  z-index: 3;
  margin-top: 2rem;
  padding: 0 2rem;
  opacity: 0; /* For GSAP */
  transform: translateY(30px); /* For GSAP */
}

.hero-text h1 {
  font-size: clamp(3.5rem, 8vw, 7rem);
  color: var(--color-accent-dark);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  text-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.hero-text p {
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 700;
  color: #1A365D;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 2rem;
}

.hero-cans-container {
  position: relative;
  flex-grow: 1;
  width: 100%;
  max-width: 1200px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  z-index: 2;
  margin-top: 2rem;
}

@keyframes float1 { 0%, 100% { transform: rotate(-15deg) translateY(20px); } 50% { transform: rotate(-13deg) translateY(0px); } }
@keyframes float2 { 0%, 100% { transform: translateY(-40px); } 50% { transform: translateY(-20px); } }
@keyframes float3 { 0%, 100% { transform: rotate(15deg) translateY(20px); } 50% { transform: rotate(13deg) translateY(0px); } }

.hero-can {
  width: 28%;
  max-width: 350px;
  object-fit: contain;
  filter: drop-shadow(0 40px 50px rgba(0,0,0,0.4));
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s;
  opacity: 0; /* For GSAP */
}

.hero-can.animated:nth-child(1) { animation: float1 6s ease-in-out infinite; z-index: 2; }
.hero-can.animated:nth-child(2) { animation: float2 5s ease-in-out infinite; z-index: 3; width: 32%; }
.hero-can.animated:nth-child(3) { animation: float3 7s ease-in-out infinite; z-index: 1; }

.hero-cans-container:hover .hero-can.animated { animation-play-state: paused; }
.hero-cans-container:hover .hero-can:nth-child(1) { transform: rotate(-25deg) translateY(10px) translateX(-40px) scale(1.05); filter: drop-shadow(0 50px 60px rgba(0,0,0,0.5)); z-index: 4; }
.hero-cans-container:hover .hero-can:nth-child(2) { transform: translateY(-70px) scale(1.1); filter: drop-shadow(0 60px 70px rgba(0,0,0,0.6)); z-index: 5; }
.hero-cans-container:hover .hero-can:nth-child(3) { transform: rotate(25deg) translateY(10px) translateX(40px) scale(1.05); filter: drop-shadow(0 50px 60px rgba(0,0,0,0.5)); z-index: 4; }


/* The wavy bottom divider */
.hero-wave {
  position: absolute;
  bottom: 0; left: 0; width: 100%;
  line-height: 0;
  z-index: 4;
}
.hero-wave svg {
  display: block; width: 100%; height: auto;
}

/* ==========================================================================
   INTERACTIVE PRODUCT GRID
   ========================================================================== */
.section-flavors {
  padding: 8rem 0;
  background: var(--color-bg);
}

.section-header {
  text-align: center;
  margin-bottom: 5rem;
}

.section-header h2 {
  font-size: clamp(3rem, 5vw, 4.5rem);
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.25rem;
  color: var(--color-text-light);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.product-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transition: var(--transition-smooth);
  background: #FFF;
  aspect-ratio: 3/4;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
}

.product-card::before {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background: var(--card-bg); opacity: 0.15; transition: var(--transition-smooth); z-index: 0;
}

.product-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-premium); }
.product-card:hover::before { opacity: 0.25; }

.product-card img {
  height: 60%;
  object-fit: contain;
  z-index: 1;
  filter: drop-shadow(0 20px 20px rgba(0,0,0,0.2));
  transition: var(--transition-smooth);
}
.product-card:hover img { transform: scale(1.05) rotate(5deg); }

.product-card-content {
  z-index: 1;
  text-align: center;
  margin-top: 2rem;
}

.product-card-title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--color-text);
  margin-bottom: 0.5rem;
}

.product-card-action {
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  color: var(--color-text);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* ==========================================================================
   PRODUCT MODAL (DRAWER/POPUP)
   ========================================================================== */
.modal-overlay {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(8px);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.modal-overlay.active { opacity: 1; pointer-events: auto; }

.modal-content {
  position: fixed; top: 50%; left: 50%; transform: translate(-50%, -45%) scale(0.95);
  width: 90%; max-width: 1000px; height: 85vh;
  background: var(--color-bg);
  border-radius: 32px;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,0.3);
}
.modal-overlay.active + .modal-content {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1; pointer-events: auto;
}

.modal-close {
  position: absolute; top: 2rem; right: 2rem;
  background: rgba(0,0,0,0.05); width: 48px; height: 48px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; cursor: pointer; z-index: 10; transition: var(--transition-smooth);
}
.modal-close:hover { background: rgba(0,0,0,0.1); transform: rotate(90deg); }

.modal-left {
  width: 45%;
  position: relative;
  display: flex; align-items: center; justify-content: center;
  padding: 3rem;
}
.modal-left-bg {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background: var(--active-color); opacity: 0.15; z-index: 0; transition: background 0.4s;
}
.modal-left img {
  height: 80%; object-fit: contain; z-index: 1; filter: drop-shadow(0 30px 40px rgba(0,0,0,0.3));
}

.modal-right {
  width: 55%;
  padding: 4rem;
  overflow-y: auto;
}

.modal-badge {
  display: inline-block; padding: 0.4rem 1rem; border-radius: 50px;
  background: var(--active-color); color: #FFF; font-weight: 700; font-size: 0.8rem;
  text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1.5rem;
}

.modal-title { font-size: 3.5rem; line-height: 1; margin-bottom: 0.5rem; }
.modal-spec { font-weight: 700; color: var(--color-text-light); text-transform: uppercase; letter-spacing: 0.05em; font-size: 0.9rem; margin-bottom: 2rem; display: block; }

.modal-desc { font-size: 1.25rem; font-weight: 500; margin-bottom: 3rem; line-height: 1.5; }

.modal-details-group { margin-bottom: 2rem; }
.modal-details-group h4 { font-family: var(--font-body); text-transform: uppercase; font-size: 0.85rem; letter-spacing: 0.1em; margin-bottom: 0.5rem; color: var(--color-text-light); }
.modal-details-group p { font-size: 1rem; line-height: 1.6; }

/* ==========================================================================
   CREATIVE STORY SECTION (MANA INSPIRED)
   ========================================================================== */
.section-story { padding: 8rem 0; background: #FFF; }
.story-mana-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
}

.story-left {
  width: 50%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.story-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #FFEAEE;
  color: var(--flavor-cherry);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  margin-bottom: 2rem;
}

.story-quote {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.2;
  color: var(--color-text);
  margin-bottom: 3rem;
}

.story-founder {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.founder-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--flavor-lime);
  color: #FFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.5rem;
}

.founder-info strong {
  display: block;
  font-size: 1.1rem;
  color: var(--color-text);
}

.founder-info span {
  font-size: 0.9rem;
  color: var(--color-text-light);
}

.story-right {
  width: 50%;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.story-img-main {
  width: 80%;
  border-radius: 24px;
  box-shadow: var(--shadow-premium);
  z-index: 1;
}

.story-img-float {
  position: absolute;
  width: 40%;
  bottom: -20px;
  left: -20px;
  z-index: 2;
  filter: drop-shadow(0 20px 30px rgba(0,0,0,0.3));
  transform: rotate(-15deg);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background: #FFFFFF;
  color: var(--color-text);
  padding: 6rem 0 2rem;
  text-align: center;
}
.footer-logo-img {
  height: 100px;
  margin: 0 auto 3rem;
  display: block;
  object-fit: contain;
}
.footer-links {
  display: flex; justify-content: center; gap: 3rem; margin-bottom: 3rem;
  text-transform: uppercase; font-weight: 700; letter-spacing: 0.1em; font-size: 0.9rem;
}
.footer-links a:hover { color: var(--flavor-cherry); }
.footer-info {
  margin-bottom: 3rem;
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.8;
}
.footer-info a { color: var(--color-text); font-weight: bold; }
.footer-bottom { font-size: 0.85rem; color: #999; }

/* Responsive adjustments */
@media (max-width: 992px) {
  .hero-cans-container { align-items: center; }
  .hero-can { width: 60%; position: absolute; }
  .hero-can:nth-child(1) { transform: translate(-30%, -10%); z-index: 1; opacity: 0.7; }
  .hero-can:nth-child(3) { transform: translate(30%, -10%); z-index: 1; opacity: 0.7; }
  .hero-can:nth-child(2) { position: relative; width: 45%; z-index: 3; }
  
  .story-mana-container { flex-direction: column; text-align: center; }
  .story-left { width: 100%; align-items: center; }
  .story-right { width: 100%; margin-top: 3rem; }
  
  .bento-grid { grid-template-columns: 1fr; }
  .bento-large, .bento-tall, .bento-wide { grid-column: span 1; grid-row: span 1; }

  .modal-content { flex-direction: column; height: 95vh; overflow-y: auto; }
  .modal-left { width: 100%; padding: 2rem; height: 35vh; }
  .modal-right { width: 100%; padding: 2rem; }
}
/* ==========================================================================
   BENTO BENEFITS SECTION
   ========================================================================== */
.section-benefits { padding: 4rem 0 8rem; background: var(--color-bg); }
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(300px, auto);
  gap: 1.5rem;
}

.bento-card {
  border-radius: 32px;
  overflow: hidden;
  position: relative;
  background: #FFF;
  padding: 3rem;
  display: flex; flex-direction: column; justify-content: center;
}

.bento-large { grid-column: span 2; grid-row: span 2; }
.bento-wide { grid-column: span 2; }
.bento-tall { grid-row: span 2; }
.bento-image { padding: 0; }
.bento-image img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition-smooth); }
.bento-card:hover .bento-image img { transform: scale(1.05); }

.bento-card h3 { font-size: 2.5rem; margin-bottom: 1rem; font-family: var(--font-heading); }
.bento-card p { font-size: 1.1rem; color: var(--color-text-light); }

/* ==========================================================================
   FAQ SECTION
   ========================================================================== */
.section-faq {
  padding: 8rem 0;
  background: var(--color-bg);
}
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid rgba(0,0,0,0.1);
  padding: 2rem 0;
}
.faq-q {
  font-weight: 700;
  font-size: 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}
.faq-q:hover { color: var(--flavor-cherry); }
.faq-q span {
  font-size: 1.5rem;
  transition: transform 0.3s;
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  color: var(--color-text-light);
}
.faq-item.active .faq-q span { transform: rotate(45deg); }
.faq-item.active .faq-a {
  max-height: 500px;
}
.faq-a p { padding-top: 1rem; line-height: 1.6; }

/* ==========================================================================
   SOCIAL GRID
   ========================================================================== */
.section-social {
  padding: 0 0 8rem 0;
  background: var(--color-bg);
}
.social-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}
.social-grid img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 24px;
  transition: var(--transition-smooth);
  cursor: pointer;
}
.social-grid img:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-premium);
}
