/* ============================================================
   kerrystone.com 柯睿斯坦官网 全站共享样式
   设计风格：蓝白科技感 · 专业简洁 · 移动端响应式
   无外部 CDN 依赖
   ============================================================ */

/* ---------- 基础重置 ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: #2c3e50;
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: #1a6bff;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #0e4fc0;
}

ul, ol {
  list-style: none;
}

/* ---------- 通用容器 ---------- */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- 顶部信息条 ---------- */
.topbar {
  background: #0a2a5e;
  color: #b8cbe8;
  font-size: 13px;
  padding: 6px 0;
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
}

.topbar a {
  color: #dbe7ff;
}

.topbar a:hover {
  color: #ffffff;
}

/* ---------- 导航栏 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #ffffff;
  border-bottom: 1px solid #e6ecf5;
  box-shadow: 0 2px 8px rgba(20, 50, 110, 0.06);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #0a2a5e;
  font-weight: 700;
}

.logo .logo-mark {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, #1a6bff, #0a4fd0);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 18px;
  font-weight: 800;
}

.logo .logo-text {
  font-size: 20px;
  letter-spacing: 1px;
}

.logo .logo-sub {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: #6b7a90;
  letter-spacing: 0.5px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: #0a2a5e;
  border-radius: 2px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav a {
  color: #33415c;
  font-size: 15px;
  font-weight: 500;
  padding: 6px 2px;
  position: relative;
}

.site-nav a:hover,
.site-nav a.active {
  color: #1a6bff;
}

.site-nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: #1a6bff;
  border-radius: 2px;
}

.nav-cta {
  background: #1a6bff;
  color: #ffffff !important;
  padding: 9px 20px !important;
  border-radius: 6px;
  font-weight: 600;
}

.nav-cta:hover {
  background: #0e4fc0;
}

/* ---------- Hero 区 ---------- */
.hero {
  background: linear-gradient(135deg, #0a2a5e 0%, #123e8f 55%, #1a6bff 100%);
  color: #ffffff;
  padding: 90px 0 100px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 380px;
  height: 380px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 50%;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 40px;
  line-height: 1.4;
  font-weight: 800;
  margin-bottom: 22px;
  letter-spacing: 1px;
}

.hero p.lead {
  font-size: 18px;
  color: #cfdcf7;
  max-width: 720px;
  margin-bottom: 34px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}

.hero-badges span {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 100px;
  padding: 7px 16px;
  font-size: 14px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-block;
  padding: 13px 30px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  text-align: center;
}

.btn-primary {
  background: #ffffff;
  color: #0a2a5e;
}

.btn-primary:hover {
  background: #eaf1ff;
  color: #0a2a5e;
}

.btn-outline {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.btn-blue {
  background: #1a6bff;
  color: #ffffff;
}

.btn-blue:hover {
  background: #0e4fc0;
  color: #ffffff;
}

.btn-gray {
  background: #eef2f8;
  color: #33415c;
}

.btn-gray:hover {
  background: #dfe7f3;
  color: #33415c;
}

/* ---------- 区块通用 ---------- */
.section {
  padding: 80px 0;
}

.section-alt {
  background: #f4f7fc;
}

.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 50px;
}

.section-head h2 {
  font-size: 32px;
  color: #0a2a5e;
  font-weight: 700;
  margin-bottom: 14px;
}

.section-head p {
  color: #5a6b82;
  font-size: 16px;
}

.section-kicker {
  display: inline-block;
  color: #1a6bff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
  margin-bottom: 8px;
  text-transform: uppercase;
}

/* ---------- 服务卡片 ---------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.service-card {
  background: #ffffff;
  border: 1px solid #e6ecf5;
  border-radius: 12px;
  padding: 34px 30px;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 34px rgba(18, 62, 143, 0.12);
  border-color: #b9d0f7;
}

.service-icon {
  width: 58px;
  height: 58px;
  border-radius: 12px;
  background: linear-gradient(135deg, #1a6bff, #0a4fd0);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 20px;
  font-weight: 800;
}

.service-card h3 {
  font-size: 20px;
  color: #0a2a5e;
  margin-bottom: 12px;
}

.service-card p {
  color: #5a6b82;
  font-size: 15px;
  margin-bottom: 18px;
  flex: 1;
}

.service-card ul {
  margin-bottom: 20px;
}

.service-card ul li {
  color: #44546a;
  font-size: 14px;
  padding-left: 18px;
  position: relative;
  margin-bottom: 6px;
}

.service-card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 7px;
  height: 7px;
  background: #1a6bff;
  border-radius: 50%;
}

.service-link {
  color: #1a6bff;
  font-weight: 600;
  font-size: 15px;
}

/* ---------- 关于/介绍 ---------- */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.about-split h2 {
  font-size: 30px;
  color: #0a2a5e;
  margin-bottom: 20px;
}

.about-split p {
  color: #44546a;
  margin-bottom: 14px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  color: #33415c;
}

.feature-list li .tick {
  color: #1a6bff;
  font-weight: 800;
  flex-shrink: 0;
}

/* ---------- 数据/亮点 ---------- */
.stats-band {
  background: linear-gradient(135deg, #0a2a5e, #123e8f);
  color: #ffffff;
  padding: 56px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.stat-item .num {
  font-size: 38px;
  font-weight: 800;
  color: #7db0ff;
}

.stat-item .label {
  font-size: 15px;
  color: #c4d4f0;
  margin-top: 6px;
}

/* ---------- 案例 ---------- */
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.case-card {
  background: #ffffff;
  border: 1px solid #e6ecf5;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.25s ease;
}

.case-card:hover {
  box-shadow: 0 14px 34px rgba(18, 62, 143, 0.1);
  transform: translateY(-4px);
}

.case-body {
  padding: 28px;
}

.case-tag {
  display: inline-block;
  background: #e8f0ff;
  color: #1a6bff;
  font-size: 13px;
  font-weight: 600;
  border-radius: 4px;
  padding: 3px 10px;
  margin-bottom: 12px;
}

.case-body h3 {
  font-size: 19px;
  color: #0a2a5e;
  margin-bottom: 10px;
}

.case-body p {
  color: #5a6b82;
  font-size: 14px;
}

.case-result {
  margin-top: 14px;
  background: #f0f6ff;
  border-left: 3px solid #1a6bff;
  padding: 12px 16px;
  border-radius: 0 8px 8px 0;
  font-size: 14px;
  color: #123e8f;
}

/* ---------- 流程 ---------- */
.process-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.process-step {
  text-align: center;
  padding: 24px 14px;
  background: #ffffff;
  border: 1px solid #e6ecf5;
  border-radius: 12px;
}

.process-step .step-no {
  width: 42px;
  height: 42px;
  line-height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1a6bff, #0a4fd0);
  color: #ffffff;
  font-weight: 700;
  margin: 0 auto 14px;
  font-size: 17px;
}

.process-step h4 {
  color: #0a2a5e;
  margin-bottom: 6px;
}

.process-step p {
  color: #6b7a90;
  font-size: 13px;
}

/* ---------- 技术栈 ---------- */
.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.tech-tags span {
  background: #ffffff;
  border: 1px solid #dbe5f5;
  border-radius: 100px;
  padding: 8px 18px;
  font-size: 14px;
  color: #33415c;
}

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  background: #ffffff;
  border: 1px solid #e6ecf5;
  border-radius: 10px;
  margin-bottom: 14px;
  overflow: hidden;
}

.faq-item details {
  padding: 0;
}

.faq-item summary {
  padding: 18px 24px;
  font-weight: 600;
  color: #0a2a5e;
  cursor: pointer;
  position: relative;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 24px;
  color: #1a6bff;
  font-size: 22px;
  font-weight: 400;
}

.faq-item details[open] summary::after {
  content: "−";
}

.faq-answer {
  padding: 0 24px 20px;
  color: #44546a;
  font-size: 15px;
}

/* ---------- CTA ---------- */
.cta-band {
  background: linear-gradient(135deg, #123e8f, #1a6bff);
  color: #ffffff;
  text-align: center;
  padding: 70px 0;
}

.cta-band h2 {
  font-size: 30px;
  margin-bottom: 14px;
}

.cta-band p {
  color: #cfdcf7;
  margin-bottom: 28px;
  font-size: 16px;
}

/* ---------- 咨询/联系 ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-info h3 {
  font-size: 22px;
  color: #0a2a5e;
  margin-bottom: 20px;
}

.contact-line {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.contact-line .icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: #e8f0ff;
  color: #1a6bff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  flex-shrink: 0;
}

.contact-line .label {
  font-size: 13px;
  color: #8a97ab;
}

.contact-line .value {
  font-size: 17px;
  color: #0a2a5e;
  font-weight: 600;
}

.wechat-qr-placeholder {
  width: 180px;
  height: 180px;
  background: #f4f7fc;
  border: 1px dashed #b9cff0;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: #5a6b82;
  font-size: 13px;
  margin-top: 10px;
}

/* ---------- 表单 ---------- */
.form-card {
  background: #ffffff;
  border: 1px solid #e6ecf5;
  border-radius: 12px;
  padding: 34px;
  box-shadow: 0 8px 26px rgba(18, 62, 143, 0.07);
}

.form-card h3 {
  font-size: 20px;
  color: #0a2a5e;
  margin-bottom: 6px;
}

.form-card .form-note {
  color: #8a97ab;
  font-size: 13px;
  margin-bottom: 22px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 14px;
  color: #33415c;
  font-weight: 600;
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid #d5deea;
  border-radius: 6px;
  font-size: 15px;
  font-family: inherit;
  background: #fbfcfe;
  transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #1a6bff;
  background: #ffffff;
}

.form-group textarea {
  min-height: 110px;
  resize: vertical;
}

.form-privacy {
  font-size: 13px;
  color: #8a97ab;
  margin-bottom: 16px;
}

/* ---------- 内容页 ---------- */
.page-hero {
  background: linear-gradient(135deg, #0a2a5e, #123e8f);
  color: #ffffff;
  padding: 64px 0 58px;
  text-align: center;
}

.page-hero h1 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 14px;
}

.page-hero p {
  color: #cfdcf7;
  max-width: 760px;
  margin: 0 auto;
  font-size: 16px;
}

.breadcrumb {
  background: #f4f7fc;
  padding: 12px 0;
  font-size: 14px;
  color: #6b7a90;
}

.breadcrumb a {
  color: #1a6bff;
}

.breadcrumb .sep {
  margin: 0 8px;
  color: #b0bdcc;
}

.content-block {
  max-width: 900px;
  margin: 0 auto;
}

.content-block h2 {
  font-size: 26px;
  color: #0a2a5e;
  margin: 40px 0 16px;
  padding-left: 14px;
  border-left: 4px solid #1a6bff;
}

.content-block h3 {
  font-size: 20px;
  color: #123e8f;
  margin: 26px 0 12px;
}

.content-block p {
  color: #44546a;
  margin-bottom: 14px;
}

.content-block ul {
  margin-bottom: 16px;
}

.content-block ul li {
  padding-left: 20px;
  position: relative;
  color: #44546a;
  margin-bottom: 8px;
}

.content-block ul li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 11px;
  width: 8px;
  height: 8px;
  background: #1a6bff;
  border-radius: 2px;
}

/* ---------- 表格 ---------- */
.table-wrap {
  overflow-x: auto;
  margin: 20px 0;
}

table.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

table.data-table th,
table.data-table td {
  border: 1px solid #e2e9f4;
  padding: 12px 14px;
  text-align: left;
}

table.data-table th {
  background: #eef4fd;
  color: #0a2a5e;
  font-weight: 600;
}

table.data-table tr:nth-child(even) td {
  background: #fafcff;
}

/* ---------- 案例详情 ---------- */
.case-detail-card {
  background: #ffffff;
  border: 1px solid #e6ecf5;
  border-radius: 12px;
  padding: 36px;
  margin-bottom: 28px;
}

.case-detail-card h3 {
  font-size: 22px;
  color: #0a2a5e;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid #e6ecf5;
}

.case-detail-card dl {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 10px 18px;
}

.case-detail-card dt {
  color: #1a6bff;
  font-weight: 600;
}

.case-detail-card dd {
  color: #44546a;
  margin-bottom: 8px;
}

/* ---------- 关于页 ---------- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.value-card {
  text-align: center;
  background: #ffffff;
  border: 1px solid #e6ecf5;
  border-radius: 12px;
  padding: 34px 24px;
}

.value-card .v-icon {
  font-size: 30px;
  margin-bottom: 14px;
}

.value-card h4 {
  color: #0a2a5e;
  font-size: 18px;
  margin-bottom: 10px;
}

.value-card p {
  color: #6b7a90;
  font-size: 14px;
}

/* ---------- 页脚 ---------- */
.site-footer {
  background: #081f45;
  color: #a9bcd9;
  padding: 60px 0 0;
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 40px;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 16px;
  margin-bottom: 18px;
}

.footer-col p,
.footer-col li {
  color: #a9bcd9;
  margin-bottom: 8px;
  line-height: 1.8;
}

.footer-col a {
  color: #a9bcd9;
}

.footer-col a:hover {
  color: #ffffff;
}

.footer-brand {
  font-size: 20px;
  color: #ffffff;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: 1px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 18px 0;
  text-align: center;
  font-size: 13px;
  color: #7f93b5;
}

.footer-bottom a {
  color: #a9bcd9;
}

/* ---------- 响应式 ---------- */
@media (max-width: 992px) {
  .service-grid,
  .case-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-split,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .process-steps {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero h1 {
    font-size: 32px;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    gap: 0;
    padding: 10px 0;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1);
    border-top: 1px solid #e6ecf5;
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    padding: 12px 20px;
    width: 100%;
    border-bottom: 1px solid #f0f3f9;
  }

  .site-nav a.active::after {
    display: none;
  }

  .site-nav .nav-cta {
    border: none;
  }

  .hero {
    padding: 56px 0 64px;
  }

  .hero h1 {
    font-size: 27px;
  }

  .hero p.lead {
    font-size: 16px;
  }

  .section {
    padding: 56px 0;
  }

  .service-grid,
  .case-grid,
  .values-grid {
    grid-template-columns: 1fr;
  }

  .process-steps {
    grid-template-columns: 1fr 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .page-hero h1 {
    font-size: 27px;
  }

  .case-detail-card dl {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }
}

@media (max-width: 480px) {
  .process-steps {
    grid-template-columns: 1fr;
  }
}
