/* =========================================
   NUTRITION — Landing Page Styles
   Palette: Forest Green, Cream, Sage, Charcoal
   Font: Playfair Display (logo) + Nunito (titoli) + DM Sans (testo)
   ========================================= */

:root {
  --green-dark: #1a3a2a;
  --green-mid: #2d6a4f;
  --green-light: #52b788;
  --green-pale: #b7e4c7;
  --sage: #74c69d;
  --cream: #f8f4ee;
  --cream-dark: #ede8de;
  --white: #ffffff;
  --charcoal: #1c1c1e;
  --gray-600: #4a4a4a;
  --gray-400: #8a8a8a;
  --gray-200: #e8e8e8;
  --accent-gold: #c9a24a;
  --shadow-sm: 0 2px 8px rgba(26,58,42,0.08);
  --shadow-md: 0 8px 32px rgba(26,58,42,0.12);
  --shadow-lg: 0 24px 64px rgba(26,58,42,0.18);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 36px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background-color: var(--white);
  color: var(--charcoal);
  overflow-x: hidden;
  line-height: 1.6;
}

/* =========================================
   UTILITY
   ========================================= */
.highlight { color: var(--green-light); font-style: italic; }
em { color: var(--green-mid); font-style: italic; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; border-radius: 50px;
  font-family: 'DM Sans', sans-serif; font-weight: 600; font-size: 0.95rem;
  text-decoration: none; border: none; cursor: pointer;
  transition: all 0.2s ease;
}
.btn-primary {
  background: var(--green-mid); color: var(--white);
  box-shadow: 0 4px 16px rgba(45,106,79,0.35);
}
.btn-primary:hover { background: var(--green-dark); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(45,106,79,0.4); }
.btn-ghost {
  background: transparent; color: var(--green-dark); border: 1.5px solid var(--green-pale);
}
.btn-ghost:hover { background: var(--cream); }
.btn-lg { padding: 15px 32px; font-size: 1rem; }
.btn-outline {
  background: transparent; color: var(--green-mid);
  border: 1.5px solid var(--green-mid);
}
.btn-outline:hover { background: var(--green-mid); color: var(--white); }
.btn-outline-sm {
  display: inline-flex; align-items: center;
  padding: 8px 18px; border-radius: 50px;
  font-family: 'DM Sans', sans-serif; font-weight: 500; font-size: 0.85rem;
  text-decoration: none; color: var(--green-mid);
  border: 1.5px solid var(--green-mid);
  transition: all 0.2s;
}
.btn-outline-sm:hover { background: var(--green-mid); color: var(--white); }
.btn-white {
  background: var(--white); color: var(--green-dark);
  font-weight: 700;
}
.btn-white:hover { background: var(--cream); }

.play-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; background: var(--green-light);
  border-radius: 50%; font-size: 0.7rem; color: white;
}

.section-header {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 3rem;
}
.section-header.centered {
  flex-direction: column; align-items: center;
  text-align: center; gap: 0.75rem;
}
.section-header h2 {
  font-family: 'Nunito', sans-serif;
  font-optical-sizing: auto;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.2; color: var(--green-dark);
}
.section-overline {
  text-transform: uppercase; letter-spacing: 0.12em;
  font-size: 0.8rem; font-weight: 600;
  color: var(--green-light);
}
.section-desc { color: var(--gray-600); max-width: 480px; }

/* =========================================
   ANNOUNCEMENT BAR
   ========================================= */
.announcement-bar {
  background: var(--green-dark);
  color: var(--cream); text-align: center;
  font-size: 0.85rem; padding: 10px 20px;
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.bar-close {
  position: absolute; right: 16px; background: none;
  border: none; color: var(--cream); cursor: pointer;
  font-size: 1rem; opacity: 0.7;
}
.bar-close:hover { opacity: 1; }

/* =========================================
   NAVBAR
   ========================================= */
.navbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%; height: 72px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
  position: sticky; top: 0; z-index: 100;
}
.logo {
  display: flex; align-items: center; gap: 8px;
  text-decoration: none; color: var(--green-dark);
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem; font-weight: 700;
}
.logo-icon { color: var(--green-light); font-size: 1.1rem; }

.nav-links {
  display: flex; gap: 2.5rem; list-style: none;
}
.nav-links a {
  text-decoration: none; color: var(--gray-600);
  font-weight: 500; font-size: 0.9rem;
  display: inline-block;
  transition: color 0.2s, transform 0.25s ease;
}
.nav-links a:hover { color: var(--green-mid); transform: translateX(5px); }

.nav-actions { display: flex; align-items: center; gap: 1.5rem; }
.lang-toggle { font-size: 0.85rem; color: var(--gray-400); cursor: pointer; }
.hamburger { display: none; background: none; border: none; font-size: 1.4rem; cursor: pointer; }

/* =========================================
   HERO
   ========================================= */
.hero {
  min-height: 90vh;
  background: linear-gradient(135deg, var(--cream) 0%, #eef7f2 60%, var(--white) 100%);
  display: flex; align-items: center;
  padding: 80px 5% 60px;
  position: relative; overflow: hidden;
}
.hero-bg-shape {
  position: absolute; top: -100px; right: -150px;
  width: 700px; height: 700px;
  background: radial-gradient(ellipse, rgba(82,183,136,0.12) 0%, transparent 70%);
  border-radius: 50%; pointer-events: none;
}
.hero-bg-dots {
  position: absolute; bottom: 0; left: 0;
  width: 100%; height: 200px;
  background-image: radial-gradient(circle, rgba(45,106,79,0.08) 1px, transparent 1px);
  background-size: 30px 30px; pointer-events: none;
}
.hero-content {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center;
  max-width: 1280px; margin: 0 auto; width: 100%;
  position: relative; z-index: 1;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(82,183,136,0.12); border: 1px solid rgba(82,183,136,0.3);
  color: var(--green-mid); border-radius: 50px;
  padding: 6px 16px; font-size: 0.82rem; font-weight: 600;
  margin-bottom: 1.5rem;
}
.badge-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green-light);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}
.hero-text h1 {
  font-family: 'Nunito', sans-serif;
  font-optical-sizing: auto;
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.1; color: var(--green-dark);
  margin-bottom: 1.25rem;
}
.hero-subtitle {
  font-size: 1.1rem; color: var(--gray-600);
  max-width: 480px; line-height: 1.7;
  margin-bottom: 2rem;
}
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.hero-stats {
  display: flex; align-items: center; gap: 1.5rem;
}
.stat { display: flex; flex-direction: column; }
.stat strong { font-size: 1.4rem; font-weight: 700; color: var(--green-dark); }
.stat span { font-size: 0.78rem; color: var(--gray-400); }
.stat-divider { width: 1px; height: 36px; background: var(--gray-200); }

/* PHONE MOCKUP */
.hero-visual { display: flex; justify-content: center; position: relative; }
.phone-mockup { position: relative; }
.phone-image {
  display: block;
  width: 280px;
  height: auto;
  filter: drop-shadow(0 30px 60px rgba(26,58,42,0.28));
  position: relative; z-index: 2;
}
.phone-shadow {
  position: absolute; bottom: -30px; left: 50%;
  transform: translateX(-50%);
  width: 200px; height: 30px;
  background: radial-gradient(ellipse, rgba(26,58,42,0.25) 0%, transparent 70%);
}

/* FLOAT CARDS */
.float-card {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 10px;
  min-width: 160px;
  animation: float 3s ease-in-out infinite;
}
.float-card .fc-icon { font-size: 1.3rem; }
.float-card .fc-title { font-size: 0.75rem; font-weight: 700; color: var(--charcoal); }
.float-card .fc-sub { font-size: 0.65rem; color: var(--gray-400); }
.card-1 { top: 40px; right: -40px; animation-delay: 0s; }
.card-2 { bottom: 140px; right: -50px; animation-delay: 1s; }
.card-3 { top: 200px; left: -60px; animation-delay: 2s; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* =========================================
   TRUSTED
   ========================================= */
.trusted {
  padding: 48px 5%;
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  text-align: center;
}
.trusted-label {
  text-transform: uppercase; letter-spacing: 0.12em;
  font-size: 0.75rem; color: var(--gray-400);
  margin-bottom: 1.5rem;
}
.trusted-logos {
  display: flex; flex-wrap: wrap;
  align-items: center; justify-content: center;
  gap: 3rem;
}
.trusted-logos span {
  font-family: 'Nunito', sans-serif;
  font-optical-sizing: auto;
  font-size: 1.1rem; font-weight: 700;
  color: var(--gray-400); letter-spacing: 0.05em;
  opacity: 0.7;
}

/* =========================================
   FEATURES
   ========================================= */
.features {
  padding: 100px 5%;
  max-width: 1280px; margin: 0 auto;
}
.features-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.feature-card {
  padding: 2rem;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  transition: all 0.3s ease;
}
.feature-card:hover {
  border-color: var(--green-pale);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.feature-icon {
  width: 56px; height: 56px; border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: 1.25rem;
}
.icon-green { background: rgba(82,183,136,0.12); }
.icon-teal { background: rgba(45,106,79,0.1); }
.icon-olive { background: rgba(116,198,157,0.15); }
.icon-sage { background: rgba(201,162,74,0.1); }
.feature-card h3 {
  font-family: 'Nunito', sans-serif;
  font-optical-sizing: auto;
  font-size: 1.2rem; color: var(--green-dark);
  margin-bottom: 0.75rem;
}
.feature-card p { font-size: 0.9rem; color: var(--gray-600); line-height: 1.7; }

/* =========================================
   WORKFLOW (B+A)
   ========================================= */
.workflow {
  padding: 100px 5%;
  background: var(--cream);
}
.workflow-inner {
  max-width: 860px;
  margin: 0 auto;
}

/* Timeline */
.workflow-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 3.5rem 0 4rem;
  position: relative;
}

.wf-step {
  display: grid;
  grid-template-columns: 72px 32px 1fr;
  gap: 0 1rem;
  align-items: stretch;
}

.wf-time {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--green-mid);
  letter-spacing: 0.04em;
  padding-top: 6px;
  text-align: right;
  white-space: nowrap;
}

.wf-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.wf-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--green-mid);
  border: 3px solid var(--cream);
  box-shadow: 0 0 0 2px var(--green-mid);
  flex-shrink: 0;
  margin-top: 4px;
  z-index: 1;
}
.wf-dot--end {
  background: var(--accent-gold);
  box-shadow: 0 0 0 2px var(--accent-gold);
}

.wf-line {
  flex: 1;
  width: 2px;
  background: linear-gradient(to bottom, var(--green-mid), var(--green-pale));
  margin: 4px 0;
}

.wf-card {
  display: flex;
  gap: 1rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: box-shadow 0.2s, transform 0.2s;
}
.wf-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}

.wf-step--last .wf-card {
  border-color: var(--accent-gold);
  background: linear-gradient(135deg, #fffaf2, var(--white));
}

.wf-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.wf-body h4 {
  font-family: 'Nunito', sans-serif;
  font-optical-sizing: auto;
  font-size: 1rem;
  color: var(--green-dark);
  margin-bottom: 0.35rem;
}
.wf-body p {
  font-size: 0.88rem;
  color: var(--gray-600);
  line-height: 1.6;
}

.wf-badge {
  display: inline-flex;
  align-items: center;
  margin-top: 0.6rem;
  background: rgba(82,183,136,0.1);
  border: 1px solid rgba(82,183,136,0.25);
  color: var(--green-mid);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 50px;
}

/* KPI Bar */
.kpi-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: var(--green-dark);
  border-radius: var(--radius-xl);
  padding: 2rem 2.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.kpi-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 1.5rem;
}
.kpi-item strong {
  font-family: 'Nunito', sans-serif;
  font-optical-sizing: auto;
  font-size: 2rem;
  font-weight: 700;
  color: var(--green-light);
  line-height: 1;
}
.kpi-item span {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.6);
  margin-top: 0.25rem;
  max-width: 120px;
}

.kpi-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.15);
  flex-shrink: 0;
}

/* =========================================
   COMPARISON TABLE (D)
   ========================================= */
.comparison {
  padding: 100px 5%;
  background: var(--white);
}
.comparison-inner {
  max-width: 900px;
  margin: 0 auto;
}

.comparison-table {
  margin: 3rem 0 3rem;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
}

/* Header row */
.ct-header {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr;
}
.ct-col-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1.25rem;
  font-weight: 700;
  font-size: 0.85rem;
}
.ct-emoji { font-size: 1.1rem; }
.before-head {
  background: #f5f5f5;
  color: var(--gray-600);
  border-left: 1px solid var(--gray-200);
}
.after-head {
  background: var(--green-dark);
  color: var(--white);
}
.ct-label-col { background: var(--cream); }

/* Data rows */
.ct-row {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr;
  border-top: 1px solid var(--gray-200);
}
.ct-row--last { border-bottom: none; }

.ct-label {
  padding: 0.9rem 1.25rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--green-dark);
  background: var(--cream);
}
.ct-before {
  padding: 0.9rem 1.25rem;
  font-size: 0.85rem;
  color: var(--gray-400);
  background: #fafafa;
  border-left: 1px solid var(--gray-200);
  border-right: 1px solid var(--gray-200);
  font-style: italic;
}
.ct-after {
  padding: 0.9rem 1.25rem;
  font-size: 0.85rem;
  color: var(--green-mid);
  font-weight: 600;
  background: rgba(82,183,136,0.05);
}

.ct-row:nth-child(even) .ct-label { background: #f0f7f3; }
.ct-row:nth-child(even) .ct-before { background: #f5f5f5; }
.ct-row:nth-child(even) .ct-after { background: rgba(82,183,136,0.08); }

/* CTA sotto comparison */
.comparison-cta {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}
.comparison-note {
  font-size: 0.78rem;
  color: var(--gray-400);
}

/* =========================================
   PRICING
   ========================================= */
.pricing {
  padding: 100px 5%;
  background: var(--white);
}
.pricing .section-header.centered { margin-bottom: 3rem; }
.billing-toggle {
  display: flex; align-items: center; gap: 0.75rem;
  margin-top: 1rem;
}
.toggle-label { font-size: 0.9rem; color: var(--gray-400); font-weight: 500; }
.toggle-label.active { color: var(--green-dark); }
.save-badge {
  background: var(--green-pale); color: var(--green-dark);
  font-size: 0.7rem; font-weight: 700;
  padding: 2px 8px; border-radius: 50px;
  font-style: normal; margin-left: 4px;
}
.toggle-switch { position: relative; width: 44px; height: 24px; }
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.slider {
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: var(--gray-200); border-radius: 50px; cursor: pointer;
  transition: 0.3s;
}
.slider::before {
  content: ''; position: absolute;
  width: 18px; height: 18px;
  background: white; border-radius: 50%;
  bottom: 3px; left: 3px; transition: 0.3s;
}
input:checked + .slider { background: var(--green-mid); }
input:checked + .slider::before { transform: translateX(20px); }

.pricing-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem; max-width: 1100px; margin: 0 auto;
  align-items: start;
}
.pricing-card {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 2.25rem 2rem;
  position: relative;
  transition: all 0.3s ease;
}
.pricing-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.pricing-card.featured {
  background: var(--green-dark); color: var(--white);
  border-color: var(--green-dark);
  transform: scale(1.03);
  box-shadow: var(--shadow-lg);
}
.pricing-card.featured:hover { transform: scale(1.03) translateY(-4px); }
.plan-badge {
  display: inline-block;
  background: var(--green-light); color: var(--green-dark);
  font-size: 0.72rem; font-weight: 700;
  padding: 4px 12px; border-radius: 50px;
  margin-bottom: 1rem;
}
.plan-name { font-family: 'Nunito', sans-serif; font-optical-sizing: auto; font-size: 1.3rem; margin-bottom: 0.5rem; }
.plan-price { display: flex; align-items: baseline; gap: 2px; margin-bottom: 0.5rem; }
.currency { font-size: 1.2rem; font-weight: 600; }
.amount { font-size: 3rem; font-weight: 700; line-height: 1; }
.period { font-size: 0.85rem; color: var(--gray-400); margin-left: 2px; }
.pricing-card.featured .period { color: rgba(255,255,255,0.6); }
.plan-desc { font-size: 0.85rem; color: var(--gray-400); margin-bottom: 1.75rem; line-height: 1.6; }
.pricing-card.featured .plan-desc { color: rgba(255,255,255,0.7); }
.plan-features { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; margin-bottom: 2rem; }
.plan-features li { font-size: 0.88rem; color: var(--gray-600); }
.pricing-card.featured .plan-features li { color: rgba(255,255,255,0.85); }
.plan-features li.disabled { opacity: 0.4; text-decoration: line-through; }
.plan-btn { width: 100%; justify-content: center; }
.pricing-card.featured .btn-primary { background: var(--green-light); color: var(--green-dark); }
.pricing-card.featured .btn-outline { border-color: rgba(255,255,255,0.4); color: var(--white); }
.pricing-card.featured .btn-outline:hover { background: rgba(255,255,255,0.1); }

/* =========================================
   TESTIMONIALS
   ========================================= */
.testimonials {
  padding: 100px 5%;
  background: var(--cream);
}
.stars { color: var(--accent-gold); letter-spacing: 2px; }
.testimonials-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem; max-width: 1100px; margin: 0 auto;
}
.testimonial-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 1.75rem; box-shadow: var(--shadow-sm);
  transition: all 0.3s;
}
.testimonial-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.tcard-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.tcard-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--green-mid), var(--sage));
  display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 700; font-size: 0.78rem;
  flex-shrink: 0;
}
.tcard-header strong { font-size: 0.9rem; color: var(--green-dark); display: block; }
.tcard-stars { color: var(--accent-gold); font-size: 0.8rem; }
.testimonial-card p { font-size: 0.88rem; color: var(--gray-600); line-height: 1.7; font-style: italic; }

/* =========================================
   CTA BANNER
   ========================================= */
.cta-banner {
  background: var(--green-dark);
  padding: 100px 5%;
  position: relative; overflow: hidden;
  text-align: center;
}
.cta-bg-shape {
  position: absolute; top: -100px; right: -200px;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(82,183,136,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.cta-content { position: relative; z-index: 1; }
.cta-content h2 {
  font-family: 'Nunito', sans-serif;
  font-optical-sizing: auto;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--white); margin-bottom: 1rem; line-height: 1.2;
}
.cta-content p { color: rgba(255,255,255,0.7); margin-bottom: 2rem; font-size: 1rem; }
.cta-form {
  display: flex; gap: 0; max-width: 480px;
  margin: 0 auto 1rem;
  background: var(--white); border-radius: 50px;
  overflow: hidden; box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}
.cta-form input {
  flex: 1; padding: 14px 20px;
  border: none; outline: none;
  font-family: 'DM Sans', sans-serif; font-size: 0.9rem;
  background: transparent;
}
.cta-note { font-size: 0.8rem; color: rgba(255,255,255,0.5); }

/* =========================================
   FAQ
   ========================================= */
.faq {
  padding: 100px 5%;
  max-width: 760px; margin: 0 auto;
}
.faq-list { display: flex; flex-direction: column; gap: 0; }
.faq-item {
  border-bottom: 1px solid var(--gray-200);
  padding: 0;
}
.faq-item summary {
  padding: 1.25rem 0;
  font-weight: 600; font-size: 1rem;
  color: var(--green-dark); cursor: pointer;
  list-style: none;
  display: flex; justify-content: space-between; align-items: center;
  transition: color 0.2s;
}
.faq-item summary:hover { color: var(--green-mid); }
.faq-item summary::after { content: '+'; font-size: 1.2rem; color: var(--green-light); transition: transform 0.2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 0 1.25rem; font-size: 0.92rem; color: var(--gray-600); line-height: 1.75; }

/* =========================================
   FOOTER
   ========================================= */
.footer { background: var(--green-dark); padding: 64px 5% 32px; }
.footer-top {
  display: grid; grid-template-columns: 1fr 2fr;
  gap: 4rem; padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer .logo { color: var(--white); margin-bottom: 1rem; display: inline-flex; }
.footer .logo-icon { color: var(--green-light); }
.footer-brand p { color: rgba(255,255,255,0.6); font-size: 0.9rem; margin-bottom: 1.75rem; line-height: 1.6; }
.footer-access {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}
.footer-access-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.7rem;
}
.footer-access-block--inline {
  flex-direction: row;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.footer-access-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.5;
}
.btn-sm { font-size: 0.82rem; padding: 8px 16px; }

.btn-dashboard {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--green-light);
  text-decoration: none;
  transition: color 0.2s;
}
.btn-dashboard:hover {
  color: var(--green-pale);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.store-badges { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.store-badge {
  display: inline-flex; align-items: center;
  padding: 0;
  border-radius: var(--radius-sm);
  border: none;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.2s;
}
.store-badge img {
  height: 40px;
  width: auto;
  display: block;
}
.store-badge:hover { opacity: 0.85; transform: translateY(-1px); }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.footer-col h4 {
  color: var(--white); font-size: 0.85rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col a { color: rgba(255,255,255,0.55); text-decoration: none; font-size: 0.88rem; display: inline-block; transition: color 0.2s, transform 0.25s ease; }
.footer-col a:hover { color: var(--green-light); transform: translateX(5px); }
.footer-bottom {
  display: flex; justify-content: space-between;
  padding-top: 2rem;
  color: rgba(255,255,255,0.35);
  font-size: 0.8rem;
}
.footer-bottom a { color: inherit; text-decoration: none; transition: color 0.2s; }
.footer-bottom a:hover { color: var(--green-light); }

/* =========================================
   ANIMATIONS
   ========================================= */
.animate-on-scroll {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.animate-on-scroll.visible {
  opacity: 1; transform: translateY(0);
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-content { grid-template-columns: 1fr; text-align: center; }
  .hero-visual { display: none; }
  .hero-stats { justify-content: center; }
  .hero-cta { justify-content: center; }
  .hero-badge { justify-content: center; display: inline-flex; }
  .section-header { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; }
  .pricing-card.featured { transform: none; }
  .testimonials-grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: repeat(3, 1fr); }
  .kpi-bar { gap: 1.5rem; }
  .kpi-divider { display: none; }
  .ct-header, .ct-row { grid-template-columns: 1.4fr 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0; background: white; padding: 1rem 5%; border-bottom: 1px solid var(--gray-200); }
  .nav-links.open { display: flex; }
  .hamburger { display: block; }
  .nav-actions { gap: 1rem; }
  .features-grid { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; }
  .awards-bar { gap: 1.5rem; }
  /* workflow */
  .wf-step { grid-template-columns: 52px 24px 1fr; gap: 0 0.5rem; }
  .wf-time { font-size: 0.7rem; }
  .wf-card { padding: 1rem; }
  /* kpi */
  .kpi-bar { flex-direction: column; padding: 1.5rem; gap: 1.25rem; }
  .kpi-item { padding: 0; }
  /* comparison */
  .ct-header, .ct-row { grid-template-columns: 1fr; }
  .ct-col-head { justify-content: center; }
  .before-head { border-left: none; border-top: 1px solid var(--gray-200); }
  .ct-label { font-weight: 700; background: var(--cream) !important; border-top: 2px solid var(--gray-200); }
  .ct-before, .ct-after { border: none; padding-top: 0.4rem; padding-bottom: 0.75rem; }
  .ct-before { border-left: none; border-right: none; }
}
/* =========================================
   PAGINE LEGALI (privacy / termini)
   ========================================= */
    .legal{max-width:780px;margin:0 auto;padding:3rem 5% 4rem;}
    .legal h1{font-family:'Nunito',sans-serif;font-weight:800;font-size:2.2rem;color:var(--green-dark);line-height:1.2;margin-bottom:0.5rem;}
    .legal .updated{color:var(--gray-400);font-size:0.9rem;margin-bottom:2rem;}
    .legal h2{font-family:'Nunito',sans-serif;font-weight:700;font-size:1.4rem;color:var(--green-dark);margin:2.5rem 0 0.75rem;scroll-margin-top:90px;}
    .legal h3{font-family:'Nunito',sans-serif;font-weight:700;font-size:1.08rem;color:var(--green-mid);margin:1.5rem 0 0.5rem;}
    .legal p,.legal li{font-size:1rem;color:var(--gray-600);line-height:1.7;margin-bottom:0.9rem;}
    .legal ul,.legal ol{margin:0 0 1rem 1.3rem;}
    .legal li{margin-bottom:0.5rem;}
    .legal strong{color:var(--charcoal);}
    .legal a{color:var(--green-mid);text-decoration:none;}
    .legal a:hover{text-decoration:underline;text-underline-offset:3px;}
    .legal .notice{background:#fdf6e3;border:1px solid #e0c878;color:#7a5a00;border-radius:16px;padding:1rem 1.25rem;margin-bottom:2rem;font-size:0.92rem;}
    .legal .notice strong{color:#7a5a00;}
    .legal .todo{background:#fff3c4;color:#7a5a00;border:1px dashed #d6b24a;border-radius:6px;padding:1px 7px;font-weight:600;font-size:0.92em;}
    .legal .toc{background:#fff;border:1px solid var(--cream-dark);border-radius:16px;padding:1.5rem 1.75rem;margin-bottom:2.5rem;}
    .legal .toc h2{margin:0 0 0.75rem;font-size:1.05rem;}
    .legal .toc ol{margin:0 0 0 1.2rem;}
    .legal .toc li{margin-bottom:0.35rem;font-size:0.95rem;}
    .legal table{width:100%;border-collapse:collapse;margin:0.5rem 0 1.5rem;font-size:0.92rem;}
    .legal th,.legal td{border:1px solid var(--cream-dark);padding:0.65rem 0.75rem;text-align:left;vertical-align:top;color:var(--gray-600);}
    .legal th{background:var(--green-dark);color:#fff;font-family:'Nunito',sans-serif;font-weight:600;}
    .legal tbody tr:nth-child(even){background:rgba(0,0,0,0.015);}
    @media (max-width:600px){
      .legal h1{font-size:1.8rem;}
      .legal table,.legal thead,.legal tbody,.legal th,.legal td,.legal tr{display:block;}
      .legal th{display:none;}
      .legal td{border:none;border-bottom:1px solid var(--cream-dark);}
      .legal tr{border:1px solid var(--cream-dark);border-radius:10px;margin-bottom:0.75rem;padding:0.25rem;}
    }

/* =========================================
   BRAND NAME — parola "Nutrition" nel testo
   ========================================= */
.brand { font-family: 'Playfair Display', serif; }
