/* ========== 蚌埠小咖科技首页 — 统一深色科技风 ========== */

body.home-page {
  --blue-deep: #060e1a;
  --blue-mid: #0f2847;
  --blue-bright: #2563eb;
  --blue-accent: #3b82f6;
  --glass-bg: rgba(255, 255, 255, 0.07);
  --glass-border: rgba(255, 255, 255, 0.12);
  --text-white: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.68);
  --text-dim: rgba(255, 255, 255, 0.48);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text-white);
  line-height: 1.6;
  min-height: 100vh;
  padding-top: var(--nav-height);
  background-color: var(--blue-deep) !important;
  background-image:
    radial-gradient(ellipse 90% 55% at 50% -5%, rgba(37, 99, 235, 0.22) 0%, transparent 58%),
    radial-gradient(ellipse 60% 40% at 100% 20%, rgba(30, 74, 138, 0.15) 0%, transparent 50%),
    linear-gradient(180deg, #0c1e3a 0%, #0a1628 45%, #060e1a 100%) !important;
  background-attachment: fixed;
  position: relative;
  overflow-x: hidden;
}

body.home-page::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.35) 70%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}

body.home-page > *:not(.home-header) {
  position: relative;
  z-index: 1;
}

body.home-page > .home-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

/* ========== Hero ========== */
.home-hero {
  padding: 64px 0 32px;
}
.home-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: center;
  max-width: 720px;
}
.home-hero-tag {
  display: inline-block;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 18px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  letter-spacing: 0.3px;
}
.home-hero-title {
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}
.home-hero-desc {
  font-size: clamp(15px, 1.8vw, 17px);
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.85;
  margin-bottom: 36px;
  max-width: 540px;
}
.home-hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.home-btn-white {
  display: inline-block;
  padding: 12px 28px;
  background: #ffffff;
  color: var(--blue-bright) !important;
  font-size: 15px;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}
.home-btn-white:hover {
  transform: scale(1.04);
  color: #1d4ed8 !important;
}
.home-btn-glass {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: rgba(37, 99, 235, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff !important;
  font-size: 15px;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: transform 0.2s, background 0.2s;
  backdrop-filter: blur(8px);
}
.home-btn-glass:hover {
  background: rgba(37, 99, 235, 0.55);
  transform: scale(1.04);
  color: #fff !important;
}

/* ========== 资讯（瑞士编辑风：三栏卡片） ========== */
.home-articles-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 32px;
  text-align: left;
}
.home-articles-titles h2 {
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
  line-height: 1.3;
}
.home-articles-titles p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.55);
  margin: 0;
}
.home-articles-more {
  flex-shrink: 0;
  font-size: 14px;
  font-weight: 600;
  color: #93c5fd !important;
  text-decoration: none;
  line-height: 1;
  padding: 8px 0;
}
.home-articles-more:hover {
  color: #fff !important;
}
.home-article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.home-article-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 168px;
  padding: 22px 20px;
  text-decoration: none !important;
  color: #fff !important;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
  cursor: pointer;
}
.home-article-card:hover {
  border-color: rgba(96, 165, 250, 0.5);
  background: rgba(255, 255, 255, 0.09);
  transform: translateY(-3px);
  color: #fff !important;
}
.home-article-card time {
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.4) !important;
}
.home-article-card strong {
  display: block;
  font-size: 16px;
  font-weight: 650;
  color: #fff !important;
  line-height: 1.45;
  flex: 1;
}
.home-article-card span {
  display: block;
  font-size: 13px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.52) !important;
  line-height: 1.65;
}
.home-article-card span:empty {
  display: none;
}

/* ========== 数据统计 ========== */
.home-stats {
  padding: 8px 0 56px;
}
.home-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.home-stat-card {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  padding: 28px 20px 24px;
  text-align: center;
  transition: transform 0.25s, border-color 0.25s;
}
.home-stat-card:hover {
  transform: translateY(-3px);
  border-color: rgba(59, 130, 246, 0.35);
}
.home-stat-num {
  font-size: clamp(26px, 2.8vw, 36px);
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
  line-height: 1.2;
  letter-spacing: 0.02em;
}
.home-stat-label {
  font-size: 15px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 6px;
}
.home-stat-desc {
  font-size: 12px;
  color: var(--text-dim);
  line-height: 1.5;
}

/* ========== 下方内容区 — 统一间距与分隔 ========== */
.home-advantages,
.home-services,
.home-articles,
.home-geo,
.home-faq {
  padding: 64px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.home-section-title {
  text-align: center;
  margin-bottom: 40px;
}
.home-section-title h2 {
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}
.home-section-title p {
  font-size: 15px;
  color: var(--text-muted);
}

.home-adv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.home-adv-card {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  padding: 28px 24px;
  transition: transform 0.25s, border-color 0.25s;
}
.home-adv-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.2);
}
.home-adv-card h3 {
  font-size: 17px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 12px;
}
.home-adv-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.75;
}

/* ========== 核心服务 ========== */
.home-svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.home-svc-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 22px 20px;
  transition: transform 0.25s, border-color 0.25s, background 0.25s;
}
.home-svc-card:hover {
  transform: translateY(-3px);
  border-color: rgba(59, 130, 246, 0.4);
  background: rgba(255, 255, 255, 0.09);
}
.home-svc-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 10px;
  line-height: 1.4;
}
.home-svc-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ========== 服务区域 ========== */
.home-geo-inner {
  max-width: 820px;
  margin: 0 auto;
  padding: 32px 36px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  backdrop-filter: blur(10px);
}
.home-geo-inner h2 {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 18px;
  text-align: center;
}
.home-geo-inner p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 14px;
}
.home-geo-inner p:last-child { margin-bottom: 0; }
.home-geo-inner strong { color: rgba(255, 255, 255, 0.9); font-weight: 600; }
.home-geo-inner a { color: #60a5fa; }
.home-geo-inner a:hover { color: #93c5fd; }

/* ========== FAQ ========== */
.home-faq-list {
  max-width: 820px;
  margin: 0 auto;
  padding: 8px 32px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  backdrop-filter: blur(10px);
}
.home-faq-item {
  padding: 22px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.home-faq-item:first-child { padding-top: 14px; }
.home-faq-item:last-child {
  border-bottom: none;
  padding-bottom: 14px;
}
.home-faq-item dt {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 10px;
  line-height: 1.5;
}
.home-faq-item dd {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.8;
}
.home-faq-item dd strong { color: rgba(255, 255, 255, 0.85); font-weight: 600; }
.home-faq-item dd a { color: #60a5fa; }
.home-faq-more {
  text-align: center;
  margin-top: 28px;
  font-size: 14px;
}
.home-faq-more a { color: #60a5fa; font-weight: 500; }
.home-faq-more a:hover { color: #93c5fd; }

/* ========== 首页页脚 ========== */
body.home-page .site-footer {
  background: #001529;
  margin-top: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* ========== 响应式 ========== */
@media (max-width: 1024px) {
  .home-hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .home-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .home-adv-grid { grid-template-columns: 1fr; }
  .home-svc-grid { grid-template-columns: repeat(2, 1fr); }
  .home-article-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .home-stats-grid { grid-template-columns: 1fr; }
  .home-svc-grid { grid-template-columns: 1fr; }
  .home-hero { padding-top: 40px; }
  .home-advantages,
  .home-services,
  .home-articles,
  .home-geo,
  .home-faq { padding: 48px 0; }
  .home-geo-inner,
  .home-faq-list { padding: 24px 20px; }
  .home-articles-head {
    align-items: flex-start;
  }
  .home-article-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 480px) {
  .home-hero-btns { flex-direction: column; }
  .home-hero-btns a { text-align: center; justify-content: center; }
}
