:root {
  --bg: #ffffff;
  --bg2: #f2f7fd;
  --panel: #ffffff;
  --panel2: #f2f7fd;
  --line: rgba(26,95,208,.16);
  --cyan: #38bdf8;
  --accent: #1a5fd0;
  --blue: #2f7bff;
  --gold: #c98f1f;
  --text: #1d2f52;
  --muted: #5b708f;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif; background: var(--bg); color: var(--text); line-height: 1.8; font-size: 17px; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.site-header .wrap, .site-footer .wrap { max-width: none; padding: 0 6vw; }

/* Header */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: rgba(14,33,84,.8); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.header-inner { display: flex; align-items: center; gap: 30px; height: 100px; }
.logo img { height: 88px; width: auto; }
.nav { display: flex; gap: 34px; margin-left: auto; }
.nav a { font-size: 17px; color: #fff; font-weight: 600; padding: 8px 2px; border-bottom: 2px solid transparent; transition: .2s; }
.nav a:hover { color: #9fc2ff; border-color: #9fc2ff; }
.lang-btn { border: 1.5px solid rgba(255,255,255,.75); background: none; color: #fff; font-weight: 700; border-radius: 22px; padding: 6px 18px; cursor: pointer; font-size: 15px; transition: .2s; }
.lang-btn:hover { background: rgba(255,255,255,.18); color: #fff; }
.menu-btn { display: none; background: none; border: none; font-size: 26px; color: #fff; cursor: pointer; }

/* Hero */
.hero { position: relative; min-height: 560px; display: flex; align-items: center; overflow: hidden;
  background: linear-gradient(100deg, #081c4e 0%, #0e2a72 45%, #1a46a8 100%); }
.hero-sideimg { position: absolute; right: 0; top: 0; height: 100%; width: 58%; object-fit: contain; object-position: right 70%; z-index: 1; pointer-events: none; }
.hero::before { content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 80% 30%, rgba(56,189,248,.25), transparent 45%),
                    radial-gradient(circle at 15% 80%, rgba(47,123,255,.15), transparent 40%); }
.hero::after { content: ""; position: absolute; right: -60px; top: -60px; width: 460px; height: 460px; border-radius: 50%;
  border: 1px solid rgba(26,95,208,.22); box-shadow: 0 0 120px rgba(47,123,255,.12) inset; }
.hero .ring2 { position: absolute; right: 120px; bottom: -140px; width: 380px; height: 380px; border-radius: 50%; border: 1px dashed rgba(26,95,208,.28); animation: spin 40s linear infinite; }
.hero-art { display: none; }
@keyframes drift { 0%,100% { transform: translateY(-46%) scaleX(-1) translateX(0); } 50% { transform: translateY(-49%) scaleX(-1) translateX(16px); } }
@keyframes spin { to { transform: rotate(360deg); } }
.hero-inner { position: relative; z-index: 2; padding: 158px 6vw 58px; max-width: none; }
@media (min-width: 1248px) { .hero-inner .sub { max-width: 780px; } }
html.lang-en .hero-inner { padding: 158px 6vw 58px; }
html.lang-en .hero h1 { font-size: 36px; line-height: 1.2; }
html.lang-en .hero p.sub { font-size: 15px; margin-bottom: 18px; max-width: 700px; }
html.lang-en .hero-badge { font-size: 13px; }
.hero-badge { display: inline-block; border: 1px solid rgba(159,194,255,.5); background: rgba(56,189,248,.14); color: #38bdf8; border-radius: 20px; padding: 6px 20px; font-size: 15px; margin-bottom: 22px; letter-spacing: 2px; }
.hero h1 { font-size: 44px; line-height: 1.22; margin-bottom: 14px; font-weight: 800; color: #fff; }
.hero h1 em { font-style: normal; color: #38bdf8; }
.hero p.sub { font-size: 18px; color: #c3d4f2; margin-bottom: 34px; max-width: 720px; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.btn { display: inline-block; padding: 14px 36px; border-radius: 6px; font-size: 17px; font-weight: 700; transition: .2s; }
.btn-primary { background: linear-gradient(90deg, var(--blue), var(--cyan)); color: #fff; box-shadow: 0 6px 24px rgba(47,123,255,.4); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(56,189,248,.5); }
.btn-ghost { border: 1.5px solid rgba(255,255,255,.55); color: #fff; }
.btn-ghost:hover { border-color: #9fc2ff; color: #9fc2ff; background: rgba(255,255,255,.08); }
.hero-stats { display: flex; gap: 60px; margin-top: 56px; flex-wrap: wrap; }
.stat b { display: block; font-size: 30px; color: #fff; }
.stat b em { font-style: normal; color: #38bdf8; }
.stat span { font-size: 15px; color: #c3d4f2; }

/* Sections */
section { padding: 90px 0; }
.sec-head { text-align: center; margin-bottom: 60px; }
.sec-head h2 { font-size: 38px; color: #0d2547; font-weight: 800; }
.sec-head .bar { width: 56px; height: 4px; background: linear-gradient(90deg, var(--blue), var(--cyan)); border-radius: 2px; margin: 16px auto; }
.sec-head p { color: var(--muted); font-size: 17px; }

/* 产品 */
.prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.prod-card { background: linear-gradient(160deg, var(--panel), var(--bg2)); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; transition: .3s; position: relative; }
.prod-card::after { content: ""; position: absolute; inset: 0; border-radius: 14px; border: 1px solid transparent; transition: .3s; pointer-events: none; }
.prod-card:hover { transform: translateY(-8px); box-shadow: 0 20px 50px rgba(26,95,208,.14); }
.prod-card:hover::after { border-color: var(--cyan); }
.prod-card .thumb { height: 230px; background: linear-gradient(180deg, #eef5fd, #d9e9fb); border-radius: 12px; display: flex; align-items: center; justify-content: center; padding: 0; overflow: visible; position: relative; }
.prod-card .thumb img { max-height: 100%; object-fit: contain; padding: 14px; mix-blend-mode: multiply; }
.prod-card .thumb img.cut { mix-blend-mode: normal; filter: drop-shadow(0 10px 18px rgba(15,42,92,.3)) drop-shadow(0 3px 6px rgba(15,42,92,.25)); }
.prod-card .info { padding: 22px 24px 26px; }
.prod-card h3 { font-size: 21px; color: #0d2547; margin-bottom: 10px; }
.prod-card p { font-size: 15.5px; color: var(--muted); margin-bottom: 16px; }
.prod-card .more { font-size: 15px; color: var(--accent); font-weight: 700; }

/* 技术平台 */
.platform { background: linear-gradient(180deg, #eaf2fc, #ffffff); }
.plat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.plat-item { text-align: center; padding: 40px 26px; background: #f2f7ff; border: 1px solid var(--line); border-radius: 14px; transition: .3s; }
.plat-item:hover { background: #e4effd; transform: translateY(-4px); }
.plat-item img { height: 84px; width: auto; margin: 0 auto 20px; filter: drop-shadow(0 0 14px rgba(56,189,248,.5)); }
.plat-item h3 { font-size: 21px; color: #0d2547; margin-bottom: 10px; }
.plat-item p { font-size: 15.5px; color: var(--muted); }

/* 技术服务 */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.svc-card { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; transition: .3s; }
.svc-card:hover { transform: translateY(-6px); box-shadow: 0 18px 44px rgba(26,95,208,.13); }
.svc-card img { height: 220px; width: 100%; object-fit: cover; }
.svc-card .info { padding: 24px; }
.svc-card h3 { font-size: 20px; color: #0d2547; margin-bottom: 10px; }
.svc-card p { font-size: 15.5px; color: var(--muted); }

/* 新闻动态 */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.news-card { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 28px; display: flex; flex-direction: column; transition: .3s; }
.news-card:hover { transform: translateY(-6px); border-color: var(--accent); box-shadow: 0 18px 44px rgba(26,95,208,.13); }
.news-date { color: var(--accent); font-size: 14px; font-weight: 700; margin-bottom: 12px; letter-spacing: 1px; }
.news-card h3 { font-size: 19px; color: #0d2547; margin-bottom: 12px; line-height: 1.5; }
.news-card p { font-size: 15px; color: var(--muted); flex: 1; margin-bottom: 18px; }
.news-card .more { color: var(--accent); font-weight: 700; font-size: 15px; }

/* 公司简介 */
.about { background: linear-gradient(180deg, #eaf2fc, #ffffff); }
.about-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 54px; align-items: center; }
.about-grid img { border-radius: 14px; box-shadow: 0 20px 50px rgba(26,95,208,.18); }
.about-text h3 { font-size: 26px; color: #0d2547; margin-bottom: 20px; }
.about-text p { color: var(--muted); font-size: 16.5px; margin-bottom: 16px; }

/* 联系 */
.contact { background: radial-gradient(circle at 20% 20%, rgba(47,123,255,.08), transparent 40%), #ffffff; }
.contact-grid { display: flex; gap: 60px; align-items: center; justify-content: center; flex-wrap: wrap; }
.contact-grid img { width: 190px; border-radius: 12px; background: #fff; padding: 10px; }
.contact-info p { margin-bottom: 10px; font-size: 17px; color: var(--muted); }
.contact-info strong { color: #0d2547; font-size: 19px; }

/* Footer */
.site-footer { background: linear-gradient(180deg, #3c4c76 0%, #35436a 100%); color: #dfe4ef; padding: 54px 0 0; font-size: 15px; }
.footer-inner { display: flex; gap: 60px; padding-bottom: 36px; flex-wrap: wrap; }
.flogo { height: 58px; width: auto; margin-bottom: 14px; }
.site-footer a:hover { color: #9fc2ff; }
.fother { margin-left: auto; text-align: right; }
.social a { color: #cdd9f5; }
.copyright { border-top: 1px solid rgba(255,255,255,.16); text-align: center; padding: 18px; font-size: 14px; color: #9db0e0; }

/* Article page */
.article-page { padding: 64px 24px 80px; max-width: 920px; }
.article-page { padding-top: 150px; }
.article-page h1 { color: #0d2547; font-size: 36px; margin-bottom: 18px; }
.article-page .lead { background: rgba(47,123,255,.1); border-left: 4px solid var(--cyan); padding: 18px 22px; color: var(--text); margin-bottom: 32px; border-radius: 0 8px 8px 0; font-size: 17px; }
.lead:empty { display: none; }
.article-page .art-img { border-radius: 12px; margin: 0 auto 34px; max-height: 460px; object-fit: contain; }
.art-body { font-size: 17px; color: #33415e; }
.art-body img { border-radius: 12px; box-shadow: 0 14px 36px rgba(15,42,92,.16); }
.art-body p { margin-bottom: 18px; }
.back { margin-top: 46px; }
.back a { color: var(--accent); font-weight: 700; }

/* 滚动浮现动效 */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.on { opacity: 1; transform: none; }

/* Mobile */
@media (max-width: 960px) {
  .wrap { padding: 0 20px; }
  .site-header { background: rgba(14,33,84,.85); }
  .hero-inner { padding: 118px 20px 70px; }
  .article-page { padding-top: 110px; }
  .hero-inner { padding: 70px 20px; max-width: none; }
  .hero-stats { gap: 28px 36px; margin-top: 40px; }
  .nav { position: fixed; top: 74px; right: -280px; width: 250px; flex-direction: column; background: #1c3a8e; height: calc(100vh - 74px); padding: 28px; transition: .25s; margin-left: 0; border-left: 1px solid var(--line); }
  .nav.open { right: 0; }
  .menu-btn { display: block; margin-left: auto; }
  .lang-btn { order: 3; }
  .prod-grid, .plat-grid, .svc-grid, .news-grid, .about-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 32px; }
  .hero p.sub { font-size: 18px; }
  .header-inner { height: 72px; }
  .logo img { height: 52px; }
  .hero-art { opacity: .45; height: auto; max-width: 110%; right: -20%; }
  .sec-head h2 { font-size: 30px; }
  .footer-inner { flex-direction: column; gap: 22px; }
  .fother { text-align: left; margin-left: 0; }
}

/* 社交图标按钮 */
.social { display: flex; gap: 12px; justify-content: flex-end; }
.soc { width: 44px; height: 44px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: rgba(255,255,255,.06); border: 1px solid var(--line); color: #cfe0f5; transition: .25s; }
.soc:hover { transform: translateY(-4px) scale(1.08); color: #fff; box-shadow: 0 8px 22px rgba(0,0,0,.45); }
.soc.yt:hover { background: #ff0000; border-color: #ff0000; }
.soc.x:hover  { background: #000000; border-color: #666; }
.soc.fb:hover { background: #1877f2; border-color: #1877f2; }
.soc.mail:hover { background: var(--blue); border-color: var(--blue); }
@media (max-width: 960px) { .social { justify-content: flex-start; } }

sup { font-size: 55%; vertical-align: super; line-height: 0; margin-left: 1px; }
