/* הכותרת בכל טור */
.target-title {
  font-size: clamp(3rem, 5vw, 4rem);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 5px;
 color: #101319; 
  margin-bottom: 10px;
  text-align: center;  
  font-weight: bolder;
margin-top: 25px;   /* מרכז */

}

/* הטקסט בכל טור */
.target-text {
  font-size: 1rem;
  line-height: 1.55;
  color: #191b1e;
  font-weight: 400;
  text-align: center;
  font-weight: bold;
}

.bottom-section-title {
  max-width: 1300px;
  margin: 40px auto 0;
  font-size: clamp(3rem, 5vw, 4rem);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 24px; /* tighter gap below the main title */
  margin-top: 100px; /* much more space above */
 
 
  color: #ffffff;     /* הכותרת בטח על רקע כהה אצלך */
  opacity: 0.95;

  text-align: left;   /* כדי ליישר בול כמו שלושת הטורים */
}

/* ---------- קונטיינר ראשי של כל הסקשיין ---------- */
.aye-targets-columns {
  width: 100%;
  max-width: 1300px;
  margin: 40px auto 140px; /* reduced top gap to bring items closer to the title */

  display: grid;
  grid-template-columns: 1fr 1px 1fr 1px 1fr auto;
  align-items: stretch; /* stretch items so all columns share the same height */
  grid-auto-rows: 1fr;  /* single-row grid: equal height tracks */
  gap: 30px;

}

/* ---------- טורים ---------- */
.target-col {
  min-width: 220px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  height: 100%;
}

.target-title {
  font-size: 26px;
  font-weight: 700;
  color: #101319;
  margin-bottom: 10px;
  
}

.target-text {
    
  font-size: 1rem;
  line-height: 1.55;
  color: #191b1e;
  font-weight: 400;
    margin-top: 20px;   /* מרכז */
    text-align: center;
  
}

/* ---------- קו אנכי ---------- */
.v-line {
  width: 1px;
  background: rgba(148, 163, 184, 0.22);
  height: 100%;
}

/* ---------- כרטיס בצד ימין ---------- */
.modular-visual {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-bottom: 30px;
  margin-top: -140px; /* slightly lower the card on the right */
}

.modular-card {
  width: 360px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  overflow: visible;

  /* הגדלה */
  transform: scale(1.15);
  transform-origin: top left;

  position: relative;
  z-index: 1;
}

/* ---------- אפקט הצל הזוהר ---------- */
.modular-card::before {
  content: "";
  position: absolute;
  top: -35px;
  left: -35px;
  right: -35px;
  bottom: -35px;

  border-radius: 22px;

  background: conic-gradient(
    #6ee7ff,
    #3b82f6,
    #a855f7,
    #ec4899,
    #6ee7ff
  );

  filter: blur(55px);
  opacity: 0.55;
  z-index: -1;
  pointer-events: none;
  animation: glowFloat 7s ease-in-out infinite;
}

@keyframes glowFloat {
  0%   { transform: translateY(30px); }
  50%  { transform: translateY(-15px); }
  100% { transform: translateY(20px); }
}

/* ---------- תוכן פנימי בכרטיס ---------- */
.card-header {
  display: flex;
  gap: 6px;
  padding: 10px 14px;
  background: #f3f4f6;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
}

.dot-green { background: #22c55e; }
.dot-yellow { background: #facc15; }
.dot-red { background: #ef4444; }

.card-body {
  padding: 18px 18px 20px;
  background: #f8f8f8;
}

.card-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #6b7280;
  margin-bottom: 20px;
}

.card-score {
  font-size: 2.1rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: #111827;
}

.card-sub {
  font-size: 0.9rem;
  color: #4b5563;
  margin-bottom: 18px;
}

.card-metrics {
  display: grid;
  gap: 10px;
  border-top: 1px solid #e5e7eb;
  padding-top: 12px;
}

.metric {
  display: flex;
  justify-content: space-between;
  font-size: 0.86rem;
}

.metric-value {
  font-weight: 600;
  color: #059669;
}

/* target-text override */
.target-text {
  font-family: "Inter", sans-serif;
  font-size: 1.15rem;
  line-height: 1.55;
  color: #4b5563;
  font-weight: 500;
}

/* Mobile/tablet adjustments */
@media (max-width: 900px) {
  .bottom-section-title {
    margin-top: 20px;
    margin-bottom: 10px;
  }
  .aye-targets-columns {
    grid-template-columns: 1fr;
    gap: 4px;
    margin: 12px auto 40px;
  }

  .v-line {
    display: none;
  }

  .target-col {
    align-items: center;
    text-align: center;
  }

  .target-text {
    text-align: center;
  }

  .modular-visual {
    margin-top: 10px;
  }

  .modular-card {
    width: 100%;
    max-width: 360px;
    transform: scale(1);
    margin: 0 auto;
  }
}

/* Tighten vertical spacing on small phones */
@media (max-width: 600px) {
  .target-section {
    padding: 18px 14px 0; /* add a small cushion before the title and sides */
  }
  .bottom-section-title {
    margin-top: 16px;
    margin-bottom: 6px;
    padding: 0 12px;
  }
  .aye-targets-columns {
    margin: 2px auto 10px;
    gap: 0;
    padding: 0 12px;
  }
  .target-col {
    gap: 2px;
  }
  .target-title {
    margin-bottom: 0;
    padding: 0 10px;
  }
  .target-text {
    margin-top: 0;
    line-height: 1.28;
    padding: 0 12px;
  }
  .modular-visual {
    margin-top: 4px;
  }
}
