/* ========== 程力智能 品牌样式 ========== */
:root {
  --blue: #0066CC;
  --blue-deep: #004C99;
  --blue-light: #E8F1FB;
  --dark: #1a1a1a;
  --gray: #6b7280;
  --gray-light: #c0c0c0;
  --bg: #f5f5f5;
  --white: #ffffff;
  --red: #D71920;
  --radius: 10px;
  --shadow: 0 6px 24px rgba(0, 76, 153, 0.08);
}

* { 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(--dark);
  background: var(--white);
  line-height: 1.7;
  font-weight: 300;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ---------- 顶部导航 ---------- */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #ececec;
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo {
  height: 34px; width: auto; display: block;
  border-radius: 4px;
}
.brand-mark {
  display: flex; gap: 4px; align-items: flex-end; height: 28px;
}
.brand-mark span { width: 5px; border-radius: 2px; }
.brand-mark span:nth-child(1) { height: 28px; background: var(--dark); }
.brand-mark span:nth-child(2) { height: 20px; background: var(--blue); }
.brand-mark span:nth-child(3) { height: 12px; background: var(--gray-light); }
.brand-name { font-size: 17px; font-weight: 500; letter-spacing: 1px; }
.brand-name small {
  display: block; font-size: 10px; color: var(--gray);
  letter-spacing: 2px; font-weight: 300; line-height: 1.3;
}
.nav-links { display: flex; gap: 36px; align-items: center; }
.nav-links a {
  font-size: 15px; color: var(--dark); position: relative; padding: 4px 0;
  transition: color .2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--blue); }
.nav-links a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px;
  height: 2px; background: var(--blue); border-radius: 1px;
}
.nav-links a.nav-cta, a.nav-cta {
  padding: 9px 26px !important; background: var(--blue); color: #fff;
  border-radius: 999px; font-size: 14px !important; transition: background .2s;
  white-space: nowrap; flex-shrink: 0;
}
.lang-switch {
  font-size: 13px !important; color: var(--gray) !important;
  border: 1px solid var(--gray-light); border-radius: 999px;
  padding: 4px 12px !important; letter-spacing: 1px;
}
.lang-switch:hover { border-color: var(--blue) !important; color: var(--blue) !important; }
.nav-cta:hover { background: var(--blue-deep); color: #fff !important; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    linear-gradient(135deg, rgba(0,32,80,0.68) 0%, rgba(0,82,180,0.42) 58%, rgba(0,102,204,0.55) 100%),
    url("hero-panorama.jpg") center/cover no-repeat #0a1a3a;
  color: #fff;
  padding: 110px 0 90px;
}
.hero::before {
  content: ""; position: absolute; right: -120px; top: -120px;
  width: 480px; height: 480px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.08), transparent 70%);
}
.hero::after {
  content: ""; position: absolute; left: -80px; bottom: -160px;
  width: 360px; height: 360px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.05), transparent 70%);
}
.hero h1 { color: #fff; }
.hero .desc { color: rgba(255,255,255,0.85); }
.hero .hl { color: #66b3ff; }
.hero-inner { position: relative; z-index: 1; max-width: 820px; }
.hero .hero-sub { color: #66b3ff; }
.hero .hero-sub::before { background: #66b3ff; }
.hero-sub {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--blue); letter-spacing: 3px;
  margin-bottom: 22px; font-weight: 400;
}
.hero-sub::before { content: ""; width: 28px; height: 1px; background: var(--blue); }
.hero h1 {
  font-size: 46px; font-weight: 500; line-height: 1.35; letter-spacing: 1px;
}
.hero h1 .hl { color: #66b3ff; }
.hero p.desc {
  margin-top: 22px; font-size: 17px; color: rgba(255,255,255,0.92); max-width: 640px;
}
.hero-btns { margin-top: 40px; display: flex; gap: 16px; flex-wrap: wrap; }
.btn-primary {
  padding: 13px 38px; background: var(--blue); color: #fff;
  border-radius: 999px; font-size: 15px; transition: all .2s;
  box-shadow: 0 8px 20px rgba(0,102,204,0.25);
}
.btn-primary:hover { background: var(--blue-deep); transform: translateY(-2px); }
.btn-ghost {
  padding: 13px 38px; border: 1px solid var(--gray-light); color: var(--dark);
  border-radius: 999px; font-size: 15px; transition: all .2s;
}
.hero .btn-ghost { border-color: rgba(255,255,255,0.6); color: #fff; }
.hero .btn-ghost:hover { border-color: #fff; color: #66b3ff; background: rgba(255,255,255,0.08); }

/* ---------- 数据条 ---------- */
.stats {
  background: var(--dark); color: #fff; padding: 54px 0;
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.stat-num { font-size: 38px; font-weight: 500; color: #5eaaff; letter-spacing: 1px; }
.stat-num .u { font-size: 16px; margin-left: 3px; color: #8fc0ff; }
.stat-label { font-size: 14px; color: rgba(255,255,255,0.65); margin-top: 6px; letter-spacing: 2px; }

/* ---------- 通用 section ---------- */
.section { padding: 90px 0; }
.section.alt { background: var(--bg); }
.sec-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.sec-tag {
  font-size: 13px; color: var(--blue); letter-spacing: 4px; font-weight: 400;
}
.sec-title { font-size: 32px; font-weight: 500; margin-top: 12px; letter-spacing: 1px; }
.sec-desc { color: var(--gray); font-size: 15px; margin-top: 14px; }

/* ---------- 板块卡片 ---------- */
.biz-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.biz-card {
  background: var(--white); border-radius: var(--radius); padding: 40px 38px;
  box-shadow: var(--shadow); border: 1px solid #eef2f7;
  transition: all .25s; position: relative; overflow: hidden;
}
.biz-card::before {
  content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--blue), transparent);
  opacity: 0; transition: opacity .25s;
}
.biz-card:hover { transform: translateY(-6px); box-shadow: 0 14px 34px rgba(0,76,153,0.13); }
.biz-card:hover::before { opacity: 1; }
.biz-icon {
  width: 54px; height: 54px; border-radius: 12px; background: var(--blue-light);
  display: flex; align-items: center; justify-content: center; margin-bottom: 22px;
}
.biz-icon svg { width: 26px; height: 26px; stroke: var(--blue); }
.biz-card h3 { font-size: 21px; font-weight: 500; display: flex; align-items: baseline; gap: 10px; }
.biz-card h3 em { font-style: normal; font-size: 12px; color: var(--gray-light); letter-spacing: 1px; font-weight: 300; }
.biz-card p { color: var(--gray); font-size: 14.5px; margin-top: 12px; }
.biz-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.biz-tags span {
  font-size: 12px; color: var(--blue); background: var(--blue-light);
  padding: 4px 12px; border-radius: 999px;
}

/* ---------- 未来规划 ---------- */
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.plan-card {
  background: var(--white); border-radius: var(--radius); padding: 36px 32px;
  border: 1px dashed #cdd9ea; text-align: center; transition: all .25s;
}
.plan-card:hover { border-style: solid; border-color: var(--blue); transform: translateY(-4px); }
.plan-num {
  font-size: 40px; font-weight: 300; color: var(--blue-light);
  -webkit-text-stroke: 1px var(--blue); letter-spacing: 2px;
}
.plan-card h4 { font-size: 18px; font-weight: 500; margin-top: 14px; }
.plan-card p { font-size: 13.5px; color: var(--gray); margin-top: 10px; }

/* ---------- 集团背书 ---------- */
.endorse {
  background: linear-gradient(135deg, #0d2b4e 0%, #0a3d75 100%);
  color: #fff; padding: 80px 0; position: relative; overflow: hidden;
}
.endorse::after {
  content: ""; position: absolute; right: -60px; top: -60px;
  width: 300px; height: 300px;
  border: 1px solid rgba(255,255,255,0.08); border-radius: 50%;
}
.endorse-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: center; position: relative; z-index: 1; }
.endorse h3 { font-size: 28px; font-weight: 500; line-height: 1.5; }
.endorse h3 .hl { color: #6db3ff; }
.endorse p { color: rgba(255,255,255,0.7); font-size: 15px; margin-top: 18px; }
.endorse-tags { display: flex; flex-wrap: wrap; gap: 12px; }
.endorse-tags span {
  border: 1px solid rgba(255,255,255,0.25); border-radius: 999px;
  padding: 7px 18px; font-size: 13px; color: rgba(255,255,255,0.85);
}

/* ---------- 页面 hero（子页） ---------- */
.page-hero {
  background: linear-gradient(135deg, #f7fafd, #e6f0fb);
  padding: 80px 0 70px; position: relative; overflow: hidden;
}
.page-hero h1 { font-size: 36px; font-weight: 500; letter-spacing: 1px; }
.page-hero p { color: var(--gray); margin-top: 14px; max-width: 640px; }
.crumb { font-size: 13px; color: var(--gray); margin-bottom: 18px; letter-spacing: 1px; }
.crumb a:hover { color: var(--blue); }

/* ---------- 关于页 ---------- */
.about-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 70px; align-items: center; }
.about-text h3 { font-size: 26px; font-weight: 500; margin-bottom: 18px; }
.about-text p { color: var(--gray); font-size: 15px; margin-bottom: 16px; text-align: justify; }
.about-visual {
  background: linear-gradient(160deg, #0d2b4e, #0a3d75);
  border-radius: 14px; padding: 50px 44px; color: #fff; position: relative; overflow: hidden;
}
.about-visual::after {
  content: ""; position: absolute; right: -70px; bottom: -70px;
  width: 260px; height: 260px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.1);
}
.about-visual .big { font-size: 30px; font-weight: 500; line-height: 1.5; }
.about-visual .big .hl { color: #6db3ff; }
.about-visual .sub { margin-top: 16px; color: rgba(255,255,255,0.65); font-size: 14px; }
.value-list { margin-top: 26px; display: grid; gap: 14px; position: relative; z-index: 1; }
.value-item { display: flex; gap: 14px; align-items: center; }
.value-item .dot {
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(109,179,255,0.18); color: #6db3ff;
  display: flex; align-items: center; justify-content: center; font-size: 15px;
  flex-shrink: 0;
}
.value-item b { font-weight: 500; font-size: 15px; }

/* ---------- 联系页 ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 50px; }
.contact-card {
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 40px; border: 1px solid #eef2f7;
}
.contact-item { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid #f0f3f7; }
.contact-item:last-child { border-bottom: none; }
.contact-item .ci-icon {
  width: 44px; height: 44px; border-radius: 10px; background: var(--blue-light);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-item .ci-icon svg { width: 20px; height: 20px; stroke: var(--blue); }
.contact-item h4 { font-size: 15px; font-weight: 500; }
.contact-item p { font-size: 14px; color: var(--gray); margin-top: 2px; }
.form-card {
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 44px; border: 1px solid #eef2f7;
}
.form-card h3 { font-size: 22px; font-weight: 500; margin-bottom: 6px; }
.form-card .fc-sub { color: var(--gray); font-size: 14px; margin-bottom: 26px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 13px; color: var(--dark); margin-bottom: 8px; font-weight: 400; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 12px 14px; border: 1px solid #dfe5ec; border-radius: 8px;
  font-size: 14px; font-family: inherit; background: #fafbfd; transition: border .2s;
  color: var(--dark);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--blue); background: #fff;
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-submit {
  width: 100%; padding: 14px; background: var(--blue); color: #fff; border: none;
  border-radius: 8px; font-size: 15px; cursor: pointer; font-family: inherit;
  transition: background .2s; letter-spacing: 2px;
}
.form-submit:hover { background: var(--blue-deep); }

/* ---------- 页脚 ---------- */
.footer { background: var(--dark); color: rgba(255,255,255,0.55); padding: 64px 0 28px; font-size: 13.5px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 50px; }
.footer .f-brand { color: #fff; font-size: 18px; font-weight: 500; letter-spacing: 1px; }
.footer .f-brand small { display: block; font-size: 10px; letter-spacing: 2px; color: rgba(255,255,255,0.4); margin-top: 4px; font-weight: 300; }
.footer h5 { color: #fff; font-size: 14px; font-weight: 500; margin-bottom: 16px; letter-spacing: 1px; }
.footer li { margin-bottom: 10px; }
.footer a:hover { color: #6db3ff; }
.footer-bottom {
  margin-top: 50px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  font-size: 12px; color: rgba(255,255,255,0.35);
}

/* 页脚 ICP 备案号（法规要求展示） */
.footer-beian {
  color: rgba(255,255,255,0.35);
  text-decoration: none;
  transition: color 0.25s;
}
.footer-beian:hover { color: rgba(255,255,255,0.62); }

/* ---------- 产品中心 ---------- */
.cat-head {
  display: flex; align-items: baseline; gap: 12px; margin: 70px 0 26px;
}
.cat-head:first-child { margin-top: 0; }
.cat-head h3 { font-size: 24px; font-weight: 500; }
.cat-head h3 em { font-style: normal; font-size: 12px; color: var(--gray-light); letter-spacing: 2px; font-weight: 300; margin-left: 8px; }
.cat-head .cat-line { flex: 1; height: 1px; background: var(--gray-light); }
.prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.prod-card {
  background: #fff; border-radius: 14px; overflow: hidden;
  border: 1px solid var(--gray-light);
  transition: transform .25s, box-shadow .25s;
  display: flex; flex-direction: column;
}
.prod-card:hover { transform: translateY(-6px); box-shadow: 0 14px 34px rgba(0,76,153,0.13); }
.prod-thumb {
  height: 170px; position: relative;
  display: flex; align-items: center; justify-content: center;
}
.prod-thumb .ph-tag {
  position: absolute; right: 12px; bottom: 12px;
  font-size: 11px; color: rgba(255,255,255,0.75); letter-spacing: 1px;
}
.prod-thumb svg { width: 44px; height: 44px; stroke: rgba(255,255,255,0.9); }
.prod-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* 透明底抠图：完整显示、不裁切 */
.prod-thumb-contain { background: #f4f7fb; }
.prod-thumb-contain img {
  width: 100%; height: 100%;
  object-fit: contain;
  padding: 10px;
  box-sizing: border-box;
}
.prod-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.prod-body h4 { font-size: 18px; font-weight: 500; }
.prod-body p { color: var(--gray); font-size: 13.5px; margin-top: 10px; flex: 1; }
.prod-quote {
  display: inline-block; margin-top: 16px; align-self: flex-start;
  font-size: 13.5px; color: var(--blue); font-weight: 500;
  border: 1px solid var(--blue); border-radius: 999px; padding: 7px 20px;
  transition: all .2s;
}
.prod-quote:hover { background: var(--blue); color: #fff; }

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
  /* 导航改为两行：上 LOGO+品牌，下 全部链接均可点（避免 EN 切换按钮被吞） */
  .nav-inner { height: auto; padding: 12px 0; flex-direction: column; align-items: stretch; gap: 8px; }
  .brand { justify-content: flex-start; }
  .nav-links {
    display: flex !important; flex-wrap: wrap;
    justify-content: center; align-items: center;
    gap: 6px 18px; padding: 8px 0 12px;
    border-top: 1px solid #f0f0f0;
  }
  .nav-links a { font-size: 13px; padding: 2px 0; }
  .nav-cta { font-size: 12.5px !important; padding: 6px 18px !important; }
  .lang-switch { font-size: 12px !important; padding: 3px 10px !important; }

  .hero h1 { font-size: 32px; }
  .hero p.desc { font-size: 14px; }
  .hero-btns { gap: 12px; }
  .hero-btns .btn-primary, .hero-btns .btn-ghost { padding: 10px 22px; font-size: 14px; }
  .hero-sub { font-size: 11px; letter-spacing: 4px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 20px; }
  .biz-grid, .plan-grid, .about-grid, .contact-grid, .endorse-inner, .footer-grid { grid-template-columns: 1fr; }
  .prod-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
}

/* 小屏（≤480px）再缩一档，避免链接换行后太挤 */
@media (max-width: 480px) {
  .nav-links { gap: 4px 14px; }
  .nav-links a { font-size: 12.5px; }
  .brand-logo { height: 28px; }
}

/* 中文品牌名加长后的桌面窄屏保护 */
@media (min-width: 901px) and (max-width: 1100px) {
  .nav-links { gap: 22px; }
}
