/* ============================================================
   Theme: Minimal 极简白蓝（浅色 / 干净）
   覆盖层样式：加载在 style.css 之后，整体改为浅色极简风。
   想回到原来的深色赛博风：删除 index.html 里对本文件的引用即可。
   ============================================================ */

:root {
  --bg: #ffffff;
  --bg-soft: #f7f9fc;
  --card: #ffffff;
  --card-border: #e6e9ef;
  --text: #101828;
  --text-dim: #667085;
  --primary: #2f6bff;
  --primary-2: #1d4ed8;
  --accent: #2f6bff;
  --gradient: linear-gradient(135deg, #2f6bff 0%, #6f9bff 100%);
  --radius: 16px;
  --shadow: 0 12px 32px rgba(16, 24, 40, 0.07);
}

html { color-scheme: light; }

body {
  background: #ffffff !important;
  color: var(--text) !important;
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Segoe UI", system-ui, -apple-system, sans-serif !important;
}

::selection { background: rgba(47, 107, 255, 0.18); }

::-webkit-scrollbar-track { background: #f2f4f7 !important; }
::-webkit-scrollbar-thumb { background: #d0d5dd !important; }
::-webkit-scrollbar-thumb:hover { background: #b3bac6 !important; }

.scroll-progress {
  background: linear-gradient(90deg, #2f6bff, #6f9bff) !important;
  box-shadow: 0 0 8px rgba(47, 107, 255, 0.35) !important;
  height: 3px;
}

/* ---------- 关掉所有赛博 / HUD 装饰层 ---------- */
.crt-overlay,
.hud-corner,
.hud-status,
.holo-frame,
.cyber-grid,
.scan-sweep,
.marquee,
.ambient-glow,
.cursor-glow,
#bgParticles,
#galaxyCanvas,
#constellationCanvas,
#globeCanvas,
#particles,
.hero-avatar .avatar-particles,
.radar-wave,
.shooting-star,
.trail-dot,
.click-burst,
.click-emoji,
.click-ripple,
.auto-fx-tip {
  display: none !important;
}

.glitch::before,
.glitch::after { display: none !important; }
.glitch.glitching { animation: none !important; }

/* ---------- 导航栏 ---------- */
.navbar {
  background: rgba(255, 255, 255, 0.86) !important;
  border-bottom: 1px solid transparent !important;
  backdrop-filter: blur(16px) saturate(160%) !important;
  -webkit-backdrop-filter: blur(16px) saturate(160%) !important;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.94) !important;
  border-bottom-color: #eaecf0 !important;
  box-shadow: 0 4px 18px rgba(16, 24, 40, 0.05) !important;
}

.logo {
  color: #101828 !important;
  text-shadow: none !important;
}

.logo span {
  background: #2f6bff !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

.nav-link {
  color: #475467 !important;
  border-radius: 8px;
  font-weight: 500;
}

.nav-link:hover {
  color: #101828 !important;
  background: #f2f4f7 !important;
}

.nav-link.active {
  color: #2f6bff !important;
  background: #eef3ff !important;
}

.nav-toggle span { background: #344054 !important; }

/* ---------- 首屏 ---------- */
.hero-bg {
  background:
    radial-gradient(760px 460px at 16% 8%, rgba(47, 107, 255, 0.08), transparent 62%),
    radial-gradient(640px 440px at 88% 82%, rgba(111, 155, 255, 0.09), transparent 62%),
    linear-gradient(180deg, #ffffff 0%, #f7f9fd 100%) !important;
}

.hero::after {
  background-image:
    linear-gradient(rgba(16, 24, 40, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 24, 40, 0.035) 1px, transparent 1px) !important;
  background-size: 64px 64px !important;
}

.hero-about .hero-avatar {
  background: linear-gradient(135deg, #2f6bff 0%, #7ea6ff 100%) !important;
  box-shadow: 0 14px 34px rgba(47, 107, 255, 0.22) !important;
  font-weight: 800;
}

.hero-badge {
  color: #2f6bff !important;
  background: #eef3ff !important;
  border: 1px solid #dbe5ff !important;
  text-shadow: none !important;
  font-weight: 500;
}

.hero-title {
  color: #101828 !important;
  text-shadow: none !important;
  animation: none !important;
}

.gradient-text {
  background: linear-gradient(120deg, #2f6bff 0%, #6f9bff 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  animation: none !important;
}

.hero-subtitle { color: #475467 !important; }
.hero-desc { color: #667085 !important; }
.hero-meta li { color: #667085 !important; }
.hero-meta a { color: #2f6bff !important; }
.hero-meta a:hover { color: #1d4ed8 !important; }

.scroll-hint { border-color: #d0d5dd !important; }
.scroll-hint span { background: #2f6bff !important; }

/* ---------- 按钮 ---------- */
.btn { border-radius: 10px; font-weight: 600; }

.btn-primary {
  background: #2f6bff !important;
  color: #ffffff !important;
  box-shadow: 0 6px 18px rgba(47, 107, 255, 0.24) !important;
}

.btn-primary:hover {
  background: #1d4ed8 !important;
  box-shadow: 0 10px 24px rgba(47, 107, 255, 0.3) !important;
  transform: translateY(-2px);
}

.btn-outline {
  background: #ffffff !important;
  color: #344054 !important;
  border: 1px solid #d0d5dd !important;
}

.btn-outline:hover {
  border-color: #2f6bff !important;
  color: #2f6bff !important;
  background: #f5f8ff !important;
  transform: translateY(-2px);
}

.btn-ghost {
  background: #ffffff !important;
  color: #2f6bff !important;
  border: 1px solid #d0d5dd !important;
}

.btn-ghost:hover {
  background: #f5f8ff !important;
  border-color: #2f6bff !important;
  color: #1d4ed8 !important;
}

.btn-shine::after { display: none !important; }

/* ---------- 区块与标题 ---------- */
.about,
.works {
  background: #f7f9fc !important;
  border-top: 1px solid #eaecf0 !important;
  border-bottom: 1px solid #eaecf0 !important;
}

.section-tag {
  color: #2f6bff !important;
  background: #eef3ff !important;
  border: 1px solid #dbe5ff !important;
  font-weight: 600;
}

.section-title {
  color: #101828 !important;
  text-shadow: none !important;
}

.section-sub { color: #667085 !important; }

/* ---------- 卡片通用 ---------- */
.about-card,
.stat-card,
.service-card,
.contact-item,
.contact-form,
.join-card {
  background: #ffffff !important;
  border: 1px solid #eaecf0 !important;
  box-shadow: 0 6px 20px rgba(16, 24, 40, 0.05) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.about-card h3,
.service-card h3,
.join-card h3 { color: #101828 !important; }

.about-role { color: #2f6bff !important; }
.about-text { color: #667085 !important; }
.about-list li { color: #667085 !important; }
.about-list b { color: #344054 !important; }
.about-list a { color: #2f6bff !important; }

.about-avatar {
  background: linear-gradient(135deg, #2f6bff 0%, #7ea6ff 100%) !important;
  border-radius: 18px;
}

.stat-card:hover {
  border-color: #dbe5ff !important;
  box-shadow: 0 14px 30px rgba(47, 107, 255, 0.1) !important;
}

.stat-num {
  background: linear-gradient(120deg, #2f6bff 0%, #6f9bff 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

.stat-label { color: #667085 !important; }

.service-card:hover {
  border-color: #dbe5ff !important;
  background: #ffffff !important;
  box-shadow: 0 16px 34px rgba(47, 107, 255, 0.1) !important;
}

.service-card p { color: #667085 !important; }

/* ---------- 作品卡片 ---------- */
.works-card {
  background: #ffffff !important;
  border: 1px solid #eaecf0 !important;
  box-shadow: 0 8px 24px rgba(16, 24, 40, 0.06) !important;
}

.works-card::before,
.works-card::after,
.works-card-glow { display: none !important; }

.works-card-bar {
  background: linear-gradient(90deg, #2f6bff, #9dbcff) !important;
  height: 3px !important;
}

.works-card:hover {
  transform: translateY(-6px);
  border-color: #dbe5ff !important;
  box-shadow: 0 20px 44px rgba(47, 107, 255, 0.14) !important;
}

.works-cover {
  background: #f2f4f7 !important;
  border-bottom: 1px solid #eaecf0 !important;
}

.works-cover-mask {
  background: linear-gradient(to top, rgba(16, 24, 40, 0.86) 0%, rgba(16, 24, 40, 0.35) 55%, transparent 100%) !important;
}

.works-cover-badge {
  background: rgba(255, 255, 255, 0.92) !important;
  color: #344054 !important;
  border: 1px solid rgba(16, 24, 40, 0.06) !important;
  backdrop-filter: blur(6px);
}

.works-cover-badge .dot { background: #2f6bff !important; box-shadow: none !important; }

.works-card-head h3 { color: #101828 !important; }
.works-card-sub { color: #98a2b3 !important; }
.works-desc { color: #667085 !important; }

.works-icon {
  background: #eef3ff !important;
  border: 1px solid #dbe5ff !important;
}

.works-tag {
  color: #475467 !important;
  background: #f7f9fc !important;
  border: 1px solid #eaecf0 !important;
}

.works-tag.tag-lock {
  color: #2f6bff !important;
  background: #eef3ff !important;
  border-color: #dbe5ff !important;
}

.dl-item {
  background: #fcfcfd !important;
  border: 1px solid #eaecf0 !important;
}

.dl-item:hover {
  background: #f5f8ff !important;
  border-color: #dbe5ff !important;
}

.dl-info b { color: #344054 !important; }
.dl-size { color: #98a2b3 !important; }

.gallery-prev,
.gallery-next {
  background: rgba(255, 255, 255, 0.9) !important;
  color: #344054 !important;
  border: 1px solid rgba(16, 24, 40, 0.08) !important;
}

.gallery-prev:hover,
.gallery-next:hover { background: #ffffff !important; }
.gallery-dots .dot { background: rgba(255, 255, 255, 0.6) !important; }
.gallery-dots .dot.active { background: #2f6bff !important; }

/* ---------- 加入我们 ---------- */
.join-card:hover {
  border-color: #dbe5ff !important;
  box-shadow: 0 16px 34px rgba(47, 107, 255, 0.1) !important;
}

.join-icon {
  background: #eef3ff !important;
  border: 1px solid #dbe5ff !important;
}

.join-desc { color: #667085 !important; }

.join-qr {
  background: #ffffff !important;
  border: 1px solid #eaecf0 !important;
}

.join-qr.no-qr { background: #fcfcfd !important; }
.join-qr-placeholder { color: #98a2b3 !important; }

.join-id {
  color: #475467 !important;
  background: #f7f9fc !important;
  border: 1px solid #eaecf0 !important;
}

.join-mail-box {
  background: #f7f9fc !important;
  border: 1px solid #eaecf0 !important;
}

.join-mail { color: #2f6bff !important; }

.copy-toast {
  background: #101828 !important;
  box-shadow: 0 10px 26px rgba(16, 24, 40, 0.2) !important;
}

/* ---------- 联系与表单 ---------- */
.contact-item:hover { border-color: #dbe5ff !important; }
.contact-item h4 { color: #98a2b3 !important; }
.contact-item a,
.contact-item span { color: #344054 !important; }
.contact-item a:hover { color: #2f6bff !important; }

.contact-form input,
.contact-form textarea {
  background: #ffffff !important;
  border: 1px solid #d0d5dd !important;
  color: #101828 !important;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #2f6bff !important;
  box-shadow: 0 0 0 4px rgba(47, 107, 255, 0.12) !important;
  outline: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder { color: #98a2b3 !important; }

.form-tip { color: #2f6bff !important; }
.form-tip.error { color: #d92d20 !important; }

/* ---------- 页脚 / 回到顶部 ---------- */
.footer {
  background: #f7f9fc !important;
  border-top: 1px solid #eaecf0 !important;
  padding-bottom: 28px !important;
}

.footer p { color: #98a2b3 !important; }
.footer-icp .placeholder { color: #b3bac6 !important; }

.back-to-top {
  background: #ffffff !important;
  color: #344054 !important;
  border: 1px solid #d0d5dd !important;
  box-shadow: 0 6px 18px rgba(16, 24, 40, 0.08) !important;
}

.back-to-top:hover {
  background: #2f6bff !important;
  color: #ffffff !important;
  border-color: #2f6bff !important;
}

/* ---------- 弹窗 / 灯箱 ---------- */
.modal-overlay { background: rgba(16, 24, 40, 0.55) !important; }

.modal-box {
  background: #ffffff !important;
  border: 1px solid #eaecf0 !important;
  box-shadow: 0 24px 60px rgba(16, 24, 40, 0.18) !important;
  color: #101828 !important;
}

.modal-box h3 { color: #101828 !important; }
.modal-sub { color: #667085 !important; }
.modal-hint { color: #98a2b3 !important; }

.modal-box input {
  background: #ffffff !important;
  border: 1px solid #d0d5dd !important;
  color: #101828 !important;
}

.modal-box input:focus {
  border-color: #2f6bff !important;
  box-shadow: 0 0 0 4px rgba(47, 107, 255, 0.12) !important;
}

.modal-close { color: #98a2b3 !important; }
.modal-close:hover { background: #f2f4f7 !important; color: #101828 !important; }
.modal-error { color: #d92d20 !important; }

.lightbox { background: rgba(16, 24, 40, 0.86) !important; }

/* ---------- 加载动画 ---------- */
.preloader { background: #ffffff !important; }

.preloader::before {
  background: linear-gradient(180deg, transparent, rgba(47, 107, 255, 0.1), transparent) !important;
}

.preloader-logo {
  color: #101828 !important;
  text-shadow: none !important;
  font-size: 42px;
}

.preloader-logo span {
  background: #2f6bff !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

.preloader-bar {
  background: #eaecf0 !important;
  box-shadow: none !important;
}

.preloader-bar i {
  background: linear-gradient(90deg, #2f6bff, #6f9bff) !important;
  box-shadow: none !important;
}

.preloader-text {
  color: #98a2b3 !important;
  text-shadow: none !important;
  font-family: "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif !important;
  letter-spacing: 2px;
}

/* ---------- 移动端导航（原样式未适配，这里补齐） ---------- */
@media (max-width: 860px) {
  .nav-toggle { display: flex !important; }

  .nav-links {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: 0 !important;
    flex-direction: column;
    gap: 4px;
    padding: 12px 20px 18px;
    margin: 0;
    background: rgba(255, 255, 255, 0.98) !important;
    border-bottom: 1px solid #eaecf0 !important;
    box-shadow: 0 16px 34px rgba(16, 24, 40, 0.08) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    display: none;
  }

  .nav-links.open { display: flex; }

  .nav-link {
    color: #475467 !important;
    padding: 12px 14px;
    font-size: 15px;
  }

  .nav-link:hover { background: #f2f4f7 !important; }
  .nav-link.active { background: #eef3ff !important; color: #2f6bff !important; }
}
