/* ============================================
   Lil' Dill Pickles — Brand Stylesheet
   Color Palette (from logo):
     Cream:        #F5F0E1
     Burnt Orange:  #C26A2D
     Salmon Pink:   #D4836A
     Olive Green:   #8B9B5E
     Dark Green:    #4A5E2F
     Deep Green:    #3A4A27
   ============================================ */

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

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

:root {
  --cream:        #F5F0E1;
  --cream-dark:   #EBE4CF;
  --orange:       #C26A2D;
  --orange-light: #D4832E;
  --salmon:       #D4836A;
  --olive:        #8B9B5E;
  --green:        #4A5E2F;
  --deep-green:   #3A4A27;
  --white:        #FFFFFF;
  --text:         #3A3A2F;
  --text-light:   #6B6B5E;
}

html { scroll-behavior: smooth; }

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

h1, h2, h3, h4 {
  font-family: 'Fredoka', sans-serif;
  line-height: 1.2;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ---------- Utility ---------- */
.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}

.btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 50px;
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.btn-primary {
  background: var(--orange);
  color: var(--cream);
}
.btn-primary:hover {
  background: var(--orange-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(194,106,45,.35);
}

.btn-secondary {
  background: var(--olive);
  color: var(--cream);
}
.btn-secondary:hover {
  background: var(--green);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(74,94,47,.3);
}

.section-label {
  display: inline-block;
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: .85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--olive);
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--deep-green);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 600px;
}

/* ---------- Navigation ---------- */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 12px 0;
  transition: all 0.3s ease;
  background: transparent;
}

.navbar.scrolled {
  background: rgba(245,240,225,.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0,0,0,.08);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.nav-logo img {
  height: 50px;
  width: auto;
}

.nav-logo span {
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--orange);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-family: 'Fredoka', sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: var(--green);
  transition: color 0.3s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--orange);
  transition: width 0.3s;
}

.nav-links a:hover { color: var(--orange); }
.nav-links a:hover::after { width: 100%; }

.nav-links a.nav-cta::after { display: none; }

.nav-cta {
  padding: 10px 24px !important;
  font-size: .95rem !important;
}

/* Mobile menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.menu-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--green);
  border-radius: 3px;
  transition: all 0.3s;
}

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(139,155,94,.15) 0%, transparent 70%);
  border-radius: 50%;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(139,155,94,.15);
  color: var(--green);
  padding: 8px 18px;
  border-radius: 50px;
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: .9rem;
  margin-bottom: 20px;
}

.hero-badge span { font-size: 1.1rem; }

.hero-title {
  font-size: clamp(2.4rem, 5.5vw, 3.6rem);
  color: var(--deep-green);
  margin-bottom: 20px;
  line-height: 1.15;
}

.hero-title .highlight {
  color: var(--orange);
  position: relative;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-light);
  margin-bottom: 32px;
  max-width: 500px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

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

.hero-image img {
  width: 85%;
  max-width: 420px;
  animation: float 4s ease-in-out infinite;
  filter: drop-shadow(0 20px 40px rgba(74,94,47,.2));
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 2px solid var(--cream-dark);
}

.stat h3 {
  font-size: 1.6rem;
  color: var(--orange);
}

.stat p {
  font-size: .85rem;
  color: var(--text-light);
  font-weight: 600;
}

/* ---------- Marquee ---------- */
.marquee-section {
  background: var(--green);
  padding: 16px 0;
  overflow: hidden;
}

.marquee-track {
  display: flex;
  animation: scroll 20s linear infinite;
  width: max-content;
}

.marquee-track span {
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--cream);
  white-space: nowrap;
  padding: 0 24px;
  opacity: .9;
}

.marquee-track span::before {
  content: '\1F952';
  margin-right: 10px;
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---------- Why Section ---------- */
.why-section {
  padding: 100px 0;
}

.why-section .container > .section-subtitle {
  margin: 0 auto 60px;
  text-align: center;
}

.why-section .section-label,
.why-section .section-title {
  text-align: center;
  width: 100%;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.why-card {
  background: var(--white);
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.why-card:hover {
  transform: translateY(-6px);
  border-color: var(--olive);
  box-shadow: 0 16px 40px rgba(74,94,47,.12);
}

.why-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 2rem;
}

.why-card:nth-child(1) .why-icon { background: rgba(194,106,45,.12); }
.why-card:nth-child(2) .why-icon { background: rgba(139,155,94,.15); }
.why-card:nth-child(3) .why-icon { background: rgba(212,131,106,.12); }

.why-card h3 {
  font-size: 1.25rem;
  color: var(--deep-green);
  margin-bottom: 10px;
}

.why-card p {
  font-size: .95rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* ---------- How It Works ---------- */
.how-section {
  padding: 100px 0;
  background: var(--white);
}

.how-section .section-label,
.how-section .section-title {
  text-align: center;
  width: 100%;
}

.how-section .section-subtitle {
  margin: 0 auto 60px;
  text-align: center;
}

.how-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  position: relative;
}

.how-steps::before {
  content: '';
  position: absolute;
  top: 48px;
  left: 16%;
  right: 16%;
  height: 3px;
  background: repeating-linear-gradient(90deg, var(--olive) 0 8px, transparent 8px 16px);
}

.step {
  text-align: center;
  position: relative;
}

.step-number {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--olive);
  color: var(--cream);
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  position: relative;
  z-index: 2;
}

.step h3 {
  font-size: 1.15rem;
  color: var(--deep-green);
  margin-bottom: 8px;
}

.step p {
  font-size: .95rem;
  color: var(--text-light);
}

/* ---------- Waitlist Section ---------- */
.waitlist-section {
  padding: 100px 0;
  position: relative;
}

.waitlist-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(139,155,94,.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(194,106,45,.06) 0%, transparent 50%);
}

.waitlist-card {
  position: relative;
  background: var(--white);
  border-radius: 28px;
  padding: 60px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,.06);
  border: 2px solid var(--cream-dark);
  overflow: hidden;
}

.waitlist-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--olive), var(--orange), var(--salmon));
}

.waitlist-card .section-title {
  margin-bottom: 12px;
}

.waitlist-card .section-subtitle {
  margin: 0 auto 36px;
}

.waitlist-form {
  display: flex;
  gap: 12px;
  max-width: 500px;
  margin: 0 auto 20px;
}

.waitlist-form input {
  flex: 1;
  padding: 16px 24px;
  border: 2px solid var(--cream-dark);
  border-radius: 50px;
  font-family: 'Nunito', sans-serif;
  font-size: 1rem;
  background: var(--cream);
  color: var(--text);
  transition: border-color 0.3s;
  outline: none;
}

.waitlist-form input:focus {
  border-color: var(--olive);
}

.waitlist-form input::placeholder {
  color: var(--text-light);
}

.waitlist-note {
  font-size: .85rem;
  color: var(--text-light);
}

/* Success state */
.waitlist-success {
  display: none;
  text-align: center;
}

.waitlist-success.show {
  display: block;
}

.waitlist-success .checkmark {
  font-size: 3rem;
  margin-bottom: 12px;
}

.waitlist-success h3 {
  font-size: 1.4rem;
  color: var(--green);
  margin-bottom: 8px;
}

.waitlist-success p {
  color: var(--text-light);
}

/* ---------- Flavors / Sneak Peek ---------- */
.flavors-section {
  padding: 100px 0;
  background: var(--white);
}

.flavors-section .section-label,
.flavors-section .section-title {
  text-align: center;
  width: 100%;
}

.flavors-section .section-subtitle {
  margin: 0 auto 60px;
  text-align: center;
}

.flavors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.flavor-card {
  background: var(--cream);
  border-radius: 20px;
  padding: 36px 28px;
  text-align: center;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.flavor-card:hover {
  transform: translateY(-4px);
  border-color: var(--olive);
  box-shadow: 0 12px 32px rgba(74,94,47,.1);
}

.flavor-emoji {
  font-size: 3rem;
  margin-bottom: 16px;
}

.flavor-card h3 {
  font-size: 1.15rem;
  color: var(--deep-green);
  margin-bottom: 8px;
}

.flavor-card p {
  font-size: .9rem;
  color: var(--text-light);
  line-height: 1.6;
}

.flavor-tag {
  display: inline-block;
  margin-top: 12px;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.flavor-tag.classic { background: rgba(139,155,94,.15); color: var(--green); }
.flavor-tag.spicy   { background: rgba(194,106,45,.12); color: var(--orange); }
.flavor-tag.sweet   { background: rgba(212,131,106,.12); color: var(--salmon); }

/* ---------- Footer ---------- */
.footer {
  background: var(--deep-green);
  color: var(--cream);
  padding: 60px 0 30px;
}

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

.footer-brand img {
  height: 60px;
  margin-bottom: 16px;
}

.footer-brand p {
  color: rgba(245,240,225,.7);
  font-size: .95rem;
  line-height: 1.7;
  max-width: 340px;
}

.footer h4 {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.05rem;
  margin-bottom: 16px;
  color: var(--salmon);
}

.footer-links li { margin-bottom: 10px; }
.footer-links a {
  color: rgba(245,240,225,.7);
  transition: color 0.3s;
  font-size: .95rem;
}
.footer-links a:hover { color: var(--cream); }

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(245,240,225,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: background 0.3s;
}

.footer-social a:hover {
  background: var(--orange);
}

.footer-bottom {
  border-top: 1px solid rgba(245,240,225,.15);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .85rem;
  color: rgba(245,240,225,.5);
}

/* ---------- About Page ---------- */
.page-hero {
  padding: 140px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 30% 40%, rgba(139,155,94,.1) 0%, transparent 50%),
    radial-gradient(circle at 70% 60%, rgba(194,106,45,.07) 0%, transparent 50%);
}

.page-hero .container {
  position: relative;
  z-index: 2;
}

.page-hero .section-title {
  font-size: clamp(2rem, 5vw, 3rem);
}

.page-hero .section-subtitle {
  margin: 0 auto;
  font-size: 1.15rem;
}

/* About Content */
.about-story {
  padding: 80px 0;
}

.about-story .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-story-image {
  display: flex;
  justify-content: center;
}

.about-story-image img {
  width: 80%;
  max-width: 360px;
  filter: drop-shadow(0 16px 40px rgba(74,94,47,.15));
}

.about-story-content h2 {
  font-size: 1.8rem;
  color: var(--deep-green);
  margin-bottom: 16px;
}

.about-story-content p {
  color: var(--text-light);
  margin-bottom: 16px;
  line-height: 1.8;
}

.about-story-content p strong {
  color: var(--text);
}

/* Values */
.values-section {
  padding: 80px 0;
  background: var(--white);
}

.values-section .section-label,
.values-section .section-title {
  text-align: center;
  width: 100%;
}

.values-section .section-subtitle {
  margin: 0 auto 50px;
  text-align: center;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 800px;
  margin: 0 auto;
}

.value-card {
  display: flex;
  gap: 20px;
  padding: 28px;
  background: var(--cream);
  border-radius: 16px;
  transition: all 0.3s ease;
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
}

.value-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.value-card h3 {
  font-size: 1.1rem;
  color: var(--deep-green);
  margin-bottom: 6px;
}

.value-card p {
  font-size: .9rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* Mission Banner */
.mission-section {
  padding: 80px 0;
}

.mission-card {
  background: var(--green);
  border-radius: 24px;
  padding: 60px;
  text-align: center;
  color: var(--cream);
  position: relative;
  overflow: hidden;
}

.mission-card::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(245,240,225,.06) 0%, transparent 70%);
  border-radius: 50%;
}

.mission-card h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  margin-bottom: 16px;
}

.mission-card p {
  font-size: 1.1rem;
  opacity: .85;
  max-width: 600px;
  margin: 0 auto 30px;
  line-height: 1.7;
}

/* Uses Section */
.uses-section {
  padding: 80px 0;
  background: var(--white);
}

.uses-section .section-label,
.uses-section .section-title {
  text-align: center;
  width: 100%;
}

.uses-section .section-subtitle {
  margin: 0 auto 50px;
  text-align: center;
}

.uses-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.use-card {
  text-align: center;
  padding: 32px 20px;
  background: var(--cream);
  border-radius: 16px;
  transition: all 0.3s ease;
}

.use-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0,0,0,.06);
}

.use-card .use-emoji {
  font-size: 2.4rem;
  margin-bottom: 12px;
}

.use-card h3 {
  font-size: 1rem;
  color: var(--deep-green);
  margin-bottom: 6px;
}

.use-card p {
  font-size: .85rem;
  color: var(--text-light);
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-description { margin: 0 auto 32px; }
  .hero-cta { justify-content: center; }
  .hero-image { order: -1; }
  .hero-image img { max-width: 280px; }
  .hero-stats { justify-content: center; }

  .why-grid,
  .how-steps,
  .flavors-grid { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }

  .how-steps::before { display: none; }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-brand p { margin: 0 auto; }
  .footer-social { justify-content: center; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

  .about-story .container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .about-story-image { order: -1; }
  .about-story-image img { max-width: 240px; }

  .values-grid { grid-template-columns: 1fr; }
  .uses-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .nav-links { display: none; }
  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,.1);
    border-radius: 0 0 16px 16px;
    gap: 16px;
  }
  .menu-toggle { display: flex; }

  .waitlist-form {
    flex-direction: column;
  }
  .waitlist-card { padding: 40px 24px; }
  .mission-card { padding: 40px 24px; }

  .uses-grid { grid-template-columns: 1fr; max-width: 280px; margin: 0 auto; }
}
