/* ============================================================
   众盛文化 — 让职称评审更有底气
   深蓝 × 鎏金 品牌官网样式
   基于扣子(Coze)原版还原，并扩展完整功能样式
   ============================================================ */

/* ========== CSS VARIABLES ========== */
:root {
  --bg-primary: #0a0e27;
  --bg-secondary: #0f1435;
  --bg-card: rgba(15, 20, 53, 0.6);
  --bg-card-hover: rgba(20, 26, 68, 0.75);
  --gold: #c9a96e;
  --gold-light: #e2c992;
  --gold-dark: #a8884d;
  --gold-gradient: linear-gradient(135deg, #c9a96e 0%, #e2c992 50%, #c9a96e 100%);
  --gold-gradient-h: linear-gradient(90deg, #c9a96e 0%, #e2c992 50%, #c9a96e 100%);
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.65);
  --text-muted: rgba(255, 255, 255, 0.38);
  --border-subtle: rgba(201, 169, 110, 0.12);
  --border-gold: rgba(201, 169, 110, 0.35);
  --danger: #e05d5d;
  --font-cn: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-en: Georgia, "Times New Roman", serif;
  --section-padding: clamp(80px, 10vw, 140px);
  --container-width: 1200px;
}

/* ========== RESET & BASE ========== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-cn);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; }

/* ========== UTILITY ========== */
.container { max-width: var(--container-width); margin: 0 auto; padding: 0 clamp(20px, 4vw, 48px); }
.section-label {
  font-family: var(--font-en);
  font-size: 0.75rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  display: block;
}
.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 300;
  letter-spacing: 3px;
  line-height: 1.4;
  margin-bottom: 20px;
}
.section-title strong { font-weight: 600; color: var(--gold); }
.section-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  font-weight: 300;
  max-width: 560px;
  line-height: 1.9;
}
.gold-divider {
  width: 60px;
  height: 1px;
  background: var(--gold-gradient-h);
  margin: 32px 0;
}

/* ========== SCROLL ANIMATIONS ========== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }
.reveal-delay-3 { transition-delay: 0.36s; }
.reveal-delay-4 { transition-delay: 0.48s; }
.reveal-delay-5 { transition-delay: 0.60s; }

/* ========== MOUSE GLOW ========== */
.mouse-glow {
  position: fixed;
  width: 340px; height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 169, 110, 0.07) 0%, transparent 70%);
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s;
  opacity: 0;
}
body:hover .mouse-glow { opacity: 1; }

/* ========== NAVIGATION ========== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 clamp(20px, 4vw, 48px);
  transition: all 0.4s ease;
}
.nav.scrolled {
  background: rgba(10, 14, 39, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
}
.nav-inner {
  max-width: var(--container-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.nav-logo {
  display: flex; align-items: center; gap: 12px;
}
.nav-logo-icon {
  width: 36px; height: 36px;
  border: 1.5px solid var(--gold);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.nav-logo-icon::after {
  content: '';
  width: 10px; height: 10px;
  background: var(--gold);
  border-radius: 2px;
  transform: rotate(45deg);
}
.nav-logo-text {
  font-size: 1.15rem;
  letter-spacing: 4px;
  font-weight: 400;
  color: var(--text-primary);
}
.nav-links { display: flex; gap: 36px; }
.nav-links a {
  font-size: 0.85rem;
  letter-spacing: 1px;
  color: var(--text-secondary);
  transition: color 0.3s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.3s;
}
.nav-links a:hover { color: var(--gold); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-cta {
  padding: 8px 24px;
  border: 1px solid var(--gold);
  border-radius: 2px;
  font-size: 0.82rem;
  letter-spacing: 2px;
  color: var(--gold);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s;
}
.nav-cta:hover { background: var(--gold); color: var(--bg-primary); }

/* Mobile menu toggle */
.nav-mobile-toggle {
  display: none;
  background: none; border: none; cursor: pointer; padding: 8px;
  z-index: 1102;
}
.nav-mobile-toggle span {
  display: block; width: 22px; height: 1.5px; background: var(--text-primary);
  margin: 5px 0; transition: all 0.3s;
}
.nav-mobile-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-mobile-toggle.open span:nth-child(2) { opacity: 0; }
.nav-mobile-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile drawer */
.nav-drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(78vw, 320px);
  background: rgba(10, 14, 39, 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-left: 1px solid var(--border-subtle);
  z-index: 1101;
  padding: 96px 36px 40px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.nav-drawer.open { transform: translateX(0); }
.nav-drawer a {
  font-size: 1rem;
  letter-spacing: 2px;
  color: var(--text-secondary);
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: color 0.3s;
}
.nav-drawer a:hover { color: var(--gold); }
.nav-drawer .drawer-cta {
  margin-top: 24px;
  padding: 14px 0;
  text-align: center;
  border: 1px solid var(--gold);
  border-radius: 2px;
  color: var(--gold);
  letter-spacing: 3px;
  transition: all 0.3s;
}
.nav-drawer .drawer-cta:hover { background: var(--gold); color: var(--bg-primary); }
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 8, 25, 0.6);
  z-index: 1100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
}
.nav-overlay.open { opacity: 1; pointer-events: auto; }
body.menu-locked { overflow: hidden; }

/* ========== HERO ========== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
#hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 40%, rgba(201, 169, 110, 0.04) 0%, transparent 60%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border: 1px solid var(--border-gold);
  border-radius: 100px;
  font-size: 0.78rem;
  letter-spacing: 3px;
  color: var(--gold);
  margin-bottom: 40px;
  backdrop-filter: blur(10px);
}
.hero-badge-dot {
  width: 5px; height: 5px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}
.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 200;
  letter-spacing: 6px;
  line-height: 1.5;
  margin-bottom: 28px;
}
.hero-title em {
  font-style: normal;
  font-weight: 500;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  color: var(--text-secondary);
  font-weight: 300;
  letter-spacing: 2px;
  margin-bottom: 52px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.9;
}
.hero-btn {
  display: inline-block;
  padding: 16px 48px;
  background: var(--gold-gradient);
  color: var(--bg-primary);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 3px;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.4s;
  position: relative;
  overflow: hidden;
}
.hero-btn::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(255, 255, 255, 0.2) 50%, transparent 100%);
  transform: translateX(-100%);
  transition: transform 0.6s;
}
.hero-btn:hover::before { transform: translateX(100%); }
.hero-btn:hover { box-shadow: 0 8px 40px rgba(201, 169, 110, 0.3); transform: translateY(-2px); }

.hero-scroll-hint {
  position: absolute;
  bottom: 40px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.7rem;
  letter-spacing: 3px;
}
.scroll-arrow {
  width: 20px; height: 32px;
  border: 1px solid var(--text-muted);
  border-radius: 10px;
  position: relative;
}
.scroll-arrow::after {
  content: '';
  position: absolute;
  top: 6px; left: 50%;
  transform: translateX(-50%);
  width: 3px; height: 6px;
  background: var(--gold);
  border-radius: 2px;
  animation: scroll-bounce 2s infinite;
}
@keyframes scroll-bounce {
  0% { top: 6px; opacity: 1; }
  100% { top: 18px; opacity: 0; }
}

/* ========== PHILOSOPHY ========== */
.philosophy { padding: var(--section-padding) 0; position: relative; }
.philosophy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
}
.philosophy-text .philosophy-quote {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 200;
  letter-spacing: 2px;
  line-height: 1.8;
  margin-bottom: 32px;
}
.philosophy-text .philosophy-quote strong {
  font-weight: 500;
  color: var(--gold);
}
.philosophy-text p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-weight: 300;
  line-height: 2;
  max-width: 480px;
}
.philosophy-visual {
  position: relative;
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.geo-ring {
  position: absolute;
  border: 1px solid var(--border-gold);
  border-radius: 50%;
  animation: geo-rotate 30s linear infinite;
}
.geo-ring:nth-child(1) { width: 300px; height: 300px; }
.geo-ring:nth-child(2) { width: 220px; height: 220px; animation-direction: reverse; animation-duration: 25s; }
.geo-ring:nth-child(3) { width: 140px; height: 140px; animation-duration: 20s; }
@keyframes geo-rotate { from { transform: rotate(0); } to { transform: rotate(360deg); } }
.geo-center {
  width: 60px; height: 60px;
  background: var(--gold-gradient);
  transform: rotate(45deg);
  border-radius: 4px;
  position: relative;
  z-index: 2;
  box-shadow: 0 0 60px rgba(201, 169, 110, 0.25);
}
.geo-line {
  position: absolute;
  background: var(--border-gold);
}
.geo-line-h { width: 100%; height: 1px; top: 50%; left: 0; }
.geo-line-v { width: 1px; height: 100%; top: 0; left: 50%; }

/* ========== SERVICES ========== */
.services { padding: var(--section-padding) 0; position: relative; }
.services-header { text-align: center; margin-bottom: clamp(48px, 6vw, 80px); }
.services-header .section-desc { margin: 0 auto; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: clamp(32px, 3vw, 44px) clamp(24px, 2.5vw, 36px);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 8px;
  border: 1px solid transparent;
  transition: border-color 0.5s;
}
.service-card:hover {
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}
.service-card:hover::before {
  border-color: var(--border-gold);
}
.service-icon {
  width: 52px; height: 52px;
  border: 1px solid var(--border-gold);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  position: relative;
  transition: all 0.4s;
}
.service-card:hover .service-icon {
  border-color: var(--gold);
  box-shadow: 0 0 20px rgba(201, 169, 110, 0.15);
}
.service-card h3 {
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: 2px;
  margin-bottom: 14px;
}
.service-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  font-weight: 300;
  line-height: 1.9;
}
.service-card .card-line {
  width: 32px;
  height: 1px;
  background: var(--gold-gradient-h);
  margin-top: 24px;
  transition: width 0.4s;
}
.service-card:hover .card-line { width: 56px; }

/* ========== PROCESS ========== */
.process { padding: var(--section-padding) 0; position: relative; }
.process-header { text-align: center; margin-bottom: clamp(60px, 8vw, 100px); }
.process-header .section-desc { margin: 0 auto; }
.process-timeline {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 900px;
  margin: 0 auto;
}
.process-line {
  position: absolute;
  top: 22px;
  left: 60px;
  right: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-gold) 10%, var(--border-gold) 90%, transparent);
}
.process-line::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  height: 100%;
  width: 0;
  background: var(--gold-gradient-h);
  transition: width 1.5s ease;
}
.process-line.animate::after { width: 100%; }
.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 2;
  flex: 1;
}
.step-dot {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-gold);
  background: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  transition: all 0.5s;
  position: relative;
}
.step-dot::after {
  content: '';
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.6;
  transition: all 0.5s;
}
.process-step:hover .step-dot {
  border-color: var(--gold);
  box-shadow: 0 0 30px rgba(201, 169, 110, 0.2);
}
.process-step:hover .step-dot::after { opacity: 1; box-shadow: 0 0 12px rgba(201, 169, 110, 0.5); }
.step-num {
  font-family: var(--font-en);
  font-size: 0.72rem;
  letter-spacing: 2px;
  color: var(--gold);
  margin-bottom: 10px;
}
.process-step h4 {
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 2px;
  margin-bottom: 10px;
}
.process-step p {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 300;
  max-width: 130px;
  line-height: 1.7;
}

/* ========== STATS ========== */
.stats {
  padding: clamp(60px, 8vw, 100px) 0;
  position: relative;
}
.stats-inner {
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: clamp(48px, 6vw, 72px) 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}
.stat-item { position: relative; }
.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -20px;
  top: 10%;
  height: 80%;
  width: 1px;
  background: var(--border-subtle);
}
.stat-number {
  font-family: var(--font-en);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 400;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
  margin-bottom: 8px;
}
.stat-suffix {
  font-family: var(--font-en);
  font-size: 0.5em;
  -webkit-text-fill-color: var(--gold);
}
.stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  letter-spacing: 2px;
  font-weight: 300;
}

/* ========== WHY US ========== */
.why-us {
  padding: var(--section-padding) 0;
  position: relative;
}
.why-us-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.why-us-visual {
  position: relative;
  height: 500px;
  border-radius: 8px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--bg-secondary), rgba(201, 169, 110, 0.05));
  border: 1px solid var(--border-subtle);
}
.why-us-visual-inner {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
}
.why-us-deco {
  width: 200px; height: 200px;
  border: 1px solid var(--border-gold);
  border-radius: 50%;
  position: relative;
  animation: geo-rotate 40s linear infinite;
}
.why-us-deco::before {
  content: '';
  position: absolute;
  inset: 30px;
  border: 1px solid var(--border-gold);
  border-radius: 50%;
}
.why-us-deco::after {
  content: '';
  position: absolute;
  inset: 60px;
  border: 1px solid var(--border-gold);
  border-radius: 50%;
}
.why-us-float-text {
  position: absolute;
  font-family: var(--font-en);
  font-size: 6rem;
  font-weight: 700;
  color: rgba(201, 169, 110, 0.04);
  letter-spacing: 8px;
  white-space: nowrap;
  bottom: 40px; left: 50%;
  transform: translateX(-50%);
}
.why-us-content .why-item {
  display: flex;
  gap: 20px;
  margin-bottom: 36px;
  align-items: flex-start;
}
.why-item-num {
  font-family: var(--font-en);
  font-size: 1.6rem;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  min-width: 36px;
  padding-top: 2px;
}
.why-item h4 {
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.why-item p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  font-weight: 300;
  line-height: 1.8;
}

/* ========== CONTACT ========== */
.contact {
  padding: var(--section-padding) 0;
  position: relative;
}
.contact-inner {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}
.contact-inner .section-desc { margin: 0 auto 40px; }
.contact-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin-bottom: 48px;
}
.contact-info { margin-bottom: 40px; }
.contact-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 18px;
  font-size: 0.92rem;
  color: var(--text-secondary);
  font-weight: 300;
}
.contact-row a { transition: color 0.3s; }
.contact-row a:hover { color: var(--gold); }
.contact-icon {
  width: 32px; height: 32px;
  border: 1px solid var(--border-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-icon svg { width: 14px; height: 14px; }
.contact-qr {
  width: 160px; height: 160px;
  margin: 0 auto;
  border: 1px solid var(--border-gold);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: var(--bg-card);
  backdrop-filter: blur(8px);
  overflow: hidden;
}
.contact-qr-text {
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-align: center;
  line-height: 1.8;
}
.contact-qr img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.contact-qr-corner {
  position: absolute;
  width: 16px; height: 16px;
  border-color: var(--gold);
  border-style: solid;
  z-index: 2;
}
.contact-qr-corner:nth-child(1) { top: -1px; left: -1px; border-width: 1px 0 0 1px; border-radius: 8px 0 0 0; }
.contact-qr-corner:nth-child(2) { top: -1px; right: -1px; border-width: 1px 1px 0 0; border-radius: 0 8px 0 0; }
.contact-qr-corner:nth-child(3) { bottom: -1px; left: -1px; border-width: 0 0 1px 1px; border-radius: 0 0 0 8px; }
.contact-qr-corner:nth-child(4) { bottom: -1px; right: -1px; border-width: 0 1px 1px 0; border-radius: 0 0 8px 0; }

/* ========== FOOTER ========== */
.footer {
  padding: 40px 0;
  border-top: 1px solid var(--border-subtle);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-copy {
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 1px;
  font-weight: 300;
}
.footer-links { display: flex; gap: 24px; }
.footer-links a {
  font-size: 0.78rem;
  color: var(--text-muted);
  transition: color 0.3s;
}
.footer-links a:hover { color: var(--gold); }
.footer-icp {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
  text-align: center;
}
.footer-icp a {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  transition: color 0.3s;
}
.footer-icp a:hover { color: var(--gold); }

/* ========== APPOINTMENT MODAL ========== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 8, 25, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.modal-overlay.open { opacity: 1; pointer-events: auto; }
.modal {
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  background: linear-gradient(160deg, #10163a 0%, #0a0e27 100%);
  border: 1px solid var(--border-gold);
  border-radius: 12px;
  padding: clamp(28px, 5vw, 44px);
  position: relative;
  transform: translateY(24px) scale(0.98);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.modal-overlay.open .modal { transform: translateY(0) scale(1); }
.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 34px; height: 34px;
  background: none;
  border: 1px solid var(--border-subtle);
  border-radius: 50%;
  color: var(--text-muted);
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.modal-close:hover { color: var(--gold); border-color: var(--gold); transform: rotate(90deg); }
.modal-label {
  font-family: var(--font-en);
  font-size: 0.7rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
  display: block;
}
.modal-title {
  font-size: 1.5rem;
  font-weight: 300;
  letter-spacing: 2px;
  margin-bottom: 8px;
}
.modal-title strong { color: var(--gold); font-weight: 500; }
.modal-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 300;
  margin-bottom: 28px;
}
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 0.78rem;
  color: var(--text-secondary);
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.form-group label .req { color: var(--gold); margin-left: 2px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  padding: 12px 14px;
  font-size: 0.9rem;
  font-family: inherit;
  color: var(--text-primary);
  transition: all 0.3s;
  outline: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255, 255, 255, 0.28); }
.form-group select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23c9a96e' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  cursor: pointer;
}
.form-group select option {
  background: var(--bg-secondary);
  color: var(--text-primary);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.1);
}
.form-group textarea { resize: vertical; min-height: 88px; }
.form-error {
  font-size: 0.72rem;
  color: var(--danger);
  margin-top: 6px;
  display: none;
}
.form-group.invalid input,
.form-group.invalid select,
.form-group.invalid textarea { border-color: var(--danger); }
.form-group.invalid .form-error { display: block; }
.form-submit {
  width: 100%;
  padding: 15px 0;
  margin-top: 8px;
  background: var(--gold-gradient);
  color: var(--bg-primary);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 4px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.4s;
  position: relative;
  overflow: hidden;
}
.form-submit::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(255, 255, 255, 0.25) 50%, transparent 100%);
  transform: translateX(-100%);
  transition: transform 0.6s;
}
.form-submit:hover::before { transform: translateX(100%); }
.form-submit:hover { box-shadow: 0 8px 30px rgba(201, 169, 110, 0.35); transform: translateY(-1px); }
.form-note {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 16px;
  font-weight: 300;
}

/* Form success state */
.modal-success {
  text-align: center;
  padding: 20px 0 8px;
}
.success-icon {
  width: 64px; height: 64px;
  margin: 0 auto 24px;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: success-pop 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.success-icon svg { width: 28px; height: 28px; }
@keyframes success-pop {
  0% { transform: scale(0.5); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
.modal-success h3 {
  font-size: 1.35rem;
  font-weight: 400;
  letter-spacing: 3px;
  margin-bottom: 12px;
}
.modal-success h3 strong { color: var(--gold); font-weight: 500; }
.modal-success p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  font-weight: 300;
  line-height: 2;
  margin-bottom: 24px;
}
.private-guide {
  background: rgba(201, 169, 110, 0.06);
  border: 1px dashed var(--border-gold);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 24px;
}
.private-guide .guide-title {
  font-size: 0.8rem;
  color: var(--gold);
  letter-spacing: 2px;
  margin-bottom: 12px;
}
.private-guide .guide-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
  font-weight: 300;
}
.private-guide .guide-row svg { width: 14px; height: 14px; flex-shrink: 0; }
.private-guide .guide-row a { color: var(--gold); }
.private-guide .guide-row a:hover { text-decoration: underline; }
.private-guide .copy-btn {
  background: var(--gold);
  color: #0a1628;
  border: none;
  border-radius: 4px;
  padding: 3px 14px;
  font-size: 0.76rem;
  cursor: pointer;
  transition: opacity .2s;
}
.private-guide .copy-btn:hover { opacity: .85; }
.private-guide .copy-btn.copied { background: #3b6d11; color: #fff; }
.modal-success .form-submit { max-width: 280px; margin: 0 auto; display: block; }
.btn-ghost {
  display: inline-block;
  margin-top: 14px;
  padding: 10px 28px;
  border: 1px solid var(--border-gold);
  border-radius: 4px;
  color: var(--text-secondary);
  font-size: 0.8rem;
  letter-spacing: 2px;
  cursor: pointer;
  background: none;
  transition: all 0.3s;
}
.btn-ghost:hover { color: var(--gold); border-color: var(--gold); }
body.modal-locked { overflow: hidden; }

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 20px; }
  .stat-item:nth-child(2)::after { display: none; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-mobile-toggle { display: block; }
  .philosophy-grid { grid-template-columns: 1fr; }
  .philosophy-visual { height: 280px; }
  .services-grid { grid-template-columns: 1fr; }
  .process-timeline { flex-direction: column; gap: 36px; align-items: flex-start; padding-left: 40px; }
  .process-line { top: 0; bottom: 0; left: 21px; right: auto; width: 1px; height: auto;
    background: linear-gradient(180deg, transparent, var(--border-gold) 10%, var(--border-gold) 90%, transparent);
  }
  .process-line::after { width: 100% !important; height: 0; transition: height 1.5s ease; }
  .process-line.animate::after { height: 100%; }
  .process-step { flex-direction: row; text-align: left; gap: 20px; }
  .step-dot { margin-bottom: 0; flex-shrink: 0; }
  .why-us-grid { grid-template-columns: 1fr; }
  .why-us-visual { height: 260px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item::after { display: none !important; }
  .footer-inner { flex-direction: column; gap: 16px; text-align: center; }
}
@media (max-width: 480px) {
  .hero-title { letter-spacing: 3px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .modal { padding: 28px 22px; }
}

/* ========== REDUCED MOTION ========== */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ========== LATEST COMPETITIONS 最新教师比赛 ========== */
.comps { padding: 110px 0; background: var(--bg-dark); position: relative; }
.comps::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 40% at 50% 0%, rgba(201,169,110,.05), transparent);
  pointer-events: none;
}
.comps-list {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 24px;
}
.comp-item {
  display: flex; flex-direction: column; gap: 12px;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--border-gold);
  border-radius: 14px; padding: 22px 22px 18px;
  text-decoration: none; color: var(--text-main);
  transition: transform .3s ease, border-color .3s ease, background .3s ease, box-shadow .3s ease;
  position: relative; overflow: hidden;
}
.comp-item::after {
  content: ""; position: absolute; left: 0; top: 0; width: 3px; height: 0;
  background: linear-gradient(180deg, var(--gold), transparent);
  transition: height .35s ease;
}
.comp-item:hover {
  transform: translateY(-4px); border-color: rgba(201,169,110,.45);
  background: rgba(255,255,255,.05);
  box-shadow: 0 14px 34px rgba(0,0,0,.35);
}
.comp-item:hover::after { height: 100%; }
.comp-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.comp-region {
  font-size: 12px; letter-spacing: 1px; color: var(--gold);
  border: 1px solid var(--border-gold); border-radius: 99px; padding: 2px 10px;
}
.comp-type {
  font-size: 12px; color: rgba(255,255,255,.55);
  background: rgba(255,255,255,.06); border-radius: 99px; padding: 3px 10px;
}
.comp-dl { font-size: 12px; border-radius: 99px; padding: 3px 10px; margin-left: auto; }
.comp-dl.dl-open   { color: #8fd4a8; background: rgba(96,190,130,.14); }
.comp-dl.dl-soon   { color: #ecc26e; background: rgba(230,162,60,.16); }
.comp-dl.dl-closed { color: rgba(255,255,255,.4); background: rgba(255,255,255,.07); }
.comp-status { font-size: 12px; border-radius: 99px; padding: 3px 10px; }
.comp-status.st-ongoing   { color: #8fd4a8; background: rgba(96,190,130,.14); }
.comp-status.st-upcoming  { color: #7fb3e8; background: rgba(96,150,220,.14); }
.comp-status.st-result    { color: #ecc26e; background: rgba(230,162,60,.14); }
.comp-status.st-completed { color: rgba(255,255,255,.45); background: rgba(255,255,255,.07); }
.comp-title {
  font-size: 15.5px; font-weight: 500; line-height: 1.65; margin: 0;
  color: var(--text-main);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  transition: color .3s ease;
}
.comp-item:hover .comp-title { color: var(--gold); }
.comp-meta {
  display: flex; justify-content: space-between; gap: 10px;
  font-size: 12px; color: var(--text-sub); margin-top: auto; padding-top: 6px;
  border-top: 1px solid rgba(201,169,110,.12);
}
.comps-empty {
  grid-column: 1 / -1; text-align: center; padding: 46px 0;
  color: var(--text-sub); font-size: 14px;
  border: 1px dashed var(--border-gold); border-radius: 14px;
}
.comps-more { text-align: center; margin-top: 34px; }
.comps-more-btn {
  display: inline-block; padding: 12px 34px;
  border: 1px solid var(--border-gold); border-radius: 99px;
  color: var(--gold); font-size: 14px; letter-spacing: 2px; text-decoration: none;
  transition: background .3s ease, color .3s ease, box-shadow .3s ease;
}
.comps-more-btn:hover {
  background: var(--gold); color: #14161a; box-shadow: 0 8px 26px rgba(201,169,110,.28);
}
@media (max-width: 900px) { .comps-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .comps-list { grid-template-columns: 1fr; } }

/* ========== 悬浮咨询栏 ========== */
.float-bar { position: fixed; right: 18px; bottom: 18px; z-index: 9990; display: flex; flex-direction: column; gap: 10px; align-items: flex-end; }
.float-btn {
  display: inline-flex; align-items: center; gap: 7px; padding: 12px 20px; border-radius: 99px;
  font-size: 13.5px; font-family: inherit; letter-spacing: 1px; text-decoration: none; border: none; cursor: pointer;
  box-shadow: 0 8px 22px rgba(0,0,0,.35); transition: transform .2s ease, box-shadow .2s ease;
}
.float-btn:hover { transform: translateY(-2px); }
.float-btn-main { background: var(--gold); color: #14161a; }
.float-btn-wechat { background: #07c160; color: #fff; }
.float-panel {
  position: fixed; right: 20px; bottom: 96px; z-index: 9995; width: 242px;
  background: #1c1f26; border: 1px solid var(--border-gold); border-radius: 16px; padding: 18px;
  text-align: center; box-shadow: 0 18px 48px rgba(0,0,0,.5);
  opacity: 0; visibility: hidden; transform: translateY(12px) scale(.96); transition: all .28s ease;
}
.float-panel.show { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.float-panel-close { position: absolute; top: 8px; right: 12px; color: rgba(255,255,255,.4); font-size: 18px; cursor: pointer; line-height: 1; }
.float-panel-close:hover { color: #fff; }
.float-panel-title { font-size: 14px; color: var(--text-main); margin-bottom: 12px; letter-spacing: 1px; }
.float-panel-qr { width: 150px; height: 150px; border-radius: 10px; margin-bottom: 12px; object-fit: contain; background: #fff; padding: 6px; }
.float-panel-wx { font-size: 13px; color: var(--text-sub); margin-bottom: 10px; display: flex; align-items: center; justify-content: center; gap: 6px; }
.float-panel-wx strong { color: var(--gold); font-weight: 600; }
.float-panel-copy { background: var(--gold); color: #14161a; border: none; border-radius: 6px; font-size: 12px; padding: 3px 10px; cursor: pointer; }
.float-panel-tip { font-size: 11.5px; color: rgba(255,255,255,.4); line-height: 1.7; }
.float-toast {
  position: fixed; left: 50%; bottom: 100px; transform: translateX(-50%);
  background: rgba(20,22,26,.92); border: 1px solid var(--border-gold); color: #fff;
  font-size: 13px; padding: 10px 20px; border-radius: 99px; z-index: 10000;
  opacity: 0; visibility: hidden; transition: all .3s ease; white-space: nowrap; max-width: 88vw;
}
.float-toast.show { opacity: 1; visibility: visible; }
@media (max-width: 620px) {
  .float-bar { right: 12px; bottom: 12px; gap: 8px; }
  .float-btn { padding: 11px 16px; font-size: 13px; }
  .float-panel { right: 12px; bottom: 88px; width: 224px; }
}
