/*banner*/
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: #00112e;
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-height);
}
.hero-slides {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 0;
}
.hero-slide {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease;
  z-index: 0;
}
.hero-slide.active {
  opacity: 1;
  z-index: 1;
}
/* banner 底部分页按钮 */
.banner-dots {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 12px;
}
.banner-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
  border: none;
  padding: 0;
}
.banner-dot:hover {
  background: rgba(255,255,255,0.7);
  transform: scale(1.2);
}
.banner-dot.active {
  background: #fff;
  transform: scale(1.2);
}
/* Banner 左右切换按钮 */
.banner-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  transition: background 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.banner-arrow:hover {
  background: rgba(255,255,255,0.3);
}
.banner-arrow.prev { left: 24px; }
.banner-arrow.next { right: 24px; }

/* 第二层：强烈的渐变覆盖以遮盖图像文本 */
.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    linear-gradient(90deg,
      rgba(0,18,50,1) 0%,
      rgba(0,29,108,1) 30%,
      rgba(0,29,108,0.95) 50%,
      rgba(0,29,108,0.7) 65%,
      rgba(0,29,108,0.3) 80%,
      transparent 100%
    ),
    linear-gradient(180deg,
      transparent 45%,
      rgba(0,13,45,0.6) 70%,
      rgba(0,13,45,0.95) 85%,
      rgba(0,13,45,1) 100%
    ),
    radial-gradient(ellipse at 30% 20%, rgba(15,98,254,0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 60%, rgba(15,98,254,0.08) 0%, transparent 40%);
  z-index: 1;
}
/* 第三层：技术网格图案（细微） */
.hero::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image:
    url("data:image/svg+xml,%3Csvg width='60' height='52' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolygon points='30,0 60,15 60,37 30,52 0,37 0,15' fill='none' stroke='rgba(255,255,255,0.03)' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 60px 52px;
  opacity: 0.5;
  z-index: 1;
}
/* 浮动粒子容器 */
.hero-particles {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 1;
  pointer-events: none;
}
.hero-particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  animation: heroFloat 8s ease-in-out infinite;
}
.hero-particle:nth-child(1) { width: 4px; height: 4px; top: 15%; left: 10%; animation-delay: 0s; }
.hero-particle:nth-child(2) { width: 6px; height: 6px; top: 25%; left: 85%; animation-delay: 1.2s; }
.hero-particle:nth-child(3) { width: 3px; height: 3px; top: 70%; left: 20%; animation-delay: 2.4s; }
.hero-particle:nth-child(4) { width: 5px; height: 5px; top: 55%; left: 75%; animation-delay: 3.6s; }
.hero-particle:nth-child(5) { width: 4px; height: 4px; top: 80%; left: 55%; animation-delay: 4.8s; }
.hero-particle:nth-child(6) { width: 3px; height: 3px; top: 10%; left: 45%; animation-delay: 6.0s; }
.hero-particle:nth-child(7) { width: 5px; height: 5px; top: 40%; left: 5%; animation-delay: 1.8s; }
.hero-particle:nth-child(8) { width: 4px; height: 4px; top: 35%; left: 92%; animation-delay: 4.2s; }

@keyframes heroFloat {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.15; }
  25% { transform: translateY(-20px) scale(1.3); opacity: 0.35; }
  50% { transform: translateY(10px) scale(0.9); opacity: 0.1; }
  75% { transform: translateY(-10px) scale(1.1); opacity: 0.25; }
}
/* 连接线（装饰性） */
.hero-lines {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 0;
  pointer-events: none;
}
.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}
.hero-content {
  color: var(--color-text-inverse);
  animation: heroContentIn 0.8s ease-out forwards;
}
@keyframes heroContentIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
/*banner 文字*/
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  background: rgba(15,98,254,0.2);
  border: 1px solid rgba(15,98,254,0.35);
  border-radius: 50px;
  padding: 8px 20px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: var(--space-xl);
  color: var(--color-text-inverse);
  backdrop-filter: blur(4px);
  animation: badgePulse 3s ease-in-out infinite;
}
@keyframes badgePulse {
  0%, 100% { border-color: rgba(15,98,254,0.35); }
  50% { border-color: rgba(15,98,254,0.6); }
}
.hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #24a148;
  animation: dotGlow 2s ease-in-out infinite;
}
@keyframes dotGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(36,161,72,0.6); }
  50% { box-shadow: 0 0 8px 2px rgba(36,161,72,0.6); }
}
.hero-title {
  font-size: 60px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: var(--space-lg);
}
.hero-title .highlight {
  background: linear-gradient(135deg, #4d9cff, #0f62fe);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-title .separator {
  display: block;
  width: 60px;
  height: 3px;
  background: var(--color-primary);
  margin: var(--space-md) 0;
  border-radius: 2px;
}
.hero-subtitle {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.7;
  color: rgba(255,255,255,0.75);
  margin-bottom: var(--space-xl);
  max-width: 560px;
}
.hero-stats-row {
  display: flex;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
  padding: var(--space-md) 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.hero-stat-mini {
  text-align: center;
}
.hero-stat-mini .num {
  font-size: 28px;
  font-weight: 800;
  color: var(--color-text-inverse);
  line-height: 1;
}
.hero-stat-mini .num span {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-primary);
  margin-left: 2px;
}
.hero-stat-mini .lbl {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  margin-top: 4px;
  letter-spacing: 0.3px;
}
.hero-actions {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 600;
  font-family: var(--font-stack);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
  border: none;
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn-primary {
  background: var(--color-primary);
  color: var(--color-text-inverse);
}
.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(255,255,255,0.1), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s;
}
.btn-primary:hover {
  background: var(--color-primary-hover);
  color: var(--color-text-inverse);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(15,98,254,0.35);
}
.btn-primary:hover::after { opacity: 1; }
.btn-outline-light {
  background: transparent;
  color: var(--color-text-inverse);
  border: 1.5px solid rgba(255,255,255,0.3);
}
.btn-outline-light:hover {
  border-color: var(--color-text-inverse);
  background: rgba(255,255,255,0.08);
  color: var(--color-text-inverse);
  transform: translateY(-1px);
}
.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border: 1.5px solid var(--color-primary);
}
.btn-outline:hover {
  background: var(--color-primary-light);
  color: var(--color-primary);
}
/* Hero visual */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  animation: heroVisualIn 1s ease-out 0.2s forwards;
}
@keyframes heroVisualIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}
/* Pulse ring behind illustration */
.hero-visual-wrapper {
  position: relative;
}
.hero-pulse-ring {
  position: absolute;
  top: 50%; left: 50%;
  width: 300px; height: 300px;
  border-radius: 50%;
  border: 2px solid rgba(15,98,254,0.15);
  transform: translate(-50%, -50%);
  animation: heroRingPulse 4s ease-in-out infinite;
}
.hero-pulse-ring:nth-child(2) {
  width: 250px; height: 250px;
  border-color: rgba(255,255,255,0.06);
  animation-delay: 1.5s;
  animation-duration: 5s;
}
@keyframes heroRingPulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
  50% { transform: translate(-50%, -50%) scale(1.08); opacity: 0.7; }
}

@media (max-width: 1024px) {
  .hero-title { font-size: 42px; }
  .hero .container { grid-template-columns: 1fr; gap: var(--space-xl); }
  .hero-visual { order: -1; }
  .hero-visual svg { max-width: 380px; }
  .hero-stats-row { gap: var(--space-lg); flex-wrap: wrap; }
  .hero-stat-mini .num { font-size: 24px; }
}
@media (max-width: 640px) {
  .hero-title { font-size: 34px; }
  .hero-subtitle { font-size: 15px; }
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; }
  .hero-stats-row { gap: var(--space-sm); }
  .hero-stat-mini { flex: 1; min-width: 60px; }
  .hero-stat-mini .num { font-size: 20px; }
  .hero-stat-mini .num span { font-size: 12px; }
  .hero { min-height: auto; padding: calc(var(--nav-height) + var(--space-4xl)) 0 var(--space-3xl); }
  .hero-visual svg { max-width: 320px; }
  .hero-pulse-ring { width: 220px; height: 220px; }
  .hero-pulse-ring:nth-child(2) { width: 180px; height: 180px; }
}



/*首页产品*/
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}
.product-card {
  display: block;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-normal);
}
.product-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
  transform: translateY(-2px);
}
.product-image {
  height: 220px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--color-border);
}
.product-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(15,98,254,0.03), transparent 70%);
  pointer-events: none;
}
.product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  //padding: 20px;
  transition: transform var(--transition-normal);
}
.product-card:hover .product-image img {
  transform: scale(1.06);
}
.product-image svg {
  width: 80px;
  height: 80px;
  opacity: 0.6;
}
.product-image-label {
  position: absolute;
  bottom: 12px;
  left: 16px;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-primary);
  background: rgba(255,255,255,0.9);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
}
.product-info {
  padding: var(--space-lg);
}
.product-name {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: var(--space-xs);
}
.product-desc {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.5;
}


@media (max-width: 1024px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .products-grid { grid-template-columns: 1fr; }
}


/*首页应用领域*/
.applications-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--space-lg);
}
.app-card {
  text-align: center;
  padding: var(--space-xl) var(--space-md);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: all var(--transition-normal);
}
.app-card:hover {
  border-color: var(--color-primary);
  box-shadow: 0 2px 8px rgba(15,98,254,0.1);
}
.app-icon {
  margin-bottom: var(--space-md);
}
.app-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-primary);
  line-height: 1.4;
}


@media (max-width: 1024px) {
  .applications-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .applications-grid { grid-template-columns: repeat(2, 1fr); }
}





/*首页新闻中心*/
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}
.news-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-normal);
}
.news-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
  transform: translateY(-2px);
}
.news-image {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.news-image.news-grad-1 {
  background: linear-gradient(135deg, #0f62fe 0%, #0043ce 40%, #001d6c 100%);
}
.news-image.news-grad-2 {
  background: linear-gradient(135deg, #1a3a8a 0%, #0f62fe 50%, #4d9cff 100%);
}
.news-image.news-grad-3 {
  background: linear-gradient(135deg, #001d6c 0%, #003399 50%, #0f62fe 100%);
}
.news-image .news-icon-bg {
  opacity: 0.1;
  position: absolute;
  right: -20px;
  bottom: -20px;
}
.news-image .news-tagline {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px var(--space-lg) var(--space-lg);
  background: linear-gradient(transparent, rgba(0,0,0,0.5));
  color: white;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.news-date {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--color-primary);
  color: var(--color-text-inverse);
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 600;
}
.news-info {
  padding: var(--space-lg);
}
.news-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: var(--space-xs);
  line-height: 1.4;
}
.news-excerpt {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.5;
  margin-bottom: var(--space-md);
}
.news-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.news-link:hover {
  color: var(--color-primary-hover);
}


@media (max-width: 1024px) {
  .news-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .news-grid { grid-template-columns: 1fr; }
}
