/* ====== 首页新布局样式 ====== */

/* 板块一：品牌Hero区 */
.wd-hero-brand { background: linear-gradient(135deg, var(--wd-off-black) 0%, var(--wd-navy) 100%); color: var(--wd-white); }
/* 首页 Hero 赋能主张行（2026-09-23 内容优化：教育 / 学习 / 个人工作 / 专项 四个赋能方向） */
.wd-hero-kicker { font-size: 13px; font-weight: 600; letter-spacing: .14em; color: var(--wd-amber-200); margin: 0 0 16px; }
.wd-hero-main-title { font-size: clamp(20px, 3.5vw, 42px); font-weight: 700; margin-bottom: 24px; line-height: 1.3; color: var(--wd-white) !important; }
.wd-hero-main-title span { color: #F59E0B !important; font-weight: 800; }
/* 2026-09-23：副标题加左右 auto 外边距——原仅 max-width:720px 无 auto，盒子整体贴左，
   文字虽在盒内居中但视觉落在页面中线左侧（所有者反馈「页面居中」） */
.wd-hero-subtitle { font-size: 17px; color: rgba(255,255,255,0.9) !important; margin: 0 auto 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-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-grd .wd-scene-badge { background: var(--wd-emerald-100); color: #10B981; }
.wd-scene-abid .wd-scene-badge { background: var(--wd-amber-100); color: #F59E0B; }
.wd-scene-sonar .wd-scene-badge { background: var(--wd-pink-100); color: var(--wd-sonar-from); }
.wd-scene-mind .wd-scene-badge { background: var(--wd-accent-light); color: var(--wd-mind-from); }
.wd-scene-gle .wd-scene-badge { background: var(--wd-amber-100); color: var(--wd-gle-from); }
.wd-scene-joy .wd-scene-badge { background: var(--wd-pink-100); color: var(--wd-joy-from); }

/* 板块三：桌面端《惟度·源》免费亮点（2026-09-23 方案 B） */
.wd-hero-free-badge {
  display: inline-block;
  margin-top: 20px;
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--wd-accent);
  color: var(--wd-white);
  font-size: 14px;
  font-weight: 600;
}
.wd-free-section { padding: 100px 0; background: var(--wd-light); }
.wd-free-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.wd-free-item {
  background: var(--wd-white);
  border: 1px solid var(--wd-border);
  border-radius: 14px;
  padding: 28px 24px;
}
.wd-free-item h3 { font-size: 17px; font-weight: 700; color: var(--wd-navy); margin-bottom: 10px; }
.wd-free-item p { font-size: 14px; color: var(--wd-slate); line-height: 1.7; margin: 0; }

/* 板块四：更多产品（宣传：闻 / 和） */
.wd-more-section { padding: 100px 0; }

/* 五端同权（2026-09-23 方案 B）：教师端品牌色 + 五列响应式网格。
   配色走既有 --wd-* 令牌（铁律 5.1 单一真相源），新增令牌与既有色阶同源。 */
.wd-scene-tch .wd-scene-badge { background: var(--wd-accent-light); color: var(--wd-tch-from); }

.wd-scenes-grid--five {
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
@media (max-width: 1199px) {
  .wd-scenes-grid--five { grid-template-columns: repeat(3, 1fr); }
}

/* mind（爱如·思）下架后只有 4 张卡片：≥1200px 时整体居中显示为 4 列 */
.wd-scenes-grid--five:has(.wd-scene-card:nth-child(4):last-child) {
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 1199px) {
  .wd-scenes-grid--five:has(.wd-scene-card:nth-child(4):last-child) {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* 五列模式下隐藏痛点标签，避免窄卡拥挤（>1200px 生效） */
@media (min-width: 1200px) {
  .wd-scenes-grid--five .wd-scene-tags { display: none; }
}

/* 板块五：理念与信任 */
.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; }

/* 板块六：CTA */
.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: var(--wd-white); 
  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-section .wd-btn-primary { background: var(--wd-white); color: var(--wd-accent); font-weight: 700; }
.wd-cta-section .wd-btn-primary:hover { background: var(--wd-off-white); }
.wd-cta-section .wd-btn-outline { background: transparent; border: 1.5px solid rgba(255,255,255,0.5); color: var(--wd-white); }
.wd-cta-section .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-trust-grid { grid-template-columns: repeat(2, 1fr); }
  .wd-free-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .wd-hero-kicker { font-size: 12px; letter-spacing: .1em; }
  .wd-hero-main-title { font-size: clamp(17px, 3.6vw, 28px); }
  .wd-hero-subtitle { font-size: 15px; }
  .wd-scenes-grid { grid-template-columns: 1fr; gap: 16px; }
  .wd-trust-grid { grid-template-columns: repeat(2, 1fr); }
  .wd-free-grid { grid-template-columns: 1fr; }
  .wd-scene-card { padding: 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: var(--wd-light); color: var(--wd-slate); 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: var(--wd-navy); 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: var(--wd-slate); font-size: 16px; align-self: flex-end; }
.wd-footer-qr { width: 96px; height: 96px; background: var(--wd-white); 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 var(--wd-border); 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: var(--wd-slate); font-size: 14px; }
.wd-footer-icp { color: var(--wd-slate); font-size: 14px; }
.wd-footer-ga a { color: var(--wd-slate); text-decoration: none; font-size: 14px; display: inline-flex; align-items: center; }
.wd-footer-ga a:hover { color: var(--wd-navy); }
.wd-footer-links { display: flex; gap: 24px; }
.wd-footer-links a { color: var(--wd-slate); text-decoration: none; font-size: 14px; transition: color 0.2s; }
.wd-footer-links a:hover { color: var(--wd-navy); }
