/* ===================================================================
 * 济南合煦智能科技有限公司 — 首页专属样式
 * 文件：homepage.css
 * 说明：Hero 区域增强、产品展示增强、CTA 区域
 * =================================================================== */

/* ===================================================================
 * 1. Hero 区域增强
 * =================================================================== */

/* --- 装饰光球 --- */
.hero__orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(100px);
  z-index: 0;
}

.hero__orb--1 {
  width: 500px;
  height: 500px;
  top: -10%;
  left: -5%;
  background: radial-gradient(circle, hsla(210, 90%, 45%, 0.2), transparent 70%);
  animation: orbFloat1 12s ease-in-out infinite;
}

.hero__orb--2 {
  width: 400px;
  height: 400px;
  top: 60%;
  right: -10%;
  background: radial-gradient(circle, hsla(195, 100%, 45%, 0.15), transparent 70%);
  animation: orbFloat2 15s ease-in-out infinite;
}

.hero__orb--3 {
  width: 300px;
  height: 300px;
  bottom: -5%;
  left: 30%;
  background: radial-gradient(circle, hsla(220, 80%, 50%, 0.12), transparent 70%);
  animation: orbFloat3 10s ease-in-out infinite;
}

@keyframes orbFloat1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(40px, 30px) scale(1.1); }
  66% { transform: translate(-20px, -15px) scale(0.95); }
}

@keyframes orbFloat2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-30px, -40px) scale(1.1); }
}

@keyframes orbFloat3 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(25px, -20px); }
}

/* --- 核心优势标签 --- */
.hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-bottom: var(--space-8);
}

.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-2);
  background: hsla(210, 40%, 15%, 0.6);
  border: 1px solid hsla(210, 80%, 60%, 0.12);
  border-radius: var(--radius-full);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.3s ease;
}

.hero__tag:hover {
  color: var(--primary-light);
  border-color: hsla(210, 80%, 60%, 0.3);
  background: hsla(210, 40%, 15%, 0.8);
  transform: translateY(-2px);
}

.hero__tag svg {
  color: var(--primary-light);
  opacity: 0.7;
}

/* --- 产品展示区增强 --- */
.hero__product-showcase {
  position: relative;
  width: 100%;
  max-width: 580px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__product-showcase .hero__product-img {
  position: relative;
  width: 100%;
  max-height: 75vh;
  object-fit: contain;
  z-index: 2;
  border-radius: var(--radius-xl);
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.5));
  animation: heroImageFloat 6s ease-in-out infinite;
  transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.hero__product-showcase .hero__product-img:hover {
  transform: scale(1.03) translateY(-8px);
  filter: drop-shadow(0 40px 80px rgba(0, 0, 0, 0.6));
}

@keyframes heroImageFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* --- 产品光环 --- */
.hero__product-showcase .hero__product-glow {
  position: absolute;
  width: 90%;
  height: 60%;
  bottom: -5%;
  left: 5%;
  background: radial-gradient(ellipse, hsla(210, 90%, 50%, 0.25), transparent 70%);
  filter: blur(40px);
  z-index: 1;
  animation: glowPulse 4s ease-in-out infinite;
}

/* --- 装饰圆环 --- */
.hero__product-ring {
  position: absolute;
  width: 110%;
  height: 110%;
  top: -5%;
  left: -5%;
  border: 1px solid hsla(210, 80%, 60%, 0.08);
  border-radius: 50%;
  z-index: 0;
  animation: ringRotate 20s linear infinite;
}

.hero__product-ring--2 {
  width: 130%;
  height: 130%;
  top: -15%;
  left: -15%;
  border-color: hsla(195, 100%, 60%, 0.05);
  animation: ringRotate 30s linear infinite reverse;
}

@keyframes ringRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

/* --- 滚动提示 --- */
.hero__scroll-hint {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  color: var(--text-4);
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  animation: scrollBounce 2s ease-in-out infinite;
  z-index: 2;
}

.hero__scroll-hint svg {
  animation: scrollArrow 2s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

@keyframes scrollArrow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* ===================================================================
 * 2. CTA 行动号召区域
 * =================================================================== */
.cta-section {
  position: relative;
  padding: var(--space-24) 0;
  overflow: hidden;
  text-align: center;
}

.cta-section__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 30% 50%, hsla(210, 85%, 25%, 0.35), transparent),
    radial-gradient(ellipse 50% 60% at 70% 40%, hsla(195, 100%, 25%, 0.2), transparent),
    linear-gradient(180deg, var(--bg-1), var(--bg-2), var(--bg-1));
}

.cta-section__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(hsla(0, 0%, 100%, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, hsla(0, 0%, 100%, 0.02) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, black, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, black, transparent 70%);
}

.cta-section__content {
  max-width: 700px;
  margin: 0 auto;
}

.cta-section__title {
  font-size: var(--text-4xl);
  font-weight: 800;
  margin-bottom: var(--space-4);
  background: linear-gradient(135deg, var(--text-1) 0%, var(--primary-light) 50%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta-section__desc {
  font-size: var(--text-lg);
  color: var(--text-3);
  margin-bottom: var(--space-10);
  line-height: 1.8;
}

.cta-section__actions {
  display: flex;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

/* ===================================================================
 * 3. 响应式适配
 * =================================================================== */
@media (max-width: 1023px) {
  .hero__product-showcase {
    max-width: 500px;
    margin: 0 auto;
  }

  .hero__tags {
    justify-content: center;
  }

  .hero__scroll-hint {
    display: none;
  }

  .cta-section {
    padding: var(--space-16) 0;
  }

  .cta-section__title {
    font-size: var(--text-3xl);
  }

  .hero__product-ring,
  .hero__product-ring--2 {
    display: none;
  }
}

@media (max-width: 767px) {
  .hero__tags {
    gap: var(--space-2);
  }

  .hero__tag {
    font-size: var(--text-xs);
    padding: var(--space-1) var(--space-3);
  }

  .hero__product-showcase {
    max-width: 90%;
  }

  .cta-section {
    padding: var(--space-12) 0;
  }

  .cta-section__title {
    font-size: var(--text-2xl);
  }

  .cta-section__actions {
    flex-direction: column;
    align-items: center;
  }
}

/* ===================================================================
 * 4. 增强的产品展示区域图片样式
 * =================================================================== */
.product-3d__img {
  border-radius: var(--radius-xl) !important;
  box-shadow: 0 20px 60px hsla(210, 60%, 10%, 0.6) !important;
}

/* ===================================================================
 * 5. 增强的应用行业卡片样式
 * =================================================================== */
#industriesGrid .card {
  position: relative;
}

#industriesGrid .card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 20%;
  right: 20%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

#industriesGrid .card:hover::after {
  opacity: 0.5;
}

/* ===================================================================
 * 6. 公司概览板块样式 (单位介绍、业务、特点、价值)
 * =================================================================== */
.company-overview-grid {
  display: grid;
  grid-template-columns: 1.15fr 1.35fr;
  gap: var(--space-10);
  align-items: stretch;
  position: relative;
}

/* 扫描线动画 */
.hero__scanline {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(to bottom, 
    transparent, 
    rgba(6, 182, 212, 0.25) 2px, 
    rgba(6, 182, 212, 0.4) 3px, 
    rgba(6, 182, 212, 0.25) 4px, 
    transparent
  );
  opacity: 0.7;
  pointer-events: none;
  z-index: 1;
  animation: scanLine 8s linear infinite;
}

@keyframes scanLine {
  0% { transform: translateY(-100px); }
  100% { transform: translateY(100vh); }
}

/* 增强首屏背景的像素/十字网络投影网格 */
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(circle at 50% 50%, transparent 40%, var(--bg-1) 100%),
    linear-gradient(rgba(0, 200, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 200, 255, 0.04) 1px, transparent 1px);
  background-size: 100% 100%, 60px 60px, 60px 60px;
  pointer-events: none;
  z-index: 1;
}

/* 增强的毛玻璃科技感卡片 */
.company-intro-card, .overview-feature-card {
  position: relative;
  background: hsla(222, 35%, 10%, 0.5);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid hsla(0, 0%, 100%, 0.05);
  border-radius: var(--radius-xl);
  box-shadow: 
    inset 0 0 25px rgba(0, 200, 255, 0.05),
    0 20px 50px rgba(0, 0, 0, 0.6);
  transition: all 0.45s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* 鼠标划过微光 */
.company-intro-card__glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle 350px at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(6, 182, 212, 0.08), transparent 70%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}

.company-intro-card:hover .company-intro-card__glow {
  opacity: 1;
}

.company-intro-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 200, 255, 0.5);
  box-shadow: 
    inset 0 0 40px rgba(0, 200, 255, 0.1),
    0 0 60px rgba(0, 200, 255, 0.2),
    0 25px 50px rgba(0, 0, 0, 0.7);
}

.company-intro-card__title {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-4);
  font-weight: 700;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.company-intro-card__title::before {
  content: '';
  width: 4px;
  height: 20px;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  border-radius: var(--radius-full);
}

.company-intro-card__text {
  color: var(--text-2);
  line-height: 1.8;
  font-size: var(--text-base);
  margin-bottom: var(--space-6);
  text-align: justify;
  z-index: 1;
  position: relative;
}

/* HUD 科技角标定义 */
.tech-corner {
  position: absolute;
  width: 12px;
  height: 12px;
  border-color: rgba(6, 182, 212, 0.45);
  border-style: solid;
  pointer-events: none;
  z-index: 3;
  transition: all 0.35s var(--ease-spring);
}

.tech-corner--tl { top: -1px; left: -1px; border-width: 2px 0 0 2px; border-top-left-radius: 4px; }
.tech-corner--tr { top: -1px; right: -1px; border-width: 2px 2px 0 0; border-top-right-radius: 4px; }
.tech-corner--bl { bottom: -1px; left: -1px; border-width: 0 0 2px 2px; border-bottom-left-radius: 4px; }
.tech-corner--br { bottom: -1px; right: -1px; border-width: 0 2px 2px 0; border-bottom-right-radius: 4px; }

.company-intro-card:hover .tech-corner,
.overview-feature-card:hover .tech-corner {
  border-color: var(--accent);
  transform: scale(1.15);
  filter: drop-shadow(0 0 5px var(--accent));
}

/* 迷你数据面板 - 终端盒化 */
.company-intro-card__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2);
  padding: var(--space-5) var(--space-3);
  background: rgba(10, 15, 30, 0.45);
  border: 1px solid rgba(59, 130, 246, 0.12);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-6);
  position: relative;
  z-index: 1;
}

.stat-mini {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}

.stat-mini:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(59, 130, 246, 0.25), transparent);
}

/* 呼吸指示灯 */
.stat-mini__indicator {
  margin-bottom: var(--space-1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.pulse-dot {
  width: 6px;
  height: 6px;
  background-color: var(--success);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--success);
  animation: pulseGlow 1.8s infinite ease-in-out;
}

@keyframes pulseGlow {
  0%, 100% { transform: scale(1); opacity: 0.6; box-shadow: 0 0 6px var(--success); }
  50% { transform: scale(1.4); opacity: 1; box-shadow: 0 0 12px var(--success); }
}

.stat-mini__num {
  font-family: var(--font-en);
  font-size: var(--text-xl);
  font-weight: 800;
  background: linear-gradient(135deg, var(--text-1) 0%, var(--accent-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-mini__label {
  font-size: var(--text-xs);
  color: var(--text-3);
  margin-top: var(--space-1);
  letter-spacing: 0.05em;
}

/* 科技感按钮 */
.btn--tech {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border: 1px solid rgba(6, 182, 212, 0.4);
  border-radius: var(--radius-md);
  color: var(--text-1) !important;
  font-weight: 600;
  font-size: var(--text-sm);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.25);
  cursor: pointer;
}

.btn--tech::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(6, 182, 212, 0.35), transparent);
  transition: all 0.6s ease;
  z-index: 1;
}

.btn--tech:hover::before {
  left: 100%;
}

.btn--tech:hover {
  border-color: var(--accent);
  box-shadow: 0 0 25px rgba(6, 182, 212, 0.45);
  transform: translateY(-2px);
}

.btn--tech svg {
  transition: transform 0.3s ease;
}

.btn--tech:hover svg {
  transform: translateX(4px);
}

/* 右侧列表区域 */
.overview-features-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  position: relative;
}

/* 数据总线虚线轨道 */
.overview-features-list::before {
  content: '';
  position: absolute;
  left: 49px; /* 精准穿过 Icon (50px宽) 的中点 (24px padding + 25px = 49px) */
  top: 35px;
  bottom: 35px;
  width: 2px;
  background-image: linear-gradient(to bottom, 
    rgba(59, 130, 246, 0.05) 0%, 
    rgba(59, 130, 246, 0.35) 20%, 
    rgba(6, 182, 212, 0.35) 80%, 
    rgba(6, 182, 212, 0.05) 100%
  );
  z-index: 0;
  pointer-events: none;
}

/* 总线脉冲流动点 */
.overview-features-list__line-pulse {
  position: absolute;
  left: 48px;
  top: 35px;
  width: 4px;
  height: 60px;
  background: linear-gradient(to bottom, transparent, var(--accent), transparent);
  opacity: 0.8;
  z-index: 1;
  pointer-events: none;
  border-radius: var(--radius-full);
  animation: dataBusFlow 4s infinite linear;
}

@keyframes dataBusFlow {
  0% { transform: translateY(-60px); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(calc(100% + 40px)); opacity: 0; }
}

/* 科技感功能卡片 */
.overview-feature-card {
  display: flex;
  gap: var(--space-5);
  align-items: flex-start;
  padding: var(--space-6) var(--space-6);
  z-index: 2; /* 盖在轨道上，但比轨道亮 */
  border-radius: var(--radius-lg);
}

.overview-feature-card:hover {
  transform: translateX(8px);
  border-color: rgba(6, 182, 212, 0.35);
  box-shadow: 
    inset 0 0 20px rgba(6, 182, 212, 0.04),
    0 0 25px rgba(6, 182, 212, 0.1),
    0 10px 25px rgba(0, 0, 0, 0.45);
}

.overview-feature-card__icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: radial-gradient(circle, rgba(59, 130, 246, 0.12) 0%, rgba(59, 130, 246, 0.05) 100%);
  border: 1px solid rgba(59, 130, 246, 0.25);
  color: var(--primary-light);
  flex-shrink: 0;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  z-index: 2;
  box-shadow: 0 0 15px rgba(59, 130, 246, 0.1);
}

/* 给icon加小光圈 */
.overview-feature-card__icon::after {
  content: '';
  position: absolute;
  inset: -4px;
  border: 1px dashed rgba(6, 182, 212, 0);
  border-radius: inherit;
  transition: all 0.4s ease;
  transform: scale(0.9);
}

.overview-feature-card:hover .overview-feature-card__icon {
  background: radial-gradient(circle, rgba(6, 182, 212, 0.2) 0%, rgba(6, 182, 212, 0.06) 100%);
  border-color: var(--accent);
  color: var(--accent);
  transform: scale(1.06) rotate(3deg);
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.3);
}

.overview-feature-card:hover .overview-feature-card__icon::after {
  border-color: rgba(6, 182, 212, 0.45);
  transform: scale(1.1) rotate(15deg);
}

.overview-feature-card__icon svg {
  width: 22px;
  height: 22px;
}

.overview-feature-card__content {
  flex: 1;
  z-index: 1;
}

.overview-feature-card__title {
  font-size: var(--text-base);
  font-weight: 600;
  margin-bottom: var(--space-1);
  color: var(--text-1);
  transition: color var(--duration-fast);
  letter-spacing: 0.02em;
}

.overview-feature-card:hover .overview-feature-card__title {
  color: var(--accent-light);
}

.overview-feature-card__desc {
  font-size: var(--text-sm);
  color: var(--text-2);
  line-height: 1.6;
}

/* 渐变文本 */
.gradient-text {
  background: linear-gradient(135deg, var(--text-1) 0%, var(--primary-light) 50%, var(--accent-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* 响应式调整 */
@media (max-width: 1023px) {
  .company-overview-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
  
  .company-intro-card {
    padding: var(--space-8);
  }
  
  .overview-features-list::before {
    left: 49px;
  }
  .overview-features-list__line-pulse {
    left: 48px;
  }
}

@media (max-width: 767px) {
  .company-intro-card {
    padding: var(--space-6);
  }
  .company-intro-card__stats {
    padding: var(--space-4) var(--space-2);
  }
  .overview-features-list::before {
    display: none;
  }
  .overview-features-list__line-pulse {
    display: none;
  }
  .overview-feature-card {
    padding: var(--space-5);
  }
}

