:root {
  --navy-dark: #081328;
  --navy: #0b1e42;
  --navy-card: #122852;
  --navy-card-border: #1e3a6e;
  --gold-1: #d9a93d;
  --gold-2: #f2c860;
  --gold-grad: linear-gradient(135deg, var(--gold-1) 0%, var(--gold-2) 60%, #f6d98a 100%);
  --white: #ffffff;
  --text-muted: #dcdfea;
  --text-faint: #a3a9c0;
  --green: #21c46d;
  --red: #e5566a;
  --radius: 16px;
  --max-width: 1180px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--navy-dark);
  color: var(--white);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

h1, h2, h3, h4, .brand-name {
  font-family: "Poppins", "Inter", sans-serif;
  font-weight: 700;
  line-height: 1.15;
}

.gold {
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

a { color: inherit; text-decoration: none; }

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

/* ---------- Header ---------- */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(8, 19, 40, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(217, 169, 61, 0.15);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand img { height: 42px; width: auto; }

nav.links {
  display: flex;
  gap: 32px;
  font-size: 0.95rem;
  font-weight: 500;
}

nav.links a { color: var(--text-muted); transition: color 0.2s; }
nav.links a:hover, nav.links a.active { color: var(--gold-2); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn-gold {
  background: var(--gold-grad);
  color: var(--navy-dark);
  box-shadow: 0 8px 24px rgba(217, 169, 61, 0.25);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.25);
}
.btn-outline:hover { border-color: var(--gold-2); color: var(--gold-2); }

.nav-cta { display: none; }
@media (min-width: 900px) { .nav-cta { display: inline-flex; } }

.menu-toggle {
  display: block;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.6rem;
  cursor: pointer;
}
@media (min-width: 900px) { .menu-toggle { display: none; } nav.links { display: flex; } }
@media (max-width: 899px) {
  nav.links {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    background: var(--navy);
    padding: 20px 24px;
    gap: 18px;
    border-bottom: 1px solid rgba(217,169,61,0.15);
    display: none;
  }
  nav.links.open { display: flex; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 90px 0 70px;
  background:
    radial-gradient(circle at 15% 20%, rgba(217,169,61,0.10), transparent 45%),
    radial-gradient(circle at 85% 60%, rgba(217,169,61,0.08), transparent 50%),
    var(--navy-dark);
  text-align: center;
}

.hero .container { max-width: 920px; }

.eyebrow {
  display: inline-block;
  color: var(--gold-2);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin-bottom: 20px;
  border: 1px solid rgba(217,169,61,0.3);
  padding: 6px 16px;
  border-radius: 999px;
}

.hero h1 {
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  margin-bottom: 24px;
}

.hero .lede {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 28px;
}

.hero .promise {
  font-size: clamp(1.1rem, 2.2vw, 1.4rem);
  font-weight: 700;
  margin-bottom: 14px;
}

.hero .sub {
  color: var(--text-faint);
  max-width: 620px;
  margin: 0 auto 40px;
  font-size: 0.98rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

/* ---------- Sections generic ---------- */
section { padding: 80px 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.section-head h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); margin-bottom: 14px; }
.section-head p { color: var(--text-muted); font-size: 1.02rem; }

/* reality check */
.reality {
  text-align: center;
}
.reality h2 {
  font-size: clamp(1.4rem, 3.2vw, 2.1rem);
  max-width: 780px;
  margin: 0 auto 50px;
}

.cards3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.card {
  background: var(--navy-card);
  border: 1px solid var(--navy-card-border);
  border-radius: var(--radius);
  padding: 32px 28px;
  text-align: left;
}

.card .icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(217,169,61,0.12);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  font-size: 1.4rem;
}

.card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.card p { color: var(--text-muted); font-size: 0.95rem; }

/* per chi è / non è */
.split2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 760px) { .split2 { grid-template-columns: 1fr; } }

.split-card {
  border-radius: var(--radius);
  padding: 36px 32px;
  background: var(--navy-card);
}
.split-card.yes { border: 1.5px solid var(--gold-1); }
.split-card.no { border: 1px solid var(--navy-card-border); }

.split-card h3 { font-size: 1.4rem; margin-bottom: 22px; }
.split-card.yes h3 { color: var(--gold-2); }

.split-card ul { list-style: none; }
.split-card li {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  color: var(--text-muted);
  font-size: 0.98rem;
}
.split-card.yes li::before { content: "✓"; color: var(--green); font-weight: 700; flex-shrink: 0; }
.split-card.no li::before { content: "✕"; color: var(--red); font-weight: 700; flex-shrink: 0; }

/* verità scomode carousel */
.truths {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-dark) 100%);
  text-align: center;
}
.truths .eyebrow { margin-bottom: 28px; }
.truths-slide {
  min-height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.truths-slide p {
  font-size: clamp(1.3rem, 3.4vw, 2rem);
  font-weight: 700;
  max-width: 780px;
  transition: opacity 0.4s ease;
}
.dots { display: flex; gap: 10px; justify-content: center; margin-top: 34px; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,0.2); cursor: pointer; transition: background 0.2s, width 0.2s; }
.dot.active { background: var(--gold-2); width: 26px; border-radius: 6px; }

/* dual cta */
.dual-cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 760px) { .dual-cta { grid-template-columns: 1fr; } }

.cta-box {
  border-radius: var(--radius);
  padding: 40px 32px;
  text-align: center;
}
.cta-box.a { background: rgba(217,169,61,0.08); border: 1.5px solid rgba(217,169,61,0.4); }
.cta-box.b { background: rgba(33,196,109,0.08); border: 1.5px solid rgba(33,196,109,0.4); }
.cta-box .icon-circle {
  width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
  font-size: 1.5rem;
}
.cta-box.a .icon-circle { background: rgba(217,169,61,0.18); color: var(--gold-2); }
.cta-box.b .icon-circle { background: rgba(33,196,109,0.18); color: var(--green); }
.cta-box h3 { font-size: 1.2rem; margin-bottom: 6px; }
.cta-box p { color: var(--text-muted); font-size: 0.92rem; margin-bottom: 18px; }
.cta-box .link-arrow { font-weight: 700; }
.cta-box.a .link-arrow { color: var(--gold-2); }
.cta-box.b .link-arrow { color: var(--green); }

/* chi sono */
.about {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 820px) { .about { grid-template-columns: 1fr; } }

.about-photo {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1.5px solid rgba(217,169,61,0.35);
  aspect-ratio: 4/5;
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; }

.about-content .eyebrow { margin-bottom: 18px; }
.about-content h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 24px; }

.about-stats { list-style: none; border-left: 2px solid rgba(217,169,61,0.3); }
.about-stats li {
  padding: 12px 0 12px 22px;
  font-size: 1.02rem;
  color: var(--text-muted);
}
.about-stats strong { color: var(--white); }
.about-stats .accent { color: var(--gold-2); font-weight: 700; }

/* community photo under chi sono */
.community-photo {
  margin-top: 56px;
  text-align: center;
}
.community-photo img {
  width: 100%;
  max-width: 820px;
  height: auto;
  margin: 0 auto;
  border-radius: var(--radius);
  border: 1.5px solid rgba(217,169,61,0.3);
}
.community-photo p {
  margin-top: 16px;
  color: var(--text-faint);
  font-size: 0.92rem;
}

/* storie di successo placeholder (currently disabled) */
.stories { display: none; }

/* faq */
.faq { max-width: 800px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 4px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.02rem;
}
.faq-q .chev { color: var(--gold-2); transition: transform 0.25s ease; font-size: 1.1rem; }
.faq-item.open .chev { transform: rotate(180deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--text-muted);
  font-size: 0.97rem;
  padding: 0 4px;
}
.faq-item.open .faq-a { max-height: 240px; padding-bottom: 22px; }

/* footer */
footer {
  border-top: 1px solid rgba(217,169,61,0.15);
  padding: 40px 0;
  text-align: center;
  color: var(--text-faint);
  font-size: 0.88rem;
}
footer .brand { justify-content: center; margin-bottom: 16px; }
footer img { height: 32px; }

/* sticky mobile cta */
.mobile-cta {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 60;
  background: var(--navy);
  border-top: 1px solid rgba(217,169,61,0.25);
  padding: 12px 20px;
  display: flex;
  justify-content: center;
}
.mobile-cta .btn { width: 100%; max-width: 420px; }
@media (min-width: 900px) { .mobile-cta { display: none; } }
@media (max-width: 899px) { body { padding-bottom: 76px; } }

/* section rhythm */
.section-tint {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-dark) 100%);
}

/* card hover polish */
.card, .split-card, .cta-box {
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(217,169,61,0.45);
  box-shadow: 0 12px 28px rgba(0,0,0,0.25);
}
.cta-box:hover { transform: translateY(-4px); }

/* trust strip under hero */
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 36px;
}
.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid rgba(217,169,61,0.28);
  background: rgba(217,169,61,0.06);
  color: var(--text-muted);
  font-size: 0.86rem;
  font-weight: 500;
}

/* scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* whatsapp floating button */
.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
  z-index: 70;
  transition: transform 0.15s ease;
}
.whatsapp-float:hover { transform: scale(1.08); }
@media (max-width: 899px) { .whatsapp-float { bottom: 92px; right: 16px; width: 52px; height: 52px; } }
