/* ============================================
   星云智能 V3 · 共享样式
   设计语言：吉易欧深色商务风 + 星云蓝紫色独特身份
   ============================================ */

:root {
  /* === 品牌主色：橙（继承吉易欧体系） === */
  --primary: #FF6B1A;
  --primary-dark: #E85A0A;
  --primary-light: #FF8A4D;
  --primary-pale: #FFF1E7;
  --primary-bg: #FFFAF5;
  
  /* === 星云副色：深空蓝紫（星云智能独特性） === */
  --nebula: #5B6BFF;
  --nebula-dark: #3D4CCC;
  --nebula-glow: rgba(91, 107, 255, 0.15);
  
  /* === 深色系统（参考吉易欧） === */
  --dark: #0E0E12;
  --dark-2: #16161D;
  --dark-3: #1F1F28;
  --dark-4: #2A2A35;
  --dark-line: rgba(255,255,255,0.08);
  --dark-line-2: rgba(255,255,255,0.12);
  --dark-text: rgba(255,255,255,0.7);
  --dark-text-2: rgba(255,255,255,0.5);
  
  /* === 中性色（亮色区） === */
  --ink: #0E0E12;
  --ink-2: #2D2D38;
  --text: #4A4A55;
  --text-2: #6B6B78;
  --text-3: #999AA3;
  --line: #E8E8EC;
  --line-2: #F0F0F4;
  --bg: #FFFFFF;
  --bg-2: #FAFAFC;
  --bg-3: #F3F3F6;
  
  /* === 功能色 === */
  --success: #10B981;
  --warning: #F59E0B;
  --error: #EF4444;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "HarmonyOS Sans SC", "Helvetica Neue", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 14px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* === 通用工具 === */
.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
a { color: inherit; text-decoration: none; }

/* === 顶部条 === */
.topbar {
  background: #000;
  color: rgba(255,255,255,0.7);
  padding: 8px 0;
  font-size: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.topbar .container { display: flex; align-items: center; justify-content: space-between; }
.topbar-left .badge {
  background: var(--primary);
  color: #fff;
  padding: 2px 8px;
  border-radius: 3px;
  margin-right: 10px;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.05em;
}
.topbar-right { display: flex; gap: 18px; }
.topbar-right a {
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}
.topbar-right a:hover { color: var(--primary-light); }

/* === 导航：深色顶部 === */
nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(14, 14, 18, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
}
.logo-mark {
  width: 32px;
  height: 32px;
  position: relative;
  flex-shrink: 0;
}
.logo-mark svg { width: 100%; height: 100%; }
.logo-en {
  font-size: 10px;
  color: rgba(255,255,255,0.45);
  font-weight: 500;
  letter-spacing: 0.2em;
  margin-left: 4px;
}
nav .logo .primary-text { color: var(--primary); }

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
  align-items: center;
}
.nav-links > li > a {
  display: inline-block;
  padding: 6px 0;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  transition: color 0.2s;
  position: relative;
}
.nav-links > li > a:hover, .nav-links > li > a.active {
  color: #fff;
}
.nav-links > li > a.active::after {
  content: '';
  position: absolute;
  bottom: -22px;
  left: 0; right: 0;
  height: 2px;
  background: var(--primary);
}

.has-dropdown { position: relative; }
.has-dropdown > a::after {
  content: '▾';
  margin-left: 4px;
  font-size: 9px;
  color: rgba(255,255,255,0.4);
}
.dropdown {
  position: absolute;
  top: 100%;
  left: -16px;
  min-width: 240px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.2s;
}
.has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown a {
  display: block;
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 13px;
  color: var(--text);
  transition: all 0.15s;
}
.dropdown a:hover {
  background: var(--primary-pale);
  color: var(--primary);
}
.dropdown a strong {
  display: block;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 2px;
  font-size: 14px;
}
.dropdown a small { font-size: 11px; color: var(--text-3); }

.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-lang {
  display: flex;
  gap: 0;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 6px;
  overflow: hidden;
}
.nav-lang a {
  padding: 5px 10px;
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  transition: all 0.2s;
}
.nav-lang a.active, .nav-lang a:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
}
.nav-cart {
  position: relative;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.75);
  transition: all 0.2s;
}
.nav-cart:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.cart-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--primary);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--dark);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 22px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  font-family: inherit;
  white-space: nowrap;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover {
  background: var(--primary-dark);
}
.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.btn-dark {
  background: var(--ink);
  color: #fff;
}
.btn-dark:hover {
  background: var(--dark-3);
}
.btn-lg { padding: 14px 28px; font-size: 14px; border-radius: 8px; }
.btn-block { width: 100%; }

/* === 通用 section === */
.section { padding: 80px 0; }
.section-dark {
  background: var(--dark);
  color: #fff;
}
.section-light { background: #fff; }
.section-grey { background: var(--bg-2); }

.section-header { margin-bottom: 48px; }
.section-header.center { text-align: center; }
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 107, 26, 0.08);
  color: var(--primary);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 4px;
  margin-bottom: 14px;
  letter-spacing: 0.02em;
}
.section-eyebrow::before {
  content: '';
  width: 5px;
  height: 5px;
  background: var(--primary);
  border-radius: 50%;
}
.section-dark .section-eyebrow {
  background: rgba(255, 107, 26, 0.15);
}

.section-title {
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
}
.section-dark .section-title { color: #fff; }
.section-title .accent { color: var(--primary); }

.section-desc {
  font-size: 15px;
  color: var(--text-2);
  max-width: 720px;
  line-height: 1.75;
}
.section-header.center .section-desc { margin: 0 auto; }
.section-dark .section-desc { color: rgba(255,255,255,0.6); }

/* === Footer === */
footer {
  background: var(--dark);
  color: rgba(255,255,255,0.6);
  padding: 56px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 0.8fr 1.2fr;
  gap: 48px;
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .logo { color: #fff; margin-bottom: 18px; }
.footer-brand p {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  margin-bottom: 20px;
  max-width: 300px;
}
.footer-qr { display: flex; gap: 14px; }
.qr-card { width: 88px; text-align: center; }
.qr-img {
  width: 88px;
  height: 88px;
  background: #fff;
  border-radius: 6px;
  margin-bottom: 6px;
  background-image: 
    repeating-linear-gradient(0deg, transparent, transparent 4px, #000 4px, #000 5px),
    repeating-linear-gradient(90deg, transparent, transparent 4px, #000 4px, #000 5px);
  background-size: 5px 5px;
  background-blend-mode: multiply;
}
.qr-label { font-size: 11px; color: rgba(255,255,255,0.5); }

.footer-col h4 {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--primary-light); }

.footer-contact-line {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 10px;
  line-height: 1.6;
}
.footer-contact-line svg {
  width: 13px;
  height: 13px;
  margin-top: 4px;
  color: var(--primary);
  flex-shrink: 0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: rgba(255,255,255,0.35);
}
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a {
  color: rgba(255,255,255,0.4);
  transition: color 0.2s;
}
.footer-bottom-links a:hover { color: var(--primary-light); }

/* === 浮动联系 === */
.float-contact {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 40;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.fc-btn {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text);
  transition: all 0.2s;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  position: relative;
}
.fc-btn:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.fc-btn.primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.fc-btn.primary:hover { background: var(--primary-dark); }
.fc-btn .badge-mini {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--primary);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
}

/* === 响应 === */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .section { padding: 60px 0; }
}
@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr; }
  .topbar { display: none; }
  .nav-actions .nav-lang { display: none; }
}
