/* ============================================
   GELATIN TRICK RECIPE - GLOBAL STYLES
   gelatintrickreceipe.us
   ============================================ */

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

:root {
  /* Brand Colors */
  --primary: #E8436F;
  --primary-dark: #C4325A;
  --primary-light: #FFE0E8;
  --secondary: #2D6A4F;
  --secondary-light: #D8F3DC;
  --accent: #F4A261;
  --accent-dark: #E76F51;

  /* Neutrals */
  --white: #FFFFFF;
  --off-white: #FDF8F5;
  --light-gray: #F5F0EC;
  --mid-gray: #B8B0A8;
  --dark-gray: #5C5552;
  --charcoal: #2C2826;
  --black: #1A1715;

  /* Typography */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Spacing */
  --container: 1200px;
  --gap: 1.5rem;
  --section-pad: 5rem 0;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.12);
  --shadow-xl: 0 20px 60px rgba(0,0,0,.15);

  /* Borders */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;

  /* Transitions */
  --ease: cubic-bezier(.4, 0, .2, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--off-white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color .3s var(--ease);
}

a:hover {
  color: var(--primary-dark);
}

ul, ol { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--black);
  line-height: 1.2;
  font-weight: 700;
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
h4 { font-size: 1.25rem; }

p { margin-bottom: 1rem; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* --- Skip to Content (A11y) --- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  background: var(--primary);
  color: var(--white);
  padding: .75rem 1.5rem;
  z-index: 9999;
  font-weight: 600;
}
.skip-link:focus {
  top: 0;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(253,248,245,.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0,0,0,.05);
  transition: box-shadow .3s var(--ease);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .75rem 1.25rem;
  max-width: var(--container);
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--black);
}

.logo span {
  color: var(--primary);
}

.logo img {
  width: 40px;
  height: 40px;
}

/* Desktop Nav */
.main-nav {
  display: flex;
  align-items: center;
  gap: .25rem;
}

.main-nav a {
  color: var(--charcoal);
  font-size: .9rem;
  font-weight: 500;
  padding: .5rem .85rem;
  border-radius: var(--radius-sm);
  transition: all .25s var(--ease);
  position: relative;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--primary);
  background: var(--primary-light);
}

.main-nav .dropdown {
  position: relative;
}

.main-nav .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: .5rem 0;
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all .3s var(--ease);
  z-index: 100;
}

.main-nav .dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: .6rem 1.25rem;
  font-size: .875rem;
  border-radius: 0;
}

.dropdown-menu a:hover {
  background: var(--primary-light);
}

/* CTA Button in Nav */
.nav-cta {
  background: var(--primary) !important;
  color: var(--white) !important;
  padding: .55rem 1.25rem !important;
  border-radius: var(--radius-xl) !important;
  font-weight: 600 !important;
  font-size: .85rem !important;
  transition: all .3s var(--ease) !important;
  box-shadow: 0 2px 8px rgba(232,67,111,.25);
}

.nav-cta:hover {
  background: var(--primary-dark) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(232,67,111,.35);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: .5rem;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: all .3s var(--ease);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Nav Overlay */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(253,248,245,.98);
  backdrop-filter: blur(20px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.mobile-nav.open { display: flex; }

.mobile-nav a {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--charcoal);
  padding: .75rem 2rem;
}

.mobile-nav a:hover {
  color: var(--primary);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  padding: 4rem 0 3rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(232,67,111,.08), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--primary-light);
  color: var(--primary);
  font-size: .8rem;
  font-weight: 600;
  padding: .4rem 1rem;
  border-radius: var(--radius-xl);
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.hero h1 {
  margin-bottom: 1.25rem;
  color: var(--black);
}

.hero h1 em {
  color: var(--primary);
  font-style: normal;
  position: relative;
}

.hero h1 em::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  width: 100%;
  height: 8px;
  background: rgba(232,67,111,.15);
  border-radius: 4px;
  z-index: -1;
}

.hero-text {
  font-size: 1.1rem;
  color: var(--dark-gray);
  margin-bottom: 2rem;
  max-width: 520px;
}

.hero-cta-group {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.hero-image {
  text-align: center;
  position: relative;
}

.hero-image img {
  max-height: 480px;
  margin: 0 auto;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,.15));
  animation: float 6s ease-in-out infinite;
}

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

/* Trust Badges Row */
.trust-row {
  display: flex;
  gap: 2rem;
  align-items: center;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: .5rem;
}

.trust-badge img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.trust-badge span {
  font-size: .75rem;
  font-weight: 600;
  color: var(--dark-gray);
  text-transform: uppercase;
  letter-spacing: .5px;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .95rem;
  padding: .85rem 2rem;
  border-radius: var(--radius-xl);
  border: none;
  cursor: pointer;
  transition: all .3s var(--ease);
  text-decoration: none;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(232,67,111,.3);
}

.btn-primary:hover {
  background: var(--primary-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232,67,111,.4);
}

.btn-secondary {
  background: transparent;
  color: var(--charcoal);
  border: 2px solid var(--mid-gray);
}

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-large {
  font-size: 1.1rem;
  padding: 1rem 2.5rem;
}

.btn-pulse {
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 4px 16px rgba(232,67,111,.3); }
  50% { box-shadow: 0 4px 32px rgba(232,67,111,.5); }
}

/* ============================================
   SECTIONS
   ============================================ */
section {
  padding: var(--section-pad);
}

.section-label {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary);
  margin-bottom: .75rem;
}

.section-title {
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--dark-gray);
  max-width: 640px;
}

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

.section-header .section-subtitle {
  margin: 0 auto;
}

/* Alternating BG */
.bg-white { background: var(--white); }
.bg-light { background: var(--light-gray); }
.bg-pink { background: var(--primary-light); }
.bg-green { background: var(--secondary-light); }

/* ============================================
   PRODUCT CARDS / PRICING
   ============================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.price-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  position: relative;
  border: 2px solid transparent;
  transition: all .3s var(--ease);
  box-shadow: var(--shadow-sm);
}

.price-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.price-card.featured {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
  transform: scale(1.03);
}

.price-card.featured:hover {
  transform: scale(1.05);
}

.price-card .popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: var(--white);
  font-size: .7rem;
  font-weight: 700;
  padding: .35rem 1.25rem;
  border-radius: var(--radius-xl);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.price-card img {
  max-height: 200px;
  margin: 1rem auto;
}

.price-card h3 {
  font-size: 1.1rem;
  margin-bottom: .5rem;
}

.price-card .supply {
  font-size: .85rem;
  color: var(--dark-gray);
  margin-bottom: 1rem;
}

.price-card .price {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
}

.price-card .price small {
  font-size: .85rem;
  color: var(--mid-gray);
  text-decoration: line-through;
  display: block;
  font-weight: 400;
}

.price-card .per-bottle {
  font-size: .8rem;
  color: var(--dark-gray);
  margin-bottom: 1.25rem;
}

.price-card .bonuses {
  text-align: left;
  margin: 1rem 0;
  padding: 1rem;
  background: var(--light-gray);
  border-radius: var(--radius-md);
}

.price-card .bonuses li {
  font-size: .82rem;
  padding: .35rem 0;
  color: var(--dark-gray);
  display: flex;
  align-items: flex-start;
  gap: .4rem;
}

.price-card .bonuses li::before {
  content: '✓';
  color: var(--secondary);
  font-weight: 700;
  flex-shrink: 0;
}

/* ============================================
   FEATURES / BENEFITS
   ============================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all .3s var(--ease);
  border: 1px solid rgba(0,0,0,.04);
}

.feature-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.feature-icon.pink { background: var(--primary-light); }
.feature-icon.green { background: var(--secondary-light); }
.feature-icon.orange { background: #FFF0E0; }

.feature-card h3 {
  font-size: 1.1rem;
  margin-bottom: .5rem;
}

.feature-card p {
  font-size: .92rem;
  color: var(--dark-gray);
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,.04);
}

.testimonial-card .stars {
  color: var(--accent);
  margin-bottom: .75rem;
  font-size: 1.1rem;
}

.testimonial-card blockquote {
  font-size: .95rem;
  color: var(--dark-gray);
  margin-bottom: 1rem;
  line-height: 1.65;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.testimonial-author img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-author .name {
  font-weight: 600;
  font-size: .9rem;
}

.testimonial-author .verified {
  font-size: .75rem;
  color: var(--secondary);
}

/* ============================================
   FAQ ACCORDION
   ============================================ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid rgba(0,0,0,.08);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1.25rem 0;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--charcoal);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--primary);
  transition: transform .3s var(--ease);
  flex-shrink: 0;
  margin-left: 1rem;
}

.faq-item.open .faq-question::after {
  content: '−';
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s var(--ease), padding .4s var(--ease);
}

.faq-item.open .faq-answer {
  max-height: 500px;
  padding-bottom: 1.25rem;
}

.faq-answer p {
  color: var(--dark-gray);
  font-size: .92rem;
  line-height: 1.7;
}

/* ============================================
   BLOG / ARTICLE CARDS
   ============================================ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all .3s var(--ease);
  border: 1px solid rgba(0,0,0,.04);
}

.blog-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.blog-card-image {
  height: 200px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.blog-card-image .tag {
  position: absolute;
  top: .75rem;
  left: .75rem;
  background: var(--primary);
  color: var(--white);
  font-size: .7rem;
  font-weight: 700;
  padding: .3rem .75rem;
  border-radius: var(--radius-xl);
  text-transform: uppercase;
}

.blog-card-body {
  padding: 1.5rem;
}

.blog-card-body .meta {
  font-size: .8rem;
  color: var(--mid-gray);
  margin-bottom: .5rem;
}

.blog-card-body h3 {
  font-size: 1.1rem;
  margin-bottom: .5rem;
  line-height: 1.35;
}

.blog-card-body h3 a {
  color: var(--black);
}

.blog-card-body h3 a:hover {
  color: var(--primary);
}

.blog-card-body p {
  font-size: .88rem;
  color: var(--dark-gray);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.read-more {
  font-size: .85rem;
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin-top: .75rem;
}

.read-more:hover {
  gap: .6rem;
}

/* ============================================
   ARTICLE / BLOG POST CONTENT
   ============================================ */
.article-header {
  padding: 3rem 0 2rem;
  text-align: center;
}

.article-header .breadcrumbs {
  font-size: .82rem;
  color: var(--mid-gray);
  margin-bottom: 1rem;
}

.article-header .breadcrumbs a {
  color: var(--mid-gray);
}

.article-header .breadcrumbs a:hover {
  color: var(--primary);
}

.article-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  font-size: .85rem;
  color: var(--dark-gray);
  margin-top: 1rem;
}

.article-content {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 1.25rem 4rem;
}

.article-content h2 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-top: 1rem;
}

.article-content h3 {
  margin-top: 2rem;
  margin-bottom: .75rem;
}

.article-content p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--charcoal);
}

.article-content ul,
.article-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.article-content ul li,
.article-content ol li {
  font-size: 1rem;
  margin-bottom: .5rem;
  line-height: 1.7;
  color: var(--charcoal);
  list-style: disc;
}

.article-content ol li {
  list-style: decimal;
}

.article-content blockquote {
  border-left: 4px solid var(--primary);
  padding: 1rem 1.5rem;
  background: var(--primary-light);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 1.5rem 0;
  font-style: italic;
  color: var(--dark-gray);
}

.article-content .cta-box {
  background: linear-gradient(135deg, var(--primary-light), #FFF5F7);
  padding: 2rem;
  border-radius: var(--radius-lg);
  text-align: center;
  margin: 2rem 0;
  border: 1px solid rgba(232,67,111,.15);
}

.article-content .cta-box h3 {
  color: var(--primary-dark);
  margin-bottom: .75rem;
}

.article-content .info-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: .92rem;
}

.article-content .info-table th,
.article-content .info-table td {
  padding: .75rem 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(0,0,0,.08);
}

.article-content .info-table th {
  background: var(--light-gray);
  font-weight: 600;
  color: var(--black);
}

.article-content .info-table tr:hover td {
  background: var(--primary-light);
}

/* TOC */
.toc {
  background: var(--light-gray);
  padding: 1.5rem 2rem;
  border-radius: var(--radius-lg);
  margin-bottom: 2rem;
}

.toc h4 {
  margin-bottom: .75rem;
  font-size: 1rem;
}

.toc ul {
  padding-left: 0;
}

.toc ul li {
  list-style: none !important;
  margin-bottom: .4rem;
}

.toc ul li a {
  font-size: .9rem;
  color: var(--dark-gray);
}

.toc ul li a:hover {
  color: var(--primary);
}

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--primary), var(--accent-dark));
  color: var(--white);
  padding: 4rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: rgba(255,255,255,.05);
  border-radius: 50%;
}

.cta-banner h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.cta-banner p {
  font-size: 1.1rem;
  opacity: .9;
  max-width: 600px;
  margin: 0 auto 2rem;
}

.cta-banner .btn-primary {
  background: var(--white);
  color: var(--primary);
  box-shadow: 0 4px 20px rgba(0,0,0,.2);
}

.cta-banner .btn-primary:hover {
  background: var(--off-white);
  color: var(--primary-dark);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--charcoal);
  color: rgba(255,255,255,.7);
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.footer-brand .logo {
  color: var(--white);
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: .88rem;
  line-height: 1.6;
  color: rgba(255,255,255,.6);
}

.footer-col h4 {
  color: var(--white);
  font-size: .9rem;
  font-family: var(--font-body);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.footer-col a {
  display: block;
  color: rgba(255,255,255,.6);
  font-size: .88rem;
  padding: .3rem 0;
  transition: color .25s;
}

.footer-col a:hover {
  color: var(--white);
}

.footer-bottom {
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: .8rem;
  color: rgba(255,255,255,.4);
}

.footer-bottom a {
  color: rgba(255,255,255,.5);
  font-size: .8rem;
}

.footer-bottom a:hover {
  color: var(--white);
}

.footer-legal-links {
  display: flex;
  gap: 1.5rem;
}

/* Affiliate Disclaimer */
.affiliate-disclosure {
  background: rgba(255,255,255,.05);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  margin-top: 1.5rem;
  font-size: .78rem;
  color: rgba(255,255,255,.45);
  line-height: 1.5;
}

/* ============================================
   SCHEMA / STRUCTURED DATA HELPERS
   ============================================ */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* ============================================
   GUARANTEE SECTION
   ============================================ */
.guarantee-section {
  text-align: center;
}

.guarantee-badge {
  display: inline-block;
  margin-bottom: 1.5rem;
}

.guarantee-badge img {
  width: 120px;
  margin: 0 auto;
}

/* ============================================
   COMPARISON TABLE
   ============================================ */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  font-size: .9rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.comparison-table th,
.comparison-table td {
  padding: 1rem;
  text-align: center;
  border-bottom: 1px solid rgba(0,0,0,.06);
}

.comparison-table thead th {
  background: var(--charcoal);
  color: var(--white);
  font-weight: 600;
}

.comparison-table tbody td:first-child {
  text-align: left;
  font-weight: 500;
}

.comparison-table .check { color: var(--secondary); }
.comparison-table .cross { color: #D44; }

/* ============================================
   INGREDIENTS LIST
   ============================================ */
.ingredients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.ingredient-card {
  background: var(--white);
  padding: 1.25rem;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.ingredient-card .emoji {
  font-size: 2.5rem;
  margin-bottom: .5rem;
}

.ingredient-card h4 {
  font-size: .95rem;
  margin-bottom: .35rem;
}

.ingredient-card p {
  font-size: .82rem;
  color: var(--dark-gray);
}

/* ============================================
   HOW IT WORKS STEPS
   ============================================ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  counter-reset: step;
}

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

.step-card::before {
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 auto 1.25rem;
}

.step-card h3 {
  font-size: 1.05rem;
  margin-bottom: .5rem;
}

.step-card p {
  font-size: .9rem;
  color: var(--dark-gray);
}

/* ============================================
   BACK TO TOP
   ============================================ */
.back-to-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all .3s var(--ease);
  cursor: pointer;
  border: none;
  z-index: 900;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-text { margin: 0 auto 2rem; }
  .hero-cta-group { justify-content: center; }
  .trust-row { justify-content: center; }
  .hero-image img { max-height: 360px; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .price-card.featured { transform: scale(1); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --section-pad: 3rem 0; }

  .main-nav { display: none; }
  .hamburger { display: flex; }

  .hero { padding: 2rem 0; }
  .hero h1 { font-size: 1.75rem; }

  .features-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-legal-links { justify-content: center; flex-wrap: wrap; }

  .comparison-table { font-size: .78rem; }
  .comparison-table th, .comparison-table td { padding: .6rem .5rem; }

  .article-content p { font-size: .95rem; }
}

@media (max-width: 480px) {
  .hero-cta-group { flex-direction: column; width: 100%; }
  .hero-cta-group .btn { width: 100%; }
  .trust-row { gap: 1rem; }
  .trust-badge span { font-size: .65rem; }
}

/* ============================================
   ANIMATIONS (on scroll via JS)
   ============================================ */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}

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

/* Stagger children */
.stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}

.stagger.in-view > *:nth-child(1) { transition-delay: .05s; opacity: 1; transform: translateY(0); }
.stagger.in-view > *:nth-child(2) { transition-delay: .1s; opacity: 1; transform: translateY(0); }
.stagger.in-view > *:nth-child(3) { transition-delay: .15s; opacity: 1; transform: translateY(0); }
.stagger.in-view > *:nth-child(4) { transition-delay: .2s; opacity: 1; transform: translateY(0); }
.stagger.in-view > *:nth-child(5) { transition-delay: .25s; opacity: 1; transform: translateY(0); }
.stagger.in-view > *:nth-child(6) { transition-delay: .3s; opacity: 1; transform: translateY(0); }

/* Cookie notice */
.cookie-notice {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--charcoal);
  color: rgba(255,255,255,.8);
  padding: 1rem 1.5rem;
  font-size: .82rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  z-index: 9999;
  flex-wrap: wrap;
}

.cookie-notice.hidden { display: none; }

.cookie-notice button {
  background: var(--primary);
  color: var(--white);
  border: none;
  padding: .4rem 1rem;
  border-radius: var(--radius-xl);
  cursor: pointer;
  font-size: .82rem;
  font-weight: 600;
}

/* Breadcrumbs */
.breadcrumbs-bar {
  background: var(--light-gray);
  padding: .6rem 0;
  font-size: .82rem;
}

.breadcrumbs-bar a {
  color: var(--mid-gray);
}

.breadcrumbs-bar span {
  color: var(--dark-gray);
}

/* Author box */
.author-box {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--light-gray);
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  margin-top: 2rem;
}

.author-box img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
}

.author-box .name {
  font-weight: 700;
  font-size: .95rem;
}

.author-box p {
  font-size: .85rem;
  color: var(--dark-gray);
  margin-bottom: 0;
}

/* Related articles */
.related-posts {
  padding: 3rem 0;
  border-top: 1px solid rgba(0,0,0,.06);
  margin-top: 2rem;
}

.related-posts h3 {
  margin-bottom: 1.5rem;
}

/* Sidebar on blog pages - optional */
.blog-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 2rem;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.sidebar {
  position: sticky;
  top: 80px;
  align-self: start;
}

.sidebar-widget {
  background: var(--white);
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.sidebar-widget h4 {
  font-size: .95rem;
  margin-bottom: 1rem;
  font-family: var(--font-body);
}

.sidebar-widget a {
  display: block;
  font-size: .88rem;
  padding: .35rem 0;
  color: var(--dark-gray);
}

.sidebar-widget a:hover {
  color: var(--primary);
}

.sidebar-cta {
  background: linear-gradient(135deg, var(--primary-light), #FFF5F7);
  text-align: center;
}

.sidebar-cta img {
  max-height: 160px;
  margin: 0 auto 1rem;
}

@media (max-width: 1024px) {
  .blog-layout {
    grid-template-columns: 1fr;
  }
  .sidebar {
    position: static;
  }
}

/* Print Styles */
@media print {
  .site-header, .site-footer, .back-to-top, .cookie-notice, .cta-banner { display: none; }
  body { background: #fff; color: #000; }
  a { color: #000; text-decoration: underline; }
}
