/* ============================================================
   TMind Slide System — TechMakers Brand
   Dimensioni fisse: 1080 × 1350px (LinkedIn verticale)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
  --gradient-start: #3CB371;
  --gradient-mid:   #2E8B57;
  --gradient-end:   #1E5631;
  --primary-green:  #2EAD7D;
  --dark-green:     #1F8A5F;
  --deepest-green:  #1E5631;
  --white:          #FFFFFF;
  --off-white:      #F5F5F5;
  --text-dark:      #1A1A1A;
  --text-light:     rgba(255,255,255,0.88);
  --text-muted:     rgba(255,255,255,0.55);
  --accent:         #FFD700;
  --accent-orange:  #FF8C42;
  --danger-red:     #FF4444;
}

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

html, body {
  width: 1080px;
  height: 1350px;
  overflow: hidden;
  font-family: 'Inter', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* ---- Slide container ---- */
.slide {
  width: 1080px;
  height: 1350px;
  position: relative;
  padding: 70px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* ---- Backgrounds ---- */
.bg-dark {
  background: linear-gradient(180deg, #FFFFFF 0%, #e6f4ec 9%, #2E8B57 26%, #1E5631 100%);
  color: var(--white);
}

.bg-light {
  background: var(--off-white);
  color: var(--text-dark);
}

.bg-white {
  background: var(--white);
  color: var(--text-dark);
}

/* ---- Logo ---- */
.slide-logo {
  width: 520px;
  height: auto;
  flex-shrink: 0;
}

/* ---- Slide number ---- */
.slide-number {
  position: absolute;
  bottom: 44px;
  right: 70px;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: inherit;
  opacity: 0.4;
}

/* ---- Tag / etichetta in alto ---- */
.slide-tag {
  display: inline-block;
  background: rgba(255,255,255,0.18);
  color: var(--white);
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  margin-top: 28px;
  margin-bottom: 0;
  width: fit-content;
}

.slide-tag.dark {
  background: rgba(46,139,87,0.15);
  color: var(--primary-green);
}

/* ---- Numeri killer ---- */
.stat-big {
  font-size: 6rem;
  font-weight: 900;
  line-height: 1;
  color: var(--accent);
  letter-spacing: -0.02em;
}

.stat-big.green {
  color: var(--primary-green);
}

.stat-big.dark-val {
  color: var(--deepest-green);
}

.stat-medium {
  font-size: 3.8rem;
  font-weight: 800;
  line-height: 1.05;
  color: var(--accent);
  letter-spacing: -0.02em;
}

/* ---- Titoli slide ---- */
.slide-title {
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1.2;
  color: inherit;
}

.slide-title.light { color: var(--white); }
.slide-title.dark  { color: var(--text-dark); }

.slide-subtitle {
  font-size: 1.8rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-light);
  margin-top: 16px;
}

.slide-subtitle.dark {
  color: #444;
}

/* ---- Testo corpo ---- */
.body-text {
  font-size: 1.6rem;
  line-height: 1.65;
  color: inherit;
}

.body-small {
  font-size: 1.4rem;
  line-height: 1.5;
  opacity: 0.65;
}

.body-highlight {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--accent);
}

/* ---- Separatore ---- */
.divider {
  width: 64px;
  height: 4px;
  background: var(--accent);
  border-radius: 2px;
  margin: 24px 0;
  flex-shrink: 0;
}

.divider.dark {
  background: var(--primary-green);
}

/* ---- Griglia 2×2 metriche ---- */
.metrics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.metric-card {
  background: rgba(255,255,255,0.12);
  border-radius: 20px;
  padding: 36px 30px;
  border: 1px solid rgba(255,255,255,0.1);
}

.metric-card.light {
  background: var(--white);
  box-shadow: 0 6px 24px rgba(0,0,0,0.07);
  border: 1px solid rgba(0,0,0,0.06);
}

.metric-label {
  font-size: 1.4rem;
  font-weight: 500;
  opacity: 0.65;
  margin-bottom: 10px;
  letter-spacing: 0.02em;
}

.metric-value {
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -0.02em;
}

.metric-value.green-val {
  color: var(--primary-green);
}

.metric-value.dark-val {
  color: var(--deepest-green);
}

.metric-sub {
  font-size: 1.3rem;
  margin-top: 8px;
  opacity: 0.6;
}

/* ---- Lista bullet ---- */
.bullet-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.bullet-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  font-size: 1.6rem;
  line-height: 1.5;
}

.bullet-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  width: 32px;
  text-align: center;
  margin-top: 2px;
}

/* ---- Badge fonte ---- */
.fonte {
  font-size: 1.2rem;
  font-style: italic;
  opacity: 0.55;
  margin-top: 8px;
}

/* ---- CTA block ---- */
.cta-block {
  display: flex;
  align-items: center;
  gap: 28px;
  background: var(--white);
  border-radius: 20px;
  padding: 36px 40px;
  box-shadow: 0 6px 32px rgba(0,0,0,0.08);
  border: 1px solid rgba(0,0,0,0.06);
  text-decoration: none;
  color: var(--text-dark);
}

.cta-block:hover {
  transform: translateY(-2px);
}

.cta-icon {
  font-size: 2.8rem;
  flex-shrink: 0;
  width: 60px;
  text-align: center;
}

.cta-content {}

.cta-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.cta-desc {
  font-size: 1.4rem;
  color: #555;
}

.cta-arrow {
  margin-left: auto;
  font-size: 1.8rem;
  color: var(--primary-green);
  flex-shrink: 0;
}

/* ---- Pilastri row ---- */
.pillars-row {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.pillar-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}

.pillar-item img {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

.pillar-name {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary-green);
}

.pillar-detail {
  font-size: 1.2rem;
  color: #555;
  line-height: 1.4;
}

/* ---- Semaforo rows ---- */
.semaforo-row {
  display: flex;
  align-items: center;
  gap: 20px;
  background: rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 28px 32px;
}

.semaforo-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  flex-shrink: 0;
}

.semaforo-dot.red    { background: #FF4444; box-shadow: 0 0 12px #FF444488; }
.semaforo-dot.yellow { background: #FFD700; box-shadow: 0 0 12px #FFD70088; }
.semaforo-dot.green  { background: #00CC66; box-shadow: 0 0 12px #00CC6688; }

.semaforo-label {
  font-size: 1.6rem;
  font-weight: 600;
  flex: 1;
}

.semaforo-time {
  font-size: 1.4rem;
  opacity: 0.75;
  text-align: right;
}

/* ---- Stat card (slide 9) ---- */
.stat-card {
  background: rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 32px 36px;
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: flex-start;
  gap: 24px;
}

.stat-card-icon {
  font-size: 2.5rem;
  flex-shrink: 0;
}

.stat-card-text {
  flex: 1;
}

.stat-card-number {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-card-desc {
  font-size: 1.6rem;
  line-height: 1.5;
  color: var(--text-light);
}

/* ---- Decorazione background ---- */
.bg-circle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  pointer-events: none;
}
