/* ===== Reset ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --primary: #6C5CE7;
  --primary-light: #A29BFE;
  --secondary: #00CEC9;
  --accent: #FD79A8;
  --bg: #FFFFFF;
  --bg-soft: #F8F7FF;
  --bg-alt: #F4F2FE;
  --text: #1A1A2E;
  --text-sub: #374151;
  --text-muted: #6B7280;
  --border: #E8E5F5;
  --border-light: #F0EEF9;
  --gradient-primary: linear-gradient(135deg, #6C5CE7, #A29BFE);
  --radius: 16px;
  --dark: #0F0E17;
  --text-dark-muted: #9B99B3;
}
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Noto Sans SC', system-ui, -apple-system, sans-serif;
  background: var(--bg); color: var(--text);
  line-height: 1.7; overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ===== Utilities ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.reveal {
  opacity: 0; transform: translateY(22px);
  transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1);
}
.reveal.visible { opacity: 1; transform: none; }
.rd1 { transition-delay: 0.08s; }
.rd2 { transition-delay: 0.16s; }
.rd3 { transition-delay: 0.24s; }
.rd4 { transition-delay: 0.32s; }

/* ===== Navbar ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100; height: 72px;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  display: flex; align-items: center; justify-content: center; gap: 300px; padding: 0 200px 0 48px;
  transition: box-shadow 0.3s, border-color 0.3s;
}
.navbar.scrolled { box-shadow: 0 4px 24px rgba(108,92,231,0.06); border-bottom-color: transparent; }
.nav-logo { display: flex; align-items: center; gap: 10px; font-size: 1.12rem; font-weight: 700; color: var(--text); flex-shrink: 0; }
.nav-logo svg { width: 36px; height: 36px; flex-shrink: 0; }
.nav-logo-img {
  display: inline-block; width: 32px; height: 32px; flex-shrink: 0;
  background: url('../img/logostar.png') center/contain no-repeat;
  -webkit-user-drag: none; user-select: none; pointer-events: none;
}
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a {
  font-size: 0.88rem; color: var(--text-muted); font-weight: 500;
  transition: color 0.2s; position: relative; padding-bottom: 2px;
}
.nav-links a:hover { color: var(--primary); }
.nav-links a.active { color: var(--text-muted); }
.nav-links a.active:hover { color: var(--primary); }

.btn-nav {
  display: inline-flex; align-items: center;
  background: var(--gradient-primary); color: #fff;
  padding: 12px 30px; border-radius: 50px;
  font-size: 0.9rem; font-weight: 600;
  border: none; cursor: pointer; font-family: inherit;
  box-shadow: 0 4px 18px rgba(108,92,231,0.28);
  transition: all 0.3s ease;
}
.btn-nav:hover { transform: translateY(-1px); box-shadow: 0 6px 28px rgba(108,92,231,0.42); }
.menu-toggle { display: none; background: none; border: none; color: var(--text); cursor: pointer; padding: 4px; }

/* ===== Hero Banner ===== */
.hero-banner { margin-top: 72px; width: 100%; line-height: 0; overflow: hidden; }
.hero-banner img { width: 100%; height: 300px; object-fit: cover; display: block; }

/* ===== 1. Opening ===== */
.opening {
  padding: 100px 0 80px;
  background: #fff;
  text-align: center;
}
.opening-eyebrow {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 3px;
  text-transform: uppercase; color: var(--primary);
  margin-bottom: 28px; display: block;
}
.opening-headline {
  font-size: clamp(1.5rem, 2.8vw, 2.2rem); font-weight: 900;
  line-height: 1.25; color: var(--text);
  max-width: 760px; margin: 0 auto 28px;
}
.opening-body {
  font-size: 1.05rem; color: var(--text-muted);
  max-width: 620px; margin: 0 auto;
  line-height: 1.95;
}
.numbers-row {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
  max-width: 860px; margin: 0 auto;
}
.number-cell {
  padding: 40px 32px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
  transition: background 0.3s;
}
.number-cell:hover { background: var(--bg-soft); }
.number-big {
  font-size: clamp(2.6rem, 5vw, 4rem);
  font-weight: 900; line-height: 1;
  margin-bottom: 8px;
}
.number-label { font-size: 0.85rem; color: var(--text-muted); }

/* ===== 2. Story ===== */
.story {
  padding: 0 0 100px;
  background: #fff;
}
.story-split {
  display: grid;
  grid-template-columns: 5fr 7fr;
  min-height: 480px;
}
.story-left {
  background: linear-gradient(145deg, #6C5CE7, #A29BFE);
  padding: 72px 56px;
  display: flex; flex-direction: column; justify-content: space-between;
  position: relative; overflow: hidden;
}
.story-left::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.07) 1px, transparent 1px);
  background-size: 24px 24px;
}
.story-quote {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 700; color: #fff;
  line-height: 1.45; position: relative; z-index: 1;
}
.story-quote::before {
  content: '"';
  display: block; font-size: 5rem; line-height: 0.7;
  color: rgba(255,255,255,0.2); margin-bottom: 16px;
  font-family: Georgia, serif;
}
.story-attr {
  font-size: 0.8rem; color: rgba(255,255,255,0.65);
  margin-top: 32px; position: relative; z-index: 1;
}
.story-big-num {
  font-size: 8rem; font-weight: 900; line-height: 1;
  color: rgba(255,255,255,0.08);
  position: absolute; bottom: -20px; right: 20px;
  pointer-events: none; user-select: none;
}
.story-right {
  padding: 72px 64px;
  background: var(--bg-soft);
  display: flex; flex-direction: column; justify-content: center;
}
.story-tag {
  display: inline-block; font-size: 0.68rem; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--primary); margin-bottom: 20px;
}
.story-right h2 {
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 700; line-height: 1.3;
  color: var(--text); margin-bottom: 24px;
}
.story-right p {
  font-size: 0.95rem; color: var(--text-muted);
  line-height: 1.95; margin-bottom: 16px;
}
.story-right p:last-child { margin-bottom: 0; }

/* ===== 3. Manifesto ===== */
.manifesto { background: #fff; padding: 100px 0; }
.manifesto-header {
  display: flex; align-items: flex-end;
  justify-content: space-between;
  padding-bottom: 48px;
  border-bottom: 2px solid var(--text);
  margin-bottom: 0;
}
.manifesto-header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 900; line-height: 1.2; color: var(--text);
}
.manifesto-header p {
  font-size: 0.9rem; color: var(--text-muted);
  max-width: 260px; line-height: 1.7; text-align: right;
}
.manifesto-list { list-style: none; }
.manifesto-item {
  display: grid;
  grid-template-columns: 80px 1fr 1fr;
  gap: 32px; align-items: center;
  padding: 36px 0;
  border-bottom: 1px solid var(--border);
  transition: background 0.25s;
  cursor: default;
}
.manifesto-item:hover { background: var(--bg-soft); margin: 0 -40px; padding-left: 40px; padding-right: 40px; }
.m-num {
  font-size: 2.5rem; font-weight: 900;
  color: var(--border); line-height: 1;
  transition: color 0.25s;
}
.manifesto-item:hover .m-num { color: var(--primary); }
.m-title {
  font-size: 1.2rem; font-weight: 700; color: var(--text);
}
.m-desc { font-size: 0.88rem; color: var(--text-muted); line-height: 1.8; }

/* ===== 4. Mission & Vision ===== */
.mv-sec { background: var(--bg-alt); padding: 100px 0; }
.mv-intro {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 48px; align-items: end;
  margin-bottom: 64px;
}
.mv-intro h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 900; color: var(--text); line-height: 1.2;
}
.mv-intro p { font-size: 0.95rem; color: var(--text-muted); line-height: 1.85; }

/* SVG spotlight dashed border */
.mv-wrap {
  position: relative;
  border-radius: calc(var(--radius) + 2px);
  margin-bottom: 16px;
  cursor: default;
}
.mv-svg-border {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 10;
  overflow: visible;
}
.mv-rect-glow {
  transition: opacity 0.35s ease;
}
.mv-strip {
  display: grid; grid-template-columns: 260px 1fr;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden; margin-bottom: 0;
  position: relative;
  cursor: default;
}
.mv-strip-label {
  padding: 52px 40px;
  display: flex; flex-direction: column; justify-content: space-between;
  border-right: 2px dashed var(--border);
}
.mv-strip-tag {
  font-size: 0.68rem; font-weight: 600; letter-spacing: 2.5px;
  text-transform: uppercase; margin-bottom: 16px; display: block;
}
.tag-m { color: var(--primary); }
.tag-v { color: #009F9B; }
.mv-strip-icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-top: auto;
}
.icon-m { background: rgba(108,92,231,0.1); color: var(--primary); }
.icon-v { background: rgba(0,206,201,0.1); color: #009F9B; }
.mv-strip-icon svg { width: 22px; height: 22px; }
.mv-strip-body {
  padding: 52px 56px;
  display: flex; flex-direction: column; justify-content: center;
}
.mv-strip-body h3 {
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  font-weight: 700; color: var(--text);
  line-height: 1.3; margin-bottom: 20px;
}
.mv-strip-body p {
  font-size: 0.93rem; color: var(--text-muted);
  line-height: 1.95; max-width: 600px;
}

/* ===== 5. Join ===== */
.join-split {
  display: grid; grid-template-columns: 1fr 1fr;
  min-height: 500px;
}
.join-left {
  background: linear-gradient(145deg, #1A1046, #2D1B69);
  padding: 80px 64px;
  display: flex; flex-direction: column; justify-content: space-between;
  position: relative; overflow: hidden;
}
.join-left::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(108,92,231,0.15) 1px, transparent 1px);
  background-size: 28px 28px;
}
.join-eyebrow {
  font-size: 0.7rem; font-weight: 600; letter-spacing: 3px;
  text-transform: uppercase; color: var(--primary-light);
  margin-bottom: 24px; position: relative; z-index: 1;
}
.join-left h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 900; color: #fff; line-height: 1.2;
  position: relative; z-index: 1;
}
.join-left h2 span { color: var(--primary-light); }
.join-left p {
  font-size: 0.95rem; color: rgba(255,255,255,0.6);
  line-height: 1.85; max-width: 380px;
  position: relative; z-index: 1; margin-top: 20px;
}
.join-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; color: var(--primary);
  padding: 13px 28px; border-radius: 50px;
  font-size: 0.92rem; font-weight: 700;
  margin-top: 40px; position: relative; z-index: 1;
  align-self: flex-start;
  transition: all 0.3s; box-shadow: 0 4px 20px rgba(0,0,0,0.25);
}
.join-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,0,0,0.35); }
.join-btn svg { width: 16px; height: 16px; }
.join-right {
  background: var(--bg-soft);
  padding: 80px 64px;
  display: flex; flex-direction: column; justify-content: center;
}
.join-right h3 {
  font-size: 1.1rem; font-weight: 700; color: var(--text);
  margin-bottom: 32px; padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.position-list { list-style: none; }
.position-item {
  border-bottom: 1px solid var(--border);
  padding: 0;
}
.position-item:last-child { border-bottom: none; }
.pos-name { font-size: 0.95rem; font-weight: 600; color: var(--text); }
.pos-dept { font-size: 0.78rem; color: var(--text-muted); margin-top: 2px; }
.pos-tag {
  font-size: 0.7rem; padding: 4px 12px; border-radius: 50px;
  background: rgba(108,92,231,0.08); color: var(--primary);
  border: 1px solid rgba(108,92,231,0.14);
  white-space: nowrap; flex-shrink: 0;
}

/* ===== Job Accordion ===== */
.pos-header {
  display: flex; align-items: center; justify-content: space-between;
  cursor: pointer; padding: 20px 0; width: 100%;
}
.pos-arrow {
  width: 18px; height: 18px; color: var(--text-muted);
  transition: transform 0.3s ease, color 0.2s;
  flex-shrink: 0;
}
.position-item.open .pos-name { color: var(--primary); }
.position-item.open .pos-arrow { transform: rotate(180deg); color: var(--primary); }
.pos-content {
  max-height: 0; overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.16,1,0.3,1);
}
.pos-content-inner { padding: 0 0 24px; }
.job-section { margin-bottom: 20px; }
.job-section:last-child { margin-bottom: 0; }
.job-section-title {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--primary);
  margin-bottom: 10px; padding-bottom: 6px;
  border-bottom: 1px solid var(--border-light);
}
.job-section ul { list-style: none; }
.job-section ul li {
  font-size: 0.88rem; color: var(--text-sub); line-height: 1.75;
  padding-left: 14px; position: relative; margin-bottom: 4px;
}
.job-section ul li::before {
  content: ''; position: absolute; left: 0; top: 9px;
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--primary-light);
}
.job-apply-btn {
  display: inline-flex; align-items: center; justify-content: center;
  margin-top: 16px; padding: 11px 28px;
  background: var(--gradient-primary); color: #fff;
  border-radius: 50px; font-size: 0.88rem; font-weight: 700;
  transition: opacity 0.2s, transform 0.2s;
  box-shadow: 0 4px 16px rgba(108,92,231,0.28);
}
.job-apply-btn:hover { opacity: 0.9; transform: translateY(-1px); }

/* ===== 6. 联系方式 ===== */
.contact-sec { background: #fff; padding: 100px 0; }
.contact-header {
  text-align: center; margin-bottom: 60px;
}
.contact-eyebrow {
  display: inline-block; font-size: 0.72rem; font-weight: 600;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--primary); margin-bottom: 16px;
}
.contact-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 900; color: var(--text); line-height: 1.2;
  margin-bottom: 16px;
}
.contact-header p {
  font-size: 0.95rem; color: var(--text-muted);
  max-width: 520px; margin: 0 auto; line-height: 1.85;
}
.contact-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.contact-card {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: box-shadow 0.3s, border-color 0.3s, transform 0.3s;
  cursor: default;
}
.contact-card:hover {
  box-shadow: 0 8px 32px rgba(108,92,231,0.1);
  border-color: rgba(108,92,231,0.25);
  transform: translateY(-3px);
}
.contact-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(108,92,231,0.1);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; color: var(--primary);
}
.contact-icon svg { width: 20px; height: 20px; }
.contact-label {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--primary);
  margin-bottom: 8px;
}
.contact-value {
  font-size: 1rem; font-weight: 700; color: var(--text);
  margin-bottom: 6px; line-height: 1.4;
}
.contact-sub {
  font-size: 0.82rem; color: var(--text-muted); line-height: 1.6;
}

/* ===== Footer ===== */
.footer {
  background: #0A0918; padding: 64px 0 32px;
  border-top: 1px solid rgba(255,255,255,0.04);
  position: relative; overflow: hidden;
  color: #9B99B3;
  font-family: 'Noto Sans SC', system-ui, -apple-system, sans-serif;
}
.footer-deco { position: absolute; opacity: 0.15; pointer-events: none; color: #A29BFE; }
.footer-deco svg { width: 100%; height: 100%; }
.footer-deco-pencil { width: 120px; height: 120px; bottom: -15px; left: 20px; transform: rotate(15deg); }
.footer-deco-note   { width: 70px;  height: 70px;  top: -12px; left: 42%; }
.footer-deco-ruler  { width: 140px; height: 140px; top: 5px; right: 20px; }
.footer-deco-bulb   { width: 80px;  height: 80px;  bottom: 25px; right: 18%; }
.footer-deco-book   { width: 110px; height: 110px; top: 45%; left: 13%; transform: translateY(-50%); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand p { font-size: 0.85rem; color: #9B99B3; margin-top: 12px; line-height: 1.7; max-width: 280px; }
.footer h4 { font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 20px; color: #E4E3F1; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { font-size: 0.85rem; color: #9B99B3; transition: color 0.2s; }
.footer-links a:hover { color: #A29BFE; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.04);
  font-size: 0.8rem; color: #9B99B3;
}
.footer-logo { display: flex; align-items: center; gap: 10px; font-size: 1.15rem; font-weight: 700; color: #E4E3F1; margin-bottom: 4px; }
.footer-logo svg { width: 32px; height: 32px; }
.footer-gradient-text {
  background: linear-gradient(135deg,#6C5CE7,#A29BFE);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .numbers-row { grid-template-columns: repeat(3,1fr); }
  .manifesto-item { grid-template-columns: 60px 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .navbar { padding: 0 24px; }
  .story-split { grid-template-columns: 1fr; }
  .story-left { min-height: 280px; }
  .mv-intro { grid-template-columns: 1fr; gap: 16px; }
  .mv-wrap { border-radius: calc(var(--radius) + 2px); }
  .mv-strip { grid-template-columns: 1fr; }
  .mv-strip-label { border-right: none; border-bottom: 2px dashed var(--border); padding: 32px 32px 24px; }
  .mv-strip-body { padding: 32px; }
  .join-split { grid-template-columns: 1fr; }
  .join-left { min-height: 360px; }
}
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .menu-toggle { display: block; }
  .navbar { padding: 0 20px; justify-content: space-between; gap: 0; }
  .container { padding: 0 20px; }
  .numbers-row { grid-template-columns: 1fr; }
  .manifesto-header { flex-direction: column; align-items: flex-start; gap: 16px; }
  .manifesto-header p { text-align: left; max-width: 100%; }
  .manifesto-item { grid-template-columns: 50px 1fr; padding: 24px 0; }
  .manifesto-item:hover { margin: 0; padding-left: 0; padding-right: 0; }
  .m-title { margin-bottom: 6px; }
  .m-desc { grid-column: 2; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
  .join-left, .join-right { padding: 56px 32px; }
}
@media (max-width: 600px) {
  .contact-grid { grid-template-columns: 1fr; }
}
/* ===== Mobile Drawer ===== */
body.drawer-open > *:not(.mobile-drawer) {
  -webkit-filter: blur(4px);
  filter: blur(4px);
  transition: filter 0.3s ease;
}
body > *:not(.mobile-drawer) {
  transition: filter 0.3s ease;
}

.mobile-drawer-overlay {
  position: fixed; inset: 0; z-index: 999;
  background: rgba(255, 255, 255, 0.3);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.mobile-drawer-overlay.open { opacity: 1; visibility: visible; }

.mobile-drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(300px, 75vw); z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  -webkit-backdrop-filter: blur(24px) saturate(1.2);
  backdrop-filter: blur(24px) saturate(1.2);
  border-left: 1px solid rgba(0, 0, 0, 0.06);
  padding: 24px 32px;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex; flex-direction: column;
  overflow-y: auto;
}
.mobile-drawer.open { transform: translateX(0); }

.mobile-drawer-close {
  align-self: flex-end;
  background: none; border: none;
  color: rgba(0, 0, 0, 0.4);
  cursor: pointer; padding: 4px;
  margin-bottom: 32px;
}
.mobile-drawer-close:hover { color: rgba(0, 0, 0, 0.8); }

.mobile-drawer-links {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 0;
}
.mobile-drawer-links a {
  display: block; padding: 18px 0;
  font-size: 1.1rem; font-weight: 600;
  color: rgba(0, 0, 0, 0.85);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: color 0.2s;
}
.mobile-drawer-links a:hover { color: var(--primary, #6C5CE7); }
.mobile-drawer-links a.active { color: rgba(0, 0, 0, 0.85) !important; }
.mobile-drawer-links a.active:hover { color: var(--primary, #6C5CE7) !important; }

.mobile-drawer-cta {
  margin-top: 40px;
  display: flex; flex-direction: column; gap: 10px;
}
.mobile-drawer-cta .btn {
  padding: 8px 16px;
  font-size: 0.8rem;
}

@media (prefers-reduced-motion: reduce) {
  .reveal { transition: opacity 0.3s; transform: none; }
  html { scroll-behavior: auto; }
}
