/* ============================================================
   清大文森大数据研究院 — 首页专用样式
   ============================================================ */

/* Hero */
.home-hero {
  min-height: 620px;
  background: linear-gradient(135deg, var(--primary) 0%, #0f4d99 55%, var(--teal) 100%);
  display: flex; align-items: center;
  padding: 100px 60px 80px;
  position: relative; overflow: hidden;
}
.home-hero::before {
  content: '';
  position: absolute; right: -80px; top: -80px;
  width: 500px; height: 500px; border-radius: 50%;
  background: rgba(255,255,255,.04);
}
.home-hero::after {
  content: '';
  position: absolute; left: 40%; bottom: -100px;
  width: 320px; height: 320px; border-radius: 50%;
  background: rgba(255,255,255,.03);
}
.hero-content { position: relative; z-index: 1; max-width: 680px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px; border-radius: 20px;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.9); font-size: 14px;
  margin-bottom: 28px;
}
.hero-badge .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent2); animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.5;transform:scale(1.4)} }
.home-hero h1 {
  font-size: clamp(36px, 4.5vw, 64px);
  font-weight: 900; color: #fff; line-height: 1.15;
  margin-bottom: 20px;
}
.home-hero h1 em { font-style: normal; color: var(--accent2); }
.home-hero p {
  font-size: 18px; color: rgba(255,255,255,.8);
  max-width: 520px; line-height: 1.85; margin-bottom: 40px;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats {
  display: flex; gap: 48px; margin-top: 60px;
  padding-top: 40px; border-top: 1px solid rgba(255,255,255,.12);
}
.hero-stat .num {
  font-size: 42px; font-weight: 900; color: #fff; line-height: 1;
}
.hero-stat .num sup { font-size: 20px; }
.hero-stat .lbl { font-size: 13px; color: rgba(255,255,255,.65); margin-top: 5px; }
.hero-visual {
  position: absolute; right: 60px; top: 50%; transform: translateY(-50%);
  width: 380px; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.hero-mini-card {
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 14px; padding: 20px;
  transition: var(--transition);
}
.hero-mini-card:hover { background: rgba(255,255,255,.18); transform: translateY(-3px); }
.hero-mini-card .ico { font-size: 30px; margin-bottom: 10px; }
.hero-mini-card .ttl { font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 5px; }
.hero-mini-card .dsc { font-size: 12.5px; color: rgba(255,255,255,.65); line-height: 1.5; }
.hero-mini-card.span2 { grid-column: span 2; }

/* Quick nav */
.quick-nav {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  padding: 0 60px;
  display: flex; overflow-x: auto;
  box-shadow: var(--shadow-sm);
}
.quick-nav a {
  display: flex; align-items: center; gap: 8px;
  padding: 20px 26px;
  font-size: 15px; font-weight: 500; color: var(--text-sub);
  border-bottom: 3px solid transparent; white-space: nowrap;
  transition: var(--transition);
}
.quick-nav a:hover { color: var(--primary); }
.quick-nav a.highlight {
  color: var(--accent); border-bottom-color: var(--accent);
}
.quick-nav a .ico2 { font-size: 18px; }

/* Feature grid */
.feature-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--bg-white); border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden; transition: var(--transition);
  box-shadow: var(--shadow-sm); cursor: pointer;
}
.feature-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.feature-top {
  padding: 32px 28px 24px;
  position: relative;
}
.feature-top::after {
  content: '→';
  position: absolute; right: 24px; top: 28px;
  font-size: 18px; color: var(--border);
  transition: var(--transition);
}
.feature-card:hover .feature-top::after { color: var(--accent); transform: translateX(4px); }
.feature-icon {
  width: 56px; height: 56px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; margin-bottom: 20px;
}
.feature-title { font-size: 19px; font-weight: 700; color: var(--primary); margin-bottom: 8px; }
.feature-desc  { font-size: 15px; color: var(--text-sub); line-height: 1.75; }
.feature-bottom {
  padding: 14px 28px; background: var(--bg-section);
  border-top: 1px solid var(--border);
  font-size: 12.5px; color: var(--text-muted);
  display: flex; align-items: center; gap: 8px;
}

/* News list */
.news-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 32px; }
.news-main-item {
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
  display: flex; gap: 20px; align-items: flex-start;
  cursor: pointer; transition: var(--transition);
}
.news-main-item:last-child { border-bottom: none; }
.news-main-item:hover .ntitle { color: var(--accent); }
.news-date-box {
  min-width: 52px; text-align: center;
  padding: 8px 0;
}
.news-date-box .day { font-size: 30px; font-weight: 800; color: var(--primary); line-height: 1; }
.news-date-box .mon { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.ntitle { font-size: 16px; font-weight: 600; color: var(--text); line-height: 1.5; margin-bottom: 6px; transition: var(--transition); }
.nexcerpt { font-size: 14px; color: var(--text-sub); line-height: 1.7; }
.side-widget {
  background: var(--bg-white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px;
  box-shadow: var(--shadow-sm);
}
.side-widget h3 { font-size: 15px; font-weight: 700; color: var(--primary); margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid var(--accent); }
.side-list li { padding: 10px 0; border-bottom: 1px dashed var(--border); font-size: 14px; color: var(--text-sub); cursor: pointer; transition: var(--transition); }
.side-list li:last-child { border-bottom: none; }
.side-list li:hover { color: var(--accent); padding-left: 4px; }

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  padding: 64px 60px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px;
}
.cta-band h2 { font-size: clamp(22px,2.8vw,36px); font-weight: 800; color: #fff; margin-bottom: 8px; }
.cta-band p  { font-size: 16px; color: rgba(255,255,255,.75); }
.btn-white {
  background: #fff; color: var(--primary); font-weight: 700;
  padding: 14px 36px; border-radius: 50px; white-space: nowrap;
  transition: var(--transition);
}
.btn-white:hover { background: var(--accent2); color: #fff; transform: translateY(-2px); }

/* Responsive home */
@media (max-width: 1100px) {
  .hero-visual { display: none; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .home-hero { padding: 80px 20px 60px; }
  .quick-nav { padding: 0 20px; }
  .feature-grid { grid-template-columns: 1fr; }
  .news-layout { grid-template-columns: 1fr; }
  .cta-band { padding: 48px 20px; flex-direction: column; text-align: center; }
  .hero-stats { gap: 28px; }
}
