:root {
  --bg: #050812;
  --panel: rgba(9, 18, 35, 0.72);
  --panel-strong: rgba(12, 27, 52, 0.88);
  --line: rgba(112, 232, 255, 0.28);
  --text: #edf7ff;
  --muted: #8ea6ba;
  --cyan: #38e8ff;
  --blue: #3e6ae1;
  --green: #7dffcf;
  --x: 50vw;
  --y: 40vh;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 1180px;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 10%, rgba(62, 106, 225, 0.28), transparent 34%),
    radial-gradient(circle at 80% 6%, rgba(56, 232, 255, 0.2), transparent 30%),
    linear-gradient(135deg, #03050d 0%, #07111f 46%, #050812 100%);
  font-family: "Microsoft YaHei", "PingFang SC", "Segoe UI", sans-serif;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -3;
  content: "";
  background-image:
    linear-gradient(rgba(56, 232, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 232, 255, 0.055) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at 50% 20%, #000 0%, transparent 72%);
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  background: radial-gradient(circle at var(--x) var(--y), rgba(56, 232, 255, 0.16), transparent 24rem);
}

.cursor-light {
  position: fixed;
  left: var(--x);
  top: var(--y);
  z-index: 10;
  width: 18px;
  height: 18px;
  pointer-events: none;
  border: 1px solid rgba(125, 255, 207, 0.8);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 24px rgba(56, 232, 255, 0.55);
  opacity: 0.7;
}

.flow-layer {
  position: fixed;
  inset: -20% -10%;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(120deg, transparent 18%, rgba(56, 232, 255, 0.16) 19%, transparent 21%),
    linear-gradient(145deg, transparent 38%, rgba(125, 255, 207, 0.13) 39%, transparent 41%),
    linear-gradient(160deg, transparent 58%, rgba(62, 106, 225, 0.2) 59%, transparent 61%);
  filter: blur(1px);
  animation: flowDrift 14s ease-in-out infinite alternate;
}

.page-shell {
  width: 1180px;
  margin: 0 auto;
  padding: 56px 0 88px;
}

.hero {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 56px;
  min-height: 720px;
  align-items: center;
}

.eyebrow,
.section-heading p,
.section-kicker {
  margin: 0 0 16px;
  color: var(--green);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 18px;
  font-size: 92px;
  line-height: 0.95;
  letter-spacing: 0.08em;
  text-shadow: 0 0 36px rgba(56, 232, 255, 0.28);
}

h2 {
  margin-bottom: 28px;
  font-size: 42px;
  letter-spacing: 0.08em;
}

h3 {
  margin-bottom: 12px;
  font-size: 22px;
}

.hero-title {
  margin-bottom: 20px;
  color: var(--cyan);
  font-size: 28px;
  font-weight: 700;
}

.hero-summary {
  width: 640px;
  color: #c7d8e8;
  font-size: 18px;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 36px;
}

.primary-link,
.secondary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 156px;
  height: 46px;
  color: var(--text);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 6px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.primary-link {
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 18px 42px rgba(56, 232, 255, 0.26);
}

.secondary-link {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.primary-link:hover,
.secondary-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 46px rgba(56, 232, 255, 0.22);
}

.profile-panel {
  position: relative;
  min-height: 560px;
}

.orbit-ring {
  position: absolute;
  inset: 16px 12px auto auto;
  width: 430px;
  height: 430px;
  border: 1px solid rgba(56, 232, 255, 0.26);
  border-radius: 43% 57% 48% 52%;
  animation: rotateRing 16s linear infinite;
}

.orbit-ring::before,
.orbit-ring::after {
  position: absolute;
  content: "";
  border-radius: inherit;
}

.orbit-ring::before {
  inset: 42px;
  border: 1px dashed rgba(125, 255, 207, 0.22);
}

.orbit-ring::after {
  inset: 92px;
  background: radial-gradient(circle, rgba(56, 232, 255, 0.16), transparent 64%);
}

.profile-card,
.glass-card,
.timeline-card,
.career-grid article,
.education-list article,
.skill-card,
.capability-grid div {
  border: 1px solid rgba(112, 232, 255, 0.2);
  background: linear-gradient(145deg, rgba(9, 18, 35, 0.78), rgba(10, 30, 54, 0.46));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 24px 70px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px);
}

.profile-card {
  position: relative;
  z-index: 1;
  width: 430px;
  margin: 88px 0 0 auto;
  padding: 34px;
  border-radius: 26px;
}

.profile-card span {
  color: var(--green);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.profile-card strong {
  display: block;
  margin: 18px 0 22px;
  font-size: 30px;
}

.profile-card p {
  margin-bottom: 12px;
  color: #bfd3e5;
}

.profile-card a,
.copy-contact {
  color: var(--cyan);
  font: inherit;
  text-decoration: none;
}

.copy-contact {
  padding: 0;
  cursor: pointer;
  border: 0;
  background: transparent;
}

.profile-card a:hover,
.copy-contact:hover,
.copy-contact.is-copied {
  color: var(--green);
}

.profile-card.is-highlighted {
  border-color: rgba(125, 255, 207, 0.78);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 0 0 1px rgba(125, 255, 207, 0.28), 0 28px 90px rgba(56, 232, 255, 0.24);
}

.metric-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: -20px 22px 0 auto;
  width: 430px;
}

.metric-grid div {
  padding: 18px 12px;
  text-align: center;
  border: 1px solid rgba(125, 255, 207, 0.18);
  border-radius: 18px;
  background: rgba(3, 8, 18, 0.76);
}

.metric-grid strong {
  display: block;
  color: var(--cyan);
  font-size: 28px;
}

.metric-grid span {
  color: var(--muted);
  font-size: 13px;
}

.section {
  margin-top: 92px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 26px;
  border-bottom: 1px solid rgba(112, 232, 255, 0.18);
}

.skill-board {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.skill-card {
  min-height: 132px;
  padding: 24px;
  border-radius: 22px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.skill-card span {
  display: block;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 14px;
}

.skill-card strong {
  color: var(--text);
  font-size: 20px;
  line-height: 1.55;
}

.split-section {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 24px;
  align-items: stretch;
}

.glass-card {
  padding: 34px;
  border-radius: 28px;
}

.glass-card p:not(.section-kicker) {
  color: #bed2e5;
  font-size: 16px;
  line-height: 1.9;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.capability-grid div {
  display: flex;
  align-items: center;
  min-height: 104px;
  padding: 20px;
  color: #d8edff;
  line-height: 1.7;
  border-radius: 20px;
}

.timeline {
  position: relative;
  display: grid;
  gap: 22px;
  padding-left: 34px;
}

.timeline::before {
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 8px;
  width: 2px;
  content: "";
  background: linear-gradient(var(--cyan), var(--blue), transparent);
  box-shadow: 0 0 18px rgba(56, 232, 255, 0.45);
}

.timeline-card {
  position: relative;
  padding: 28px 32px;
  border-radius: 24px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.timeline-card::before {
  position: absolute;
  top: 32px;
  left: -35px;
  width: 14px;
  height: 14px;
  content: "";
  border: 2px solid var(--cyan);
  border-radius: 50%;
  background: var(--bg);
  box-shadow: 0 0 18px rgba(56, 232, 255, 0.9);
}

time {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--green);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.timeline-card p,
.career-grid span,
.education-list span {
  color: #b9ccdc;
  line-height: 1.8;
}

ul {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding-left: 20px;
  color: #d9ecfb;
  line-height: 1.7;
}

li::marker {
  color: var(--cyan);
}

.career-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.career-grid article {
  min-height: 236px;
  padding: 26px;
  border-radius: 22px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.career-grid article:first-child {
  grid-column: span 2;
  min-height: 180px;
}

.career-grid p {
  color: var(--cyan);
  font-weight: 700;
}

.education-section {
  display: grid;
  grid-template-columns: 0.4fr 0.6fr;
  gap: 28px;
  align-items: start;
}

.education-list {
  display: grid;
  gap: 16px;
}

.education-list article {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  padding: 24px;
  border-radius: 20px;
}

.skill-card:hover,
.timeline-card:hover,
.career-grid article:hover,
.education-list article:hover,
.capability-grid div:hover {
  transform: translateY(-4px);
  border-color: rgba(56, 232, 255, 0.58);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 26px 80px rgba(56, 232, 255, 0.12);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes flowDrift {
  from {
    transform: translate3d(-3%, -1%, 0) rotate(0deg);
  }
  to {
    transform: translate3d(3%, 2%, 0) rotate(2deg);
  }
}

@keyframes rotateRing {
  to {
    transform: rotate(360deg);
  }
}
