* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  background: #f0f7ff;
  color: #1e293b;
  line-height: 1.7;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px;
}

/* 顶栏 */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(59, 130, 246, 0.12);
  box-shadow: 0 4px 20px rgba(29, 78, 216, 0.06);
}

.header-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.site-logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1d4ed8;
  text-decoration: none;
  letter-spacing: 0.5px;
}

.site-logo span {
  color: #64748b;
  font-weight: 500;
  font-size: 0.85rem;
  margin-left: 8px;
}

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn:focus-visible {
  outline: 3px solid rgba(59, 130, 246, 0.5);
  outline-offset: 2px;
}

.btn-primary {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  color: white;
  box-shadow: 0 8px 24px rgba(29, 78, 216, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(29, 78, 216, 0.45);
}

.btn-header {
  padding: 10px 20px;
  font-size: 0.9rem;
}

.btn-white {
  background: white;
  color: #1d4ed8;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.btn-lg {
  padding: 16px 40px;
  font-size: 1.1rem;
  margin-top: 28px;
}

/* 鸭子客服图标 */
.contact-duck {
  display: inline-block;
  line-height: 0;
  text-decoration: none;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.contact-duck:hover {
  transform: scale(1.08);
}

.contact-duck:focus-visible {
  outline: 3px solid rgba(59, 130, 246, 0.5);
  outline-offset: 3px;
  border-radius: 18px;
}

.contact-duck img {
  display: block !important;
  object-fit: contain;
  border-radius: 18px;
}

.contact-duck--sm img { width: 44px; height: 44px; }
.contact-duck--lg img { width: 72px; height: 72px; }

.highlight-text {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1d4ed8;
  margin-bottom: 16px;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, #1d4ed8 0%, #3b82f6 50%, #60a5fa 100%);
  color: white;
  padding: 72px 0 56px;
  text-align: center;
}

.hero-title {
  font-size: 2.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.hero-subtitle {
  margin-top: 16px;
  font-size: 1.15rem;
  opacity: 0.92;
  font-weight: 400;
  letter-spacing: 0.5px;
}

.core-selling {
  background: white;
  max-width: 820px;
  margin: -30px auto 0;
  border-radius: 20px;
  padding: 36px 40px;
  box-shadow: 0 20px 50px -12px rgba(29, 78, 216, 0.25);
  text-align: center;
  position: relative;
  z-index: 10;
}

.core-selling h2 {
  font-size: 1.5rem;
  color: #1d4ed8;
  margin-bottom: 20px;
  font-weight: 600;
}

.core-selling ul {
  list-style: none;
  margin-bottom: 22px;
}

.core-selling li {
  font-size: 1.15rem;
  color: #334155;
  margin: 10px 0;
  font-weight: 500;
}

.core-selling .final {
  font-size: 1.25rem;
  color: #1d4ed8;
  font-weight: 600;
  margin-top: 8px;
}

section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  font-size: 1.8rem;
  font-weight: 600;
  color: #1d4ed8;
  margin-bottom: 50px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.process-card {
  background: white;
  border-radius: 18px;
  padding: 32px 24px;
  box-shadow: 0 10px 30px -8px rgba(29, 78, 216, 0.12);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(59, 130, 246, 0.1);
}

.process-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px -10px rgba(29, 78, 216, 0.2);
}

.process-num {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 600;
  margin: 0 auto 20px;
  box-shadow: 0 8px 20px rgba(29, 78, 216, 0.3);
}

.process-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: #1d4ed8;
}

.process-card p {
  color: #64748b;
  font-size: 0.95rem;
}

.services {
  background: linear-gradient(180deg, #eff6ff 0%, #f0f7ff 100%);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.service-card {
  background: white;
  border-radius: 18px;
  padding: 30px 26px;
  box-shadow: 0 8px 25px -6px rgba(29, 78, 216, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(59, 130, 246, 0.08);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 35px -8px rgba(29, 78, 216, 0.18);
}

.service-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 14px;
}

.service-card h3 {
  font-size: 1.15rem;
  color: #1d4ed8;
  margin-bottom: 12px;
}

.service-card p {
  color: #475569;
  font-size: 0.95rem;
}

.highlight {
  text-align: center;
  padding: 28px 0 0;
}

#services {
  padding-bottom: 20px;
}

#custom {
  padding-top: 20px;
}

.custom-box {
  background: linear-gradient(135deg, #1d4ed8, #3b82f6);
  border-radius: 24px;
  padding: 70px 40px;
  text-align: center;
  color: white;
  box-shadow: 0 20px 50px -15px rgba(29, 78, 216, 0.4);
}

.custom-box h2 {
  font-size: 2.2rem;
  margin-bottom: 16px;
  font-weight: 700;
}

.custom-box p {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  line-height: 1.5;
  margin-bottom: 28px;
  opacity: 0.95;
}

/* 悬浮客服 */
.float-contact {
  position: fixed;
  right: 24px;
  bottom: 30px;
  z-index: 100;
}

.float-contact a {
  display: block;
  line-height: 0;
  transition: transform 0.3s ease;
}

.float-contact a:hover {
  transform: scale(1.08);
}

.float-contact img {
  display: block !important;
  width: 80px;
  height: 80px;
  object-fit: contain;
  border-radius: 20px;
}

footer {
  text-align: center;
  padding: 35px 0 100px;
  color: #94a3b8;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .site-logo span { display: none; }
  .hero { padding: 56px 0 44px; }
  .hero-title { font-size: 1.8rem; letter-spacing: 1px; }
  .hero-subtitle { font-size: 1rem; padding: 0 8px; }
  .core-selling { margin: -20px 16px 0; padding: 28px 20px; }
  .custom-box { padding: 48px 24px; }
  .custom-box h2 { font-size: 1.7rem; }
  .custom-box p { font-size: 1.2rem; }
  .float-contact { right: 16px; bottom: 24px; }
  .contact-duck--lg img { width: 64px; height: 64px; }
  .float-contact img { width: 72px; height: 72px; }
}
