/* =====================================================
   峰宸未来 · PC 官网全站样式
   主色：#1A3A5E  辅色：#2C5985  背景：#F4F6FA
===================================================== */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC",
    "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  color: #1A2233;
  background: #F4F6FA;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ---------- 容器 ---------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #ffffff;
  border-bottom: 1px solid #E5E9F2;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.brand-logo {
  width: 44px; height: 44px;
  border-radius: 10px;
  border: 1px solid #E5E9F2;
  background: #fff;
}
.brand-text .brand-name {
  font-size: 18px;
  font-weight: 800;
  color: #101A33;
  letter-spacing: 1px;
}
.brand-text .brand-slogan {
  font-size: 12px;
  color: #8A93A6;
  margin-top: 2px;
}
.nav-links {
  display: flex;
  gap: 8px;
  list-style: none;
}
.nav-links a {
  padding: 8px 18px;
  font-size: 14px;
  font-weight: 500;
  color: #4A5568;
  border-radius: 6px;
  transition: all 0.15s;
}
.nav-links a:hover { color: #1A3A5E; background: #EEF1F6; }
.nav-links a.active { color: #fff; background: #1A3A5E; }

/* ---------- 通用板块 ---------- */
.section { padding: 72px 0; }
.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
}
.section-title .title {
  font-size: 28px;
  font-weight: 700;
  color: #101A33;
  padding-left: 14px;
  border-left: 5px solid #1A3A5E;
}
.section-title .subtitle {
  font-size: 14px;
  color: #8A93A6;
  margin-left: 16px;
}
.section-title .more {
  font-size: 14px;
  color: #1A3A5E;
  font-weight: 600;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 24px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.15s;
  cursor: pointer;
}
.btn-primary {
  background: #1A3A5E;
  color: #fff;
}
.btn-primary:hover { background: #15335A; }
.btn-ghost {
  background: #fff;
  color: #1A3A5E;
  border: 1.5px solid #1A3A5E;
}
.btn-ghost:hover { background: #EEF1F6; }

/* ---------- 轮播 Banner ---------- */
.banner-wrap {
  position: relative;
  height: 240px;
  overflow: hidden;
}
.banner-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  transition: opacity 0.8s ease;
  pointer-events: none;
}
.banner-slide.active { opacity: 1; pointer-events: auto; }
.banner-inner { padding-left: 48px; color: #fff; max-width: 640px; }
.banner-sub { font-size: 13px; font-weight: 500; opacity: 0.9; margin-bottom: 6px; letter-spacing: 2px; }
.banner-title { font-size: 30px; font-weight: 800; letter-spacing: 2px; line-height: 1.2; }
.banner-desc { font-size: 14px; opacity: 0.85; margin-top: 8px; line-height: 1.5; }

.banner-dots {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 5;
}
.banner-dots span {
  width: 32px; height: 4px;
  border-radius: 2px;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: background 0.2s;
}
.banner-dots span.active { background: #fff; }

/* ---------- 主营业务（首页） ---------- */
.biz-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.biz-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #E5E9F2;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}
.biz-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(16, 26, 51, 0.12);
}
.biz-card .biz-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.biz-card .biz-info { padding: 20px 24px 24px; }
.biz-card .biz-name {
  font-size: 20px;
  font-weight: 700;
  color: #101A33;
  margin-bottom: 6px;
}
.biz-card .biz-desc {
  font-size: 13px;
  color: #5A6478;
  line-height: 1.6;
}

/* ---------- 精选产品 ---------- */
.feature-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #E5E9F2;
  padding: 28px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: transform 0.2s, box-shadow 0.2s;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(16, 26, 51, 0.10);
}
.feature-card .feature-icon {
  width: 64px; height: 64px;
  border-radius: 12px;
  flex-shrink: 0;
  object-fit: cover;
}
.feature-card .feature-meta .feature-name {
  font-size: 18px;
  font-weight: 700;
  color: #101A33;
  margin-bottom: 8px;
}
.feature-card .feature-meta .feature-desc {
  font-size: 13px;
  color: #5A6478;
  line-height: 1.7;
  text-align: justify;
}

/* ---------- 公司介绍 ---------- */
.about {
  background: #fff;
  border-radius: 16px;
  border: 1px solid #E5E9F2;
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.about-text h2 {
  font-size: 32px;
  font-weight: 800;
  color: #101A33;
  margin-bottom: 16px;
}
.about-text .slogan {
  font-size: 18px;
  color: #1A3A5E;
  font-weight: 600;
  margin-bottom: 20px;
}
.about-text p {
  font-size: 14px;
  color: #4A5568;
  line-height: 1.9;
  margin-bottom: 12px;
}
.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.stat-item {
  background: linear-gradient(135deg, #1A3A5E, #2C5985);
  border-radius: 12px;
  padding: 28px;
  color: #fff;
}
.stat-item .num {
  font-size: 36px;
  font-weight: 800;
  line-height: 1;
}
.stat-item .label {
  font-size: 14px;
  opacity: 0.85;
  margin-top: 8px;
}

/* ---------- 联系我们 ---------- */
.contact-box {
  background: linear-gradient(135deg, #1A3A5E 0%, #2C5985 100%);
  border-radius: 16px;
  padding: 48px;
  color: #fff;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
  align-items: center;
}
.contact-box h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 14px;
}
.contact-box p {
  font-size: 14px;
  opacity: 0.9;
  line-height: 1.8;
  margin-bottom: 8px;
}
.contact-box .contact-info {
  font-size: 14px;
  line-height: 2;
  opacity: 0.95;
}

/* ---------- 产品列表页 ---------- */
.page-hero {
  background: linear-gradient(135deg, #1A3A5E 0%, #2C5985 100%);
  height: 240px;
  color: #fff;
  display: flex;
  align-items: center;
}
.page-hero h1 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: 2px;
}
.page-hero p {
  font-size: 15px;
  opacity: 0.9;
}

/* 分类 */
.category-bar {
  display: flex;
  gap: 12px;
  padding: 32px 0 20px;
}
.category-item {
  padding: 10px 28px;
  border-radius: 20px;
  background: #fff;
  color: #5A6478;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid #E5E9F2;
  cursor: pointer;
  transition: all 0.15s;
}
.category-item:hover { color: #1A3A5E; border-color: #1A3A5E; }
.category-item.active {
  background: #1A3A5E;
  color: #fff;
  border-color: #1A3A5E;
  font-weight: 600;
}

/* 产品网格 */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-bottom: 48px;
}
.product-card {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #E5E9F2;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(16, 26, 51, 0.12);
}
.product-thumb {
  width: 100%;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 64px;
  overflow: hidden;
}
.product-thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-body {
  padding: 20px 24px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-cat {
  display: inline-block;
  padding: 2px 10px;
  font-size: 12px;
  color: #1A3A5E;
  background: #EEF1F6;
  border-radius: 4px;
  font-weight: 600;
  align-self: flex-start;
  margin-bottom: 10px;
}
.product-name {
  font-size: 18px;
  font-weight: 700;
  color: #101A33;
  margin-bottom: 8px;
  line-height: 1.3;
}
.product-summary {
  font-size: 13px;
  color: #5A6478;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 12px;
}
.product-tags { margin-top: auto; }
.tag {
  display: inline-block;
  padding: 2px 10px;
  font-size: 12px;
  color: #1A3A5E;
  background: #EEF1F6;
  border-radius: 4px;
  margin-right: 6px;
  margin-bottom: 4px;
}
.tag-game { background: #E3EEF9; color: #1A6BA5; font-weight: 600; }
.product-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #F0F2F7;
}
.product-price { font-size: 15px; font-weight: 700; color: #1A3A5E; }
.product-arrow { font-size: 13px; color: #1A3A5E; font-weight: 500; }

/* ---------- 产品详情页 ---------- */
.detail-wrap {
  padding: 40px 0 72px;
}
.detail-breadcrumb {
  font-size: 13px;
  color: #8A93A6;
  margin-bottom: 24px;
}
.detail-breadcrumb a { color: #1A3A5E; }
.detail-main {
  background: #fff;
  border-radius: 16px;
  border: 1px solid #E5E9F2;
  overflow: hidden;
}
.detail-gallery {
  width: 220px;
  height: 220px;
  flex-shrink: 0;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  overflow: hidden;
}
.detail-gallery img { width: 100%; height: 100%; object-fit: cover; }
.detail-body { padding: 36px 48px; }
.detail-top {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  padding-bottom: 28px;
  border-bottom: 1px solid #F0F2F7;
  margin-bottom: 8px;
}
.detail-info { flex: 1; min-width: 0; }
.detail-cat {
  display: inline-block;
  padding: 4px 14px;
  font-size: 13px;
  color: #1A3A5E;
  background: #EEF1F6;
  border-radius: 6px;
  font-weight: 600;
}
.detail-name {
  font-size: 26px;
  font-weight: 800;
  color: #101A33;
  margin: 10px 0 8px;
  line-height: 1.3;
}
.detail-summary {
  font-size: 15px;
  color: #5A6478;
  line-height: 1.7;
}
.detail-price {
  font-size: 22px;
  font-weight: 800;
  color: #1A3A5E;
  margin: 14px 0 10px;
}

.detail-block {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid #F0F2F7;
}
.block-title {
  font-size: 20px;
  font-weight: 700;
  color: #101A33;
  padding-bottom: 14px;
  border-bottom: 2px solid #1A3A5E;
  display: inline-block;
  margin-bottom: 20px;
}
.block-content {
  font-size: 14px;
  color: #2A3348;
  line-height: 2;
  white-space: pre-wrap;
}
.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid #F0F2F7;
}
.feature-item:last-child { border-bottom: none; }
.feature-bullet {
  width: 26px; height: 26px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #1A3A5E;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.feature-text {
  flex: 1;
  font-size: 14px;
  color: #2A3348;
  line-height: 1.7;
}
.spec-table { width: 100%; }
.spec-row {
  display: flex;
  padding: 14px 0;
  border-bottom: 1px solid #F0F2F7;
}
.spec-row:last-child { border-bottom: none; }
.spec-label { width: 180px; color: #8A93A6; font-size: 14px; }
.spec-value { flex: 1; color: #101A33; font-size: 14px; font-weight: 600; }

.game-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, #1A3A5E, #2C5985);
  border-radius: 12px;
  padding: 24px 28px;
  color: #fff;
}
.game-head { display: flex; align-items: center; gap: 16px; flex: 1; }
.game-emoji { font-size: 36px; }
.game-title { font-size: 18px; font-weight: 700; }
.game-desc { font-size: 13px; opacity: 0.85; margin-top: 4px; }
.game-btn {
  background: #fff;
  color: #1A3A5E;
  padding: 10px 24px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 14px;
}

/* 空状态 */
.empty {
  text-align: center;
  padding: 100px 0;
  color: #8A93A6;
}
.empty .icon { font-size: 64px; margin-bottom: 16px; }

/* ---------- 业务详情页 ---------- */
.biz-hero {
  position: relative;
  height: 240px;
  overflow: hidden;
}
.biz-hero img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.biz-hero-mask {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(16,26,51,0.88), rgba(16,26,51,0));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 48px 80px;
  color: #fff;
}
.biz-hero-mask h1 { font-size: 36px; font-weight: 800; letter-spacing: 2px; }
.biz-hero-mask p { font-size: 15px; opacity: 0.85; margin-top: 6px; }

.biz-body { padding: 48px 0 72px; }
.biz-headline {
  display: inline-block;
  font-size: 24px;
  font-weight: 800;
  color: #1A3A5E;
  padding-bottom: 8px;
  margin-bottom: 28px;
  border-bottom: 4px solid #2C5985;
}
.biz-intro {
  font-size: 14px;
  color: #4A5568;
  line-height: 1.9;
  margin-bottom: 32px;
  text-align: justify;
}
.biz-service {
  background: #fff;
  border: 1px solid #E5E9F2;
  border-radius: 12px;
  padding: 28px;
  margin-bottom: 20px;
}
.biz-service-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.biz-service-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: #1A3A5E;
  color: #fff;
  font-size: 22px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.biz-service-no { font-size: 22px; font-weight: 800; color: #2C5985; }
.biz-service-title { font-size: 18px; font-weight: 700; color: #101A33; }
.biz-service-desc {
  font-size: 14px;
  color: #4A5568;
  line-height: 1.8;
  text-align: justify;
}
.biz-value {
  background: #1A3A5E;
  border-radius: 12px;
  padding: 28px;
  margin-top: 28px;
  color: #fff;
}
.biz-value-label { font-size: 14px; font-weight: 700; color: #7FB0E0; margin-bottom: 8px; }
.biz-value-text { font-size: 14px; line-height: 1.9; }

.biz-highlights {
  background: #fff;
  border: 1px solid #E5E9F2;
  border-radius: 12px;
  margin-top: 28px;
  overflow: hidden;
}
.biz-highlight-item {
  padding: 24px 28px;
  border-bottom: 1px solid #EEF1F6;
  display: flex;
  gap: 16px;
}
.biz-highlight-item:last-child { border-bottom: none; }
.biz-highlight-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: #1A3A5E;
  color: #fff;
  font-size: 22px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.biz-highlight-title { font-size: 16px; font-weight: 700; color: #101A33; margin-bottom: 6px; }
.biz-highlight-desc { font-size: 13px; color: #5A6478; line-height: 1.7; }

/* ---------- 底部 ---------- */
.site-footer {
  background: #101A33;
  color: rgba(255,255,255,0.7);
  padding: 48px 0 28px;
  font-size: 13px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .fb-logo {
  display: flex; align-items: center; gap: 12px; margin-bottom: 14px;
}
.footer-brand .fb-logo img { width: 36px; height: 36px; border-radius: 8px; }
.footer-brand .fb-logo span { font-size: 16px; font-weight: 800; color: #fff; }
.footer-brand p { line-height: 1.8; }
.footer-col h4 {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  padding: 4px 0;
  color: rgba(255,255,255,0.65);
  transition: color 0.15s;
}
.footer-col a:hover { color: #fff; }
.footer-bottom {
  padding-top: 24px;
  text-align: center;
  color: rgba(255,255,255,0.45);
  font-size: 12px;
}

/* ---------- 响应式 ---------- */
@media (max-width: 960px) {
  .biz-grid, .feature-list, .products-grid { grid-template-columns: repeat(2, 1fr); }
  .about { grid-template-columns: 1fr; padding: 32px; }
  .contact-box { grid-template-columns: 1fr; padding: 36px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .banner-inner { padding-left: 24px; }
  .banner-title { font-size: 32px; }
}
@media (max-width: 640px) {
  .biz-grid, .feature-list, .products-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .biz-hero-mask { padding: 32px 24px; }
  .detail-body { padding: 24px; }
  .detail-top { flex-direction: column; gap: 20px; }
  .detail-gallery { width: 100%; height: 200px; }
  .section { padding: 48px 0; }
}
