.scrum-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.scrum-item {
  position: relative;
  min-height: 260px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.08);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.scrum-item::before {
  content: attr(data-index);
  position: absolute;
  right: 18px;
  top: 8px;
  color: rgba(15, 23, 42, 0.06);
  font-size: 78px;
  font-weight: 900;
  line-height: 1;
}

.scrum-item span {
  color: var(--gold-2);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.scrum-item h3 {
  margin: 18px 0 12px;
  font-size: 24px;
}

.scrum-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.mentor-grid .feature-card {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
}

.mentor-grid .feature-card p {
  color: rgba(255, 255, 255, 0.7);
}

.mentor-grid svg {
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  color: var(--gold);
}

.teaching-day {
  background: linear-gradient(180deg, #070e1a 0%, #0c1a2d 40%, #0f1f36 100%);
  position: relative;
  overflow: hidden;
}

.teaching-day::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(39,215,232,0.06) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(77,124,254,0.05) 0%, transparent 50%),
    radial-gradient(circle at 90% 80%, rgba(246,199,94,0.04) 0%, transparent 40%);
  pointer-events: none;
}

.teaching-day::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(rgba(39,215,232,0.06) 1px, transparent 1px),
    radial-gradient(rgba(77,124,254,0.04) 1px, transparent 1px);
  background-size: 60px 60px, 40px 40px;
  background-position: 0 0, 20px 20px;
  pointer-events: none;
  opacity: 0.5;
}

.split-day {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(28px, 6vw, 76px);
  align-items: start;
  position: relative;
  z-index: 1;
}

.split-day h2 {
  margin: 0 0 18px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.08;
  color: #e8f0fe;
}

.split-day p {
  color: #8899b4;
  line-height: 1.9;
}



.day-board {
  display: grid;
  gap: 12px;
}

.day-board div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 16px;
  align-items: center;
  padding: 18px;
  border: 1px solid rgba(39,215,232,0.15);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(10,22,44,0.9), rgba(14,30,56,0.85));
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
  position: relative;
  overflow: hidden;
}

.day-board div::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 100% 0%, rgba(39,215,232,0.08), transparent 60%);
  opacity: 0;
  transition: opacity 300ms ease;
}

.day-board div:hover {
  transform: translateY(-2px);
  border-color: rgba(39,215,232,0.4);
  box-shadow: 0 0 24px rgba(39,215,232,0.12), 0 4px 20px rgba(0,0,0,0.3), inset 0 0 0 1px rgba(39,215,232,0.1);
}

.day-board div:hover::before {
  opacity: 1;
}

.day-board strong {
  color: #f9d56e;
  font-size: 15px;
}

.day-board span {
  color: #a0b4cc;
  line-height: 1.65;
}

@media (max-width: 960px) {
  .scrum-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split-day {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .scrum-flow,
  .day-board div {
    grid-template-columns: 1fr;
  }
}

/* Final readability pass */
.scrum-flow {
  align-items: stretch;
}

.scrum-flow .scrum-item {
  display: grid;
  align-content: start;
  min-height: 240px;
  padding: 26px;
  color: #0b1524;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 250, 255, 0.94)),
    radial-gradient(ellipse at 100% 0%, rgba(39, 215, 232, 0.12), transparent 46%);
}

.scrum-flow .scrum-item::before {
  content: attr(data-index);
  position: absolute;
  right: 20px;
  top: 10px;
  width: auto;
  height: auto;
  color: rgba(8, 17, 31, 0.08);
  background: none;
  opacity: 1;
  transform: none;
  font-size: 76px;
  font-weight: 900;
  line-height: 1;
}

.scrum-flow .scrum-item::after {
  content: "";
  position: absolute;
  inset: auto 22px 18px;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--gold));
  opacity: 0.72;
}

.scrum-flow .scrum-item span {
  position: relative;
  z-index: 1;
  color: var(--gold-2);
  letter-spacing: 0.08em;
}

.scrum-flow .scrum-item h3 {
  position: relative;
  z-index: 1;
  color: #07111f;
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.2;
}

.scrum-flow .scrum-item p {
  position: relative;
  z-index: 1;
  color: #516176;
  font-size: 16px;
  line-height: 1.78;
}

.mentor-grid .feature-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.06)),
    radial-gradient(ellipse at 100% 0%, rgba(39, 215, 232, 0.16), transparent 44%);
}

.subhero + .section .section-head h2 {
  color: #fff;
}

.subhero + .section .section-head > p {
  color: rgba(236, 248, 255, 0.72);
}
