/* ===== GLUTEI FIT - Main Stylesheet ===== */
/* Brand Colors: #891E7D (primary), #FFCE12 (CTA), white */

:root {
  --primary: #891E7D;
  --primary-dark: #6a1762;
  --primary-light: #a82498;
  --cta: #FFCE12;
  --cta-dark: #e6b800;
  --white: #ffffff;
  --light-bg: #faf5f9;
  --border: #e8d4e6;
  --text: #333333;
  --text-light: #666666;
  --success: #28a745;
  --error: #dc3545;
  --shadow: 0 4px 20px rgba(137,30,125,0.15);
  --shadow-strong: 0 8px 40px rgba(137,30,125,0.25);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

ul { list-style: none; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--primary);
}

h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: clamp(1rem, 2vw, 1.3rem); }

p { margin-bottom: 1rem; }

.text-center { text-align: center; }
.text-white { color: var(--white) !important; }
.text-primary { color: var(--primary); }

/* ===== LAYOUT ===== */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.container-narrow {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 20px;
}

section { padding: 60px 0; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 16px 40px;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  text-align: center;
  text-decoration: none;
  letter-spacing: 0.3px;
}

.btn-cta {
  background: var(--cta);
  color: var(--text);
  box-shadow: 0 4px 15px rgba(255,206,18,0.5);
}

.btn-cta:hover {
  background: var(--cta-dark);
  color: var(--text);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255,206,18,0.6);
}

.btn-cta:active { transform: translateY(0); }

.btn-large {
  padding: 20px 50px;
  font-size: 1.25rem;
  width: 100%;
  max-width: 420px;
}

.btn-block { display: block; width: 100%; max-width: 420px; margin: 0 auto; }

.cta-note {
  display: block;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 8px;
}

.cta-note a { color: var(--primary); text-decoration: underline; }

.pagamento-note {
  display: block;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-light);
  margin-top: 6px;
  font-weight: 600;
}

/* ===== HEADER / NAVIGATION ===== */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.12);
  transition: box-shadow 0.3s;
}

#site-header.scrolled { box-shadow: 0 2px 20px rgba(137,30,125,0.2); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding: 0 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.header-logo a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary);
  text-decoration: none;
}

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

.nav-desktop { display: flex; align-items: center; gap: 6px; }

.nav-desktop a {
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  transition: color 0.2s, background 0.2s;
}

.nav-desktop a:hover { color: var(--primary); background: var(--light-bg); }

.nav-desktop .btn-nav-cta {
  background: var(--cta);
  color: var(--text);
  padding: 10px 20px;
  border-radius: 50px;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(255,206,18,0.4);
}

.nav-desktop .btn-nav-cta:hover {
  background: var(--cta-dark);
  color: var(--text);
  transform: translateY(-1px);
}

/* Mobile nav */
.nav-mobile-cta {
  display: none;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border: none;
  background: none;
  border-radius: 6px;
}

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

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  background: var(--white);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  z-index: 999;
  padding: 16px 20px 20px;
}

.mobile-menu.open { display: block; }

.mobile-menu a {
  display: block;
  padding: 12px 16px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}

.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a:hover { color: var(--primary); }

.mobile-menu .btn-mobile-ordina {
  margin-top: 12px;
  display: block;
  text-align: center;
  background: var(--cta);
  color: var(--text);
  padding: 14px 20px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.05rem;
  border-bottom: none;
  box-shadow: 0 2px 8px rgba(255,206,18,0.4);
}

/* ===== HERO SECTION ===== */
#hero {
  padding-top: 64px;
  background: linear-gradient(135deg, #fdf0fc 0%, #f5e6f3 60%, #ebe0f0 100%);
  min-height: 90vh;
  display: flex;
  align-items: center;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 60px 0;
}

.hero-content { order: 1; }

.hero-badge {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.hero-content h1 {
  color: var(--primary);
  margin-bottom: 8px;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text);
  margin-bottom: 20px;
  font-weight: 500;
}

.hero-price-block {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.price-old {
  font-size: 1.3rem;
  color: var(--text-light);
  text-decoration: line-through;
}

.price-new {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
}

.price-label {
  background: var(--cta);
  color: var(--text);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
}

.hero-benefits {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

.hero-benefit-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 500;
}

.hero-benefit-item .check-icon {
  width: 22px;
  height: 22px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: white;
  font-size: 0.75rem;
}

.hero-social-proof {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  padding: 12px 16px;
  background: rgba(137,30,125,0.06);
  border-radius: 10px;
  border-left: 4px solid var(--primary);
}

.stars {
  color: #f5a623;
  font-size: 1.1rem;
  letter-spacing: 2px;
}

.hero-image { order: 2; text-align: center; }

.hero-image img {
  max-width: 480px;
  width: 100%;
  margin: 0 auto;
  filter: drop-shadow(0 20px 40px rgba(137,30,125,0.2));
}

/* ===== TABLE OF CONTENTS ===== */
.toc-nav {
  padding: 20px 0;
  background: var(--light-bg);
}

.toc-details {
  background: var(--white);
  border: 1px solid #e8dce6;
  border-radius: 12px;
  max-width: 700px;
  margin: 0 auto;
  overflow: hidden;
}

.toc-summary {
  cursor: pointer;
  padding: 14px 20px;
  font-weight: 700;
  font-size: 1rem;
  color: var(--primary);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
}

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

.toc-summary::after {
  content: '+';
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
  transition: transform 0.2s ease;
}

.toc-details[open] .toc-summary::after {
  content: '\2212';
}

.toc-list {
  margin: 0;
  padding: 0 20px 16px 36px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.toc-list li {
  font-size: 0.92rem;
  line-height: 1.6;
}

.toc-list a {
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px dashed rgba(137,30,125,0.25);
  transition: color 0.2s, border-color 0.2s;
}

.toc-list a:hover {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

/* ===== COMPARISON TABLE ===== */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.comparison-table thead {
  background: var(--primary);
  color: var(--white);
}

.comparison-table th {
  padding: 14px 18px;
  text-align: left;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}

.comparison-table td {
  padding: 12px 18px;
  border-bottom: 1px solid #f0e8ef;
  vertical-align: middle;
}

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

.comparison-highlight {
  background: #fdf0fc;
}

.tag-yes {
  display: inline-block;
  background: #27ae60;
  color: #fff;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 3px 10px;
  border-radius: 6px;
}

.tag-no {
  display: inline-block;
  background: #e74c3c;
  color: #fff;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 3px 10px;
  border-radius: 6px;
}

/* ===== TRUST BAR ===== */
.trust-bar {
  background: var(--primary);
  color: var(--white);
  padding: 16px 0;
}

.trust-bar-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
}

.trust-icon {
  font-size: 1.2rem;
}

/* ===== SECTION HEADERS ===== */
.section-header { text-align: center; margin-bottom: 48px; }

.section-header h2 { color: var(--primary); margin-bottom: 12px; }

.section-header p {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

.section-divider {
  width: 60px;
  height: 4px;
  background: var(--cta);
  border-radius: 2px;
  margin: 12px auto;
}

/* ===== ORDER FORM SECTION ===== */
.form-section {
  background: var(--light-bg);
  padding: 60px 0;
}

.order-form-wrapper {
  max-width: 580px;
  margin: 0 auto;
  text-align: center;
}

.form-product-preview {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 24px;
  padding: 16px 24px;
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.form-product-preview img { border-radius: 8px; }

.form-product-info h3 {
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 4px;
  text-align: left;
}

.form-product-info p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin: 0;
  text-align: left;
}

.order-form-box {
  background: var(--white);
  border-radius: 16px;
  padding: 36px 40px;
  box-shadow: var(--shadow-strong);
  border: 1px solid var(--border);
}

.order-form-box h3 {
  color: var(--primary);
  font-size: 1.3rem;
  margin-bottom: 6px;
  text-align: center;
}

.form-intro-text {
  font-size: 0.92rem;
  color: var(--text-light);
  margin-bottom: 24px;
  text-align: center;
  line-height: 1.5;
}

.form-group {
  margin-bottom: 18px;
  text-align: left;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text);
  margin-bottom: 6px;
}

.form-group label .req { color: var(--error); margin-left: 2px; }

.form-group input,
.form-group select {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--border);
  border-radius: 10px;
  font-size: 1rem;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(137,30,125,0.1);
}

.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--border);
  border-radius: 10px;
  font-size: 1rem;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
  font-family: inherit;
  resize: vertical;
}

.form-group input.error {
  border-color: var(--error);
  box-shadow: 0 0 0 3px rgba(220,53,69,0.1);
}

.form-group input.success { border-color: var(--success); }

.field-error {
  display: none;
  color: var(--error);
  font-size: 0.82rem;
  margin-top: 5px;
  font-weight: 500;
}

.field-error.visible { display: block; }

.trust-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin: 20px 0 16px;
  padding: 12px;
  background: #f8f4f8;
  border-radius: 10px;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary);
}

.trust-badge .badge-icon { font-size: 1rem; }

.form-submit-btn {
  display: block;
  width: 100%;
  padding: 18px 24px;
  background: var(--cta);
  color: var(--text);
  font-size: 1.2rem;
  font-weight: 800;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  letter-spacing: 0.3px;
  box-shadow: 0 4px 16px rgba(255,206,18,0.5);
  position: relative;
}

.form-submit-btn:hover {
  background: var(--cta-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(255,206,18,0.6);
}

.form-submit-btn:disabled {
  opacity: 0.8;
  cursor: not-allowed;
  transform: none;
}

.spinner {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 3px solid rgba(0,0,0,0.2);
  border-top-color: var(--text);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  vertical-align: middle;
  margin-right: 8px;
}

@keyframes spin { to { transform: rotate(360deg); } }

.privacy-note {
  font-size: 0.78rem;
  color: var(--text-light);
  text-align: center;
  margin-top: 10px;
  line-height: 1.4;
}

.privacy-note a { color: var(--primary); text-decoration: underline; }

/* ===== HOW IT WORKS ===== */
#come-funziona { background: var(--white); }

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

.how-card {
  background: var(--light-bg);
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  border: 1px solid var(--border);
  transition: transform 0.2s, box-shadow 0.2s;
}

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

.how-icon {
  width: 72px;
  height: 72px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 2rem;
}

.how-card h3 { color: var(--primary); margin-bottom: 10px; }
.how-card p { font-size: 0.95rem; color: var(--text-light); margin: 0; }

/* ===== BENEFITS ===== */
#benefici { background: var(--primary); }

#benefici h2 { color: var(--white); }
#benefici .section-divider { background: var(--cta); }
#benefici .section-header p { color: rgba(255,255,255,0.85); }

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

.benefit-card {
  background: rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 28px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  border: 1px solid rgba(255,255,255,0.15);
  transition: background 0.2s;
}

.benefit-card:hover { background: rgba(255,255,255,0.15); }

.benefit-img {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  border-radius: 12px;
  object-fit: cover;
  background: rgba(255,255,255,0.1);
}

.benefit-content h4 { color: var(--cta); margin-bottom: 8px; }
.benefit-content p { color: rgba(255,255,255,0.9); margin: 0; font-size: 0.95rem; }

/* ===== INGREDIENTS ===== */
#ingredienti { background: var(--light-bg); }

.ingredients-intro {
  max-width: 700px;
  margin: 0 auto 40px;
  text-align: center;
  font-size: 1rem;
  color: var(--text-light);
}

.ingredients-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.ingredient-card {
  background: var(--white);
  border-radius: 16px;
  padding: 28px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  box-shadow: var(--shadow);
  border-left: 5px solid var(--primary);
  transition: transform 0.2s;
}

.ingredient-card:hover { transform: translateY(-3px); }

.ingredient-icon {
  font-size: 2.5rem;
  flex-shrink: 0;
  width: 60px;
  text-align: center;
}

.ingredient-content h4 { color: var(--primary); margin-bottom: 8px; }
.ingredient-content p { margin: 0; font-size: 0.95rem; color: var(--text-light); }

.inci-box {
  margin-top: 40px;
  background: var(--white);
  border-radius: 12px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.inci-box h4 { color: var(--primary); margin-bottom: 12px; }
.inci-box p {
  font-size: 0.82rem;
  color: var(--text-light);
  font-style: italic;
  line-height: 1.7;
  margin: 0;
}

/* ===== USAGE ===== */
#modalita-uso { background: var(--white); }

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

.usage-step {
  text-align: center;
  padding: 28px 20px;
  background: var(--light-bg);
  border-radius: 16px;
  border: 1px solid var(--border);
  position: relative;
}

.step-number {
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 800;
  margin: 0 auto 16px;
}

.usage-step h4 { color: var(--primary); margin-bottom: 8px; }
.usage-step p { font-size: 0.95rem; color: var(--text-light); margin: 0; }

/* ===== HOW TO ORDER ===== */
.how-order-section { background: var(--light-bg); padding: 60px 0; }

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

.order-step {
  text-align: center;
  padding: 24px 16px;
}

.order-step-icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
  display: block;
}

.order-step h4 { color: var(--primary); margin-bottom: 8px; font-size: 1rem; }
.order-step p { font-size: 0.88rem; color: var(--text-light); margin: 0; }

/* Arrow between steps */
.order-steps .order-step:not(:last-child) { position: relative; }

/* ===== REVIEWS ===== */
#recensioni { background: var(--white); }

.rating-summary {
  display: flex;
  align-items: center;
  gap: 24px;
  justify-content: center;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.rating-big-number {
  font-size: 4rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.rating-details { text-align: left; }

.rating-stars-big {
  color: #f5a623;
  font-size: 1.8rem;
  letter-spacing: 3px;
}

.rating-count { color: var(--text-light); font-size: 0.9rem; }

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

.review-card {
  background: var(--light-bg);
  border-radius: 16px;
  padding: 24px;
  border: 1px solid var(--border);
  transition: transform 0.2s, box-shadow 0.2s;
}

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

.review-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.review-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary);
  flex-shrink: 0;
}

.review-author-name {
  font-weight: 700;
  color: var(--text);
  font-size: 0.95rem;
}

.review-author-city {
  color: var(--text-light);
  font-size: 0.82rem;
}

.review-stars {
  color: #f5a623;
  font-size: 0.95rem;
  margin-bottom: 10px;
}

.review-text {
  font-size: 0.92rem;
  color: var(--text);
  line-height: 1.6;
  font-style: italic;
  margin: 0;
}

.verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  color: var(--success);
  font-weight: 600;
  margin-top: 10px;
}

/* ===== WHERE TO BUY ===== */
#dove-si-compra { background: var(--light-bg); }

.buy-comparison {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
}

.buy-option {
  background: var(--white);
  border-radius: 16px;
  padding: 28px 20px;
  text-align: center;
  border: 2px solid var(--border);
  transition: all 0.2s;
}

.buy-option.highlighted {
  border-color: var(--primary);
  background: linear-gradient(135deg, #fdf0fc, #f5e6f3);
  transform: scale(1.03);
  box-shadow: var(--shadow-strong);
}

.buy-option-icon { font-size: 2.5rem; margin-bottom: 12px; }
.buy-option h4 { color: var(--primary); margin-bottom: 8px; }
.buy-option p { font-size: 0.88rem; color: var(--text-light); margin: 0; }

.available-tag {
  display: inline-block;
  background: var(--success);
  color: var(--white);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  margin-top: 10px;
}

.not-available-tag {
  display: inline-block;
  background: #999;
  color: var(--white);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  margin-top: 10px;
}

/* ===== FAQ ===== */
#faq { background: var(--white); }

.faq-list { max-width: 760px; margin: 0 auto; }

.faq-item {
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.faq-item:first-child { border-top: 1px solid var(--border); }

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 4px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
  transition: color 0.2s;
  gap: 12px;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
}

.faq-question:hover { color: var(--primary); }
.faq-question[aria-expanded="true"] { color: var(--primary); }

.faq-icon {
  width: 28px;
  height: 28px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  flex-shrink: 0;
  transition: transform 0.3s;
}

.faq-question[aria-expanded="true"] .faq-icon { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-answer.open { max-height: 500px; }

.faq-answer p {
  padding: 0 4px 20px;
  font-size: 0.95rem;
  color: var(--text-light);
  margin: 0;
  line-height: 1.7;
}

/* ===== CONTRAINDICATIONS ===== */
#controindicazioni { background: var(--light-bg); }

.contra-box {
  max-width: 760px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 16px;
  padding: 36px;
  box-shadow: var(--shadow);
  border-top: 5px solid var(--primary);
}

.contra-box h3 { color: var(--primary); margin-bottom: 16px; }
.contra-box p { font-size: 0.95rem; color: var(--text-light); }

.contra-warning {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 18px;
  background: #fff3cd;
  border-radius: 10px;
  border-left: 4px solid #f5a623;
  margin-top: 16px;
}

.contra-warning span { font-size: 0.92rem; }

/* ===== PRICE SECTION ===== */
#prezzo { background: var(--primary); padding: 60px 0; }

.price-box {
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
  background: var(--white);
  border-radius: 20px;
  padding: 40px 36px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

.price-box h2 { color: var(--primary); margin-bottom: 8px; }
.price-box-subtitle { color: var(--text-light); margin-bottom: 24px; font-size: 0.95rem; }

#prezzo .section-header p { color: rgba(255,255,255,0.85); }
#prezzo .section-header h2 { color: var(--white); }

.price-display {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.old-price {
  font-size: 1.8rem;
  color: #999;
  text-decoration: line-through;
  font-weight: 600;
}

.new-price {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
}

.price-per {
  font-size: 1rem;
  color: var(--text-light);
  margin-bottom: 24px;
}

.price-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
  text-align: left;
}

.price-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 500;
}

.price-feature .pf-icon { color: var(--primary); font-size: 1.1rem; }

/* ===== CTA BANNER ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  padding: 60px 0;
  text-align: center;
}

.cta-banner h2 { color: var(--white); margin-bottom: 12px; }
.cta-banner p { color: rgba(255,255,255,0.85); margin-bottom: 28px; font-size: 1.05rem; max-width: 600px; margin-left: auto; margin-right: auto; }

/* ===== FOOTER ===== */
#site-footer {
  background: #1a0819;
  color: rgba(255,255,255,0.7);
  padding: 50px 0 24px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 32px;
}

.footer-brand h3 { color: var(--white); margin-bottom: 12px; }
.footer-brand p { font-size: 0.88rem; line-height: 1.6; }

.footer-links h4 { color: var(--white); font-size: 1rem; margin-bottom: 16px; }

.footer-links ul { display: flex; flex-direction: column; gap: 8px; }

.footer-links ul li a {
  color: rgba(255,255,255,0.65);
  font-size: 0.88rem;
  transition: color 0.2s;
}

.footer-links ul li a:hover { color: var(--cta); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  text-align: center;
}

.footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.5); margin: 0 0 6px; }

.footer-disclaimer {
  font-size: 0.78rem !important;
  color: rgba(255,255,255,0.4) !important;
  line-height: 1.5;
  margin-top: 10px !important;
  font-style: italic;
}

/* ===== INNER PAGES ===== */
.inner-page {
  padding-top: 64px;
}

.inner-hero {
  background: linear-gradient(135deg, #fdf0fc, #f5e6f3);
  padding: 50px 0 40px;
  text-align: center;
}

.inner-hero h1 { color: var(--primary); }

.inner-content {
  padding: 60px 0;
}

.inner-content h2 { color: var(--primary); margin: 32px 0 16px; font-size: 1.4rem; }
.inner-content h3 { color: var(--primary-dark); margin: 24px 0 12px; font-size: 1.1rem; }
.inner-content p { margin-bottom: 1rem; font-size: 0.95rem; color: var(--text); }
.inner-content ul { padding-left: 20px; margin-bottom: 1rem; }
.inner-content ul li { font-size: 0.95rem; color: var(--text); margin-bottom: 6px; list-style: disc; }

/* ===== CONTACT PAGE ===== */
.contact-form-box {
  max-width: 580px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 16px;
  padding: 40px;
  box-shadow: var(--shadow);
}

.contact-form-box h2 { color: var(--primary); margin-bottom: 6px; }
.contact-form-box .form-subtitle { color: var(--text-light); margin-bottom: 28px; }

.form-check-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 18px;
}

.form-check-group input[type="checkbox"] {
  width: auto;
  margin-top: 3px;
  flex-shrink: 0;
  accent-color: var(--primary);
}

.form-check-group label {
  font-size: 0.88rem;
  color: var(--text-light);
  font-weight: 400;
  line-height: 1.5;
}

.form-check-group label a { color: var(--primary); text-decoration: underline; }

.contact-btn {
  display: block;
  width: 100%;
  padding: 16px;
  background: var(--primary);
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 700;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.contact-btn:hover { background: var(--primary-dark); transform: translateY(-2px); }

/* ===== THANK YOU PAGE ===== */
.thank-you-section {
  padding-top: 100px;
  padding-bottom: 80px;
  text-align: center;
}

.thank-you-icon { font-size: 4rem; margin-bottom: 20px; }
.thank-you-section h1 { color: var(--primary); margin-bottom: 16px; }
.thank-you-section p { color: var(--text-light); font-size: 1.05rem; max-width: 520px; margin: 0 auto 12px; }

/* ===== COOKIE BANNER ===== */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2000;
  background: #1a0819;
  color: var(--white);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
}

#cookie-banner.hidden { display: none; }

#cookie-banner p { font-size: 0.85rem; margin: 0; flex: 1; line-height: 1.5; }
#cookie-banner a { color: var(--cta); text-decoration: underline; }

.cookie-buttons { display: flex; gap: 10px; flex-wrap: wrap; }

.btn-cookie-accept {
  padding: 10px 24px;
  background: var(--cta);
  color: var(--text);
  border: none;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-cookie-accept:hover { background: var(--cta-dark); }

.btn-cookie-reject {
  padding: 10px 20px;
  background: transparent;
  color: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50px;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-cookie-reject:hover { border-color: rgba(255,255,255,0.6); color: var(--white); }

/* ===== FEATURED SNIPPET SECTION ===== */
.featured-snippet-section { background: var(--light-bg); padding: 50px 0; }

.snippet-box {
  max-width: 760px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 16px;
  padding: 32px 36px;
  box-shadow: var(--shadow);
  border-left: 6px solid var(--primary);
}

.snippet-box h2 { color: var(--primary); font-size: 1.4rem; margin-bottom: 12px; }
.snippet-box .snippet-answer { font-size: 1rem; color: var(--text); line-height: 1.7; }

/* ===== UTILITIES ===== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

.sr-only:focus {
  position: fixed;
  top: 8px;
  left: 8px;
  width: auto;
  height: auto;
  overflow: visible;
  clip: auto;
  white-space: normal;
  z-index: 9999;
  background: var(--primary);
  color: var(--white);
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
}

.mb-0 { margin-bottom: 0 !important; }
.mt-8 { margin-top: 8px !important; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-40 { margin-top: 40px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-40 { margin-bottom: 40px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .nav-desktop { display: none; }
  .hamburger { display: flex; }
  .nav-mobile-cta {
    display: flex;
    align-items: center;
    margin-right: 8px;
  }
  .nav-mobile-cta a {
    background: var(--cta);
    color: var(--text);
    padding: 10px 18px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    box-shadow: 0 2px 8px rgba(255,206,18,0.4);
  }
  .how-grid { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: 1fr; }
  .ingredients-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .buy-comparison { grid-template-columns: 1fr; }
  .buy-option.highlighted { transform: none; }
  .usage-steps { grid-template-columns: 1fr; }
  .order-steps { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 768px) {
  section { padding: 44px 0; }

  .hero-inner {
    grid-template-columns: 1fr;
    padding: 32px 0 40px;
  }

  .hero-image { order: 1; }
  .hero-content {
    order: 2;
    display: flex;
    flex-direction: column;
  }
  .hero-content h1 { order: 1; }
  .hero-content .hero-cta-block { order: 2; }
  .hero-content .hero-subtitle { order: 3; }
  .hero-content .hero-price-block { order: 4; }
  .hero-content .hero-price-block + p { order: 5; }
  .hero-content .hero-benefits { order: 6; }
  .hero-content .hero-social-proof { order: 7; }

  .hero-image img { max-width: 300px; }

  .order-form-box { padding: 24px 20px; }
  .form-product-preview { flex-direction: column; gap: 12px; }

  .price-box { padding: 28px 20px; }
  .new-price { font-size: 2.8rem; }

  .contra-box { padding: 24px 20px; }

  .trust-bar-inner { gap: 16px; }
  .trust-item { font-size: 0.8rem; }

  .contact-form-box { padding: 28px 20px; }
  .inner-content { padding: 40px 0; }
}

@media (max-width: 480px) {
  .hero-price-block { gap: 10px; }
  .price-new { font-size: 2rem; }
  .trust-bar-inner { flex-direction: column; gap: 12px; }
  .order-steps { grid-template-columns: 1fr; }
  .rating-summary { flex-direction: column; gap: 12px; }
  .rating-details { text-align: center; }
  .cookie-buttons { width: 100%; }
  .btn-cookie-accept, .btn-cookie-reject { flex: 1; text-align: center; }
}

/* ===== PRINT ===== */
@media print {
  #site-header, #cookie-banner, .cta-banner, .btn { display: none !important; }
}
