/* 
   THE GOOD FUD 
   Premium Editorial Design System 
   Updated: New Palette & Typography
*/

:root {
  /* Bold Palette (Restored from Image) */
  --color-cream: #EFEDE8;
  /* Background Cream */
  --color-cream-dark: #E5E2D9;

  /* New 5-Color Palette */
  --color-dark-green: #2B3A33;
  /* Deep Forest Green */
  --color-dark-green-light: #3D5248;

  --color-orange: #D2691E;
  /* Orange-Red Accent */
  --color-orange-hover: #B8541E;
  /* Darker Orange-Red for hover */
  --color-orange-bold: #D2691E;
  /* Same as orange for consistency */

  --color-yellow: #FFD54F;
  /* Bright Yellow */
  --color-yellow-bold: #FFD54F;
  /* Same as yellow */

  --color-black: #1A1A1A;
  /* Deep Black */
  --color-grey: #4A4A4A;
  /* Dark Grey */
  --color-white: #FFFFFF;

  /* Typography */
  --font-heading: 'DM Sans', sans-serif;
  /* System font stack for SF Pro feel */
  --font-body: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";

  /* Spacing */
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 8rem;

  /* UI */
  --radius-lg: 24px;
  --radius-md: 12px;
  --shadow-soft: 0 10px 40px -10px rgba(0, 0, 0, 0.05);
  --shadow-hover: 0 20px 50px -10px rgba(0, 0, 0, 0.08);
  --transition-slow: 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-white);
  color: var(--color-black);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-top: 80px;
}

/* Pricing Page Specifics */
.pricing-table-container {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 3rem;
  border: 1px solid #F0F0F0;
  max-width: 900px;
  margin: 3rem auto;
}

.pricing-card {
  position: relative;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-soft);
  text-align: center;
  border: 1px solid #f0f0f0;
  transition: transform 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-orange);
}

.pricing-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 1rem;
  /* Space between rows */
}

.pricing-table thead th {
  text-align: left;
  padding-bottom: 1rem;
  color: var(--color-grey);
  font-weight: 500;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 2px solid var(--color-cream);
}

.pricing-table tbody tr {
  transition: transform 0.2s ease;
}

.pricing-table tbody tr:hover {
  transform: scale(1.01);
}

.pricing-table td {
  padding: 1.5rem 1rem;
  background: var(--color-cream);
}

.pricing-table td:first-child {
  border-top-left-radius: 12px;
  border-bottom-left-radius: 12px;
}

.pricing-table td:last-child {
  border-top-right-radius: 12px;
  border-bottom-right-radius: 12px;
  font-weight: 700;
  color: var(--color-orange);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
  /* Tighter tracking for headings */
}

a {
  text-decoration: none;
  color: inherit;
  transition: opacity 0.3s ease;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

/* Utilities */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-family: var(--font-body);
  /* Or Heading font depending on preference, sticking to body for readability */
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: var(--transition-slow);
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-primary {
  background-color: var(--color-orange);
  color: var(--color-white);
}

.btn-primary:hover {
  background-color: var(--color-orange-hover);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: transparent;
  border-color: var(--color-black);
  color: var(--color-black);
}

.btn-secondary:hover {
  background-color: var(--color-black);
  color: var(--color-white);
  border-color: var(--color-black);
}

.btn-outline-primary {
  background-color: transparent;
  border: 2px solid var(--color-orange);
  color: var(--color-orange);
}

.btn-outline-primary:hover {
  background-color: var(--color-orange);
  color: var(--color-white);
}

.badge-best-value,
.popular-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background-color: var(--color-dark-green);
  color: var(--color-white);
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  z-index: 5;
}

.text-center {
  text-align: center;
}

/* Special Offer Badge for Pricing Cards */
.special-offer-badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  background-color: var(--color-orange);
  color: var(--color-white);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.section-padding {
  padding: 6rem 0;
}

@media (max-width: 768px) {
  .section-padding {
    padding: 3rem 0 !important;
  }
}

.btn-full {
  width: 100%;
}

.fade-in-up {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
  padding: 1rem 0;
  transition: all 0.3s ease;
  overflow-x: hidden;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  /* Ensure full width for spacing */
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 60px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
}

.nav-links a {
  font-size: 0.95rem;
  color: var(--color-grey);
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--color-black);
}

/* Hero Section - Card Revision */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: 100px;
  background-color: var(--color-white);
  /* Clean background outside card */
}

.hero-card-container {
  width: 100%;
  max-width: 1200px;
  padding: 0 var(--spacing-sm);
  z-index: 2;
}

.hero-card {
  background-color: var(--color-dark-green);
  border-radius: 40px;
  padding: 4rem;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: center;
  color: white;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.hero-card.hero-yellow {
  background-color: var(--color-yellow);
  color: var(--color-dark-green);
}

.hero-card.hero-yellow .hero-card-title {
  color: var(--color-dark-green);
}

.hero-card.hero-yellow .hero-card-subtitle {
  color: rgba(43, 58, 51, 0.8);
}

.hero-card.hero-yellow .btn-card-primary {
  background-color: var(--color-dark-green);
  color: var(--color-white);
}

.hero-card.hero-yellow .btn-card-primary:hover {
  background-color: var(--color-black);
  transform: translateY(-2px);
}

.hero-card-content {
  position: relative;
  z-index: 2;
}

.hero-card-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.1;
  font-weight: 700;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
  color: white;
}

.hero-card-subtitle {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2.5rem;
  max-width: 500px;
  line-height: 1.6;
}

.hero-card-actions {
  display: flex;
  gap: 1rem;
}

.btn-card-primary {
  background-color: var(--color-white);
  color: var(--color-dark-green);
  font-weight: 600;
  padding: 1rem 2rem;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.btn-card-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  background-color: var(--color-yellow-bold);
  /* Brand pop */
}

.btn-card-secondary {
  background-color: transparent;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-weight: 600;
  padding: 1rem 2rem;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.btn-card-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: white;
}

.hero-card-image {
  position: relative;
  height: 100%;
  min-height: 400px;
  border-radius: 24px;
  overflow: hidden;
}

.hero-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
}

/* Responsive Card Hero */
@media (max-width: 900px) {
  .hero-card {
    grid-template-columns: 1fr;
    padding: 2.5rem;
    text-align: center;
    border-radius: 24px;
  }

  .hero-card-actions {
    justify-content: center;
  }

  .hero-card-subtitle {
    margin: 0 auto 2rem;
  }

  .hero-card-image {
    min-height: 300px;
    margin-top: 1rem;
  }
}

/* Feature Bento Grid */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto auto;
  gap: 1.5rem;
  max-width: 1100px;
  margin: 4rem auto;
}

.bento-card {
  border-radius: 24px;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease;
  text-align: left;
}

.bento-card:hover {
  transform: translateY(-5px);
}

.bento-large-orange {
  grid-column: span 7;
  background-color: var(--color-dark-green);
  color: white;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.bento-large-yellow {
  grid-column: span 5;
  background-color: var(--color-cream);
  color: var(--color-black);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bento-medium-dark {
  grid-column: span 5;
  background-color: var(--color-dark-green-light);
  color: white;
  min-height: 350px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.bento-medium-cream {
  grid-column: span 7;
  background-color: #F5F5DC;
  color: var(--color-brown-bold);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Responsive Bento */
@media (max-width: 900px) {

  .bento-large-orange,
  .bento-large-yellow,
  .bento-medium-dark,
  .bento-medium-cream {
    grid-column: span 12;
    min-height: 300px;
  }
}


/* Hero Collage Styles */
/* Hero Collage Styles - Strict 1 Top 2 Bottom Grid */
/* Hero Collage & Floating Elements - Removed for Card Layout */

/* Two Ways Section */
.two-ways-bg {
  background-color: var(--color-white);
  padding: var(--spacing-xl) 0;
}

.two-ways-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 4rem auto;
}

.two-ways-header .tag {
  display: inline-block;
  background-color: var(--color-cream);
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-size: 0.85rem;
  color: var(--color-yellow);
  font-weight: 600;
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.two-ways-header h2 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  color: var(--color-black);
}

/* Plans Section - Premium Editorial Style */
.plans-section {
  padding: var(--spacing-xxl) 0;
  background-color: #fafafa;
  /* Subtle grey background */
  position: relative;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 3rem auto 0;
  padding: 0 1rem;
}

.plan-card {
  background: var(--color-white);
  border: 1px solid #e0e0e0;
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  position: relative;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  overflow: hidden;
}

.plan-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  border-color: var(--color-orange);
  /* Highlight on hover */
}

.plan-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  background: var(--color-cream);
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--color-orange);
}

.plan-card h3 {
  font-size: 1.75rem;
  color: var(--color-dark-green);
  margin-bottom: 0.5rem;
}

.plan-card p {
  color: var(--color-grey);
  margin-bottom: 2rem;
  font-size: 1rem;
  max-width: 300px;
}

.plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
  text-align: left;
  width: 100%;
}

.plan-features li {
  padding: 0.75rem 0;
  color: var(--color-dark-green);
  /* Darker text for readability */
  border-bottom: 1px dashed #eee;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.plan-features li:last-child {
  border-bottom: none;
}

.plan-features li i {
  color: var(--color-orange);
  /* Orange checkmarks */
  font-size: 1.1rem;
}

/* App Section - Modern Layout with Blob */
.app-section {
  padding: var(--spacing-xxl) 0;
  background-color: var(--color-white);
  position: relative;
  overflow: hidden;
}

/* Decorative Background Blob */
.app-section::before {
  content: '';
  position: absolute;
  top: 50%;
  right: -10%;
  transform: translateY(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--color-cream) 0%, transparent 70%);
  z-index: 0;
  opacity: 0.6;
  border-radius: 50%;
}

.app-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 1;
}

.app-content {
  order: 1;
  /* Text first */
}

.app-image {
  order: 2;
  /* Image second */
  display: flex;
  justify-content: center;
}

.app-image img {
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
  /* Phone shadow */
  transform: rotate(-5deg);
  /* Playful tilt */
  transition: transform 0.3s ease;
}

.app-image:hover img {
  transform: rotate(0deg) scale(1.02);
}

.app-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

/* Ethos / Mission Section - High Impact Dark Mode */
.mission-section {
  padding: 6rem 0;
  background-color: var(--color-dark-green);
  color: var(--color-cream);
  text-align: center;
}

.mission-section h2 {
  color: var(--color-cream);
  font-size: 3.5rem;
  margin-bottom: 2rem;
}

.mission-section p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.25rem;
  max-width: 700px;
  margin: 0 auto 3rem;
}

.values-grid {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.value-item {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  color: var(--color-cream);
  font-weight: 500;
  transition: all 0.3s ease;
}

.value-item:hover {
  background: var(--color-white);
  color: var(--color-dark-green);
  transform: translateY(-3px);
}

.value-item i {
  color: var(--color-orange);
  margin-right: 0.5rem;
}

/* Who Is This For - Bento Grid */
.who-section {
  padding: var(--spacing-xxl) 0;
  background: var(--color-cream);
  /* Light contrast */
}

.who-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto;
  gap: 1.5rem;
  max-width: 1000px;
  margin: 3rem auto 0;
}

.who-card {
  /* Removed card styling for pointer look */
  padding: 1rem;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

/* Bento Spans */
.who-card:nth-child(1) {
  grid-column: span 1;
  /* Reset span */
  background: transparent;
}

.who-card:hover {
  transform: translateY(-5px);
}

.who-card i {
  font-size: 2.5rem;
  color: var(--color-orange);
  /* Or Green */
  margin-bottom: 1.5rem;
  background: var(--color-cream);
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.who-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.8rem;
  color: var(--color-dark-green);
}

.who-card p {
  color: var(--color-grey);
  line-height: 1.6;
}

.app-feature {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: #fff;
  border: 1px solid #f0f0f0;
  padding: 0.8rem 1rem;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

.app-feature i {
  color: var(--color-orange);
  font-size: 1.2rem;
}

.app-feature span {
  font-weight: 600;
  color: var(--color-dark-green);
  font-size: 0.9rem;
}

/* Phase 9: Compact Redesign Styles */

/* Section 4: User Guide (How It Works) */
.user-guide-container {
  background: var(--color-white);
  border-radius: 40px;
  padding: 4rem;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: start;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
  margin: 4rem auto;
  max-width: 1100px;
}

.user-guide-steps {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  border-left: 2px solid #eee;
  padding-left: 3rem;
}

.guide-step {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.guide-step h4 {
  font-size: 1.25rem;
  color: var(--color-dark-green);
  font-weight: 700;
}

.guide-step p {
  font-size: 1rem;
  color: var(--color-grey);
  line-height: 1.5;
  margin: 0;
}

/* Section 5: Services Row (Meal Plans) */
.services-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.service-card {
  background: var(--color-black);
  color: white;
  padding: 2.5rem;
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 320px;
  transition: transform 0.3s ease;
}

.service-card.light {
  background: var(--color-white);
  color: var(--color-black);
  border: 1px solid #eee;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-number {
  font-size: 3rem;
  font-weight: 300;
  opacity: 0.5;
  margin-bottom: 2rem;
}

.service-card h3 {
  font-size: 2rem;
  line-height: 1.1;
  margin-bottom: 0.5rem;
}

/* Section 6: Info Bar (Ethos) */
.info-bar {
  background: var(--color-cream);
  border-radius: 100px;
  padding: 1.5rem 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-weight: 600;
  color: var(--color-dark-green);
  font-size: 1.1rem;
}

.info-item i {
  width: 40px;
  height: 40px;
  background: rgba(0, 0, 0, 0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-orange-bold);
}

@media (max-width: 900px) {

  .user-guide-container,
  .services-row,
  .info-bar {
    grid-template-columns: 1fr;
    flex-direction: column;
    padding: 2rem;
    gap: 2rem;
    text-align: center;
  }

  .user-guide-steps {
    border-left: none;
    padding-left: 0;
  }

  .info-bar {
    border-radius: 24px;
    align-items: flex-start;
  }
}

.two-ways-header p {
  color: var(--color-grey);
  font-size: 1.1rem;
}

.plans-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.plan-card {
  background-color: var(--color-white);
  border: 1px solid #E5E5E5;
  border-radius: 32px;
  padding: 3rem;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.plan-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.popular-badge {
  position: absolute;
  top: 2rem;
  right: 2rem;
  background-color: #D4E157;
  /* Lime-ish green from image */
  color: var(--color-dark-green);
  padding: 0.4rem 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 50px;
  text-transform: uppercase;
}

.plan-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  font-size: 1.5rem;
}

.icon-delivery {
  background-color: var(--color-dark-green);
  color: var(--color-white);
}

.icon-recipe {
  background-color: #C5A880;
  /* Tan/Gold */
  color: var(--color-white);
}

.plan-card h3 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  color: var(--color-black);
}

.plan-card .desc {
  color: var(--color-grey);
  margin-bottom: 2rem;
  min-height: 60px;
}

.plan-features li {
  padding: 0.75rem 0;
  color: var(--color-dark-green);
}

.plan-features li::before {
  content: "✓";
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background-color: #D4E157;
  /* Lime green check */
  color: var(--color-dark-green);
  border-radius: 50%;
  margin-right: 12px;
  font-size: 0.7rem;
  font-weight: bold;
}

.icon-recipe~.plan-features li::before {
  background-color: #E0D5C1;
  /* Muted gold for recipe checks */
  color: #8D7656;
}

.btn-full {
  width: 100%;
  margin-top: 2rem;
}

.btn-delivery {
  background-color: var(--color-dark-green);
  color: var(--color-white);
}

.btn-delivery:hover {
  background-color: var(--color-dark-green-light);
}

.btn-outline-gold {
  border: 1px solid #C5A880;
  color: #8D7656;
}

.btn-outline-gold:hover {
  background-color: #C5A880;
  color: var(--color-white);
}

/* Modal Styling */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(5px);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background-color: var(--color-white);
  padding: 3rem;
  border-radius: 24px;
  width: 100%;
  max-width: 480px;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-overlay.active .modal-content {
  transform: translateY(0);
}

.close-modal {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--color-grey);
}

.modal-header h3 {
  font-size: 1.75rem;
  color: var(--color-dark-green);
  margin-bottom: 0.5rem;
}

.modal-header p {
  color: var(--color-grey);
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  font-size: 0.9rem;
}

.form-group input {
  width: 100%;
  padding: 1rem;
  border: 1px solid #E5E5E5;
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s;
}

.form-group input:focus {
  border-color: var(--color-dark-green);
}

#success-message {
  text-align: center;
  display: none;
}

#success-message h3 {
  color: var(--color-dark-green);
  margin-bottom: 1rem;
}

#success-message .icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

/* --- Static Grid Layout (Refactored) --- */

.hiw-intro {
  padding: var(--spacing-xl) 0 2rem 0;
  background-color: var(--color-white);
  text-align: center;
}

.timeline-header {
  max-width: 800px;
  margin: 0 auto;
}

.timeline-header .tag {
  display: inline-block;
  background-color: var(--color-cream);
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-size: 0.85rem;
  color: var(--color-orange);
  font-weight: 600;
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.timeline-header h2 {
  font-size: 4rem;
  /* Big impact as requested */
  color: var(--color-dark-green);
  margin-bottom: 1rem;
  font-weight: 700;
}

.timeline-header p {
  font-size: 1.25rem;
  color: var(--color-grey);
}

.timeline-section {
  padding: 4rem 0 var(--spacing-xl) 0;
  /* Lined Paper Background */
  background-color: #Fdfdfd;
  background-image: repeating-linear-gradient(transparent, transparent 29px, #E5E5E5 30px);
  /* Subtle shadow inset for depth if needed, or just flat paper */
  position: relative;
  overflow: hidden;
  /* For connectors */
}

/* Central dashed line for connector path */
.timeline-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  /* Width of the path */
  height: 2px;
  border-top: 2px dashed #D1C4E9;
  /* Horizontal dashed line */
  border-left: none;
  z-index: 0;
  opacity: 0.6;
}

.hiw-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* The Pin Board Grid */
.hiw-grid {
  display: flex;
  flex-direction: row;
  /* Horizontal layout */
  justify-content: center;
  gap: 2rem;
  padding: 4rem 0;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

/* Card Styles - Pin Note Look */
.hiw-card {
  background: var(--color-white);
  border-radius: 16px;
  /* Soft paper corners */
  padding: 1.5rem 1rem;
  /* Reduced padding */
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  /* Lifted shadow */
  border: 1px solid #f0f0f0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.8rem;
  transition: transform 0.3s ease;
  width: 220px;
  /* Reduced width */
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

/* Zig-Zag Positioning - Vertical Offsets */
.hiw-card:nth-child(odd) {
  transform: rotate(-2deg) translateY(-30px);
  /* Up */
  align-self: flex-start;
}

.hiw-card:nth-child(even) {
  transform: rotate(2deg) translateY(30px);
  /* Down */
  align-self: flex-end;
  margin-top: 0;
}

.hiw-card:hover {
  transform: scale(1.05) rotate(0deg) translateY(0);
  /* Pop out */
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
  z-index: 2;
}

/* The Pin */
.hiw-card::before {
  content: '';
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  z-index: 10;
}

/* Alternating Pin Colors */
.hiw-card:nth-child(1)::before {
  background: radial-gradient(circle at 30% 30%, #FF8A65, #CF5C36);
}

/* Orange */
.hiw-card:nth-child(2)::before {
  background: radial-gradient(circle at 30% 30%, #4DB6AC, #2B3A33);
}

/* Green */
.hiw-card:nth-child(3)::before {
  background: radial-gradient(circle at 30% 30%, #BA68C8, #7B1FA2);
}

/* Purple ish - utilizing brand variant or just orange/green */
/* Let's stick to brand colors */
.hiw-card:nth-child(3)::before {
  background: radial-gradient(circle at 30% 30%, #FFD54F, #F0C05A);
}

/* Yellow */
.hiw-card:nth-child(4)::before {
  background: radial-gradient(circle at 30% 30%, #64B5F6, #1976D2);
}

/* Blue accent */


/* Card Content Styling */
.hiw-content h4 {
  font-size: 1.1rem;
  /* Reduced from 1.5rem */
  color: var(--color-dark-green);
  margin-bottom: 0.3rem;
  font-weight: 700;
}

.hiw-content p {
  font-size: 0.85rem;
  /* Reduced from 1rem */
  color: var(--color-grey);
  line-height: 1.5;
}

/* Number / Step Indicator (Optional, based on '01', '02' in reference) */
/* We can use counter or just the existing icons. The reference has numbers. */
/* Let's keep the existing icons as they are distinctive brand assets */


@media (max-width: 1024px) {

  /* Switch back to vertical stack on smaller desktops/tablets */
  .hiw-grid {
    flex-direction: column;
    align-items: center;
    gap: 3rem;
  }

  .hiw-card {
    width: 80%;
    max-width: 400px;
    transform: none !important;
    /* Remove rotation/offset */
  }

  .hiw-card:nth-child(odd),
  .hiw-card:nth-child(even) {
    transform: none;
    align-self: center;
  }

  /* Vertical Line for Mobile */
  .timeline-section::before {
    width: 2px;
    height: 100%;
    border-top: none;
    border-left: 2px dashed #D1C4E9;
    top: 0;
  }
}

/* Who Is This For - Bento Grid */
.who-is-this {
  padding: 6rem 0;
  background-color: #F8F9FA;
  /* Off-white background from ref */
}

.who-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
  max-width: 1100px;
  margin: 3rem auto 0;
  padding: 0 1rem;
}

.who-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  transition: transform 0.3s ease;
  position: relative;
  border-right: 1px solid #E5E7EB;
  padding-right: 2rem;
}

.who-card:last-child {
  border-right: none;
  padding-right: 0;
}

.who-img-container {
  order: -2;
  margin-bottom: 1.5rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.who-img-container i {
  width: 64px;
  height: 64px;
  background: var(--color-cream);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--color-dark-green);
}

.who-badge {
  order: -1;
  margin-bottom: 1rem;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  display: inline-block;
  letter-spacing: 0.05em;
}

.who-card h3 {
  order: 1;
  font-size: 1.8rem;
  color: var(--color-dark-green);
  margin-bottom: 1rem;
  line-height: 1.1;
  min-height: 4rem;
  display: flex;
  align-items: flex-start;
  /* Ensure start line is same */
  padding-top: 0.5rem;
}

.who-card p {
  order: 2;
  margin: 0;
  color: var(--color-grey);
  line-height: 1.6;
  font-size: 1rem;
}

.who-badge.green {
  background-color: #E8F5E9;
  color: #2E7D32;
}

.who-badge.orange {
  background-color: #FFF3E0;
  color: #EF6C00;
}

.who-badge.yellow {
  background-color: #FFF8E1;
  color: #FBC02D;
}

.who-card:hover {
  transform: translateY(-5px);
}

@media (max-width: 900px) {
  .who-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .who-grid {
    grid-template-columns: 1fr;
  }

  .who-card {
    border-right: none;
    border-bottom: 1px solid #E5E7EB;
    padding-right: 0;
    padding-bottom: 2rem;
    margin-bottom: 2rem;
  }

  .who-card:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
  }
}

@media (max-width: 768px) {
  .who-grid {
    grid-template-columns: 1fr;
  }
}

/* App Section Bento Grid */
.app-section {
  padding: 6rem 0;
  background: #fff;
}

.app-bento-grid {
  display: grid;
  grid-template-columns: 1.2fr 1.2fr 1fr;
  /* 3 Columns */
  grid-template-rows: auto auto;
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.app-bento-card {
  border-radius: 32px;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.app-bento-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* Card 1: Main (Top Left Wide) */
.app-card-main {
  grid-column: 1 / span 2;
  grid-row: 1;
  background-color: var(--color-cream);
  /* Or Brand Green/custom */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  min-height: 320px;
}

.app-card-main h2 {
  font-size: 2.8rem;
  line-height: 1.1;
  margin-bottom: 1rem;
  color: var(--color-dark-green);
}

.app-card-main p {
  font-size: 1.2rem;
  color: var(--color-grey);
  margin-bottom: 2rem;
  max-width: 80%;
}

/* Card 2: Tall Image (Right) */
.app-card-tall {
  grid-column: 3;
  grid-row: 1 / span 2;
  background-color: #E8F5E9;
  /* Light Green background */
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.app-card-tall img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 32px;
}

/* Card 3 & 4: Small Features (Bottom Left & Center) */
.app-card-feature {
  background-color: #F8F9FA;
  /* Light Grey */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 240px;
}

.app-card-feature h4 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  color: var(--color-black);
}

.app-card-feature p {
  font-size: 1rem;
  color: #666;
}

.feature-icon-circle {
  width: 50px;
  height: 50px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
  color: var(--color-orange);
}

/* Mobile Responsive */
@media (max-width: 900px) {
  .app-bento-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .app-card-main,
  .app-card-tall,
  .app-card-feature {
    grid-column: 1;
    grid-row: auto;
    min-height: auto;
  }

  .app-card-tall {
    height: 400px;
    order: -1;
    /* Show image first on mobile? Or kept normal */
  }
}


/* Recipe Waitlist */
.recipe-waitlist {
  padding: var(--spacing-xl) 0;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

/* Science Page - Plate Comparison */
/* Desktop Footer Layout */
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr 1.5fr;
  /* Adjusted for Content fit */
  gap: 2rem;
  margin-bottom: 4rem;
}

.science-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

.plate-card {
  background: var(--color-white);
  padding: 2.5rem;
  border-radius: 32px;
  text-align: left;
  position: relative;
  border: 1px solid #eee;
  transition: transform 0.3s ease;
}

.plate-card:hover {
  transform: translateY(-5px);
}

.plate-card.bad {
  background: #FFF5F5;
  border: 1px solid #FFCDCD;
}

.plate-card.bad h3 {
  color: #D32F2F;
}

.plate-card.good {
  background: #F1F8E9;
  border: 1px solid #C5E1A5;
}

.plate-card.good h3 {
  color: var(--color-dark-green);
}

.plate-card ul {
  margin-top: 1rem;
}

.plate-card li {
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

/* Science Page - Creative Comparison */
.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 1000px;
  margin: 0 auto;
}

.comp-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  position: relative;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease;
  border: 2px solid transparent;
}

.comp-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

/* Bad Card Theme */
.comp-card.bad {
  background: #FFF9F5;
  border-color: #FFE0D1;
}

.badge-bad {
  background: #FFECDF;
  color: #D35400;
}

.bad-fill {
  background: linear-gradient(90deg, #E67E22, #D35400);
}

.bad-circle {
  border: 4px solid #FFE0D1;
  background: #fff;
}

/* Good Card Theme */
.comp-card.good {
  background: #F4F9F4;
  border-color: #C8E6C9;
}

.badge-good {
  background: #E8F5E9;
  color: var(--color-dark-green);
}

.good-fill {
  background: linear-gradient(90deg, #66BB6A, #2E7D32);
}

.good-circle {
  border: 4px solid #C8E6C9;
  position: relative;
  overflow: hidden;
}

/* Common Elements */
.card-header {
  text-align: center;
  margin-bottom: 2rem;
}

.badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.comp-card h3 {
  font-size: 1.5rem;
  margin: 0;
  color: var(--color-black);
}

.plate-visual {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

.plate-circle {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.plate-circle .emoji {
  font-size: 3rem;
}

.plate-circle .visual-label {
  font-size: 0.8rem;
  color: #888;
  margin-top: 0.5rem;
}

/* Macro Bars */
.macro-bars {
  margin-bottom: 2rem;
}

.macro-group {
  margin-bottom: 1rem;
}

.macro-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  margin-bottom: 0.3rem;
  font-weight: 500;
}

.progress-track {
  background: rgba(0, 0, 0, 0.05);
  height: 8px;
  border-radius: 4px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  border-radius: 4px;
}

.impact-box {
  background: rgba(255, 255, 255, 0.7);
  padding: 1.5rem;
  border-radius: 12px;
  text-align: center;
  font-size: 0.95rem;
  color: var(--color-grey);
}

/* Final CTA Section - Clean & Direct */
.final-cta-section {
  padding: 6rem 0;
  background-color: var(--color-white);
  text-align: center;
}

.final-cta-content h2 {
  font-size: 3rem;
  color: var(--color-dark-green);
  margin-bottom: 1rem;
}

.final-cta-content p {
  font-size: 1.2rem;
  color: var(--color-grey);
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 768px) {
  .comparison-grid {
    grid-template-columns: 1fr;
  }
}


.recipe-waitlist h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--color-dark-green);
}

.recipe-waitlist p {
  font-size: 1.2rem;
  color: var(--color-grey);
  margin-bottom: 3rem;
}

.recipe-features {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-bottom: 3rem;
}

.recipe-feature {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.recipe-feature span {
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-orange);
  font-weight: 600;
}

/* Ethos Section */
.ethos {
  background-color: var(--color-dark-green);
  color: var(--color-cream);
  padding: var(--spacing-xl) 0;
  text-align: center;
}

.ethos h2 {
  color: var(--color-yellow);
  /* Pop of yellow on green */
  margin-bottom: 2rem;
}

.ethos-copy {
  font-size: 1.5rem;
  max-width: 700px;
  margin: 0 auto 3rem auto;
  font-family: var(--font-heading);
  font-weight: 400;
}

.ethos-values {
  display: flex;
  justify-content: center;
  gap: 4rem;
  opacity: 0.9;
  font-family: var(--font-body);
}

/* Footer */
footer {
  padding: var(--spacing-lg) 0;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  background-color: var(--color-black);
  /* Dark footer */
  color: var(--color-white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr 1.5fr;
  gap: 3rem;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}


.footer-logo {
  width: 140px;
  margin-bottom: 1rem;
  display: block;
}

.footer-brand p {
  max-width: 300px;
  margin-bottom: 1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  padding: 0;
  list-style: none;
}

.footer-links a {
  color: #AAAAAA;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  text-decoration: underline;
  color: var(--color-white);
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-link {
  background: rgba(255, 255, 255, 0.1);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--color-white);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1.1rem;
}

.social-link:hover {
  background: var(--color-white);
  color: var(--color-black);
  transform: translateY(-3px);
}

.copyright {
  margin-top: 4rem;
  font-size: 0.85rem;
  color: #666;
}

/* Responsive */
@media (max-width: 900px) {

  .hero-grid,
  .section-grid,
  .app-section {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content {
    order: 2;
    margin-top: 2rem;
  }

  .hero-image {
    order: 1;
    height: 50vh;
  }

  .hero-collage {
    order: 1;
    height: 400px;
    margin-bottom: 2rem;
  }

  .meal-image {
    height: 400px;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    justify-content: center;
  }

  .recipe-features {
    flex-direction: column;
    gap: 1.5rem;
  }

  .ethos-values {
    flex-direction: column;
    gap: 1.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
    flex-wrap: wrap;
  }
}

/* Modern App Layout Utilities (Fixed) */
.section-dark {
  background-color: var(--color-dark-green);
  color: var(--color-white);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.section-dark h2,
.section-dark h3,
.section-dark p {
  color: var(--color-white);
}

.section-dark .tag {
  background: rgba(255, 255, 255, 0.2) !important;
  color: var(--color-white) !important;
}

.ticket-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.ticket-card {
  background-color: var(--color-cream);
  border-radius: 24px;
  padding: 2.5rem;
  position: relative;
  color: var(--color-black);
  transition: transform 0.3s ease;
  border: 2px solid transparent;
  display: flex;
  flex-direction: column;
}

.ticket-card:hover {
  transform: translateY(-8px);
  border-color: var(--color-orange);
}

.ticket-card h3 {
  color: var(--color-dark-green);
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.ticket-price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-black);
  margin: 1rem 0;
}

.ticket-price span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-grey);
}

.ticket-features {
  margin: 1.5rem 0;
  list-style: none;
  padding: 0;
  flex-grow: 1;
  /* Pushes button down */
}

.ticket-features li {
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
}

/* Bento Grid */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(300px, auto);
  /* Increased min-height */
  gap: 2rem;
  margin-top: 3rem;
}

.bento-item {
  border-radius: 24px;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  /* Added shadow */
  transition: transform 0.3s ease;
}

.bento-item:hover {
  transform: translateY(-5px);
}

.bento-item.tall {
  grid-column: span 4;
  grid-row: span 2;
}

.bento-item.wide {
  grid-column: span 8;
}

.bento-item.square {
  grid-column: span 4;
}

.bento-green {
  background-color: var(--color-dark-green);
  color: white;
}

.bento-green h3,
.bento-green p {
  color: white;
}

.bento-cream {
  background-color: var(--color-white);
  /* Changed to White */
  color: var(--color-black);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.bento-image {
  padding: 0;
  min-height: 400px;
}

.bento-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  /* Absolute ensure fill */
  top: 0;
  left: 0;
}

@media (max-width: 900px) {
  .bento-item {
    grid-column: span 12 !important;
    grid-row: auto !important;
    min-height: 300px;
  }

  .bento-item.tall {
    min-height: 400px;
  }

  .bento-image {
    min-height: 250px !important;
    aspect-ratio: 1 / 1 !important;
  }
}

/* Document Card */
.doc-canvas {
  background-color: var(--color-cream);
  min-height: 100vh;
  padding-bottom: 4rem;
}

.doc-card {
  background: white;
  max-width: 900px;
  margin: 0 auto;
  padding: 4rem;
  border-radius: 32px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.03);
  /* Close doc-card */
}

/* Mobile Nav Overlay Styles */
.mobile-toggle {
  display: none;
  /* Hidden on desktop */
}

/* Mobile Layout Updates - Reference Design Match */
@media (max-width: 900px) {

  /* Navbar Mobile */
  .nav-links,
  .desktop-only {
    display: none !important;
  }

  .nav-container {
    justify-content: space-between;
    width: 100%;
    padding: 0 1rem;
    /* Ensure padding matches container */
  }

  .mobile-toggle {
    display: block;
    background: none;
    border: none;
    font-size: 1.75rem;
    color: var(--color-dark-green);
    /* Explicit brand color */
    cursor: pointer;
    z-index: 1001;
    padding: 0.5rem;
    margin-left: auto;
    /* Force push to right */
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/* (Moved to top) */

.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background: var(--color-black);
  /* Dark background */
  z-index: 2000;
  transition: 0.3s ease-in-out;
  padding: 6rem 2rem 2rem 2rem;
  /* More top padding for close btn */
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  /* Left align */
  justify-content: flex-start;
}

.mobile-nav.active {
  right: 0;
}

.close-mobile-nav {
  position: absolute;
  top: 2rem;
  right: 2rem;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--color-cream);
  /* Light color for contrast */
  cursor: pointer;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  gap: 0;
  /* Remove gap, use padding/border */
}

.mobile-nav-links a {
  font-size: 1.75rem;
  /* Larger text */
  font-weight: 500;
  color: var(--color-cream);
  text-decoration: none;
  width: 100%;
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  /* Divider */
  text-align: left;
  font-family: 'DM Sans', sans-serif;
}

/* Specific style for potential button class in nav - reset to link style or keep separate */
.mobile-nav-links a.btn {
  background: none;
  padding: 1.5rem 0;
  margin-top: 0;
  border-radius: 0;
  color: var(--color-cream);
  font-size: 1.25rem;
  /* Slightly smaller for secondary actions */
  font-weight: 400;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: flex-start;
  height: auto;
}

.mobile-nav-links a:last-child {
  border-bottom: none;
}


@media (max-width: 768px) {

  /* Global Adjustments */
  .container {
    padding: 0 1.25rem;
  }

  /* Font Size Reduction */
  h1,
  .hero-card-title {
    font-size: 2rem !important;
  }

  h2 {
    font-size: 1.75rem !important;
  }

  p,
  .hero-card-subtitle {
    font-size: 0.95rem !important;
  }

  /* 1. Hero Section - Vertical Stack & Compact */
  .hero {
    padding-top: 80px;
    /* Reduced top padding */
    min-height: auto;
    padding-bottom: 2rem;
  }

  .hero-card {
    grid-template-columns: 1fr !important;
    padding: 1.5rem !important;
    gap: 1.5rem !important;
    text-align: center !important;
    border-radius: 20px !important;
  }

  .hero-card-image {
    min-height: auto !important;
    height: 250px !important;
    width: 250px !important;
    margin: 1.5rem auto 0 !important;
    aspect-ratio: 1 / 1 !important;
    border-radius: 16px !important;
  }

  .hero-card-title {
    margin-bottom: 0.75rem;
  }

  .hero-card-subtitle {
    margin-bottom: 1.5rem;
  }

  .hero-card-actions {
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
  }

  .btn-card-primary,
  .btn-card-secondary {
    width: 100%;
    justify-content: center;
    padding: 0.8rem 1.5rem;
    /* Slightly smaller buttons */
  }

  .hero-card-image {
    min-height: 200px;
    border-radius: 16px;
    order: 1;
    margin-top: 0;
  }

  .article-featured-image {
    height: 250px !important;
    width: 250px !important;
    margin: 0 auto 2rem !important;
    aspect-ratio: 1 / 1 !important;
    border-radius: 16px !important;
  }

  .nourishing-gut-grid img {
    height: 250px !important;
    width: 250px !important;
    margin: 0 auto !important;
    aspect-ratio: 1 / 1 !important;
    border-radius: 16px !important;
    object-fit: contain !important;
    /* Ensure content is visible */
    background: #fdfdfd;
  }

  .bento-card img {
    height: 250px !important;
    width: 250px !important;
    margin: 0 auto !important;
    aspect-ratio: 1 / 1 !important;
    object-fit: cover !important;
    border-radius: 12px !important;
  }


  /* 2. Horizontal Scroll Containers (Snap Scroll) */
  .mobile-scroll-container {
    display: flex;
    overflow-x: auto;
    gap: 1rem;
    padding-bottom: 1.5rem;
    /* Space for scrollbar/shadow */
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    margin-left: -1.25rem;
    margin-right: -1.25rem;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .mobile-scroll-container::-webkit-scrollbar {
    display: none;
  }

  /* Apply to Who Is This For (Goals) */
  .who-grid {
    display: flex;
    overflow-x: auto;
    gap: 1rem;
    padding-bottom: 1rem;
    scroll-snap-type: x mandatory;
    margin-left: -1.25rem;
    width: calc(100% + 2.5rem);
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .who-card {
    min-width: 260px;
    /* Fixed width for scrolling */
    scroll-snap-align: center;
    background: #fff;
    border-radius: 16px;
    padding: 1.25rem;
    border: 1px solid #f0f0f0;
  }

  /* Apply to Meal Plans (Services Row) */
  .services-row {
    display: flex;
    overflow-x: auto;
    gap: 1rem;
    padding-bottom: 1rem;
    scroll-snap-type: x mandatory;
    margin-left: -1.25rem;
    width: calc(100% + 2.5rem);
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .service-card {
    min-width: 260px;
    min-height: 280px;
    padding: 1.5rem;
    scroll-snap-align: center;
  }

  .service-number {
    font-size: 2rem;
    margin-bottom: 1rem;
  }

  .service-card h3 {
    font-size: 1.5rem;
  }

  /* Bento Grid Adjustment */
  .bento-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .bento-card {
    min-height: auto;
    grid-column: auto !important;
    padding: 1.5rem;
  }

  .bento-card h3 {
    font-size: 1.75rem !important;
  }


  /* 3. User Guide - Vertical Stack */
  .user-guide-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1.5rem;
    border-radius: 20px;
    text-align: left;
  }

  .user-guide-steps {
    padding-left: 0;
    border-left: none;
    gap: 1.5rem;
  }

  .guide-step {
    position: relative;
    padding-left: 1rem;
    border-left: 2px solid var(--color-orange);
  }


  /* 4. Footer & Info Bar */
  .info-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    border-radius: 20px;
    padding: 1.5rem;
  }

  .info-item {
    font-size: 1rem;
  }
}

/* Responsive Pricing & Plans Grid */
.plans-grid-mobile {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  max-width: 1000px;
  margin: 0 auto 4rem;
}

@media (max-width: 768px) {
  .plans-grid-mobile {
    grid-template-columns: 1fr !important;
    max-width: 400px !important;
    margin: 0 auto 2rem !important;
  }

  .nourishing-gut-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  .nourishing-gut {
    padding: 2rem !important;
    border-radius: 20px !important;
    margin-top: 3rem !important;
  }
}

/* Compact Footer - Mobile Only */
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: left;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .footer-brand,
  .footer-col {
    align-items: flex-start;
    display: flex;
    flex-direction: column;
  }
}

.footer-logo {
  margin: 0 0 1rem 0;
  height: auto;
  max-width: 100px;
  /* Reduced size */
}

.footer-logo img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.social-links {
  justify-content: flex-start;
}

/* Pricing Page Specifics (Restored) */
.pricing-section {
  padding: 5rem 0;
  background-color: var(--color-white);
  position: relative;
}

.pricing-header-group {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3rem auto;
}

.pricing-header-group h2 {
  color: var(--color-dark-green);
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
  text-align: left;
}

.pricing-features li {
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 1rem;
  color: var(--color-text-bold);
}

.pricing-features li i {
  color: var(--color-green);
}

.pricing-features li.check-grey i {
  color: var(--color-grey);
}

.pricing-offer {
  background-color: #FFF3E0;
  color: var(--color-orange-bold);
  padding: 0.5rem;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.9rem;
  display: inline-block;
  margin-bottom: 1rem;
}

.pricing-title {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--color-dark-green);
}

.pricing-desc {
  color: var(--color-grey);
  margin-bottom: 1.5rem;
}

.pricing-price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-black);
  margin-bottom: 0.5rem;
}

.pricing-price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--color-grey);
}

.trial-info {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--color-grey);
}

/* Marquee / Green Ribbon */
.marquee-container {
  background-color: var(--color-dark-green);
  color: var(--color-white);
  overflow: hidden;
  padding: 1rem 0;
  position: relative;
  width: 100%;
  margin-top: 4rem;
}

.marquee-content {
  display: flex;
  gap: 2rem;
  width: max-content;
  animation: marquee 20s linear infinite;
}

.marquee-content span {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.marquee-content .dot {
  color: var(--color-yellow);
  font-size: 1.2rem;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* Floating WhatsApp */
.floating-whatsapp {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1000;
  background-color: #25D366;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.floating-whatsapp:hover {
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .floating-whatsapp {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 50px;
    height: 50px;
  }
}

/* Contact Modal Styles */
.contact-modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
  z-index: 9999;
  animation: fadeIn 0.3s ease;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.contact-modal-overlay.active {
  display: flex !important;
}

.contact-modal-content {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 3rem;
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: slideUp 0.3s ease;
  margin: auto;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    transform: translateY(50px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.close-contact-modal {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: transparent;
  border: none;
  font-size: 2rem;
  color: var(--color-grey);
  cursor: pointer;
  transition: color 0.3s ease;
  line-height: 1;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.close-contact-modal:hover {
  color: var(--color-black);
}

.contact-modal-header {
  margin-bottom: 2rem;
}

.contact-modal-header h3 {
  font-size: 2rem;
  color: var(--color-dark-green);
  margin-bottom: 0.5rem;
}

.contact-modal-header p {
  color: var(--color-grey);
  font-size: 1rem;
}

.contact-form .form-group {
  margin-bottom: 1.5rem;
}

.contact-form label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--color-dark-green);
  font-weight: 600;
  font-size: 0.9rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1px solid #e0e0e0;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: all 0.3s ease;
  background: var(--color-white);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--color-orange);
  box-shadow: 0 0 0 3px rgba(207, 92, 54, 0.1);
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-form .btn-submit {
  width: 100%;
  margin-top: 1rem;
}

.contact-success-message,
.contact-error-message {
  display: none;
  padding: 1rem;
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  text-align: center;
  font-weight: 500;
}

.contact-success-message {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.contact-error-message {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.contact-success-message.active,
.contact-error-message.active {
  display: block;
}

/* Contact button in footer */
.footer-contact-btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.75rem 1.5rem;
  background-color: var(--color-orange);
  color: var(--color-white);
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-size: 0.95rem;
}

.footer-contact-btn:hover {
  background-color: var(--color-orange-hover);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .contact-modal-content {
    padding: 2rem;
    width: 95%;
  }

  .contact-modal-header h3 {
    font-size: 1.5rem;
  }
}

/* Blog Grid Layout */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

@media (max-width: 900px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 600px) {
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* Blog Card Styles */
.blog-card {
  display: block;
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  color: inherit;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.blog-card-image {
  width: 100%;
  height: 240px;
  overflow: hidden;
  background: var(--color-cream);
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.3s ease;
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.05);
}

.blog-card-content {
  padding: 1.2rem;
}

.blog-date {
  display: inline-block;
  font-size: 0.8rem;
  color: var(--color-grey);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.blog-card-content h3 {
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
  color: var(--color-dark-green);
  line-height: 1.3;
}

.blog-card-content p {
  font-size: 0.95rem;
  color: var(--color-grey);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.read-more {
  display: inline-block;
  font-size: 0.9rem;
  color: var(--color-orange);
  font-weight: 600;
  transition: color 0.3s ease;
}

.blog-card:hover .read-more {
  color: var(--color-orange-hover);
}