/* =========================================================
   北京沃长宽通信有限公司 · 官网样式
   设计基准：1440 宽桌面稿 / 深蓝 #014DB2 + 暖白 #F9F9F9
   ========================================================= */
/* ---------------- 首屏 ---------------- */
.hero {
  position: relative;
  padding: 88px 0 72px;
  background:
    radial-gradient(120% 90% at 85% 10%, rgba(76, 201, 240, .18) 0%, rgba(76, 201, 240, 0) 55%),
    linear-gradient(152deg, #014DB2 0%, #0A3A82 45%, #001645 100%);
  color: #fff;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .35;
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: radial-gradient(80% 60% at 20% 0%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(80% 60% at 20% 0%, #000 0%, transparent 70%);
}

/* 首屏轮播 */
.hero-swiper{position:relative;z-index:1;}
.hero-swiper .swiper-wrapper{align-items:stretch;}
.hero-slide{display:flex;align-items:center;height:auto;}
.hero-slide .hero-row{width:100%;}

/* 背景图 slide：高度铺满整个首屏（含箭头与统计数据区域）。
   图片本身按宽度完整显示，上下空白用同一张图的模糊放大版填充，避免 cover 裁掉文案。 */
.hero-swiper{overflow:visible;}
.hero-slide--bleed{
  position:relative;
  isolation:isolate;
  margin-top:-88px;
  margin-bottom:-288px;
  background-size:100% auto !important;
  background-position:center !important;
  background-repeat:no-repeat !important;
}
.hero-slide--bleed::before,
.hero-slide--bleed::after{
  content:"";
  position:absolute;
  background-image:inherit;
  background-repeat:no-repeat;
  pointer-events:none;
}
.hero-slide--bleed::before{
  inset:-6%;
  z-index:0;
  background-size:cover;
  background-position:center;
  filter:blur(26px) brightness(.55);
}
.hero-slide--bleed::after{
  inset:0;
  z-index:1;
  background-size:100% auto;
  background-position:center;
}
.hero-slide--bleed .hero-row{position:relative;z-index:2;}

/* 纯图片 slide：整图铺满，图片内已自带文案时使用（与栏目页 banner 一致） */
.hero-slide--image{position:relative;display:block;min-height:540px;background:#0A2B5C;overflow:hidden;}
.hero-slide--image .hero-slide__bg{display:none;}
.hero-slide--image .hero-slide__link{position:absolute;inset:0;display:block;}
.hero-slide--image img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
}

/* 纯图片模式：banner 紧贴头部，高度与栏目页一致 */
.hero.hero--image{padding:0 0 56px;}
@media (min-width: 961px){
  .hero--image .hero-slide--image{min-height:560px;}
}

.hero-visual.hero-visual--art{background:linear-gradient(155deg,#0A2B55 0%,#041426 100%);}
.hero-visual.hero-visual--art img{transform:none;object-fit:contain;}

.hero-bar{
  position:relative;
  z-index:1;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:22px;
  margin-top:34px;
}
.hero-nav{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:46px;
  height:46px;
  padding:0;
  border-radius:50%;
  border:1px solid rgba(255,255,255,.28);
  background:rgba(255,255,255,.06);
  color:#fff;
  cursor:pointer;
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
  transition:background-color .2s ease,color .2s ease,border-color .2s ease,transform .2s ease;
}
.hero-nav:hover{background:#fff;border-color:#fff;color:var(--navy);transform:translateY(-1px);}
.hero-nav:active{transform:translateY(0);}
.hero-nav:focus-visible{outline:2px solid #8FE3FF;outline-offset:3px;}
.hero-nav svg{
  width:20px;
  height:20px;
  fill:none;
  stroke:currentColor;
  stroke-width:2.2;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.hero-pagination.swiper-pagination{
  position:static;
  left:auto;
  bottom:auto;
  width:auto;
  height:46px;
  transform:none;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
}
.hero-pagination .swiper-pagination-bullet{
  width:8px;
  height:8px;
  margin:0;
  background:#fff;
  opacity:.38;
  transition:width .25s ease,opacity .25s ease;
}
.hero-pagination .swiper-pagination-bullet:hover{opacity:.7;}
.hero-pagination .swiper-pagination-bullet-active{
  width:26px;
  border-radius:999px;
  opacity:1;
}
.hero-bottom{position:relative;z-index:1;}

.hero-row {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 540px;
  gap: 64px;
  align-items: center;
}

.hero-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 28px; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .25);
  font-size: 14px;
  font-weight: 500;
  color: var(--on-dark);
  backdrop-filter: blur(6px);
}
.badge .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #4CC9F0;
  box-shadow: 0 0 0 4px rgba(76, 201, 240, .18);
}

.hero h1 {
  font-size: clamp(38px, 4.2vw, 60px);
  line-height: 1.24;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hero-sub {
  max-width: 560px;
  font-size: 18px;
  line-height: 1.72;
  color: var(--on-dark);
}

.hero-cta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 2px; }

.hero-visual {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .15);
  background: var(--navy-deep);
  box-shadow: 0 30px 70px -30px rgba(0, 10, 30, .9);
}
.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 46% 44%;
  /* 轻微放大，裁掉源图右下角的生成水印 */
  transform: scale(1.2);
  transform-origin: 46% 44%;
}

.hero-rule {
  height: 1px;
  background: rgba(255, 255, 255, .12);
  margin-top: 28px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin: 32px 0 0;
}
.stat { display: flex; flex-direction: column; gap: 6px; }
.stat dt { order: 2; font-size: 13px; color: var(--on-dark-dim); }
.stat dd {
  order: 1;
  margin: 0;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  color: #fff;
}

/* ---------------- 通用区块 ---------------- */
.section { padding: 96px 0; }

/* 锚点定位留出吸顶导航高度 */
section[id], footer[id] { scroll-margin-top: 96px; }

.section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
  margin-bottom: 48px;
}
.pill {
  display: inline-flex;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  background: var(--blue-soft);
  color: var(--navy);
  font-size: 13px;
  font-weight: 600;
}
.section-head h2 { font-size: clamp(28px, 3vw, 40px); font-weight: 700; letter-spacing: -0.02em; }
.section-head p { font-size: 16px; color: var(--muted); max-width: 640px; }

/* ---------------- 业务与服务 ---------------- */
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.card {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}
.card:hover {
  transform: translateY(-3px);
  border-color: rgba(1, 77, 178, .22);
  box-shadow: 0 20px 44px -16px rgba(1, 77, 178, .18);
}

.card-lg { grid-column: span 3; padding: 32px; }

.card h3 { font-size: 22px; font-weight: 600; }
.card p { font-size: 14px; line-height: 1.72; color: var(--muted); }
.card-lg h3 { font-size: 22px; }

.ico-box {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: var(--blue-soft);
  color: var(--navy);
  display: grid;
  place-items: center;
}
.ico-box svg { width: 28px; height: 28px; }
.ico-box.sm { width: 52px; height: 52px; border-radius: 14px; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2px; }
.tags li {
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: #F3F6FB;
  color: var(--navy);
  font-size: 12px;
  font-weight: 500;
}

.card-dark {
  background: var(--ink);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 24px 48px -24px rgba(10, 22, 40, .7);
}
.card-dark h3 { color: #fff; }
.card-dark p { color: var(--on-dark-dim); }
.ico-box.on-dark { background: rgba(255, 255, 255, .1); color: #fff; }

/* ---------------- 资费套餐 ---------------- */
.pricing { background: #fff; }

.tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.tier {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 36px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  transition: transform .24s ease, box-shadow .24s ease;
}
.tier:hover { transform: translateY(-3px); box-shadow: 0 20px 44px -20px rgba(1, 77, 178, .2); }

.tier-name { font-size: 20px; font-weight: 600; }
.tier-desc { font-size: 14px; color: var(--muted); margin-top: -8px; }

.price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin: 2px 0 2px;
}
.price span {
  font-size: clamp(36px, 3.2vw, 44px);
  font-weight: 700;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.price em { font-style: normal; font-size: 15px; color: var(--muted); }

.feats { display: flex; flex-direction: column; gap: 12px; margin-bottom: 4px; }
.feats li { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.tick { width: 20px; height: 20px; flex: none; }

.tier .btn { margin-top: auto; }

.tier-featured {
  background: linear-gradient(160deg, #014DB2 0%, #0A3A82 55%, #001645 100%);
  border-color: transparent;
  color: #fff;
  box-shadow: var(--shadow-raised);
}
.tier-featured .tier-desc,
.tier-featured .price em { color: var(--on-dark-dim); }
.tier-featured:hover { box-shadow: 0 28px 60px -18px rgba(1, 77, 178, .5); }

.ribbon {
  align-self: flex-start;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  background: var(--amber);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .02em;
}

.price-note {
  margin-top: 32px;
  text-align: center;
  font-size: 13px;
  color: #9CA3AF;
}

/* ---------------- 进场动画 ---------------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s cubic-bezier(.22, .61, .36, 1), transform .6s cubic-bezier(.22, .61, .36, 1);
}
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .card:hover, .tier:hover { transform: none; }
}

/* ---------------- 响应式 ---------------- */
@media (max-width: 1180px) {
  .hero-row { grid-template-columns: minmax(0, 1fr) 420px; gap: 44px; }
}

/* 中等桌面：右侧主视觉占 540px，收紧标题字号避免换行 */
@media (min-width: 961px) and (max-width: 1400px) {
  .hero h1 { font-size: clamp(38px, 3.6vw, 50px); }
}

@media (max-width: 960px) {
  .hero { padding: 64px 0 56px; }
  .hero-row { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .hero-copy { order: 1; }
  .hero-visual { order: 2; max-width: 520px; }
  .hero-stats { gap: 20px; }
  .hero-bar { margin-top: 28px; gap: 16px; }
  .hero-nav { width: 42px; height: 42px; }
  .hero-pagination.swiper-pagination { height: 42px; }
  .hero-slide--image { min-height: 420px; }
  .hero-slide--bleed { margin-top:-64px; margin-bottom:-262px; }
  /* 窄屏用模糊铺底 + 完整图片，避免宽幅 banner 上的文字被裁掉 */
  .hero-slide--image .hero-slide__bg {
    display: block;
    position: absolute;
    inset: -8%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    filter: blur(22px);
  }
  .hero-slide--image .hero-slide__link {
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
  }
  .hero-slide--image img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
  }
  .section { padding: 72px 0; }
  .bento { grid-template-columns: repeat(6, 1fr); }
  .card, .card-lg { grid-column: span 3; }
  .card-lg { padding: 28px; }
  .tiers { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
}

@media (max-width: 680px) {

  .hero { padding: 48px 0 44px; }
  .hero h1 { font-size: 34px; line-height: 1.3; }
  .hero-sub { font-size: 15px; line-height: 1.7; }
  .hero-cta { width: 100%; }
  .hero-cta .btn { flex: 1 1 auto; padding: 13px 18px; font-size: 15px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 22px 16px; }
  .hero-slide--image { min-height: 300px; }
  .hero-slide--bleed { margin-top:-48px; margin-bottom:-313px; }
  .stat dd { font-size: 24px; }
  .hero-bar { margin-top: 22px; gap: 12px; }
  .hero-nav { width: 38px; height: 38px; }
  .hero-nav svg { width: 18px; height: 18px; }
  .hero-pagination.swiper-pagination { height: 38px; gap: 7px; }
  .hero-pagination .swiper-pagination-bullet-active { width: 20px; }
  .hero-rule { margin-top: 24px; }

  .section { padding: 56px 0; }
  .section-head { margin-bottom: 32px; }
  .card, .card-lg { grid-column: span 6; }
  .tier { padding: 26px; }
}
