/* ============ 基础 ============ */
:root {
  --bg: #f4f8fd;
  --bg-alt: #eaf2fb;
  --surface: #ffffff;
  --border: rgba(30, 90, 180, 0.12);
  --text: #12233d;
  --text-dim: #5b6b84;
  --primary: #2563eb;
  --accent: #0ea5e9;
  --grad: linear-gradient(135deg, #2563eb 0%, #0ea5e9 100%);
  --shadow: 0 10px 30px rgba(37, 99, 235, 0.08);
}

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

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

/* ============ 导航 ============ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(244, 248, 253, 0.85);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
}

.logo-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--grad);
  font-size: 18px;
  color: #fff;
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.3);
}

.nav-links {
  display: flex;
  gap: 28px;
  font-size: 15px;
  color: var(--text-dim);
}

.nav-links a {
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-cta {
  padding: 9px 20px;
  border-radius: 10px;
  background: var(--grad);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition: transform 0.2s, box-shadow 0.2s;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(37, 99, 235, 0.4);
}

/* ============ Hero ============ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 120px 20px 80px;
  text-align: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(244, 248, 253, 0.92) 0%,
    rgba(244, 248, 253, 0.82) 40%,
    rgba(244, 248, 253, 0.65) 100%
  );
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.35;
}

.orb-1 {
  width: 420px;
  height: 420px;
  background: #93c5fd;
  top: -80px;
  left: -80px;
}

.orb-2 {
  width: 380px;
  height: 380px;
  background: #7dd3fc;
  bottom: -60px;
  right: -60px;
  opacity: 0.3;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.hero-tag {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 28px;
}

.hero-title {
  font-size: 58px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 24px;
}

.hero-title em {
  font-style: normal;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  font-size: 18px;
  color: var(--text-dim);
  max-width: 560px;
  margin: 0 auto 36px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

.btn {
  padding: 14px 32px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 8px 30px rgba(37, 99, 235, 0.3);
}

.btn-ghost {
  border: 1px solid var(--border);
  color: var(--text);
  background: rgba(255, 255, 255, 0.7);
}

.btn-ghost:hover {
  border-color: rgba(37, 99, 235, 0.35);
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 64px;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-num {
  font-size: 34px;
  font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: 14px;
  color: var(--text-dim);
  margin-top: 4px;
}

/* ============ 通用 Section ============ */
.section {
  padding: 100px 20px;
}

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

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

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.section-head h2 {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 14px;
}

.section-desc {
  font-size: 16px;
  color: var(--text-dim);
}

/* ============ 服务卡片 ============ */
.grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 0 0 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(37, 99, 235, 0.4);
  box-shadow: 0 20px 44px rgba(37, 99, 235, 0.14);
}

.card-img {
  height: 180px;
  overflow: hidden;
}

.card-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  display: block;
  transition: transform 0.4s;
}

.card:hover .card-photo {
  transform: scale(1.05);
}

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

.card p {
  font-size: 15px;
  color: var(--text-dim);
  margin: 0 24px;
}

/* ============ 案例卡片 ============ */
.grid-cases {
  grid-template-columns: repeat(3, 1fr);
}

.case-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s, border-color 0.25s;
}

.case-card:hover {
  transform: translateY(-6px);
  border-color: rgba(14, 165, 233, 0.5);
}

.case-cover {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.case-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  display: block;
  transition: transform 0.4s;
}

.case-card:hover .case-img {
  transform: scale(1.05);
}

.case-body {
  padding: 24px;
}

.case-tag {
  display: inline-block;
  font-size: 12px;
  color: var(--accent);
  margin-bottom: 10px;
}

.case-body h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.case-body p {
  font-size: 14px;
  color: var(--text-dim);
}

/* ============ 流程 ============ */
.steps {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.step {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 0 0 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.step-img {
  height: 160px;
  overflow: hidden;
  margin-bottom: 20px;
}

.step-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  display: block;
  transition: transform 0.4s;
}

.step:hover .step-photo {
  transform: scale(1.05);
}

.step-num {
  font-size: 40px;
  font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0.7;
  display: block;
  margin: 0 24px 10px;
}

.step h3 {
  font-size: 19px;
  font-weight: 700;
  margin: 0 24px 10px;
}

.step p {
  font-size: 14px;
  color: var(--text-dim);
  margin: 0 24px;
}

/* ============ 关于 ============ */
.about-wrap {
  max-width: 720px;
  margin: 0 auto 60px;
  text-align: center;
}

.about-img {
  max-width: 720px;
  margin: 0 auto 40px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.about-photo {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center 30%;
}

.about-lead {
  font-size: 17px;
  color: var(--text-dim);
  margin-bottom: 20px;
}

.about-quote {
  font-size: 24px;
  font-weight: 700;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 32px 0;
}

.about-stats {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 64px;
}

/* ============ 联系 ============ */
.contact {
  position: relative;
  overflow: hidden;
}

.contact-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.contact h2 {
  font-size: 38px;
  font-weight: 800;
  margin-bottom: 16px;
}

.contact-sub {
  font-size: 16px;
  color: var(--text-dim);
  margin-bottom: 48px;
}

.contact-cards {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 32px 40px;
  min-width: 240px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow);
  transition: transform 0.25s, border-color 0.25s;
}

.contact-card:hover {
  transform: translateY(-4px);
  border-color: rgba(37, 99, 235, 0.5);
}

.contact-icon {
  font-size: 28px;
  color: var(--primary);
  margin-bottom: 8px;
}

.contact-label {
  font-size: 13px;
  color: var(--text-dim);
}

.contact-value {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 1px;
}

/* ============ 页脚 ============ */
.footer {
  border-top: 1px solid var(--border);
  padding: 48px 20px;
  text-align: center;
}

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 12px;
  font-weight: 700;
  font-size: 18px;
}

.footer-note {
  font-size: 14px;
  color: var(--text-dim);
  margin-bottom: 6px;
}

.footer-copy {
  font-size: 13px;
  color: rgba(91, 107, 132, 0.7);
}

/* 备案信息 */
.footer-beian {
  margin-top: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.beian-link {
  font-size: 13px;
  color: var(--text-dim);
  transition: color 0.2s;
}

.beian-link:hover {
  color: var(--primary);
}

.beian-ga {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.beian-icon {
  width: 14px;
  height: 14px;
  object-fit: contain;
  display: block;
}

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

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

  .hero-title {
    font-size: 44px;
  }
}

@media (max-width: 600px) {
  .nav-inner {
    padding: 10px 16px;
  }

  .logo-text {
    font-size: 16px;
  }

  .logo-mark {
    width: 30px;
    height: 30px;
    font-size: 16px;
    border-radius: 8px;
  }

  .nav-links {
    display: none;
  }

  .nav-cta {
    padding: 8px 16px;
    font-size: 13px;
  }

  .hero {
    padding: 96px 20px 56px;
    min-height: 100svh;
  }

  .hero-title {
    font-size: 32px;
    letter-spacing: -0.5px;
  }

  .hero-tag {
    font-size: 12px;
    padding: 7px 14px;
    margin-bottom: 20px;
  }

  .hero-sub {
    font-size: 15px;
    line-height: 1.7;
  }

  .br-desktop {
    display: none;
  }

  .hero-actions {
    gap: 12px;
    margin-bottom: 44px;
  }

  .btn {
    padding: 13px 26px;
    font-size: 15px;
  }

  .hero-stats {
    gap: 24px;
  }

  .stat-num {
    font-size: 24px;
  }

  .stat-label {
    font-size: 12px;
  }

  .section {
    padding: 56px 16px;
  }

  .section-head {
    margin-bottom: 40px;
  }

  .section-head h2,
  .contact h2 {
    font-size: 26px;
  }

  .card-img {
    height: 150px;
  }

  .step-img {
    height: 140px;
  }

  .grid,
  .grid-cases {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .about-stats {
    gap: 24px;
  }

  .about-quote {
    font-size: 19px;
  }

  .about-img {
    margin-bottom: 28px;
  }

  .contact-card {
    padding: 28px 32px;
    min-width: 0;
    width: 100%;
    max-width: 320px;
  }

  .footer {
    padding: 40px 16px;
  }
}
