/* =========================================================
   深圳数字人才科技有限公司 官网样式 V2（专业版）
   品牌色：SDTT 科技蓝 / 深空蓝
   ========================================================= */
* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --brand: #1e5eff;
  --brand-2: #00b7ff;
  --brand-deep: #0a2c8a;
  --brand-dark: #081a44;
  --brand-ink: #0a1633;
  --brand-soft: #eaf1ff;
  --accent: #00d4ff;
  --text: #18233a;
  --text-2: #44506e;
  --text-light: #7a87a6;
  --bg: #ffffff;
  --bg-soft: #f3f7ff;
  --border: #e3eaf6;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 2px 10px rgba(16,42,110,.06);
  --shadow: 0 14px 38px rgba(16,42,110,.10);
  --shadow-lg: 0 26px 64px rgba(16,42,110,.16);
  --grad: linear-gradient(135deg,#0a2c8a 0%,#1e5eff 55%,#00b7ff 100%);
  --grad-soft: linear-gradient(120deg,#eaf1ff 0%,#f7fbff 60%,#eaf6ff 100%);
  --font: "PingFang SC","Microsoft YaHei","Helvetica Neue",Arial,"Segoe UI",sans-serif;
}
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font); color: var(--text); line-height: 1.75; background: var(--bg); font-size: 16px; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
a { text-decoration: none; color: inherit; transition: color .2s; }
img { max-width: 100%; }
ul { list-style: none; }

/* ---------- 顶部导航（毛玻璃） ---------- */
.site-header { position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,.88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 rgba(16,42,110,.06), 0 8px 24px rgba(16,42,110,.06); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 78px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo { height: 46px; width: auto; }
.brand-name { font-size: 18px; font-weight: 700; color: var(--brand-dark); letter-spacing: .5px; white-space: nowrap; }
.main-nav .nav-list { display: flex; align-items: center; list-style: none; gap: 2px; }
.nav-item { position: relative; }
.nav-item > a { display: flex; align-items: center; gap: 5px; padding: 30px 15px; font-size: 15px; font-weight: 500; color: var(--text-2); position: relative; white-space: nowrap; }
.nav-item > a::after { content: ""; position: absolute; left: 15px; right: 15px; bottom: 20px; height: 3px; border-radius: 3px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.nav-item > a:hover { color: var(--brand); }
.nav-item > a:hover::after, .nav-item > a.active::after { transform: scaleX(1); }
.nav-item > a.active { color: var(--brand); font-weight: 600; }
.nav-item.has-sub > a::before { content: ""; width: 6px; height: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); opacity: .55; transition: transform .2s; }
.nav-item.has-sub:hover > a::before { transform: rotate(225deg) translateY(-1px); }
.sub-nav { display: block; visibility: hidden; opacity: 0; position: absolute; top: 100%; left: 0; min-width: 230px; background: #fff; border-radius: 14px; box-shadow: var(--shadow-lg); padding: 10px; transform: translateY(10px); transition: all .22s ease; z-index: 300; border: 1px solid rgba(16,42,110,.06); }
.nav-item.has-sub:hover .sub-nav { visibility: visible; opacity: 1; transform: translateY(2px); }
.sub-nav li a { display: block; padding: 11px 16px; font-size: 14px; color: var(--text-2); border-radius: 10px; }
.sub-nav li a:hover { color: var(--brand); background: var(--brand-soft); }
.nav-cta { margin-left: 10px; }
.nav-cta .btn { padding: 9px 22px; font-size: 14px; }
.nav-toggle { display: none; background: none; border: 1px solid var(--border); width: 44px; height: 44px; border-radius: 10px; font-size: 20px; color: var(--text); cursor: pointer; align-items: center; justify-content: center; }

/* ---------- 按钮 ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 32px; border-radius: 999px; font-size: 15px; font-weight: 600; cursor: pointer; border: 2px solid transparent; transition: all .25s ease; line-height: 1.4; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 8px 22px rgba(30,94,255,.32); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(30,94,255,.4); }
.btn-outline { border-color: rgba(255,255,255,.75); color: #fff; background: rgba(255,255,255,.08); backdrop-filter: blur(4px); }
.btn-outline:hover { background: rgba(255,255,255,.2); transform: translateY(-2px); }
.btn-ghost { border-color: var(--brand); color: var(--brand); background: #fff; }
.btn-ghost:hover { background: var(--brand-soft); }

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; overflow: hidden; padding: 120px 0 130px; text-align: center; }
.hero-bg { position: absolute; inset: 0; background: url("../img/hero-bg.jpg") center / cover no-repeat; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,26,68,.72) 0%, rgba(10,44,138,.55) 60%, rgba(8,26,68,.82) 100%); }
.hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% -20%, rgba(0,212,255,.18), transparent 55%); }
.hero-inner { position: relative; z-index: 2; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 7px 18px; border-radius: 999px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3); backdrop-filter: blur(6px); font-size: 13px; letter-spacing: 2px; margin-bottom: 26px; }
.hero-badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); }
.hero-title { font-size: 52px; font-weight: 800; line-height: 1.28; margin-bottom: 20px; letter-spacing: 1px; text-shadow: 0 4px 24px rgba(0,0,0,.25); }
.hero-sub { font-size: 19px; opacity: .95; margin-bottom: 42px; font-weight: 400; max-width: 720px; margin-left: auto; margin-right: auto; }
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-stats { display: flex; justify-content: center; gap: 56px; margin-top: 66px; flex-wrap: wrap; }
.hero-stat { text-align: center; }
.hero-stat b { display: block; font-size: 34px; font-weight: 800; }
.hero-stat span { font-size: 14px; opacity: .85; }

/* ---------- 通用区块 ---------- */
.section { padding: 84px 0; }
.section-soft { background: var(--bg-soft); }
.section-title { font-size: 32px; font-weight: 800; text-align: center; color: var(--text); letter-spacing: .5px; }
.section-title-en { display: block; font-size: 13px; letter-spacing: 4px; color: var(--brand); text-transform: uppercase; margin-bottom: 8px; font-weight: 600; }
.section-title::after { content: ""; display: block; width: 64px; height: 4px; border-radius: 4px; background: var(--grad); margin: 18px auto 0; }
.section-desc { max-width: 720px; margin: 18px auto 0; text-align: center; color: var(--text-light); font-size: 16px; }

/* ---------- 文本区块 ---------- */
.block-text { max-width: 880px; margin: 0 auto 44px; }
.block-text p { font-size: 16.5px; color: var(--text-2); margin-bottom: 18px; text-align: justify; }
.block-cards { margin-bottom: 48px; }
.block-title { font-size: 24px; font-weight: 700; color: var(--text); margin-bottom: 10px; }
.block-desc { color: var(--text-light); margin-bottom: 26px; }

/* ---------- 卡片 ---------- */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 26px; }
.card { position: relative; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 30px 28px; box-shadow: var(--shadow-sm); transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease; overflow: hidden; }
.card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--grad); opacity: 0; transition: opacity .28s; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(30,94,255,.28); }
.card:hover::before { opacity: 1; }
.card-title { font-size: 18px; font-weight: 700; color: var(--brand-deep); margin-bottom: 10px; display: flex; align-items: flex-start; gap: 10px; }
.card-title::before { content: ""; flex: 0 0 auto; width: 10px; height: 10px; border-radius: 3px; background: var(--grad); margin-top: 8px; }
.card-desc { font-size: 14.5px; color: var(--text-light); line-height: 1.75; }
.entry-card { display: block; }
.entry-card .card-title { color: var(--text); }
.entry-card .card-title::after { content: "→"; margin-left: auto; color: var(--brand); opacity: 0; transform: translateX(-6px); transition: all .25s; }
.entry-card:hover .card-title::after { opacity: 1; transform: translateX(0); }

/* ---------- 页面 Banner ---------- */
.page-banner { position: relative; color: #fff; overflow: hidden; padding: 86px 0 84px; text-align: center; }
.page-banner .banner-bg { position: absolute; inset: 0; background: url("../img/hero-bg.jpg") center 30% / cover no-repeat; }
.page-banner::before { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(8,26,68,.86), rgba(10,44,138,.72) 70%, rgba(0,123,255,.55)); }
.page-banner .container { position: relative; z-index: 2; }
.page-title { font-size: 40px; font-weight: 800; letter-spacing: 1px; text-shadow: 0 4px 20px rgba(0,0,0,.22); }
.page-subtitle { font-size: 17px; opacity: .92; margin-top: 12px; max-width: 720px; margin-left: auto; margin-right: auto; }
.page-body { padding: 56px 0; }

/* ---------- 联系方式 ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 26px; max-width: 1020px; margin: 0 auto; }
.contact-card { position: relative; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 36px 26px; text-align: center; box-shadow: var(--shadow-sm); transition: all .28s; overflow: hidden; }
.contact-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.contact-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--grad); }
.contact-label { font-size: 14px; color: var(--text-light); margin-bottom: 12px; letter-spacing: 1px; }
.contact-value { font-size: 18px; font-weight: 700; color: var(--brand-deep); }
.contact-image { margin-bottom: 18px; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--border); background: #fff; }
.contact-image img { width: 100%; height: 170px; object-fit: contain; display: block; background: #fff; }
.footer-contact-img { width: 96px; height: 96px; object-fit: contain; display: block; margin-top: 8px; background: #fff; border-radius: 8px; padding: 4px; box-shadow: 0 1px 4px rgba(0,0,0,.08); }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--brand-ink); color: #b8c4e2; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 44px; padding: 66px 24px 46px; }
.footer-col h4 { color: #fff; font-size: 16px; font-weight: 700; margin-bottom: 20px; letter-spacing: .5px; }
.footer-about .footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.footer-about .footer-logo img { height: 40px; width: auto; filter: brightness(0) invert(1) drop-shadow(0 2px 6px rgba(0,0,0,.3)); }
.footer-about p { font-size: 14px; color: #93a2c8; line-height: 1.8; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { font-size: 14px; color: #a9b6d8; transition: color .2s, padding-left .2s; }
.footer-links a:hover { color: #fff; padding-left: 6px; }
.footer-contact li { display: flex; gap: 10px; font-size: 14px; margin-bottom: 14px; color: #a9b6d8; align-items: flex-start; }
.footer-contact li b { color: #dfe7ff; font-weight: 600; flex: 0 0 auto; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; font-size: 13px; color: #7483ab; text-align: center; }

/* ---------- 回到顶部 ---------- */
.back-top { position: fixed; right: 26px; bottom: 30px; width: 48px; height: 48px; border-radius: 14px; background: var(--grad); color: #fff; border: none; font-size: 20px; cursor: pointer; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(12px); transition: all .3s; z-index: 900; }
.back-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-top:hover { transform: translateY(-3px); }

/* ---------- 面包屑 ---------- */
.crumb { font-size: 13px; color: var(--text-light); margin-bottom: 26px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.crumb a { color: var(--brand); }
.crumb span { color: var(--text-2); }

/* =========================================================
   响应式
   ========================================================= */
@media (max-width: 1024px) {
  .hero { padding: 96px 0 104px; }
  .hero-title { font-size: 42px; }
  .nav-item > a { padding: 30px 11px; font-size: 14px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .main-nav { display: none; position: fixed; top: 78px; left: 0; right: 0; bottom: 0; background: rgba(255,255,255,.98); backdrop-filter: blur(10px); padding: 12px 18px 30px; overflow-y: auto; box-shadow: 0 20px 40px rgba(8,26,68,.12); }
  .main-nav.open { display: block; }
  .nav-list { flex-direction: column; gap: 2px; }
  .nav-item > a { padding: 15px 14px; font-size: 16px; border-radius: 12px; justify-content: space-between; }
  .nav-item > a::after { display: none; }
  .nav-item > a.active, .nav-item > a:hover { background: var(--brand-soft); }
  .nav-item.has-sub > a::before { display: none; }
  .nav-cta { display: none; }
  .sub-nav { visibility: visible; opacity: 1; transform: none; position: static; min-width: 0; box-shadow: none; border: none; padding: 0 0 6px 16px; display: none; background: transparent; }
  .nav-item.has-sub.open .sub-nav { display: block; }
  .sub-nav li a { padding: 11px 12px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .container { padding: 0 16px; }
  .brand-logo { height: 38px; }
  .hero { padding: 78px 0 84px; }
  .hero-title { font-size: 30px; letter-spacing: 0; }
  .hero-sub { font-size: 16px; margin-bottom: 30px; }
  .hero-stats { gap: 30px; margin-top: 48px; }
  .hero-stat b { font-size: 26px; }
  .section { padding: 56px 0; }
  .section-title { font-size: 25px; }
  .btn { padding: 12px 24px; font-size: 14px; }
  .cards-grid { grid-template-columns: 1fr; gap: 18px; }
  .page-banner { padding: 60px 0; }
  .page-title { font-size: 29px; }
  .footer-inner { grid-template-columns: 1fr; gap: 30px; padding: 48px 16px 36px; }
  .contact-grid { grid-template-columns: 1fr; }
}
