:root {
  --bg-primary: #0B0C10;
  --bg-secondary: #12141a;
  --text-primary: #E5E5E5;
  --text-muted: #8892b0;
  --neon-cyan: #00F0FF;
  --neon-magenta: #FF00AA;
  --glass-bg: rgba(255, 255, 255, 0.04);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  --font-main: "PingFang SC", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, sans-serif;
  --transition-smooth: cubic-bezier(0.16, 1, 0.3, 1);
  --container-width: 1200px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-snap-type: y proximity; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: var(--font-main);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.snap-section {
  min-height: 100vh;
  scroll-snap-align: start;
  position: relative;
  padding: 6rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}
.section-dark { background: var(--bg-secondary); }

.hero-bg, .section-bg {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,12,16,0.3) 0%, rgba(11,12,16,0.75) 100%);
  z-index: 1;
}

.glass-header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 2rem;
  background: rgba(11, 12, 16, 0.6);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
}
.logo {
  font-size: 1.25rem; font-weight: 700; letter-spacing: 2px;
  background: linear-gradient(90deg, var(--neon-cyan), var(--neon-magenta));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  text-decoration: none;
}
.nav-links { display: flex; gap: 1.5rem; }
.nav-links a {
  color: var(--text-muted); text-decoration: none; font-size: 0.9rem;
  transition: color 0.3s; position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--text-primary); }
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px;
  background: var(--neon-cyan); transition: width 0.3s var(--transition-smooth);
}
.nav-links a.active::after { width: 100%; }
.mobile-menu-btn { display: none; background: none; border: none; color: var(--text-primary); font-size: 1.5rem; cursor: pointer; }

.hero-content { text-align: center; max-width: 800px; margin: 0 auto; }
#hero-title { font-size: clamp(2.5rem, 6vw, 5rem); margin-bottom: 1rem; line-height: 1.1; color: #ffffff; text-shadow: 0 2px 12px rgba(0,0,0,0.85); }
.hero-subtitle { font-size: clamp(1rem, 2vw, 1.25rem); color: var(--text-muted); margin-bottom: 2.5rem; text-shadow: 0 2px 12px rgba(0,0,0,0.85); }

.neon-text {
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-magenta));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 10px rgba(0, 240, 255, 0.4)) brightness(1.1);
}
.section-title { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 0.5rem; text-align: center; }
.section-desc { text-align: center; color: var(--text-muted); max-width: 600px; margin: 0 auto 3rem; }

.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: var(--glass-shadow);
  transition: transform 0.4s var(--transition-smooth), box-shadow 0.4s;
}
.glass-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 240, 255, 0.15);
}

.btn-neon {
  display: inline-block; padding: 0.8rem 2rem; border: 1px solid var(--neon-cyan);
  color: var(--neon-cyan); text-decoration: none; border-radius: 50px;
  font-weight: 600; letter-spacing: 1px; transition: all 0.3s;
  background: transparent; cursor: pointer;
}
.btn-neon:hover {
  background: var(--neon-cyan); color: var(--bg-primary);
  box-shadow: 0 0 20px var(--neon-cyan);
}

.card-grid, .steps-container {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem; margin-top: 2rem;
}
.scene-row { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; }
.scene-item img { width: 100%; border-radius: 12px; aspect-ratio: 4/3; object-fit: cover; display: block; }
.scene-item { display: flex; flex-direction: column; gap: 1rem; }
.scene-info h3 { margin-bottom: 0.5rem; }

.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; margin-top: 2rem; }
.gallery-card { position: relative; border-radius: 12px; overflow: hidden; cursor: pointer; }
.gallery-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; transition: transform 0.5s; }
.gallery-card:hover img { transform: scale(1.05); }
.gallery-overlay {
  position: absolute; bottom: 0; left: 0; width: 100%; padding: 1.5rem;
  background: linear-gradient(to top, rgba(11,12,16,0.9), transparent);
}

.steps-container .step-card { text-align: center; position: relative; }
.step-num { font-size: 3rem; font-weight: 800; opacity: 0.15; color: var(--neon-cyan); display: block; margin-bottom: -1rem; }
.team-badge { display: flex; align-items: center; gap: 1rem; margin-top: 2rem; max-width: 500px; margin-left: auto; margin-right: auto; }
.team-badge img { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; border: 2px solid var(--glass-border); }

.glass-footer {
  scroll-snap-align: end;
  min-height: auto;
  background: var(--bg-primary);
  border-top: 1px solid var(--glass-border);
  padding: 3rem 1.5rem;
}
.footer-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; max-width: var(--container-width); margin: 0 auto; }
.footer-col h4 { margin-bottom: 1rem; color: var(--neon-cyan); font-size: 1rem; }
.copyright { color: var(--text-muted); font-size: 0.85rem; margin-top: 1rem; }

.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s var(--transition-smooth), transform 0.8s var(--transition-smooth); }
.reveal.in-view { opacity: 1; transform: translateY(0); }

.nav-links.mobile-open {
  display: flex !important;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: rgba(11,12,16,0.95);
  backdrop-filter: blur(10px);
  padding: 1rem;
  border-bottom: 1px solid var(--glass-border);
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .mobile-menu-btn { display: block; }
  .scene-row { grid-template-columns: 1fr; }
  .snap-section { padding: 4rem 1rem; }
  .glass-card { backdrop-filter: none; background: rgba(255,255,255,0.08); }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { transition: none; opacity: 1; transform: none; }
}