.home-hero {
  min-height: 82vh;
  display: grid;
  align-items: center;
  padding: calc(var(--header-h) + 54px) 0 72px;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.14;
  filter: saturate(1.04) contrast(1.08) blur(1.5px);
  transform: scale(1.02);
}

.home-hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.52fr);
  gap: clamp(32px, 7vw, 88px);
  align-items: center;
}

.home-hero__copy h1 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(46px, 8vw, 104px);
  line-height: 0.98;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.home-hero__copy h1 span {
  display: block;
}

.hero-lead {
  max-width: 720px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.9;
}

.home-entry-card {
  color: inherit;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero-panel {
  position: relative;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
  min-width: 0;
  overflow: hidden;
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 800;
}

.panel-head strong {
  color: var(--gold);
}

.panel-line {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 22px 0;
}

.panel-line span {
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold), var(--cyan));
  animation: pulseLine 1.8s ease-in-out infinite;
}

.panel-line span:nth-child(2) { animation-delay: 0.2s; }
.panel-line span:nth-child(3) { animation-delay: 0.4s; }
.panel-line span:nth-child(4) { animation-delay: 0.6s; }

.hero-panel ul {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-panel li {
  display: flex;
  gap: 12px;
  align-items: center;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.55;
}

.hero-panel svg {
  color: var(--gold);
  flex: 0 0 auto;
}

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

.home-course-strip .course-card {
  min-width: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.98)),
    radial-gradient(circle at 85% 12%, rgba(40, 198, 211, 0.12), transparent 34%);
}

.course-card__img {
  margin: -28px -28px 16px;
  overflow: hidden;
  border-radius: 8px 8px 0 0;
  max-height: 160px;
}

.course-card__img img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  transition: transform 420ms ease;
  display: block;
}

.course-card:hover .course-card__img img {
  transform: scale(1.06);
}

/* Course graphic - CSS gradient artwork */
.course-graphic {
  position: relative;
  width: 100%;
  height: 160px;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.course-graphic__icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.18);
  z-index: 2;
  transition: transform 320ms ease;
}
.course-card:hover .course-graphic__icon {
  transform: scale(1.1) rotate(-5deg);
}
.course-graphic__icon svg {
  width: 28px;
  height: 28px;
  color: rgba(255,255,255,0.9);
}
.course-graphic__tag {
  position: absolute;
  top: 12px;
  right: 14px;
  z-index: 2;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(246,199,94,0.9);
  color: #0b1524;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.04em;
}
.course-graphic__glow {
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(39,215,232,0.3), transparent 70%);
  filter: blur(8px);
  z-index: 1;
  animation: glowPulse 3s ease-in-out infinite;
}
.course-graphic__dots {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.3;
  background-image: 
    radial-gradient(circle, rgba(255,255,255,0.3) 1px, transparent 1px);
  background-size: 24px 24px;
}
.course-graphic__dots span {
  display: none;
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.5; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.1); }
}

.home-course-strip .course-card h3 {
  min-height: 58px;
  font-size: clamp(19px, 1.55vw, 22px);
}

.home-course-strip .course-card p {
  min-height: 92px;
}

.home-course-strip .course-price {
  font-size: clamp(22px, 2.1vw, 28px);
}

.home-course-strip .course-card .ghost-button {
  margin-top: 2px;
}

.split-story {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(28px, 6vw, 78px);
  align-items: center;
}

.split-story h2 {
  margin: 0 0 18px;
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1.06;
}

.split-story p {
  color: var(--muted);
  line-height: 1.9;
}

.story-steps {
  display: grid;
  gap: 12px;
}

/* Scrum Flow Visual - redesigned */
.scrum-flow-visual {
  display: grid;
  gap: 0;
  position: relative;
}

.scrum-node {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  position: relative;
}

.scrum-node__marker {
  display: grid;
  justify-items: center;
  gap: 0;
  position: relative;
}

.scrum-node__step {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--cyan));
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  z-index: 1;
  box-shadow: 0 0 0 4px rgba(242, 184, 75, 0.15), 0 0 20px rgba(40, 198, 211, 0.15);
}

.scrum-node__connector {
  width: 2px;
  flex: 1;
  min-height: 20px;
  background: linear-gradient(180deg, rgba(242, 184, 75, 0.4), rgba(40, 198, 211, 0.2));
}

.scrum-node:last-child .scrum-node__connector {
  display: none;
}

.scrum-node__card {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 2px 8px rgba(16, 24, 39, 0.04);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
  margin-bottom: 10px;
}

.scrum-node__card:hover {
  transform: translateX(6px);
  border-color: rgba(40, 198, 211, 0.3);
  box-shadow: 0 8px 24px rgba(16, 24, 39, 0.08);
}

.scrum-node__card h4 {
  margin: 0 0 4px;
  font-size: 15px;
  color: var(--ink);
}

.scrum-node__card p {
  margin: 0;
  color: #475569;
  font-size: 14px;
  line-height: 1.65;
}

@media (max-width: 640px) {
  .scrum-node {
    grid-template-columns: 44px 1fr;
  }
  .scrum-node__step {
    width: 32px;
    height: 32px;
    font-size: 11px;
  }
  .scrum-node__card {
    padding: 14px 16px;
  }
  .scrum-node__card h4 {
    font-size: 14px;
  }
  .scrum-node__card p {
    font-size: 13px;
  }
}

.result-preview {
  background: var(--soft);
}

.result-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.result-row figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 14px 42px rgba(15, 23, 42, 0.1);
}

.result-row img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 450ms ease;
}

.result-row figure:hover img {
  transform: scale(1.04);
}

.result-row figcaption {
  padding: 16px;
  color: var(--muted);
}

.result-row strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
}

.home-video-section {
  background:
    linear-gradient(180deg, #0a1628 0%, #0f1f36 100%),
    radial-gradient(ellipse at 82% 8%, rgba(39, 215, 232, 0.18), transparent 42%);
}

.home-video-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(420px, 1.2fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
}

.home-video-copy h2 {
  margin: 0 0 16px;
  font-size: clamp(29px, 3.35vw, 42px);
  line-height: 1.16;
}

.home-video-subtitle {
  display: inline-flex;
  width: fit-content;
  margin: 0 0 18px;
  padding: 12px 22px;
  border: 2px solid rgba(39, 215, 232, 0.5);
  border-radius: 999px;
  background:
    linear-gradient(135deg, #0b1a30, #152d4a),
    radial-gradient(circle at 12% 50%, rgba(246, 199, 94, 0.3), transparent 42%);
  color: #ffffff;
  font-size: clamp(18px, 1.5vw, 22px);
  font-weight: 900;
  line-height: 1.35;
  text-shadow: 0 0 20px rgba(39, 215, 232, 0.5);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3), 0 0 24px rgba(39, 215, 232, 0.2);
  letter-spacing: 0.04em;
}

.home-video-body {
  display: grid;
  gap: 8px;
  max-width: 580px;
}

.home-video-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.85;
}

.home-video-body p {
  position: relative;
  padding-left: 18px;
  color: #4b5f77;
  font-size: clamp(16px, 1.28vw, 18px);
  line-height: 1.78;
}

.home-video-body p::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.83em;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold), var(--cyan));
  box-shadow: 0 0 16px rgba(39, 215, 232, 0.34);
}

.home-video-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.home-video-points span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 13px;
  border: 1px solid rgba(39, 215, 232, 0.3);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-weight: 900;
}

.home-video-points svg {
  width: 18px;
  height: 18px;
  color: #f6c75e;
}

.home-video-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(18, 32, 51, 0.18);
  border-radius: var(--radius);
  background: #101926;
  box-shadow: 0 24px 72px rgba(18, 32, 51, 0.16);
  transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease;
}

.home-video-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.16), transparent 28%, transparent 72%, rgba(242, 184, 75, 0.18)),
    linear-gradient(180deg, transparent 58%, rgba(7, 17, 31, 0.22));
  mix-blend-mode: screen;
}

.home-video-frame:hover {
  transform: translateY(-6px);
  border-color: rgba(242, 184, 75, 0.42);
  box-shadow: 0 32px 88px rgba(18, 32, 51, 0.24);
}

.home-video-frame video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

@keyframes pulseLine {
  0%, 100% { opacity: 0.32; transform: scaleX(0.72); }
  50% { opacity: 1; transform: scaleX(1); }
}

@media (max-width: 960px) {
  .home-hero__grid,
  .split-story {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    max-width: 560px;
  }

  .result-row {
    grid-template-columns: 1fr;
  }

  .home-course-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-video-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .home-hero__grid > * {
    min-width: 0;
  }

  .home-hero__grid,
  .home-hero__copy,
  .hero-panel,
  .split-story,
  .section-head {
    width: auto;
    max-width: none;
  }

  .home-hero {
    min-height: auto;
    padding: calc(var(--header-h) + 56px) 0 48px;
  }

  .home-hero__copy h1 {
    font-size: clamp(34px, 9.4vw, 38px);
    line-height: 1.08;
    max-width: 100%;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-lead {
    font-size: 16px;
    overflow-wrap: anywhere;
    word-break: break-all;
  }

  .panel-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .story-step {
    grid-template-columns: 1fr;
  }

  .split-story h2 {
    font-size: clamp(31px, 9vw, 36px);
    word-break: break-all;
  }

  .home-course-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-video-copy h2 {
    font-size: clamp(26px, 7vw, 32px);
    word-break: break-all;
  }
}

@media (max-width: 640px) {
  .home-course-strip {
    grid-template-columns: 1fr;
  }

  .home-course-strip .course-card h3,
  .home-course-strip .course-card p {
    min-height: auto;
  }
}

/* Screenshot review polish */
.home-hero {
  min-height: 760px;
  padding: calc(var(--header-h) + 48px) 0 64px;
}

.home-hero__grid {
  grid-template-columns: minmax(0, 0.98fr) minmax(360px, 0.48fr);
  gap: clamp(34px, 5vw, 76px);
}

.home-hero__copy h1 {
  max-width: 940px;
  font-size: clamp(42px, 5.6vw, 76px);
  line-height: 1.08;
  word-break: keep-all;
  overflow-wrap: normal;
}

.home-hero__copy h1 span {
  white-space: nowrap;
}

.hero-lead {
  max-width: 760px;
  font-size: clamp(17px, 1.55vw, 20px);
}

.hero-panel {
  padding: 22px;
}

@media (max-width: 1180px) {
  .home-hero__grid {
    grid-template-columns: 1fr;
  }

  .home-hero__copy h1 span {
    white-space: normal;
  }
}

/* Home final art direction */
.home-hero {
  position: relative;
  isolation: isolate;
  min-height: min(920px, 92vh);
  padding: calc(var(--header-h) + 86px) 0 108px;
  background:
    linear-gradient(130deg, rgba(5, 15, 27, 0.92), rgba(7, 20, 34, 0.72) 42%, rgba(10, 31, 50, 0.78)),
    radial-gradient(ellipse at 18% 24%, rgba(39, 215, 232, 0.18), transparent 44%),
    radial-gradient(ellipse at 86% 30%, rgba(77, 124, 254, 0.16), transparent 46%);
  overflow: hidden;
}

.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.86), transparent 96%);
  animation: gridDrift 28s linear infinite;
}

.home-hero::after {
  content: "";
  position: absolute;
  inset: auto -8% 9% 18%;
  z-index: 1;
  height: 180px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(39, 215, 232, 0.2), rgba(246, 199, 94, 0.14), transparent);
  filter: blur(30px);
  transform: rotate(-8deg);
  animation: auroraFloat 10s ease-in-out infinite;
}

.hero-media video {
  opacity: 0.12;
  filter: saturate(1.02) contrast(1.06) brightness(0.42);
  transform: scale(1.04);
}

.hero-geometry {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero-geometry span {
  position: absolute;
  display: block;
  width: clamp(180px, 18vw, 310px);
  aspect-ratio: 1;
  border: 1px solid rgba(39, 215, 232, 0.18);
  transform: rotate(18deg);
  animation: lineRotate 32s linear infinite;
}

.hero-geometry span:nth-child(1) {
  right: 8%;
  top: 22%;
}

.hero-geometry span:nth-child(2) {
  right: 18%;
  bottom: 13%;
  width: clamp(110px, 12vw, 220px);
  border-color: rgba(246, 199, 94, 0.2);
  animation-direction: reverse;
  animation-duration: 42s;
}

.hero-geometry span:nth-child(3) {
  left: 5%;
  bottom: 16%;
  width: clamp(130px, 13vw, 230px);
  border-color: rgba(255, 255, 255, 0.1);
  animation-duration: 50s;
}

.home-hero__grid {
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.48fr);
  gap: clamp(54px, 8vw, 110px);
}

.home-hero__copy {
  position: relative;
  max-width: 920px;
}

.home-hero__copy::before {
  content: "";
  position: absolute;
  left: -28px;
  top: -24px;
  width: 78px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), var(--cyan));
  box-shadow: 0 0 24px rgba(39, 215, 232, 0.42);
}

.home-hero__copy h1 {
  font-size: clamp(48px, 6.3vw, 92px);
  line-height: 1.02;
  text-shadow: 0 18px 60px rgba(0, 0, 0, 0.34);
}

.hero-lead {
  max-width: 690px;
  font-size: clamp(18px, 1.55vw, 22px);
  line-height: 1.78;
}

.hero-panel {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.06)),
    radial-gradient(ellipse at 100% 0%, rgba(39, 215, 232, 0.18), transparent 42%);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.28), 0 0 80px rgba(39, 215, 232, 0.08);
  animation: softFloat 8s ease-in-out infinite;
}

.home-video-section {
  background:
    linear-gradient(180deg, #0a1628 0%, #0f1f36 100%),
    radial-gradient(ellipse at 82% 8%, rgba(39, 215, 232, 0.18), transparent 42%);
}

.home-video-grid {
  grid-template-columns: minmax(300px, 0.78fr) minmax(460px, 1.18fr);
  gap: clamp(46px, 7vw, 96px);
}

.home-video-copy {
  position: relative;
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid rgba(39, 215, 232, 0.2);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04)),
    radial-gradient(ellipse at 0% 0%, rgba(39, 215, 232, 0.15), transparent 45%);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(16px);
}

.home-video-copy h2 {
  font-size: clamp(34px, 3.8vw, 54px);
  line-height: 1.12;
  color: #ffffff;
}

.home-video-copy p {
  font-size: 17px;
  line-height: 1.78;
  color: rgba(235, 246, 255, 0.88);
}

.home-video-body p {
  color: rgba(218, 238, 250, 0.82);
}

.home-video-body p::before {
  background: linear-gradient(135deg, #f6c75e, #27d7e8);
  box-shadow: 0 0 16px rgba(39, 215, 232, 0.5);
}

.home-video-frame {
  border-color: rgba(39, 215, 232, 0.22);
  box-shadow: 0 34px 96px rgba(3, 13, 26, 0.18), 0 0 72px rgba(39, 215, 232, 0.12);
}

.home-visual-strip {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 1fr;
  gap: 18px;
  margin-top: clamp(36px, 5vw, 66px);
}

.home-visual-strip figure {
  position: relative;
  min-height: 250px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(88, 120, 155, 0.14);
  border-radius: var(--radius);
  background: #081522;
  box-shadow: 0 24px 70px rgba(3, 13, 26, 0.12);
}

.home-visual-strip figure:nth-child(2) {
  transform: translateY(28px);
}

.home-visual-strip img,
.home-visual-strip .visual-placeholder {
  width: 100%;
  height: 100%;
  min-height: 250px;
  object-fit: cover;
  display: block;
}

.home-visual-strip img {
  opacity: 0.86;
  transform: scale(1.02);
  transition: transform 520ms ease, opacity 320ms ease;
}

.home-visual-strip figure:hover img {
  opacity: 1;
  transform: scale(1.07);
}

.home-visual-strip figcaption {
  position: absolute;
  inset: auto 14px 14px;
  display: grid;
  gap: 3px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  color: #fff;
  background: rgba(5, 15, 27, 0.62);
  backdrop-filter: blur(14px);
}

.home-visual-strip strong {
  color: var(--gold);
  font-size: 14px;
}

.home-visual-strip span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
}

.grid-4 {
  gap: 18px;
}

.metric-card {
  min-height: 174px;
  padding: 26px;
}

.metric-number {
  font-size: clamp(26px, 3vw, 40px);
}

.home-course-strip {
  gap: 20px;
}

.home-course-strip .course-card {
  padding: 20px;
  min-height: 430px;
}

.home-course-strip .course-card:hover {
  transform: translateY(-6px) scale(1.01);
}

.home-course-strip .course-card:nth-child(3n + 2) {
  transform: translateY(0);
}

.home-course-strip .course-card:nth-child(3n + 2):hover {
  transform: translateY(-6px) scale(1.01);
}

.split-story {
  grid-template-columns: minmax(300px, 0.74fr) minmax(420px, 1.26fr);
}

.split-story > .reveal:first-child {
  padding: clamp(26px, 3vw, 40px);
  border: 1px solid rgba(39, 215, 232, 0.25);
  border-radius: var(--radius);
  background:
    linear-gradient(160deg, rgba(10, 22, 40, 0.96), rgba(15, 31, 54, 0.94)),
    radial-gradient(ellipse at 0% 0%, rgba(39, 215, 232, 0.2), transparent 50%),
    radial-gradient(ellipse at 100% 100%, rgba(77, 124, 254, 0.12), transparent 40%);
  box-shadow: 0 22px 68px rgba(3, 13, 26, 0.22), 0 0 48px rgba(39, 215, 232, 0.1);
  backdrop-filter: blur(12px);
  transition: border-color 320ms ease, box-shadow 320ms ease;
}

.split-story > .reveal:first-child:hover {
  border-color: rgba(39, 215, 232, 0.45);
  box-shadow: 0 22px 68px rgba(3, 13, 26, 0.28), 0 0 64px rgba(39, 215, 232, 0.18);
}

.split-story > .reveal:first-child h2 {
  color: #ffffff;
  text-shadow: 0 0 36px rgba(39, 215, 232, 0.35);
}

.split-story > .reveal:first-child p {
  color: rgba(200, 220, 240, 0.9);
}

.story-steps {
  gap: 0;
}

/* Scrum flow visual - enhanced */
.scrum-flow-visual {
  display: grid;
  gap: 0;
  position: relative;
  padding: 8px 0;
}

.scrum-node {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  position: relative;
}

.scrum-node__marker {
  display: grid;
  justify-items: center;
  gap: 0;
  position: relative;
}

.scrum-node__step {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #27d7e8, #4d7cfe);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  z-index: 1;
  box-shadow: 0 0 0 5px rgba(39, 215, 232, 0.15), 0 0 28px rgba(39, 215, 232, 0.2);
  transition: transform 220ms ease, box-shadow 220ms ease;
  animation: stepGlow 3.5s ease-in-out infinite;
}
.scrum-node:nth-child(2) .scrum-node__step { animation-delay: 0.4s; }
.scrum-node:nth-child(3) .scrum-node__step { animation-delay: 0.8s; }
.scrum-node:nth-child(4) .scrum-node__step { animation-delay: 1.2s; }
.scrum-node:nth-child(5) .scrum-node__step { animation-delay: 1.6s; }

.scrum-node:hover .scrum-node__step {
  transform: scale(1.15);
  box-shadow: 0 0 0 10px rgba(39, 215, 232, 0.3), 0 0 48px rgba(39, 215, 232, 0.45);
  animation: none;
}

.scrum-node__connector {
  width: 2px;
  flex: 1;
  min-height: 16px;
  background: linear-gradient(180deg, rgba(39, 215, 232, 0.5), rgba(77, 124, 254, 0.2));
  border-radius: 1px;
  animation: connectorPulse 2.5s ease-in-out infinite;
  box-shadow: 0 0 8px rgba(39, 215, 232, 0.2);
}
.scrum-node:nth-child(2) .scrum-node__connector { animation-delay: 0.3s; }
.scrum-node:nth-child(3) .scrum-node__connector { animation-delay: 0.6s; }
.scrum-node:nth-child(4) .scrum-node__connector { animation-delay: 0.9s; }
.scrum-node:nth-child(5) .scrum-node__connector { animation-delay: 1.2s; }

.scrum-node:last-child .scrum-node__connector {
  display: none;
}

.scrum-node__card {
  position: relative;
  padding: 18px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background:
    linear-gradient(160deg, rgba(10, 22, 40, 0.92), rgba(18, 30, 50, 0.88)) padding-box,
    linear-gradient(135deg, rgba(39, 215, 232, 0.2), rgba(77, 124, 254, 0.12)) border-box;
  box-shadow: 0 4px 16px rgba(3, 13, 26, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: transform 280ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 280ms ease, border-color 280ms ease;
  margin-bottom: 12px;
  backdrop-filter: blur(8px);
  overflow: hidden;
}

.scrum-node__card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(39, 215, 232, 0.08), transparent 40%, transparent 60%, rgba(77, 124, 254, 0.06));
  opacity: 0;
  transition: opacity 300ms ease;
  pointer-events: none;
}

.scrum-node__card:hover {
  transform: translateX(8px) translateY(-2px);
  background:
    linear-gradient(160deg, rgba(12, 26, 44, 0.96), rgba(20, 34, 56, 0.92)) padding-box,
    linear-gradient(135deg, #27d7e8, #4d7cfe, #f6c75e) border-box;
  box-shadow:
    0 12px 36px rgba(3, 13, 26, 0.22),
    0 0 32px rgba(39, 215, 232, 0.2),
    0 0 72px rgba(39, 215, 232, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.scrum-node__card:hover::after {
  opacity: 1;
}

.scrum-node__card h4 {
  position: relative;
  z-index: 1;
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 0.01em;
}

.scrum-node__card p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: rgba(200, 220, 240, 0.85);
  font-size: 14px;
  line-height: 1.65;
}

/* Scrum glow animations */
@keyframes stepGlow {
  0%, 100% {
    box-shadow: 0 0 0 5px rgba(39, 215, 232, 0.15), 0 0 28px rgba(39, 215, 232, 0.2);
  }
  50% {
    box-shadow: 0 0 0 9px rgba(39, 215, 232, 0.28), 0 0 44px rgba(39, 215, 232, 0.38);
  }
}

@keyframes connectorPulse {
  0%, 100% { opacity: 0.45; }
  50% { opacity: 1; }
}

@keyframes scrumFadeIn {
  from {
    opacity: 0;
    transform: translateX(-16px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.scrum-node {
  animation: scrumFadeIn 0.55s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  opacity: 0;
}

@media (max-width: 1180px) {
  .home-hero,
  .home-video-grid,
  .split-story {
    grid-template-columns: 1fr;
  }

  .home-visual-strip {
    grid-template-columns: 1fr;
  }

  .home-visual-strip figure:nth-child(2),
  .home-course-strip .course-card:nth-child(3n + 2) {
    transform: none;
  }
}

@media (max-width: 760px) {
  .home-hero {
    min-height: auto;
    padding: calc(var(--header-h) + 46px) 0 72px;
  }

  .home-hero__copy h1 {
    font-size: clamp(36px, 10vw, 48px);
  }

  .home-video-copy {
    padding: 22px;
  }

  .home-visual-strip figure,
  .home-visual-strip img {
    min-height: 220px;
  }
}

@media (max-width: 760px) {
  .home-hero {
    min-height: auto;
    padding: calc(var(--header-h) + 42px) 0 48px;
  }

  .home-hero__copy h1 {
    font-size: clamp(31px, 8.4vw, 38px);
    line-height: 1.16;
  }
}

/* Client review refinement */
.home-teacher-section {
  background:
    linear-gradient(180deg, #f7fbff 0%, #eef7ff 100%),
    radial-gradient(ellipse at 12% 0%, rgba(39, 215, 232, 0.16), transparent 44%),
    radial-gradient(ellipse at 88% 16%, rgba(77, 124, 254, 0.1), transparent 40%);
}

.home-teacher-carousel {
  position: relative;
  overflow: hidden;
  padding: 8px 0 18px;
  mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
}

.home-teacher-carousel::before,
.home-teacher-carousel::after {
  content: "";
  position: absolute;
  top: 16%;
  bottom: 18%;
  z-index: 2;
  width: 80px;
  pointer-events: none;
}

.home-teacher-carousel::before {
  left: 0;
  background: linear-gradient(90deg, #eef7ff, transparent);
}

.home-teacher-carousel::after {
  right: 0;
  background: linear-gradient(270deg, #eef7ff, transparent);
}

.home-teacher-track {
  display: flex;
  gap: 18px;
  width: max-content;
  animation: teacherMarquee 58s linear infinite;
}

.home-teacher-carousel:hover .home-teacher-track {
  animation-play-state: paused;
}

.home-teacher-card {
  position: relative;
  display: grid;
  grid-template-rows: 176px auto auto auto 1fr;
  width: min(330px, 72vw);
  min-height: 392px;
  overflow: hidden;
  padding: 14px;
  border: 1px solid rgba(88, 120, 155, 0.18);
  border-radius: var(--radius);
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 24px 100%, 0 calc(100% - 24px));
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(242, 249, 255, 0.86)),
    radial-gradient(ellipse at 100% 0%, rgba(39, 215, 232, 0.17), transparent 44%);
  box-shadow: 0 22px 70px rgba(3, 13, 26, 0.1);
  transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease;
}

.home-teacher-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(110deg, transparent 0 38%, rgba(39, 215, 232, 0.16) 50%, transparent 62% 100%);
  opacity: 0;
  transform: translateX(-28%);
  transition: opacity 260ms ease, transform 520ms ease;
}

.home-teacher-card:hover {
  transform: translateY(-8px);
  border-color: rgba(39, 215, 232, 0.38);
  box-shadow: 0 30px 90px rgba(3, 13, 26, 0.16), 0 0 48px rgba(39, 215, 232, 0.18);
}

.home-teacher-card:hover::before {
  opacity: 1;
  transform: translateX(18%);
}

.home-teacher-card img {
  width: 100%;
  height: 176px;
  object-fit: cover;
  border-radius: 6px;
  filter: saturate(1.04) contrast(1.02);
}

.home-teacher-card span {
  margin-top: 16px;
  color: var(--gold-2);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.home-teacher-card h3 {
  margin: 7px 0 0;
  color: var(--ink);
  font-size: 24px;
  line-height: 1.16;
}

.home-teacher-card p {
  margin: 7px 0 0;
  color: #243447;
  font-weight: 900;
  line-height: 1.45;
}

.home-teacher-card small {
  display: -webkit-box;
  margin-top: 10px;
  overflow: hidden;
  color: var(--muted);
  line-height: 1.65;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.home-course-strip .course-card,
.metric-card,
.story-step,
.split-story > .reveal:first-child {
  border-radius: var(--radius);
}

.home-course-strip .course-card:hover {
  transform: translateY(-6px) scale(1.01);
}

@keyframes teacherMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (max-width: 1180px) {
  .home-course-strip .course-card,
  .home-course-strip .course-card:nth-child(3n + 1),
  .home-course-strip .course-card:nth-child(3n + 2),
  .home-course-strip .course-card:nth-child(3n) {
    transform: none;
  }
}

@media (max-width: 760px) {
  .home-teacher-carousel {
    margin-left: -18px;
    margin-right: -18px;
    padding-left: 18px;
  }

  .home-teacher-card {
    width: min(292px, 78vw);
    min-height: 360px;
  }
}

/* Final coordination pass */
.home-course-strip {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: clamp(16px, 2vw, 22px);
}

.home-course-strip .course-card,
.home-course-strip .course-card:nth-child(3n + 1),
.home-course-strip .course-card:nth-child(3n + 2),
.home-course-strip .course-card:nth-child(3n) {
  display: grid;
  grid-template-rows: auto auto auto auto 1fr auto auto;
  min-height: 430px;
  transform: none;
  border-radius: var(--radius);
}

.home-course-strip .course-card:hover,
.home-course-strip .course-card:nth-child(3n + 1):hover,
.home-course-strip .course-card:nth-child(3n + 2):hover,
.home-course-strip .course-card:nth-child(3n):hover {
  transform: translateY(-6px) scale(1.01);
}

.home-course-strip .course-card h3 {
  min-height: auto;
  color: #0b1524;
  font-size: clamp(17px, 1.25vw, 20px);
  line-height: 1.3;
}

.home-course-strip .course-card p {
  min-height: auto;
  color: #5f6f84;
  font-size: 13px;
  line-height: 1.6;
}

.home-course-strip .course-price {
  color: #08111f;
  font-size: clamp(20px, 1.6vw, 24px);
}

.home-course-strip .course-card .ghost-button {
  align-self: end;
  width: 100%;
}

.home-teacher-card {
  border: 0;
  color: inherit;
  text-align: left;
  cursor: pointer;
  border-radius: var(--radius);
  clip-path: none;
}

.home-teacher-card:focus-visible {
  outline: 3px solid rgba(39, 215, 232, 0.42);
  outline-offset: 4px;
}

.home-teacher-card img {
  border-radius: 6px;
}

@media (max-width: 1180px) {
  .home-course-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .home-course-strip {
    grid-template-columns: 1fr;
  }

  .home-course-strip .course-card {
    min-height: auto;
  }

  .home-course-strip .course-card h3,
  .home-course-strip .course-card p {
    min-height: 0;
  }
}

@media (max-width: 760px) {
  .home-hero__grid {
    display: block;
    width: 100%;
    max-width: calc(100vw - 36px);
    overflow: hidden;
  }

  .home-hero__copy {
    max-width: 100%;
  }

  .home-hero__copy h1 {
    max-width: 100%;
    font-size: clamp(34px, 10vw, 42px);
    line-height: 1.12;
    word-break: normal;
    overflow-wrap: anywhere;
  }

  .home-hero__copy h1 span {
    display: block;
    white-space: normal;
  }

  .mobile-hero-break {
    display: block;
  }

  .hero-actions,
  .hero-actions a {
    width: 100%;
    max-width: calc(100vw - 40px);
  }

  .hero-lead {
    max-width: calc(100vw - 52px);
    margin-top: 18px;
    font-size: 15px;
    line-height: 1.78;
    word-break: break-all !important;
    overflow-wrap: anywhere !important;
  }

  .hero-panel {
    width: calc(100vw - 48px) !important;
    max-width: calc(100vw - 40px) !important;
    margin-top: 28px;
  }

  .hero-panel li {
    align-items: flex-start;
  }

  .hero-panel li span {
    min-width: 0;
    word-break: normal;
    overflow-wrap: break-word;
  }

  .home-video-copy h2 {
    font-size: clamp(28px, 8vw, 34px);
    word-break: break-all;
    overflow-wrap: anywhere;
  }

  .hero-actions a,
  .primary-button,
  .secondary-button {
    width: calc(100vw - 48px) !important;
    max-width: calc(100vw - 48px) !important;
    box-sizing: border-box;
  }

  .home-video-grid,
  .home-video-copy,
  .home-video-frame {
    width: 100%;
    max-width: calc(100vw - 40px);
    min-width: 0;
    overflow: hidden;
  }

  .home-video-copy p {
    word-break: break-all;
    overflow-wrap: anywhere;
  }
}

.mobile-hero-break {
  display: none;
}

@media (max-width: 760px) {
  .mobile-hero-break {
    display: block;
  }
}

@media (max-width: 760px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .home-hero .container,
  .home-video-section .container,
  .home-teacher-section .container,
  .section .container {
    width: calc(100vw - 40px) !important;
    max-width: calc(100vw - 40px) !important;
  }

  .home-hero__copy h1 {
    max-width: calc(100vw - 48px) !important;
    font-size: clamp(33px, 9.6vw, 39px) !important;
    line-height: 1.14 !important;
    word-break: normal !important;
    overflow-wrap: anywhere !important;
  }

  .hero-lead,
  .home-video-copy p {
    max-width: min(320px, calc(100vw - 70px)) !important;
    word-break: break-all !important;
    overflow-wrap: anywhere !important;
  }

  .home-video-copy h2 {
    max-width: min(320px, calc(100vw - 70px)) !important;
    font-size: clamp(27px, 7.2vw, 31px) !important;
    line-height: 1.18 !important;
    word-break: break-all !important;
    overflow-wrap: anywhere !important;
  }

  .hero-actions a,
  .hero-panel,
  .home-video-copy,
  .home-video-frame {
    width: min(320px, calc(100vw - 56px)) !important;
    max-width: min(320px, calc(100vw - 56px)) !important;
  }
}

/* ============================================
   Charts — 数据图表化展示
   ============================================ */

/* Horizontal bar chart component */
.chart-section {
  padding: 0;
}

.chart-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.chart-card {
  padding: 32px;
  border: 1px solid rgba(39,215,232,0.2);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(10,22,40,0.95), rgba(15,31,54,0.9));
  box-shadow: 0 8px 32px rgba(0,0,0,0.3), 0 0 40px rgba(39,215,232,0.08);
  backdrop-filter: blur(12px);
  transition: transform 280ms ease, box-shadow 280ms ease, border-color 280ms ease;
}
.chart-card:hover {
  transform: translateY(-4px);
  border-color: rgba(39,215,232,0.4);
  box-shadow: 0 16px 48px rgba(0,0,0,0.4), 0 0 36px rgba(39,215,232,0.15);
}

.chart-card h3 {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 900;
  color: #ffffff;
}

.chart-card > p {
  margin: 0 0 24px;
  color: rgba(200, 220, 240, 0.8);
  font-size: 14px;
  line-height: 1.6;
}

/* Horizontal bar chart - premium enhanced */
.bar-chart {
  display: grid;
  gap: 12px;
}

.bar-item {
  display: grid;
  gap: 10px;
  padding: 14px 18px;
  border-radius: 14px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(39,215,232,0.1);
  transition: background 240ms ease, transform 240ms ease, border-color 240ms ease;
  backdrop-filter: blur(8px);
}
.bar-item:hover {
  background: rgba(39,215,232,0.12);
  border-color: rgba(39,215,232,0.3);
  transform: translateX(8px);
}

.bar-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.01em;
}

.bar-label__icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(39,215,232,0.15);
  flex: 0 0 auto;
}
.bar-label__icon svg {
  width: 18px;
  height: 18px;
  color: #27d7e8;
}

.bar-label__text {
  flex: 1;
  min-width: 0;
}
.bar-label__text strong {
  display: block;
  font-size: 14px;
  line-height: 1.3;
}
.bar-label__text small {
  display: block;
  font-size: 11px;
  color: rgba(180, 200, 220, 0.75);
  font-weight: 500;
}

.bar-label__pct {
  color: #27d7e8;
  font-weight: 900;
  font-size: 18px;
  text-shadow: 0 0 14px rgba(39,215,232,0.5);
  flex: 0 0 auto;
}

.bar-track {
  height: 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  overflow: hidden;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.2);
  position: relative;
}

.bar-fill {
  height: 100%;
  border-radius: 999px;
  position: relative;
  transition: width 1.6s cubic-bezier(0.16,1,0.3,1);
  overflow: hidden;
}
.bar-fill::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  border-radius: 999px;
  background: #fff;
  opacity: 0.7;
}
.bar-fill::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.3) 50%, transparent 100%);
  animation: barShimmer 2.5s ease-in-out infinite;
}

.bar-fill--cyan { background: linear-gradient(90deg, #27d7e8, #6defff); box-shadow: 0 0 18px rgba(39,215,232,0.5); }
.bar-fill--gold { background: linear-gradient(90deg, #f6c75e, #ffe49c); box-shadow: 0 0 18px rgba(246,199,94,0.5); }
.bar-fill--blue { background: linear-gradient(90deg, #4d7cfe, #8fb3ff); box-shadow: 0 0 18px rgba(77,124,254,0.5); }
.bar-fill--green { background: linear-gradient(90deg, #43b581, #7edcb0); box-shadow: 0 0 18px rgba(67,181,129,0.5); }
.bar-fill--rose { background: linear-gradient(90deg, #e86f5c, #f5a097); box-shadow: 0 0 18px rgba(232,111,92,0.5); }

@keyframes barShimmer {
  0%, 100% { opacity: 0; }
  50% { opacity: 1; }
}

/* Donut chart - enhanced */
.donut-chart {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px 28px;
  align-items: center;
}

.donut-ring {
  position: relative;
  width: 160px;
  height: 160px;
}

.donut-ring svg {
  width: 160px;
  height: 160px;
  filter: drop-shadow(0 0 28px rgba(39,215,232,0.3));
}

.donut-ring .bg {
  fill: none;
  stroke: rgba(255,255,255,0.08);
  stroke-width: 14;
}

.donut-ring .fg {
  fill: none;
  stroke-width: 14;
  stroke-linecap: round;
  transition: stroke-dashoffset 1.2s cubic-bezier(0.16,1,0.3,1);
  filter: drop-shadow(0 0 10px currentColor);
}

.donut-center {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: center;
  text-align: center;
}

.donut-center strong {
  display: block;
  font-size: 32px;
  color: #ffffff;
  font-weight: 900;
  text-shadow: 0 0 20px rgba(39,215,232,0.4);
}

.donut-center span {
  font-size: 12px;
  color: rgba(200,220,240,0.85);
  font-weight: 700;
  letter-spacing: 0.05em;
}

.donut-legend {
  display: grid;
  gap: 12px;
}

.donut-legend-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: rgba(220, 235, 250, 0.88);
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 10px;
  transition: background 200ms ease, transform 200ms ease;
}
.donut-legend-item:hover {
  background: rgba(39,215,232,0.12);
  transform: translateX(4px);
}

.donut-legend-item i {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  flex: 0 0 auto;
  box-shadow: 0 0 12px currentColor;
}

.donut-legend-item svg {
  width: 16px;
  height: 16px;
  opacity: 0.8;
}

/* Metric highlight strip - premium enhanced with clickable links */
.metric-highlight {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 32px;
}

.metric-highlight-link {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: transform 340ms cubic-bezier(0.16, 1, 0.3, 1);
}
.metric-highlight-link:hover {
  transform: translateY(-6px);
}

.metric-highlight article {
  position: relative;
  padding: 32px 24px 28px;
  text-align: center;
  border: 1px solid rgba(39,215,232,0.35);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(8,18,34,0.98), rgba(14,30,52,0.96));
  box-shadow: 0 10px 36px rgba(0,0,0,0.45), 0 0 32px rgba(39,215,232,0.1);
  transition: box-shadow 280ms ease, border-color 280ms ease;
  overflow: hidden;
  cursor: pointer;
}
.metric-highlight article::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #27d7e8, #4d7cfe);
  border-radius: 4px 4px 0 0;
}
.metric-highlight-link:nth-child(2) article::before { background: linear-gradient(90deg, #f6c75e, #ffe49c); }
.metric-highlight-link:nth-child(3) article::before { background: linear-gradient(90deg, #43b581, #7edcb0); }
.metric-highlight-link:nth-child(4) article::before { background: linear-gradient(90deg, #e86f5c, #f5a097); }

.metric-highlight-link:hover article {
  border-color: rgba(39,215,232,0.55);
  box-shadow: 0 18px 48px rgba(0,0,0,0.5), 0 0 48px rgba(39,215,232,0.2);
}

.metric-highlight strong {
  display: block;
  font-size: 52px;
  font-weight: 900;
  background: linear-gradient(135deg, #27d7e8, #6defff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}
.metric-highlight-link:nth-child(2) strong { background: linear-gradient(135deg, #f6c75e, #ffe49c); -webkit-background-clip: text; background-clip: text; }
.metric-highlight-link:nth-child(3) strong { background: linear-gradient(135deg, #43b581, #7edcb0); -webkit-background-clip: text; background-clip: text; }
.metric-highlight-link:nth-child(4) strong { background: linear-gradient(135deg, #e86f5c, #f5a097); -webkit-background-clip: text; background-clip: text; }

.metric-highlight span {
  display: block;
  margin-top: 10px;
  color: rgba(230, 242, 255, 0.95);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.4;
}

.metric-highlight small {
  display: block;
  margin-top: 6px;
  color: rgba(180, 200, 220, 0.8);
  font-size: 13px;
  font-weight: 600;
}

/* Chart with image sidecar */
.chart-with-image {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: center;
}

.chart-with-image img {
  width: 100%;
  border-radius: var(--radius);
  object-fit: cover;
  box-shadow: 0 8px 24px rgba(16, 24, 39, 0.08);
}

@media (max-width: 860px) {
  .chart-grid,
  .chart-with-image,
  .metric-highlight {
    grid-template-columns: 1fr;
  }
  
  .metric-highlight {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .comparison-chart {
    margin: 0 -16px;
    padding: 0 16px;
    border-radius: 0;
  }
}

@media (max-width: 560px) {
  .metric-highlight {
    grid-template-columns: 1fr;
  }
  
  .donut-chart {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }
  
  .chart-card {
    padding: 22px;
  }
  
  .metric-highlight strong {
    font-size: 34px;
  }
}

/* Animate bar fills when in view */
.bar-fill.animate-width {
  animation: fillBar 1.2s ease forwards;
}

@keyframes fillBar {
  from { width: 0; }
}

/* ============================================
   Comparison Chart — 产品对比图表 enhanced
   ============================================ */
.comparison-chart {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #27d7e8 rgba(11,21,36,0.25);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(8,18,36,0.98), rgba(14,28,52,0.96));
  border: 1px solid rgba(39,215,232,0.2);
  box-shadow: 0 8px 40px rgba(0,0,0,0.4), 0 0 60px rgba(39,215,232,0.06);
  padding: 4px;
}

.comparison-chart::-webkit-scrollbar {
  height: 6px;
}
.comparison-chart::-webkit-scrollbar-track {
  background: rgba(11,21,36,0.3);
  border-radius: 999px;
  margin: 0 8px;
}
.comparison-chart::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, #27d7e8, #4d7cfe);
  border-radius: 999px;
}

.comp-table {
  width: 100%;
  min-width: 860px;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 14px;
}

.comp-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  padding: 16px 18px;
  text-align: left;
  font-weight: 800;
  font-size: 13px;
  color: #fff;
  background: linear-gradient(135deg, #0b1a30 0%, #152d4a 50%, #1a3a5c 100%);
  white-space: nowrap;
  letter-spacing: 0.04em;
  text-shadow: 0 1px 2px rgba(0,0,0,0.4);
  border-bottom: 2px solid rgba(39,215,232,0.35);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}

.comp-table thead th:first-child {
  border-radius: 8px 0 0 0;
  min-width: 150px;
}

.comp-table thead th:last-child {
  border-radius: 0 8px 0 0;
}

.comp-table tbody tr {
  transition: background 200ms ease, transform 180ms ease, box-shadow 200ms ease;
}

.comp-table tbody tr:nth-child(even) {
  background: rgba(39,215,232,0.04);
}

.comp-table tbody tr:hover {
  background: rgba(39,215,232,0.1);
  transform: scale(1.004);
  box-shadow: 0 0 20px rgba(39,215,232,0.1), inset 0 0 0 1px rgba(39,215,232,0.15);
  border-radius: 6px;
  position: relative;
  z-index: 1;
}

.comp-table tbody td {
  padding: 14px 18px;
  border-bottom: 1px solid rgba(39,215,232,0.08);
  color: #c8d6e5;
  line-height: 1.6;
  vertical-align: middle;
  background: rgba(8,18,36,0.5);
}

.comp-table tbody td:first-child {
  font-weight: 700;
  color: #e8f0fe;
}

.comp-table tbody tr:last-child td:first-child {
  border-radius: 0 0 0 8px;
}

.comp-table tbody tr:last-child td:last-child {
  border-radius: 0 0 8px 0;
}

.comp-highlight {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.comp-highlight.gold {
  background: rgba(246,199,94,0.18);
  color: #f9d56e;
  border: 1px solid rgba(246,199,94,0.35);
  box-shadow: 0 0 10px rgba(246,199,94,0.1);
}

.comp-highlight.cyan {
  background: rgba(39,215,232,0.18);
  color: #5ee8f5;
  border: 1px solid rgba(39,215,232,0.35);
  box-shadow: 0 0 10px rgba(39,215,232,0.1);
}

.comp-highlight.blue {
  background: rgba(77,124,254,0.18);
  color: #8aacff;
  border: 1px solid rgba(77,124,254,0.35);
  box-shadow: 0 0 10px rgba(77,124,254,0.1);
}

.comp-bullets {
  list-style: none;
  margin: 0;
  padding: 0;
}

.comp-bullets li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 5px;
  font-size: 13px;
  line-height: 1.55;
  color: #a0b4cc;
}

.comp-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, #27d7e8, #4d7cfe);
  box-shadow: 0 0 6px rgba(39,215,232,0.3);
}

@media (max-width: 860px) {
  .comparison-chart {
    margin: 0 -16px;
    padding: 0 16px;
  }
}
