/* ===== 设计变量 ===== */
:root {
  --primary: #2563ff;
  --primary-2: #38bdf8;
  --accent: #22d3ee;
  --dark: #0a1b3d;
  --dark-2: #0d214f;
  --ink: #10204a;
  --text: #4b5a78;
  --muted: #8a97b4;
  --line: #e6ecf8;
  --bg-soft: #f4f8ff;
  --grad: linear-gradient(135deg, #2563ff, #38bdf8);
  --shadow-sm: 0 4px 16px rgba(16, 32, 74, .06);
  --shadow-md: 0 14px 34px rgba(16, 32, 74, .10);
  --shadow-lg: 0 24px 60px rgba(16, 32, 74, .16);
  --radius: 16px;
}

/* ===== 全局 ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  color: var(--text);
  background: #fff;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }
::selection { background: rgba(37, 99, 255, .18); }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ===== 按钮 ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 30px; border-radius: 10px;
  font-size: 15px; font-weight: 600; letter-spacing: 1px;
  border: 1px solid transparent; cursor: pointer;
  transition: all .28s ease;
}
.btn-primary {
  background: var(--grad); color: #fff;
  box-shadow: 0 8px 22px rgba(37, 99, 255, .32);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(37, 99, 255, .42); }
.btn-glass {
  background: rgba(255, 255, 255, .12); color: #fff;
  border-color: rgba(255, 255, 255, .4);
  backdrop-filter: blur(6px);
}
.btn-glass:hover { background: rgba(255, 255, 255, .22); transform: translateY(-2px); }
.btn-outline { border-color: var(--primary); color: var(--primary); background: transparent; }
.btn-outline:hover { background: rgba(37, 99, 255, .08); }

/* ===== 顶部导航（悬浮玻璃） ===== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: all .3s ease;
  background: transparent;
}
.site-header .header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo a { display: flex; align-items: center; font-size: 20px; font-weight: 700; color: #fff; transition: color .3s; white-space: nowrap; }
.logo-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; margin-right: 11px;
  background: var(--grad); color: #fff; border-radius: 10px;
  font-size: 18px; box-shadow: 0 6px 16px rgba(37, 99, 255, .4);
}
.main-nav ul { display: flex; gap: 4px; }
.main-nav a {
  display: block; padding: 9px 18px; border-radius: 8px;
  color: rgba(255, 255, 255, .92); font-size: 15px;
  transition: all .22s ease;
}
.main-nav a:hover { color: #fff; background: rgba(255, 255, 255, .14); }
.main-nav a.active {
  background: var(--grad); color: #fff;
  box-shadow: 0 6px 16px rgba(37, 99, 255, .35);
}
.nav-toggle { display: none; background: none; border: none; font-size: 26px; color: #fff; cursor: pointer; }

/* 滚动后的实心导航 */
.site-header.scrolled {
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 4px 24px rgba(16, 32, 74, .09);
}
.site-header.scrolled .logo a { color: var(--ink); }
.site-header.scrolled .main-nav a { color: var(--text); }
.site-header.scrolled .main-nav a:hover { color: var(--primary); background: rgba(37, 99, 255, .08); }
.site-header.scrolled .main-nav a.active { color: #fff; }
.site-header.scrolled .nav-toggle { color: var(--ink); }

/* ===== 横幅区 ===== */
.hero {
  position: relative; overflow: hidden;
  padding: 190px 0 130px;
  background: radial-gradient(1200px 600px at 80% -10%, rgba(56, 189, 248, .28), transparent 60%),
              radial-gradient(900px 500px at 0% 110%, rgba(34, 211, 238, .18), transparent 55%),
              linear-gradient(160deg, #081631, #0b1f4d 55%, #0c2a63);
}
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .35; }
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 56px 56px;
}
/* 漂浮光球 */
.hero-orbs { position: absolute; inset: 0; pointer-events: none; }
.hero-orbs::before, .hero-orbs::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55;
}
.hero-orbs::before { width: 360px; height: 360px; top: 8%; left: 8%; background: rgba(37, 99, 255, .55); animation: orbFloat 12s ease-in-out infinite; }
.hero-orbs::after { width: 300px; height: 300px; bottom: 6%; right: 10%; background: rgba(34, 211, 238, .4); animation: orbFloat 16s ease-in-out infinite reverse; }
@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, -30px) scale(1.12); }
}
.hero-content { position: relative; color: #fff; text-align: center; max-width: 860px; margin: 0 auto; }
.hero-badge {
  display: inline-block; padding: 7px 18px; margin-bottom: 26px;
  font-size: 12px; letter-spacing: 3px; color: rgba(255, 255, 255, .85);
  border: 1px solid rgba(255, 255, 255, .28); border-radius: 40px;
  background: rgba(255, 255, 255, .08); backdrop-filter: blur(6px);
}
.hero-content h1 { font-size: 46px; line-height: 1.35; margin-bottom: 22px; font-weight: 700; letter-spacing: 1px; }
.grad-text {
  background: linear-gradient(90deg, #7cc6ff, #4df0ff);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.hero-content p { font-size: 17px; opacity: .82; max-width: 640px; margin: 0 auto 40px; }
.hero-actions { display: flex; gap: 18px; justify-content: center; }
/* 向下滚动提示 */
.hero-scroll {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  width: 28px; height: 46px; border: 2px solid rgba(255, 255, 255, .5); border-radius: 18px;
}
.hero-scroll::after {
  content: ""; position: absolute; left: 50%; top: 9px; transform: translateX(-50%);
  width: 5px; height: 9px; border-radius: 4px; background: #fff;
  animation: scrollDot 1.8s ease-in-out infinite;
}
@keyframes scrollDot {
  0% { opacity: 1; transform: translate(-50%, 0); }
  70% { opacity: 0; transform: translate(-50%, 16px); }
  100% { opacity: 0; }
}

/* ===== 区块 ===== */
.section { padding: 88px 0; }
.section-gray { background: var(--bg-soft); }
.section-eyebrow {
  display: block; text-align: center;
  font-size: 12px; letter-spacing: 4px; color: var(--primary);
  text-transform: uppercase; margin-bottom: 10px; font-weight: 600;
}
.section-title {
  text-align: center; font-size: 30px; color: var(--ink);
  margin-bottom: 46px; font-weight: 700; letter-spacing: 1px;
}
.section-title::after {
  content: ""; display: block; width: 64px; height: 4px; border-radius: 3px;
  background: var(--grad); margin: 16px auto 0;
  box-shadow: 0 4px 12px rgba(37, 99, 255, .35);
}
.section-more { text-align: center; margin-top: 42px; }

/* ===== 公司简介（首页） ===== */
.intro-block { display: grid; grid-template-columns: 1.15fr 1fr; gap: 52px; align-items: center; }
.intro-text p { text-indent: 2em; color: var(--text); margin-bottom: 28px; font-size: 15.5px; }
.intro-features { display: grid; gap: 16px; }
.feature-card {
  position: relative; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 24px; display: flex; align-items: center; gap: 18px;
  box-shadow: var(--shadow-sm);
  transition: all .3s ease;
}
.feature-card::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: var(--grad); opacity: 0; transition: opacity .3s;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature-card:hover::before { opacity: 1; }
.feature-num {
  flex-shrink: 0; width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 700; color: #fff; border-radius: 12px;
  background: var(--grad); box-shadow: 0 8px 18px rgba(37, 99, 255, .3);
}
.feature-card h3 { font-size: 17px; color: var(--ink); margin-bottom: 3px; font-weight: 600; }
.feature-card p { color: var(--muted); font-size: 13.5px; }

/* ===== 卡片（产品） ===== */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  transition: all .32s ease;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card::after {
  content: ""; position: absolute; inset: 0; border-radius: var(--radius);
  padding: 1.5px; background: var(--grad);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .32s;
  pointer-events: none;
}
.card:hover::after { opacity: 1; }
.card-img { height: 210px; overflow: hidden; background: #e9f0fe; position: relative; }
.card-img::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(8, 22, 49, .28));
  opacity: 0; transition: opacity .32s;
}
.card:hover .card-img::after { opacity: 1; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.card:hover .card-img img { transform: scale(1.08); }
.card-body { padding: 20px 22px 24px; }
.card-body h3 { font-size: 18px; color: var(--ink); margin-bottom: 8px; font-weight: 600; }
.card-body p { color: var(--muted); font-size: 13.5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ===== 新闻列表 ===== */
.news-list { display: grid; gap: 18px; }
.news-item {
  display: grid; grid-template-columns: 92px 1fr auto; gap: 24px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 26px; position: relative; overflow: hidden;
  transition: all .3s ease;
}
.news-item::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: var(--grad); opacity: 0; transition: opacity .3s;
}
.news-item:hover { transform: translateX(6px); box-shadow: var(--shadow-md); }
.news-item:hover::before { opacity: 1; }
.news-date {
  text-align: center; color: var(--primary);
  border-right: 1px solid var(--line); padding-right: 24px;
}
.news-date b { display: block; font-size: 30px; line-height: 1.15; font-weight: 700; }
.news-date span { font-size: 12px; letter-spacing: 2px; }
.news-title { font-size: 17px; color: var(--ink); margin-bottom: 5px; font-weight: 600; transition: color .25s; }
.news-item:hover .news-title { color: var(--primary); }
.news-main { min-width: 0; }
.news-summary { color: var(--muted); font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.news-more { color: var(--primary); font-size: 14px; white-space: nowrap; font-weight: 600; }
.news-more::after { content: "→"; margin-left: 6px; transition: margin-left .25s; }
.news-item:hover .news-more::after { margin-left: 12px; }

/* ===== 分页 ===== */
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 44px; }
.pagination a {
  min-width: 40px; height: 40px; line-height: 40px; text-align: center;
  border: 1px solid var(--line); border-radius: 10px; color: var(--text); padding: 0 10px;
  transition: all .22s; background: #fff;
}
.pagination a:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }
.pagination a.active { background: var(--grad); color: #fff; border-color: transparent; box-shadow: 0 6px 16px rgba(37, 99, 255, .32); }

/* ===== 页内横幅 ===== */
.page-banner {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, #081631, #0b1f4d 55%, #0c2a63);
  color: #fff; padding: 170px 0 74px; text-align: center;
}
.page-banner::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(700px 300px at 20% 0%, rgba(56,189,248,.22), transparent 60%),
              radial-gradient(600px 300px at 90% 110%, rgba(34,211,238,.16), transparent 55%);
}
.page-banner > * { position: relative; }
.page-banner h1 { font-size: 34px; margin-bottom: 10px; letter-spacing: 1px; }
.page-banner p { opacity: .8; font-size: 14px; letter-spacing: 1px; }
.page-banner a { color: #8fd0ff; }
.page-banner a:hover { color: #fff; }

/* ===== 通用正文 ===== */
.page-content { font-size: 15px; color: var(--text); line-height: 2.1; max-width: 900px; margin: 0 auto; }

/* ===== 筛选栏 ===== */
.filter-bar { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-bottom: 40px; }
.filter-bar a {
  padding: 9px 24px; border: 1px solid var(--line); border-radius: 40px;
  color: var(--text); font-size: 14px; background: #fff; transition: all .22s;
}
.filter-bar a:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }
.filter-bar a.active { background: var(--grad); border-color: transparent; color: #fff; box-shadow: 0 6px 16px rgba(37, 99, 255, .32); }

/* ===== 详情页 ===== */
.detail-layout { display: grid; grid-template-columns: 1fr 310px; gap: 34px; align-items: start; }
.detail-main {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px; box-shadow: var(--shadow-sm);
}
.detail-cover { border-radius: 12px; overflow: hidden; margin-bottom: 26px; background: #e9f0fe; }
.detail-cover img { width: 100%; max-height: 430px; object-fit: cover; }
.detail-title { font-size: 26px; color: var(--ink); margin-bottom: 16px; font-weight: 700; }
.detail-meta {
  display: flex; gap: 24px; color: var(--muted); font-size: 13px;
  padding-bottom: 18px; border-bottom: 1px solid var(--line); margin-bottom: 22px; flex-wrap: wrap;
}
.detail-content { color: var(--text); line-height: 2.1; font-size: 15px; }
.detail-content p { margin-bottom: 14px; }
.detail-actions { margin-top: 30px; }
.detail-side {
  position: sticky; top: 96px;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px;
}
.detail-side > h3 {
  font-size: 17px; color: var(--ink); margin-bottom: 16px; font-weight: 700;
  padding-bottom: 12px; position: relative;
}
.detail-side > h3::after { content: ""; position: absolute; left: 0; bottom: 0; width: 44px; height: 3px; border-radius: 2px; background: var(--grad); }
.side-item {
  display: flex; align-items: center; gap: 12px; padding: 11px 0;
  border-bottom: 1px dashed var(--line); font-size: 14px; color: var(--text);
  transition: color .22s;
}
.side-item:last-child { border-bottom: none; }
.side-item img { width: 58px; height: 44px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.side-item:hover { color: var(--primary); }

/* ===== 联系我们 ===== */
.contact-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 34px; align-items: start; }
.contact-info, .contact-form {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px; box-shadow: var(--shadow-sm);
}
.contact-info h2, .contact-form h2 { font-size: 21px; color: var(--ink); margin-bottom: 20px; font-weight: 700; position: relative; padding-bottom: 12px; }
.contact-info h2::after, .contact-form h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 44px; height: 3px; border-radius: 2px; background: var(--grad); }
.info-list li { padding: 13px 0; border-bottom: 1px dashed var(--line); color: var(--text); }
.info-list li:last-child { border-bottom: none; }
.info-list li strong { color: var(--ink); }
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.contact-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 22px; text-align: center; transition: all .3s ease; position: relative; overflow: hidden;
}
.contact-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--grad); opacity: 0; transition: opacity .3s; }
.contact-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.contact-card:hover::before { opacity: 1; }
.contact-card h3 { color: var(--primary); font-size: 17px; margin-bottom: 10px; font-weight: 600; }
.contact-card p { color: var(--muted); font-size: 13.5px; }
.form-row { margin-bottom: 20px; }
.form-row label { display: block; margin-bottom: 8px; color: var(--ink); font-size: 14px; font-weight: 600; }
.form-row .req { color: #e11d48; }
.form-row input, .form-row textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px;
  font-size: 14px; font-family: inherit; transition: all .22s; outline: none; background: #fbfdff;
}
.form-row input:focus, .form-row textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(37, 99, 255, .1); background: #fff; }
.alert { padding: 13px 16px; border-radius: 10px; font-size: 14px; margin-bottom: 18px; }
.alert-success { background: #ecfdf5; color: #065f46; border: 1px solid #6ee7b7; }
.alert-error { background: #fef2f2; color: #991b1b; border: 1px solid #fca5a5; }
.empty-tip { color: var(--muted); text-align: center; padding: 34px 0; }

/* ===== 页脚 ===== */
.site-footer {
  position: relative; overflow: hidden;
  background: linear-gradient(165deg, #081029, #0b1f4d);
  color: #a3b3d8; padding: 60px 0 0; margin-top: 20px;
}
.site-footer::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(800px 300px at 85% 0%, rgba(56,189,248,.12), transparent 60%);
  pointer-events: none;
}
.site-footer .container { position: relative; }
.footer-cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-col h4 { color: #fff; font-size: 16px; margin-bottom: 16px; font-weight: 600; letter-spacing: 1px; }
.footer-col p { font-size: 13.5px; margin-bottom: 8px; }
.footer-col a:hover { color: #7cc6ff; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; padding: 20px 0; font-size: 12.5px; color: #7d8fb8; }
.beian a { color: #7d8fb8; margin-left: 16px; }
.beian a:hover { color: #fff; }

/* ===== 滚动入场动画 ===== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ===== 响应式 ===== */
@media (max-width: 900px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .intro-block, .contact-layout, .detail-layout { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr; }
  .contact-cards { grid-template-columns: 1fr; }
  .news-item { grid-template-columns: 80px 1fr; gap: 16px; }
  .news-more { display: none; }
  .detail-side { position: static; }
  .hero { padding: 150px 0 100px; }
  .page-banner { padding: 140px 0 60px; }
}
@media (max-width: 640px) {
  .nav-toggle { display: block; }
  .main-nav {
    display: none; position: fixed; top: 76px; left: 12px; right: 12px;
    background: rgba(255, 255, 255, .98); backdrop-filter: blur(10px);
    border-radius: 14px; box-shadow: var(--shadow-lg);
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; padding: 12px; }
  .main-nav a { color: var(--ink) !important; border-radius: 8px; }
  .main-nav a.active { color: #fff !important; }
  .hero-content h1 { font-size: 30px; }
  .hero-badge { font-size: 10px; letter-spacing: 2px; padding: 6px 12px; }
  .card-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .news-item { grid-template-columns: 1fr; text-align: left; }
  .news-date { border-right: none; border-bottom: 1px solid var(--line); padding: 0 0 8px; text-align: left; }
  .news-date b { font-size: 20px; display: inline; margin-right: 8px; }
}
