/* ============================================
   长源川 · 数字非遗品牌官网 - 科技主题层
   ============================================ */

/* ---- CSS Variables ---- */
:root {
  --tech-bg-deep:        #0D0A07;
  --tech-bg-mid:         #13100C;
  --tech-bg-surface:     #1A1510;
  --tech-brand-green:    #E67E22;
  --tech-brand-gold:     #F8C471;
  --tech-cyan:           #E67E22;
  --tech-cream:          #FDEBD0;
  --tech-glass:          rgba(255,255,255,0.04);
  --tech-glass-hover:    rgba(255,255,255,0.08);
  --tech-glass-02:       rgba(255,255,255,0.02);
  --tech-glass-03:       rgba(255,255,255,0.03);
  --tech-glass-04:       rgba(255,255,255,0.04);
  --tech-glass-05:       rgba(255,255,255,0.05);
  --tech-glass-06:       rgba(255,255,255,0.06);
  --tech-glass-08:       rgba(255,255,255,0.08);
  --tech-glass-12:       rgba(255,255,255,0.12);
  --tech-glass-25:       rgba(255,255,255,0.25);
  --tech-border:         rgba(230,126,34,0.20);
  --tech-border-hover:   rgba(230,126,34,0.45);
  --tech-glow:           rgba(230,126,34,0.25);
  --tech-glow-strong:    rgba(230,126,34,0.50);
  --tech-text:           #E8E0D8;
  --tech-text-dim:       #9A8E80;
  --tech-text-muted:     #5A5045;
  --font-mono:           'SF Mono', 'Cascadia Code', 'Consolas', 'Courier New', monospace;
  --font-display:        'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', 'Helvetica Neue', sans-serif;
  --font-body:           'PingFang SC', 'Microsoft YaHei', 'Hiragino Sans GB', 'Helvetica Neue', sans-serif;
}

/* ---- 亮色模式变量覆盖 ---- */
body:not(.dark-mode) {
  --tech-bg-deep:        #FFFBF5;
  --tech-bg-mid:         #FFF3E0;
  --tech-bg-surface:     #FFFFFF;
  --tech-glass:          rgba(255,248,240,0.85);
  --tech-glass-hover:    rgba(255,245,235,0.95);
  --tech-glass-02:       rgba(230,126,34,0.03);
  --tech-glass-03:       rgba(230,126,34,0.05);
  --tech-glass-04:       rgba(255,255,255,0.85);
  --tech-glass-05:       rgba(230,126,34,0.06);
  --tech-glass-06:       rgba(230,126,34,0.08);
  --tech-glass-08:       rgba(230,126,34,0.10);
  --tech-glass-12:       rgba(230,126,34,0.15);
  --tech-glass-25:       rgba(230,126,34,0.25);
  --tech-border:         rgba(230,126,34,0.12);
  --tech-border-hover:   rgba(230,126,34,0.35);
  --tech-glow:           rgba(230,126,34,0.10);
  --tech-glow-strong:    rgba(230,126,34,0.20);
  --tech-cream:          #D35400;
  --tech-text:           #3A2A1A;
  --tech-text-dim:       #6B5A4A;
  --tech-text-muted:     #9A8A7A;
}

/* ---- Base Overrides ---- */
body {
  background: var(--tech-bg-deep);
  color: var(--tech-text);
  font-family: var(--font-body);
}

/* ---- 卡片暗色 ---- */
.product-card, .team-card, .chart-card, .tour-card, .value-card, .warm-card {
  background: var(--tech-glass) !important;
  backdrop-filter: blur(8px);
  border-color: var(--tech-border) !important;
  color: var(--tech-text) !important;
}
body.dark-mode .product-card h3,
body.dark-mode .team-card h3,
body.dark-mode .tour-card h3,
body.dark-mode .chart-card h3,
body.dark-mode .value-card h4 {
  color: var(--tech-brand-gold) !important;
}
body.dark-mode .product-card p,
body.dark-mode .team-card p,
body.dark-mode .tour-card p,
body.dark-mode .chart-card p,
body.dark-mode .value-card p,
body.dark-mode .warm-card p {
  color: var(--tech-text-dim) !important;
}
body.dark-mode .product-info h3 { color: var(--tech-cream) !important; }
body.dark-mode .product-info .desc { color: var(--tech-text-muted) !important; }

/* ---- card shine ---- */
body.dark-mode .card-shine {
  background: linear-gradient(135deg, transparent 30%, var(--tech-glass-03) 45%, var(--tech-glass-06) 50%, var(--tech-glass-02) 60%, transparent 70%) !important;
}

/* ---- Global Section ---- */
.content-section,
#products,
#tourism,
#market {
  background: var(--tech-bg-deep);
}
.alternate-bg {
  background-color: var(--tech-bg-mid);
}

/* ---- Scrollbar ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--tech-bg-deep); }
::-webkit-scrollbar-thumb { background: rgba(56,232,214,0.25); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(56,232,214,0.45); }

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  background: rgba(10, 8, 5, 0.75) !important;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(56,232,214,0.08);
  box-shadow: 0 4px 32px rgba(0,0,0,0.3);
  transition: background 0.4s, border-color 0.4s;
}
.navbar.navbar-scrolled {
  background: rgba(10, 8, 5, 0.92) !important;
  border-bottom-color: rgba(56,232,214,0.15);
}

.nav-links a {
  color: var(--tech-text-dim) !important;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  position: relative;
  transition: color 0.3s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--tech-brand-gold);
  border-radius: 1px;
  box-shadow: 0 0 8px var(--tech-glow);
  transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--tech-brand-gold) !important;
}
.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

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

.consult-btn {
  background: var(--tech-glass-06) !important;
  border: 1px solid var(--tech-glass-12) !important;
  color: var(--tech-text-dim) !important;
  padding: 8px 20px !important;
  border-radius: 24px !important;
  font-weight: 600 !important;
  transition: all 0.3s !important;
}
.consult-btn:hover {
  background: var(--tech-glass-12) !important;
  border-color: var(--tech-glass-25) !important;
  color: var(--tech-cream) !important;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 20px 80px;
  position: relative;
  overflow: hidden;
  background: 
    radial-gradient(ellipse 800px 600px at 20% 50%, rgba(230,126,34,0.06) 0%, transparent 70%),
    radial-gradient(ellipse 600px 500px at 80% 30%, rgba(248,196,113,0.05) 0%, transparent 70%),
    radial-gradient(ellipse 500px 400px at 50% 80%, rgba(230,126,34,0.04) 0%, transparent 60%),
    linear-gradient(180deg, var(--tech-bg-deep) 0%, var(--tech-bg-mid) 100%);
}

/* 网格线 overlay */
.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(230,126,34,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(230,126,34,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 1;
}

/* 数据流光线条 */
.hero-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 30%;
  width: 40%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(230,126,34,0.5), rgba(248,196,113,0.3), transparent);
  animation: dataFlow 6s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}

@keyframes dataFlow {
  0%, 100% { top: 15%; opacity: 0; }
  20% { opacity: 0.8; }
  40% { top: 45%; opacity: 0.6; }
  60% { top: 60%; opacity: 0.3; }
  80% { top: 85%; opacity: 0; }
}

/* ---- Hero Content ---- */
.hero-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
}

.hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  font-weight: 800;
  background: linear-gradient(135deg, var(--tech-cream) 0%, var(--tech-brand-gold) 30%, #fff 60%, var(--tech-brand-gold) 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  animation: heroGradient 4s ease-in-out infinite;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

@keyframes heroGradient {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero-content h3 {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-weight: 400;
  color: var(--tech-text-dim);
  letter-spacing: 6px;
  margin-bottom: 24px;
}

.hero-content p {
  font-size: 1rem;
  color: var(--tech-text-muted);
  max-width: 650px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

/* ---- Hero Chips ---- */
.hero-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
}
.hero-chip {
  padding: 6px 16px;
  border-radius: 20px;
  border: 1px solid var(--tech-border);
  background: var(--tech-glass);
  color: var(--tech-text-dim);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  backdrop-filter: blur(6px);
  transition: all 0.3s;
}
.hero-chip:hover {
  border-color: var(--tech-brand-gold);
  color: var(--tech-brand-gold);
  box-shadow: 0 0 12px var(--tech-glow);
}

/* ---- Hero CTAs ---- */
.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-cta .btn-primary {
  background: linear-gradient(135deg, var(--tech-brand-green), #0b8050);
  color: #fff;
  padding: 14px 36px;
  border-radius: 28px;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 1px;
  border: none;
  box-shadow: 0 0 24px rgba(15,163,107,0.35);
  transition: all 0.3s;
}
.hero-cta .btn-primary:hover {
  box-shadow: 0 0 40px rgba(15,163,107,0.55);
  transform: translateY(-3px);
}
.hero-cta .btn-ghost {
  padding: 14px 36px;
  border-radius: 28px;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 1px;
  background: var(--tech-glass);
  border: 1px solid var(--tech-border);
  color: var(--tech-brand-gold);
  backdrop-filter: blur(8px);
  transition: all 0.3s;
  text-decoration: none;
}
.hero-cta .btn-ghost:hover {
  border-color: var(--tech-brand-gold);
  box-shadow: 0 0 20px var(--tech-glow);
  transform: translateY(-3px);
}

/* ---- Data Cabin Card ---- */
.hero-data-cabin {
  position: absolute;
  right: 8%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  background: rgba(8,28,22,0.85);
  backdrop-filter: blur(16px);
  border: 1px solid var(--tech-border);
  border-radius: 16px;
  padding: 24px 28px;
  min-width: 200px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.5), inset 0 1px 0 rgba(56,232,214,0.08);
  display: none;
}
@media (min-width: 1024px) {
  .hero-data-cabin { display: block; }
}

.hero-data-cabin .cabin-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--tech-brand-gold);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
  opacity: 0.7;
}

.hero-data-cabin .cabin-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid rgba(56,232,214,0.08);
}
.hero-data-cabin .cabin-row:last-child { border-bottom: none; }

.hero-data-cabin .cabin-key {
  font-size: 0.75rem;
  color: var(--tech-text-dim);
}
.hero-data-cabin .cabin-val {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--tech-brand-gold);
  font-weight: 600;
}

.hero-data-cabin .cabin-status {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--tech-brand-green);
  box-shadow: 0 0 6px rgba(230,126,34,0.6);
  margin-right: 6px;
  animation: statusPulse 2s infinite;
}

@keyframes statusPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* ---- Data Cabin corner accents ---- */
.hero-data-cabin::before {
  content: '';
  position: absolute;
  top: -1px; left: -1px;
  width: 30px; height: 30px;
  border-top: 2px solid var(--tech-brand-gold);
  border-left: 2px solid var(--tech-brand-gold);
  border-radius: 2px;
  opacity: 0.4;
}
.hero-data-cabin::after {
  content: '';
  position: absolute;
  bottom: -1px; right: -1px;
  width: 30px; height: 30px;
  border-bottom: 2px solid var(--tech-brand-gold);
  border-right: 2px solid var(--tech-brand-gold);
  border-radius: 2px;
  opacity: 0.4;
}

/* ---- 扫描线 ---- */
.hero-data-cabin .scan-line {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(230,126,34,0.3), transparent);
  animation: scanDown 3s linear infinite;
  pointer-events: none;
}
@keyframes scanDown {
  0% { top: 0; }
  100% { top: 100%; }
}

/* ============================================
   SECTION TITLE SYSTEM
   ============================================ */
.section-title-wrap {
  text-align: center;
  margin-bottom: 50px;
}

.section-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--tech-brand-gold);
  letter-spacing: 3px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 10px;
  opacity: 0.7;
}

.section-tag::before {
  content: '[ ';
  opacity: 0.5;
}
.section-tag::after {
  content: ' ]';
  opacity: 0.5;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--tech-cream);
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.section-title .accent {
  color: var(--tech-brand-gold);
}

.section-desc {
  font-size: 0.9rem;
  color: var(--tech-text-dim);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ---- Title underline accent ---- */
.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 2px;
  margin: 14px auto 0;
  background: linear-gradient(90deg, transparent, var(--tech-brand-gold), transparent);
  border-radius: 1px;
}

/* ============================================
   GLASS CARD BASE
   ============================================ */
.glass-card {
  background: var(--tech-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--tech-border);
  border-radius: 16px;
  padding: 28px;
  transition: all 0.35s ease;
}
.glass-card:hover {
  border-color: var(--tech-border-hover);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3), 0 0 20px var(--tech-glow);
  transform: translateY(-4px);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  .hero-section { padding: 100px 16px 60px; }
  .hero-chips { gap: 8px; }
  .hero-chip { font-size: 0.72rem; padding: 5px 12px; }
  .hero-cta { flex-direction: column; align-items: center; }
  .hero-content p { font-size: 0.9rem; }
  .hero-content h3 { letter-spacing: 3px; }
}

@media (max-width: 480px) {
  .section-tag { font-size: 0.6rem; letter-spacing: 2px; }
}

/* ============================================
   QUICK FIXES – 其他区域的暗色适配
   ============================================ */
.tea-bg-section {
  background: linear-gradient(180deg, var(--tech-bg-mid) 0%, var(--tech-bg-deep) 100%) !important;
}
.model-card {
  background: var(--tech-glass-05) !important;
  border-color: var(--tech-border) !important;
}
.model-card h3 { color: var(--tech-brand-gold) !important; }

.chart-container { background: transparent !important; }

#skeleton-screen { background: var(--tech-bg-deep) !important; }

#robot-blueprint .bp-card {
  background: var(--tech-glass-05) !important;
  border-color: var(--tech-border) !important;
}
#robot-blueprint .bp-card h4 { color: var(--tech-brand-gold) !important; }
#robot-blueprint .bp-card p { color: var(--tech-text-dim) !important; }

.site-footer .footer-nav a { color: var(--tech-text-dim) !important; }
.site-footer .footer-nav a:hover { color: var(--tech-brand-gold) !important; }

.glass-chat { background: rgba(8,28,22,0.95) !important; border-color: var(--tech-border) !important; }
.glass-chat.hidden { display: none !important; }
#chat-box .chat-header { background: linear-gradient(135deg, rgba(15,10,5,0.98), rgba(25,15,8,0.98)) !important; border-bottom: 1px solid var(--tech-border) !important; color: var(--tech-cream) !important; }
.chat-header .header-info span { color: var(--tech-cream) !important; }
.chat-messages { background: rgba(10,8,5,0.6) !important; color: var(--tech-text) !important; }
.message.ai-message { background: rgba(230,126,34,0.08) !important; color: var(--tech-text) !important; border: 1px solid var(--tech-border) !important; }
#user-input { background: var(--tech-glass-06) !important; border-color: var(--tech-border) !important; color: var(--tech-text) !important; }
#send-btn { background: linear-gradient(135deg, #E67E22, #D35400) !important; color: #fff !important; border: none !important; }
#close-chat { color: var(--tech-text-dim) !important; }
.quick-btn { background: rgba(230,126,34,0.08) !important; border: 1px solid var(--tech-border) !important; color: var(--tech-brand-gold) !important; }
.quick-btn:hover { background: rgba(230,126,34,0.18) !important; border-color: var(--tech-border-hover) !important; }

.floating-avatar {
  background: rgba(20,12,8,0.9) !important;
  border-color: var(--tech-border-hover) !important;
  box-shadow: 0 0 20px var(--tech-glow), 0 8px 24px rgba(0,0,0,0.5) !important;
}
.floating-avatar img {
  filter: brightness(1.2);
}
.content-section h2::after,
#globe-section .globe-header h2::after,
#xianning-section .xn-header h2::after {
  background: linear-gradient(90deg, transparent, var(--tech-brand-gold), transparent) !important;
  width: 60px !important;
  height: 2px !important;
  box-shadow: 0 0 10px var(--tech-glow) !important;
}
#xianning-section .xn-header p:first-of-type {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 768px) {
  #xianning-section .xn-header p:first-of-type {
    white-space: normal;
    font-size: 0.85rem;
  }
}

/* ---- 英文编号标签 ---- */
.content-section h2::before {
  content: '0' counter(section) ' / ';
  font-family: var(--font-mono);
  font-size: 0.55em;
  font-weight: 400;
  color: var(--tech-brand-gold);
  opacity: 0.5;
  letter-spacing: 1px;
  margin-right: 6px;
  vertical-align: middle;
  counter-increment: section;
}
.content-section { counter-reset: section 0; }
#intro               { counter-increment: section; }
#products            { counter-increment: section; }
#innovation          { counter-increment: section; }
#robot-blueprint     { counter-increment: section; }
#tourism             { counter-increment: section; }
#team                { counter-increment: section; }
#market              { counter-increment: section; }

/* ============================================
   四大风物 - 科技信息卡重做
   ============================================ */
.xn-card {
  background: var(--tech-glass-04) !important;
  backdrop-filter: blur(10px) !important;
  border: 1px solid var(--tech-border) !important;
  border-radius: 14px !important;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4), 0 0 0 rgba(230,126,34,0) !important;
  transition: border-color 0.35s, box-shadow 0.35s, transform 0.35s !important;
  overflow: hidden !important;
}
.xn-card:hover {
  border-color: var(--tech-border-hover) !important;
  box-shadow: 0 12px 40px rgba(0,0,0,0.5), 0 0 24px var(--tech-glow) !important;
  transform: rotateY(calc(var(--i)*90deg)) translateZ(205px) !important;
}
.xn-card img {
  height: 120px !important;
  object-fit: cover !important;
}
.xn-card span {
  color: var(--tech-brand-gold) !important;
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  letter-spacing: 2px !important;
  background: rgba(230,126,34,0.08) !important;
  padding: 8px 4px !important;
}

/* --- 中心咸宁文字 --- */
.xn-center-logo .xn-city-name {
  color: var(--tech-brand-gold) !important;
  text-shadow: 0 0 30px rgba(230,126,34,0.5) !important;
}
.xn-center-logo .xn-city-sub {
  color: var(--tech-text-dim) !important;
}

/* ============================================
   项目初心 - 左右分栏
   ============================================ */
#intro .warm-card {
  background: var(--tech-glass-03) !important;
  border: 1px solid var(--tech-border) !important;
  padding: 32px !important;
  border-radius: 18px !important;
}
#intro .warm-card p {
  color: var(--tech-text-dim) !important;
  line-height: 1.8 !important;
}
#intro .warm-card strong {
  color: var(--tech-brand-gold) !important;
}

/* --- 价值卡片 --- */
.value-card {
  background: var(--tech-glass-04) !important;
  backdrop-filter: blur(8px) !important;
  border: 1px solid var(--tech-border) !important;
  border-radius: 14px !important;
  padding: 24px 20px !important;
  text-align: center !important;
  transition: border-color 0.35s, box-shadow 0.35s, transform 0.35s !important;
}
.value-card:hover {
  border-color: var(--tech-border-hover) !important;
  box-shadow: 0 8px 28px rgba(0,0,0,0.3), 0 0 20px var(--tech-glow) !important;
  transform: translateY(-4px) !important;
}
.value-card h4 {
  color: var(--tech-brand-gold) !important;
  font-size: 1.05rem !important;
  margin-bottom: 8px !important;
}
.value-card p {
  color: var(--tech-text-muted) !important;
  font-size: 0.85rem !important;
}

/* ============================================
   产品矩阵 - 深色玻璃卡重做
   ============================================ */
.product-card {
  background: var(--tech-glass-03) !important;
  backdrop-filter: blur(10px) !important;
  border: 1px solid var(--tech-border) !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  transition: border-color 0.35s, box-shadow 0.35s, transform 0.35s !important;
}
.product-card:hover {
  border-color: var(--tech-border-hover) !important;
  box-shadow: 0 12px 40px rgba(0,0,0,0.4), 0 0 20px var(--tech-glow) !important;
  transform: translateY(-6px) !important;
}
.product-img {
  height: 200px !important;
  object-fit: cover !important;
  border-bottom: 1px solid var(--tech-border) !important;
}
.product-info { padding: 18px 16px !important; }
.product-info h3 {
  color: var(--tech-cream) !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  margin-bottom: 6px !important;
}
.product-info .desc {
  color: var(--tech-text-muted) !important;
  font-size: 0.82rem !important;
}

/* --- 分类标题 --- */
.category-title {
  color: var(--tech-brand-gold) !important;
  font-size: 1.1rem !important;
  font-weight: 600 !important;
  letter-spacing: 1px !important;
  margin: 32px 0 16px !important;
  border-left: 3px solid var(--tech-brand-gold) !important;
  padding-left: 12px !important;
}
.product-tab {
  background: var(--tech-glass-04) !important;
  border-color: var(--tech-border) !important;
  color: var(--tech-text-dim) !important;
}
.product-tab:hover {
  border-color: var(--tech-brand-gold) !important;
  color: var(--tech-brand-gold) !important;
}
.product-tab.active {
  background: rgba(230,126,34,0.2) !important;
  color: var(--tech-brand-gold) !important;
  border-color: transparent !important;
}

/* ============================================
   创新亮点 - 3D 数字展厅
   ============================================ */
.model-card {
  background: var(--tech-glass-03) !important;
  backdrop-filter: blur(10px) !important;
  border: 1px solid var(--tech-border) !important;
  border-radius: 18px !important;
  padding: 20px !important;
  position: relative !important;
  overflow: hidden !important;
}
.model-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 18px;
  border: 1px solid transparent;
  background: linear-gradient(135deg, var(--tech-border-hover), transparent 40%, transparent 60%, var(--tech-border-hover)) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 2;
}
.model-card:hover::before {
  border-color: var(--tech-border-hover);
}
.model-card h3 {
  color: var(--tech-brand-gold) !important;
  font-size: 1rem !important;
  margin-top: 14px !important;
}
.elegant-title {
  color: var(--tech-cream) !important;
  font-size: 2rem !important;
}
.elegant-subtitle { color: var(--tech-text-dim) !important; }
.elegant-hint { color: var(--tech-text-muted) !important; }
.elegant-line { background: linear-gradient(90deg, transparent, var(--tech-brand-gold), transparent) !important; }

/* --- 加载进度条 --- */
.luxury-loader { background: rgba(10,8,5,0.9) !important; }
.ring-bg { stroke: var(--tech-glass-08) !important; }
.ring-progress { stroke: var(--tech-brand-green) !important; }
.ring-text { color: var(--tech-brand-gold) !important; }
.loader-text { color: var(--tech-text-dim) !important; }

/* ============================================
   LAB 概念工程 - 蓝图面板
   ============================================ */
#robot-blueprint {
  background: var(--tech-bg-mid) !important;
}
#robot-blueprint h2.elegant-title {
  color: var(--tech-cream) !important;
}
.tech-containment.glass-card {
  background: var(--tech-glass-02) !important;
  border: 1px solid var(--tech-border) !important;
}
.tech-status {
  color: var(--tech-brand-green) !important;
  font-family: var(--font-mono) !important;
  font-size: 0.72rem !important;
}
.bp-card {
  background: var(--tech-glass-03) !important;
  backdrop-filter: blur(8px) !important;
  border: 1px solid var(--tech-border) !important;
  border-radius: 14px !important;
  padding: 24px !important;
  transition: border-color 0.35s, box-shadow 0.35s !important;
}
.bp-card:hover {
  border-color: var(--tech-border-hover) !important;
  box-shadow: 0 0 24px var(--tech-glow) !important;
}
.bp-card .chip-name {
  color: var(--tech-brand-gold) !important;
  font-family: var(--font-mono) !important;
  font-size: 0.72rem !important;
}
.bp-card .chip-label {
  color: var(--tech-text-muted) !important;
}
.bp-card h4 { color: var(--tech-brand-gold) !important; }
.bp-card p { color: var(--tech-text-dim) !important; }

/* --- 扫描线 --- */
.scan-line {
  background: linear-gradient(90deg, transparent, rgba(230,126,34,0.2), transparent) !important;
  animation: scan 3s linear infinite;
}
@keyframes scan {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(500px); }
}

/* ============================================
   文旅路线 - 数字控制台
   ============================================ */
.tour-card {
  background: var(--tech-glass-03) !important;
  backdrop-filter: blur(10px) !important;
  border: 1px solid var(--tech-border) !important;
  transition: border-color 0.35s, box-shadow 0.35s, transform 0.35s !important;
}
.tour-card:hover {
  border-color: var(--tech-border-hover) !important;
  box-shadow: 0 12px 40px rgba(0,0,0,0.4), 0 0 20px var(--tech-glow) !important;
}
.tour-card h3 { color: var(--tech-brand-gold) !important; }
.tour-card p { color: var(--tech-text-dim) !important; }
.tour-card p strong { color: var(--tech-cream) !important; }

/* ============================================
   团队卡片
   ============================================ */
.team-card {
  background: var(--tech-glass-03) !important;
  backdrop-filter: blur(10px) !important;
  border: 1px solid var(--tech-border) !important;
  border-radius: 16px !important;
  transition: border-color 0.35s, box-shadow 0.35s, transform 0.35s !important;
}
.team-card:hover {
  border-color: var(--tech-border-hover) !important;
  box-shadow: 0 8px 30px rgba(0,0,0,0.3), 0 0 20px var(--tech-glow) !important;
  transform: translateY(-4px) !important;
}
.team-card h3 { color: var(--tech-cream) !important; }
.team-card p { color: var(--tech-text-dim) !important; }
.team-avatar {
  box-shadow: 0 4px 16px rgba(230,126,34,0.4) !important;
}
.team-avatar.core {
  box-shadow: 0 4px 16px rgba(52,152,219,0.3) !important;
}

/* ============================================
   市场分析 - 数据驾驶舱
   ============================================ */
.chart-card {
  background: var(--tech-glass-03) !important;
  backdrop-filter: blur(10px) !important;
  border: 1px solid var(--tech-border) !important;
  border-radius: 16px !important;
  transition: border-color 0.35s, box-shadow 0.35s, transform 0.35s !important;
}
.chart-card:hover {
  border-color: var(--tech-border-hover) !important;
  box-shadow: 0 8px 30px rgba(0,0,0,0.3), 0 0 20px var(--tech-glow) !important;
}
.chart-card h3 {
  color: var(--tech-brand-gold) !important;
  font-size: 1rem !important;
}

/* ============================================
   AI 顾问
   ============================================ */
.floating-avatar {
  border-color: var(--tech-border-hover) !important;
  box-shadow: 0 0 20px var(--tech-glow) !important;
}

/* ============================================
   全站动效
   ============================================ */
/* --- section 进入淡入上浮 --- */
.content-section, #globe-section, #xianning-section, #robot-blueprint {
  animation: sectionFadeIn 0.8s ease-out both;
  animation-timeline: view();
  animation-range: entry 10% cover 30%;
}
@keyframes sectionFadeIn {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* --- 光斑呼吸 --- */
@keyframes glowBreath {
  0%, 100% { box-shadow: 0 0 16px var(--tech-glow); }
  50%      { box-shadow: 0 0 32px var(--tech-glow-strong); }
}

/* --- 底部滚动指示器 --- */
.hero-scroll-hint {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--tech-text-muted);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 2px;
  animation: hintBounce 2s ease-in-out infinite;
}
.hero-scroll-hint::after {
  content: '';
  width: 1px;
  height: 24px;
  background: linear-gradient(to bottom, var(--tech-brand-gold), transparent);
}
@keyframes hintBounce {
  0%, 100% { opacity: 0.5; transform: translateX(-50%) translateY(0); }
  50% { opacity: 1; transform: translateX(-50%) translateY(6px); }
}

/* ============================================
   TOUR SPOT / JOURNEY MAP FIX
   ============================================ */
.tour-journey-3d {
  background: var(--tech-glass-03) !important;
  backdrop-filter: blur(10px) !important;
  border: 1px solid var(--tech-border) !important;
  border-radius: 18px !important;
  padding: 24px !important;
}
.tour-map-header h3 { color: var(--tech-brand-gold) !important; }
.tour-map-header p, .tour-map-kicker { color: var(--tech-text-dim) !important; }
.tour-side-panel { background: var(--tech-glass-03) !important; }

/* ============================================
   DARK MODE COMPAT
   ============================================ */
body.dark-mode {
  --tech-bg-deep: #0D0A07;
  --tech-bg-mid: #13100C;
}
body.dark-mode .navbar {
  background: rgba(10,8,5,0.88) !important;
}

/* ============================================
   MOBILE POLISH
   ============================================ */
@media (max-width: 768px) {
  .category-title { font-size: 0.95rem !important; }
  .product-img { height: 160px !important; }
}
