﻿/* ===== Hero 区域 ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--dark);
  color: var(--white);
}

/* 背景图 */
.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  opacity: .65;
  transition: opacity 1.2s ease;
}

.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(26,15,6,.48) 0%,
    rgba(232,100,10,.15) 50%,
    rgba(251,191,36,.06) 100%
  );
}

/* 粒子/网格装饰 */
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(232,100,10,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232,100,10,.06) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

/* 光晕 */
.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
}

.hero__glow--1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(232,100,10,.3) 0%, transparent 70%);
  top: -100px; left: -100px;
}

.hero__glow--2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(251,191,36,.2) 0%, transparent 70%);
  bottom: -50px; right: -50px;
}

/* 内容布局 */
.hero__inner {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  margin: 0 auto;
  padding: calc(var(--nav-h) + 60px) 24px 80px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 64px;
}

/* 左侧文字 */
.hero__content {}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(251,191,36,.15);
  border: 1px solid rgba(251,191,36,.3);
  color: var(--accent);
  padding: 6px 16px;
  border-radius: 24px;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 28px;
  animation: fadeInDown .8s ease both;
}

.hero__badge span.dot {
  width: 7px; height: 7px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.hero__title {
  font-size: clamp(2.4rem, 4.5vw, 4rem);
  font-weight: 900;
  line-height: 1.12;
  color: var(--white);
  margin-bottom: 20px;
  animation: fadeInDown .8s .1s ease both;
}

.hero__title .accent { color: var(--accent); }
.hero__title .blue   { color: var(--primary-light); }

.hero__title .title-gradient {
  background: linear-gradient(90deg, #fbbf24 0%, #e8640a 60%, #f07b25 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
  position: relative;
  letter-spacing: .04em;
}

.hero__title .title-gradient::after {
  content: '';
  display: block;
  height: 3px;
  width: 60%;
  margin-top: 4px;
  background: linear-gradient(90deg, #fbbf24, #e8640a, transparent);
  border-radius: 2px;
}

.hero__subtitle {
  font-size: 1.15rem;
  color: rgba(255,255,255,.65);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 520px;
  animation: fadeInDown .8s .2s ease both;
}

/* 标签列表 */
.hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 44px;
  animation: fadeInDown .8s .3s ease both;
}

.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 24px;
  font-size: .85rem;
  color: rgba(255,255,255,.8);
  font-weight: 500;
  backdrop-filter: blur(4px);
}

.hero__tag svg {
  width: 14px; height: 14px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 2;
  flex-shrink: 0;
}

/* 按钮组 */
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  animation: fadeInDown .8s .4s ease both;
}

/* 右侧卡片区 */
.hero__visual {
  position: relative;
  animation: fadeInRight .9s .2s ease both;
}

.hero__card-wrap {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.hero__main-img {
  grid-column: 1 / -1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  height: 220px;
}

.hero__main-img img {
  width: 100%; height: 100%;
  object-fit: cover;
}

/* ── 重设计迷你卡片 ── */
.hero__mini-card {
  position: relative;
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--radius-md);
  padding: 18px 18px 14px;
  transition: var(--trans);
  overflow: hidden;
}

/* 顶部色条已移除 */

/* 右下角大字水印 */
.hero__mini-card::after {
  content: attr(data-watermark);
  position: absolute;
  bottom: -4px; right: 8px;
  font-size: 3rem;
  font-weight: 900;
  color: rgba(255,255,255,.03);
  pointer-events: none;
  line-height: 1;
  letter-spacing: -.04em;
}

.hero__mini-card:hover {
  background: rgba(255,255,255,.11);
  border-color: rgba(255,255,255,.2);
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0,0,0,.3);
}

/* 顶部行：图标 + 徽章 */
.mc-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.mc-icon {
  width: 36px; height: 36px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mc-icon svg { width: 18px; height: 18px; }

.hero__mini-card .mc-icon { background: rgba(26,143,209,.2); color: #5bb8f5; }

.mc-badge {
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .06em;
  padding: 3px 8px;
  border-radius: 10px;
  color: rgba(255,255,255,.6);
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  white-space: nowrap;
}

/* 数值 */
.mc-val {
  font-size: 1.85rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  letter-spacing: -.02em;
  margin-bottom: 3px;
}

.mc-val em {
  font-style: normal;
  font-size: .5em;
  font-weight: 700;
  vertical-align: super;
  margin-left: 1px;
}

.hero__mini-card .mc-val em { color: #5bb8f5; }

/* 标签 */
.mc-label {
  font-size: .82rem;
  font-weight: 700;
  color: rgba(255,255,255,.85);
  margin-bottom: 5px;
}

/* 描述 */
.mc-desc {
  font-size: .73rem;
  color: rgba(255,255,255,.38);
  line-height: 1.55;
  margin-bottom: 0;
}

/* 多模通信小标签组 */
.mc-tags {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}

.mc-tags span {
  font-size: .68rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 8px;
  background: rgba(26,143,209,.18);
  border: 1px solid rgba(91,184,245,.2);
  color: #5bb8f5;
  letter-spacing: .04em;
}

/* 滚动提示 */
.hero__scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.35);
  font-size: .75rem;
  animation: fadeIn 1.5s 1s ease both;
}

.hero__scroll-mouse {
  width: 22px; height: 36px;
  border: 2px solid rgba(255,255,255,.25);
  border-radius: 11px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.hero__scroll-dot {
  width: 4px; height: 8px;
  background: rgba(255,255,255,.5);
  border-radius: 2px;
  animation: scrollDot 2s infinite;
}

/* ===== 轮播幻灯片指示器 ===== */
.hero__slides {
  display: flex;
  gap: 8px;
  margin-top: 24px;
  justify-content: flex-start;
}

.hero__slide-dot {
  width: 8px; height: 8px;
  border-radius: 4px;
  background: rgba(255,255,255,.25);
  cursor: pointer;
  transition: var(--trans);
}

.hero__slide-dot.active {
  width: 28px;
  background: var(--accent);
}

/* ===== 动画 ===== */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-28px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .5; transform: scale(.7); }
}

@keyframes scrollDot {
  0%   { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(14px); opacity: 0; }
}

/* ===================================================
   漂浮粒子层
=================================================== */
.hero__particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.hero__particles .particle {
  position: absolute;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0;
  animation: particleFloat linear infinite;
}

@keyframes particleFloat {
  0%   { transform: translateY(0) scale(1);   opacity: 0; }
  10%  { opacity: .7; }
  90%  { opacity: .3; }
  100% { transform: translateY(-110vh) scale(.4); opacity: 0; }
}

/* ===================================================
   脉冲扩散环
=================================================== */
.hero__pulse-rings {
  position: absolute;
  top: 50%;
  left: 30%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
}

.pulse-ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid rgba(232,100,10,.5);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(0);
  animation: pulseExpand 3.6s ease-out infinite;
}

.pulse-ring--1 { width: 200px; height: 200px; animation-delay: 0s; }
.pulse-ring--2 { width: 360px; height: 360px; animation-delay: 1.2s; }
.pulse-ring--3 { width: 520px; height: 520px; animation-delay: 2.4s; }

@keyframes pulseExpand {
  0%   { transform: translate(-50%,-50%) scale(0); opacity: .8; }
  70%  { opacity: .15; }
  100% { transform: translate(-50%,-50%) scale(1); opacity: 0; }
}

/* ===================================================
   能量流动光线
=================================================== */
.hero__energy-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.e-line {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(232,100,10,.7), transparent);
  animation: energyFlow linear infinite;
}

.e-line--1 { left: -40%; width: 40%; top: 28%; animation-duration: 3.5s; animation-delay: 0s; }
.e-line--2 { left: -40%; width: 30%; top: 52%; animation-duration: 4.2s; animation-delay: 1.1s; }
.e-line--3 { left: -40%; width: 50%; top: 68%; animation-duration: 3.8s; animation-delay: 2.2s; }
.e-line--4 { left: -40%; width: 35%; top: 82%; animation-duration: 5s;   animation-delay: 0.6s; }

@keyframes energyFlow {
  0%   { left: -50%; opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: .8; }
  100% { left: 110%; opacity: 0; }
}

/* ===================================================
   旋转轨道光环
=================================================== */
.hero__orbit {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
}

.orbit-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(232,100,10,.22);
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  animation: orbitSpin linear infinite;
}

.orbit-ring--1 { width: 380px; height: 380px; animation-duration: 18s; }
.orbit-ring--2 { width: 560px; height: 560px; animation-duration: 28s; animation-direction: reverse; border-color: rgba(251,191,36,.18); }

.orbit-dot {
  position: absolute;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px 3px rgba(232,100,10,.7);
  top: -4px; left: 50%;
  transform: translateX(-50%);
}

.orbit-ring--2 .orbit-dot {
  background: #fbbf24;
  box-shadow: 0 0 10px 3px rgba(251,191,36,.7);
}

@keyframes orbitSpin {
  from { transform: translate(-50%,-50%) rotate(0deg); }
  to   { transform: translate(-50%,-50%) rotate(360deg); }
}

/* ===================================================
   卡片区整体浮动
=================================================== */
.hero__card-wrap--float {
  animation: floatBob 6s ease-in-out infinite;
}

@keyframes floatBob {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}

/* ===================================================
   响应式隐藏部分动效
=================================================== */
@media (max-width: 900px) {
  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero__subtitle { margin-left: auto; margin-right: auto; }
  .hero__tags { justify-content: center; }
  .hero__actions { justify-content: center; }
  .hero__visual { display: none; }
  .hero__slides { justify-content: center; }
  /* 隐藏复杂装饰动效，降低移动端性能开销 */
  .hero__orbit,
  .hero__pulse-rings,
  .hero__energy-lines { display: none; }
  .hero__particles .particle {
    animation-duration: 14s; /* 移动端减缓粒子速度 */
  }
}

@media (max-width: 600px) {
  .hero__title { font-size: 2rem; }
  .hero__subtitle { font-size: 1rem; }
}
