/* ===== 瞬知智能多页站 - 公共样式 ===== */
:root {
  --cyan: #00e5ff;
  --cyan2: #00bcd4;
  --dark: #050c18;
  --dark2: #081224;
  --dark3: #0a1628;
  --card: rgba(255,255,255,0.04);
  --border: rgba(0,229,255,0.15);
  --text: #e8f4f8;
  --text2: #8eb8c8;
}
* { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }
body {
  font-family: 'PingFang SC','Microsoft YaHei',sans-serif;
  background: var(--dark);
  color: var(--text);
  overflow-x: hidden;
}
::-webkit-scrollbar { width:6px; }
::-webkit-scrollbar-track { background:var(--dark2); }
::-webkit-scrollbar-thumb { background:var(--cyan2); border-radius:3px; }

/* ===== NAV ===== */
nav {
  position: fixed; top:0; left:0; right:0; z-index:1000;
  display:flex; align-items:center; justify-content:space-between;
  padding: 0 48px;
  height: 70px;
  background: rgba(5,12,24,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0,229,255,0.08);
  transition: all .3s;
}
nav.scrolled {
  background: rgba(5,12,24,0.97);
  box-shadow: 0 4px 30px rgba(0,229,255,0.08);
}
.nav-logo { display:flex; align-items:center; gap:10px; text-decoration:none; }
.nav-logo img { height: 40px; filter: brightness(1.1); }
.nav-menu { display:flex; align-items:center; gap:4px; list-style:none; }
.nav-menu a {
  display:block; padding:8px 16px;
  color: var(--text2);
  text-decoration:none; font-size:15px;
  border-radius:6px;
  transition: all .25s;
}
.nav-menu a:hover { color:#fff; background:rgba(255,255,255,0.05); }
.nav-menu a.active {
  color: var(--cyan);
  background: rgba(0,229,255,0.08);
  border-bottom: 2px solid var(--cyan);
}
.nav-cta {
  padding: 10px 24px;
  background: var(--cyan);
  color: var(--dark) !important;
  font-weight:600; font-size:14px;
  border-radius:8px;
  text-decoration:none;
  transition: all .25s !important;
  box-shadow: 0 0 20px rgba(0,229,255,0.35);
  margin-left: 8px;
}
.nav-cta:hover {
  background: #fff !important;
  box-shadow: 0 0 30px rgba(0,229,255,0.6) !important;
  color: var(--dark) !important;
}
.nav-hamburger {
  display:none; flex-direction:column; gap:5px; cursor:pointer;
  padding:4px;
}
.nav-hamburger span {
  display:block; width:24px; height:2px;
  background: var(--text2); border-radius:2px; transition:.3s;
}
.nav-mobile { display:none; }

/* ===== FOOTER ===== */
footer { background: #030810; padding: 60px 0 30px; border-top: 1px solid rgba(0,229,255,0.08); }
.footer-grid { display:grid; grid-template-columns:2fr 1fr 1fr 1fr; gap:48px; margin-bottom:48px; }
.footer-brand img { height:40px; margin-bottom:16px; filter:brightness(1.1); }
.footer-brand p { font-size:14px; color:var(--text2); line-height:1.7; margin-bottom:20px; }
.footer-social { display:flex; gap:10px; }
.social-btn { width:36px; height:36px; border-radius:8px; border:1px solid rgba(0,229,255,0.2); display:flex; align-items:center; justify-content:center; color:var(--text2); text-decoration:none; font-size:16px; transition:all .25s; }
.social-btn:hover { background:rgba(0,229,255,0.1); border-color:var(--cyan); color:var(--cyan); }
.footer-col h4 { font-size:15px; color:#fff; margin-bottom:20px; padding-bottom:10px; border-bottom:1px solid rgba(0,229,255,0.1); }
.footer-links { display:flex; flex-direction:column; gap:10px; }
.footer-links a { font-size:14px; color:var(--text2); text-decoration:none; transition:color .2s; display:flex; align-items:center; gap:6px; }
.footer-links a:hover { color:var(--cyan); }
.footer-links a::before { content:''; width:4px; height:4px; border-radius:50%; background:var(--border); flex-shrink:0; transition:background .2s; }
.footer-links a:hover::before { background:var(--cyan); }
.footer-bottom { padding-top:24px; border-top: 1px solid rgba(255,255,255,0.06); display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:12px; }
.footer-bottom p { font-size:13px; color:var(--text2); }

/* ===== COMMON LAYOUT ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
section { padding: 100px 0; }
.page-hero {
  padding: 160px 0 80px;
  background: linear-gradient(180deg, var(--dark2) 0%, var(--dark) 100%);
  position: relative; overflow:hidden;
}
.page-hero-bg {
  position:absolute; inset:0;
  background: radial-gradient(ellipse 60% 80% at 20% 50%, rgba(0,100,180,0.18) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 80% 30%, rgba(0,200,255,0.08) 0%, transparent 60%);
}
.page-hero-lines {
  position:absolute; inset:0;
  background-image: linear-gradient(rgba(0,229,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,229,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
}
.page-hero-content { position:relative; z-index:2; }
.section-tag {
  display:inline-block; padding: 5px 14px;
  background: rgba(0,229,255,0.08);
  border: 1px solid rgba(0,229,255,0.2);
  border-radius: 20px;
  font-size: 12px; color: var(--cyan);
  letter-spacing: 2px; text-transform:uppercase;
  margin-bottom: 16px;
}
.section-title { font-size: clamp(28px, 4vw, 44px); font-weight: 700; line-height: 1.2; margin-bottom: 20px; color: #fff; }
.section-title span { color: var(--cyan); }
.section-desc { font-size: 16px; color: var(--text2); line-height: 1.8; }

/* ===== SCROLL ANIMATIONS ===== */
.reveal { opacity:0; transform:translateY(40px); transition: all .7s ease; }
.reveal.visible { opacity:1; transform:translateY(0); }
.reveal-left { opacity:0; transform:translateX(-40px); transition: all .7s ease; }
.reveal-left.visible { opacity:1; transform:translateX(0); }
.reveal-right { opacity:0; transform:translateX(40px); transition: all .7s ease; }
.reveal-right.visible { opacity:1; transform:translateX(0); }

/* ===== SCROLL TOP BTN ===== */
.scroll-top { position:fixed; bottom:32px; right:32px; z-index:999; width:46px; height:46px; border-radius:12px; background: var(--cyan); border:none; cursor:pointer; display:flex; align-items:center; justify-content:center; font-size:20px; color:#050c18; box-shadow: 0 4px 20px rgba(0,229,255,0.4); opacity:0; transform:translateY(20px); transition: all .3s; }
.scroll-top.show { opacity:1; transform:translateY(0); }
.scroll-top:hover { transform:translateY(-3px); }

/* ===== CARDS ===== */
.card {
  background: var(--card); border: 1px solid var(--border); border-radius:16px;
  padding:32px; transition: all .3s;
}
.card:hover { transform: translateY(-6px); border-color: rgba(0,229,255,0.4); box-shadow: 0 20px 60px rgba(0,0,0,0.4); }

/* ===== RESPONSIVE ===== */
@media (max-width:1024px) {
  .footer-grid { grid-template-columns:1fr 1fr; }
}
@media (max-width:768px) {
  nav { padding:0 20px; }
  .nav-menu { display:none; }
  .nav-hamburger { display:flex; }
  .nav-mobile.open { display:flex; flex-direction:column; position:fixed; top:70px; left:0; right:0; background:rgba(5,12,24,0.97); border-bottom:1px solid var(--border); padding:16px; gap:4px; z-index:999; }
  .nav-mobile a { display:block; padding:12px 16px; color:var(--text2); text-decoration:none; border-radius:8px; font-size:15px; }
  .nav-mobile a.active, .nav-mobile a:hover { color:var(--cyan); background:rgba(0,229,255,0.06); }
  .container { padding: 0 20px; }
  section { padding: 60px 0; }
  .footer-grid { grid-template-columns:1fr; }
  .page-hero { padding:120px 0 60px; }
}
