/* ================================
   ABOUT US – TEXT
================================ */

.about-us-v2 p {
  line-height: 1.7;
  color: #374151;
}


.about-us-v2 .quote-box {
  margin-top: 32px;
  padding-left: 18px;
  border-left: 4px solid #22c55e;

  font-style: italic;
  font-weight: 500;
  color: #111827;
}


/* ================================
   WHY SPROUTSONG EXISTS
================================ */

.why-exists-section {
  background: #f9fafb;
}

/* PURPOSE CARDS */
.purpose-card {
  height: 100%;
  padding: 34px 28px;
  border-radius: 22px;

  background: #ffffff;
  border: 1px solid #e5e7eb;

  text-align: center;
  transition: all 0.3s ease;
}

.purpose-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.08);
}

/* ICON WRAP */
.icon-wrap {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;

  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 22px;
}

/* ICON VARIANTS */
.icon-wrap.problem {
  background: #fff1eb;
  color: #f97316;
}

.icon-wrap.reality {
  background: #f3f4f6;
  color: #374151;
}

.icon-wrap.solution {
  background: #e6f6ef;
  color: #1fbf8f;
}

/* CARD EYEBROW */
.purpose-card .card-eyebrow {
  display: inline-block;
  margin-bottom: 6px;

  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;

  color: #6b7280;
}

/* CARD HEADING */
.purpose-card h4 {
  margin-bottom: 12px;
  font-weight: 700;
  color: #111827;
}

/* CARD TEXT */
.purpose-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #374151;
}


/* =========================================
   ABOUT – RIGHT ECOSYSTEM FIT
========================================= */

.about-ecosystem-wrapper {
  width: 100%;
  max-width: 520px;          /* matches original image width */
  margin-left: auto;        /* aligns nicely to the right */
  margin-right: auto;
}

/* Constrain ecosystem */
.ss-ecosystem-compact {
  width: 100%;
  aspect-ratio: 1 / 1;      /* keeps circle perfect */
  max-width: 520px;
  height: auto;
  position: relative;
}

/* Ensure SVG fills container */
.ss-ecosystem-compact svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Slightly reduce node size for About page */
.ss-ecosystem-compact .ss-node {
  width: 92px;
  height: 92px;
  font-size: 12px;
}

/* Reduce center hub */
.ss-ecosystem-compact .ss-center-card {
  width: 133px;     /* was 170 */
  height: 133px;
}

/* Tablet adjustments */
@media (max-width: 991px) {
  .about-ecosystem-wrapper {
    max-width: 420px;
    margin-top: 40px;
  }

  .ss-ecosystem-compact .ss-node {
    width: 84px;
    height: 84px;
  }

  .ss-ecosystem-compact .ss-center-card {
    width: 104px;
    height: 104px;
  }
}

/* Mobile */
@media (max-width: 576px) {
  .about-ecosystem-wrapper {
    max-width: 320px;
  }

  .ss-ecosystem-compact .ss-node {
    width: 72px;
    height: 72px;
    font-size: 11px;
  }

  .ss-ecosystem-compact .ss-center-card {
    width: 92px;
    height: 92px;
  }
}


.ss-ecosystem-section {
  padding: 120px 20px;
  background: linear-gradient(to bottom, #ffffff, #f9fafb);
  text-align: center;
}

.ss-ecosystem-header h2 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.ss-gradient-text {
  background: linear-gradient(90deg, #4f46e5, #22c55e, #f59e0b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ss-ecosystem-header p {
  max-width: 640px;
  margin: 0 auto 80px;
  color: #6b7280;
}

.ss-pill {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(79,70,229,0.1);
  color: #4f46e5;
  font-size: 14px;
  margin-bottom: 16px;
}

/* ===============================
   ECOSYSTEM VISUAL (FIXED)
================================ */

.ss-ecosystem-visual {
  position: relative;
  width: 100%;
  max-width: 520px;
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  overflow: visible;
}

/* ===============================
   NODE BASE (SINGLE SOURCE)
================================ */

.ss-node {
  position: absolute;
  width: 110px;
  height: 110px;

  background: rgba(79,70,229,0.08);
  border: 2px solid rgba(79,70,229,0.25);

  clip-path: polygon(
    50% 0%, 100% 25%, 100% 75%,
    50% 100%, 0% 75%, 0% 25%
  );

  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;

  font-size: 13px;
  font-weight: 600;

  /* 🚫 NO TRANSFORM HERE */
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

/* Hover effect without movement */
.ss-node:hover {
  box-shadow: 0 14px 32px rgba(15,23,42,0.15);
}

/* ===============================
   NODE INNER
================================ */

.ss-node-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

/* Icon */
.ss-node-icon {
  width: 22px;
  height: 22px;
}

.ss-node-icon svg {
  width: 20px;
  height: 20px;
}

/* ===============================
   COLORS
================================ */

.blue   { background: rgba(79,70,229,0.08); border-color: rgba(79,70,229,0.25); }
.green  { background: rgba(34,197,94,0.08); border-color: rgba(34,197,94,0.25); }
.orange { background: rgba(245,158,11,0.08); border-color: rgba(245,158,11,0.25); }
.yellow { background: rgba(250,204,21,0.10); border-color: rgba(250,204,21,0.30); }

/* ===============================
   FIXED POSITIONS (NO TRANSFORM)
================================ */

.node-top { top: -6%; left: 50%; transform: translateX(-50%); } 
.node-top-right { top: 13%; left: 85%; transform: translate(-50%, -50%); } 
.node-right { top: 50%; left: 98%; transform: translate(-50%, -50%); } 
.node-bottom-right { top: 85%; left: 84%; transform: translate(-50%, -50%); } 
.node-bottom { top: 88%; left: 50%; transform: translateX(-50%); } 
.node-bottom-left { top: 85%; left: 15%; transform: translate(-50%, -50%); } 
.node-left { top: 50%; left: 2%; transform: translate(-50%, -50%); } 
.node-top-left { top: 13%; left: 15%; transform: translate(-50%, -50%); }

/* ===============================
   TOOLTIP (STABLE)
================================ */

.ss-node-tooltip {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);

  transform: translateX(-50%) translateY(6px);

  background: #ffffff;
  color: #374151;

  font-size: 13px;
  line-height: 1.4;

  padding: 10px 14px;
  border-radius: 12px;

  box-shadow: 0 14px 32px rgba(15,23,42,0.16);

  white-space: nowrap;
  pointer-events: none;

  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;

  z-index: 1000;
}

/* Show tooltip */
.ss-node:hover .ss-node-tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Bottom node tooltip adjustment */
.node-bottom .ss-node-tooltip {
  top: calc(100% + 10px);
  bottom: auto;
}

/* Align ecosystem with section heading */
.about-ecosystem-wrapper {
  margin-top: 14px;
}

/* =========================
   ECOSYSTEM CENTER HUB
========================= */

.ss-ecosystem-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 20;
  pointer-events: none;
}

.ss-center-card {
  margin: 0;
  position: relative;
}

/* Glow behind center */
.ss-center-glow {
  position: absolute;
  inset: -120px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(34,197,94,0.18) 0%,
    rgba(79,70,229,0.14) 35%,
    rgba(245,158,11,0.10) 55%,
    transparent 72%
  );
  filter: blur(32px);
  z-index: 0;
}

/* Center card */
.ss-center-card {
  position: relative;
  width: 140px;
  height: 140px;
  background: #ffffff;
  border-radius: 50%;
  border: 2px solid rgba(79,70,229,0.25);

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  text-align: center;
  z-index: 1;
}

/* Center icon */
.ss-center-icon {
  width: 60px !important;
  height: 60px !important;
}

.ss-center-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Center text */
.ss-center-card strong {
  font-size: 14px;
  font-weight: 700;
  color: #111827;
}

.ss-center-card small {
  font-size: 11px;
  color: #6b7280;
}

/*=============== Pillars ============*/
/* ===============================
   CORE PILLARS – FINAL MATCH
=============================== */

/* ===============================
   CORE PILLARS – FINAL
================================ */

.ss-pillars {
  margin-top: 60px;
}

/* CARD */
.pillar-card {
  position: relative;
  height: 100%;
  padding: 56px 28px 32px;
  background: #ffffff;
  border: 1.5px solid #e5e7eb;
  border-radius: 18px;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

/* NO movement on hover */
.pillar-card:hover {
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.08);
}

/* ICON – half outside */
.pillar-icon {
  position: absolute;
  top: -22px;
  left: 28px;

  width: 44px;
  height: 44px;
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  background: #fff;
  border: 2px solid currentColor;

  font-size: 18px;
}

/* TEXT */
.pillar-card h5 {
  margin-top: 12px;
  margin-bottom: 10px;
  font-weight: 700;
  color: #111827;
}

.pillar-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #6b7280;
}

/* HOVER EFFECT (reference-like) */
.pillar-card:hover {
  border-color: currentColor;
}

/* COLOR VARIANTS */
.pillar-card.blue {
  color: #2563eb;
}

.pillar-card.green {
  color: #16a34a;
}

.pillar-card.orange {
  color: #f97316;
}

.pillar-card.yellow {
  color: #facc15;
}
