:root {
  --bg: #0e1117;
  --bg-soft: #151a23;
  --text: #ffffff;
  --muted: #9aa4b2;
  --gold: #d4af37;
}

/* RESET */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: Inter, system-ui, sans-serif;
}

body {
  background: var(--bg);
  color: var(--text);
}

/* HEADER */
.site-header {
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.header-inner {
  max-width: 1200px;
  margin: auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  height: 34px;
}

.logo span {
  font-size: 18px;
  font-weight: 600;
  color: var(--gold);
}

.nav-desktop {
  display: flex;
  gap: 24px;
}

.nav-desktop a {
  color: var(--muted);
  text-decoration: none;
}

.header-cta {
  display: flex;
  gap: 10px;
  align-items: center;
}

.burger {
  display: none;
  background: none;
  border: none;
  font-size: 22px;
  color: white;
}

/* BUTTONS */
.btn {
  padding: 10px 18px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 14px;
}

.btn.primary {
  background: var(--gold);
  color: #000;
}

.btn.ghost {
  border: 1px solid rgba(255,255,255,0.2);
  color: white;
}

/* HERO */
.hero {
  padding: 100px 24px;
  text-align: center;
}

.hero h1 {
  font-size: 42px;
  margin-bottom: 16px;
}

.hero p {
  max-width: 600px;
  margin: auto;
  color: var(--muted);
}

.hero-buttons {
  margin-top: 30px;
  display: flex;
  gap: 12px;
  justify-content: center;
}

/* FEATURES */
.features {
  padding: 80px 24px;
}

.container {
  max-width: 1100px;
  margin: auto;
  padding: 0 24px;
}

.feature-card {
  background: var(--bg-soft);
  padding: 24px;
  border-radius: 12px;
}

/* CTA */
.cta {
  padding: 80px 24px;
  text-align: center;
  background: linear-gradient(180deg, rgba(212,175,55,0.08), transparent);
}

.cta h2 {
  margin-bottom: 20px;
}

/* FOOTER */
.footer {
  padding: 30px;
  text-align: center;
  color: var(--muted);
}

/* MOBILE */
@media (max-width: 900px) {
  .nav-desktop {
    display: none;
  }
  .burger {
    display: block;
  }
}


/* MOBILE MENU - NASCOSTO DI DEFAULT */
.mobile-menu {
  display: none;
}


.mobile-menu.open {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  max-width: 100%;
  background: var(--bg);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.mobile-menu a {
  color: var(--muted);
  text-decoration: none;
}


/* ===== EDITORIAL SECTIONS ===== */
.editorial-section {
  padding: 90px 24px;
}

.editorial-section.alt {
  background: linear-gradient(
    180deg,
    rgba(212,175,55,0.05),
    transparent
  );
}

.editorial-container {
  max-width: 900px;
  margin: auto;
}

.editorial-label {
  color: var(--gold);
  font-size: 13px;
  letter-spacing: 1px;
  font-weight: 600;
}

.editorial-text h2 {
  font-size: 32px;
  margin: 12px 0;
}

.editorial-text p {
  color: var(--muted);
  max-width: 600px;
  line-height: 1.6;
}

.editorial-link {
  display: inline-block;
  margin-top: 16px;
  color: var(--gold);
  text-decoration: none;
  font-weight: 600;
}

/* ===== BLOG PREVIEW ===== */
.blog-preview-section {
  padding: 90px 24px;
  text-align: center;
}

.blog-preview-title {
  font-size: 30px;
  margin-bottom: 40px;
}

.blog-preview-grid {
  max-width: 900px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(260px,1fr));
  gap: 20px;
}

.blog-card {
  background: var(--bg-soft);
  padding: 26px;
  border-radius: 14px;
  text-decoration: none;
  color: white;
  text-align: left;
  transition: transform .2s ease;
}

.blog-card:hover {
  transform: translateY(-6px);
}

.blog-card h3 {
  margin-bottom: 10px;
}

.blog-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.blog-card span {
  display: inline-block;
  margin-top: 12px;
  color: var(--gold);
  font-weight: 600;
}

/* === CENTRATURA ARTICOLO IN EVIDENZA === */
.editorial-section.alt .editorial-container {
  display: flex;
  justify-content: center;
  text-align: center;
}

.editorial-section.alt .editorial-text {
  max-width: 700px;
}

.editorial-section.alt .editorial-text p {
  margin: 0 auto;
}

.editorial-section.alt .editorial-link {
  margin-left: auto;
  margin-right: auto;
}



/* ===== TRUST SECTION – PRO ===== */
/* ===== TRUST SECTION – DISCIPLY STYLE ===== */
.trust-section {
  padding: 80px 24px;
}

.trust-inner {
  max-width: 1100px;
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
}

/* contenitore riquadri */
.trust-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  width: 100%;
}

/* RIQUIDRI IDENTICI */
.trust-stats .stat {
  background: #0f0d0d;                 /* nero disciply */
  border-radius: 16px;
  padding: 26px 20px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  min-height: 120px;                   /* 🔥 STESSA ALTEZZA */
  text-align: center;
}

/* NUMERO */
.trust-stats .stat strong {
    text-shadow:
    0 0 6px rgba(245,196,0,0.35),
    0 0 14px rgba(245,196,0,0.18);
  font-size: 28px;
  font-weight: 700;
  color: #f5c400;                      /* giallo disciply */
  margin-bottom: 6px;
}

/* TESTO */
.trust-stats .stat span {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  line-height: 1.4;
}

/* CTA sotto */
.trust-cta {
  text-align: center;
  max-width: 420px;
}

.trust-text {
  font-size: 15px;
  color: rgba(255,255,255,0.75);
  margin-bottom: 14px;
}

/* MOBILE */
@media (max-width: 768px) {
  .trust-stats {
    grid-template-columns: 1fr;
  }
}




/* ===== WHY SECTION – PROFESSIONAL ===== */
.why-section-hero {
  padding: 90px 24px;
}

.why-inner {
  max-width: 1100px;
  margin: auto;
  text-align: center;
}

/* titolo */
.why-inner h2 {
  font-size: 26px;
  font-weight: 600;
  color: #f5c400;
  margin-bottom: 12px;
}

/* sottotitolo */
.why-inner .why-subtitle {
  font-size: 15px;
  color: rgba(255,255,255,0.7);
  max-width: 620px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

/* griglia */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}

/* CARD */
.why-card {
  background: #16181d;                 /* nero disciply */
  border-radius: 16px;
  padding: 28px 24px;

  text-align: left;
  min-height: 160px;

  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

/* titolo card */
.why-card h4 {
  font-size: 16px;
  font-weight: 600;
  color: #f5c400;
  margin-bottom: 10px;
}

/* testo card */
.why-card p {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255,255,255,0.75);
}

/* mobile */
@media (max-width: 768px) {
  .why-section-hero {
    padding: 70px 20px;
  }

  .why-inner h2 {
    font-size: 22px;
  }

  .why-inner .why-subtitle {
    font-size: 14px;
    margin-bottom: 30px;
  }
}


/* TESTIMONIALS */
.testimonials { padding:42px 24px; background: linear-gradient(180deg, rgba(0,0,0,0.2), transparent); }
.test-inner { max-width:1100px; margin:auto; text-align:center; }
.test-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:16px; margin-top:18px; }
.test-card { background:var(--bg-soft); padding:18px; border-radius:12px; color:#fff; }

/* ===== FAQ SECTION – PROFESSIONAL ===== */
/* ===== FAQ SECTION ===== */
.faq-section {
  padding: 70px 24px 40px; /* ↓ meno spazio sotto */
}

.faq-inner {
  max-width: 900px;
  margin: auto;
}

.faq-inner h2 {
  text-align: center;
  font-size: 24px;
  font-weight: 600;
  color: #f5c400;
  margin-bottom: 36px;
}

/* FAQ LIST */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* DOMANDA */
.faq-q {
  width: 100%;
  padding: 18px 22px;
  background: #16181d;
  border-radius: 14px;
  border: none;

  display: flex;
  justify-content: space-between;
  align-items: center;

  color: #fff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

/* icona */
.faq-q::after {
  content: "+";
  font-size: 20px;
  color: #f5c400;
}

.faq-q.active::after {
  content: "−";
}

/* RISPOSTA */
.faq-a {
  background: #0f1115;
  border-radius: 12px;
  padding: 18px 22px;
  margin-top: -6px;

  font-size: 14px;
  line-height: 1.6;
  color: rgba(255,255,255,0.75);
}

/* ===== CTA FINALE ===== */
.final-cta-section {
  padding: 100px 24px;
  text-align: center;
}

.final-cta-inner {
  max-width: 640px;
  margin: auto;
}

.final-cta-inner h2 {
  font-size: 26px;
  font-weight: 600;
  color: #f5c400;
  margin-bottom: 12px;
}

.final-cta-inner p {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255,255,255,0.75);
  margin-bottom: 28px;
}

.final-cta-inner .btn {
  width: auto;
  padding: 14px 34px;
}


.final-cta-section::before {
  content: "";
  display: block;
  width: 120px;
  height: 1px;
  margin: 0 auto 30px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(245,196,0,0.5),
    transparent
  );
}



/* =========================================================
   SEZIONI AVANZATE – DISCIPLY SYSTEM
   ========================================================= */

/* ---------- GRID CONTROLLATE ---------- */
.stats-deep .feature-grid,
.compare-section .feature-grid,
.features-extended .feature-grid,
.pricing-grid,
.test-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  margin-top: 28px;
}

/* =========================================================
   SEZIONI LUNGHE – STRUTTURA BASE
   ========================================================= */

.section-long {
  padding: 90px 24px;
  position: relative;
}

/* linea decorativa sopra */
.section-long::before {
  content: "";
  display: block;
  width: 140px;
  height: 1px;
  margin: 0 auto 36px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(245,196,0,0.5),
    transparent
  );
}

.section-long h2 {
  max-width: 760px;
  margin: 0 auto 20px;
  text-align: center;

  font-size: 30px;
  font-weight: 600;
  letter-spacing: -0.3px;
  color: var(--gold);
}

.section-long > .container > p {
  max-width: 760px;
  margin: 0 auto 46px;
  text-align: center;

  font-size: 15px;
  line-height: 1.75;
  color: rgba(255,255,255,0.72);
}

/* =========================================================
   CARD SYSTEM – DISCIPLY
   ========================================================= */

.section-long .card,
.compare-section .card,
.pricing-card,
.test-card {
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.025),
    rgba(0,0,0,0.25)
  );
  border-radius: 16px;
  padding: 26px 24px;

  border: 1px solid rgba(255,255,255,0.04);
  transition: transform .25s ease, box-shadow .25s ease;
}

.section-long .card:hover,
.pricing-card:hover,
.test-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.45);
}

/* Titoli card */
.section-long .card h3,
.pricing-card h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 10px;
}

/* Testo card */
.section-long .card p,
.pricing-card p,
.test-card p {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255,255,255,0.75);
}

.suite-card h3 {
  display: flex;
  align-items: center;
  gap: 8px;
}

.suite-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background: rgba(245, 196, 0, 0.12);
  font-size: 13px;
}

.workflow-example {
  margin-top: 20px;
}

/* =========================================================
   PROOF SECTION
   ========================================================= */

.proof-section {
  padding: 80px 24px;
}

.proof-section ul {
  max-width: 760px;
  margin: 26px auto;
  list-style: none;
  padding: 0;
}

.proof-section li {
  padding-left: 26px;
  margin-bottom: 14px;
  position: relative;
  color: rgba(255,255,255,0.78);
  line-height: 1.6;
}

.proof-section li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gold);
  font-weight: 700;
}

/* =========================================================
   PRICING
   ========================================================= */

.pricing-section {
  padding: 90px 24px;
}

.pricing-card {
  text-align: center;
}

.pricing-card .price {
  font-size: 22px;
  font-weight: 700;
  color: var(--gold);
  margin: 14px 0 18px;
}

.pricing-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
}

.pricing-card ul li {
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  margin-bottom: 10px;
}

/* piano consigliato */
.pricing-card.featured {
  border: 1px solid rgba(245,196,0,0.25);
  box-shadow: 0 18px 40px rgba(0,0,0,0.55);
  transform: scale(1.03);
}

/* =========================================================
   NEWSLETTER
   ========================================================= */

.newsletter-section {
  padding: 80px 24px;
  text-align: center;
  background: linear-gradient(
    180deg,
    rgba(245,196,0,0.035),
    transparent
  );
}

.newsletter-form {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-top: 26px;
}

.newsletter-form input[type="email"] {
  min-width: 280px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
  color: var(--text);
}

.newsletter-msg {
  margin-top: 14px;
  font-size: 14px;
  color: rgba(255,255,255,0.85);
}

/* =========================================================
   MOBILE RULES – DISCIPLY
   ========================================================= */

@media (max-width: 768px) {

  .section-long {
    padding: 70px 20px;
  }

  .section-long h2 {
    font-size: 22px;
  }

  .section-long > .container > p {
    font-size: 14px;
    margin-bottom: 34px;
  }

  .pricing-card.featured {
    transform: none;
  }

  .newsletter-form {
    flex-direction: column;
    align-items: center;
  }

  .newsletter-form input {
    width: 100%;
    max-width: 420px;
  }
}


/* ===== FIX BUTTON GHOST IN PRICING ===== */

.pricing-card .btn.ghost {
  background: rgba(0, 0, 0, 0.55);
  color: var(--gold);
  border: 1px solid rgba(245, 196, 0, 0.35);
}

.pricing-card .btn.ghost:hover {
  background: rgba(0, 0, 0, 0.75);
  border-color: var(--gold);
  color: var(--gold);
}


/* ===== LOGO FIX MOBILE ===== */

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  height: 32px;
  width: auto;
  display: block;
}

@media (max-width: 768px) {
  .logo img {
    height: 26px;
  }
}


/* =====================================================
   MOBILE OPTIMIZATION – DISCIPLY
   ===================================================== */

   @media (max-width: 768px) {

    /* HEADER */
    .site-header {
      padding: 12px 0;
    }
  
    .header-inner {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
  
    .nav-desktop {
      display: none;
    }
  
    .burger {
      display: block;
      font-size: 22px;
    }
  
    /* HERO */
    .hero {
      padding: 90px 20px 60px;
      text-align: center;
    }
  
    .hero h1 {
      font-size: 26px;
      line-height: 1.25;
    }
  
    .hero p {
      font-size: 15px;
      margin-top: 14px;
    }
  
    .hero-buttons {
      flex-direction: column;
      gap: 12px;
      margin-top: 24px;
    }
  
    .hero-buttons .btn {
      width: 100%;
    }
  
    /* TRUST */
    .trust-stats {
      grid-template-columns: 1fr;
      gap: 14px;
      text-align: center;
    }
  
    /* PRICING */
    .pricing-grid {
      grid-template-columns: 1fr;
    }
  
    .pricing-card {
      padding: 22px 18px;
    }
  
    .pricing-btn {
      width: 100%;
    }
  
    /* SECTION LONG */
    .section-long {
      padding: 60px 18px;
    }
  
    .section-long h2 {
      font-size: 22px;
    }
  
    .section-long > .container > p {
      font-size: 14px;
    }
  
    /* TESTIMONIALS */
    .test-grid {
      grid-template-columns: 1fr;
    }
  
    /* FOOTER */
    footer {
      text-align: center;
    }
  }
  


  /* ===== BEFORE / AFTER – HERO SECTION ===== */

.section-contrast {
  background: linear-gradient(
    180deg,
    rgba(245,196,0,0.06),
    rgba(0,0,0,0.35)
  );
}

.section-contrast h2 {
  margin-bottom: 40px;
}

.section-contrast .feature-grid {
  margin-top: 40px;
}

.section-contrast .card {
  padding: 34px 30px;
}

.section-contrast .card h3 {
  font-size: 18px;
}


/* ===== SEPARATORE LOGICO ===== */

.section-divider {
  width: 100%;
  height: 1px;
  margin: 80px auto;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255,255,255,0.08),
    transparent
  );
}


/* ===== EDUCATION – EDITORIAL MODE ===== */

.section-editorial .card {
  max-width: 820px;
  margin: 0 auto 26px;
}

.section-editorial .card h3 {
  font-size: 18px;
}

.section-editorial .card p {
  font-size: 15px;
  line-height: 1.75;
}



@media (max-width: 768px) {

  .section-contrast .feature-grid {
    gap: 18px;
  }

  .section-contrast .card {
    padding: 26px 22px;
  }

  .section-divider {
    margin: 60px auto;
  }

  .section-editorial .card {
    padding: 22px 20px;
  }
}


/* ===== FIX TITOLI FEATURES EXTENDED ===== */

.features-extended h2 {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 36px;
}
