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

:root {
  --brand:        #6B8F6E;
  --brand-dark:   #4d6e50;
  --brand-light:  #e8f0e9;
  --brand-from:   #6B8F6E;
  --brand-to:     #c17fa4;
  --accent:       #F2A7A7;
  --accent-light: #fde8e8;
  --bg:           #FFFFFF;
  --bg-soft:      #FAF9F7;
  --bg-card:      #FFFFFF;
  --bg-card2:     #F5F3F1;
  --border:       rgba(0,0,0,.08);
  --border-md:    rgba(0,0,0,.12);
  --text:         #1a1a1a;
  --text-muted:   #6B7280;
  --radius:       16px;
  --radius-sm:    10px;
  --nav-h:        68px;
  --shadow:       0 1px 3px rgba(0,0,0,.07), 0 4px 16px rgba(0,0,0,.05);
  --shadow-hover: 0 4px 12px rgba(0,0,0,.10), 0 16px 48px rgba(0,0,0,.08);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== GRADIENT UTILITY ===== */
.gradient-text {
  background: linear-gradient(135deg, var(--brand-from), var(--brand-to));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all .2s ease;
  white-space: nowrap;
  border-radius: 100px;
  font-size: 15px;
  padding: 12px 24px;
  text-decoration: none;
}

.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 4px 20px rgba(107,143,110,.28);
}
.btn-primary:hover {
  background: var(--brand-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(107,143,110,.38);
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1.5px solid var(--border-md);
}
.btn-ghost:hover {
  border-color: var(--brand);
  color: var(--brand);
  background: var(--brand-light);
}

.btn-accent {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 20px rgba(242,167,167,.35);
}
.btn-accent:hover {
  background: #e8909090;
  transform: translateY(-2px);
}

.btn-small {
  font-size: 13px;
  padding: 8px 18px;
  background: var(--brand);
  color: #fff;
}
.btn-small:hover { transform: translateY(-1px); background: var(--brand-dark); }

.btn-outline {
  background: transparent;
  color: var(--brand);
  border: 1.5px solid var(--brand);
  font-size: 14px;
  padding: 10px 22px;
}
.btn-outline:hover {
  background: var(--brand);
  color: #fff;
}

/* ===== NAV ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  transition: background .3s, box-shadow .3s;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 1px 20px rgba(0,0,0,.06);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.nav-logo {
  width: 32px; height: 32px;
  border-radius: 8px;
  object-fit: cover;
}
.nav-logo-placeholder {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--brand-from), var(--brand-to));
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 800; color: #fff;
  letter-spacing: -.5px;
  flex-shrink: 0;
}
.nav-name {
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -.3px;
  color: var(--text);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  padding: 6px 12px;
  border-radius: 8px;
  transition: color .2s, background .2s;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--brand);
  background: var(--brand-light);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-socials {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-socials a {
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  border-radius: 8px;
  transition: color .2s, background .2s;
}
.nav-socials a:hover {
  color: var(--brand);
  background: var(--brand-light);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 60px) 0 100px;
  overflow: hidden;
  background: var(--bg);
}

.hero-bg-blob {
  position: absolute;
  top: -100px; right: -200px;
  width: 700px; height: 700px;
  background: radial-gradient(ellipse at center, rgba(107,143,110,.08) 0%, transparent 65%);
  pointer-events: none;
}
.hero-bg-blob-2 {
  position: absolute;
  bottom: -100px; left: -150px;
  width: 500px; height: 500px;
  background: radial-gradient(ellipse at center, rgba(242,167,167,.10) 0%, transparent 65%);
  pointer-events: none;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--brand);
  background: var(--brand-light);
  border: 1px solid rgba(107,143,110,.25);
  border-radius: 100px;
  padding: 5px 14px;
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -2px;
  margin-bottom: 20px;
  color: var(--text);
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 28px;
}
.hero-stat strong {
  display: block;
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.5px;
}
.hero-stat span {
  font-size: 13px;
  color: var(--text-muted);
}
.hero-stat-divider {
  width: 1px;
  height: 32px;
  background: var(--border-md);
}

.typed-text {
  display: inline-block;
  transition: opacity .4s ease, transform .4s ease;
}

/* ===== HERO VISUAL ===== */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 560px;
}

.hero-visual-center {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-mark {
  width: 120px; height: 120px;
  border-radius: 28px;
  background: linear-gradient(135deg, var(--brand-from), var(--brand-to));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -1px;
  box-shadow: 0 20px 60px rgba(107,143,110,.3), 0 0 0 1px rgba(107,143,110,.15);
}
.brand-mark img {
  width: 120px; height: 120px;
  border-radius: 28px;
  object-fit: cover;
}

.hv-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(107,143,110,.18);
  animation: pulse-ring 3.5s ease-out infinite;
}
.hv-ring-1 { width: 200px; height: 200px; animation-delay: 0s; }
.hv-ring-2 { width: 300px; height: 300px; animation-delay: .9s; border-color: rgba(193,127,164,.12); }
.hv-ring-3 { width: 400px; height: 400px; animation-delay: 1.8s; border-color: rgba(107,143,110,.08); }

@keyframes pulse-ring {
  0%   { transform: scale(.9); opacity: 0; }
  40%  { opacity: 1; }
  100% { transform: scale(1.06); opacity: 0; }
}

/* Floating recipe cards */
.floating-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  box-shadow: var(--shadow);
  white-space: nowrap;
  z-index: 3;
  animation: float 4.5s ease-in-out infinite;
}
/* Cardurile plutitoare sunt linkuri către rețetă. */
.floating-card {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: box-shadow .2s ease, border-color .2s ease;
}
.floating-card:hover {
  box-shadow: var(--shadow-hover);
  border-color: var(--brand);
}

.floating-card .card-emoji { font-size: 22px; line-height: 1; }
.card-recipe-title { font-size: 12px; font-weight: 700; color: var(--text); }
.card-recipe-meta { font-size: 11px; color: var(--text-muted); margin-top: 1px; }

.card-tag {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 100px;
  flex-shrink: 0;
  align-self: flex-start;
  margin-top: 2px;
}
.card-tag-green  { background: var(--brand-light); color: var(--brand); }
.card-tag-pink   { background: var(--accent-light); color: #c04060; }
.card-tag-yellow { background: #fef9c3; color: #854d0e; }
.card-tag-orange { background: #fff7ed; color: #9a3412; }
.card-tag-purple { background: #f3e8ff; color: #7c3aed; }

#recipe-cards-container { position: absolute; inset: 0; pointer-events: none; }
/* cardurile sunt linkuri: ele trebuie sa primeasca clicul */
.floating-card {
  pointer-events: auto;
  max-width: 250px;   /* fara limita se suprapun pe ecrane inguste */
}
.floating-card .card-recipe-title,
.floating-card .card-recipe-meta {
  overflow: hidden;
  text-overflow: ellipsis;
}
.fc-slot { position: absolute; }

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

/* ===== SECTION COMMON ===== */
.section-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 12px;
  color: var(--text);
}

.section-sub {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 52px;
}

.section-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.section-header-row .section-title { margin-bottom: 0; }

/* ===== RECIPE CARDS ===== */
.recipes-section {
  padding: 100px 0;
  background: var(--bg-soft);
}

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

.recipe-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s;
  cursor: pointer;
  text-decoration: none;
  display: block;
  color: inherit;
}
.recipe-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: var(--border-md);
}

.recipe-thumb {
  width: 100%;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
  position: relative;
  overflow: hidden;
}
.recipe-thumb-bg-green  { background: linear-gradient(135deg, #e8f0e9, #d0e4d2); }
.recipe-thumb-bg-pink   { background: linear-gradient(135deg, #fde8e8, #f9d0d0); }
.recipe-thumb-bg-yellow { background: linear-gradient(135deg, #fef9c3, #fef08a); }
.recipe-thumb-bg-orange { background: linear-gradient(135deg, #fff7ed, #fed7aa); }
.recipe-thumb-bg-purple { background: linear-gradient(135deg, #f3e8ff, #e9d5ff); }
.recipe-thumb-bg-cream  { background: linear-gradient(135deg, #faf6f0, #f0e8dc); }

.recipe-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  position: absolute; inset: 0;
}

.recipe-body {
  padding: 20px;
}

.recipe-tags {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.tag {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 100px;
  letter-spacing: .3px;
}
.tag-green  { background: var(--brand-light); color: var(--brand-dark); }
.tag-pink   { background: var(--accent-light); color: #9d2a44; }
.tag-yellow { background: #fef9c3; color: #854d0e; }
.tag-orange { background: #fff7ed; color: #9a3412; }
.tag-purple { background: #f3e8ff; color: #6d28d9; }
.tag-muted  { background: #f3f4f6; color: #6B7280; }
.tag-pcos   { background: #dcfce7; color: #166534; font-weight: 800; }

.recipe-card h3 {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 8px;
  color: var(--text);
}

.recipe-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.recipe-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: var(--text-muted);
}
.recipe-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ===== SHOP / PDF SECTION ===== */
.shop-section {
  padding: 100px 0;
  background: var(--bg);
}

/* auto-fit: arată bine și cu un singur card, nu doar cu trei */
.pdf-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 360px));
  gap: 24px;
}

.pdf-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s;
}
.pdf-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--border-md);
}

.pdf-cover {
  width: 100%;
  aspect-ratio: 3/4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  position: relative;
  padding: 32px 24px;
}
.pdf-cover-green  { background: linear-gradient(145deg, #c8deca, #a8c4ab); }
.pdf-cover-pink   { background: linear-gradient(145deg, #f9d0d0, #f0b0b0); }
.pdf-cover-cream  { background: linear-gradient(145deg, #f5f0e8, #e8ddd0); }
.pdf-cover-sage   { background: linear-gradient(145deg, #d4e4d6, #b8cebc); }
.pdf-cover-purple { background: linear-gradient(145deg, #e8d5f0, #d0b0e0); }

/* Grila de 4 coloane pentru colecțiile premium (pagina Shop) */
.pdf-grid-2 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 1024px) { .pdf-grid-2 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .pdf-grid-2 { grid-template-columns: 1fr; } }

.stripe-note {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 10px;
}
.stripe-note svg { flex-shrink: 0; }

.page-shop .faq-section { background: var(--bg); }

/* Capcană pentru roboți: invizibilă pentru oameni, completată de boți. */
.fmb-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.pdf-cover-emoji  { font-size: 56px; }
.pdf-cover-title  {
  font-size: 18px;
  font-weight: 800;
  color: rgba(0,0,0,.7);
  text-align: center;
  line-height: 1.3;
  letter-spacing: -.3px;
}
.pdf-cover-subtitle {
  font-size: 12px;
  font-weight: 600;
  color: rgba(0,0,0,.45);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.pdf-badge {
  position: absolute;
  top: 16px; right: 16px;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 100px;
  letter-spacing: .3px;
}
.pdf-badge-free { background: var(--brand); color: #fff; }
.pdf-badge-paid { background: #1a1a1a; color: #fff; }

.pdf-body {
  padding: 20px;
}
.pdf-body h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text);
}
.pdf-body p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}
.pdf-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.pdf-pages {
  font-size: 13px;
  color: var(--text-muted);
}
.pdf-price {
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
}
.pdf-price-free {
  font-size: 16px;
  font-weight: 700;
  color: var(--brand);
}

/* ===== ABOUT SECTION ===== */
.about-section {
  padding: 100px 0;
  background: var(--bg-soft);
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-photo-wrap {
  width: 100%;
  aspect-ratio: 4/5;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(145deg, #e8f0e9, #f9d0d0);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80px;
}
.about-photo-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.about-tag {
  position: absolute;
  bottom: -20px; right: -20px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  box-shadow: var(--shadow);
}
.about-tag strong { display: block; font-size: 20px; font-weight: 800; color: var(--text); }
.about-tag span   { font-size: 12px; color: var(--text-muted); }

.about-content h2 {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--text);
}
.about-content p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 16px;
}

.about-highlights {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 28px 0;
}
.about-highlight {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--text);
  font-weight: 500;
}
.about-highlight-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--brand-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 17px;
  flex-shrink: 0;
}

/* ===== NEWSLETTER SECTION ===== */
.newsletter-section {
  padding: 80px 0 120px;
  background: var(--bg);
}

.newsletter-box {
  position: relative;
  text-align: center;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 72px 40px;
  overflow: hidden;
}

.newsletter-glow {
  position: absolute;
  top: -100px; left: 50%; transform: translateX(-50%);
  width: 600px; height: 400px;
  background: radial-gradient(ellipse, rgba(107,143,110,.10) 0%, transparent 65%);
  pointer-events: none;
}
.newsletter-glow-2 {
  position: absolute;
  bottom: -120px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(ellipse, rgba(242,167,167,.12) 0%, transparent 65%);
  pointer-events: none;
}

.newsletter-box .section-label { margin-bottom: 16px; }
.newsletter-box h2 {
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 12px;
  color: var(--text);
}
.newsletter-box > p {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.newsletter-perks {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.newsletter-perk {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}
.newsletter-perk span:first-child { font-size: 16px; }

.newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 460px;
  margin: 0 auto;
}

.email-input {
  flex: 1;
  font-family: inherit;
  font-size: 15px;
  background: #fff;
  border: 1.5px solid var(--border-md);
  border-radius: 100px;
  padding: 12px 20px;
  color: var(--text);
  outline: none;
  transition: border-color .2s;
}
.email-input::placeholder { color: #aaa; }
.email-input:focus { border-color: var(--brand); }
.email-input:disabled { opacity: .5; }

.newsletter-note {
  margin-top: 16px;
  font-size: 13px;
  color: var(--text-muted);
}

/* ===== FAQ ===== */
.faq-section { padding: 100px 0; background: var(--bg-soft); }

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .2s;
}
.faq-item.open { border-color: rgba(107,143,110,.4); }

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  text-align: left;
}
.faq-question:hover { color: var(--brand); }

.faq-icon {
  font-size: 22px;
  font-weight: 300;
  color: var(--brand);
  flex-shrink: 0;
  line-height: 1;
  transition: transform .3s ease;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
  padding: 0 24px;
}
.faq-item.open .faq-answer {
  max-height: 200px;
  padding: 0 24px 20px;
}
.faq-answer p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}
.faq-answer a { color: var(--brand); }

/* ===== FOOTER ===== */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 28px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-copy { font-size: 13px; color: var(--text-muted); }
.footer-links {
  display: flex;
  gap: 24px;
  font-size: 13px;
  color: var(--text-muted);
}
.footer-links a:hover { color: var(--brand); }

.footer-socials {
  display: flex;
  gap: 8px;
  align-items: center;
}
.footer-socials a {
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  border-radius: 8px;
  border: 1px solid var(--border);
  transition: color .2s, border-color .2s, background .2s;
}
.footer-socials a:hover {
  color: var(--brand);
  border-color: rgba(107,143,110,.4);
  background: var(--brand-light);
}

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .7s cubic-bezier(.22,1,.36,1), transform .7s cubic-bezier(.22,1,.36,1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: .12s; }
.reveal-delay-2 { transition-delay: .24s; }
.reveal-delay-3 { transition-delay: .36s; }
.reveal-delay-4 { transition-delay: .48s; }

/* ===== MODAL (Free PDF email gate) ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}
.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.modal {
  background: #fff;
  border-radius: 24px;
  padding: 48px 40px;
  max-width: 480px;
  width: 100%;
  text-align: center;
  position: relative;
  box-shadow: 0 24px 80px rgba(0,0,0,.2);
  transform: translateY(20px) scale(.97);
  transition: transform .25s ease;
}
.modal-overlay.open .modal {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 22px;
  color: var(--text-muted);
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 8px;
  transition: background .2s, color .2s;
}
.modal-close:hover { background: var(--bg-soft); color: var(--text); }

.modal-emoji { font-size: 48px; margin-bottom: 16px; }
.modal h3 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.5px;
  margin-bottom: 8px;
  color: var(--text);
}
.modal p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 24px;
}
.modal-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.modal-form .email-input {
  text-align: center;
  border-radius: var(--radius-sm);
}
.modal-note {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 8px;
}

/* ===== PAGE HERO (blog/shop) ===== */
.page-hero {
  padding: calc(var(--nav-h) + 48px) 0 60px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
}
.page-hero .section-label { margin-bottom: 10px; }
.page-hero h1 {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 1.1;
  margin-bottom: 12px;
  color: var(--text);
}
.page-hero p {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 540px;
  line-height: 1.65;
}

/* ===== BLOG FILTERS ===== */
.filter-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.filter-btn {
  font-size: 13px;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: 100px;
  border: 1.5px solid var(--border-md);
  background: #fff;
  color: var(--text-muted);
  cursor: pointer;
  transition: all .2s;
  font-family: inherit;
}
.filter-btn:hover {
  border-color: var(--brand);
  color: var(--brand);
  background: var(--brand-light);
}
.filter-btn.active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

/* ===== BLOG PAGE ===== */
.blog-page-section { padding: 60px 0 100px; }

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

/* ===== SHOP PAGE ===== */
.shop-page-section { padding: 60px 0 100px; }

.shop-section-title {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.5px;
  margin-bottom: 24px;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 10px;
}
.shop-section-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border-md);
  border-radius: 2px;
}

.shop-divider {
  height: 1px;
  background: var(--border);
  margin: 60px 0;
}

/* Cookie banner styles are in cookies.js (injectate dinamic) */

/* ===== LEGAL PAGES ===== */
.legal-page {
  padding: calc(var(--nav-h) + 60px) 0 100px;
}
.legal-content {
  max-width: 760px;
  margin: 0 auto;
}
.legal-content h1 {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 8px;
}
.legal-updated {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 40px;
}
.legal-content h2 {
  font-size: 20px;
  font-weight: 700;
  margin: 36px 0 12px;
  color: var(--text);
}
.legal-content p, .legal-content li {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 12px;
}
.legal-content ul { padding-left: 20px; }
.legal-content a { color: var(--brand); }

/* ===== 50 DAYS REAL CHALLENGE ===== */
.challenge-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #f0fdf4 0%, #fdf2f8 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.challenge-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 64px;
}
.challenge-header .section-title { margin-bottom: 16px; }
.challenge-header .section-sub {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0 auto;   /* auto = centrat; fără el textul stă lipit de stânga */
}

.challenge-pillars {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  margin-bottom: 56px;
}

.challenge-pillar {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: box-shadow .2s, transform .2s, border-color .2s;
}
.challenge-pillar:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: var(--brand);
}

.pillar-icon {
  font-size: 36px;
  margin-bottom: 16px;
  line-height: 1;
}
.challenge-pillar h3 {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -.3px;
  color: var(--text);
  margin-bottom: 10px;
}
.challenge-pillar p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
}

.challenge-cta {
  text-align: center;
}
.challenge-cta-text {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.challenge-cta .btn {
  display: inline-flex;
  align-items: center;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
  .hero .container {
    grid-template-columns: 1fr;
    gap: 60px;
    text-align: center;
  }
  .hero-subtitle { margin: 0 auto 36px; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { height: 360px; }
  .recipe-grid { grid-template-columns: repeat(2, 1fr); }
  .pdf-grid { grid-template-columns: repeat(2, 1fr); }
  .about-inner { grid-template-columns: 1fr; gap: 48px; }
  .recipe-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .challenge-pillars { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .hero { padding-bottom: 60px; }
  .hero-visual { display: none; }
  .challenge-pillars { grid-template-columns: 1fr; }
  .recipe-grid { grid-template-columns: 1fr; }
  .pdf-grid { grid-template-columns: 1fr; }
  .recipe-grid-4 { grid-template-columns: 1fr; }
  .newsletter-form { flex-direction: column; }
  .email-input { text-align: center; border-radius: var(--radius-sm); }
  .newsletter-box { padding: 48px 24px; }
  .footer-inner { flex-direction: column; align-items: center; text-align: center; gap: 16px; }
  .footer-links { justify-content: center; }
  .footer-copy { order: 3; }
  .nav-links { display: none; }
  .modal { padding: 40px 24px; }
  .about-tag { position: static; margin-top: 16px; }
}

/* ===== PAGINA UNEI REȚETE ===== */
.recipe-page {
  padding: calc(var(--nav-h) + 48px) 0 80px;
}

.recipe-back {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  margin-bottom: 28px;
  transition: color .18s;
}
.recipe-back:hover { color: var(--brand); }

.recipe-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 64px;
}

.recipe-head-text h1 {
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 900;
  letter-spacing: -1px;
  line-height: 1.15;
  margin: 14px 0 18px;
}

.recipe-intro {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 28px;
}

.recipe-facts {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.recipe-fact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 12px 18px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  min-width: 96px;
}
.recipe-fact span   { font-size: 18px; }
.recipe-fact strong { font-size: 15px; font-weight: 700; }
.recipe-fact small  { font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: .6px; }

.recipe-photo {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
}
.recipe-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  position: absolute; inset: 0;
}
.recipe-photo-emoji { font-size: 96px; }

.recipe-body-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 56px;
  align-items: start;
  margin-bottom: 64px;
}

.recipe-body-grid h2,
.recipe-tips h2,
.recipe-related h2 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.4px;
  margin-bottom: 20px;
}

.recipe-ingredients {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  position: sticky;
  top: calc(var(--nav-h) + 24px);
}
.recipe-ingredients ul { list-style: none; }
.recipe-ingredients li {
  font-size: 15px;
  line-height: 1.6;
  padding: 11px 0 11px 26px;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.recipe-ingredients li:last-child { border-bottom: 0; }
.recipe-ingredients li::before {
  content: '';
  position: absolute;
  left: 4px; top: 19px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--brand);
}

.recipe-steps ol {
  list-style: none;
  counter-reset: pas;
}
.recipe-steps li {
  counter-increment: pas;
  position: relative;
  padding: 0 0 26px 52px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-muted);
}
.recipe-steps li::before {
  content: counter(pas);
  position: absolute;
  left: 0; top: -2px;
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--brand-light);
  color: var(--brand-dark);
  font-size: 14px; font-weight: 800;
}
.recipe-steps li:last-child { padding-bottom: 0; }

.recipe-tips {
  background: var(--accent-light);
  border: 1px solid rgba(242,167,167,.4);
  border-radius: var(--radius);
  padding: 28px 32px;
  margin-bottom: 64px;
  max-width: 760px;
}
.recipe-tips ul { list-style: none; }
.recipe-tips li {
  font-size: 15px;
  line-height: 1.7;
  padding: 7px 0 7px 24px;
  position: relative;
}
.recipe-tips li::before {
  content: '💡';
  position: absolute;
  left: 0; top: 7px;
  font-size: 13px;
}

.recipe-related { border-top: 1px solid var(--border); padding-top: 48px; }

@media (max-width: 900px) {
  .recipe-head { grid-template-columns: 1fr; gap: 32px; }
  .recipe-head-text { order: 2; }
  .recipe-photo { order: 1; }
  .recipe-body-grid { grid-template-columns: 1fr; gap: 40px; }
  .recipe-ingredients { position: static; }
}

/* Banda afișată deasupra unei rețete nepublicate (o vede doar administratorul) */
.recipe-draft {
  background: #fef9c3;
  border: 1px solid #fde047;
  color: #713f12;
  border-radius: var(--radius-sm);
  padding: 12px 18px;
  margin-bottom: 24px;
  font-size: 14px;
}
.recipe-draft a { color: #713f12; text-decoration: underline; margin-left: 8px; }

/* Rândul de încheiere al provocării */
.challenge-inchidere {
  text-align: center;
  max-width: 620px;
  margin: 40px auto 0;
  padding: 16px 24px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}

/* Coperta PDF ca poză (câmpul `coperta` din content/pdfs.txt) */
.pdf-cover-foto { padding: 0; overflow: hidden; }
.pdf-cover-foto img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pdf-cover-foto .pdf-badge { z-index: 2; }
