/* ============ 基础 ============ */
:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-deep: #0b2f8f;
  --dark: #0f172a;
  --text: #334155;
  --muted: #64748b;
  --bg: #ffffff;
  --bg-gray: #f5f8fc;
  --border: #e2e8f0;
  --radius: 14px;
  --shadow: 0 2px 12px rgba(15, 23, 42, .06);
  --shadow-lg: 0 12px 32px rgba(15, 23, 42, .12);
  --accent: #f59e0b;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--text); background: var(--bg); line-height: 1.7; font-size: 15px;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ============ 按钮 ============ */
.btn {
  display: inline-block; padding: 11px 28px; border-radius: 10px; font-size: 15px;
  border: 1px solid transparent; cursor: pointer; transition: all .2s; text-align: center;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-light { background: #fff; color: var(--primary-dark); font-weight: 600; }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-ghost { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.5); }
.btn-ghost:hover { background: rgba(255,255,255,.24); }
.btn-outline { border-color: var(--primary); color: var(--primary); background: transparent; }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-block { display: block; width: 100%; }

/* ============ 顶部导航 ============ */
.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); transition: box-shadow .25s;
}
.site-header.scrolled { box-shadow: var(--shadow); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark { width: 38px; height: 38px; border-radius: 9px; flex-shrink: 0; }
.brand-text { font-size: 21px; font-weight: 700; color: var(--dark); line-height: 1.1; display: flex; flex-direction: column; }
.brand-text small { font-size: 11px; font-weight: 400; color: var(--muted); letter-spacing: 2px; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav > a { padding: 8px 16px; border-radius: 8px; font-size: 15px; color: var(--text); transition: all .2s; }
.nav > a:hover { color: var(--primary); background: #eff6ff; }
.nav > a.active { color: var(--primary); font-weight: 600; }
.nav-cta { background: var(--primary) !important; color: #fff !important; margin-left: 8px; }
.nav-cta:hover { background: var(--primary-dark) !important; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--dark); margin: 5px 0; border-radius: 2px; transition: .2s; }

/* ============ Hero ============ */
.hero {
  background:
    radial-gradient(1000px 400px at 85% -10%, rgba(96,165,250,.35), transparent 60%),
    radial-gradient(700px 300px at -5% 110%, rgba(37,99,235,.4), transparent 60%),
    linear-gradient(135deg, #0b2f8f 0%, #1d4ed8 55%, #2563eb 100%);
  color: #fff; overflow: hidden;
}
.hero-inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; padding: 84px 20px 90px; }
.hero-tag {
  display: inline-block; padding: 5px 14px; border-radius: 999px; font-size: 13px;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3); margin-bottom: 20px;
}
.hero h1 { font-size: 44px; line-height: 1.25; letter-spacing: 1px; }
.hero h1 em { font-style: normal; color: #fde047; }
.hero-sub { margin: 18px 0 28px; font-size: 16px; color: rgba(255,255,255,.85); max-width: 520px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 44px; margin-top: 46px; }
.hero-stats strong { font-size: 30px; display: block; font-weight: 700; }
.hero-stats strong i { font-style: normal; font-size: 15px; margin-left: 2px; }
.hero-stats span { font-size: 13px; color: rgba(255,255,255,.75); }
.hero-visual { position: relative; }
.hero-svg { width: 100%; height: auto; filter: drop-shadow(0 20px 40px rgba(0,0,0,.3)); }
.hero-float {
  position: absolute; background: #fff; color: var(--text); font-size: 13px; font-weight: 600;
  padding: 9px 16px; border-radius: 10px; box-shadow: var(--shadow-lg); animation: floaty 3.4s ease-in-out infinite;
}
.hf1 { top: 8%; right: -2%; }
.hf2 { bottom: 22%; left: -4%; animation-delay: .8s; }
.hf3 { bottom: 2%; right: 8%; animation-delay: 1.6s; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* ============ 区块 ============ */
.section { padding: 76px 0; }
.section-gray { background: var(--bg-gray); }
.section-dark { background: linear-gradient(120deg, #0f172a, #1e293b); color: #fff; }
.section-head { text-align: center; margin-bottom: 46px; }
.section-tag {
  display: inline-block; font-size: 12px; letter-spacing: 3px; color: var(--primary);
  background: #eff6ff; padding: 4px 14px; border-radius: 999px; margin-bottom: 12px; font-weight: 600;
}
.section-tag.light { background: rgba(255,255,255,.12); color: #93c5fd; }
.section-head h2 { font-size: 32px; color: var(--dark); letter-spacing: 1px; }
.section-dark .section-head h2, .join-text h2 { color: #fff; }
.section-head p { color: var(--muted); margin-top: 8px; }
.section-more { text-align: center; margin-top: 40px; }

/* ============ Tabs ============ */
.tabs { display: flex; justify-content: center; gap: 10px; margin-bottom: 36px; flex-wrap: wrap; }
.tab {
  padding: 9px 26px; border-radius: 999px; background: #fff; border: 1px solid var(--border);
  color: var(--text); font-size: 14px; cursor: pointer; transition: all .2s;
}
.tab:hover { border-color: var(--primary); color: var(--primary); }
.tab.active { background: var(--primary); border-color: var(--primary); color: #fff; font-weight: 600; }

/* ============ 产品卡片 ============ */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 22px; }
.product-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 22px;
  transition: all .25s; display: flex; flex-direction: column; position: relative; overflow: hidden;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: #bfdbfe; }
.product-icon {
  width: 58px; height: 58px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  font-size: 28px; margin-bottom: 16px; overflow: hidden; flex-shrink: 0;
}
.product-icon span { line-height: 1; }
.product-icon img { width: 100%; height: 100%; object-fit: cover; }
.product-icon.web { background: linear-gradient(135deg, #dbeafe, #eff6ff); border: 1px solid #bfdbfe; }
.product-icon.client { background: linear-gradient(135deg, #fef3c7, #fffbeb); border: 1px solid #fde68a; }
.product-icon.large { width: 84px; height: 84px; font-size: 40px; border-radius: 20px; }
.product-card h3 { font-size: 17px; color: var(--dark); margin-bottom: 8px; }
.product-card p {
  font-size: 13.5px; color: var(--muted); flex: 1;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 46px;
}
.product-meta { display: flex; gap: 8px; flex-wrap: wrap; margin: 14px 0 12px; }
.tag { font-size: 12px; padding: 2px 10px; border-radius: 999px; background: #f1f5f9; color: var(--muted); }
.tag.web { background: #dbeafe; color: #1d4ed8; }
.tag.client { background: #fef3c7; color: #b45309; }
.tag.demo { background: #dcfce7; color: #15803d; }
.tag.dl { background: #fae8ff; color: #a21caf; }
.tag.plain { background: #f1f5f9; }
.product-more { font-size: 13px; color: var(--primary); font-weight: 600; }

/* ============ 优势 ============ */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.feature-card {
  background: #fff; border-radius: var(--radius); padding: 34px 26px; text-align: center;
  border: 1px solid var(--border); transition: all .25s;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.feature-icon {
  width: 66px; height: 66px; margin: 0 auto 18px; border-radius: 18px; font-size: 30px;
  background: linear-gradient(135deg, #eff6ff, #dbeafe); display: flex; align-items: center; justify-content: center;
}
.feature-card h3 { font-size: 17px; color: var(--dark); margin-bottom: 10px; }
.feature-card p { font-size: 13.5px; color: var(--muted); }

/* ============ 新闻 ============ */
.news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; }
.news-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 26px;
  transition: all .25s; display: flex; flex-direction: column;
}
.news-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: #bfdbfe; }
.news-card time { font-size: 12.5px; color: var(--muted); margin-bottom: 10px; }
.news-card h3 {
  font-size: 16.5px; color: var(--dark); margin-bottom: 10px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.news-card p {
  font-size: 13.5px; color: var(--muted); flex: 1;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.news-more { font-size: 13px; color: var(--primary); font-weight: 600; margin-top: 14px; }
.news-list { display: flex; flex-direction: column; gap: 14px; max-width: 860px; margin: 0 auto; }
.news-row {
  display: flex; align-items: center; gap: 26px; background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px 28px; transition: all .2s;
}
.news-row:hover { box-shadow: var(--shadow-lg); border-color: #bfdbfe; }
.news-row time { font-size: 13px; color: var(--muted); white-space: nowrap; }
.news-row h3 { font-size: 16.5px; color: var(--dark); margin-bottom: 4px; }
.news-row p {
  font-size: 13.5px; color: var(--muted);
  display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden;
}
.news-row > div { flex: 1; min-width: 0; }

/* ============ 招聘 ============ */
.join-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 50px; align-items: center; }
.join-text p { color: rgba(255,255,255,.75); margin: 10px 0 26px; }
.join-jobs { display: flex; flex-direction: column; gap: 14px; }
.join-job {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: 12px;
  padding: 18px 24px; display: flex; flex-direction: column; gap: 4px; transition: all .2s;
}
.join-job:hover { background: rgba(255,255,255,.14); transform: translateX(6px); }
.join-job strong { color: #fff; font-size: 16px; }
.join-job span { font-size: 13px; color: #94a3b8; }
.join-empty { color: #94a3b8; font-size: 14px; }
.job-list { display: flex; flex-direction: column; gap: 16px; max-width: 920px; margin: 0 auto; }
.job-card {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 30px; transition: all .2s;
}
.job-card:hover { box-shadow: var(--shadow-lg); border-color: #bfdbfe; transform: translateY(-3px); }
.job-card h3 { font-size: 18px; color: var(--dark); margin-bottom: 8px; }
.job-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.job-tags span, .tag.plain { font-size: 12.5px; background: #f1f5f9; color: var(--muted); padding: 2px 12px; border-radius: 999px; }
.job-side { text-align: right; flex-shrink: 0; }
.job-salary { color: var(--accent); font-size: 17px; font-weight: 700; }
.job-salary.big { font-size: 24px; }
.job-more { display: block; font-size: 12.5px; color: var(--muted); margin-top: 6px; }

/* ============ 页面横幅 ============ */
.page-banner {
  background: linear-gradient(120deg, #0b2f8f, #2563eb); color: #fff; text-align: center; padding: 56px 0;
}
.page-banner.slim { padding: 30px 0; text-align: left; }
.page-banner h1 { font-size: 30px; letter-spacing: 2px; }
.page-banner p { color: rgba(255,255,255,.8); margin-top: 6px; font-size: 14.5px; }
.breadcrumb { font-size: 13.5px; color: rgba(255,255,255,.85); }
.breadcrumb a:hover { text-decoration: underline; }

/* ============ 详情页 ============ */
.detail-layout { display: grid; grid-template-columns: 1fr 340px; gap: 30px; align-items: start; }
.detail-head { display: flex; gap: 20px; align-items: flex-start; margin-bottom: 10px; }
.detail-head h1 { font-size: 28px; color: var(--dark); margin-bottom: 10px; }
.detail-summary { color: var(--muted); margin-top: 10px; }
.detail-block {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px 30px; margin-top: 22px;
}
.detail-block h2 {
  font-size: 19px; color: var(--dark); margin-bottom: 16px; padding-left: 12px; position: relative;
}
.detail-block h2::before {
  content: ''; position: absolute; left: 0; top: 6px; bottom: 6px; width: 4px;
  background: var(--primary); border-radius: 2px;
}
.rich-text { font-size: 15px; color: var(--text); }
.feature-list li { padding: 7px 0 7px 26px; position: relative; border-bottom: 1px dashed #eef2f7; }
.feature-list li:last-child { border-bottom: 0; }
.feature-list li::before {
  content: '✓'; position: absolute; left: 2px; color: #16a34a; font-weight: 700;
}
.shot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.shot { border-radius: 10px; overflow: hidden; border: 1px solid var(--border); cursor: zoom-in; }
.shot img { width: 100%; transition: transform .3s; }
.shot:hover img { transform: scale(1.04); }

/* 详情侧栏 */
.detail-aside { position: sticky; top: 86px; display: flex; flex-direction: column; gap: 20px; }
.aside-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.aside-card h3 { font-size: 17px; color: var(--dark); margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.info-list li { display: flex; justify-content: space-between; padding: 8px 0; font-size: 14px; }
.info-list li span { color: var(--muted); }
.info-list li b { color: var(--dark); font-weight: 600; text-align: right; }
.aside-actions { margin-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.aside-link { font-size: 13px; color: var(--primary); text-align: center; margin-top: 6px; }
.aside-tip { font-size: 13px; color: var(--muted); margin-top: 14px; }
.related-list li + li { border-top: 1px solid #f1f5f9; }
.related-list a { display: flex; gap: 12px; padding: 12px 0; align-items: flex-start; }
.rel-icon { font-size: 22px; flex-shrink: 0; }
.related-list strong { font-size: 14px; color: var(--dark); display: block; }
.related-list em { font-style: normal; font-size: 12.5px; color: var(--muted);
  display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.related-list a:hover strong { color: var(--primary); }

/* 投递表单 */
.apply-ok { background: #dcfce7; color: #15803d; padding: 10px 14px; border-radius: 8px; font-size: 13.5px; margin-bottom: 12px; }
.apply-err { background: #fee2e2; color: #b91c1c; padding: 10px 14px; border-radius: 8px; font-size: 13.5px; margin-bottom: 12px; }
#apply form label { display: block; font-size: 13.5px; color: var(--text); margin-bottom: 13px; font-weight: 600; }
#apply form label i { color: #ef4444; font-style: normal; }
#apply input[type="text"], #apply input[type="tel"], #apply input[type="email"], #apply textarea {
  width: 100%; margin-top: 6px; padding: 10px 12px; border: 1px solid var(--border); border-radius: 8px;
  font-size: 14px; font-family: inherit; outline: none; transition: border .2s; font-weight: 400;
}
#apply input:focus, #apply textarea:focus { border-color: var(--primary); }
#apply input[type="file"] { margin-top: 6px; font-size: 13px; font-weight: 400; }

/* ============ 新闻文章页 ============ */
.article-wrap { max-width: 860px; }
.article { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 40px 46px; }
.article h1 { font-size: 26px; color: var(--dark); line-height: 1.4; }
.article-meta { color: var(--muted); font-size: 13.5px; margin: 12px 0 0; padding-bottom: 18px; border-bottom: 1px solid var(--border); }
.article-summary { background: var(--bg-gray); padding: 12px 16px; border-radius: 8px; color: var(--muted); font-size: 14px; margin-top: 18px; }
.article-body { margin-top: 22px; font-size: 15.5px; }
.article-back { text-align: center; margin-top: 26px; }

/* ============ 关于页 ============ */
.about-layout { display: grid; grid-template-columns: 1fr 320px; gap: 30px; align-items: start; }
.about-types { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }
.about-type { background: var(--bg-gray); border-radius: 12px; padding: 22px 18px; text-align: center; }
.big-icon { font-size: 34px; display: block; margin-bottom: 10px; }
.about-type h3 { font-size: 15.5px; color: var(--dark); margin-bottom: 6px; }
.about-type p { font-size: 12.5px; color: var(--muted); }
.about-products { display: flex; flex-wrap: wrap; gap: 10px; }
.about-product {
  display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--border);
  border-radius: 999px; padding: 7px 18px; font-size: 13.5px; transition: all .2s;
}
.about-product:hover { border-color: var(--primary); color: var(--primary); box-shadow: var(--shadow); }

/* ============ 空状态 / 404 ============ */
.empty-state { text-align: center; padding: 60px 20px; color: var(--muted); }
.empty-state.big { padding: 90px 20px; }
.empty-state p { margin-bottom: 8px; }
.code-404 { font-size: 90px; font-weight: 800; color: #dbe3ef; line-height: 1; }
.empty-actions { margin-top: 22px; display: flex; gap: 14px; justify-content: center; }
.search-result-tip { color: var(--muted); font-size: 14px; margin-bottom: 20px; }
.filter-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 10px; }
.filter-bar .tabs { margin-bottom: 20px; justify-content: flex-start; }
.search-box { display: flex; margin-bottom: 20px; }
.search-box input {
  border: 1px solid var(--border); border-right: 0; border-radius: 999px 0 0 999px; padding: 9px 18px;
  font-size: 14px; outline: none; width: 240px; font-family: inherit;
}
.search-box input:focus { border-color: var(--primary); }
.search-box button {
  border: 0; background: var(--primary); color: #fff; padding: 0 22px; border-radius: 0 999px 999px 0;
  cursor: pointer; font-size: 14px;
}
.search-box button:hover { background: var(--primary-dark); }

/* ============ 页脚 ============ */
.site-footer { background: #0b1220; color: #94a3b8; margin-top: 40px; }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; padding: 54px 20px 40px;
}
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.footer-logo strong { color: #fff; font-size: 19px; }
.footer-logo .brand-mark { width: 32px; height: 32px; }
.footer-slogan { font-size: 13.5px; margin-bottom: 16px; }
.footer-contact li { font-size: 13px; padding: 3px 0; }
.footer-col h4 { color: #fff; font-size: 15px; margin-bottom: 16px; font-weight: 600; }
.footer-col ul li { padding: 4px 0; }
.footer-col ul a { font-size: 13.5px; transition: color .2s; }
.footer-col ul a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid #1e293b; padding: 20px 0; }
.footer-bottom p { font-size: 12.5px; text-align: center; color: #64748b; }
.footer-bottom .beian { margin-top: 6px; display: flex; justify-content: center; gap: 18px; align-items: center; flex-wrap: wrap; }
.footer-bottom .beian a { color: #64748b; display: inline-flex; align-items: center; gap: 4px; }
.footer-bottom .beian a:hover { color: #94a3b8; }
.police-icon { width: 14px; height: 14px; }

/* ============ 图片灯箱 ============ */
.lightbox {
  position: fixed; inset: 0; z-index: 999; background: rgba(0,0,0,.85);
  display: flex; align-items: center; justify-content: center; padding: 30px; cursor: zoom-out;
}
.lightbox img { max-width: 94%; max-height: 92%; border-radius: 8px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }

/* ============ 响应式 ============ */
@media (max-width: 992px) {
  .hero-inner { grid-template-columns: 1fr; padding: 60px 20px; }
  .hero-visual { display: none; }
  .hero h1 { font-size: 34px; }
  .detail-layout, .about-layout { grid-template-columns: 1fr; }
  .detail-aside { position: static; }
  .join-inner { grid-template-columns: 1fr; gap: 30px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .news-row { flex-direction: column; align-items: flex-start; gap: 8px; }
}
@media (max-width: 768px) {
  .nav {
    display: none; position: absolute; top: 66px; left: 0; right: 0; background: #fff;
    flex-direction: column; align-items: stretch; padding: 12px 20px 18px; gap: 4px;
    border-bottom: 1px solid var(--border); box-shadow: var(--shadow-lg);
  }
  .nav.open { display: flex; }
  .nav > a { padding: 12px 14px; }
  .nav-cta { margin-left: 0; text-align: center; }
  .nav-toggle { display: block; }
  .section { padding: 54px 0; }
  .section-head h2 { font-size: 26px; }
  .hero-stats { gap: 26px; }
  .hero-stats strong { font-size: 24px; }
  .job-card { flex-direction: column; align-items: flex-start; }
  .job-side { text-align: left; }
  .article { padding: 26px 22px; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .filter-bar { flex-direction: column; align-items: stretch; }
  .search-box { width: 100%; }
  .search-box input { flex: 1; width: auto; }
}
