/* =========================================================================
   TRIPLE FREEDOM — Pagina "Analisi Iniziale e Strategia"
   File: /css/analisi_iniziale.css  (root del sito, fuori da WordPress)
   Tutto è scoped sotto .tf-ai per non collidere con BeTheme.
   ========================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Teko:wght@400;500;600&family=Barlow+Condensed:wght@400;500;600;700&display=swap');

.tf-ai {
  --tf-bg:        #0d0f39;
  --tf-bg-deep:   #080a2b;
  --tf-panel:     #12153f;
  --tf-panel-2:   #0b0d33;
  --tf-cyan:      #6eeaff;
  --tf-magenta:   #f381e7;
  --tf-ink:       #e7e7f1;
  --tf-muted:     #a4a6cc;
  --tf-white:     #fcfcfc;
  --tf-line:      rgba(110,234,255,.14);
  --tf-line-2:    rgba(255,255,255,.06);

  font-family: "Barlow Condensed", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  color: var(--tf-ink);
  max-width: 1080px;
  margin: 0 auto;
  padding: 10px 0 20px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.tf-ai *,
.tf-ai *::before,
.tf-ai *::after { box-sizing: border-box; }

/* ---- Tipografia base (override sicuro sui tag del tema) ---- */
.tf-ai h2,
.tf-ai h3,
.tf-ai p,
.tf-ai ul,
.tf-ai li { margin: 0; padding: 0; }

.tf-ai h2 {
  font-family: "Teko", sans-serif;
  font-weight: 500;
  color: var(--tf-white);
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.02;
  letter-spacing: .3px;
}

.tf-ai h3 {
  font-family: "Teko", sans-serif;
  font-weight: 500;
  color: var(--tf-white);
  font-size: 26px;
  line-height: 1.1;
  letter-spacing: .3px;
}

.tf-ai p { color: var(--tf-ink); }
.tf-ai a { color: var(--tf-cyan); text-decoration: none; }
.tf-ai strong { color: var(--tf-white); font-weight: 600; }

/* ---- Sezione ---- */
.tf-ai__section { padding: 46px 22px; }
.tf-ai__section + .tf-ai__section { border-top: 1px solid var(--tf-line-2); }

/* ---- Eyebrow (etichetta con "data icon" a rombo) ---- */
.tf-ai__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--tf-cyan);
  margin-bottom: 16px;
}
.tf-ai__eyebrow::before {
  content: "";
  width: 9px; height: 9px;
  background: var(--tf-cyan);
  transform: rotate(45deg);
  display: inline-block;
}

.tf-ai__lead {
  font-size: 20px;
  line-height: 1.5;
  color: var(--tf-ink);
  max-width: 780px;
  margin-top: 18px;
}

.tf-ai__body { max-width: 800px; margin-top: 16px; }
.tf-ai__body p + p { margin-top: 14px; }

/* ---- Hero ---- */
.tf-ai__hero {
  background: radial-gradient(120% 140% at 15% 0%, #16194a 0%, var(--tf-bg) 55%);
  border: 1px solid var(--tf-line);
  border-radius: 14px;
  padding: 52px 40px;
}
.tf-ai__hero h2 { max-width: 900px; }

/* ---- Callout / statistica ---- */
.tf-ai__stat {
  display: flex;
  align-items: baseline;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 30px;
  padding: 20px 24px;
  border-left: 3px solid var(--tf-cyan);
  background: rgba(110,234,255,.05);
  border-radius: 0 10px 10px 0;
}
.tf-ai__stat b {
  font-family: "Teko", sans-serif;
  font-weight: 600;
  font-size: 52px;
  line-height: 1;
  color: var(--tf-cyan);
}
.tf-ai__stat span { color: var(--tf-muted); font-size: 18px; max-width: 620px; }

/* ---- Pull quote ---- */
.tf-ai__quote {
  font-family: "Teko", sans-serif;
  font-weight: 400;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15;
  color: var(--tf-white);
  border-top: 1px solid var(--tf-line);
  border-bottom: 1px solid var(--tf-line);
  padding: 34px 0;
  margin: 34px 0 0;
  max-width: 900px;
}
.tf-ai__quote em { color: var(--tf-cyan); font-style: normal; }

/* ---- Griglia card assessment ---- */
.tf-ai__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 32px;
}
.tf-ai__card {
  background: linear-gradient(180deg, var(--tf-panel) 0%, var(--tf-panel-2) 100%);
  border: 1px solid var(--tf-line-2);
  border-radius: 12px;
  padding: 28px 24px;
  transition: border-color .25s ease, transform .25s ease;
}
.tf-ai__card:hover {
  border-color: var(--tf-line);
  transform: translateY(-3px);
}
.tf-ai__card .tf-ai__icon {
  width: 44px; height: 44px;
  color: var(--tf-cyan);
  margin-bottom: 16px;
}
.tf-ai__card h3 { margin-bottom: 8px; }
.tf-ai__card p { color: var(--tf-muted); font-size: 16px; }

/* ---- Lista pain point ---- */
.tf-ai__pains {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 30px;
  margin-top: 30px;
  max-width: 940px;
}
.tf-ai__pains li {
  list-style: none;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 18px;
  color: var(--tf-ink);
  line-height: 1.4;
}
.tf-ai__pains .tf-ai__x {
  flex: 0 0 auto;
  width: 22px; height: 22px;
  margin-top: 2px;
  color: var(--tf-magenta);
}

/* ---- Step come operiamo ---- */
.tf-ai__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 34px;
}
.tf-ai__step {
  position: relative;
  padding: 26px 24px 24px;
  background: var(--tf-panel-2);
  border: 1px solid var(--tf-line-2);
  border-radius: 12px;
  overflow: hidden;
}
.tf-ai__step-num {
  font-family: "Teko", sans-serif;
  font-weight: 600;
  font-size: 72px;
  line-height: .8;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(110,234,255,.35);
  display: block;
  margin-bottom: 14px;
}
.tf-ai__step h3 { margin-bottom: 8px; }
.tf-ai__step p { color: var(--tf-muted); font-size: 16px; }

.tf-ai__note {
  margin-top: 30px;
  max-width: 860px;
  font-size: 18px;
  color: var(--tf-ink);
}

/* ---- CTA finale ---- */
.tf-ai__cta {
  text-align: center;
  background: radial-gradient(120% 160% at 50% 0%, #16194a 0%, var(--tf-bg-deep) 70%);
  border: 1px solid var(--tf-line);
  border-radius: 14px;
  padding: 54px 30px;
  margin-top: 8px;
}
.tf-ai__cta h2 { margin-bottom: 14px; }
.tf-ai__cta p {
  color: var(--tf-muted);
  font-size: 20px;
  max-width: 640px;
  margin: 0 auto 28px;
}
.tf-ai__btn {
  display: inline-block;
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--tf-cyan);
  border: 2px solid var(--tf-cyan);
  border-radius: 3px;
  padding: 15px 34px;
  transition: background-color .2s ease, color .2s ease;
}
.tf-ai__btn:hover {
  background: var(--tf-cyan);
  color: var(--tf-bg);
}

/* ---- Responsive ---- */
@media (max-width: 980px) {
  .tf-ai__grid  { grid-template-columns: repeat(2, 1fr); }
  .tf-ai__steps { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .tf-ai { font-size: 16px; }
  .tf-ai__section { padding: 36px 18px; }
  .tf-ai__hero { padding: 40px 24px; }
  .tf-ai__grid,
  .tf-ai__pains { grid-template-columns: 1fr; }
  .tf-ai__stat b { font-size: 44px; }
  .tf-ai__cta { padding: 42px 22px; }
}
