/* ==========================================================
   深圳市聚芯启航科技有限公司 官网样式
   ========================================================== */
:root {
  --bg-dark: #0b1226;
  --bg-darker: #070d1d;
  --bg-card: #101a35;
  --primary: #38bdf8;
  --primary-2: #6366f1;
  --grad: linear-gradient(120deg, #38bdf8, #6366f1);
  --text: #e6ecf7;
  --text-dim: #9aa7c2;
  --border: rgba(148, 178, 230, 0.14);
  --shadow: 0 20px 50px rgba(3, 8, 24, 0.5);
  --radius: 18px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg-dark);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  width: min(1180px, 92%);
  margin: 0 auto;
}

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ------------------- 导航栏 ------------------- */
.navbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 18px 0;
  transition: background .35s, padding .35s, box-shadow .35s;
}
.navbar.scrolled {
  background: rgba(9, 15, 34, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 12px 0;
  box-shadow: 0 10px 30px rgba(2, 6, 18, 0.45);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--primary);
}
.logo-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
}
.logo-mark svg { width: 22px; height: 22px; }
.logo-text {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--text);
}
.logo-text em {
  font-style: normal;
  font-weight: 400;
  color: var(--primary);
  margin-left: 4px;
  font-size: 15px;
}
.nav-links {
  display: flex;
  gap: 34px;
}
.nav-links a {
  position: relative;
  font-size: 15px;
  color: var(--text-dim);
  padding: 6px 0;
  transition: color .25s;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--grad);
  border-radius: 2px;
  transition: width .3s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--text); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ------------------- Hero ------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url("../img/hero-bg.png") center / cover no-repeat;
  animation: heroZoom 18s ease-in-out infinite alternate;
}
@keyframes heroZoom {
  from { transform: scale(1); }
  to   { transform: scale(1.08); }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 13, 29, 0.55) 0%, rgba(7, 13, 29, 0.35) 45%, var(--bg-dark) 100%),
    radial-gradient(ellipse at 20% 40%, rgba(11, 18, 38, 0.55), transparent 60%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 140px 0 90px;
  text-align: center;
}
.hero-tag {
  display: inline-block;
  padding: 8px 22px;
  border-radius: 999px;
  border: 1px solid rgba(56, 189, 248, 0.4);
  background: rgba(56, 189, 248, 0.1);
  color: var(--primary);
  font-size: 14px;
  letter-spacing: 3px;
  margin-bottom: 28px;
}
.hero h1 {
  font-size: clamp(38px, 6vw, 64px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 2px;
}
.hero-sub {
  margin-top: 24px;
  font-size: 17px;
  color: var(--text-dim);
}
.hero-actions {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}
.btn {
  display: inline-block;
  padding: 14px 40px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 2px;
  transition: transform .25s, box-shadow .25s, background .25s;
}
.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 12px 30px rgba(80, 130, 245, 0.35);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(80, 130, 245, 0.5);
}
.btn-ghost {
  border: 1px solid rgba(230, 236, 247, 0.35);
  color: var(--text);
}
.btn-ghost:hover {
  transform: translateY(-3px);
  background: rgba(230, 236, 247, 0.08);
}
.hero-stats {
  margin-top: 72px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(20px, 5vw, 64px);
  flex-wrap: wrap;
}
.stat { text-align: center; }
.stat-num {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat-unit {
  font-size: 16px;
  color: var(--primary);
  margin-left: 4px;
  font-weight: 600;
}
.stat p {
  margin-top: 4px;
  font-size: 14px;
  color: var(--text-dim);
  letter-spacing: 1px;
}
.stat-divider {
  width: 1px;
  height: 46px;
  background: var(--border);
}
.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  width: 26px; height: 42px;
  border: 2px solid rgba(230, 236, 247, 0.4);
  border-radius: 15px;
  z-index: 2;
}
.scroll-hint span {
  position: absolute;
  left: 50%; top: 8px;
  width: 4px; height: 8px;
  margin-left: -2px;
  background: var(--primary);
  border-radius: 3px;
  animation: scrollDot 1.8s ease-in-out infinite;
}
@keyframes scrollDot {
  0%   { transform: translateY(0); opacity: 1; }
  70%  { transform: translateY(14px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ------------------- 通用 Section ------------------- */
.section { padding: 110px 0; }
.section-head {
  text-align: center;
  margin-bottom: 64px;
}
.section-tag {
  font-size: 13px;
  letter-spacing: 6px;
  color: var(--primary);
  margin-bottom: 12px;
}
.section-head h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: 3px;
  position: relative;
  display: inline-block;
  padding-bottom: 18px;
}
.section-head h2::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 0;
  transform: translateX(-50%);
  width: 56px; height: 3px;
  border-radius: 3px;
  background: var(--grad);
}
.section-sub {
  margin-top: 18px;
  color: var(--text-dim);
  font-size: 16px;
}

/* ------------------- 关于我们 ------------------- */
.about {
  background:
    radial-gradient(ellipse 60% 50% at 85% 20%, rgba(99, 102, 241, 0.1), transparent),
    var(--bg-dark);
}
.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-text h3 {
  font-size: 26px;
  margin-bottom: 22px;
  letter-spacing: 1px;
}
.about-text p {
  color: var(--text-dim);
  margin-bottom: 16px;
  font-size: 15.5px;
}
.about-text strong { color: var(--text); }
.about-points {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.point {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 16px;
  border-radius: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  font-size: 14px;
  transition: transform .25s, border-color .25s;
}
.point:hover { transform: translateY(-3px); border-color: rgba(56, 189, 248, 0.45); }
.point i {
  font-style: normal;
  width: 22px; height: 22px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(56, 189, 248, 0.16);
  color: var(--primary);
  font-size: 12px;
}

/* 雷达可视化 */
.about-visual { display: flex; justify-content: center; }
.visual-card {
  width: 100%;
  max-width: 420px;
  padding: 44px 36px 32px;
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(56, 189, 248, 0.07), rgba(99, 102, 241, 0.06)), var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  text-align: center;
}
.radar {
  position: relative;
  width: 260px; height: 260px;
  margin: 0 auto;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(56, 189, 248, 0.08) 0%, transparent 70%);
  border: 1px solid rgba(56, 189, 248, 0.35);
  overflow: hidden;
}
.radar-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(56, 189, 248, 0.25);
}
.radar-ring.r1 { inset: 18%; }
.radar-ring.r2 { inset: 33%; }
.radar-ring.r3 { inset: 45%; }
.radar-sweep {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(56, 189, 248, 0.5), transparent 26%);
  animation: sweep 4s linear infinite;
}
@keyframes sweep { to { transform: rotate(360deg); } }
.radar-dot {
  position: absolute;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 12px var(--primary);
  animation: blink 2.4s ease-in-out infinite;
}
.radar-dot.d1 { top: 30%; left: 62%; }
.radar-dot.d2 { top: 58%; left: 28%; animation-delay: .8s; }
.radar-dot.d3 { top: 70%; left: 66%; animation-delay: 1.6s; }
@keyframes blink {
  0%, 100% { opacity: .35; }
  50% { opacity: 1; }
}
.visual-caption {
  margin-top: 26px;
  color: var(--text-dim);
  font-size: 14px;
  letter-spacing: 2px;
}

/* ------------------- 产品中心 ------------------- */
.products { background: var(--bg-darker); }
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.product-card {
  position: relative;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform .35s, box-shadow .35s, border-color .35s;
}
.product-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow);
  border-color: rgba(56, 189, 248, 0.4);
}
.product-card.featured { border-color: rgba(99, 102, 241, 0.55); }
.badge {
  position: absolute;
  top: 16px; right: 16px;
  z-index: 2;
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--grad);
  color: #fff;
  font-size: 12px;
  letter-spacing: 2px;
}
.product-img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.product-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s;
}
.product-card:hover .product-img img { transform: scale(1.07); }
.product-info { padding: 26px 26px 30px; }
.product-info h3 {
  font-size: 20px;
  margin-bottom: 10px;
  letter-spacing: 1px;
}
.product-info > p {
  color: var(--text-dim);
  font-size: 14px;
  margin-bottom: 16px;
}
.product-info ul { margin-bottom: 20px; }
.product-info li {
  position: relative;
  padding-left: 18px;
  font-size: 13.5px;
  color: var(--text-dim);
  margin-bottom: 6px;
}
.product-info li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--grad);
}
.product-link {
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  transition: opacity .25s;
}
.product-link:hover { opacity: .75; }

/* ------------------- 核心优势 ------------------- */
.advantages {
  background:
    radial-gradient(ellipse 50% 60% at 10% 80%, rgba(56, 189, 248, 0.07), transparent),
    var(--bg-dark);
}
.adv-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}
.adv-card {
  padding: 38px 28px;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
  text-align: center;
  transition: transform .3s, border-color .3s, background .3s;
}
.adv-card:hover {
  transform: translateY(-8px);
  border-color: rgba(56, 189, 248, 0.45);
  background: linear-gradient(160deg, rgba(56, 189, 248, 0.08), rgba(99, 102, 241, 0.06)), var(--bg-card);
}
.adv-icon {
  width: 64px; height: 64px;
  margin: 0 auto 22px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: var(--primary);
}
.adv-icon svg { width: 30px; height: 30px; }
.adv-card h3 {
  font-size: 19px;
  margin-bottom: 12px;
  letter-spacing: 2px;
}
.adv-card p {
  font-size: 14px;
  color: var(--text-dim);
}

/* ------------------- 应用场景 ------------------- */
.solutions { background: var(--bg-darker); }
.sol-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}
.sol-card {
  position: relative;
  padding: 34px 26px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  overflow: hidden;
  transition: transform .3s, border-color .3s;
}
.sol-card::before {
  content: "";
  position: absolute;
  inset: auto -30% -55% auto;
  width: 180px; height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.14), transparent 70%);
  transition: transform .4s;
}
.sol-card:hover { transform: translateY(-8px); border-color: rgba(99, 102, 241, 0.5); }
.sol-card:hover::before { transform: scale(1.4); }
.sol-num {
  font-size: 34px;
  font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: .85;
}
.sol-card h3 {
  margin: 14px 0 10px;
  font-size: 18px;
  letter-spacing: 1px;
}
.sol-card p {
  font-size: 13.5px;
  color: var(--text-dim);
}

/* ------------------- 联系我们 ------------------- */
.contact { padding-bottom: 130px; }
.contact-card {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  padding: clamp(36px, 5vw, 64px);
  border-radius: 24px;
  background: linear-gradient(140deg, rgba(56, 189, 248, 0.1), rgba(99, 102, 241, 0.08)), var(--bg-card);
  border: 1px solid rgba(56, 189, 248, 0.25);
  box-shadow: var(--shadow);
}
.contact-info h2 {
  font-size: clamp(26px, 3.5vw, 36px);
  letter-spacing: 3px;
  margin-bottom: 14px;
}
.contact-lead {
  color: var(--text-dim);
  margin-bottom: 34px;
}
.contact-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
}
.contact-list i {
  flex: none;
  width: 48px; height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: var(--primary);
}
.contact-list i svg { width: 22px; height: 22px; }
.contact-list strong {
  display: block;
  font-size: 15px;
  margin-bottom: 2px;
}
.contact-list span {
  font-size: 14px;
  color: var(--text-dim);
}
.contact-list span a {
  color: var(--text-dim);
  transition: color .25s;
}
.contact-list span a:hover { color: var(--primary); }
.contact-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 26px;
}
.contact-visual > p {
  color: var(--text-dim);
  letter-spacing: 3px;
  font-size: 15px;
}
.pulse-pin {
  position: relative;
  width: 150px; height: 150px;
  display: grid;
  place-items: center;
}
.pulse-pin svg {
  position: relative;
  z-index: 2;
  width: 78px; height: 78px;
  filter: drop-shadow(0 10px 24px rgba(80, 130, 245, 0.45));
  animation: float 3.2s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(56, 189, 248, 0.5);
  animation: pulse 2.6s ease-out infinite;
}
.pulse.p2 { animation-delay: 1.3s; }
@keyframes pulse {
  from { transform: scale(.35); opacity: 1; }
  to   { transform: scale(1.15); opacity: 0; }
}

/* ------------------- 页脚 ------------------- */
.footer {
  background: var(--bg-darker);
  border-top: 1px solid var(--border);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 40px;
  padding: 64px 0 48px;
}
.footer-brand p {
  margin-top: 18px;
  color: var(--text-dim);
  font-size: 14px;
}
.footer-contact a {
  color: var(--text-dim);
  transition: color .25s;
}
.footer-contact a:hover { color: var(--primary); }
.footer-nav h4 {
  font-size: 16px;
  margin-bottom: 18px;
  letter-spacing: 2px;
}
.footer-nav a {
  display: block;
  color: var(--text-dim);
  font-size: 14px;
  margin-bottom: 12px;
  transition: color .25s, transform .25s;
}
.footer-nav a:hover {
  color: var(--primary);
  transform: translateX(4px);
}
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
}
.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: var(--text-dim);
}
.footer-bottom a { color: var(--text-dim); transition: color .25s; }
.footer-bottom a:hover { color: var(--primary); }

/* ------------------- 返回顶部 ------------------- */
.back-top {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 90;
  width: 46px; height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--grad);
  color: #fff;
  box-shadow: 0 12px 26px rgba(80, 130, 245, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity .3s, transform .3s, visibility .3s;
}
.back-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-top svg { width: 20px; height: 20px; }

/* ------------------- 入场动画 ------------------- */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.delay-1 { transition-delay: .12s; }
.delay-2 { transition-delay: .24s; }
.delay-3 { transition-delay: .36s; }
.delay-4 { transition-delay: .48s; }

/* ------------------- 响应式 ------------------- */
@media (max-width: 992px) {
  .about-grid { grid-template-columns: 1fr; gap: 44px; }
  .product-grid { grid-template-columns: 1fr 1fr; }
  .adv-grid, .sol-grid { grid-template-columns: 1fr 1fr; }
  .contact-card { grid-template-columns: 1fr; }
  .contact-visual { padding-top: 10px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(76vw, 320px);
    flex-direction: column;
    gap: 8px;
    padding: 96px 34px;
    background: rgba(9, 15, 34, 0.97);
    backdrop-filter: blur(16px);
    transform: translateX(100%);
    transition: transform .35s ease;
    border-left: 1px solid var(--border);
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { font-size: 17px; padding: 12px 0; }

  .section { padding: 80px 0; }
  .hero-content { padding: 130px 0 80px; }
  .hero-stats { gap: 22px; }
  .stat-divider { display: none; }
  .product-grid { grid-template-columns: 1fr; }
  .adv-grid, .sol-grid { grid-template-columns: 1fr; }
  .about-points { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; padding: 48px 0 32px; }
  .footer-bottom .container { justify-content: center; text-align: center; }
}
