/* ============================================================
   邯郸市启元信息科技有限公司 - 官网样式表
   ============================================================ */

:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --accent: #06b6d4;
  --dark: #0f172a;
  --dark-2: #1e293b;
  --gray: #64748b;
  --gray-light: #94a3b8;
  --bg-light: #f8fafc;
  --bg-soft: #eef2ff;
  --white: #ffffff;
  --border: #e2e8f0;
  --gradient: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
  --gradient-dark: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.08);
  --shadow: 0 8px 30px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 50px rgba(15, 23, 42, 0.12);
  --radius: 16px;
  --radius-sm: 10px;
  --max-width: 1200px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial,
    sans-serif;
  color: var(--dark);
  line-height: 1.7;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================= 通用区块 ============================= */
.section {
  padding: 96px 0;
}

.section-soft {
  background: var(--bg-light);
}

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

.eyebrow {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--bg-soft);
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.section-head h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}

.section-head p {
  color: var(--gray);
  font-size: 17px;
}

/* ============================= 按钮 ============================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.4);
}

.btn-ghost {
  background: transparent;
  color: var(--dark);
  border: 1.5px solid var(--border);
}

.btn-ghost:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-light {
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(8px);
}

.btn-light:hover {
  background: rgba(255, 255, 255, 0.25);
}

/* ============================= 导航 ============================= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  box-shadow: var(--shadow-sm);
  border-bottom-color: var(--border);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 20px;
}

.logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: var(--gradient);
  display: grid;
  place-items: center;
  color: var(--white);
  font-size: 20px;
  font-weight: 800;
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.35);
}

.logo-text small {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: var(--gray-light);
  letter-spacing: 1px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  color: var(--dark-2);
  transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
  background: var(--bg-soft);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

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

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================= Hero ============================= */
.hero {
  position: relative;
  padding: 160px 0 110px;
  background: var(--gradient-dark);
  color: var(--white);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
      circle at 20% 30%,
      rgba(6, 182, 212, 0.25),
      transparent 40%
    ),
    radial-gradient(circle at 80% 20%, rgba(37, 99, 235, 0.35), transparent 45%);
  pointer-events: none;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, black, transparent 75%);
  pointer-events: none;
}

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

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 14px;
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.25);
}

.hero h1 {
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 22px;
}

.hero h1 .grad {
  background: linear-gradient(90deg, #38bdf8, #06b6d4, #818cf8);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p.lead {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.8);
  max-width: 540px;
  margin-bottom: 34px;
}

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

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 48px;
  flex-wrap: wrap;
}

.hero-stats .stat strong {
  display: block;
  font-size: 32px;
  font-weight: 800;
  background: linear-gradient(90deg, #38bdf8, #818cf8);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-stats .stat span {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
}

/* Hero 视觉卡片 */
.hero-visual {
  position: relative;
}

.glass-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  padding: 24px;
  backdrop-filter: blur(16px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.code-window {
  border-radius: 14px;
  overflow: hidden;
  background: #0b1120;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.code-window .bar {
  display: flex;
  gap: 7px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.04);
}

.code-window .bar i {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
}

.code-window .bar i:nth-child(1) {
  background: #ff5f57;
}
.code-window .bar i:nth-child(2) {
  background: #febc2e;
}
.code-window .bar i:nth-child(3) {
  background: #28c840;
}

.code-window pre {
  padding: 18px 20px;
  font-family: "SF Mono", "Fira Code", Consolas, monospace;
  font-size: 13.5px;
  line-height: 1.8;
  color: #cbd5e1;
  overflow-x: auto;
}

.code-window .c-key {
  color: #c084fc;
}
.code-window .c-str {
  color: #6ee7b7;
}
.code-window .c-fn {
  color: #60a5fa;
}
.code-window .c-com {
  color: #64748b;
}

.float-tag {
  position: absolute;
  background: var(--white);
  color: var(--dark);
  border-radius: 12px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  animation: float 4s ease-in-out infinite;
}

.float-tag .ico {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--bg-soft);
  display: grid;
  place-items: center;
  font-size: 16px;
}

.float-tag.t1 {
  top: -22px;
  right: 10px;
}
.float-tag.t2 {
  bottom: -22px;
  left: -16px;
  animation-delay: 1.5s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

/* ============================= Logos / 信任 ============================= */
.trust {
  padding: 44px 0;
  border-bottom: 1px solid var(--border);
}

.trust p {
  text-align: center;
  color: var(--gray-light);
  font-size: 14px;
  margin-bottom: 22px;
  letter-spacing: 1px;
}

.trust-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
  opacity: 0.7;
}

.trust-logos span {
  font-size: 20px;
  font-weight: 800;
  color: var(--gray);
  letter-spacing: 1px;
}

/* ============================= 卡片网格 ============================= */
.grid {
  display: grid;
  gap: 24px;
}

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

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

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.card .icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--gradient);
  display: grid;
  place-items: center;
  font-size: 26px;
  margin-bottom: 20px;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.25);
}

.card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

.card p {
  color: var(--gray);
  font-size: 15px;
}

.card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  color: var(--primary);
  font-weight: 600;
  font-size: 14px;
}

.card .card-link:hover {
  gap: 10px;
}

/* ============================= 优势 / 特征 ============================= */
.feature-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.feature-split .visual {
  border-radius: var(--radius);
  background: var(--gradient-dark);
  min-height: 380px;
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  color: var(--white);
}

.feature-split .visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    circle at 70% 30%,
    rgba(6, 182, 212, 0.4),
    transparent 50%
  );
}

.orbit {
  position: relative;
  width: 220px;
  height: 220px;
  z-index: 2;
}

.orbit .core {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 84px;
  height: 84px;
  border-radius: 22px;
  background: var(--white);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-size: 34px;
  font-weight: 800;
  box-shadow: 0 0 40px rgba(255, 255, 255, 0.5);
}

.orbit .ring {
  position: absolute;
  inset: 0;
  border: 1.5px dashed rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  animation: spin 18s linear infinite;
}

.orbit .ring i {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-size: 16px;
  font-style: normal;
}

.orbit .ring.r2 {
  inset: 30px;
  animation-duration: 12s;
  animation-direction: reverse;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 30px;
}

.feature-list .item {
  display: flex;
  gap: 16px;
}

.feature-list .item .num {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--bg-soft);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 18px;
}

.feature-list .item h4 {
  font-size: 17px;
  margin-bottom: 4px;
}

.feature-list .item p {
  color: var(--gray);
  font-size: 15px;
}

/* ============================= 数据条 ============================= */
.stats-band {
  background: var(--gradient-dark);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.stats-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    circle at 50% 0%,
    rgba(6, 182, 212, 0.25),
    transparent 55%
  );
}

.stats-band .grid {
  position: relative;
  z-index: 2;
  text-align: center;
}

.stats-band .stat strong {
  display: block;
  font-size: clamp(34px, 5vw, 48px);
  font-weight: 800;
  background: linear-gradient(90deg, #38bdf8, #818cf8);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stats-band .stat span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
}

/* ============================= 流程 ============================= */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}

.step {
  position: relative;
  padding-top: 16px;
}

.step .badge {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--white);
  border: 2px solid var(--border);
  display: grid;
  place-items: center;
  font-size: 22px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 18px;
  position: relative;
  z-index: 2;
}

.step h4 {
  font-size: 18px;
  margin-bottom: 8px;
}

.step p {
  color: var(--gray);
  font-size: 15px;
}

.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 42px;
  left: 60px;
  right: -12px;
  height: 2px;
  background: linear-gradient(90deg, var(--border), transparent);
}

/* ============================= CTA ============================= */
.cta {
  position: relative;
  border-radius: 28px;
  background: var(--gradient);
  color: var(--white);
  padding: 64px;
  text-align: center;
  overflow: hidden;
}

.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
      circle at 15% 20%,
      rgba(255, 255, 255, 0.18),
      transparent 40%
    ),
    radial-gradient(circle at 85% 80%, rgba(255, 255, 255, 0.12), transparent 45%);
}

.cta-inner {
  position: relative;
  z-index: 2;
}

.cta h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  margin-bottom: 14px;
}

.cta p {
  font-size: 18px;
  opacity: 0.92;
  margin-bottom: 30px;
}

.cta .btn-primary {
  background: var(--white);
  color: var(--primary);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

/* ============================= 页脚 ============================= */
.footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 72px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer .logo {
  color: var(--white);
  margin-bottom: 18px;
}

.footer-about p {
  font-size: 14.5px;
  max-width: 320px;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  display: grid;
  place-items: center;
  font-size: 18px;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

.footer-col h5 {
  color: var(--white);
  font-size: 16px;
  margin-bottom: 18px;
}

.footer-col ul li {
  margin-bottom: 11px;
}

.footer-col ul li a {
  font-size: 14.5px;
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: var(--accent);
  padding-left: 4px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 13.5px;
  color: var(--gray-light);
  flex-wrap: wrap;
  gap: 10px;
}

.footer-bottom a:hover {
  color: var(--accent);
}

/* ============================= 页面头部 banner ============================= */
.page-hero {
  background: var(--gradient-dark);
  color: var(--white);
  padding: 150px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    circle at 50% 0%,
    rgba(6, 182, 212, 0.3),
    transparent 55%
  );
}

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

.page-hero h1 {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  margin-bottom: 16px;
}

.page-hero p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.8);
  max-width: 640px;
  margin: 0 auto;
}

.breadcrumb {
  display: inline-flex;
  gap: 8px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 18px;
}

.breadcrumb a:hover {
  color: var(--white);
}

/* ============================= 关于页 ============================= */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.about-intro .text h2 {
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 800;
  margin-bottom: 20px;
}

.about-intro .text p {
  color: var(--gray);
  margin-bottom: 16px;
  font-size: 16px;
}

.about-img {
  border-radius: var(--radius);
  background: var(--gradient-dark);
  min-height: 360px;
  display: grid;
  place-items: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.about-img .big-q {
  font-size: 160px;
  font-weight: 900;
  opacity: 0.15;
}

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

.value-card {
  text-align: center;
  padding: 36px 28px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.value-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.value-card .icon {
  margin: 0 auto 18px;
}

.timeline {
  max-width: 760px;
  margin: 0 auto;
  position: relative;
  padding-left: 40px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--border);
}

.timeline .tl-item {
  position: relative;
  padding-bottom: 36px;
}

.timeline .tl-item::before {
  content: "";
  position: absolute;
  left: -34px;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--primary);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 3px var(--bg-soft);
}

.timeline .tl-item .year {
  font-weight: 800;
  color: var(--primary);
  font-size: 18px;
}

.timeline .tl-item h4 {
  margin: 4px 0 6px;
  font-size: 18px;
}

.timeline .tl-item p {
  color: var(--gray);
  font-size: 15px;
}

/* ============================= 服务页 ============================= */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 80px;
}

.service-detail:nth-child(even) .visual {
  order: 2;
}

.service-detail .visual {
  border-radius: var(--radius);
  background: var(--bg-soft);
  min-height: 320px;
  display: grid;
  place-items: center;
  font-size: 96px;
}

.service-detail h3 {
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 14px;
}

.service-detail p {
  color: var(--gray);
  margin-bottom: 20px;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 15.5px;
}

.check-list li::before {
  content: "✓";
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--bg-soft);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 13px;
}

/* ============================= 案例页 ============================= */
.case-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--white);
  transition: var(--transition);
}

.case-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.case-card .thumb {
  height: 200px;
  display: grid;
  place-items: center;
  font-size: 64px;
  color: var(--white);
  background: var(--gradient);
}

.case-card:nth-child(2) .thumb {
  background: linear-gradient(135deg, #7c3aed, #ec4899);
}
.case-card:nth-child(3) .thumb {
  background: linear-gradient(135deg, #0891b2, #22c55e);
}
.case-card:nth-child(4) .thumb {
  background: linear-gradient(135deg, #ea580c, #facc15);
}
.case-card:nth-child(5) .thumb {
  background: linear-gradient(135deg, #2563eb, #06b6d4);
}
.case-card:nth-child(6) .thumb {
  background: linear-gradient(135deg, #db2777, #8b5cf6);
}

.case-card .body {
  padding: 26px;
}

.case-card .tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  background: var(--bg-soft);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.case-card h3 {
  font-size: 19px;
  margin-bottom: 10px;
}

.case-card p {
  color: var(--gray);
  font-size: 14.5px;
}

/* ============================= 联系页 ============================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
}

.contact-info .info-item {
  display: flex;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
}

.contact-info .info-item:last-child {
  border-bottom: none;
}

.contact-info .info-item .ico {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--gradient);
  color: var(--white);
  display: grid;
  place-items: center;
  font-size: 22px;
}

.contact-info .info-item h4 {
  font-size: 16px;
  margin-bottom: 4px;
}

.contact-info .info-item p {
  color: var(--gray);
  font-size: 15px;
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

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

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: inherit;
  transition: var(--transition);
  background: var(--bg-light);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

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

.form-note {
  font-size: 13px;
  color: var(--gray-light);
  margin-top: 14px;
  text-align: center;
}

.form-success {
  display: none;
  background: #dcfce7;
  color: #15803d;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  font-weight: 600;
  margin-bottom: 20px;
}

.form-success.show {
  display: block;
}

.map-box {
  margin-top: 56px;
  border-radius: var(--radius);
  overflow: hidden;
  height: 320px;
  background: var(--bg-soft);
  display: grid;
  place-items: center;
  color: var(--gray);
  border: 1px solid var(--border);
  position: relative;
}

.faq {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
  overflow: hidden;
  background: var(--white);
}

.faq-q {
  padding: 20px 24px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

.faq-q:hover {
  color: var(--primary);
}

.faq-q .plus {
  font-size: 22px;
  transition: var(--transition);
  color: var(--primary);
}

.faq-item.open .faq-q .plus {
  transform: rotate(45deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-a p {
  padding: 0 24px 20px;
  color: var(--gray);
  font-size: 15px;
}

/* ============================= 滚动动画 ============================= */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================= 响应式 ============================= */
@media (max-width: 992px) {
  .hero-inner,
  .feature-split,
  .about-intro,
  .service-detail,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .service-detail:nth-child(even) .visual {
    order: 0;
  }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .step:not(:last-child)::after {
    display: none;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero-visual {
    display: none;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 64px 0;
  }
  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    background: var(--white);
    padding: 16px 24px;
    gap: 4px;
    box-shadow: var(--shadow);
    transform: translateY(-150%);
    transition: var(--transition);
    border-bottom: 1px solid var(--border);
  }
  .nav-links.open {
    transform: translateY(0);
  }
  .nav-links a {
    padding: 14px 16px;
  }
  .nav-toggle {
    display: flex;
  }
  .nav-cta .btn {
    display: none;
  }
  .grid-3,
  .grid-2,
  .grid-4,
  .values,
  .steps {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .cta {
    padding: 44px 24px;
  }
  .hero-stats {
    gap: 24px;
  }
}
