/* Inner Pages — Shared Styles */

/* Page hero banner */
.page-hero {
  padding: 160px 0 80px;
  background: var(--cream);
  border-bottom: 1px solid rgba(30, 43, 28, 0.06);
}

.page-hero .section-label {
  margin-bottom: 16px;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  color: var(--green-900);
  font-weight: 400;
  line-height: 1.15;
  max-width: 600px;
}

.page-hero h1 em {
  font-style: italic;
}

.page-section {
  padding: 80px 0;
  position: relative;
  z-index: 2;
}

.page-section + .page-section {
  border-top: 1px solid rgba(30, 43, 28, 0.06);
}

.page-content {
  max-width: 720px;
}

.page-content h2 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--green-900);
  margin-bottom: 24px;
  font-weight: 400;
}

.page-content h3 {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  color: var(--green-900);
  margin-top: 32px;
  margin-bottom: 12px;
}

.page-content p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.page-content ul {
  margin-bottom: 20px;
  padding-left: 0;
}

.page-content ul li {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-muted);
  padding-left: 20px;
  position: relative;
  margin-bottom: 8px;
}

.page-content ul li::before {
  content: '-';
  position: absolute;
  left: 0;
  color: var(--green-400);
}

.page-content .micro-line {
  font-size: 0.8rem;
  font-style: italic;
  color: var(--text-sage);
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(30, 43, 28, 0.08);
}

/* Founder quote block */
.founder-quote {
  background: var(--cream-light);
  border-left: 3px solid var(--green-400);
  padding: 40px 48px;
  margin: 40px 0;
  max-width: 720px;
}

.founder-quote blockquote {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--green-900);
  line-height: 1.6;
  margin-bottom: 16px;
}

.founder-quote cite {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-style: normal;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-sage);
}

/* Nutrition strip */
.nutrition-strip {
  background: var(--green-900);
  padding: 48px 0;
  color: var(--white);
}

.nutrition-grid {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin-bottom: 20px;
}

.nutrition-stat {
  text-align: center;
}

.nutrition-stat .stat-value {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--white);
  display: block;
  margin-bottom: 4px;
}

.nutrition-stat .stat-label {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.nutrition-tagline {
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  font-style: italic;
}

/* Stat dividers */
.nutrition-grid .nutrition-stat + .nutrition-stat {
  position: relative;
}

.nutrition-grid .nutrition-stat + .nutrition-stat::before {
  content: '';
  position: absolute;
  left: -30px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.15);
}

/* Contact page specifics */
.contact-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  margin-top: 40px;
}

.contact-card {
  background: var(--white);
  padding: 40px;
  border-radius: 12px;
  border: 1px solid rgba(30, 43, 28, 0.06);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(30, 43, 28, 0.08);
}

.contact-card h3 {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-sage);
  margin-bottom: 12px;
  margin-top: 0;
}

.contact-card p {
  font-size: 1rem;
  color: var(--text-dark);
  line-height: 1.6;
}

.contact-card a {
  color: var(--green-700);
  font-weight: 500;
  transition: color 0.3s ease;
}

.contact-card a:hover {
  color: var(--green-400);
}

/* Legal pages */
.legal-content {
  max-width: 720px;
  padding-bottom: 40px;
}

.legal-content h2 {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--green-900);
  margin-top: 40px;
  margin-bottom: 12px;
}

.legal-content p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 16px;
}

/* How to drink it */
.howto-section {
  background: var(--cream-light);
}

/* Waitlist / Preorder */
.waitlist-section {
  background: var(--green-800);
  padding: 100px 0;
  color: var(--white);
  text-align: center;
}

.waitlist-section .section-label {
  color: var(--green-200);
}

.waitlist-section h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--white);
  margin-bottom: 16px;
}

.waitlist-section p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  max-width: 480px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

/* Toggle */
.method-toggle {
  display: inline-flex;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 30px;
  padding: 4px;
  margin-bottom: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.method-toggle button {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 10px 24px;
  border-radius: 26px;
  color: rgba(255, 255, 255, 0.5);
  transition: all 0.3s var(--ease);
  background: transparent;
  border: none;
  cursor: pointer;
}

.method-toggle button.active {
  background: var(--white);
  color: var(--green-900);
}

/* Waitlist form */
.waitlist-form {
  max-width: 400px;
  margin: 0 auto;
}

.waitlist-form .form-field {
  display: none;
  margin-bottom: 16px;
}

.waitlist-form .form-field.active {
  display: block;
}

.waitlist-form input {
  width: 100%;
  padding: 14px 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 30px;
  color: var(--white);
  font-size: 14px;
  outline: none;
  transition: border-color 0.3s ease;
}

.waitlist-form input:focus {
  border-color: rgba(255, 255, 255, 0.4);
}

.waitlist-form input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.waitlist-form .btn-waitlist {
  width: 100%;
  padding: 14px 28px;
  background: var(--white);
  color: var(--green-900);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s var(--ease);
}

.waitlist-form .btn-waitlist:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.waitlist-consent {
  margin-top: 16px;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.35);
  font-style: italic;
}

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

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

.waitlist-success p {
  font-size: 1.1rem;
  color: var(--white);
}

/* Mobile */
@media (max-width: 768px) {
  .page-hero {
    padding: 140px 0 60px;
  }

  .nutrition-grid {
    flex-wrap: wrap;
    gap: 30px 40px;
  }

  .nutrition-grid .nutrition-stat + .nutrition-stat::before {
    display: none;
  }

  .founder-quote {
    padding: 24px 28px;
  }

  .contact-methods {
    grid-template-columns: 1fr;
  }

  .waitlist-section {
    padding: 60px 0;
  }
}

/* Callback Section (Contact Page) */
.callback-container {
  margin-top: 80px;
  background: var(--white);
  padding: 60px;
  border-radius: 16px;
  border: 1px solid rgba(30, 43, 28, 0.06);
  text-align: center;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.callback-container h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--green-900);
  margin-bottom: 12px;
}

.callback-container p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 32px;
  line-height: 1.6;
}

.callback-form {
  max-width: 480px;
  margin: 0 auto;
  display: flex;
  gap: 16px;
}

.callback-form input {
  flex: 1;
  padding: 14px 24px;
  border: 1.5px solid var(--green-200);
  border-radius: 30px;
  font-size: 14px;
  outline: none;
  background: var(--cream-light);
  transition: all 0.3s ease;
}

.callback-form input:focus {
  border-color: var(--green-700);
  background: var(--white);
}

.callback-form .btn-submit {
  padding: 14px 28px;
  background: var(--green-700);
  color: var(--white);
  border: none;
  border-radius: 30px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s var(--ease);
}

.callback-form .btn-submit:hover {
  background: var(--green-600);
  transform: translateY(-2px);
}

.callback-success {
  display: none;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--green-700);
  margin-top: 16px;
}

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

@media (max-width: 600px) {
  .callback-container {
    padding: 40px 24px;
    margin-top: 60px;
  }
  .callback-form {
    flex-direction: column;
    gap: 12px;
  }
  .callback-form .btn-submit {
    width: 100%;
  }
}

/* How to drink it overrides */
.howto-section {
  background: var(--green-900);
}

.howto-section .section-label {
  color: var(--green-200);
}

.howto-section h2, .howto-section p {
  color: var(--cream);
}

/* Floating Can Scroll Feature on About Page */
main {
  position: relative;
}

.scroll-can-container {
  position: absolute;
  top: 160px; /* Start below the page hero banner */
  right: 8%;
  bottom: 80px; /* Stop above the newsletter strip */
  width: 320px;
  pointer-events: none;
  z-index: 1;
}

.scroll-can-img {
  position: sticky;
  top: 25vh;
  width: 100%;
  height: auto;
  max-height: 550px;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.08));
  will-change: transform;
}

/* Hide on mobile/tablets where layout is tight and stacked */
@media (max-width: 1024px) {
  .scroll-can-container {
    display: none;
  }
}
