/* ===== LeapFuture 官网样式 ===== */
:root {
  --blue: #1a6fbd;
  --blue-deep: #0e4f8f;
  --blue-dark: #123a5f;
  --cyan: #29a8df;
  --orange: #f29222;
  --green: #3aa661;
  --dark: #16324c;
  --text: #33475b;
  --text-light: #6b7f93;
  --bg: #ffffff;
  --bg-alt: #f3f7fb;
  --radius: 12px;
  --shadow: 0 6px 24px rgba(18, 58, 95, .08);
  --shadow-hover: 0 12px 32px rgba(18, 58, 95, .16);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 132px; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
.container { width: min(1180px, 92%); margin: 0 auto; }

/* ===== 导航（悬浮胶囊条） ===== */
.header {
  position: fixed; top: 18px; left: 0; right: 0; z-index: 100;
  transition: top .3s;
}
.header.scrolled { top: 12px; }
.nav-bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; height: 92px; padding: 0 20px 0 26px;
  background: #fff; border-radius: 999px;
  box-shadow: 0 8px 30px rgba(18, 58, 95, .15), 0 1px 3px rgba(18,58,95,.08);
}
.logo-link { flex-shrink: 0; }
.logo-img { height: 82px; width: auto; }
.nav { display: flex; flex-wrap: nowrap; gap: 2px; min-width: 0; }
.nav-link {
  position: relative;
  padding: 11px 13px; border-radius: 8px;
  font-size: 15px; color: var(--text); transition: .2s;
  white-space: nowrap;
}
.nav-link:hover { color: var(--blue); }
.nav-link.active { color: var(--blue); font-weight: 600; }
.nav-link.active::after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: 3px;
  height: 3px; border-radius: 2px; background: var(--orange);
}
.header-actions { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.nav-search {
  width: 175px; padding: 11px 20px;
  border: 0; border-radius: 999px; outline: none;
  background: var(--bg-alt); color: var(--text); font-size: 15px;
  transition: box-shadow .2s, background .2s;
}
.nav-search::placeholder { color: var(--text-light); }
.nav-search:focus { background: #fff; box-shadow: 0 0 0 2px rgba(41,168,223,.45); }
.btn-quote {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 26px; border-radius: 999px;
  background: var(--blue); color: #fff; font-size: 16px; font-weight: 600;
  white-space: nowrap; transition: .25s;
}
.btn-quote:hover { background: var(--blue-deep); transform: translateY(-1px); box-shadow: 0 6px 16px rgba(26,111,189,.35); }
.quote-arrow {
  display: inline-flex; align-items: center; justify-content: center;
  width: 20px; height: 20px; border-radius: 50%;
  background: rgba(255,255,255,.22); font-size: 15px; line-height: 1;
}
.menu-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.menu-toggle span { display: block; width: 22px; height: 2px; background: var(--dark); margin: 5px 0; transition: .3s; }

/* ===== Banner ===== */
.hero {
  position: relative; min-height: 640px;
  display: flex; align-items: center;
  color: #fff; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(1000px 500px at 85% 20%, rgba(41,168,223,.35), transparent 60%),
    radial-gradient(800px 500px at 10% 90%, rgba(242,146,34,.25), transparent 60%),
    linear-gradient(120deg, var(--blue-dark) 0%, var(--blue) 55%, var(--cyan) 100%);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(600px 400px at 70% 40%, #000, transparent);
}
.hero-content { position: relative; padding: 140px 0 90px; max-width: 760px; }
.hero-title { font-size: clamp(36px, 5vw, 56px); line-height: 1.2; font-weight: 700; }
.hero-title em { font-style: normal; color: #ffd9a8; }
.hero-sub { margin: 20px 0 32px; font-size: 18px; color: rgba(255,255,255,.85); max-width: 560px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 13px 34px; border-radius: 999px;
  font-size: 16px; font-weight: 600; transition: .25s;
}
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: #d97d10; transform: translateY(-2px); }
.btn-ghost { border: 1.5px solid rgba(255,255,255,.6); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.hero-stats { display: flex; gap: 48px; margin-top: 56px; }
.stat strong { font-size: 34px; display: block; }
.stat strong span { color: var(--orange); }
.stat > span { color: rgba(255,255,255,.75); font-size: 14px; }

/* ===== 通用 Section ===== */
.section { padding: 88px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; margin-bottom: 52px; }
.section-title { font-size: 32px; color: var(--dark); font-weight: 700; position: relative; display: inline-block; padding-bottom: 14px; }
.section-title::after {
  content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  width: 56px; height: 4px; border-radius: 2px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
}
.section-desc { margin-top: 12px; color: var(--text-light); font-size: 16px; }

/* ===== 热销产品 ===== */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.product-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: .3s; display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.product-img { position: relative; height: 190px; display: flex; align-items: center; justify-content: center; }
.product-img svg { width: 72px; height: 72px; opacity: .85; }
.placeholder.p-blue { background: linear-gradient(135deg, #e3f2fd, #bbdefb); color: var(--blue); }
.placeholder.p-orange { background: linear-gradient(135deg, #fff3e0, #ffe0b2); color: var(--orange); }
.placeholder.p-green { background: linear-gradient(135deg, #e8f5e9, #c8e6c9); color: var(--green); }
.placeholder.p-dark { background: linear-gradient(135deg, #eceff1, #cfd8dc); color: var(--blue-dark); }
.product-info { padding: 20px 22px 24px; }
.product-info h3 { font-size: 18px; color: var(--dark); margin-bottom: 8px; }
.product-info p { font-size: 14px; color: var(--text-light); }

/* ===== 产品分类 ===== */
.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.category-card, .support-card {
  background: #fff; border-radius: var(--radius); padding: 34px 26px;
  box-shadow: var(--shadow); transition: .3s; text-align: center;
}
.category-card:hover, .support-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.cat-icon { font-size: 40px; display: block; margin-bottom: 16px; }
.category-card h3, .support-card h3 { font-size: 18px; color: var(--dark); margin-bottom: 10px; }
.category-card p, .support-card p { font-size: 14px; color: var(--text-light); }

/* ===== 团队 ===== */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.team-card {
  background: #fff; border-radius: var(--radius); padding: 32px 24px;
  text-align: center; box-shadow: var(--shadow); transition: .3s;
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.team-avatar {
  width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 18px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 20px; color: #fff;
}
.a-blue { background: linear-gradient(135deg, var(--blue), var(--cyan)); }
.a-orange { background: linear-gradient(135deg, var(--orange), #f6b26b); }
.a-green { background: linear-gradient(135deg, var(--green), #7ec893); }
.a-dark { background: linear-gradient(135deg, var(--blue-dark), var(--blue)); }
.team-card h3 { font-size: 18px; color: var(--dark); margin-bottom: 8px; }
.team-card p { font-size: 14px; color: var(--text-light); }

/* ===== 展会图片墙 ===== */
.expo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.expo-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: .3s;
}
.expo-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.expo-img { position: relative; aspect-ratio: 4 / 3; background: linear-gradient(135deg, #e3f0fa, #cfe3f3); }
.expo-ph {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; color: rgba(26, 111, 189, .55);
}
.expo-ph svg { width: 56px; height: 56px; }
.expo-ph span { font-size: 14px; letter-spacing: 2px; }
.expo-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.expo-year {
  position: absolute; top: 14px; left: 14px;
  padding: 4px 14px; border-radius: 999px;
  background: rgba(26, 111, 189, .92); color: #fff;
  font-size: 13px; font-weight: 600;
}
.expo-info { padding: 18px 20px 22px; }
.expo-info h3 { font-size: 17px; color: var(--dark); margin-bottom: 6px; }
.expo-info p { font-size: 13.5px; color: var(--text-light); }

/* ===== 证书 ===== */
.cert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.cert-card {
  background: #fff; border-radius: var(--radius); padding: 36px 24px;
  text-align: center; box-shadow: var(--shadow); transition: .3s;
  border: 1px solid transparent;
}
.cert-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); border-color: rgba(26,111,189,.25); }
.cert-badge { font-size: 44px; margin-bottom: 14px; }
.cert-card h3 { font-size: 16px; color: var(--dark); }

/* ===== 文件下载 ===== */
.file-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.file-item {
  display: flex; align-items: center; gap: 16px;
  background: #fff; border-radius: 10px; padding: 18px 24px;
  box-shadow: var(--shadow); transition: .25s;
}
.file-item:hover { transform: translateX(6px); box-shadow: var(--shadow-hover); }
.file-icon { font-size: 26px; }
.file-name { flex: 1; font-weight: 600; color: var(--dark); }
.file-size { font-size: 13px; color: var(--text-light); }

/* ===== FAQ ===== */
.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  background: #fff; border-radius: 10px; box-shadow: var(--shadow);
  padding: 0 24px; border: 1px solid rgba(26,111,189,.08);
}
.faq-item summary {
  list-style: none; cursor: pointer; padding: 18px 0;
  font-weight: 600; color: var(--dark); font-size: 16px;
  display: flex; justify-content: space-between; align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item[open] { border-color: rgba(26,111,189,.35); }
.faq-item[open] .faq-arrow { transform: rotate(180deg); }
.faq-arrow { color: var(--blue); transition: .3s; font-size: 14px; }
.faq-item p { padding: 0 0 18px; color: var(--text-light); font-size: 15px; }

/* ===== 服务与支持 ===== */
.support-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ===== 关于我们 ===== */
.about-inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: center; }
.about-text p { margin-bottom: 14px; font-size: 15.5px; }
.about-values { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.value-item {
  background: var(--bg-alt); border-radius: var(--radius);
  padding: 22px; text-align: center;
}
.value-item strong { display: block; font-size: 20px; color: var(--blue); margin-bottom: 4px; }
.value-item span { font-size: 13px; color: var(--text-light); }

/* ===== 文章列表 ===== */
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.article-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: .3s;
  display: flex; flex-direction: column;
}
.article-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.article-img { position: relative; aspect-ratio: 16 / 9; }
.article-info { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }

/* ===== 占位框架通用样式 ===== */
.ph-bar { display: block; height: 13px; border-radius: 7px; background: #e2eaf2; }
.ph-photo {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; color: rgba(26, 111, 189, .45);
  background: linear-gradient(135deg, #eef4f9, #dfeaf4);
}
.ph-photo svg { width: 44px; height: 44px; }
.ph-photo span { font-size: 13px; letter-spacing: 2px; }
.ph-avatar {
  width: 96px; height: 96px; border-radius: 50%; margin: 0 auto;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; letter-spacing: 2px; color: rgba(26, 111, 189, .5);
  background: linear-gradient(135deg, #eef4f9, #dfeaf4);
}
.cat-visual { position: relative; height: 150px; border-radius: 10px; overflow: hidden; margin-bottom: 18px; }
.cert-visual { position: relative; height: 130px; border-radius: 10px; overflow: hidden; }
.hero-sub .ph-bar, .stat .ph-bar { background: rgba(255, 255, 255, .28); margin: 0 0 12px; }
.stat .ph-bar:last-child { margin-bottom: 0; }
.section-desc .ph-bar { margin: 4px auto 0; background: #dbe5ef; }
.product-info .ph-bar + .ph-bar { margin-top: 8px; }

/* ===== 页脚 ===== */
.footer { background: var(--blue-dark); color: rgba(255,255,255,.8); }
.footer-grid {
  display: grid; grid-template-columns: 1.7fr 1fr 1.1fr;
  gap: 48px; padding: 64px 0 48px;
}
.footer-logo { height: 130px; width: auto; background: #fff; padding: 10px 14px; border-radius: 10px; margin-bottom: 16px; }
.brand-title { color: #fff; font-size: 17px; font-weight: 700; line-height: 1.5; margin-bottom: 12px; }
.brand-desc { font-size: 14px; color: rgba(255,255,255,.75); }
.footer-brand p { font-size: 14px; }
.footer-col h4 { color: #fff; font-size: 16px; margin-bottom: 18px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer-col ul strong { color: #fff; font-weight: 600; }
.contact-list li strong { display: block; margin-bottom: 3px; }
.contact-list a { color: rgba(255,255,255,.75); transition: .2s; word-break: break-all; }
.contact-list a:hover { color: var(--orange); }
.footer-social { margin-top: 26px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14); }
.footer-social h4 { margin-bottom: 14px; }
.social-links { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.social-link {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 18px; border-radius: 999px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18);
  color: #fff; font-size: 14px; transition: .2s;
}
.social-link:hover { background: var(--orange); border-color: var(--orange); transform: translateX(4px); }
.social-link svg { width: 17px; height: 17px; flex-shrink: 0; }
.footer-nav a:hover { color: var(--orange); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 18px 0; font-size: 13px; text-align: center; }
.footer-bottom p { margin: 3px 0; }
.icp-link { color: rgba(255,255,255,.65); transition: .2s; }
.icp-link:hover { color: var(--orange); }

/* ===== 响应式 ===== */
@media (max-width: 1240px) {
  .nav-search { display: none; }
  .nav-link { padding: 11px 10px; font-size: 14.5px; }
}
@media (max-width: 960px) {
  .article-grid, .expo-grid, .product-grid, .category-grid, .team-grid, .cert-grid, .support-grid { grid-template-columns: repeat(2, 1fr); }
  .about-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .nav {
    position: fixed; top: 132px; left: 4%; right: 4%;
    background: #fff; border-radius: 16px;
    flex-direction: column; padding: 12px 18px;
    box-shadow: 0 12px 24px rgba(18,58,95,.18);
    transform: translateY(-140%); opacity: 0; pointer-events: none;
    transition: .3s; z-index: 99;
  }
  .nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .menu-toggle { display: block; }
  .nav-link.active::after { display: none; }
  .logo-img { height: 60px; }
  .nav-bar { height: 72px; }
  html { scroll-padding-top: 96px; }
}
@media (max-width: 640px) {
  .hero-stats { gap: 28px; flex-wrap: wrap; }
  .article-grid, .expo-grid, .product-grid, .category-grid, .team-grid, .cert-grid, .support-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
}
