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

:root {
  --verde:        #0D3931;
  --verde-dark:   #0a2b25;
  --verde-light:  #1a5c4d;
  --verde-soft:   #e6f0ed;
  --rosa:         #EFA7AC;
  --rosa-dark:    #e88f95;
  --rosa-light:   #f5c9cd;
  --rosa-lightest:#fef3f4;
  --burgundy:     #2B1021;
  --burg-light:   #4a2340;
  --white:        #FFFFFF;
  --gray-50:      #F9FAFB;
  --gray-100:     #F3F4F6;
  --gray-200:     #E5E7EB;
  --gray-600:     #4B5563;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Montserrat', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--burgundy);
  overflow-x: hidden;
}

/* ─── NAVBAR ─── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--verde);
  transition: padding 0.4s, box-shadow 0.4s;
}
nav.scrolled {
  padding: 14px 40px;
  box-shadow: 0 1px 0 rgba(255,255,255,0.08);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.nav-logo-icon {
  width: 36px; height: 36px;
  background: var(--verde);
  border: 2px solid var(--rosa);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--white);
  box-shadow: 3px 3px 0 var(--rosa);
}

.nav-logo-text {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.01em;
}
.nav-cta {
  background: var(--rosa);
  color: var(--burgundy);
  border: none;
  padding: 9px 22px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}
.nav-cta:hover { background: var(--rosa-dark); transform: translateY(-1px); }

/* ─── HERO ─── */
.hero {
  min-height: 100vh;
  background: var(--verde);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 140px 24px 80px;
  overflow: hidden;
}

/* Decorative background elements */
.hero-deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-deco::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(239,167,172,0.12) 0%, transparent 70%);
}
.hero-deco::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -100px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(239,167,172,0.08) 0%, transparent 70%);
}
.hero-deco-line { display: none; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(239,167,172,0.12);
  border: 1px solid rgba(239,167,172,0.3);
  color: var(--rosa);
  padding: 6px 16px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  margin-bottom: 36px;
  animation: fadeUp 0.8s ease both;
}
.hero-badge-dot {
  width: 6px; height: 6px;
  background: var(--rosa);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.hero-headline {
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(48px, 7vw, 88px);
  font-weight: 900;
  line-height: 1.05;
  color: var(--white);
  max-width: 820px;
  margin-bottom: 28px;
  animation: fadeUp 0.8s 0.1s ease both;
}
.hero-headline em {
  font-style: italic;
  color: var(--rosa);
}

.hero-sub {
  text-align: center;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.65;
  color: rgba(255,255,255,0.65);
  max-width: 520px;
  margin-bottom: 48px;
  animation: fadeUp 0.8s 0.2s ease both;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  animation: fadeUp 0.8s 0.3s ease both;
}

.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--rosa);
  color: var(--burgundy);
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  border: none; cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(239,167,172,0.3);
}
.btn-primary:hover {
  background: var(--rosa-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(239,167,172,0.4);
}
.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent;
  color: rgba(255,255,255,0.75);
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 16px;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.2);
  transition: border-color 0.2s, color 0.2s;
}
.btn-outline:hover {
  border-color: rgba(255,255,255,0.5);
  color: var(--white);
}

.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 72px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.1);
  animation: fadeUp 0.8s 0.4s ease both;
  flex-wrap: wrap;
  justify-content: center;
}
.hero-stat-value {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--white);
}
.hero-stat-label {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  margin-top: 4px;
  letter-spacing: 0.03em;
}

/* ─── SEZIONE: COME FUNZIONA ─── */
.section-how {
  background: var(--white);
  padding: 100px 24px;
}
.container {
  max-width: 1100px;
  margin: 0 auto;
}
.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--rosa-dark);
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  color: var(--burgundy);
  line-height: 1.15;
  margin-bottom: 16px;
}
.section-title em {
  font-style: italic;
  color: var(--verde);
}
.section-desc {
  font-size: 17px;
  color: var(--gray-600);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 60px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--gray-200);
  border-radius: 16px;
  overflow: hidden;
}
.step {
  background: var(--white);
  padding: 40px 36px;
  position: relative;
  transition: background 0.2s;
}
.step:hover { background: var(--gray-50); }
.step-num {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 900;
  color: var(--verde-soft);
  line-height: 1;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}
.step-icon {
  width: 44px; height: 44px;
  background: var(--verde-soft);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.step-icon svg { color: var(--verde); }
.step-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--burgundy);
  margin-bottom: 12px;
}
.step-desc {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.65;
}

.section-how-note {
  margin-top: 40px;
  background: var(--verde-soft);
  border-left: 3px solid var(--rosa);
  border-radius: 10px;
  padding: 20px 24px;
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.65;
}
.section-how-note strong {
  color: var(--burgundy);
  font-weight: 600;
}

/* ─── SEZIONE: FEATURES ─── */
.section-features {
  background: var(--gray-50);
  padding: 100px 24px;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--white);
  border-radius: 16px;
  padding: 36px;
  border: 1px solid var(--gray-200);
  transition: box-shadow 0.25s, transform 0.2s;
}
.feature-card:hover {
  box-shadow: 0 10px 30px rgba(13,57,49,0.10);
  transform: translateY(-3px);
}
.feature-card.accent {
  background: var(--verde);
  border-color: transparent;
}
.feature-card.accent .feature-title,
.feature-card.accent .feature-desc { color: var(--white); }
.feature-card.accent .feature-desc { color: rgba(255,255,255,0.65); }
.feature-chip {
  display: inline-block;
  background: var(--verde-soft);
  color: var(--verde);
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 20px;
}
.feature-card.accent .feature-chip {
  background: rgba(239,167,172,0.2);
  color: var(--rosa);
}
.feature-icon-wrap {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--verde-soft);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.feature-card.accent .feature-icon-wrap {
  background: rgba(255,255,255,0.1);
}
.feature-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--burgundy);
  margin-bottom: 10px;
}
.feature-desc {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.65;
}

/* ─── SEZIONE: QUOTE / EMOTIONAL ─── */
.section-quote {
  background: var(--verde);
  padding: 100px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.section-quote::before {
  content: '\201C';
  position: absolute;
  top: -60px; left: 50%; transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: 300px;
  color: rgba(239,167,172,0.06);
  line-height: 1;
  pointer-events: none;
}
.quote-text {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  font-style: italic;
  color: var(--white);
  max-width: 760px;
  margin: 0 auto 24px;
  line-height: 1.25;
}
.quote-text span { color: var(--rosa); }
.quote-sub {
  font-size: 16px;
  color: rgba(255,255,255,0.55);
}

/* ─── SEZIONE: FORM ─── */
.section-form {
  background: var(--white);
  padding: 100px 24px;
}
.form-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.form-left .section-title { margin-bottom: 16px; }
.form-bullets {
  list-style: none;
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.form-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.55;
}
.form-bullets li::before {
  content: '';
  flex-shrink: 0;
  margin-top: 6px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--rosa);
}

.form-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 20px;
  padding: 44px 40px;
}
.form-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--burgundy);
  margin-bottom: 6px;
}
.form-subtitle {
  font-size: 14px;
  color: var(--gray-600);
  margin-bottom: 32px;
  line-height: 1.55;
}

.form-group {
  margin-bottom: 18px;
}
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--burgundy);
  margin-bottom: 7px;
  letter-spacing: 0.01em;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--burgundy);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--verde);
  box-shadow: 0 0 0 3px rgba(239,167,172,0.25);
}
.form-group textarea { resize: vertical; min-height: 90px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.btn-submit {
  width: 100%;
  background: var(--verde);
  color: var(--white);
  border: none;
  border-radius: 8px;
  padding: 15px 24px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(13,57,49,0.2);
  margin-top: 8px;
}
.btn-submit:hover {
  background: var(--verde-light);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(13,57,49,0.28);
}
.btn-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

.form-note {
  text-align: center;
  font-size: 13px;
  color: var(--gray-600);
  margin-top: 16px;
  display: flex; align-items: center; justify-content: center; gap: 6px;
}
.form-note svg { color: var(--verde); flex-shrink: 0; }

/* success state */
.form-success {
  display: none;
  text-align: center;
  padding: 32px 0;
}
.form-success.show { display: block; }
.form-success .success-icon {
  width: 64px; height: 64px;
  background: var(--verde-soft);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}
.form-success h3 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  color: var(--burgundy);
  margin-bottom: 10px;
}
.form-success p {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.6;
}

/* ─── FOOTER ─── */
footer {
  background: var(--burgundy);
  padding: 48px 24px;
  text-align: center;
}
.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 16px;
}
.footer-logo-icon {
  width: 32px; height: 32px;
  background: var(--verde);
  border: 1.5px solid var(--rosa);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--white);
  box-shadow: 2px 2px 0 var(--rosa);
}
.footer-logo-text {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
}
.footer-tagline {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.08em;
  margin-bottom: 24px;
}
.footer-links {
  display: flex;
  gap: 28px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.footer-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: rgba(255,255,255,0.8); }
.footer-copy {
  font-size: 12px;
  color: rgba(255,255,255,0.25);
}

/* ─── ANIMATIONS ─── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.4; }
}

.js-loaded .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.js-loaded .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.js-loaded .reveal-delay-1 { transition-delay: 0.1s; }
.js-loaded .reveal-delay-2 { transition-delay: 0.2s; }
.js-loaded .reveal-delay-3 { transition-delay: 0.3s; }

/* ─── SEZIONE: PRICING ─── */
.section-pricing {
  background: var(--gray-50);
  padding: 100px 24px;
  text-align: center;
}
.section-pricing .section-desc {
  margin: 0 auto 56px;
}
.pricing-card {
  max-width: 560px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 24px;
  padding: 48px 44px;
  position: relative;
  box-shadow: 0 8px 40px rgba(13,57,49,0.07);
}
.pricing-badge {
  display: inline-block;
  background: var(--rosa-lightest);
  color: var(--rosa-dark);
  border: 1px solid var(--rosa-light);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 6px 18px;
  border-radius: 9999px;
  margin-bottom: 32px;
}
.pricing-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.pricing-name {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  color: var(--burgundy);
  text-align: left;
}
.pricing-price-wrap { text-align: right; }
.pricing-original {
  font-size: 18px;
  color: var(--gray-600);
  text-decoration: line-through;
  opacity: 0.6;
}
.pricing-current {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 900;
  color: var(--verde);
  line-height: 1.05;
}
.pricing-note {
  font-size: 12px;
  color: var(--gray-600);
  margin-top: 4px;
}
.pricing-includes {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-bottom: 40px;
  text-align: left;
  border-top: 1px solid var(--gray-200);
  padding-top: 32px;
}
.pricing-includes li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.5;
}
.pricing-includes li::before {
  content: '';
  flex-shrink: 0;
  margin-top: 7px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--rosa);
}
.pricing-cta {
  width: 100%;
  justify-content: center;
  font-size: 16px;
  padding: 16px 32px;
}



/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  nav { padding: 16px 20px; }
  nav.scrolled { padding: 12px 20px; }

  .hero { padding: 120px 20px 64px; }
  .hero-stats { gap: 28px; }

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

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

  .form-wrapper {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .form-card {
    padding: 32px 24px;
  }

  .section-how,
  .section-features,
  .section-quote,
  .section-form { padding: 72px 20px; }

  .pricing-card { padding: 36px 24px; }
  .pricing-top { flex-direction: column; align-items: flex-start; }
  .pricing-price-wrap { text-align: left; }
}