/* ============================================
   KETO BREAD BY 4OURMEDIA - MAIN STYLESHEET
   Styled to match ketobreads.net
   ============================================ */

/* ---------- CSS CUSTOM PROPERTIES ---------- */
:root {
  /* 
   * CLEAN, HIGH-CONTRAST COLOR PALETTE
   * Light backgrounds with dark text for maximum readability
   */
  
  /* Primary Colors - Dark browns for text */
  --color-primary: #3D2B1F;        /* Dark chocolate brown */
  --color-primary-light: #5D4037;  /* Medium brown */
  --color-primary-dark: #2C1810;   /* Very dark brown */
  
  /* Accent Colors - Warm Gold */
  --color-accent: #B8860B;         /* Dark goldenrod - visible on light bg */
  --color-accent-light: #D4A84B;   /* Light gold */
  --color-accent-dark: #8B6914;    /* Deep gold for text */
  --color-accent-text: #7A5D0A;    /* Gold for text - high contrast */
  
  /* Background Colors - Light and Clean */
  --color-background: #FFFFFF;     /* Pure white - clean, bright */
  --color-background-alt: #FAF8F5; /* Very light cream - subtle sections */
  
  /* Text Colors - Dark for Maximum Readability */
  --color-text: #1A1412;           /* Near black - perfect readability */
  --color-text-light: #3D352F;     /* Dark gray-brown - secondary text */
  --color-text-muted: #5C554F;     /* Medium - captions, still readable */
  
  /* Functional Colors */
  --color-white: #ffffff;
  --color-border: #E5E0DA;         /* Light warm border */
  
  /* CTA Colors - Warm, Inviting Call-to-Action */
  --color-cta: #D4763B;            /* Warm terracotta - friendly urgency */
  --color-cta-hover: #C16830;      /* Deeper terracotta on hover */
  --color-cta-text: #ffffff;       /* White text on CTA */
  
  /* Success/Trust Indicators */
  --color-success: #4A7C3F;        /* Forest green - healthy, natural */
  --color-highlight: #FFF9E6;      /* Light cream highlight */
  
  /* Typography - Elegant serif like ketobreads.net */
  --font-heading: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Lora", Georgia, "Times New Roman", serif;
  --font-accent: "Dancing Script", cursive;
  
  /* Spacing (8px base) */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  
  /* Shadows - Soft, elegant depth */
  --shadow-sm: 0 1px 3px rgba(45, 36, 32, 0.08);
  --shadow-md: 0 4px 12px rgba(45, 36, 32, 0.1);
  --shadow-lg: 0 12px 32px rgba(45, 36, 32, 0.14);
  --shadow-gold: 0 4px 20px rgba(201, 169, 98, 0.25);
  
  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.3s ease;
  
  /* Layout */
  --container-max: 1100px;
  --header-height: 72px;
}

/* ---------- RESET & BASE ---------- */
*,
*::before,
*::after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  /* Safe area insets for notched devices */
  padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
}

/* Fallback for browsers that don't support CSS custom properties */
body {
  font-family: "Lora", Georgia, "Times New Roman", serif;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.8;
  color: #1A1412;
  color: var(--color-text);
  background-color: #FFFFFF;
  background-color: var(--color-background);
  min-height: 100vh;
  /* Prevent horizontal scroll on mobile */
  overflow-x: hidden;
  /* Improve font rendering */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  /* Prevent image dragging */
  -webkit-user-drag: none;
  user-select: none;
}

/* Improve touch targets on mobile */
button,
a,
input,
select,
textarea {
  touch-action: manipulation;
}

a {
  color: #5D4037;
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: #D4763B;
  text-decoration: underline;
}

a:focus {
  outline: 2px solid #C9A962;
  outline-offset: 2px;
}

ul, ol {
  list-style-position: inside;
}

/* ---------- TYPOGRAPHY ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: #2C1810;
  margin-bottom: var(--space-md);
}

h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.625rem, 4vw, 2.25rem);
  font-weight: 700;
  text-align: center;
}

h3 {
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  font-weight: 600;
}

p {
  margin-bottom: var(--space-md);
}

/* ---------- LAYOUT UTILITIES ---------- */
.container {
  width: 100%;
  max-width: 1200px;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 16px;
  padding: 0 var(--space-md);
}

.section {
  padding: 64px 0;
  padding: var(--space-3xl) 0;
}

.section--alt {
  background-color: #FAF8F5;
  background-color: var(--color-background-alt);
}

/* Dark section - elegant warm brown */
.section--dark {
  background-color: #5D4037;
  background: linear-gradient(135deg, #5D4037 0%, #6D4C41 100%);
}

.section--dark .section-header__title {
  color: #FFD54F;
}

.section--dark .section-header__text {
  color: #FFFFFF;
  font-weight: 500;
}

/* Card inside dark section - white background with dark text */
.section--dark .card {
  background-color: #ffffff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.section--dark .card__title {
  color: #2C1810;
}

.section--dark .card__text,
.section--dark .card p,
.section--dark .card li {
  color: #1A1412;
}

.section--dark .card strong {
  color: #2C1810;
}

.section--dark .card a {
  color: #D4763B;
}

.section--dark .card a:hover {
  color: #C16830;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-block;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  padding: 16px 32px;
  padding: var(--space-md) var(--space-xl);
  border: none;
  border-radius: 6px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  -webkit-transition: all 0.15s ease;
  -moz-transition: all 0.15s ease;
  -o-transition: all 0.15s ease;
  transition: all 0.15s ease;
  transition: all var(--transition-fast);
  /* Prevent text selection on buttons */
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  /* Remove tap highlight on mobile */
  -webkit-tap-highlight-color: transparent;
}

.btn:focus {
  outline: 2px solid #C9A962;
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* Primary CTA button - Warm terracotta for friendly urgency */
.btn--primary {
  background-color: #D4763B;
  background-color: var(--color-cta);
  color: #ffffff;
  color: var(--color-white);
  -webkit-box-shadow: 0 4px 16px rgba(212, 118, 59, 0.35);
  box-shadow: 0 4px 16px rgba(212, 118, 59, 0.35);
  font-size: 1.125rem;
  border: none;
}

.btn--primary:hover {
  background-color: #C16830;
  background-color: var(--color-cta-hover);
  color: #ffffff;
  color: var(--color-white);
  -webkit-box-shadow: 0 6px 24px rgba(212, 118, 59, 0.45);
  box-shadow: 0 6px 24px rgba(212, 118, 59, 0.45);
  -webkit-transform: translateY(-2px);
  -moz-transform: translateY(-2px);
  -ms-transform: translateY(-2px);
  -o-transform: translateY(-2px);
  transform: translateY(-2px);
}

/* Gold accent button - Premium feel */
.btn--accent {
  background-color: #C9A962;
  color: #2C1810;
  border: 2px solid #C9A962;
  font-weight: 700;
}

.btn--accent:hover {
  background-color: #D4B878;
  color: #2C1810;
}

.btn--outline {
  background-color: transparent;
  color: #5D4037;
  border: 2px solid #5D4037;
}

.btn--outline:hover {
  background-color: #5D4037;
  color: var(--color-white);
}

.btn--large {
  padding: var(--space-md) var(--space-xl);
  font-size: 1.125rem;
}

/* ---------- HEADER ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--color-white);
  box-shadow: var(--shadow-sm);
  height: var(--header-height);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 var(--space-md);
  max-width: var(--container-max);
  margin: 0 auto;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  text-decoration: none;
}

.logo:hover {
  opacity: 0.9;
}

.logo__icon {
  position: relative;
  width: 40px;
  height: 28px;
  background-color: var(--color-accent);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.logo__icon::before,
.logo__icon::after {
  content: '';
  position: absolute;
  background-color: var(--color-primary);
  width: 2px;
  height: 10px;
  top: 6px;
  border-radius: 1px;
}

.logo__icon::before {
  left: 12px;
  transform: rotate(-15deg);
}

.logo__icon::after {
  right: 12px;
  transform: rotate(15deg);
}

.logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo__brand {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-primary);
}

.logo__sub {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  color: var(--color-text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Navigation */
.main-nav {
  display: none;
}

.main-nav--open {
  display: flex;
  position: absolute;
  top: var(--header-height);
  left: 0;
  right: 0;
  flex-direction: column;
  background-color: var(--color-white);
  box-shadow: var(--shadow-md);
  padding: var(--space-md);
}

.main-nav__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.main-nav__link {
  display: block;
  padding: var(--space-sm) var(--space-md);
  font-family: var(--font-heading);
  font-weight: 500;
  color: var(--color-text);
  border-radius: var(--radius-sm);
  transition: background-color var(--transition-fast);
}

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

/* Mobile menu button */
.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  gap: 5px;
  padding: var(--space-sm);
}

.menu-toggle:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.menu-toggle__bar {
  display: block;
  width: 24px;
  height: 3px;
  background-color: var(--color-primary);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

.menu-toggle--open .menu-toggle__bar:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle--open .menu-toggle__bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle--open .menu-toggle__bar:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Desktop navigation */
@media (min-width: 768px) {
  .main-nav {
    display: block;
    position: static;
    background: none;
    box-shadow: none;
    padding: 0;
  }

  .main-nav__list {
    flex-direction: row;
    gap: var(--space-xs);
  }

  .menu-toggle {
    display: none;
  }
}

/* ---------- FOOTER ---------- */
.site-footer {
  background-color: #5D4037 !important;
  background: linear-gradient(180deg, #5D4037 0%, #4E342E 100%) !important;
  color: #ffffff;
  padding: var(--space-2xl) 0 var(--space-lg);
}

.site-footer__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.site-footer__top {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.site-footer__brand {
  color: var(--color-white);
}

.site-footer__brand .logo__brand {
  color: #C9A962 !important;
}

.site-footer__brand .logo__sub {
  color: rgba(255, 255, 255, 0.8) !important;
}

.site-footer__brand .logo__icon {
  background-color: #C9A962;
}

.footer-nav__list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md) var(--space-lg);
}

.footer-nav__link {
  color: rgba(255, 255, 255, 0.9);
  font-family: var(--font-heading);
  font-size: 0.9rem;
}

.footer-nav__link:hover {
  color: #C9A962;
}

.site-footer__bottom {
  padding-top: var(--space-lg);
}

.footer-disclaimer {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  max-width: 800px;
}

.footer-disclaimer p {
  margin-bottom: var(--space-sm);
}

.footer-disclaimer strong {
  color: #C9A962 !important;
  font-weight: 700;
}

.site-footer__copyright {
  margin-top: var(--space-md);
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
}

@media (min-width: 768px) {
  .site-footer__top {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

/* ---------- HERO SECTION ---------- */
.hero {
  background: linear-gradient(135deg, #FFFFFF 0%, #FAF8F5 100%);
  background-color: var(--color-background);
  padding: var(--space-3xl) 0;
  text-align: center;
  border-bottom: 3px solid #B8860B;
}

.hero__tagline {
  display: inline-block;
  font-family: "Dancing Script", cursive;
  font-family: var(--font-accent);
  font-size: 1.25rem;
  color: #7A5D0A;
  margin-bottom: var(--space-md);
  font-weight: 600;
}

.hero__title {
  margin-bottom: var(--space-lg);
  color: #1A1412;
}

.hero__description {
  font-size: 1.1875rem;
  color: #1A1412;
  max-width: 650px;
  margin: 0 auto var(--space-xl);
  line-height: 1.8;
}

.hero__actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  align-items: center;
}

.hero__secondary-link {
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: underline;
  text-decoration-color: var(--color-accent);
  text-underline-offset: 4px;
  font-size: 1.0625rem;
}

.hero__secondary-link:hover {
  color: var(--color-cta);
}

@media (min-width: 640px) {
  .hero__actions {
    flex-direction: row;
    justify-content: center;
  }
}

/* ---------- CARDS ---------- */
.card {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-md);
  transition: box-shadow var(--transition-normal), transform var(--transition-normal);
  border: 1px solid #E8E4DE;
}

.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: #C9A962;
}

.card__title {
  font-size: 1.375rem;
  margin-bottom: var(--space-md);
  color: #2C1810;
}

.card__text {
  color: #1A1412;
  margin-bottom: var(--space-md);
  opacity: 1;
}

.card p {
  color: #1A1412;
}

.card ul,
.card ol {
  color: #1A1412;
}

.card li {
  color: #1A1412;
  margin-bottom: var(--space-sm);
}

.card strong {
  color: #2C1810;
}

.card a {
  color: #5D4037;
}

.card a:hover {
  color: #D4763B;
}

.card--highlight {
  background: var(--color-white);
  border: 2px solid #C9A962;
  box-shadow: var(--shadow-gold);
}

.card--highlight .card__text,
.card--highlight p {
  color: #1A1412;
}

/* ---------- FEATURE GRID ---------- */
.features {
  display: grid;
  gap: var(--space-xl);
  max-width: 900px;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .features--cols-3 {
    grid-template-columns: repeat(3, 1fr);
    align-items: start;
  }
}

.feature {
  text-align: center;
  padding: var(--space-md);
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.feature__icon {
  width: 72px;
  height: 72px;
  margin: 0 auto var(--space-lg);
  background-color: #FFF8E7;
  border: 2px solid #C9A962;
  border-radius: 50%;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  color: #5D4037;
  font-size: 1.75rem;
  -webkit-flex-shrink: 0;
  -ms-flex-negative: 0;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(201, 169, 98, 0.2);
}

.feature__title {
  font-size: 1.25rem;
  margin-bottom: var(--space-sm);
  color: #2C1810;
}

.feature__text {
  font-size: 0.9375rem;
  color: #1A1412;
  line-height: 1.6;
  text-align: center;
  width: 100%;
  padding: 0 var(--space-sm);
}

/* ---------- TWO-COLUMN CARDS ---------- */
.card-grid {
  display: grid;
  gap: var(--space-lg);
}

@media (min-width: 640px) {
  .card-grid--cols-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---------- PROS/CONS SECTION ---------- */
.pros-cons {
  display: grid;
  gap: var(--space-lg);
}

@media (min-width: 640px) {
  .pros-cons {
    grid-template-columns: repeat(2, 1fr);
  }
}

.pros-cons__column {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
}

.pros-cons__title {
  font-size: 1.25rem;
  margin-bottom: var(--space-md);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.pros-cons__title--pros {
  color: #6B8E5A;
}

.pros-cons__title--cons {
  color: #C67D7D;
}

.pros-cons__list {
  list-style: none;
}

.pros-cons__list li {
  padding: var(--space-sm) 0;
  padding-left: var(--space-lg);
  position: relative;
  color: #1A1412;
}

.pros-cons__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.pros-cons__column--pros li::before {
  background-color: #6B8E5A;
}

.pros-cons__column--cons li::before {
  background-color: #C67D7D;
}

/* ---------- COMPARISON TABLE ---------- */
.comparison-table-wrapper {
  overflow-x: auto;
  margin: var(--space-lg) 0;
}

.comparison-table {
  width: 100%;
  min-width: 600px;
  border-collapse: collapse;
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.comparison-table th,
.comparison-table td {
  padding: var(--space-md);
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}

.comparison-table th {
  font-family: var(--font-heading);
  font-weight: 600;
  background-color: #5D4037;
  color: #ffffff;
}

.comparison-table th:first-child {
  background-color: #4E342E;
}

.comparison-table tbody tr:last-child td {
  border-bottom: none;
}

.comparison-table tbody tr:hover {
  background-color: var(--color-background);
}

.comparison-table td:first-child {
  font-family: var(--font-heading);
  font-weight: 500;
}

.comparison-table .highlight {
  background-color: #FFF8E7;
  font-weight: 600;
}

/* ---------- FAQ SECTION ---------- */
.faq {
  margin: var(--space-lg) 0;
}

.faq__item {
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  border: 1px solid #E8E4DE;
}

.faq__item summary {
  padding: var(--space-md) var(--space-lg);
  font-family: var(--font-heading);
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #2C1810;
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__item summary::after {
  content: '+';
  font-size: 1.5rem;
  color: #9A7B3A;
  transition: transform var(--transition-fast);
}

.faq__item[open] summary::after {
  transform: rotate(45deg);
}

.faq__item summary:hover {
  background-color: #FFF8E7;
}

.faq__item summary:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: -2px;
}

.faq__answer {
  padding: 0 var(--space-lg) var(--space-lg);
  color: #1A1412;
}

/* ---------- BLOG CARDS ---------- */
.blog-grid {
  display: grid;
  gap: var(--space-lg);
}

@media (min-width: 640px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .blog-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.blog-card {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition-normal), transform var(--transition-normal);
}

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

.blog-card__image {
  width: 100%;
  height: 160px;
  background-color: #FAF8F5;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #5D4037;
  font-size: 3rem;
}

.blog-card__content {
  padding: var(--space-lg);
}

.blog-card__title {
  font-size: 1.125rem;
  margin-bottom: var(--space-sm);
}

.blog-card__title a {
  color: #2C1810;
}

.blog-card__title a:hover {
  color: #D4763B;
}

.blog-card__excerpt {
  color: #3D352F;
  font-size: 0.95rem;
  margin-bottom: var(--space-md);
}

.blog-card__link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  color: #D4763B;
}

/* ---------- ARTICLE CONTENT ---------- */
.article {
  max-width: 800px;
  margin: 0 auto;
  padding: var(--space-2xl) var(--space-md);
  background-color: #FFFFFF;
}

.article__header {
  margin-bottom: var(--space-xl);
}

.article__header h1 {
  color: #2C1810;
}

.article__meta {
  font-size: 0.875rem;
  color: #5D4037;
  margin-bottom: var(--space-md);
}

.article__content {
  color: #1A1412;
}

.article__content p {
  color: #1A1412;
  line-height: 1.8;
  margin-bottom: var(--space-md);
}

.article__content h2 {
  margin-top: var(--space-xl);
  color: #2C1810;
}

.article__content h3 {
  margin-top: var(--space-lg);
  color: #3D2B1F;
}

.article__content ul,
.article__content ol {
  margin-bottom: var(--space-md);
  padding-left: var(--space-lg);
}

.article__content li {
  margin-bottom: var(--space-sm);
  color: #1A1412;
}

.article__content a {
  color: #D4763B;
  text-decoration: underline;
}

.article__content a:hover {
  color: #C16830;
}

/* ---------- CTA BLOCKS ---------- */
.cta-block {
  background-color: #5D4037;
  background: linear-gradient(135deg, #5D4037 0%, #6D4C41 100%);
  color: #ffffff;
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  text-align: center;
  margin: var(--space-xl) 0;
}

.cta-block__title {
  color: #FFD54F;
  margin-bottom: var(--space-md);
}

.cta-block__text {
  color: #FFFFFF;
  margin-bottom: var(--space-lg);
}

.cta-block .btn--primary {
  background-color: #D4763B;
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(212, 118, 59, 0.4);
}

.cta-block .btn--primary:hover {
  background-color: #C16830;
}

/* Inline CTA */
.cta-inline {
  background-color: #FFF8E7;
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  border-left: 4px solid #C9A962;
  margin: var(--space-lg) 0;
}

.cta-inline__title {
  font-size: 1.125rem;
  margin-bottom: var(--space-sm);
  color: #2C1810;
}

.cta-inline p {
  color: #1A1412;
  margin-bottom: var(--space-md);
}

.cta-inline .btn--primary {
  background-color: #D4763B;
  color: #FFFFFF !important;
  display: inline-block;
  padding: 12px 24px;
  font-weight: 600;
}

/* ---------- BREADCRUMB ---------- */
.breadcrumb {
  font-size: 0.875rem;
  padding: var(--space-md) 0;
}

.breadcrumb__list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
}

.breadcrumb__item {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.breadcrumb__item:not(:last-child)::after {
  content: '›';
  color: var(--color-text-light);
}

.breadcrumb__link {
  color: var(--color-text-light);
}

.breadcrumb__link:hover {
  color: var(--color-primary);
}

.breadcrumb__current {
  color: var(--color-text);
}

/* ---------- BACK TO TOP ---------- */
.back-to-top {
  position: fixed;
  bottom: var(--space-lg);
  right: var(--space-lg);
  width: 48px;
  height: 48px;
  background-color: var(--color-primary);
  color: var(--color-white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  z-index: 100;
}

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

.back-to-top:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.back-to-top--visible {
  opacity: 1;
  visibility: visible;
}

/* ---------- UTILITIES ---------- */
.text-center {
  text-align: center;
}

.text-accent {
  color: var(--color-accent);
}

.text-primary {
  color: var(--color-primary);
}

.mt-0 { margin-top: 0; }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }

.mb-0 { margin-bottom: 0; }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- SECTION HEADERS ---------- */
.section-header {
  text-align: center;
  max-width: 750px;
  margin: 0 auto var(--space-2xl);
}

.section-header__title {
  margin-bottom: var(--space-md);
  color: #2C1810;
}

.section-header__text {
  color: #1A1412;
  font-size: 1.125rem;
  line-height: 1.8;
}

/* ---------- RECIPE CARDS ---------- */
.recipe-card {
  background-color: #FFFFFF;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  max-width: 800px;
  margin: 0 auto;
  border: 1px solid #E5E0DA;
}

.recipe-card__header {
  background: linear-gradient(135deg, #5D4037 0%, #6D4C41 100%);
  color: var(--color-white);
  padding: var(--space-xl);
  text-align: center;
  position: relative;
}

.recipe-card__number {
  display: inline-block;
  width: 48px;
  height: 48px;
  background-color: #FFD54F;
  color: #3D2B1F;
  border-radius: 50%;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 48px;
  margin-bottom: var(--space-md);
}

.recipe-card__title {
  color: var(--color-white);
  margin-bottom: var(--space-sm);
  font-size: 1.75rem;
}

.recipe-card__tagline {
  color: #D4B878;
  font-family: var(--font-accent);
  font-size: 1.125rem;
  margin: 0;
}

.recipe-card__content {
  padding: var(--space-xl);
  background-color: #FFFFFF;
}

.recipe-card__info {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  justify-content: center;
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--color-border);
}

.recipe-info {
  text-align: center;
  padding: var(--space-sm) var(--space-md);
  background-color: #FFF8E7;
  border-radius: var(--radius-md);
  border: 1px solid #E5D9C3;
}

.recipe-info__label {
  display: block;
  font-size: 0.75rem;
  color: #5D4037;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
  font-weight: 600;
}

.recipe-info__value {
  font-family: var(--font-heading);
  font-weight: 700;
  color: #1A1412;
  font-size: 1.1rem;
}

.recipe-card__description {
  margin-bottom: var(--space-xl);
}

.recipe-card__description p {
  color: #1A1412;
  font-size: 1.0625rem;
  line-height: 1.8;
}

.recipe-card__ingredients,
.recipe-card__instructions {
  margin-bottom: var(--space-xl);
}

.recipe-card__ingredients h3,
.recipe-card__instructions h3 {
  color: #5D4037;
  font-size: 1.25rem;
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid #C9A962;
  display: inline-block;
  font-weight: 700;
}

.recipe-card__ingredients ul {
  list-style: none;
  padding: 0;
}

.recipe-card__ingredients li {
  padding: var(--space-sm) 0;
  padding-left: var(--space-lg);
  position: relative;
  color: #1A1412;
  font-size: 1rem;
}

.recipe-card__ingredients li::before {
  content: "•";
  color: #9A7B3A;
  font-weight: bold;
  position: absolute;
  left: 0;
}

.recipe-card__instructions ol {
  padding-left: var(--space-lg);
}

.recipe-card__instructions li {
  padding: var(--space-sm) 0;
  color: #1A1412;
  line-height: 1.7;
  font-size: 1rem;
}

.recipe-card__instructions li::marker {
  color: #5D4037;
  font-weight: 700;
}

.recipe-card__tips {
  background-color: #FFF8E7;
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  border-left: 4px solid #C9A962;
  border: 1px solid #E5D9C3;
  border-left: 4px solid #C9A962;
}

.recipe-card__tips h4 {
  color: #5D4037;
  margin-bottom: var(--space-sm);
  font-size: 1rem;
  font-weight: 700;
}

.recipe-card__tips p {
  color: #1A1412;
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.7;
}

/* ---------- SVG PLACEHOLDER ICONS ---------- */
.icon-bread {
  width: 48px;
  height: 48px;
}

/* Print styles */
@media print {
  .site-header,
  .site-footer,
  .back-to-top,
  .btn {
    display: none !important;
  }
  
  body {
    background: white;
    color: black;
  }
}

/* ============================================
   CROSS-BROWSER & DEVICE COMPATIBILITY
   ============================================ */

/* ---------- FLEXBOX FALLBACKS ---------- */
.features {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.hero__actions {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
}

.site-header__inner {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

/* ---------- GRID FALLBACKS ---------- */
@supports not (display: grid) {
  .features--cols-3,
  .card-grid--cols-2,
  .blog-grid,
  .pros-cons {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }
  
  .features--cols-3 > * {
    -webkit-box-flex: 0;
    -webkit-flex: 0 0 33.333%;
    -ms-flex: 0 0 33.333%;
    flex: 0 0 33.333%;
    max-width: 33.333%;
  }
  
  .card-grid--cols-2 > *,
  .pros-cons > * {
    -webkit-box-flex: 0;
    -webkit-flex: 0 0 50%;
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
  }
}

/* ---------- TOUCH DEVICE OPTIMIZATIONS ---------- */
@media (hover: none) and (pointer: coarse) {
  /* Increase touch targets */
  .btn {
    min-height: 48px;
    min-width: 48px;
  }
  
  .main-nav__link {
    min-height: 44px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
  }
  
  /* Remove hover effects that don't work well on touch */
  .btn--primary:hover {
    -webkit-transform: none;
    -moz-transform: none;
    -ms-transform: none;
    -o-transform: none;
    transform: none;
  }
  
  .card:hover {
    -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  }
}

/* ---------- HIGH CONTRAST MODE ---------- */
@media (prefers-contrast: high) {
  :root {
    --color-primary: #0a3d1f;
    --color-text: #000000;
    --color-text-light: #333333;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.3);
  }
  
  .btn {
    border: 2px solid currentColor;
  }
}

/* ---------- REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    -webkit-animation-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    -webkit-animation-iteration-count: 1 !important;
    animation-iteration-count: 1 !important;
    -webkit-transition-duration: 0.01ms !important;
    -o-transition-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- DARK MODE SUPPORT ---------- */
@media (prefers-color-scheme: dark) {
  :root {
    --color-background: #1a1a1a;
    --color-text: #f0f0f0;
    --color-text-light: #cccccc;
    --color-white: #2a2a2a;
    --color-border: #404040;
    --color-primary-light: #2a7a4a;
  }
  
  .site-header {
    background-color: #2a2a2a;
  }
  
  .logo__brand {
    color: #f0f0f0;
  }
  
  .main-nav__link {
    color: #f0f0f0;
  }
  
  .card,
  .blog-card,
  .faq__item,
  .pros-cons__column {
    background-color: #2a2a2a;
    border: 1px solid #404040;
  }
  
  .comparison-table {
    background-color: #2a2a2a;
  }
  
  .comparison-table th {
    background-color: #184A2C;
  }
  
  .comparison-table th:first-child {
    background-color: #123621;
  }
}

/* ---------- EXTRA SMALL DEVICES (< 375px) ---------- */
@media (max-width: 374px) {
  html {
    font-size: 14px;
  }
  
  .container {
    padding: 0 12px;
  }
  
  .hero__title {
    font-size: 1.5rem;
  }
  
  .btn {
    padding: 12px 16px;
    font-size: 0.9rem;
  }
  
  .logo__brand {
    font-size: 1rem;
  }
  
  .logo__sub {
    font-size: 0.6rem;
  }
}

/* ---------- LANDSCAPE PHONES ---------- */
@media (max-height: 500px) and (orientation: landscape) {
  .hero {
    padding: 24px 0;
  }
  
  .section {
    padding: 24px 0;
  }
  
  .site-header {
    height: 56px;
  }
}

/* ---------- TABLET PORTRAIT ---------- */
@media (min-width: 600px) and (max-width: 899px) {
  .features--cols-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---------- LARGE SCREENS (> 1400px) ---------- */
@media (min-width: 1400px) {
  :root {
    --container-max: 1320px;
  }
  
  html {
    font-size: 18px;
  }
}

/* ---------- SAFARI-SPECIFIC FIXES ---------- */
@supports (-webkit-touch-callout: none) {
  /* Fix for iOS Safari 100vh issue */
  body {
    min-height: -webkit-fill-available;
  }
  
  /* Fix sticky header on iOS */
  .site-header {
    position: -webkit-sticky;
    position: sticky;
  }
}

/* ---------- FIREFOX-SPECIFIC FIXES ---------- */
@-moz-document url-prefix() {
  /* Improve select styling in Firefox */
  select {
    -moz-appearance: none;
  }
  
  /* Fix focus ring in Firefox */
  :focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
  }
}

/* ---------- IE11 FALLBACKS ---------- */
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
  /* IE11 doesn't support CSS custom properties */
  .btn--primary {
    background-color: #184A2C;
    color: #ffffff;
  }
  
  .site-header {
    background-color: #ffffff;
  }
  
  body {
    font-family: Georgia, "Times New Roman", serif;
    background-color: #FAF7F0;
    color: #222222;
  }
}

/* ---------- NOTCHED DEVICE SUPPORT (iPhone X+) ---------- */
@supports (padding: env(safe-area-inset-bottom)) {
  .site-footer {
    padding-bottom: calc(24px + env(safe-area-inset-bottom));
  }
  
  .back-to-top {
    bottom: calc(24px + env(safe-area-inset-bottom));
    right: calc(24px + env(safe-area-inset-right));
  }
}

/* ============================================
   PSYCHOLOGICAL CONVERSION ELEMENTS
   ============================================ */

/* ---------- URGENCY BAR ---------- */
.urgency-bar {
  background: linear-gradient(90deg, #C62828 0%, #E53935 50%, #C62828 100%);
  color: #ffffff;
  padding: 12px 0;
  text-align: center;
  font-size: 0.9375rem;
  font-weight: 500;
  position: relative;
  z-index: 1001;
}

.urgency-bar p {
  margin: 0;
}

.urgency-bar__timer {
  background-color: #FFD54F;
  color: #1A1412;
  padding: 4px 12px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.8125rem;
  margin-left: 8px;
  display: inline-block;
  animation: pulse-badge 2s infinite;
}

@keyframes pulse-badge {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* ---------- PSYCHOLOGICAL HERO ---------- */
.hero--psychological {
  background: linear-gradient(135deg, #FFF9E6 0%, #FFF5D6 50%, #FFECB3 100%);
  padding: 60px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero--psychological::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23D4A574' fill-opacity='0.08'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.hero__badge {
  display: inline-block;
  background-color: #ffffff;
  color: #5D4037;
  padding: 8px 20px;
  border-radius: 30px;
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 24px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 1;
}

.hero--psychological .hero__title {
  font-size: clamp(2rem, 5vw, 3.25rem);
  color: #2C1810;
  margin-bottom: 16px;
  line-height: 1.2;
  position: relative;
  z-index: 1;
}

.hero--psychological .hero__title em {
  color: #D4763B;
  font-style: italic;
}

.hero__subtitle {
  font-size: 1.375rem;
  color: #3D352F;
  margin-bottom: 16px;
  font-weight: 500;
  position: relative;
  z-index: 1;
}

.hero--psychological .hero__description {
  font-size: 1.125rem;
  color: #5C554F;
  max-width: 700px;
  margin: 0 auto 32px;
  line-height: 1.8;
  position: relative;
  z-index: 1;
}

.hero__cta-box {
  position: relative;
  z-index: 1;
  margin-bottom: 32px;
}

.hero__trust-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 20px;
}

.trust-badge {
  font-size: 0.875rem;
  color: #4A7C3F;
  font-weight: 600;
}

.hero__social-proof {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  position: relative;
  z-index: 1;
}

.hero__social-proof p {
  margin: 0;
  color: #5C554F;
  font-size: 0.9375rem;
}

.avatar-stack {
  display: flex;
}

.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #D4763B, #C16830);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
  margin-left: -8px;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.avatar:first-child {
  margin-left: 0;
}

.avatar:nth-child(2) { background: linear-gradient(135deg, #5D4037, #4E342E); }
.avatar:nth-child(3) { background: linear-gradient(135deg, #C9A962, #B8860B); }
.avatar:nth-child(4) { background: linear-gradient(135deg, #6D4C41, #5D4037); }
.avatar:nth-child(5) { background: #E8E4DE; color: #5D4037; }

/* ---------- PULSING CTA BUTTON ---------- */
.btn--pulse {
  animation: btn-pulse 2s infinite;
  position: relative;
}

.btn--pulse::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: inherit;
  box-shadow: 0 0 0 0 rgba(212, 118, 59, 0.7);
  animation: pulse-ring 2s infinite;
}

@keyframes btn-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.02); }
}

@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(212, 118, 59, 0.7); }
  70% { box-shadow: 0 0 0 15px rgba(212, 118, 59, 0); }
  100% { box-shadow: 0 0 0 0 rgba(212, 118, 59, 0); }
}

/* ---------- PAIN SECTION ---------- */
.section--pain {
  background-color: #FAF8F5;
  padding: 80px 0;
}

.section-label {
  display: inline-block;
  background-color: #D4763B;
  color: #ffffff;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.pain-points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.pain-point {
  background-color: #ffffff;
  padding: 32px 24px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid #E5E0DA;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pain-point:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.pain-point__icon {
  font-size: 3rem;
  margin-bottom: 16px;
}

.pain-point h3 {
  color: #2C1810;
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.pain-point p {
  color: #5C554F;
  font-size: 0.9375rem;
  margin: 0;
  line-height: 1.7;
}

.pain-highlight {
  background: linear-gradient(135deg, #5D4037, #4E342E);
  padding: 32px;
  border-radius: 12px;
  text-align: center;
}

.pain-highlight__text {
  color: #ffffff;
  font-size: 1.125rem;
  margin: 0;
  line-height: 1.7;
}

.pain-highlight__text strong {
  color: #FFD54F;
}

/* ---------- SOLUTION SECTION ---------- */
.section--solution {
  background-color: #ffffff;
  padding: 80px 0;
}

.section--solution .section-header__title em {
  color: #D4763B;
  font-style: italic;
}

.transformation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.transformation-card {
  padding: 32px;
  border-radius: 12px;
}

.transformation-card h3 {
  font-size: 1.375rem;
  margin-bottom: 20px;
  text-align: center;
}

.transformation-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.transformation-card li {
  padding: 12px 0;
  padding-left: 8px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  font-size: 1rem;
}

.transformation-card li:last-child {
  border-bottom: none;
}

.transformation-card--before {
  background-color: #FFF5F5;
  border: 2px solid #FFCDD2;
}

.transformation-card--before h3 {
  color: #C62828;
}

.transformation-card--before li {
  color: #5C554F;
}

.transformation-card--after {
  background-color: #F1F8E9;
  border: 2px solid #C5E1A5;
  box-shadow: 0 8px 30px rgba(76, 175, 80, 0.15);
}

.transformation-card--after h3 {
  color: #2E7D32;
}

.transformation-card--after li {
  color: #2C1810;
  font-weight: 500;
}

/* ---------- TESTIMONIALS SECTION ---------- */
.section--testimonials {
  background: linear-gradient(135deg, #5D4037 0%, #4E342E 100%);
  padding: 80px 0;
}

.section--testimonials .section-label {
  background-color: #FFD54F;
  color: #2C1810;
}

.section--testimonials .section-header__title {
  color: #ffffff;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.testimonial {
  background-color: #ffffff;
  padding: 32px;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.testimonial--featured {
  border: 3px solid #FFD54F;
  transform: scale(1.02);
}

.testimonial__stars {
  color: #FFB300;
  font-size: 1.25rem;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.testimonial__quote {
  font-size: 1rem;
  color: #3D352F;
  line-height: 1.8;
  margin: 0 0 20px;
  font-style: italic;
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #D4763B, #C16830);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.125rem;
}

.testimonial__author strong {
  display: block;
  color: #2C1810;
}

.testimonial__verified {
  color: #4A7C3F;
  font-size: 0.8125rem;
  font-weight: 600;
}

/* ---------- VALUE STACK SECTION ---------- */
.section--value {
  background-color: #FAF8F5;
  padding: 80px 0;
}

.value-stack {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto 40px;
}

.value-item {
  background-color: #ffffff;
  padding: 28px;
  border-radius: 12px;
  border: 1px solid #E5E0DA;
  text-align: center;
  position: relative;
}

.value-item--main {
  grid-column: 1 / -1;
  border: 3px solid #D4763B;
  background: linear-gradient(135deg, #FFF9E6 0%, #ffffff 100%);
  padding: 40px;
}

@media (min-width: 768px) {
  .value-item--main {
    text-align: left;
  }
  
  .value-item--main .value-item__features {
    columns: 2;
    column-gap: 32px;
  }
}

.value-item__badge {
  display: inline-block;
  background-color: #D4763B;
  color: #ffffff;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.value-item--bonus .value-item__badge {
  background-color: #4A7C3F;
}

.value-item h3 {
  color: #2C1810;
  font-size: 1.375rem;
  margin-bottom: 8px;
}

.value-item p {
  color: #5C554F;
  font-size: 0.9375rem;
  margin-bottom: 16px;
}

.value-item__features {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  text-align: left;
}

.value-item__features li {
  padding: 8px 0;
  color: #3D352F;
  font-size: 0.9375rem;
}

.value-item__price {
  color: #D4763B;
  font-weight: 700;
  font-size: 1.125rem;
}

.value-total {
  text-align: center;
  background: linear-gradient(135deg, #2C1810 0%, #3D2B1F 100%);
  padding: 40px;
  border-radius: 12px;
  max-width: 500px;
  margin: 0 auto;
}

.value-total__calculation {
  margin-bottom: 12px;
}

.value-total__calculation p {
  color: #E8E4DE;
  font-size: 1.125rem;
  margin: 0;
}

.value-total__today {
  font-size: 1.5rem !important;
  color: #ffffff !important;
  margin-top: 8px !important;
}

.value-total__today strong {
  color: #FFD54F;
  font-size: 2rem;
}

.value-total__savings {
  color: #4CAF50;
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0;
}

.strikethrough {
  text-decoration: line-through;
  opacity: 0.7;
}

/* ---------- GUARANTEE SECTION ---------- */
.section--guarantee {
  background-color: #ffffff;
  padding: 80px 0;
}

.guarantee-box {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  padding: 48px;
  background: linear-gradient(135deg, #F1F8E9 0%, #E8F5E9 100%);
  border: 3px solid #4CAF50;
  border-radius: 16px;
}

.guarantee-box__icon {
  font-size: 4rem;
  margin-bottom: 20px;
}

.guarantee-box h2 {
  color: #2E7D32;
  font-size: 1.75rem;
  margin-bottom: 20px;
}

.guarantee-box p {
  color: #3D352F;
  font-size: 1.0625rem;
  line-height: 1.8;
}

.guarantee-box__subtext {
  color: #2E7D32 !important;
  font-size: 1.125rem !important;
  margin-top: 20px !important;
}

/* ---------- FAQ SECTION ENHANCED ---------- */
.section--faq {
  background-color: #FAF8F5;
  padding: 80px 0;
}

.section--faq .faq {
  max-width: 800px;
  margin: 0 auto;
}

.section--faq .faq__item {
  margin-bottom: 16px;
  border: 1px solid #E5E0DA;
  border-radius: 8px;
  overflow: hidden;
}

.section--faq .faq__item summary {
  background-color: #ffffff;
  padding: 20px 24px;
  font-weight: 600;
  cursor: pointer;
}

.section--faq .faq__answer {
  background-color: #ffffff;
  padding: 0 24px 20px;
}

/* ---------- FINAL CTA SECTION ---------- */
.section--final-cta {
  background: linear-gradient(135deg, #5D4037 0%, #3E2723 100%);
  padding: 80px 0;
}

.final-cta {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.final-cta h2 {
  color: #ffffff;
  font-size: 2.5rem;
  margin-bottom: 12px;
}

.final-cta__subtitle {
  color: #E8E4DE;
  font-size: 1.25rem;
  margin-bottom: 32px;
}

.final-cta__offer {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 24px;
  border-radius: 12px;
  margin-bottom: 24px;
}

.final-cta__price {
  color: #E8E4DE;
  font-size: 1.25rem;
  margin: 0 0 8px;
}

.highlight-price {
  color: #FFD54F;
  font-size: 2.5rem;
}

.final-cta__savings {
  color: #4CAF50;
  font-size: 1.125rem;
  font-weight: 700;
  margin: 0;
}

.final-cta__guarantees {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin: 24px 0;
  color: #E8E4DE;
  font-size: 0.9375rem;
}

.final-cta__urgency {
  color: #FFCDD2;
  font-size: 0.9375rem;
  margin: 24px 0 0;
}

/* ---------- EMOTIONAL CLOSE SECTION ---------- */
.section--emotional-close {
  background-color: #FFF9E6;
  padding: 80px 0;
}

.emotional-close {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.emotional-close h3 {
  color: #2C1810;
  font-size: 1.75rem;
  margin-bottom: 24px;
}

.emotional-close p {
  color: #3D352F;
  font-size: 1.125rem;
  line-height: 1.9;
  margin-bottom: 20px;
}

.emotional-close strong {
  color: #2C1810;
}

.emotional-close .btn {
  margin-top: 20px;
}

/* ---------- RESPONSIVE ADJUSTMENTS ---------- */
@media (max-width: 768px) {
  .urgency-bar {
    font-size: 0.8125rem;
    padding: 10px 0;
  }
  
  .urgency-bar__timer {
    display: block;
    margin: 8px auto 0;
  }
  
  .hero--psychological {
    padding: 40px 0 60px;
  }
  
  .hero__trust-badges {
    flex-direction: column;
    gap: 8px;
  }
  
  .hero__social-proof {
    flex-direction: column;
    gap: 8px;
  }
  
  .transformation-card--featured {
    transform: none;
  }
  
  .testimonial--featured {
    transform: none;
  }
  
  .final-cta h2 {
    font-size: 1.75rem;
  }
  
  .highlight-price {
    font-size: 2rem;
  }
  
  .final-cta__guarantees {
    flex-direction: column;
    gap: 12px;
  }
}
