/* 西安惟度教育科技有限公司 - 全局共享样式 (v10) */

:root {
  --wd-navy: #0F172A;
  --wd-off-black: #1E293B;
  --wd-white: #FFFFFF;
  --wd-off-white: #FAFAFA;
  --wd-slate: #64748B;
  --wd-slate-dark: #475569;
  --wd-slate-light: #94A3B8;
  --wd-light: #F8FAFC;
  --wd-border: #E2E8F0;
  --wd-border-light: #F1F5F9;
  
  --wd-accent: #4F46E5;
  --wd-accent-dark: #4338CA;
  --wd-accent-light: #E0E7FF;
  
  --wd-src-from: #4F46E5;
  --wd-src-to: #7C3AED;
  --wd-grd-from: #10B981;
  --wd-grd-to: #34D399;
  --wd-abid-from: #F59E0B;
  --wd-abid-to: #F97316;
  --wd-sonar-from: #8B5CF6;
  --wd-sonar-to: #A78BFA;
  
  --wd-focus-ring: #818CF8;
  --wd-focus-ring-offset: 2px;
  
  --wd-shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04);
  --wd-shadow-md: 0 4px 12px rgba(15, 23, 42, 0.06);
  --wd-shadow-lg: 0 12px 32px rgba(15, 23, 42, 0.08);
  --wd-shadow-xl: 0 20px 48px rgba(15, 23, 42, 0.10);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', -apple-system, BlinkMacSystemFont, 'SF Pro Display', sans-serif;
  background: var(--wd-white);
  color: var(--wd-off-black);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: tabular-nums;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Header */
.wd-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 72px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--wd-border);
  z-index: 100;
}
.wd-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  height: 100%;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.wd-logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; color: var(--wd-navy); text-decoration: none; }
.wd-logo img { height: 36px; width: auto; display: block; }
.wd-logo-icon { width: 32px; height: 32px; background: linear-gradient(135deg, var(--wd-src-from), var(--wd-src-to)); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 14px; }
.wd-nav { display: flex; gap: 32px; }
.wd-nav a { color: var(--wd-slate); text-decoration: none; font-size: 15px; font-weight: 500; transition: color 0.2s; }
.wd-nav a:hover, .wd-nav a.active { color: var(--wd-navy); }
.wd-nav a:focus-visible,
.wd-nav-dropdown-trigger:focus-visible {
  outline: 2px solid var(--wd-focus-ring);
  outline-offset: var(--wd-focus-ring-offset);
  border-radius: 6px;
}

/* Nav dropdown */
.wd-nav-dropdown { position: relative; }
.wd-nav-dropdown > .wd-nav-dropdown-trigger { cursor: pointer; display: inline-flex; align-items: center; gap: 4px; color: var(--wd-slate); font-size: 15px; font-weight: 500; transition: color 0.2s; }
.wd-nav-dropdown > .wd-nav-dropdown-trigger:hover, .wd-nav-dropdown > .wd-nav-dropdown-trigger.active { color: var(--wd-navy); }
.wd-nav-dropdown > .wd-nav-dropdown-trigger::after {
  content: '';
  display: inline-block;
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid currentColor;
  transition: transform 0.2s;
}
.wd-nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 180px;
  background: #fff;
  border: 1px solid var(--wd-border);
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(15,23,42,0.1);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  z-index: 110;
}
.wd-nav-dropdown:hover .wd-nav-dropdown-menu,
.wd-nav-dropdown.wd-dropdown-open .wd-nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.wd-nav-dropdown:hover .wd-nav-dropdown-trigger::after {
  transform: rotate(180deg);
}
.wd-nav-dropdown-menu a {
  display: block;
  padding: 10px 20px;
  color: var(--wd-slate);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}
.wd-nav-dropdown-menu a:hover {
  background: var(--wd-light);
  color: var(--wd-navy);
}
.wd-nav-dropdown-menu a .dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  margin-right: 8px;
  vertical-align: middle;
}
.wd-header-actions { display: flex; gap: 18px; align-items: center; }
.wd-icon-btn { width: 44px; height: 44px; border-radius: 10px; display: flex; align-items: center; justify-content: center; color: var(--wd-slate); cursor: pointer; transition: all 0.2s; border: none; background: transparent; }
.wd-icon-btn:hover { background: var(--wd-light); color: var(--wd-navy); }
.wd-icon-btn:focus-visible {
  outline: 2px solid var(--wd-focus-ring);
  outline-offset: var(--wd-focus-ring-offset);
}
.wd-mobile-menu-btn { display: none; }

/* Container */
.wd-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* Section base */
.wd-section { padding: 140px 0; }
.wd-section-title { 
  font-size: 40px; 
  font-weight: 800; 
  color: var(--wd-navy); 
  text-align: center; 
  margin-bottom: 16px; 
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.wd-section-subtitle { 
  text-align: center; 
  color: var(--wd-slate); 
  font-size: 18px; 
  max-width: 65ch; 
  margin: 0 auto 72px; 
  line-height: 1.75;
}

/* Buttons */
.wd-btn { 
  display: inline-flex; 
  align-items: center; 
  justify-content: center; 
  gap: 8px; 
  padding: 14px 28px; 
  border-radius: 10px; 
  font-weight: 600; 
  font-size: 15px; 
  cursor: pointer; 
  transition: transform 0.15s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease; 
  border: none; 
  text-decoration: none; 
  min-height: 44px; 
  white-space: nowrap;
}
.wd-btn-primary { 
  background: var(--wd-accent); 
  color: #fff; 
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.2); 
}
.wd-btn-primary:hover { 
  background: var(--wd-accent-dark); 
  transform: translateY(-1px); 
  box-shadow: 0 6px 16px rgba(79, 70, 229, 0.25); 
}
.wd-btn-primary:active { 
  transform: translateY(0); 
  box-shadow: 0 2px 8px rgba(79, 70, 229, 0.2); 
}
.wd-btn-primary:focus-visible {
  outline: 2px solid var(--wd-focus-ring);
  outline-offset: var(--wd-focus-ring-offset);
}
.wd-btn-outline { 
  background: transparent; 
  color: var(--wd-navy); 
  border: 1.5px solid var(--wd-border); 
}
.wd-btn-outline:hover { 
  border-color: var(--wd-accent); 
  color: var(--wd-accent); 
}
.wd-btn-outline:active { 
  transform: scale(0.98); 
}
.wd-btn-outline:focus-visible {
  outline: 2px solid var(--wd-focus-ring);
  outline-offset: var(--wd-focus-ring-offset);
}
.wd-btn-ghost { background: transparent; color: var(--wd-navy); }
.wd-btn-ghost:hover { background: var(--wd-light); }
.wd-btn-ghost:active { transform: scale(0.98); }
.wd-btn-ghost:focus-visible {
  outline: 2px solid var(--wd-focus-ring);
  outline-offset: var(--wd-focus-ring-offset);
}
.wd-btn-sm { padding: 10px 20px; font-size: 14px; min-height: 36px; }

/* Hero */
.wd-hero { 
  min-height: 100vh; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  background: linear-gradient(180deg, var(--wd-white) 0%, var(--wd-light) 100%); 
  padding-top: 72px; 
  text-align: center; 
  position: relative;
  overflow: hidden;
}
.wd-hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(79, 70, 229, 0.06) 0%, transparent 70%);
  border-radius: 50%;
}
.wd-hero::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.04) 0%, transparent 70%);
  border-radius: 50%;
}
.wd-hero-inner { position: relative; z-index: 1; }
.wd-hero h1 { 
  font-size: 58px; 
  font-weight: 800; 
  line-height: 1.1; 
  margin-bottom: 24px; 
  color: var(--wd-navy); 
  letter-spacing: -0.025em;
}
.wd-hero h1 span { color: var(--wd-accent); font-weight: 900; }
.wd-hero p { 
  font-size: 19px; 
  color: var(--wd-slate); 
  max-width: 65ch; 
  margin: 0 auto 40px; 
  line-height: 1.75;
}
.wd-hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* Hero 用户标签 */
.wd-hero-users { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 24px; flex-wrap: wrap; }
.wd-hero-user-label { font-size: 14px; color: #64748B; font-weight: 500; }
.wd-hero-user-tag { display: inline-flex; align-items: center; gap: 5px; padding: 6px 12px; background: #F1F5F9; border-radius: 20px; font-size: 13px; color: #475569; font-weight: 500; }
.wd-hero-user-tag svg { width: 14px; height: 14px; stroke: #64748B; }
.wd-hero-user-tag:hover { background: #E0E7FF; color: #4F46E5; }
.wd-hero-user-tag:hover svg { stroke: #4F46E5; }

/* Hero 产品卡片 */
.wd-hero-products { display: flex; justify-content: center; gap: 16px; margin: 32px 0; flex-wrap: wrap; }
.wd-hero-product-item { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 18px 24px; border-radius: 16px; color: #fff; text-decoration: none; transition: transform .2s, box-shadow .2s; min-width: 120px; }
.wd-hero-product-item:hover { transform: translateY(-3px); box-shadow: 0 12px 24px rgba(0,0,0,.15); }
.wd-hero-product-name { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.wd-hero-product-desc { font-size: 12px; opacity: .85; }
@media (max-width: 768px) {
  .wd-hero-products { gap: 12px; }
  .wd-hero-product-item { padding: 14px 18px; min-width: 100px; }
  .wd-hero-product-name { font-size: 14px; }
  .wd-hero-product-desc { font-size: 11px; }
}

/* Cards */
.wd-card-grid { 
  display: grid; 
  grid-template-columns: repeat(2, 1fr); 
  gap: 28px; 
}
.wd-card {
  background: var(--wd-white);
  border: 1px solid var(--wd-border);
  border-radius: 16px;
  padding: 44px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}
.wd-card:hover { 
  transform: translateY(-6px); 
  box-shadow: var(--wd-shadow-lg);
  border-color: rgba(79, 70, 229, 0.15);
}
.wd-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--wd-accent);
}
.wd-card-src::before { background: var(--wd-accent); }
.wd-card-grd::before { background: var(--wd-grd-from); }
.wd-card-abid::before { background: var(--wd-abid-from); }
.wd-card-sonar::before { background: var(--wd-sonar-from); }

.wd-card h3 { font-size: 24px; font-weight: 800; margin-bottom: 14px; letter-spacing: -0.01em; }
.wd-card p { color: var(--wd-slate); margin-bottom: 28px; line-height: 1.7; }
.wd-card-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* 产品截图 */
.wd-screenshot { width: 100%; border-radius: 10px; margin-top: 16px; border: 1px solid var(--wd-border); transition: transform .3s ease, box-shadow .3s ease; }

.wd-screenshot:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.1); }

.wd-screenshot-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; margin-top: 32px; }

.wd-screenshot-grid img { width: 100%; border-radius: 12px; border: 1px solid var(--wd-border); box-shadow: 0 4px 16px rgba(0,0,0,.06); transition: transform .3s ease, box-shadow .3s ease; cursor: pointer; }

.wd-screenshot-grid img:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(0,0,0,.12); }

/* 图片放大预览（Lightbox） */
.wd-lightbox { display: none; position: fixed; z-index: 9999; left: 0; top: 0; width: 100%; height: 100%; background: rgba(0,0,0,.85); justify-content: center; align-items: center; }
.wd-lightbox.active { display: flex; }
.wd-lightbox-close { position: absolute; top: 20px; right: 30px; font-size: 36px; color: #fff; cursor: pointer; line-height: 1; opacity: .7; transition: opacity .2s; border: none; background: none; }
.wd-lightbox-close:hover { opacity: 1; }
.wd-lightbox img { max-width: 90%; max-height: 90%; border-radius: 8px; box-shadow: 0 8px 40px rgba(0,0,0,.4); object-fit: contain; }

@media (max-width:768px) { .wd-screenshot-grid { grid-template-columns: 1fr; } .wd-screenshot-grid[style*="4,1fr"] { grid-template-columns: repeat(2,1fr) !important; } #about-grid { grid-template-columns: repeat(2,1fr) !important; gap: 12px !important; } }
@media (max-width:480px) { .wd-screenshot-grid[style*="4,1fr"] { grid-template-columns: 1fr !important; } #about-grid { grid-template-columns: 1fr !important; } }

.wd-value-card { 
  background: var(--wd-white); 
  border: 1px solid var(--wd-border); 
  border-radius: 16px; 
  padding: 36px; 
  text-align: center; 
  transition: all 0.25s ease; 
}
.wd-value-card:hover { 
  transform: translateY(-4px); 
  box-shadow: var(--wd-shadow-md);
  border-color: rgba(79, 70, 229, 0.1);
}
.wd-value-card .icon { 
  width: 56px; 
  height: 56px; 
  margin: 0 auto 20px; 
  border-radius: 14px; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  font-size: 24px; 
  color: #fff; 
  transition: transform 0.25s ease;
}
.wd-value-card:hover .icon {
  transform: scale(1.05);
}
.wd-value-card h4 { font-size: 18px; font-weight: 800; margin-bottom: 10px; letter-spacing: -0.01em; }
.wd-value-card p { color: var(--wd-slate); font-size: 14px; line-height: 1.65; }

/* ====== 首页新布局样式 ====== */

/* 板块一：品牌Hero区 */
.wd-hero-brand { background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%); color: #fff; }
.wd-hero-main-title { font-size: 42px; font-weight: 700; margin-bottom: 24px; line-height: 1.3; color: #fff !important; }
.wd-hero-main-title span { color: #F59E0B !important; }
.wd-hero-subtitle { font-size: 17px; color: rgba(255,255,255,0.9) !important; margin-bottom: 32px; line-height: 1.8; max-width: 720px; }
.wd-hero-brand-bar { margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.15); display: flex; align-items: center; gap: 16px; }
.wd-hero-brand-name { font-size: 18px; font-weight: 700; color: #F59E0B; }
.wd-hero-brand-tagline { font-size: 14px; color: rgba(255,255,255,0.6); }

/* 大按钮 */
.wd-btn-lg { padding: 14px 32px; font-size: 16px; font-weight: 600; }
.wd-hero-actions .wd-btn-outline { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.3); color: #fff; display: inline-flex; align-items: center; gap: 8px; }
.wd-hero-actions .wd-btn-outline:hover { background: rgba(255,255,255,0.2); }

/* 板块二：产品场景入口 */
.wd-scenes-section { padding: 100px 0; background: var(--wd-light); }
.wd-scenes-grid { 
  display: grid; 
  grid-template-columns: repeat(2, 1fr); 
  gap: 24px; 
  margin-top: 48px; 
}
.wd-scene-card { 
  background: var(--wd-white); 
  border-radius: 16px; 
  padding: 36px; 
  text-decoration: none; 
  color: inherit; 
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease; 
  border: 1px solid var(--wd-border); 
  display: block; 
  position: relative;
}
.wd-scene-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--wd-accent);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}
.wd-scene-card:hover { 
  transform: translateY(-5px); 
  box-shadow: var(--wd-shadow-lg);
  border-color: rgba(79, 70, 229, 0.1);
}
.wd-scene-card:hover::after {
  transform: scaleX(1);
}
.wd-scene-icon { font-size: 48px; margin-bottom: 16px; }
.wd-scene-title { font-size: 22px; font-weight: 800; margin-bottom: 8px; letter-spacing: -0.01em; }
.wd-scene-desc { font-size: 15px; color: var(--wd-slate); margin-bottom: 16px; line-height: 1.65; }
.wd-scene-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.wd-scene-tag { font-size: 12px; color: var(--wd-slate-light); background: var(--wd-border-light); padding: 4px 12px; border-radius: 12px; font-weight: 500; }
.wd-scene-badge { font-size: 13px; font-weight: 600; padding: 8px 16px; border-radius: 12px; display: inline-block; }
.wd-scene-src .wd-scene-badge { background: var(--wd-accent-light); color: var(--wd-accent); }
.wd-scene-grd .wd-scene-badge { background: #D1FAE5; color: #10B981; }
.wd-scene-abid .wd-scene-badge { background: #FEF3C7; color: #F59E0B; }
.wd-scene-sonar .wd-scene-badge { background: #FCE7F3; color: #8B5CF6; }

/* 板块三：核心理念阐释 */
.wd-principles-section { padding: 100px 0; }
.wd-principles-grid { 
  display: grid; 
  grid-template-columns: repeat(3, 1fr); 
  gap: 32px; 
  margin-top: 48px; 
}
.wd-principle-card { 
  background: var(--wd-white); 
  border-radius: 16px; 
  padding: 44px 36px; 
  text-align: center; 
  border: 1px solid var(--wd-border); 
  transition: all 0.25s ease; 
}
.wd-principle-card:hover { 
  box-shadow: var(--wd-shadow-md);
  border-color: rgba(79, 70, 229, 0.1);
  transform: translateY(-3px);
}
.wd-principle-icon { 
  width: 64px; 
  height: 64px; 
  margin: 0 auto 24px; 
  background: var(--wd-accent); 
  border-radius: 16px; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  color: #fff; 
  transition: transform 0.25s ease;
}
.wd-principle-card:hover .wd-principle-icon {
  transform: scale(1.05);
}
.wd-principle-icon svg { width: 28px; height: 28px; }
.wd-principle-title { font-size: 19px; font-weight: 800; margin-bottom: 16px; color: var(--wd-navy); letter-spacing: -0.01em; }
.wd-principle-desc { font-size: 15px; color: var(--wd-slate); line-height: 1.75; }

/* 板块四：信任背书 */
.wd-trust-section { padding: 80px 0; background: var(--wd-light); }
.wd-trust-grid { 
  display: grid; 
  grid-template-columns: repeat(4, 1fr); 
  gap: 20px; 
}
.wd-trust-item { 
  background: var(--wd-white); 
  border-radius: 14px; 
  padding: 28px 20px; 
  text-align: center; 
  display: flex; 
  flex-direction: column; 
  align-items: center; 
  gap: 14px; 
  border: 1px solid var(--wd-border); 
  transition: all 0.2s ease;
}
.wd-trust-item:hover {
  border-color: rgba(79, 70, 229, 0.15);
  background: var(--wd-off-white);
}
.wd-trust-item svg { width: 36px; height: 36px; stroke: var(--wd-accent); }
.wd-trust-item span { font-size: 14px; color: var(--wd-slate-dark); font-weight: 600; line-height: 1.5; }

/* 板块五：底部转化区 */
.wd-cta-section { 
  padding: 100px 0; 
  background: linear-gradient(135deg, var(--wd-accent), var(--wd-src-to)); 
  text-align: center; 
  position: relative;
  overflow: hidden;
}
.wd-cta-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}
.wd-cta-section::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
  border-radius: 50%;
}
.wd-cta-inner { position: relative; z-index: 1; }
.wd-cta-title { 
  font-size: 36px; 
  font-weight: 800; 
  color: #fff; 
  margin-bottom: 16px; 
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.wd-cta-subtitle { font-size: 19px; color: rgba(255,255,255,0.9); margin-bottom: 36px; line-height: 1.7; }
.wd-cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.wd-cta-actions .wd-btn-primary { background: #fff; color: var(--wd-accent); font-weight: 700; }
.wd-cta-actions .wd-btn-primary:hover { background: var(--wd-off-white); }
.wd-cta-actions .wd-btn-outline { background: transparent; border: 1.5px solid rgba(255,255,255,0.5); color: #fff; }
.wd-cta-actions .wd-btn-outline:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.7); }
.wd-cta-footnote { font-size: 13px; color: rgba(255,255,255,0.6); margin-top: 24px; }

/* 响应式 */
@media (max-width: 1024px) {
  .wd-scenes-grid { grid-template-columns: repeat(2, 1fr); }
  .wd-principles-grid { grid-template-columns: repeat(2, 1fr); }
  .wd-trust-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .wd-hero-main-title { font-size: 28px; }
  .wd-hero-subtitle { font-size: 15px; }
  .wd-scenes-grid { grid-template-columns: 1fr; gap: 16px; }
  .wd-principles-grid { grid-template-columns: 1fr; }
  .wd-trust-grid { grid-template-columns: repeat(2, 1fr); }
  .wd-scene-card { padding: 24px; }
  .wd-principle-card { padding: 32px 24px; }
}
@media (max-width: 480px) {
  .wd-trust-grid { grid-template-columns: 1fr; }
  .wd-hero-brand-bar { flex-direction: column; align-items: flex-start; gap: 8px; }
}

/* Footer */
.wd-footer { background: #F8FAFC; color: #64748B; padding: 64px 0 32px; }
.wd-footer-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.wd-footer-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 32px; flex-wrap: wrap; gap: 24px; }
.wd-footer-top > div:first-child { display: flex; flex-direction: column; align-items: flex-start; }
.wd-footer-brand { color: #0F172A; font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.wd-footer-brand img { height: 48px !important; width: auto !important; display: block; }
.wd-footer-tagline { color: #64748B; font-size: 16px; align-self: flex-end; }
.wd-footer-qr { width: 96px; height: 96px; background: #fff; border-radius: 12px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.wd-footer-qr img { width: 100%; height: 100%; object-fit: cover; }
.wd-footer-bottom { border-top: 1px solid #E2E8F0; padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.wd-footer-meta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.wd-footer-company { color: #64748B; font-size: 14px; }
.wd-footer-icp { color: #64748B; font-size: 14px; }
.wd-footer-ga a { color: #64748B; text-decoration: none; font-size: 14px; display: inline-flex; align-items: center; }
.wd-footer-ga a:hover { color: #0F172A; }
.wd-footer-links { display: flex; gap: 24px; }
.wd-footer-links a { color: #64748B; text-decoration: none; font-size: 14px; transition: color 0.2s; }
.wd-footer-links a:hover { color: #0F172A; }
@media (max-width: 768px) {
  .wd-footer-meta { flex-direction: column; align-items: flex-start; gap: 8px; }
}

/* 联系方式 - 二维码 */
.wd-contact-qr { width: 140px; height: 140px; background: #F8FAFC; border: 1px solid #E2E8F0; border-radius: 14px; display: flex; align-items: center; justify-content: center; overflow: hidden; margin-top: 8px; }
.wd-contact-qr img { width: 100%; height: 100%; object-fit: cover; }

/* Form */
.wd-form-group { margin-bottom: 20px; }
.wd-form-group label { display: block; font-size: 14px; font-weight: 500; color: var(--wd-navy); margin-bottom: 6px; }
.wd-form-group input,
.wd-form-group select,
.wd-form-group textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--wd-border); border-radius: 10px;
  font-size: 15px; font-family: inherit; background: #fff; color: var(--wd-navy);
  transition: border-color 0.2s;
}
.wd-form-group input:focus,
.wd-form-group select:focus,
.wd-form-group textarea:focus { outline: none; border-color: var(--wd-src-from); }
.wd-form-group textarea { resize: vertical; min-height: 120px; }

/* Toast */
.wd-toast {
  position: fixed; top: 92px; left: 50%; transform: translateX(-50%) translateY(-20px);
  background: var(--wd-navy); color: #fff; padding: 14px 28px; border-radius: 10px;
  font-size: 14px; opacity: 0; pointer-events: none; transition: all 0.3s; z-index: 200;
}
.wd-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* Page header */
.wd-page-header { background: linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 100%); padding: 140px 0 80px; text-align: center; }
.wd-page-header h1 { font-size: 42px; font-weight: 700; margin-bottom: 12px; }
.wd-page-header p { color: var(--wd-slate); font-size: 17px; }

/* Support / Contact grids */
.wd-service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.wd-service-card { background: #fff; border: 1px solid var(--wd-border); border-radius: 16px; padding: 32px; transition: all 0.3s; }
.wd-service-card:hover { box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06); }
.wd-service-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 12px; }
.wd-service-card p { color: var(--wd-slate); font-size: 14px; margin-bottom: 16px; }

.wd-contact-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; }
.wd-contact-info h3 { font-size: 22px; font-weight: 700; margin-bottom: 24px; }
.wd-contact-item { margin-bottom: 20px; }
.wd-contact-item label { font-size: 13px; color: var(--wd-slate); display: block; margin-bottom: 4px; }
.wd-contact-item p { font-size: 16px; color: var(--wd-navy); font-weight: 500; }

/* Legal */
.wd-legal-layout { display: grid; grid-template-columns: 260px 1fr; gap: 48px; }
.wd-legal-nav { position: sticky; top: 100px; height: fit-content; }
.wd-legal-nav a { display: block; padding: 10px 16px; border-radius: 8px; color: var(--wd-slate); text-decoration: none; font-size: 15px; margin-bottom: 4px; }
.wd-legal-nav a:hover, .wd-legal-nav a.active { background: var(--wd-light); color: var(--wd-navy); }
.wd-legal-content { background: #fff; border: 1px solid var(--wd-border); border-radius: 20px; padding: 48px; }
.wd-legal-content h2 { font-size: 28px; margin-bottom: 24px; }
.wd-legal-content h3 { font-size: 20px; margin: 32px 0 12px; }
.wd-legal-content p { color: var(--wd-slate); margin-bottom: 12px; }

/* 合作联络页面双栏布局 */
.wd-contact-split {
  grid-template-columns: 1fr 1.4fr;
}

/* 首页：信任条 */
.wd-trust-bar { display:flex; justify-content:center; gap:32px; margin-top:36px; flex-wrap:wrap; }
.wd-trust-bar span { display:inline-flex; align-items:center; gap:6px; font-size:14px; color:var(--wd-slate); }
.wd-trust-bar svg { width:16px; height:16px; flex-shrink:0; color:#10B981; }

/* 首页：价格简览 */
.wd-price-strip { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; max-width:960px; margin:0 auto; }
.wd-price-item { background:#fff; border:1px solid var(--wd-border); border-radius:14px; padding:24px 20px; text-align:center; transition:all .3s; }
.wd-price-item:hover { transform:translateY(-4px); box-shadow:0 12px 28px rgba(15,23,42,.06); }
.wd-price-item.popular { border-color:var(--wd-src-from); border-width:2px; }
.wd-price-item .name { font-size:16px; font-weight:700; color:var(--wd-navy); margin-bottom:6px; }
.wd-price-item .price { font-size:32px; font-weight:800; color:var(--wd-src-from); margin:8px 0 4px; }
.wd-price-item .price small { font-size:14px; font-weight:400; color:#94A3B8; }
.wd-price-item .desc { font-size:13px; color:var(--wd-slate); line-height:1.6; margin-bottom:14px; }
.wd-price-item .btn { display:inline-block; padding:8px 18px; border-radius:8px; font-size:13px; font-weight:600; text-decoration:none; transition:all .2s; }
.wd-price-item .btn-primary { background:linear-gradient(135deg,var(--wd-src-from),var(--wd-src-to)); color:#fff; }
.wd-price-item .btn-primary:hover { transform:translateY(-1px); box-shadow:0 6px 16px rgba(79,70,229,.3); }
.wd-price-item .btn-outline { background:transparent; color:var(--wd-navy); border:1px solid var(--wd-border); }
.wd-price-item .btn-outline:hover { border-color:var(--wd-navy); }

/* 首页：场景卡片 */
.wd-scene-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.wd-scene-card { background:#fff; border:1px solid var(--wd-border); border-radius:14px; padding:24px; transition:all .3s; }
.wd-scene-card:hover { transform:translateY(-4px); box-shadow:0 12px 28px rgba(15,23,42,.06); }
.wd-scene-card .scene-icon { width:40px; height:40px; border-radius:10px; display:flex; align-items:center; justify-content:center; margin-bottom:14px; color:#fff; }
.wd-scene-card h4 { font-size:16px; font-weight:700; margin-bottom:6px; color:var(--wd-navy); }
.wd-scene-card p { font-size:13px; color:var(--wd-slate); line-height:1.6; margin:0; }

/* 首页：数字指标 */
.wd-stats { display:flex; justify-content:center; gap:48px; flex-wrap:wrap; margin-top:32px; }
.wd-stat-item { text-align:center; }
.wd-stat-item .num { font-size: 36px; font-weight: 800; color: var(--wd-src-from); }
.wd-stat-item .label { font-size:13px; color:var(--wd-slate); margin-top:4px; }

/* 响应式 */
@media (max-width: 768px) {
  .wd-hero h1 { font-size: 36px; }
  .wd-hero p { font-size: 16px; }
  .wd-section { padding: 80px 0; }
  .wd-section-title { font-size: 28px; }
  .wd-card-grid,
  .wd-service-grid,
  .wd-contact-layout,
  .wd-legal-layout,
  .wd-contact-split,
  .wd-price-strip,
  .wd-scene-grid { grid-template-columns: 1fr !important; }
  .wd-nav { display: none; }
  .wd-mobile-menu-btn { display: flex; }
  .wd-card { padding: 28px; }
  .wd-card h3 { font-size: 20px; }
  .wd-page-header h1 { font-size: 32px; }
  .wd-stats { gap: 24px; }
  .wd-stat-item .num { font-size: 28px; }
  body { font-size: 15px; }

  /* Mobile dropdown */
  .wd-nav-dropdown-menu {
    position: static;
    transform-origin: top center;
    transform: scaleY(0) !important;
    box-shadow: none;
    border: none;
    background: var(--wd-light);
    border-radius: 8px;
    padding: 8px 0;
    margin-top: 4px;
    opacity: 0;
    visibility: hidden;
    transition: transform 0.25s ease, opacity 0.25s ease, visibility 0.25s ease;
    max-height: 300px;
    overflow: hidden;
  }
  .wd-nav-dropdown.wd-dropdown-open .wd-nav-dropdown-menu {
    transform: scaleY(1) !important;
    opacity: 1;
    visibility: visible;
  }
}

/* ============== 头部用户区 ============== */
.wd-user-area { display: flex; align-items: center; }
.wd-login-btn {
  padding: 8px 18px; background: var(--wd-src-from); color: #fff;
  border: none; border-radius: 8px; font-size: 14px; cursor: pointer;
  transition: background 0.2s;
  min-height: 40px;
}
.wd-login-btn:hover { background: #4338CA; }
.wd-login-btn:focus-visible {
  outline: 2px solid var(--wd-focus-ring);
  outline-offset: var(--wd-focus-ring-offset);
}
.wd-user-logged {
  position: relative; display: flex; align-items: center; gap: 8px;
  cursor: pointer; padding: 4px 8px; border-radius: 8px;
  transition: background 0.2s;
}
.wd-user-logged:hover { background: #F1F5F9; }
.wd-user-avatar {
  width: 32px; height: 32px; border-radius: 50%; object-fit: cover;
  border: 1px solid #E2E8F0;
}
.wd-user-name { font-size: 14px; color: var(--wd-navy); max-width: 100px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wd-user-dropdown {
  display: none; position: absolute; top: 100%; right: 0;
  background: #fff; border: 1px solid #E2E8F0; border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08); min-width: 140px;
  z-index: 100; padding: 4px 0;
}
.wd-user-logged:hover .wd-user-dropdown { display: block; }
.wd-user-dropdown a {
  display: block; padding: 8px 16px; font-size: 14px; color: var(--wd-navy);
  text-decoration: none;
}
.wd-user-dropdown a:hover { background: #F1F5F9; }
@media (max-width: 768px) {
  .wd-user-area { margin-right: 8px; }
  .wd-user-name { display: none; }
}

/* ============== PC 端扫码登录弹窗 ============== */
.wd-qr-login-modal {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.5); z-index: 9999;
  display: flex; align-items: center; justify-content: center;
}
.wd-qr-login-box {
  background: #fff; border-radius: 12px; width: 340px; max-width: 90vw;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2); overflow: hidden;
  animation: wd-qr-login-in 0.2s ease;
}
@keyframes wd-qr-login-in {
  from { transform: scale(0.95); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.wd-qr-login-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; border-bottom: 1px solid #E2E8F0;
}
.wd-qr-login-title {
  font-size: 16px; font-weight: 600; color: #1E293B;
}
.wd-qr-login-close {
  font-size: 24px; color: #94A3B8; cursor: pointer; line-height: 1;
  transition: color 0.2s;
}
.wd-qr-login-close:hover { color: #1E293B; }
.wd-qr-login-body {
  padding: 24px 20px; text-align: center;
}
.wd-qr-login-img {
  width: 220px; height: 220px; margin: 0 auto 16px; display: block;
  border: 1px solid #E2E8F0; border-radius: 8px;
}
.wd-qr-login-tip {
  font-size: 14px; color: #475569; margin: 0 0 8px;
}
.wd-qr-login-status {
  font-size: 13px; color: #64748B; margin: 0; min-height: 20px;
}
.wd-qr-login-footer {
  padding: 12px 20px; border-top: 1px solid #E2E8F0; text-align: center;
}
.wd-qr-login-footer a { font-size: 14px; color: #64748B; text-decoration: none; cursor: pointer; }
.wd-qr-login-footer a:hover { color: #1E293B; }

/* 微信引导弹窗（手机浏览器提示在微信中打开） */
.wd-guide-modal {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(15, 23, 42, 0.6); z-index: 300;
  display: flex; align-items: center; justify-content: center;
  animation: wd-fade-in 0.2s ease;
}
.wd-guide-box {
  background: #fff; border-radius: 16px; padding: 36px 32px 28px;
  width: 360px; max-width: 88vw; text-align: center;
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.15);
}
.wd-guide-icon { margin-bottom: 16px; }
.wd-guide-title { font-size: 20px; font-weight: 700; color: #0F172A; margin-bottom: 10px; }
.wd-guide-desc { font-size: 14px; color: #64748B; line-height: 1.8; margin-bottom: 20px; }
.wd-guide-steps { text-align: left; margin-bottom: 24px; }
.wd-guide-step {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 0; font-size: 14px; color: #334155;
  border-bottom: 1px solid #F1F5F9;
}
.wd-guide-step:last-child { border-bottom: none; }
.step-num {
  width: 24px; height: 24px; border-radius: 50%; background: #07C160;
  color: #fff; font-size: 13px; font-weight: 600;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.wd-guide-btn {
  width: 100%; padding: 12px; background: #07C160; color: #fff;
  border: none; border-radius: 10px; font-size: 15px; cursor: pointer;
  transition: background 0.2s;
}
.wd-guide-btn:hover { background: #06AD56; }

@keyframes wd-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (max-width: 480px) {
  .wd-qr-login-box { width: 92vw; }
  .wd-qr-login-img { width: 180px; height: 180px; }
  .wd-guide-box { width: 90vw; padding: 28px 20px 24px; }
}

/* ============== 智能客服悬浮窗 ============== */
.wd-chat-fab {
  position: fixed;
  right: 24px;
  bottom: 32px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: transparent;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  padding: 0;
  overflow: hidden;
}
.wd-chat-fab img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  position: relative;
  z-index: 1;
}
.wd-chat-fab:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}
.wd-chat-fab:active {
  transform: scale(0.95);
}
.wd-chat-fab:focus-visible {
  outline: 2px solid var(--wd-focus-ring);
  outline-offset: 4px;
}

.wd-chat-fab .tooltip {
  position: absolute;
  right: 64px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--wd-navy);
  color: #fff;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s;
  pointer-events: none;
}
.wd-chat-fab:hover .tooltip {
  opacity: 1;
  visibility: visible;
}

.wd-chat-panel {
  position: fixed;
  right: -400px;
  bottom: 100px;
  width: 380px;
  max-height: 600px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  z-index: 1001;
  transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid var(--wd-border);
}
.wd-chat-panel.open {
  right: 24px;
}

.wd-chat-header {
  padding: 20px 24px;
  background: linear-gradient(135deg, #2d6a4f 0%, #40916c 40%, #e8505b 80%, #f9a8ac 100%);
  border-radius: 20px 20px 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
}
.wd-chat-title {
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}
.wd-chat-title .avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 4px;
}
.wd-chat-title .avatar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.wd-chat-close {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.wd-chat-close:hover {
  background: rgba(255, 255, 255, 0.3);
}

.wd-chat-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.wd-chat-body::-webkit-scrollbar {
  width: 4px;
}
.wd-chat-body::-webkit-scrollbar-track {
  background: transparent;
}
.wd-chat-body::-webkit-scrollbar-thumb {
  background: #E2E8F0;
  border-radius: 2px;
}

.wd-chat-message {
  display: flex;
  gap: 10px;
  max-width: 100%;
}
.wd-chat-message.user {
  flex-direction: row-reverse;
}
.wd-chat-message.user .bubble {
  background: linear-gradient(135deg, #40916c, #52b788);
  color: #fff;
  border-radius: 16px 4px 16px 16px;
}
.wd-chat-message.ai {
  flex-direction: row;
}
.wd-chat-message.ai .bubble {
  background: #F1F5F9;
  color: var(--wd-navy);
  border-radius: 4px 16px 16px 16px;
}

.wd-chat-message .avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.wd-chat-message.user .avatar {
  background: var(--wd-accent);
  color: #fff;
}
.wd-chat-message.ai .avatar {
  background: linear-gradient(135deg, #2d6a4f, #e8505b);
  color: #fff;
}

.wd-chat-message .bubble {
  padding: 12px 16px;
  font-size: 14px;
  line-height: 1.65;
  max-width: 75%;
  word-break: break-word;
}

.wd-chat-sources {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed #E2E8F0;
}
.wd-chat-source-item {
  font-size: 12px;
  color: var(--wd-slate-light);
  margin-bottom: 4px;
}
.wd-chat-source-item:last-child {
  margin-bottom: 0;
}

.wd-chat-typing {
  display: flex;
  gap: 4px;
  padding: 12px 16px;
  background: #F1F5F9;
  border-radius: 12px;
}
.wd-chat-typing .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--wd-slate-light);
  animation: wd-chat-typing-dot 1.4s infinite ease-in-out;
}
.wd-chat-typing .dot:nth-child(1) { animation-delay: 0s; }
.wd-chat-typing .dot:nth-child(2) { animation-delay: 0.2s; }
.wd-chat-typing .dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes wd-chat-typing-dot {
  0%, 80%, 100% { transform: scale(0.6); opacity: 0.5; }
  40% { transform: scale(1); opacity: 1; }
}

.wd-chat-footer {
  padding: 16px 20px;
  border-top: 1px solid var(--wd-border);
  display: flex;
  gap: 10px;
  background: #fff;
  border-radius: 0 0 20px 20px;
}
.wd-chat-input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid var(--wd-border);
  border-radius: 12px;
  font-size: 14px;
  font-family: inherit;
  background: #F8FAFC;
  transition: border-color 0.2s, background 0.2s;
}
.wd-chat-input:focus {
  outline: none;
  border-color: #40916c;
  background: #fff;
}
.wd-chat-input::placeholder {
  color: var(--wd-slate-light);
}
.wd-chat-send {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #40916c, #e8505b);
  border: none;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.wd-chat-send:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(232, 80, 91, 0.3);
}
.wd-chat-send:active {
  transform: translateY(0);
}
.wd-chat-send:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.wd-chat-product-selector {
  padding: 8px 20px;
  background: #F8FAFC;
  border-bottom: 1px solid var(--wd-border);
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.wd-chat-product-tag {
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  border: 1px solid transparent;
}
.wd-chat-product-tag.active {
  background: var(--wd-accent);
  color: #fff;
}
.wd-chat-product-tag:not(.active) {
  background: #fff;
  color: var(--wd-slate);
  border-color: var(--wd-border);
}
.wd-chat-product-tag:not(.active):hover {
  border-color: var(--wd-accent);
  color: var(--wd-accent);
}
.wd-chat-product-tag.locked {
  opacity: 0.5;
  cursor: not-allowed;
  background: #f1f5f9;
  color: #94a3b8;
  border-color: #e2e8f0;
}
.wd-chat-product-tag.locked:hover {
  border-color: #e2e8f0;
  color: #94a3b8;
}
.wd-chat-product-tag.locked small {
  font-size: 10px;
  margin-left: 2px;
}

@media (max-width: 480px) {
  .wd-chat-fab {
    width: 48px;
    height: 48px;
    right: 16px;
    bottom: 24px;
    font-size: 20px;
  }
  .wd-chat-panel {
    width: calc(100vw - 32px);
    max-height: 70vh;
    right: -100vw;
    bottom: 88px;
  }
  .wd-chat-panel.open {
    right: 16px;
  }
  .wd-chat-message .bubble {
    max-width: 85%;
  }
}

/* 聊天气泡内嵌表格（版本对比等） */
.wd-chat-message .bubble table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  margin: 6px 0;
}
.wd-chat-message .bubble table th,
.wd-chat-message .bubble table td {
  padding: 4px 6px;
  border: 1px solid rgba(255,255,255,0.15);
  text-align: left;
  white-space: nowrap;
}
.wd-chat-message .bubble table th {
  background: rgba(255,255,255,0.08);
  font-weight: 600;
}
.wd-chat-message.user .bubble table th {
  background: rgba(0,0,0,0.08);
}
.wd-chat-message.user .bubble table th,
.wd-chat-message.user .bubble table td {
  border-color: rgba(0,0,0,0.1);
}
.wd-chat-message .bubble .badge-yes {
  color: #22c55e;
  font-weight: 600;
}
.wd-chat-message .bubble .badge-no {
  color: #ef4444;
}
.wd-chat-message .bubble .badge-limit {
  color: #f59e0b;
}

/* ═══ 聊天气泡内操作表单 ═══ */
.chat-action-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 14px;
  margin-top: 6px;
  max-width: 360px;
}
.chat-action-title {
  font-size: 15px;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 4px;
}
.chat-action-desc {
  font-size: 12px;
  color: #94a3b8;
  margin-bottom: 10px;
}
.chat-action-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.chat-action-input {
  width: 100%;
  padding: 8px 10px;
  font-size: 13px;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  background: #fff;
  color: #334155;
  outline: none;
  box-sizing: border-box;
  font-family: inherit;
  resize: vertical;
  transition: border-color 0.15s;
}
.chat-action-input:focus {
  border-color: #40916c;
  box-shadow: 0 0 0 2px rgba(45,106,79,0.12);
}
.chat-action-input::placeholder {
  color: #cbd5e1;
}
.chat-action-btn {
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  background: linear-gradient(135deg, #2d6a4f, #40916c);
  color: #fff;
  align-self: flex-start;
  transition: opacity 0.15s;
}
.chat-action-btn:hover {
  opacity: 0.9;
}
.chat-action-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.chat-action-result {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 13px;
  line-height: 1.5;
}
.chat-action-success {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
}
.chat-action-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #dc2626;
}
