/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black: #0a0a0a;
  --dark: #111114;
  --dark2: #1a1a20;
  --card: #1e1e26;
  --border: rgba(255,255,255,0.08);
  --white: #ffffff;
  --white80: rgba(255,255,255,0.8);
  --white50: rgba(255,255,255,0.5);
  --white20: rgba(255,255,255,0.2);
  --accent: #6c63ff;
  --accent2: #a78bfa;
  --green: #34d399;
  --orange: #fb923c;
  --blue: #60a5fa;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 4px 32px rgba(0,0,0,0.4);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans SC', 'PingFang SC', 'Helvetica Neue', sans-serif;
  background: var(--dark);
  color: var(--white);
  line-height: 1.7;
  font-size: 15px;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }

/* ===== Nav ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px 0;
  transition: background 0.3s, backdrop-filter 0.3s;
}
.nav.scrolled {
  background: rgba(10,10,10,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 32px;
}
.nav-links a {
  font-size: 14px;
  color: var(--white50);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--white); }

/* ===== Hero ===== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 120px 32px 80px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(108,99,255,0.18) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 80% 80%, rgba(167,139,250,0.10) 0%, transparent 60%);
  pointer-events: none;
}
.hero-content { position: relative; z-index: 1; max-width: 720px; }
.hero-tag {
  display: inline-block;
  background: rgba(108,99,255,0.15);
  border: 1px solid rgba(108,99,255,0.4);
  color: var(--accent2);
  font-size: 13px;
  font-weight: 500;
  padding: 6px 18px;
  border-radius: 100px;
  letter-spacing: 0.06em;
  margin-bottom: 24px;
}
.hero-name {
  font-size: clamp(52px, 8vw, 88px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.7) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 18px;
  color: var(--white50);
  margin-bottom: 32px;
  line-height: 1.8;
}
.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 40px;
}
.chip {
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  font-size: 13px;
  padding: 6px 16px;
  border-radius: 100px;
  color: var(--white80);
}
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn {
  padding: 13px 28px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-primary {
  background: var(--accent);
  color: white;
}
.btn-primary:hover {
  background: #7b74ff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(108,99,255,0.4);
}
.btn-ghost {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--white80);
}
.btn-ghost:hover {
  border-color: var(--white50);
  background: rgba(255,255,255,0.05);
}
.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--white20);
  font-size: 12px;
}
.scroll-arrow {
  width: 1px;
  height: 32px;
  background: linear-gradient(to bottom, var(--white20), transparent);
  animation: scrollPulse 2s infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

/* ===== Sections ===== */
.section { padding: 100px 0; }
.section-dark { background: var(--dark2); }
.container { max-width: 1100px; margin: 0 auto; padding: 0 32px; }
.section-header { margin-bottom: 60px; }
.section-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--accent2);
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* ===== About ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.about-lead {
  font-size: 18px;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.7;
}
.about-text { color: var(--white50); line-height: 1.9; }
.edu-cards { display: flex; flex-direction: column; gap: 20px; }
.edu-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: border-color 0.2s, transform 0.2s;
}
.edu-card:hover {
  border-color: rgba(108,99,255,0.3);
  transform: translateY(-2px);
}
.edu-icon { font-size: 28px; flex-shrink: 0; }
.edu-school { font-size: 17px; font-weight: 700; margin-bottom: 4px; }
.edu-degree { font-size: 13px; color: var(--white80); margin-bottom: 4px; }
.gpa {
  background: rgba(52,211,153,0.15);
  color: var(--green);
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
}
.edu-year { font-size: 12px; color: var(--white50); margin-bottom: 8px; }
.edu-courses { font-size: 12px; color: var(--white50); line-height: 1.6; }

/* ===== Timeline ===== */
.timeline { position: relative; padding-left: 32px; }
.timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent), rgba(108,99,255,0.1));
}
.timeline-item { position: relative; margin-bottom: 48px; }
.timeline-item:last-child { margin-bottom: 0; }
.timeline-dot {
  position: absolute;
  left: -28px;
  top: 24px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(108,99,255,0.2);
}
.timeline-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 32px;
  transition: border-color 0.2s, transform 0.2s;
}
.timeline-card:hover {
  border-color: rgba(108,99,255,0.3);
  transform: translateX(4px);
}
.exp-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 12px;
}
.exp-company-wrap { display: flex; align-items: center; gap: 16px; }
.exp-company-logo {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
  letter-spacing: 0.01em;
  text-align: center;
}
.xhs-logo { background: linear-gradient(135deg, #ff2442, #ff6b81); color: white; }
.meituan-logo { background: linear-gradient(135deg, #ffd000, #ffb700); color: #333; }
.hospital-logo { background: linear-gradient(135deg, #60a5fa, #3b82f6); color: white; }
.exp-title { font-size: 18px; font-weight: 700; margin-bottom: 3px; }
.exp-meta { font-size: 13px; color: var(--white50); }
.exp-date { font-size: 13px; color: var(--white50); white-space: nowrap; }
.exp-overview { font-size: 14px; color: var(--white50); margin-bottom: 20px; line-height: 1.8; }
.exp-bullets { display: flex; flex-direction: column; gap: 12px; }
.bullet-item { display: flex; gap: 12px; align-items: flex-start; }
.bullet-tag {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 6px;
  white-space: nowrap;
  flex-shrink: 0;
  letter-spacing: 0.02em;
}
.tag-green { background: rgba(52,211,153,0.12); color: var(--green); border: 1px solid rgba(52,211,153,0.2); }
.tag-blue { background: rgba(96,165,250,0.12); color: var(--blue); border: 1px solid rgba(96,165,250,0.2); }
.tag-orange { background: rgba(251,146,60,0.12); color: var(--orange); border: 1px solid rgba(251,146,60,0.2); }
.bullet-text { font-size: 14px; color: var(--white80); line-height: 1.7; }

/* ===== Cases ===== */
.case-block {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 48px;
  margin-bottom: 40px;
  transition: border-color 0.2s;
}
.case-block:hover { border-color: rgba(108,99,255,0.25); }
.case-meta {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.case-company {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent2);
  text-transform: uppercase;
}
.case-type {
  font-size: 12px;
  color: var(--white50);
  padding-left: 12px;
  border-left: 1px solid var(--border);
}
.case-title { font-size: 26px; font-weight: 700; margin-bottom: 32px; letter-spacing: -0.01em; }
.case-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 48px;
  align-items: start;
  margin-bottom: 40px;
}
.case-section-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--white50);
  text-transform: uppercase;
  margin-bottom: 12px;
  margin-top: 24px;
}
.case-section-title:first-child { margin-top: 0; }
.case-desc { font-size: 14px; color: var(--white50); line-height: 1.8; margin-bottom: 24px; }

/* Flow */
.flow-steps {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  flex-wrap: wrap;
}
.flow-step {
  flex: 1;
  min-width: 120px;
  background: rgba(108,99,255,0.08);
  border: 1px solid rgba(108,99,255,0.2);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
}
.flow-num {
  width: 24px;
  height: 24px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 8px;
}
.flow-text { font-size: 13px; color: var(--white80); line-height: 1.6; }
.flow-arrow { color: var(--white20); font-size: 18px; padding-top: 20px; flex-shrink: 0; }

/* Rubric */
.rubric-box {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px;
}
.rubric-title { font-size: 13px; font-weight: 600; margin-bottom: 14px; color: var(--white80); }
.rubric-dims { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.rubric-dim {
  background: rgba(108,99,255,0.1);
  border: 1px solid rgba(108,99,255,0.2);
  border-radius: 8px;
  padding: 8px 14px;
  text-align: center;
}
.dim-label { font-size: 13px; font-weight: 600; color: var(--white); margin-bottom: 2px; }
.dim-rule { font-size: 11px; color: var(--accent2); }
.rubric-sep { color: var(--white50); font-weight: 700; font-size: 16px; }
.rubric-result { font-size: 13px; color: var(--white50); line-height: 1.6; }

/* Phone */
.case-phone-wrap { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.phone-frame {
  width: 260px;
  background: #1a1a1a;
  border-radius: 36px;
  padding: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6), inset 0 0 0 1px rgba(255,255,255,0.1);
}
.phone-screen {
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  height: 420px;
}
.phone-screen-img {
  height: auto;
  max-height: 560px;
}
.phone-screenshot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}
.map-demo {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #e8f0d8;
  position: relative;
  overflow: hidden;
}
.map-bg {
  flex: 1;
  position: relative;
  padding: 12px;
}
.map-label {
  font-size: 11px;
  color: #555;
  font-weight: 500;
  background: rgba(255,255,255,0.8);
  display: inline-block;
  padding: 3px 8px;
  border-radius: 6px;
  font-family: -apple-system, sans-serif;
}
.poi-bubble {
  position: absolute;
  background: white;
  border-radius: 12px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.12);
  max-width: 160px;
}
.poi-1 { top: 50px; left: 20px; }
.poi-2 { top: 130px; right: 10px; }
.poi-3 { top: 200px; left: 30px; }
.poi-4 { top: 280px; left: 10px; }
.poi-icon { font-size: 20px; flex-shrink: 0; }
.poi-name { font-size: 11px; font-weight: 600; color: #222; font-family: -apple-system, sans-serif; line-height: 1.3; }
.poi-reason { font-size: 10px; color: #666; font-family: -apple-system, sans-serif; line-height: 1.4; margin-top: 1px; }
.ai-reason { color: #ff2442; font-weight: 500; }
.map-bottom {
  background: white;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: #222;
  padding: 12px;
  font-family: -apple-system, sans-serif;
  border-top: 1px solid #eee;
}
.phone-caption { font-size: 12px; color: var(--white50); text-align: center; }

/* Results */
.case-results {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  border-top: 1px solid var(--border);
  padding-top: 32px;
}
.result-card {
  flex: 1;
  min-width: 120px;
  background: rgba(108,99,255,0.08);
  border: 1px solid rgba(108,99,255,0.15);
  border-radius: var(--radius-sm);
  padding: 20px 16px;
  text-align: center;
}
.result-num { font-size: 24px; font-weight: 700; color: var(--accent2); margin-bottom: 4px; }
.result-label { font-size: 12px; color: var(--white50); }

/* Case 2 grid */
.case-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.case-module {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color 0.2s, transform 0.2s;
}
.case-module:hover {
  border-color: rgba(108,99,255,0.3);
  transform: translateY(-2px);
}
.module-icon { font-size: 28px; margin-bottom: 12px; }
.module-title { font-size: 16px; font-weight: 700; margin-bottom: 10px; }
.module-desc { font-size: 13px; color: var(--white50); line-height: 1.7; margin-bottom: 16px; }
.module-result {
  font-size: 12px;
  font-weight: 700;
  color: var(--green);
  background: rgba(52,211,153,0.1);
  padding: 5px 12px;
  border-radius: 6px;
  display: inline-block;
}

/* ===== Skills ===== */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.skill-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: border-color 0.2s, transform 0.2s;
}
.skill-card:hover {
  border-color: rgba(108,99,255,0.35);
  transform: translateY(-3px);
}
.skill-icon { font-size: 28px; margin-bottom: 14px; }
.skill-name { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.skill-desc { font-size: 13px; color: var(--white50); line-height: 1.7; }

/* ===== Contact ===== */
.contact-wrap { max-width: 640px; }
.contact-intro { font-size: 17px; color: var(--white80); margin-bottom: 32px; }
.contact-cards { display: flex; gap: 20px; flex-wrap: wrap; }
.contact-card {
  flex: 1;
  min-width: 160px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color 0.2s, transform 0.2s;
  cursor: pointer;
}
.contact-card:hover {
  border-color: rgba(108,99,255,0.35);
  transform: translateY(-3px);
}
.contact-icon { font-size: 24px; margin-bottom: 10px; }
.contact-label { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; color: var(--white50); text-transform: uppercase; margin-bottom: 4px; }
.contact-value { font-size: 14px; color: var(--white80); }

/* ===== Footer ===== */
.footer {
  background: var(--black);
  border-top: 1px solid var(--border);
  padding: 24px 32px;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--white50);
  flex-wrap: wrap;
  gap: 8px;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .case-grid { grid-template-columns: 1fr; }
  .case-grid-2 { grid-template-columns: 1fr; }
  .skills-grid { grid-template-columns: repeat(2, 1fr); }
  .case-block { padding: 28px 24px; }
  .timeline { padding-left: 24px; }
}
@media (max-width: 600px) {
  .nav-links { display: none; }
  .skills-grid { grid-template-columns: 1fr; }
  .contact-cards { flex-direction: column; }
  .result-card { min-width: 90px; }
  .case-results { gap: 10px; }
  .flow-steps { flex-direction: column; }
  .flow-arrow { display: none; }
}
