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

:root {
  --navy:   #232a55;
  --magenta:#d33a9b;
  --violet: #2d5be4;
  --white:  #ffffff;
  --offwhite: #fafafa;
  --navy-dark: #1a2040;
  --navy-light: #2e3666;
  --navy-border: rgba(255,255,255,0.12);
  --light-border: rgba(35,42,85,0.12);
  --muted-dark: rgba(255,255,255,0.6);
  --muted-light: rgba(35,42,85,0.55);
  --radius: 14px;
  --radius-lg: 22px;
}

html { scroll-behavior: smooth; }

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

h1, h2, h3 { font-family: 'DM Sans', sans-serif; }

/* ─── NAV ─── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(26, 32, 64, 0.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--navy-border);
}
.nav-inner {
  max-width: 1100px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.logo {
  display: flex; align-items: center; gap: 2px;
  font-family: 'DM Sans', sans-serif;
  font-size: 20px; font-weight: 800;
  text-decoration: none; color: #fff;
}
.logo-img { height: 32px; width: auto; display: block; }
.logo-text { display: none; align-items: center; }
.logo-a {
  background: linear-gradient(135deg, #d33a9b, #2d5be4);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a {
  font-size: 14px; font-weight: 500; color: var(--muted-dark);
  text-decoration: none; transition: color 0.2s;
}
.nav-links a:hover { color: #fff; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 24px; border-radius: 100px;
  font-family: 'DM Sans', sans-serif; font-size: 14px; font-weight: 600;
  cursor: pointer; text-decoration: none; border: none; transition: all 0.2s;
}
.btn-primary { background: #d33a9b; color: #fff; }
.btn-primary:hover { background: #bc328a; transform: translateY(-1px); box-shadow: 0 8px 24px rgba(211,58,155,0.4); }
.btn-outline-white { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.3); }
.btn-outline-white:hover { border-color: #fff; background: rgba(255,255,255,0.08); }
.btn-outline-navy { background: transparent; color: var(--navy); border: 1.5px solid rgba(35,42,85,0.25); }
.btn-outline-navy:hover { border-color: var(--navy); background: rgba(35,42,85,0.05); }
.btn-lg { padding: 15px 36px; font-size: 16px; }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; }

/* ─── UTILS ─── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.container-sm { max-width: 720px; margin: 0 auto; padding: 0 24px; }

.tag-dark {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'DM Sans', sans-serif; font-size: 11px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 5px 14px; border-radius: 100px;
  margin-bottom: 20px;
}
.tag-dark::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #d33a9b; }

.tag-light {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'DM Sans', sans-serif; font-size: 11px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: #d33a9b;
  border: 1px solid rgba(211,58,155,0.3);
  background: rgba(211,58,155,0.06);
  padding: 5px 14px; border-radius: 100px;
  margin-bottom: 20px;
}
.tag-light::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #d33a9b; }

.section-center { text-align: center; }
.section-heading-dark {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(28px, 4vw, 46px); font-weight: 700;
  line-height: 1.12; letter-spacing: -0.025em;
  color: #fff; margin-bottom: 16px; text-wrap: pretty;
}
.section-heading-dark em { font-style: normal; background: linear-gradient(90deg,#d33a9b,#2d5be4); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.section-heading-light {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(28px, 4vw, 46px); font-weight: 700;
  line-height: 1.12; letter-spacing: -0.025em;
  color: var(--navy); margin-bottom: 16px; text-wrap: pretty;
}
.section-heading-light em { font-style: normal; color: #d33a9b; }
.section-sub-dark { font-size: 17px; color: var(--muted-dark); max-width: 560px; margin: 0 auto 56px; text-wrap: pretty; }
.section-sub-light { font-size: 17px; color: var(--muted-light); max-width: 560px; margin: 0 auto 56px; text-wrap: pretty; }

/* ─── HERO (dark) ─── */
#hero {
  min-height: 100vh;
  background: var(--navy);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 120px 24px 80px;
  text-align: center;
  position: relative; overflow: hidden;
}
.hero-glow {
  position: absolute; top: -120px; left: 50%; transform: translateX(-50%);
  width: 800px; height: 500px;
  background: radial-gradient(ellipse, rgba(211,58,155,0.2) 0%, transparent 65%);
  pointer-events: none;
}
.hero-glow2 {
  position: absolute; bottom: -100px; right: -80px;
  width: 500px; height: 500px;
  background: radial-gradient(ellipse, rgba(45,91,228,0.15) 0%, transparent 65%);
  pointer-events: none;
}
#hero h1 {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(44px, 7.5vw, 84px); font-weight: 800;
  line-height: 1.05; letter-spacing: -0.03em;
  color: #fff; max-width: 860px; margin-bottom: 24px; text-wrap: pretty;
}
#hero h1 em {
  font-style: normal;
  background: linear-gradient(90deg, #d33a9b, #2d5be4);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
#hero > p {
  font-size: clamp(16px, 2vw, 19px); color: var(--muted-dark);
  max-width: 560px; margin-bottom: 40px; text-wrap: pretty;
}
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.hero-trust {
  margin-top: 72px;
  display: flex; align-items: center; gap: 36px; flex-wrap: wrap; justify-content: center;
}
.hero-trust-item { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.hero-trust-item strong { font-family: 'DM Sans', sans-serif; font-size: 22px; font-weight: 700; color: #d33a9b; }
.hero-trust-item span { font-size: 12px; color: var(--muted-dark); font-weight: 500; }
.hero-trust-sep { width: 1px; height: 32px; background: var(--navy-border); }

/* ─── PROBLEM (light) ─── */
#problema {
  padding: 100px 0;
  background: var(--offwhite);
  border-top: 1px solid var(--light-border);
}
.problem-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; margin-top: 48px; }
.problem-text h2 {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(28px, 3.5vw, 40px); font-weight: 700;
  line-height: 1.15; letter-spacing: -0.02em; color: var(--navy); margin-bottom: 20px;
}
.problem-text h2 em { font-style: normal; color: #d33a9b; }
.problem-text p { color: var(--muted-light); font-size: 16px; line-height: 1.75; margin-bottom: 20px; }
.pain-list { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.pain-list li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 15px; color: var(--muted-light); line-height: 1.5;
}
.pain-icon { width: 20px; height: 20px; border-radius: 50%; background: rgba(211,58,155,0.12); display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px; }
.pain-icon::after { content: '✗'; color: #d33a9b; font-size: 10px; font-weight: 700; }
.problem-cards { display: flex; flex-direction: column; gap: 14px; }
.problem-card {
  background: #fff; border: 1px solid var(--light-border); border-radius: var(--radius); padding: 22px 24px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.problem-card:hover { border-color: rgba(211,58,155,0.3); box-shadow: 0 4px 20px rgba(211,58,155,0.08); }
.problem-card-num { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; color: #d33a9b; margin-bottom: 6px; text-transform: uppercase; }
.problem-card strong { color: var(--navy); display: block; font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.problem-card p { font-size: 14px; color: var(--muted-light); line-height: 1.65; }

/* ─── PERCORSO (dark) ─── */
#percorso { padding: 100px 0; background: var(--navy); }
.program-overview {
  display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center;
  margin-top: 52px;
  background: rgba(255,255,255,0.04); border: 1px solid var(--navy-border);
  border-radius: var(--radius-lg); padding: 48px;
}
.program-overview-text { text-align: left; }
.program-overview-text h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 26px; font-weight: 700; color: #fff; margin-bottom: 16px; letter-spacing: -0.02em;
}
.program-overview-text p { color: var(--muted-dark); font-size: 16px; line-height: 1.75; margin-bottom: 14px; }
.program-overview-text p:last-of-type { margin-bottom: 0; }
.program-overview-text .program-reassurance { color: #fff; font-weight: 600; }
.program-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.pill {
  background: rgba(211,58,155,0.12); border: 1px solid rgba(211,58,155,0.25);
  color: #f07cc4; font-size: 13px; font-weight: 500; padding: 6px 14px; border-radius: 100px;
}
.program-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stat-box {
  background: rgba(255,255,255,0.05); border: 1px solid var(--navy-border);
  border-radius: var(--radius); padding: 24px; text-align: center;
}
.stat-box .num { font-family: 'DM Sans', sans-serif; font-size: 34px; font-weight: 700; color: #d33a9b; letter-spacing: -0.03em; }
.stat-box .label { font-size: 13px; color: var(--muted-dark); margin-top: 4px; line-height: 1.4; }
.program-format-note {
  grid-column: 1 / -1;
  text-align: center; font-size: 13px; color: var(--muted-dark);
  margin-top: 6px; line-height: 1.5;
}

/* ─── COME FUNZIONA (light) ─── */
#come-funziona { padding: 100px 0; background: var(--offwhite); border-top: 1px solid var(--light-border); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 52px; }
.step {
  background: #fff; border: 1px solid var(--light-border); border-radius: var(--radius-lg); padding: 36px 28px;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.step:hover { border-color: rgba(211,58,155,0.3); box-shadow: 0 8px 32px rgba(211,58,155,0.08); }
.step-num {
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: #2d5be4; margin-bottom: 20px;
  display: flex; align-items: center; gap: 10px;
}
.step-num::after { content: ''; flex: 1; height: 1px; background: var(--light-border); }
.step-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: linear-gradient(135deg, rgba(211,58,155,0.12), rgba(45,91,228,0.12));
  display: flex; align-items: center; justify-content: center; font-size: 20px; margin-bottom: 18px;
}
.step h3 { font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.step p { font-size: 14px; color: var(--muted-light); line-height: 1.7; }

/* ─── WHAT'S INCLUDED (dark) ─── */
#include { padding: 100px 0; background: var(--navy); }
.includes-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 52px; }
.include-card {
  background: rgba(255,255,255,0.04); border: 1px solid var(--navy-border);
  border-radius: var(--radius-lg); padding: 32px;
  transition: border-color 0.3s, background 0.3s;
  text-align: left;
}
.include-card:hover { border-color: rgba(211,58,155,0.4); background: rgba(255,255,255,0.06); }
.include-card.featured {
  grid-column: span 2;
  background: rgba(211,58,155,0.07); border-color: rgba(211,58,155,0.25);
}
.include-card h3 { font-size: 19px; font-weight: 700; color: #fff; margin-bottom: 10px; }
.include-card p { font-size: 14px; color: var(--muted-dark); line-height: 1.7; }
.include-card p.include-note { margin-top: 14px; }
.include-list { list-style: none; margin-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.include-list li { display: flex; gap: 10px; font-size: 14px; color: var(--muted-dark); align-items: flex-start; }
.include-list li::before { content: '✓'; color: #d33a9b; font-weight: 700; flex-shrink: 0; margin-top: 1px; }

/* ─── PERCORSO DURATA (light) ─── */
#prezzi { padding: 100px 0; background: var(--offwhite); border-top: 1px solid var(--light-border); }
.pricing-intro-note { font-size: 14px; color: var(--muted-light); max-width: 620px; margin: -28px auto 40px; text-wrap: pretty; }
.pricing-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 820px; margin: 0 auto; }
.pricing-card {
  background: #fff; border: 1px solid var(--light-border);
  border-radius: var(--radius-lg); padding: 40px 36px;
  position: relative; transition: border-color 0.3s, box-shadow 0.3s;
  text-align: left;
}
.pricing-card:hover { border-color: rgba(211,58,155,0.3); box-shadow: 0 12px 40px rgba(211,58,155,0.1); }
.pricing-card.highlighted { border-color: #d33a9b; }
.pricing-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(90deg, #d33a9b, #2d5be4); color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 4px 18px; border-radius: 100px; text-align: center;
}
.pricing-duration { font-size: 12px; font-weight: 700; color: #2d5be4; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 10px; }
.pricing-card h3 { font-family: 'DM Sans', sans-serif; font-size: 22px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.pricing-card > p { font-size: 14px; color: var(--muted-light); margin-bottom: 28px; }
.pricing-divider { height: 1px; background: var(--light-border); margin-bottom: 24px; }
.pricing-features { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 32px; }
.pricing-features li { display: flex; gap: 10px; font-size: 14px; color: var(--muted-light); align-items: flex-start; }
.pricing-features li::before { content: '✓'; color: #d33a9b; font-weight: 700; flex-shrink: 0; }
.pricing-note { font-size: 13px; color: var(--muted-light); text-align: center; margin-top: 24px; }

/* ─── TEAM (dark) ─── */
#team { padding: 100px 0; background: var(--navy); }
.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 800px; margin: 52px auto 0; }
.team-card {
  background: rgba(255,255,255,0.04); border: 1px solid var(--navy-border);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: border-color 0.3s, transform 0.2s;
}
.team-card:hover { border-color: rgba(211,58,155,0.4); transform: translateY(-4px); }
.team-photo {
  width: 100%; aspect-ratio: 3/4; max-height: 260px;
  overflow: hidden; position: relative;
}
.team-photo-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.team-photo-placeholder {
  width: 100%; height: 100%;
  background: repeating-linear-gradient(45deg, #1a2040 0px, #1a2040 8px, #232a55 8px, #232a55 16px);
  display: flex; align-items: center; justify-content: center;
}
.team-photo-placeholder span { font-size: 11px; color: rgba(255,255,255,0.3); font-family: monospace; text-align: center; padding: 0 16px; }
.team-info { padding: 24px; }
.team-name { font-family: 'DM Sans', sans-serif; font-size: 17px; font-weight: 700; color: #fff; margin-bottom: 3px; }
.team-role { font-size: 13px; color: #d33a9b; font-weight: 500; margin-bottom: 6px; }
.team-title { font-size: 12px; color: var(--muted-dark); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 4px; }
.team-credential { font-size: 12px; color: var(--muted-dark); font-style: italic; margin-bottom: 10px; }
.team-bio { font-size: 13px; color: var(--muted-dark); line-height: 1.65; }
.team-bio p { margin-bottom: 10px; }
.team-bio p:last-child { margin-bottom: 0; }
.team-network {
  max-width: 800px; margin: 36px auto 0;
  background: rgba(255,255,255,0.04); border: 1px solid var(--navy-border);
  border-radius: var(--radius); padding: 24px 32px;
  font-size: 15px; color: var(--muted-dark); line-height: 1.7; text-align: center;
}

/* ─── FAQ (light) ─── */
#faq { padding: 100px 0; background: var(--offwhite); border-top: 1px solid var(--light-border); }
.faq-list { margin-top: 48px; display: flex; flex-direction: column; gap: 8px; }
.faq-item {
  background: #fff; border: 1px solid var(--light-border); border-radius: var(--radius); overflow: hidden;
  transition: border-color 0.2s;
}
.faq-item.open { border-color: rgba(211,58,155,0.3); }
.faq-q {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px; cursor: pointer;
  font-size: 15px; font-weight: 600; color: var(--navy); user-select: none;
}
.faq-q:hover { color: #d33a9b; }
.faq-chevron {
  width: 24px; height: 24px; flex-shrink: 0;
  border: 1.5px solid var(--light-border); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; transition: transform 0.3s;
}
.faq-item.open .faq-chevron { transform: rotate(180deg); border-color: #d33a9b; }
.faq-chevron svg { width: 12px; height: 12px; stroke: var(--muted-light); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-a-inner { padding: 0 24px 20px; font-size: 14px; color: var(--muted-light); line-height: 1.75; }

/* ─── CTA FINALE (gradient dark) ─── */
#cta-finale {
  padding: 120px 0; text-align: center;
  background: linear-gradient(135deg, var(--navy) 0%, #1a1245 100%);
  position: relative; overflow: hidden;
}
.cta-glow {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 700px; height: 500px;
  background: radial-gradient(ellipse, rgba(211,58,155,0.2) 0%, transparent 65%);
  pointer-events: none;
}
#cta-finale h2 {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(32px, 5vw, 58px); font-weight: 800;
  letter-spacing: -0.025em; color: #fff; margin-bottom: 20px; line-height: 1.1;
}
#cta-finale h2 em { font-style: normal; background: linear-gradient(90deg,#d33a9b,#2d5be4); -webkit-background-clip:text; -webkit-text-fill-color: transparent; }
#cta-finale p { font-size: 18px; color: var(--muted-dark); margin-bottom: 40px; max-width: 480px; margin-left: auto; margin-right: auto; }
.cta-note { margin-top: 16px; font-size: 13px; color: rgba(255,255,255,0.35); }

/* ─── FOOTER ─── */
footer { background: var(--navy-dark); border-top: 1px solid var(--navy-border); padding: 40px 24px 0; }
.footer-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  padding-bottom: 28px;
}
.footer-logo { display: flex; align-items: center; font-family: 'DM Sans', sans-serif; font-size: 18px; font-weight: 800; text-decoration: none; color: #fff; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a { font-size: 13px; color: var(--muted-dark); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: #fff; }
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.3); }
.footer-disclaimer {
  max-width: 1100px; margin: 0 auto;
  border-top: 1px solid var(--navy-border);
  padding: 20px 0 32px;
  font-size: 12px; color: rgba(255,255,255,0.28); line-height: 1.75;
}
.footer-disclaimer strong { color: rgba(255,255,255,0.45); }

/* ─── MOBILE ─── */
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0;
    background: var(--navy); border-bottom: 1px solid var(--navy-border);
    padding: 20px 24px; gap: 20px;
  }
  .hamburger { display: flex; }
  .problem-grid, .program-overview, .team-grid { grid-template-columns: 1fr; }
  .steps, .includes-grid, .pricing-grid { grid-template-columns: 1fr; }
  .include-card.featured { grid-column: span 1; }
  .footer-inner { flex-direction: column; align-items: flex-start; }

  /* hero trust: 2 sopra, 2 sotto */
  .hero-trust {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 28px 16px; justify-content: center;
  }
  .hero-trust-sep { display: none; }
}
