/* Fuzsy – bubbly, rounded, fun. Our palette only. */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Core palette */
  --blue: #61B3E4;
  --pink: #E06BA9;
  --purple: #AC96C7;
  /* Packaging-inspired pastels (gradient backgrounds) */
  --blue-pastel: #b8daf0;
  --pink-pastel: #f0c8dc;
  --purple-pastel: #d4c5e4;
  --blue-soft: rgba(97, 179, 228, 0.28);
  --pink-soft: rgba(224, 107, 169, 0.28);
  --purple-soft: rgba(172, 150, 199, 0.28);
  --white: #ffffff;
  --cream: #fef9fc;
  --text: #1e1929;
  --text-muted: #5a5168;
  --radius-sm: 20px;
  --radius-md: 28px;
  --radius-lg: 40px;
  --radius-xl: 56px;
  --radius-pill: 999px;
  --shadow-soft: 0 12px 48px rgba(172, 150, 199, 0.18);
  --shadow-bubble: 0 20px 56px rgba(224, 107, 169, 0.25);
  --font: 'Nunito', sans-serif;
  --font-display: 'Outfit', sans-serif;
  /* 2026 typography scale – large and bold */
  --text-hero-statement: clamp(2.5rem, 6vw + 1rem, 4.5rem);
  --text-section-title: clamp(2.5rem, 4vw + 1rem, 4rem);
  --text-tagline: clamp(1.15rem, 1.5vw + 0.5rem, 1.5rem);
  --text-body: 1.125rem;
  --text-lead: 1.25rem;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

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

/* Floaty background blobs – subtle, continuous */
body::before {
  content: '';
  position: fixed;
  top: -25%;
  right: -15%;
  width: 70vmax;
  height: 70vmax;
  background: radial-gradient(circle, var(--blue-soft) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  animation: floaty 28s ease-in-out infinite;
}

body::after {
  content: '';
  position: fixed;
  bottom: -20%;
  left: -15%;
  width: 60vmax;
  height: 60vmax;
  background: radial-gradient(circle, var(--pink-soft) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  animation: floaty 24s ease-in-out infinite reverse 1s;
}

@keyframes floaty {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(20px, -15px) scale(1.02); }
  50% { transform: translate(-15px, 10px) scale(0.99); }
  75% { transform: translate(10px, 20px) scale(1.01); }
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* ----- Scroll-triggered fade-ins ----- */
.scroll-fade {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scroll-fade.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger product cards slightly */
.product-grid .product-card.scroll-fade:nth-child(1) { transition-delay: 0s; }
.product-grid .product-card.scroll-fade:nth-child(2) { transition-delay: 0.1s; }
.product-grid .product-card.scroll-fade:nth-child(3) { transition-delay: 0.2s; }
.product-grid .product-card.scroll-fade.in-view:nth-child(1) { transition-delay: 0s; }
.product-grid .product-card.scroll-fade.in-view:nth-child(2) { transition-delay: 0.1s; }
.product-grid .product-card.scroll-fade.in-view:nth-child(3) { transition-delay: 0.2s; }

/* ----- Hero – packaging-style gradient + soft bottom shapes, one subtle motion ----- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(48px, 8vw, 80px) 24px;
  position: relative;
  z-index: 1;
  overflow: hidden;
  background: linear-gradient(135deg, var(--blue-pastel) 0%, var(--purple-pastel) 45%, var(--pink-pastel) 100%);
  background-size: 110% 110%;
  background-position: 0% 0%;
  animation: hero-bg-breathe 28s ease-in-out infinite;
}

@keyframes hero-bg-breathe {
  0%, 100% { background-position: 0% 0%; }
  50% { background-position: 3% 2%; }
}

.hero-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

/* SVG fills hero – fewer clouds, varied size/shape */
.hero-shapes .hero-clouds-svg {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  display: block;
}

/* Clouds: soft pastels, slightly more visible */
.hero-clouds-svg .cloud-use {
  fill: rgba(212, 197, 228, 0.92);
  animation: hero-shape-drift 14s ease-in-out infinite;
}

.hero-clouds-svg .cloud-use.cloud-md { fill: rgba(240, 200, 220, 0.9); animation-delay: -3s; }
.hero-clouds-svg .cloud-use.cloud-sm { fill: rgba(184, 218, 240, 0.9); animation-delay: -6s; }

@keyframes hero-shape-drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(2px, -2px) scale(1.02); }
  66% { transform: translate(-2px, 2px) scale(0.98); }
}



/* Float animation – visible drift so clouds feel like they’re moving */

.hero-content {
  animation: fadeUp 0.8s ease-out;
  max-width: 720px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.wordmark-container {
  margin-bottom: clamp(24px, 4vw, 40px);
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 3vw, 32px);
  display: inline-block;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1), 0 8px 24px rgba(172, 150, 199, 0.15);
}

.hero-wordmark {
  max-width: min(560px, 85vw);
  width: 100%;
  height: auto;
  display: block;
  vertical-align: middle;
}

.tagline {
  font-size: var(--text-tagline);
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  max-width: 36ch;
  margin: 0 auto;
}

/* ----- Section titles – large 2026 type ----- */
section {
  padding: clamp(72px, 12vw, 120px) 0;
  position: relative;
  z-index: 1;
}

.section-title {
  font-family: var(--font-display);
  font-size: var(--text-section-title);
  font-weight: 800;
  text-align: center;
  margin-bottom: clamp(16px, 2vw, 24px);
  letter-spacing: -0.03em;
  line-height: 1.15;
  background: linear-gradient(135deg, var(--blue) 0%, var(--purple) 50%, var(--pink) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  text-align: center;
  font-size: var(--text-lead);
  color: var(--text-muted);
  margin-bottom: clamp(40px, 6vw, 64px);
  max-width: 42ch;
  margin-left: auto;
  margin-right: auto;
  font-weight: 600;
}

/* ----- Products – packaging-style soft gradient + rounded boxes ----- */
.products {
  background: linear-gradient(180deg, var(--cream) 0%, var(--white) 30%, var(--cream) 100%);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 4vw, 48px);
}

.product-card {
  transition: transform 0.3s ease;
}

.product-card:hover {
  transform: translateY(-8px);
}

.product-label {
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.1rem, 1.2vw + 0.5rem, 1.35rem);
  color: var(--text);
  margin-top: 16px;
  margin-bottom: 0;
}

.product-image-wrapper {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 40px);
  overflow: hidden;
  transition: box-shadow 0.3s ease;
  /* Packaging-style: rounded white box with soft shadow + inner highlight */
  border: 1px solid rgba(172, 150, 199, 0.15);
  box-shadow: 0 8px 32px rgba(172, 150, 199, 0.15), 0 0 0 1px rgba(255, 255, 255, 0.9) inset;
}

.product-card:hover .product-image-wrapper {
  box-shadow: var(--shadow-bubble);
}

.product-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  max-height: 420px;
  margin: 0 auto;
}

/* ----- Lab results accordion – soft gradient like packaging panels ----- */
.lab-results {
  background: linear-gradient(180deg, var(--white) 0%, var(--cream) 50%, var(--white) 100%);
}

.accordion {
  max-width: 640px;
  margin: 0 auto;
}

.accordion-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background: var(--white);
  /* Packaging-style rounded info box */
  border: 1px solid rgba(172, 150, 199, 0.2);
}

.accordion-header {
  width: 100%;
  padding: clamp(24px, 3vw, 32px) clamp(28px, 4vw, 40px);
  background: linear-gradient(135deg, var(--purple) 0%, var(--pink) 100%);
  border: none;
  border-radius: 0;
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.5vw + 0.5rem, 1.25rem);
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s ease, transform 0.2s ease;
}

.accordion-header:hover {
  background: linear-gradient(135deg, var(--pink) 0%, var(--blue) 100%);
}

.accordion-header:active {
  transform: scale(0.99);
}

.accordion-header.active {
  background: linear-gradient(135deg, var(--pink) 0%, var(--blue) 100%);
}

.accordion-icon {
  font-size: 0.75rem;
  transition: transform 0.3s ease;
}

.accordion-header.active .accordion-icon {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
  background: var(--white);
}

.accordion-content.active {
  max-height: 380px;
}

.lab-details {
  padding: clamp(28px, 4vw, 40px) clamp(28px, 4vw, 40px) clamp(36px, 5vw, 48px);
  color: var(--text-muted);
  text-align: center;
}

.lab-details p {
  margin-bottom: 28px;
  font-size: var(--text-lead);
  line-height: 1.65;
}

.pdf-download {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: clamp(16px, 2vw, 20px) clamp(28px, 4vw, 40px);
  background: linear-gradient(135deg, var(--blue) 0%, var(--purple) 100%);
  color: var(--white);
  text-decoration: none;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1rem, 1.2vw + 0.5rem, 1.15rem);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: var(--shadow-soft);
}

.pdf-download:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-bubble);
  color: var(--white);
  text-decoration: none;
}

.pdf-icon {
  font-size: 1.2rem;
}

/* ----- Wholesale – packaging gradient wash ----- */
.wholesale {
  background: linear-gradient(135deg, rgba(184, 218, 240, 0.6) 0%, rgba(212, 197, 228, 0.6) 50%, rgba(240, 200, 220, 0.6) 100%);
  text-align: center;
}

.wholesale-text {
  font-size: var(--text-lead);
  color: var(--text-muted);
  margin-bottom: clamp(32px, 4vw, 48px);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.wholesale-button {
  display: inline-block;
  padding: clamp(18px, 2.5vw, 24px) clamp(40px, 5vw, 56px);
  background: linear-gradient(135deg, var(--blue) 0%, var(--purple) 100%);
  color: var(--white);
  text-decoration: none;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.1rem, 1.2vw + 0.5rem, 1.25rem);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: var(--shadow-soft);
}

.wholesale-button:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-bubble);
  color: var(--white);
  text-decoration: none;
}

/* ----- Contact – off-white / light panel like packaging ----- */
.contact {
  background: linear-gradient(180deg, var(--cream) 0%, var(--white) 100%);
}

.contact-form {
  max-width: 520px;
  margin: 0 auto;
}

.hidden {
  display: none !important;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  margin-bottom: 10px;
  color: var(--text);
  font-weight: 700;
  font-size: 1.05rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: clamp(16px, 2vw, 20px) clamp(20px, 2.5vw, 24px);
  background: var(--white);
  border: 2px solid rgba(172, 150, 199, 0.25);
  border-radius: var(--radius-md);
  color: var(--text);
  font-family: var(--font);
  font-size: var(--text-body);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  /* Packaging-style clean rounded input boxes */
  box-shadow: 0 2px 12px rgba(172, 150, 199, 0.08);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--purple);
  box-shadow: 0 0 0 4px var(--purple-soft);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
  opacity: 0.8;
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.submit-button {
  width: 100%;
  padding: clamp(20px, 2.5vw, 24px) 24px;
  background: linear-gradient(135deg, var(--pink) 0%, var(--purple) 100%);
  color: var(--white);
  border: none;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.1rem, 1.2vw + 0.5rem, 1.25rem);
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: var(--shadow-soft);
}

.submit-button:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-bubble);
}

.submit-button:active,
.submit-button:disabled {
  transform: scale(1);
}

.submit-button:disabled {
  opacity: 0.85;
  cursor: not-allowed;
}

/* ----- Footer – clean panel ----- */
.footer {
  background: var(--white);
  padding: 40px 0;
  text-align: center;
  border-top: 2px solid rgba(172, 150, 199, 0.15);
}

.footer .container {
  max-width: 640px;
}

.footer p {
  margin-bottom: 10px;
  color: var(--text-muted);
  font-size: 1rem;
}

.copyright {
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--text);
}

.disclaimer {
  font-size: 0.9rem;
  line-height: 1.55;
  margin-top: 6px;
}

/* ----- Responsive ----- */
@media (max-width: 768px) {
  .hero-wordmark {
    max-width: min(380px, 85vw);
  }

  .section-title {
    margin-bottom: 40px;
  }

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

  section {
    padding: 56px 0;
  }

  .accordion-header {
    padding: 20px 24px;
    font-size: 1rem;
  }

  .lab-details {
    padding: 24px;
  }
}

@media (max-width: 480px) {
  .hero-wordmark {
    max-width: min(300px, 85vw);
  }

  section {
    padding: 48px 0;
  }

  .wholesale-button,
  .pdf-download {
    padding: 16px 28px;
    font-size: 1rem;
  }
}

body,
html {
  max-width: 100%;
  overflow-x: hidden;
}
