
/* ─── Apple SF Pro stack — closest web equivalent ─── */
:root {
  --font: -apple-system, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --white:  #ffffff;
  --off:    #f5f5f7;
  --ink:    #1d1d1f;
  --mid:    #6e6e73;
  --soft:   #a1a1a6;
  --blue:   #0071e3;
  --blue-dark: #0077ed;
  --border: rgba(0,0,0,0.08);
  --card-bg: rgba(255,255,255,0.72);
  --ease:   cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
/* ════════════════════════════════════════════════
   PROBLEM SECTION
════════════════════════════════════════════════ */
.problem-section {
  background: var(--off);
  padding: 100px 0 160px;
  position: relative;
  overflow: hidden;
}

/* large ambient glow */
.problem-section::before {
  content: '';
  position: absolute;
  top: 42%; left: 50%;
  transform: translate(-50%, -50%);
  width: 900px; height: 900px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(0,113,227,0.07) 0%, transparent 68%);
  pointer-events: none;
}

/* ── Header ── */
.section-header {
  text-align: center;
  position: relative;
  z-index: 2;
  padding: 0 24px;
}

.eyebrow {
  display: block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 18px;
}

.section-header h2 {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.04em;
  color: var(--ink);
  max-width: 900px;
  margin: 0 auto;
}

.section-header h2 em {
  font-style: normal;
  color: var(--blue);
}

.section-header p {
  margin: 20px auto 0;
  max-width: 720px;
  font-size: 1.1875rem;
  font-weight: 400;
  line-height: 1.58;
  color: var(--mid);
  letter-spacing: -0.01em;
}

/* ── Radial Stage ── */
.radial-stage {
  position: relative;
  width: 100%;
  max-width: 920px;
  height: 700px;
  margin: 80px auto 0;
  z-index: 2;
}

/* orbit ring */
.orbit-ring {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 580px; height: 580px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.07);
  animation: spin 80s linear infinite;
}
.orbit-ring::after {
  content: '';
  position: absolute;
  top: -3px; left: 50%;
  width: 6px; height: 6px;
  margin-left: -3px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 12px rgba(0,113,227,0.6);
}
@keyframes spin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.orbit-ring-sm {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 360px; height: 360px;
  border-radius: 50%;
  border: 1px dashed rgba(0,0,0,0.07);
  animation: spin 50s linear infinite reverse;
}

/* SVG connector lines */
.connector-svg {
  position: absolute;
  inset: 0; width: 100%; height: 100%;
  pointer-events: none;
  z-index: 1;
}
.connector-svg line {
  stroke: rgba(0,113,227,0.12);
  stroke-width: 1;
  stroke-dasharray: 4 8;
  animation: flow 2.5s linear infinite;
}
.connector-svg line:nth-child(2) { animation-delay: -0.4s; }
.connector-svg line:nth-child(3) { animation-delay: -0.8s; }
.connector-svg line:nth-child(4) { animation-delay: -1.2s; }
.connector-svg line:nth-child(5) { animation-delay: -1.6s; }
.connector-svg line:nth-child(6) { animation-delay: -2.0s; }
@keyframes flow { to { stroke-dashoffset: -24; } }

/* ── Center Core ── */
.core {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 196px; height: 196px;
  border-radius: 50%;
  background: linear-gradient(145deg, #535353 0%, #69697e 100%);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.06),
    0 0 0 14px rgba(0,0,0,0.04),
    0 24px 64px rgba(0,0,0,0.28),
    0 0 80px rgba(0,113,227,0.10);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  z-index: 10;
  transition: transform 500ms var(--ease), box-shadow 500ms var(--ease);
  cursor: default;
}
.core:hover {
  transform: translate(-50%, -50%) scale(1.05);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.08),
    0 0 0 20px rgba(0,0,0,0.03),
    0 32px 80px rgba(0,0,0,0.36),
    0 0 100px rgba(0,113,227,0.18);
}

.core-label {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #f5f5f7;
  line-height: 1.25;
  padding: 0 18px;
}
.core-sub {
  margin-top: 7px;
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.28);
}

/* ── Pain Cards ── */
.pain-card {
  position: absolute;
  width: 250px;
  background: rgba(255,255,255,0.80);
  border: 1px solid rgba(255,255,255,0.9);
  border-radius: 18px;
  padding: 20px 18px 18px;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow:
    0 2px 0 rgba(255,255,255,0.8) inset,
    0 8px 32px rgba(0,0,0,0.07),
    0 1px 3px rgba(0,0,0,0.05);
  transform: translate(-50%, -50%);
  transition: transform 400ms var(--ease), box-shadow 400ms var(--ease);
  z-index: 5;
  cursor: default;
  animation: float var(--fd, 7s) ease-in-out infinite;
  animation-delay: var(--fdelay, 0s);
  
  transition:all .3s ease;
  
}
.pain-card:hover {
  transform: translate(-50%, -50%) translateY(-8px) scale(1.02);
  box-shadow:
    0 2px 0 rgba(255,255,255,0.9) inset,
    0 20px 48px rgba(0,0,0,0.12),
    0 2px 8px rgba(0,0,0,0.06);
}
@keyframes float {
  0%, 100% { margin-top: 0px; }
  50%       { margin-top: -7px; }
}

/* positions */
.pain-card[data-pos="top"]          { top:  5%; left: 50%;  --fd:7s;   --fdelay:0s; }
.pain-card[data-pos="top-right"]    { top: 22%; left: 82%;  --fd:6.5s; --fdelay:0.7s; }
.pain-card[data-pos="bottom-right"] { top: 72%; left: 82%;  --fd:8s;   --fdelay:1.5s; }
.pain-card[data-pos="bottom"]       { top: 92%; left: 50%;  --fd:7s;   --fdelay:0.3s; }
.pain-card[data-pos="bottom-left"]  { top: 72%; left: 18%;  --fd:6s;   --fdelay:1.1s; }
.pain-card[data-pos="top-left"]     { top: 22%; left: 18%;  --fd:7.5s; --fdelay:1.9s; }


/* HEADER */

.pain-header{
  display:flex;
  align-items:center;
  gap:12px;
}



/* card icon glyph */
.pain-glyph {
  width: 30px; height: 30px;
  border-radius: 8px;
  background: var(--off);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 12px;
}
.pain-glyph svg {
  width: 16px; height: 16px;
  stroke: var(--ink);
  stroke-width: 1.6;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pain-card h4 {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
  line-height: 1.3;
  margin-bottom: 5px;
  
  display: flex; align-items: center
}
.pain-desc{
  /* margin-top:8px; */
  margin-left:44px;

  max-height:0;
  opacity:0;
  overflow:hidden;

  font-size:14px;
  color:#6e6e73;
  line-height:1.5;

  transition:all .35s ease;
}
.pain-card p {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.55;
  color: var(--mid);
}
/* HOVER (desktop) */

.pain-card:hover .pain-desc{
  max-height:80px;
  opacity:1;
}


/* ACTIVE STATE (mobile click) */

.pain-card.active .pain-desc{
  max-height:80px;
  opacity:1;
}


/* ── Scroll reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal[data-delay="1"] { transition-delay: 0.1s; }
.reveal[data-delay="2"] { transition-delay: 0.2s; }
.reveal[data-delay="3"] { transition-delay: 0.3s; }


/* ── Mobile ── */
@media (max-width: 900px) {
  .radial-stage { height: auto; display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 0 20px 20px; }
  .orbit-ring, .orbit-ring-sm, .connector-svg { display: none; }
  .core { position: relative; top: auto; left: auto; transform: none; margin: 0 auto 16px; }
  .core:hover { transform: scale(1.04); }
  .pain-card { position: relative; top: auto !important; left: auto !important; transform: none !important; width: 100%; max-width: 380px; animation: none; }
  .pain-card:hover { transform: translateY(-5px) scale(1.01) !important; }
  .pillars-grid { grid-template-columns: 1fr 1fr; }
  .solution-inner { padding: 0 24px; }
}
@media (max-width: 520px) {
  .pillars-grid { grid-template-columns: 1fr; }
  .section-header h2{
    font-size: 24px;
  }
  .section-header p{
    font-size: 16px;
  }
  .problem-section {
  background: var(--off);
  padding: 70px 0 50px;}
}

