/* ============ 科捷库记云 全站共享样式 ============ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "PingFang SC", "Microsoft Yahei", system-ui, sans-serif;
}
:root {
  --primary: #409eff;
  --primary-deep: #2f7fe0;
  --bg-deep: #0b2048;
  --bg-mid: #153b82;
  --text-white: #ffffff;
  --text-light: #dce8fb;
  --text-dark: #1e2a3a;
  --text-gray: #5a6b85;
  --orange: #ff7828;
  --bg-light: #f5f8fd;
  --border: #e6edf7;
}
html {
  scroll-behavior: smooth;
}
body {
  color: var(--text-dark);
  background: #fff;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  display: block;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============ 顶部导航（全站通用） ============ */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 12px rgba(11, 32, 72, 0.08);
}
.nav-wrap {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
}
.logo-box {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  /*background: linear-gradient(135deg, #409eff, #1f6fd0);*/
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 17px;
  flex-shrink: 0;
}
.logo-text {
  font-size: 20px;
  font-weight: 600;
  color: #111;
  letter-spacing: 0.5px;
}
.nav-menu {
  display: flex;
  gap: 38px;
}
.nav-menu a {
  color: #46536a;
  font-size: 16px;
  padding: 6px 2px;
  position: relative;
  transition: color 0.2s;
}
.nav-menu a:hover {
  color: var(--primary);
}
.nav-menu a.active {
  color: var(--primary);
  font-weight: 600;
}
.nav-menu a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 3px;
  border-radius: 3px;
  background: var(--primary);
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 99px;
  padding: 11px 30px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(64, 158, 255, 0.3);
  transition: transform 0.2s, box-shadow 0.2s;
  display: inline-block;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(64, 158, 255, 0.4);
}
.btn-outline {
  border: 1.5px solid var(--primary);
  color: var(--primary);
  background: transparent;
  border-radius: 99px;
  padding: 10px 28px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.2s;
  display: inline-block;
}
.btn-outline:hover {
  background: rgba(64, 158, 255, 0.08);
}

/* 首页深色透明导航 */
header.nav-dark {
  position: absolute;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  width: 100%;
}
header.nav-dark .nav-menu a {
  color: rgba(255, 255, 255, 0.9);
}
header.nav-dark .nav-menu a:hover,
header.nav-dark .nav-menu a.active {
  color: #fff;
}
header.nav-dark .nav-menu a.active::after {
  background: var(--primary);
}
header.nav-dark .logo-text {
  color: #fff;
}
header.nav-dark .logo-box {
  background: #fff;
  border-radius: 99px;
  padding: 7px 24px 7px 18px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25);
}
header.nav-dark .logo-text {
  color: #111;
}

/* ============ 内页 Hero ============ */
.page-hero {
  background: radial-gradient(
      circle at 80% 20%,
      rgba(64, 158, 255, 0.25),
      transparent 45%
    ),
    linear-gradient(135deg, #0b2048 0%, #153b82 100%);
  color: #fff;
  padding: 88px 0 72px;
  text-align: center;
}
.page-hero h1 {
  font-size: 44px;
  font-weight: 600;
  margin-bottom: 14px;
}
.page-hero p {
  font-size: 18px;
  color: var(--text-light);
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ============ 通用区块 ============ */
.section {
  padding: 72px 0;
}
.section-head {
  text-align: center;
  margin-bottom: 48px;
}
.section-head h2 {
  font-size: 32px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 10px;
}
.section-head p {
  color: var(--text-gray);
  font-size: 16px;
}
.bg-light {
  background: var(--bg-light);
}

/* 卡片网格 */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 14px;
  padding: 30px 26px;
  box-shadow: 0 2px 14px rgba(11, 32, 72, 0.06);
  transition: transform 0.25s, box-shadow 0.25s;
  border: 1px solid var(--border);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(11, 32, 72, 0.12);
}
.card .icon {
  width: 52px;
  height: 52px;
  border-radius: 13px;
  background: linear-gradient(135deg, #eaf3ff, #d7e9ff);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 16px;
}
.card h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: var(--text-dark);
}
.card p {
  font-size: 14.5px;
  color: var(--text-gray);
  line-height: 1.7;
}

/* ============ 页脚 ============ */
footer {
  background: var(--bg-deep);
  color: #c3cfe4;
  padding: 56px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}
.footer-brand .logo-text {
  color: #fff;
}
.footer-brand p {
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.8;
  color: #9fb1cc;
}
.footer-col h4 {
  color: #fff;
  font-size: 16px;
  margin-bottom: 16px;
}
.footer-col a,
.footer-col p {
  display: block;
  font-size: 14px;
  color: #9fb1cc;
  line-height: 2.2;
  transition: color 0.2s;
}
.footer-col a:hover {
  color: #fff;
}
.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 22px 0;
  text-align: center;
  font-size: 13.5px;
  color: #7f92b3;
}

/* ============ 首页 Hero ============ */
.home-hero {
  position: relative;
  min-height: 92vh;
  background: radial-gradient(
      circle at 78% 18%,
      rgba(64, 158, 255, 0.28),
      transparent 42%
    ),
    radial-gradient(
      circle at 20% 88%,
      rgba(64, 158, 255, 0.14),
      transparent 46%
    ),
    linear-gradient(180deg, #0b2048 0%, #12306a 58%, #153b82 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 130px 0 0;
}
.hero-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 32px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero-left h1 {
  font-size: 66px;
  line-height: 1.18;
  font-weight: 600;
  color: var(--text-white);
  margin-bottom: 26px;
  letter-spacing: 1px;
}
.hero-left p.sub {
  font-size: 22px;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 38px;
}
.tag-group {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.tag-item {
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 99px;
  padding: 11px 26px;
  font-size: 18px;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}
/* 设备截图区 */
.devices {
  position: relative;
  min-height: 560px;
}
.shot {
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
  position: relative;
}
.shot img {
  width: 100%;
  display: block;
  object-fit: cover;
}
.pc-shot img {
  height: auto;
  aspect-ratio: 16 / 10;
}
.shot-placeholder {
  width: 100%;
  height: 100%;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(
      135deg,
      rgba(64, 158, 255, 0.1),
      rgba(21, 59, 130, 0.12)
    ),
    #f0f5fd;
  color: #6b7fa3;
  font-size: 15px;
  text-align: center;
  padding: 24px;
}
.shot-placeholder::before {
  content: "🖥️";
  font-size: 44px;
}
.pc-shot {
  width: 94%;
}
.phone-shot {
  position: absolute;
  width: 28%;
  border-radius: 22px;
  border: 4px solid #eef2f8;
  overflow: hidden;
}
.phone-shot img {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
}
.phone-shot.p1 {
  right: 24%;
  top: -4%;
  z-index: 3;
  transform: rotate(3deg);
}
.phone-shot.p2 {
  right: 2%;
  top: 10%;
  z-index: 2;
  transform: rotate(-4deg);
}
.phone-shot .shot-placeholder {
  min-height: 300px;
}
.phone-shot .shot-placeholder::before {
  content: "📱";
}
.phone-shot .shot-placeholder {
  font-size: 12px;
}

/* 首页底部版本卡片 */
.version-wrap {
  position: relative;
  z-index: 5;
  max-width: 1400px;
  margin: 0 auto;
  padding: 64px 32px 52px;
  width: 100%;
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 26px;
  align-items: stretch;
}
.card-simple {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 16px 50px rgba(4, 18, 48, 0.35);
  padding: 34px 40px;
  display: flex;
  align-items: center;
  gap: 40px;
  min-height: 168px;
}
.ver-left {
  flex-shrink: 0;
  min-width: 210px;
}
.ver-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}
.ver-price {
  font-size: 23px;
  color: var(--orange);
  font-weight: 700;
  margin-bottom: 16px;
}
.ver-funcs {
  display: flex;
  gap: 34px;
  flex-wrap: wrap;
}
.func-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 88px;
}
.func-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, #eaf3ff, #d7e9ff);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}
.func-item span {
  font-size: 16px;
  color: #2a3848;
  font-weight: 500;
}
.card-pro {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 16px 50px rgba(4, 18, 48, 0.35);
  padding: 30px 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 168px;
}
.card-pro .ver-title {
  font-size: 28px;
}
.card-pro .ver-price {
  font-size: 19px;
  color: #55627a;
  font-weight: 500;
  margin-bottom: 0;
}
.btn-soft {
  background: #eef4ff;
  color: var(--primary);
  border: none;
  border-radius: 99px;
  padding: 10px 28px;
  font-size: 16px;
  cursor: pointer;
}

/* 痛点区 */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.pain-card {
  background: #fff;
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
  border-radius: 12px;
  padding: 26px 24px;
}
.pain-card h3 {
  font-size: 17px;
  margin-bottom: 10px;
  color: var(--text-dark);
}
.pain-card p {
  font-size: 14.5px;
  color: var(--text-gray);
  line-height: 1.7;
}

/* 表单 */
.form-wrap {
  max-width: 620px;
  margin: 0 auto;
  background: #fff;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(11, 32, 72, 0.1);
}
.form-item {
  margin-bottom: 20px;
}
.form-item label {
  display: block;
  margin-bottom: 8px;
  color: var(--text-dark);
  font-weight: 500;
  font-size: 15px;
}
.form-item input,
.form-item select,
.form-item textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--border);
  border-radius: 9px;
  font-size: 15px;
  transition: border 0.2s, box-shadow 0.2s;
  font-family: inherit;
}
.form-item input:focus,
.form-item select:focus,
.form-item textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(64, 158, 255, 0.12);
}
.btn-block {
  width: 100%;
  padding: 14px;
  font-size: 17px;
}

/* ============ 响应式 ============ */
@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero-inner {
    grid-template-columns: 1fr;
  }
  .devices {
    min-height: 480px;
  }
  .pain-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-left h1 {
    font-size: 48px;
  }
  .version-wrap {
    grid-template-columns: 1fr;
    padding-top: 30px;
  }
}
@media (max-width: 640px) {
  .nav-menu {
    display: none;
  }
  .nav-wrap {
    padding: 0 20px;
  }
  .grid-4,
  .grid-3 {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .pain-grid {
    grid-template-columns: 1fr;
  }
  .page-hero h1 {
    font-size: 34px;
  }
  .section {
    padding: 52px 0;
  }
  .hero-left h1 {
    font-size: 38px;
  }
  .card-simple {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
    padding: 26px;
  }
  .phone-shot {
    display: none;
  }
}
