/* =====================================================
   JINXIN SOFTWARE - 株洲市金鑫软件科技有限公司官网
   深蓝科技渐变风（Tech Blue Gradient）样式（响应式）
   ===================================================== */

:root {
  --primary: #0e6fff;        /* 主色 科技蓝 */
  --primary-dark: #0b1f4d;   /* 主色深 */
  --primary-deeper: #081c45; /* 更深 */
  --accent: #00b4d8;         /* 辅助青 */
  --bg: #f4f7fc;             /* 页面底色 浅蓝 */
  --bg-white: #FFFFFF;       /* 卡片底色 */
  --text-main: #23344d;      /* 正文 */
  --text-muted: #66788f;     /* 弱化文字 */
  --border: #e4ebf5;         /* 边框 */
  --shadow-sm: 0 4px 14px rgba(14, 61, 128, 0.06);
  --shadow-md: 0 12px 32px rgba(14, 61, 128, 0.10);
  --shadow-lg: 0 24px 56px rgba(14, 61, 128, 0.14);
  --radius: 16px;
  --font-sans: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --gradient-primary: linear-gradient(135deg, #0e6fff 0%, #00b4d8 100%);
  --gradient-deep: linear-gradient(135deg, #0b1f4d 0%, #0e6fff 100%);
  --transition: all 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--text-main);
  background: var(--bg-white);
  line-height: 1.75;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

h1, h2, h3, h4 { font-family: var(--font-sans); font-weight: 700; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------------- 按钮 ---------------- */
.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  font-family: var(--font-sans);
}
.btn-primary { background: linear-gradient(135deg, #0e6fff 0%, #00b4d8 100%); color: #fff; box-shadow: 0 10px 24px rgba(14, 61, 128, 0.16); }
.btn-primary:hover { background: linear-gradient(135deg, #0b1f4d 0%, #0e6fff 100%); color: #fff; box-shadow: 0 14px 30px rgba(14, 61, 128, 0.22); transform: translateY(-2px); }
.btn-light { background: var(--bg); color: var(--primary-dark); }
.btn-light:hover { background: #fff; color: var(--primary); box-shadow: 0 10px 24px rgba(14, 61, 128, 0.12); }
.btn-outline-light { background: transparent; color: var(--bg-white); border-color: rgba(255, 255, 255, 0.65); }
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.14); border-color: var(--bg-white); }
.btn-ghost { padding: 8px 24px; font-size: 14px; border: 1.5px solid var(--primary); color: var(--primary); border-radius: 50px; background: transparent; }
.btn-ghost:hover { background: var(--gradient-primary); color: #fff; border-color: transparent; }
.btn-block { width: 100%; }

/* ---------------- 顶部信息条 ---------------- */
.topbar {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  padding: 7px 0;
}
.topbar-inner { display: flex; justify-content: space-between; align-items: center; }
.topbar-contacts a { margin-left: 20px; color: rgba(255, 255, 255, 0.85); transition: var(--transition); }
.topbar-contacts a:hover { color: #fff; }

/* ---------------- 导航栏 ---------------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.header.scrolled { box-shadow: var(--shadow-md); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 74px;
  position: relative;
}
.logo-badge {
  width: 46px;
  height: 46px;
  border-radius: var(--radius);
  background: var(--gradient-primary);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(14, 61, 128, 0.18);
}
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }

.nav { display: flex; gap: 4px; }
.nav-link {
  padding: 8px 6px;
  margin: 0 10px;
  font-size: 15px;
  color: var(--text-main);
  transition: var(--transition);
  position: relative;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
}
.nav-link:hover { color: var(--primary); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-link.active { color: var(--primary); font-weight: 600; }

.header-tel { padding: 10px 22px; font-size: 14px; position: absolute; right: 0; top: 50%; transform: translateY(-50%); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 26px; height: 3px; background: var(--primary-dark); border-radius: 3px; transition: var(--transition); }
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------------- 轮播 Banner（深蓝渐变） ---------------- */
.hero { position: relative; height: 560px; overflow: hidden; }
.hero-slider, .slide { height: 100%; }
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.9s ease, visibility 0.9s ease;
  display: flex;
  align-items: center;
  background-color: var(--primary);
  background-size: cover;
  background-position: center;
}
.slide.active { opacity: 1; visibility: visible; z-index: 1; }
.slide-inner { width: 100%; }
.slide-content { max-width: 720px; color: #fff; padding: 40px 0; }
.slide-tag {
  display: inline-block;
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: #fff;
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 13px;
  letter-spacing: 3px;
  margin-bottom: 22px;
  background: rgba(255, 255, 255, 0.08);
}
.slide-content h1, .slide-content h2 {
  font-family: var(--font-sans);
  font-size: 44px;
  line-height: 1.3;
  margin-bottom: 18px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #fff;
}
.slide-content p {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 30px;
}
.slide-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.10);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-arrow:hover { background: #fff; color: var(--primary-dark); }
.hero-arrow.prev { left: 24px; }
.hero-arrow.next { right: 24px; }

.hero-dots {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  gap: 10px;
}
.hero-dots .dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  background: transparent;
  cursor: pointer;
  transition: var(--transition);
}
.hero-dots .dot.active { background: #fff; border-color: #fff; width: 26px; border-radius: 5px; }

/* ---------------- 核心优势 ---------------- */
.features { margin-top: -56px; position: relative; z-index: 10; padding-bottom: 20px; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  background: var(--bg-white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  padding: 34px 30px;
}
.feature-item { text-align: center; padding: 8px 12px; }
.feature-icon {
  width: 60px; height: 60px;
  margin: 0 auto 14px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(14, 111, 255, 0.12) 0%, rgba(0, 180, 216, 0.08) 100%);
  border: 1px solid var(--border);
  color: var(--primary);
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.feature-item:hover .feature-icon { background: var(--gradient-primary); border-color: transparent; color: #fff; transform: translateY(-4px); }
.feature-item h3 { font-size: 17px; margin-bottom: 6px; color: var(--primary-dark); }
.feature-item p { font-size: 13.5px; color: var(--text-muted); }

/* ---------------- 通用 section ---------------- */
.section { padding: 90px 0; }
.section-head { text-align: center; margin-bottom: 50px; }
.section-sub {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 4px;
  color: var(--primary);
  margin-bottom: 10px;
}
.section-sub::before { content: "— "; letter-spacing: 2px; }
.section-title { font-family: var(--font-sans); font-size: 36px; color: var(--primary-dark); font-weight: 700; letter-spacing: 1px; }
.section-desc { color: var(--text-muted); margin-top: 10px; font-size: 15px; }
.section-head.light .section-title { color: #fff; }
.section-head.light .section-sub { color: var(--accent); }
.section-head.light .section-desc { color: rgba(255, 255, 255, 0.78); }

/* ---------------- 产品中心 ---------------- */
.products { background: var(--bg); }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.product-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 34px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: #dbe7f6; }
.product-icon {
  width: 62px; height: 62px;
  border-radius: var(--radius);
  font-size: 26px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: #fff;
  box-shadow: 0 8px 20px rgba(14, 61, 128, 0.14);
}
.icon-finance { background: linear-gradient(135deg, #0e6fff 0%, #00b4d8 100%); }
.icon-trade { background: linear-gradient(135deg, #0b1f4d 0%, #0e6fff 100%); }
.icon-cloud { background: linear-gradient(135deg, #00b4d8 0%, #0e6fff 100%); }
.icon-flag { background: linear-gradient(135deg, #081c45 0%, #0b1f4d 100%); }
.product-card h3 { font-size: 19px; color: var(--primary-dark); margin-bottom: 12px; }
.product-card > p { font-size: 14px; color: var(--text-muted); flex: 1; }
.product-points { margin: 16px 0 22px; }
.product-points li { font-size: 13.5px; color: var(--text-muted); padding: 5px 0; position: relative; padding-left: 20px; }
.product-points li::before { content: "✓"; position: absolute; left: 0; color: var(--primary); font-weight: 700; }

/* ---------------- 公司简介 ---------------- */
.about { background: var(--bg-white); }
.about-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: center; }
.about-visual {
  background: linear-gradient(135deg, #0b1f4d 0%, #0e6fff 100%);
  border-radius: var(--radius);
  color: #fff;
  padding: 48px 40px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.about-visual::after {
  content: "";
  position: absolute;
  right: -60px; top: -60px;
  width: 200px; height: 200px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
}
.about-badge {
  width: 92px; height: 92px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(0, 180, 216, 0.22) 0%, rgba(14, 111, 255, 0.16) 100%);
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  font-family: var(--font-sans);
  font-size: 30px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 26px;
}
.about-visual h3 { font-family: var(--font-sans); font-size: 22px; margin-bottom: 6px; }
.about-visual > p { color: rgba(255, 255, 255, 0.82); font-size: 14px; letter-spacing: 2px; }
.about-stats { display: flex; gap: 20px; margin-top: 34px; }
.stat { flex: 1; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.16); border-radius: var(--radius); padding: 16px 12px; text-align: center; }
.stat strong { display: block; font-size: 26px; color: #fff; font-family: var(--font-sans); }
.stat strong small { font-size: 14px; font-weight: 400; }
.stat span { font-size: 12.5px; color: rgba(255, 255, 255, 0.75); }
.about-content .section-title { margin-bottom: 20px; }
.about-content p { color: var(--text-muted); margin-bottom: 16px; font-size: 15px; text-align: justify; }
.about-content p strong { color: var(--primary); }
.about-content blockquote {
  border-left: 3px solid var(--primary);
  background: var(--bg);
  padding: 16px 20px;
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--primary-dark);
  font-size: 15px;
  margin: 22px 0 28px;
  font-family: var(--font-sans);
  font-style: italic;
}

/* ---------------- 新闻中心 ---------------- */
.news { background: var(--bg); }
.news-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.news-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: #dbe7f6; }
.news-date {
  align-self: flex-start;
  font-size: 12.5px;
  color: var(--primary);
  background: rgba(14, 111, 255, 0.08);
  border-radius: 50px;
  padding: 4px 14px;
  margin-bottom: 14px;
}
.news-card h3 { font-size: 17px; line-height: 1.5; color: var(--primary-dark); margin-bottom: 10px; flex: 1; }
.news-card p { font-size: 13.5px; color: var(--text-muted); margin-bottom: 16px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.news-more { font-size: 13.5px; color: var(--primary); font-weight: 600; }
.news-more:hover { color: var(--primary); }

/* ---------------- 联系我们（科技蓝大色块） ---------------- */
.contact { background: var(--primary); color: #fff; }
.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 50px; align-items: start; }
.contact-info {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  padding: 34px 32px;
}
.contact-item { padding: 14px 0; border-bottom: 1px dashed rgba(255, 255, 255, 0.22); }
.contact-item:last-child { border-bottom: none; }
.contact-label { display: block; font-size: 13px; color: rgba(255, 255, 255, 0.65); letter-spacing: 1px; margin-bottom: 4px; }
.contact-value { font-size: 16px; font-weight: 600; }
.contact-value a { color: #fff; border-bottom: 1px solid rgba(255, 255, 255, 0.4); transition: var(--transition); }
.contact-value a:hover { color: var(--accent); border-color: var(--accent); }

.contact-form-wrap {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 36px 32px;
  box-shadow: var(--shadow-lg);
  color: var(--text-main);
}
.contact-form h3 { font-size: 20px; color: var(--primary-dark); margin-bottom: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.contact-form input, .contact-form textarea {
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 13px 16px;
  font-size: 14px;
  font-family: var(--font-sans);
  color: var(--text-main);
  background: var(--bg);
  transition: var(--transition);
  resize: vertical;
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--bg-white);
  box-shadow: 0 0 0 3px rgba(14, 111, 255, 0.10);
}
.form-tip { margin-top: 12px; font-size: 13.5px; text-align: center; color: var(--primary); min-height: 20px; }

/* ---------------- 页脚 ---------------- */
.footer { background: var(--primary-dark); color: rgba(255, 255, 255, 0.75); padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 44px; }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-logo .logo-badge { width: 40px; height: 40px; font-size: 14px; }
.footer-logo .logo-text strong { color: #fff; font-size: 18px; }
.footer-col p { font-size: 13.5px; line-height: 1.9; }
.footer-col h4 { color: #fff; font-size: 16px; margin-bottom: 18px; position: relative; padding-bottom: 10px; }
.footer-col h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 32px; height: 2px; background: var(--accent); }
.footer-col a { display: block; font-size: 13.5px; color: rgba(255, 255, 255, 0.7); padding: 5px 0; transition: var(--transition); }
.footer-col a:hover { color: var(--accent); transform: translateX(4px); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 22px 0;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.55);
  text-align: center;
  line-height: 2;
}
.footer-bottom a { color: rgba(255, 255, 255, 0.65); margin: 0 10px; transition: var(--transition); }
.footer-bottom a:hover { color: #fff; }

/* ---------------- 浮动客服 ---------------- */
.float-bar {
  position: fixed;
  right: 18px;
  bottom: 40px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.float-item {
  width: 52px; height: 52px;
  border-radius: var(--radius);
  background: var(--gradient-primary);
  color: var(--bg-white);
  font-size: 12.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.25;
  box-shadow: 0 8px 20px rgba(14, 61, 128, 0.16);
  transition: var(--transition);
  cursor: pointer;
  border: none;
  font-family: var(--font-sans);
}
.float-item:hover { background: var(--gradient-deep); transform: translateY(-4px); }
.float-bar .float-item:last-child { background: var(--primary-dark); }
.float-bar .float-item:last-child:hover { background: var(--primary-deeper); }

/* ---------------- 响应式 ---------------- */
@media (max-width: 1024px) {
  .product-grid, .news-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .hero { height: 480px; }
  .slide-content h1, .slide-content h2 { font-size: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .topbar-slogan { display: none; }
  .header-tel { display: none; }
  .nav-toggle { display: flex; position: absolute; right: 0; top: 50%; transform: translateY(-50%); }
  .nav {
    position: fixed;
    top: 74px;
    right: 0;
    width: 260px;
    height: calc(100vh - 74px);
    background: var(--bg-white);
    flex-direction: column;
    padding: 24px 18px;
    gap: 4px;
    box-shadow: -8px 0 30px rgba(14, 61, 128, 0.12);
    transform: translateX(100%);
    transition: transform 0.35s ease;
    z-index: 99;
  }
  .nav.open { transform: translateX(0); }
  .nav-link { font-size: 16px; padding: 12px 8px; margin: 0; }
  .nav-link::after { display: none; }
  .nav-link.active { background: rgba(14, 111, 255, 0.08); border-radius: 6px; }
  .hero { height: 440px; }
  .slide-content h1, .slide-content h2 { font-size: 30px; }
  .slide-content p { font-size: 15px; }
  .hero-arrow { display: none; }
  .features { margin-top: -30px; }
  .feature-grid { padding: 26px 18px; gap: 14px; }
  .section { padding: 64px 0; }
  .section-title { font-size: 28px; }
  .product-grid, .news-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .about-stats { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .float-bar { right: 12px; bottom: 24px; }
  .float-item { width: 46px; height: 46px; font-size: 11px; }
}

@media (max-width: 480px) {
  .slide-content h1, .slide-content h2 { font-size: 26px; }
  .slide-actions .btn { padding: 10px 20px; font-size: 14px; }
  .feature-grid { grid-template-columns: 1fr; }
}

/* ---------------- 服务案例 ---------------- */
.cases { background: var(--bg-white); }
.case-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.case-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.case-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: var(--transition);
}
.case-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: #dbe7f6; }
.case-card:hover::before { opacity: 1; }
.case-industry {
  align-self: flex-start;
  font-size: 12px;
  color: var(--primary);
  background: rgba(14, 111, 255, 0.08);
  border-radius: 50px;
  padding: 3px 12px;
  margin-bottom: 12px;
  font-weight: 600;
}
.case-card h3 { font-size: 16.5px; color: var(--primary-dark); line-height: 1.45; margin-bottom: 10px; flex: 1; }
.case-card p { font-size: 13.5px; color: var(--text-muted); margin-bottom: 16px; }
.case-more { font-size: 13.5px; color: var(--primary); font-weight: 600; background: none; border: none; padding: 0; cursor: pointer; font-family: var(--font-sans); transition: var(--transition); }
.case-more:hover { color: var(--primary); }

/* ---------------- 在线服务 ---------------- */
.service { background: var(--bg); }
.service-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.service-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 22px;
  transition: var(--transition);
  cursor: pointer;
  text-align: left;
}
.service-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #dbe7f6; }
.service-num {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(14, 111, 255, 0.12) 0%, rgba(0, 180, 216, 0.08) 100%);
  border: 1px solid var(--border);
  color: var(--primary);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.service-item:hover .service-num { background: var(--gradient-primary); border-color: transparent; color: #fff; }
.service-body { flex: 1; min-width: 0; }
.service-body h3 { font-size: 15.5px; color: var(--primary-dark); line-height: 1.5; margin-bottom: 5px; transition: var(--transition); }
.service-item:hover .service-body h3 { color: var(--primary); }
.service-body p {
  font-size: 13px; color: var(--text-muted);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.service-link {
  flex-shrink: 0;
  font-size: 13px;
  color: var(--primary);
  font-weight: 600;
  white-space: nowrap;
  margin-top: 4px;
}

@media (max-width: 1024px) {
  .case-grid { grid-template-columns: repeat(2, 1fr); }
  .service-list { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .case-grid { grid-template-columns: 1fr; }
  .service-item { padding: 16px; gap: 12px; }
  .service-link { display: none; }
}

/* ---------------- 详情弹窗 ---------------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(8, 28, 69, 0.72);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--bg-white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  width: 100%;
  max-width: 740px;
  max-height: 84vh;
  overflow-y: auto;
  padding: 36px 38px;
  position: relative;
  box-shadow: 0 30px 80px rgba(14, 61, 128, 0.30);
  animation: modalIn 0.3s ease;
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(24px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text-muted);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  transition: var(--transition);
}
.modal-close:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.modal-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  background: rgba(14, 111, 255, 0.08);
  border-radius: 50px;
  padding: 4px 14px;
  margin-bottom: 14px;
}
.modal-title {
  font-family: var(--font-sans);
  font-size: 22px;
  color: var(--primary-dark);
  line-height: 1.45;
  margin-bottom: 20px;
  padding-right: 44px;
}
.modal-body { color: var(--text-main); font-size: 14.5px; }
.modal-section { margin-bottom: 18px; }
.modal-section h4 {
  font-size: 15px;
  color: var(--primary);
  margin-bottom: 8px;
  position: relative;
  padding-left: 14px;
}
.modal-section h4::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--primary);
}
.modal-section p { color: var(--text-muted); line-height: 1.95; text-align: justify; }
.modal-line { padding: 4px 0; color: var(--text-muted); line-height: 1.9; }

@media (max-width: 768px) {
  .modal { padding: 28px 22px; }
  .modal-title { font-size: 18px; }
}
