:root {
  --ink: #17181c;
  --muted: #6b7280;
  --quiet: #9aa1ad;
  --line: rgba(20, 28, 42, 0.09);
  --glass: rgba(255, 255, 255, 0.68);
  --glass-strong: rgba(255, 255, 255, 0.86);
  --shadow: 0 24px 80px rgba(30, 42, 64, 0.13);
  --blue: #007aff;
  --violet: #5856d6;
  --green: #34c759;
  --orange: #ff9f0a;
  --purple: #af52de;
  --pink: #ff7ab6;
  --yellow: #fff45f;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  letter-spacing: 0;
  background: #fff;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(24, 32, 48, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(24, 32, 48, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, transparent, #000 14%, #000 78%, transparent);
  display: none;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(115deg, transparent 0 34%, rgba(255, 255, 255, 0.42) 42%, transparent 50% 100%),
    linear-gradient(165deg, rgba(255, 245, 95, 0.12), transparent 34%),
    linear-gradient(18deg, transparent 56%, rgba(255, 122, 182, 0.11));
  background-size: 220% 100%, 100% 100%, 100% 100%;
  animation: pageSheen 9s ease-in-out infinite;
  display: none;
}

a {
  color: inherit;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.page-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 56px;
}

.topbar {
  position: sticky;
  top: 18px;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 16px;
  height: 52px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: 0 14px 36px rgba(32, 41, 58, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(28px) saturate(1.35);
  overflow: hidden;
}

.topbar::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 0 38%, rgba(255, 255, 255, 0.75) 46%, transparent 56% 100%);
  transform: translateX(-120%);
  animation: navGlint 5.6s ease-in-out infinite;
}

.traffic {
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.traffic span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.04);
}

.red { background: #ff5f57; }
.yellow { background: #ffbd2e; }
.green { background: #28c840; }

.brand {
  position: relative;
  min-width: 0;
  color: #20242b;
  font-size: 14px;
  font-weight: 760;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand::before {
  content: "";
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--green) 45%, var(--pink));
  box-shadow: 0 0 0 6px rgba(0, 122, 255, 0.08), 0 0 18px rgba(0, 122, 255, 0.3);
  vertical-align: 1px;
  animation: sparkPulse 2.8s ease-in-out infinite;
}

.top-link {
  margin-left: auto;
  padding: 8px 12px;
  color: #30343b;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.72);
}

.hero {
  min-height: 440px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 34px;
  align-items: end;
  padding: 84px 0 38px;
}

.hero-copy {
  max-width: 680px;
}

.eyebrow {
  margin: 0 0 20px;
  color: transparent;
  font-size: 13px;
  font-weight: 760;
  letter-spacing: 0;
  background: linear-gradient(90deg, var(--blue), var(--violet), var(--pink), var(--orange));
  background-size: 260% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  animation: textAurora 6.4s ease-in-out infinite;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  position: relative;
  margin-bottom: 24px;
  font-size: 64px;
  line-height: 1.08;
  font-weight: 760;
  letter-spacing: 0;
  color: #111215;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

h1::after {
  content: "";
  position: absolute;
  left: 4px;
  bottom: -10px;
  width: min(560px, 82%);
  height: 11px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--pink) 8% 92%, transparent);
  transform: scaleX(0);
  transform-origin: left;
  animation: underlineDraw 900ms cubic-bezier(0.2, 0.9, 0.2, 1) 420ms forwards;
}

.headline-brand,
.headline-main,
.headline-sub {
  display: block;
}

.headline-brand {
  width: fit-content;
  color: transparent;
  background: linear-gradient(95deg, #111215 0 46%, var(--blue) 58%, var(--violet) 72%, #111215 86% 100%);
  background-size: 260% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  animation: textAurora 7s ease-in-out infinite;
}

.highlight-pill {
  position: relative;
  display: inline-block;
  padding: 0 0.22em 0.04em;
  border-radius: 999px;
  background: linear-gradient(100deg, var(--yellow), #fff98e 45%, var(--yellow));
  background-size: 220% 100%;
  box-shadow: inset 0 -0.09em 0 rgba(255, 159, 10, 0.26), 0 0.16em 0.42em rgba(255, 232, 61, 0.28);
  animation: pillGlow 4.2s ease-in-out infinite;
}

.highlight-pill::after {
  content: "";
  position: absolute;
  inset: 0.08em 0.18em auto;
  height: 0.18em;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  opacity: 0.68;
}

.lede {
  max-width: 650px;
  margin-bottom: 0;
  color: #4e5663;
  font-size: 21px;
  line-height: 1.55;
  font-weight: 520;
  overflow-wrap: anywhere;
  text-wrap: pretty;
}

.why-card,
.network-strip,
.mentor-card {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.54));
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(30px) saturate(1.38);
  isolation: isolate;
}

.why-card {
  padding: 24px;
  overflow: hidden;
  animation: cardRise 760ms cubic-bezier(0.2, 0.9, 0.2, 1) 120ms both;
}

.why-card::after,
.network-strip::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(110deg, transparent 0 34%, rgba(255, 255, 255, 0.72) 46%, transparent 58% 100%);
  transform: translateX(-130%);
  animation: surfaceSweep 7.2s ease-in-out infinite;
}

.why-card > *,
.network-strip > * {
  position: relative;
  z-index: 1;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
  color: #7d8490;
  font-size: 13px;
  font-weight: 700;
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #34c759;
  box-shadow: 0 0 0 7px rgba(52, 199, 89, 0.11);
  animation: statusPulse 2.4s ease-in-out infinite;
}

.why-card h2 {
  margin-bottom: 18px;
  font-size: 28px;
  line-height: 1.15;
  font-weight: 760;
  overflow-wrap: anywhere;
}

.why-list {
  display: grid;
  gap: 14px;
}

.why-list p {
  margin: 0;
  color: #505866;
  font-size: 15px;
  line-height: 1.62;
  font-weight: 520;
  overflow-wrap: anywhere;
}

.network-strip {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px 18px;
  margin-bottom: 24px;
  color: #535b68;
  font-size: 15px;
  line-height: 1.45;
  font-weight: 540;
  overflow: hidden;
  animation: cardRise 760ms cubic-bezier(0.2, 0.9, 0.2, 1) 220ms both;
}

.network-label {
  flex: 0 0 auto;
  padding: 8px 10px;
  border-radius: 8px;
  color: #6b4d0a;
  background: rgba(255, 159, 10, 0.13);
  border: 1px solid rgba(255, 159, 10, 0.18);
  font-size: 12px;
  font-weight: 760;
}

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

.mentor-card {
  grid-column: span 2;
  min-height: 520px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  cursor: pointer;
  transform: translate3d(0, 0, 0);
  transition: transform 260ms cubic-bezier(0.2, 0.9, 0.2, 1), box-shadow 260ms ease, border-color 260ms ease;
  animation: cardRise 760ms cubic-bezier(0.2, 0.9, 0.2, 1) both;
}

.mentor-card:nth-child(1) { animation-delay: 260ms; }
.mentor-card:nth-child(2) { animation-delay: 340ms; }
.mentor-card:nth-child(3) { animation-delay: 420ms; }
.mentor-card:nth-child(4) { animation-delay: 500ms; }
.mentor-card:nth-child(5) { animation-delay: 580ms; }

.mentor-card:nth-child(4) {
  grid-column: 2 / span 2;
}

.mentor-card:nth-child(5) {
  grid-column: 4 / span 2;
}

.mentor-card > * {
  transition: transform 260ms cubic-bezier(0.2, 0.9, 0.2, 1);
}

.mentor-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.78), transparent 32%),
    linear-gradient(180deg, color-mix(in srgb, var(--accent) 12%, transparent), transparent 42%);
  opacity: 0.9;
}

.mentor-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  background: var(--accent);
}

.mentor-card[data-profile] .mentor-copy::after {
  content: "查看介绍";
  display: inline-flex;
  width: fit-content;
  margin-top: 18px;
  padding: 8px 10px;
  border-radius: 999px;
  color: color-mix(in srgb, var(--accent) 70%, #18202d);
  background: color-mix(in srgb, var(--accent) 10%, white);
  border: 1px solid color-mix(in srgb, var(--accent) 16%, white);
  font-size: 12px;
  font-weight: 760;
  opacity: 0.86;
  transform: translateY(0);
  transition: transform 180ms ease, opacity 180ms ease, background 180ms ease;
}

.mentor-card[data-profile]:hover .mentor-copy::after,
.mentor-card[data-profile]:focus-visible .mentor-copy::after {
  opacity: 1;
  transform: translateY(-2px);
  background: color-mix(in srgb, var(--accent) 16%, white);
}

.mentor-card[data-accent="blue"] { --accent: var(--blue); }
.mentor-card[data-accent="violet"] { --accent: var(--violet); }
.mentor-card[data-accent="green"] { --accent: var(--green); }
.mentor-card[data-accent="orange"] { --accent: var(--orange); }
.mentor-card[data-accent="purple"] { --accent: var(--purple); }

.mentor-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.94);
  box-shadow:
    0 30px 90px rgba(24, 34, 52, 0.18),
    0 0 0 5px color-mix(in srgb, var(--accent) 10%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.mentor-card:focus-visible {
  outline: none;
  box-shadow:
    0 30px 90px rgba(24, 34, 52, 0.18),
    0 0 0 5px color-mix(in srgb, var(--accent) 18%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.mentor-card:hover .portrait-wrap img {
  transform: scale(1.035);
}

.portrait-wrap,
.mentor-copy,
.actions {
  position: relative;
  z-index: 1;
}

.portrait-wrap {
  position: relative;
  min-height: 214px;
  display: grid;
  place-items: end center;
  padding: 28px 24px 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.02)),
    linear-gradient(135deg, color-mix(in srgb, var(--accent) 18%, white), rgba(255, 255, 255, 0.38));
  border-bottom: 1px solid rgba(24, 32, 48, 0.07);
  overflow: hidden;
}

.portrait-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 0 32%, rgba(255, 255, 255, 0.62) 46%, transparent 60% 100%);
  transform: translateX(-125%);
  opacity: 0;
  transition: opacity 220ms ease;
}

.mentor-card:hover .portrait-wrap::before {
  opacity: 1;
  animation: portraitSweep 900ms ease-out forwards;
}

.portrait-wrap img {
  position: relative;
  z-index: 0;
  width: 188px;
  height: 188px;
  object-fit: contain;
  filter: drop-shadow(0 18px 28px rgba(25, 32, 45, 0.13));
  transition: transform 360ms cubic-bezier(0.2, 0.9, 0.2, 1);
}

.mentor-card.real-photo .portrait-wrap {
  min-height: 214px;
  padding: 0;
  place-items: stretch;
  background: #e8edf2;
}

.mentor-card.real-photo .portrait-wrap img {
  width: 100%;
  height: 214px;
  object-fit: cover;
  object-position: 54% 50%;
  filter: none;
}

.mentor-card.tina-photo-card .portrait-wrap img {
  object-position: 62% 42%;
}

.mentor-card.derek-photo-card .portrait-wrap img {
  object-position: 24% 45%;
}

.mentor-card.profile-screenshot .portrait-wrap {
  height: 214px;
  min-height: 214px;
  padding: 0;
  display: block;
  background:
    radial-gradient(circle at 50% 20%, rgba(175, 82, 222, 0.38), transparent 54%),
    #090b12;
}

.mentor-card.xingyu-avatar-card .portrait-wrap {
  min-height: 214px;
  padding: 18px 24px 0;
  place-items: center;
  background:
    radial-gradient(circle at 50% 28%, rgba(255, 244, 95, 0.28), transparent 32%),
    linear-gradient(135deg, color-mix(in srgb, var(--accent) 16%, white), rgba(255, 255, 255, 0.46));
}

.mentor-card.xingyu-avatar-card .portrait-wrap img {
  width: 188px;
  height: 188px;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 18px 28px rgba(25, 32, 45, 0.13));
}

.mentor-card.profile-screenshot .portrait-wrap img {
  width: 120%;
  max-width: none;
  height: auto;
  margin-left: -10%;
  transform: translateY(-56px);
  object-fit: contain;
  filter: none;
}

.mentor-card.profile-screenshot:hover .portrait-wrap img {
  transform: translateY(-56px) scale(1.035);
}

.mentor-copy {
  flex: 1;
  padding: 22px 22px 16px;
}

.role-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.role,
.badge {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 7px 9px;
  border-radius: 8px;
  white-space: normal;
  line-height: 1.12;
  font-size: 12px;
  font-weight: 760;
}

.role {
  color: color-mix(in srgb, var(--accent) 70%, #18202d);
  background: color-mix(in srgb, var(--accent) 12%, white);
  border: 1px solid color-mix(in srgb, var(--accent) 16%, white);
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 18%, transparent);
  transition: box-shadow 220ms ease, background 220ms ease;
}

.badge {
  color: #606978;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.74);
}

.mentor-card:hover .role {
  background: color-mix(in srgb, var(--accent) 18%, white);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 11%, transparent);
}

.mentor-copy h2 {
  margin-bottom: 12px;
  font-size: 26px;
  line-height: 1.12;
  font-weight: 760;
}

.summary {
  min-height: 75px;
  margin-bottom: 18px;
  color: #4d5562;
  font-size: 15px;
  line-height: 1.55;
  font-weight: 520;
}

.proof {
  margin: 0;
  color: #1f2733;
  font-size: 16px;
  line-height: 1.28;
  font-weight: 720;
  text-wrap: pretty;
}

.actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 0 22px 22px;
}

.actions.single-action {
  grid-template-columns: 1fr;
}

.actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 12px;
  color: #222833;
  text-decoration: none;
  font-size: 14px;
  font-weight: 760;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.78);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.actions .social-logo-link,
.actions .portfolio-logo-link {
  min-height: 42px;
  padding: 6px;
}

.social-logo-link img,
.portfolio-logo-link img {
  width: 30px;
  height: 30px;
  display: block;
  border-radius: 8px;
}

.social-logo-link img {
  box-shadow: 0 6px 14px rgba(255, 36, 66, 0.18);
}

.portfolio-logo-link img {
  box-shadow: 0 6px 14px rgba(20, 26, 34, 0.16);
}

.actions a:hover,
.actions a:focus-visible {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 10px 22px rgba(24, 34, 52, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.92);
  outline: none;
}

@keyframes pageSheen {
  0%, 44% { background-position: 130% 0, 0 0, 0 0; }
  68%, 100% { background-position: -80% 0, 0 0, 0 0; }
}

@keyframes navGlint {
  0%, 54% { transform: translateX(-120%); }
  74%, 100% { transform: translateX(120%); }
}

@keyframes sparkPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(0, 122, 255, 0.08), 0 0 18px rgba(0, 122, 255, 0.3);
  }
  50% {
    transform: scale(1.16);
    box-shadow: 0 0 0 9px rgba(255, 122, 182, 0.11), 0 0 24px rgba(255, 122, 182, 0.34);
  }
}

@keyframes textAurora {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes underlineDraw {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@keyframes pillGlow {
  0%, 100% {
    background-position: 0% 50%;
    box-shadow: inset 0 -0.09em 0 rgba(255, 159, 10, 0.26), 0 0.16em 0.42em rgba(255, 232, 61, 0.28);
  }
  50% {
    background-position: 100% 50%;
    box-shadow: inset 0 -0.09em 0 rgba(255, 159, 10, 0.2), 0 0.18em 0.58em rgba(255, 232, 61, 0.42);
  }
}

@keyframes cardRise {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes surfaceSweep {
  0%, 58% { transform: translateX(-130%); }
  78%, 100% { transform: translateX(130%); }
}

@keyframes statusPulse {
  0%, 100% { box-shadow: 0 0 0 7px rgba(52, 199, 89, 0.11); }
  50% { box-shadow: 0 0 0 10px rgba(52, 199, 89, 0.18); }
}

@keyframes portraitSweep {
  from { transform: translateX(-125%); }
  to { transform: translateX(125%); }
}

.actions a:focus-visible {
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent);
}

@media (max-width: 1040px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-top: 64px;
  }

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

  .mentor-card,
  .mentor-card:nth-child(4),
  .mentor-card:nth-child(5) {
    grid-column: auto;
  }
}

@media (max-width: 680px) {
  .page-shell {
    width: min(100% - 24px, 1180px);
    padding-top: 14px;
  }

  .topbar {
    top: 10px;
    height: auto;
    min-height: 50px;
  }

  .brand {
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .top-link {
    display: none;
  }

  .hero {
    padding-top: 48px;
    gap: 20px;
  }

  h1 {
    max-width: 100%;
    font-size: 34px;
    line-height: 1.12;
    word-break: break-word;
  }

  .lede {
    max-width: 100%;
    font-size: 16px;
    line-height: 1.62;
  }

  .why-card {
    padding: 20px;
  }

  .why-card h2 {
    font-size: 25px;
    line-height: 1.2;
  }

  .why-list p {
    font-size: 14px;
  }

  .network-strip {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .mentor-grid {
    grid-template-columns: 1fr;
  }

  .mentor-card {
    min-height: auto;
  }

  .portrait-wrap {
    min-height: 190px;
  }

  .mentor-card.real-photo .portrait-wrap,
  .mentor-card.real-photo .portrait-wrap img {
    height: 220px;
  }

  .summary {
    min-height: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .mentor-card,
  .actions a,
  .portrait-wrap img,
  .role {
    transition: none;
  }

  .mentor-card:hover,
  .actions a:hover {
    transform: none;
  }

  body::after,
  .topbar::after,
  .brand::before,
  .eyebrow,
  h1::after,
  .highlight-pill,
  .headline-brand,
  .why-card,
  .why-card::after,
  .network-strip,
  .network-strip::after,
  .mentor-card,
  .status-dot,
  .mentor-card:hover .portrait-wrap::before {
    animation: none;
  }

  h1::after {
    transform: scaleX(1);
  }
}

@supports not (backdrop-filter: blur(1px)) {
  .topbar,
  .why-card,
  .network-strip,
  .mentor-card {
    background: rgba(255, 255, 255, 0.94);
  }
}
