:root {
  --blue-900: #0c3d7a;
  --blue-700: #1a5fb4;
  --blue-500: #2563eb;
  --green-500: #10b981;
  --green-600: #059669;
  --text: #1e293b;
  --text-muted: #64748b;
  --bg: #ffffff;
  --bg-muted: #f4f7fb;
  --card-shadow: 0 8px 28px rgba(15, 50, 110, 0.08);
  --radius: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Microsoft YaHei", "PingFang SC", "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
}

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

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

section[id] {
  scroll-margin-top: 88px;
}

#top {
  scroll-margin-top: 88px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid #e8eef5;
  box-shadow: 0 2px 16px rgba(15, 40, 90, 0.06);
}

.nav-wrap {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  min-height: 72px;
  padding: 16px 0;
  box-sizing: border-box;
}

.brand-row {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  flex-shrink: 0;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  font-size: 15px;
  padding-bottom: 2px;
}

.brand {
  font-size: 26px;
  font-weight: 800;
  color: var(--green-500);
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.lang-select {
  font-size: 14px;
  line-height: 1.2;
  padding: 6px 28px 6px 10px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748b' d='M2 4l4 4 4-4'/%3E%3C/svg%3E") no-repeat right 8px center;
  color: #475569;
  cursor: pointer;
  appearance: none;
  max-width: 108px;
}

.lang-select:hover {
  border-color: #cbd5e1;
}

.lang-select:focus {
  outline: none;
  border-color: var(--blue-500);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.nav a {
  color: #475569;
  transition: color 0.2s ease;
}

.nav a:hover {
  color: var(--blue-500);
}

/* Hero：两侧偏亮、中间偏暗，缓慢波动 */
.hero {
  position: relative;
  overflow: hidden;
  padding: 56px 0 64px;
  background: linear-gradient(
    118deg,
    #4a9ef0 0%,
    #3b8eea 14%,
    #2d7ae8 28%,
    #0a3270 42%,
    #061f45 50%,
    #0a3270 58%,
    #2d7ae8 72%,
    #3b8eea 86%,
    #4a9ef0 100%
  );
  background-size: 220% 220%;
  animation: hero-gradient-flow 32s ease-in-out infinite;
  color: #fff;
}

@keyframes hero-gradient-flow {
  0%,
  100% {
    background-position: 15% 50%;
  }
  50% {
    background-position: 85% 50%;
  }
}

/* 波动光晕：左侧亮斑 + 中间暗斑 */
.hero-wave {
  position: absolute;
  inset: -12%;
  z-index: 0;
  pointer-events: none;
}

.hero-wave::before,
.hero-wave::after {
  content: "";
  position: absolute;
  border-radius: 45%;
  filter: blur(56px);
  will-change: transform, opacity;
}

/* 左侧高亮（衬托文字区对比） */
.hero-wave::before {
  width: 55%;
  height: 70%;
  left: -12%;
  top: -8%;
  background: radial-gradient(circle, rgba(147, 197, 253, 0.5) 0%, transparent 70%);
  opacity: 0.75;
  animation: hero-wave-light-left 28s ease-in-out infinite;
}

/* 中间暗区（覆盖标题与正文） */
.hero-wave::after {
  width: 62%;
  height: 88%;
  left: 38%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(
    ellipse 100% 100% at 50% 50%,
    rgba(4, 18, 42, 0.82) 0%,
    rgba(6, 28, 64, 0.45) 55%,
    transparent 78%
  );
  opacity: 0.92;
  animation: hero-wave-dark-center 30s ease-in-out infinite;
}

@keyframes hero-wave-light-left {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.65;
  }
  50% {
    transform: translate(8%, 6%) scale(1.1);
    opacity: 0.9;
  }
}

@keyframes hero-wave-dark-center {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.88;
  }
  50% {
    transform: translate(-48%, -52%) scale(1.06);
    opacity: 1;
  }
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(
    ellipse 48% 80% at 38% 50%,
    rgba(5, 22, 50, 0.55) 0%,
    rgba(5, 22, 50, 0.2) 50%,
    transparent 75%
  );
  background-size: 115% 115%;
  animation: hero-wave-center 26s ease-in-out infinite;
}

@keyframes hero-wave-center {
  0%,
  100% {
    background-position: 42% 50%;
    opacity: 1;
  }
  50% {
    background-position: 48% 50%;
    opacity: 0.82;
  }
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: start;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.25;
  font-weight: 800;
}

.tag {
  margin: 0 0 14px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.82);
}

.lead {
  margin: 18px 0 0;
  max-width: 640px;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.88);
  font-size: 15px;
}

.hero-actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-panel {
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 16px;
  padding: 22px 22px 18px;
  box-shadow: 0 12px 40px rgba(8, 30, 70, 0.2);
}

.hero-panel h3 {
  margin: 0 0 14px;
  font-size: 18px;
}

.check-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 12px;
  line-height: 1.75;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.92);
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--green-500);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: grid;
  place-items: center;
}

/* Buttons */
.btn {
  border: none;
  padding: 11px 22px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s ease;
  display: inline-block;
}

.btn-green {
  background: var(--green-500);
  color: #fff;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
}

.btn-green:hover {
  background: var(--green-600);
}

.btn-outline-light {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: #fff;
}

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

.btn-white {
  background: #fff;
  color: var(--blue-700);
}

.btn-white:hover {
  filter: brightness(0.97);
}

.btn-ghost-white {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #fff;
}

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

/* Sections */
.section {
  padding: 64px 0;
}

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

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

#services.section {
  padding-top: 48px;
  margin-top: 0;
}

.section-title {
  margin: 0 0 32px;
  text-align: center;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  color: var(--blue-900);
}

.grid {
  display: grid;
  gap: 20px;
}

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

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

.card {
  background: #fff;
  border: 1px solid #e8eef5;
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--card-shadow);
}

.card h3 {
  margin: 0 0 10px;
  font-size: 18px;
  color: var(--text);
}

.card p,
.card li {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.75;
  font-size: 14px;
}

.card-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 16px;
}

.card-icon-lg {
  width: 56px;
  height: 56px;
  font-size: 26px;
}

.card-icon-blue {
  background: linear-gradient(135deg, #dbeafe, #93c5fd);
  color: #1d4ed8;
}

.card-icon-orange {
  background: linear-gradient(135deg, #ffedd5, #fdba74);
  color: #c2410c;
}

.card-icon-indigo {
  background: linear-gradient(135deg, #e0e7ff, #a5b4fc);
  color: #4338ca;
}

.card-icon-sky {
  background: linear-gradient(135deg, #e0f2fe, #7dd3fc);
}

.card-icon-slate {
  background: linear-gradient(135deg, #f1f5f9, #cbd5e1);
}

.card-icon-teal {
  background: linear-gradient(135deg, #ccfbf1, #5eead4);
}

.card-icon-green {
  background: linear-gradient(135deg, #d1fae5, #6ee7b7);
  color: #047857;
}

.feature-card .card-icon {
  width: 72px;
  height: 56px;
  min-width: 72px;
  font-size: 17px;
  letter-spacing: 0.02em;
  border-radius: 14px;
}

.feature-card p {
  margin-top: 0;
}

/* App cards */
.app-card {
  display: flex;
  flex-direction: column;
}

.app-icon {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 36px;
  margin-bottom: 16px;
}

.app-icon-clock {
  background: linear-gradient(145deg, #dbeafe, #60a5fa);
}

.app-icon-grid {
  background: linear-gradient(145deg, #d1fae5, #34d399);
}

.app-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.app-top h3 {
  margin: 0;
  flex: 1;
}

.badge {
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #eff6ff;
  color: var(--blue-500);
  border: 1px solid #bfdbfe;
  white-space: nowrap;
}

.app-meta {
  margin: 14px 0 0;
  padding-left: 18px;
}

.app-meta li {
  margin-bottom: 6px;
}

/* Advantage cards */
.advantage-card ul {
  margin: 0;
  padding-left: 18px;
}

.advantage-card li {
  margin-bottom: 8px;
}

/* Process */
.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.step {
  background: #fff;
  border: 1px solid #e8eef5;
  border-radius: var(--radius);
  padding: 22px 18px;
  box-shadow: var(--card-shadow);
  text-align: center;
}

.step-num {
  display: inline-block;
  font-size: 28px;
  font-weight: 800;
  color: var(--green-500);
  margin-bottom: 10px;
}

.step h3 {
  margin: 0 0 8px;
  font-size: 17px;
}

.step p {
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
}

.about-text {
  margin: 0;
  line-height: 1.95;
  color: var(--text-muted);
  font-size: 15px;
}

.about-founder {
  margin: 40px auto 0;
  max-width: 720px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.founder-photo-wrap {
  width: min(220px, 56vw);
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #e8eef5;
  box-shadow: var(--card-shadow);
  flex-shrink: 0;
}

.founder-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
}

.founder-bio {
  margin: 22px 0 0;
  max-width: 640px;
  line-height: 1.95;
  color: var(--text-muted);
  font-size: 15px;
}

/* FAQ */
.faq-list {
  display: grid;
  gap: 12px;
  max-width: 900px;
  margin: 0 auto;
}

.faq-list details {
  background: #fff;
  border: 1px solid #e8eef5;
  border-radius: 10px;
  padding: 14px 18px;
  box-shadow: 0 2px 8px rgba(15, 50, 110, 0.04);
}

.faq-list summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--text);
  list-style: none;
}

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

.faq-list summary::before {
  content: "›";
  display: inline-block;
  margin-right: 8px;
  color: var(--green-500);
  font-weight: 700;
  transition: transform 0.2s ease;
}

.faq-list details[open] summary::before {
  transform: rotate(90deg);
}

.faq-list p {
  margin: 12px 0 4px;
  color: var(--text-muted);
  line-height: 1.8;
  font-size: 14px;
}

/* CTA banner */
.cta-banner {
  text-align: center;
  padding: 56px 0;
  background: linear-gradient(90deg, var(--green-500) 0%, var(--blue-500) 100%);
  color: #fff;
}

.cta-banner h2 {
  margin: 0 0 12px;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
}

.cta-banner p {
  margin: 0;
  opacity: 0.95;
  font-size: 15px;
}

.cta-row {
  margin-top: 24px;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.contact-qrcode-wrap {
  margin-top: 28px;
  scroll-margin-top: 88px;
}

.contact-qrcode {
  display: block;
  width: 350px;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  border-radius: 8px;
}

/* Footer */
.site-footer {
  padding: 28px 0 32px;
  background: #f8fafc;
  border-top: 1px solid #e8eef5;
  text-align: center;
}

.site-footer .container p {
  margin: 0 0 8px;
  font-size: 14px;
  color: var(--text-muted);
}

.site-footer .container p:last-child {
  margin-bottom: 0;
}

.beian-link {
  color: var(--text-muted);
  text-decoration-line: underline !important;
  text-decoration-color: var(--blue-500) !important;
  text-underline-offset: 3px;
}

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

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
}

.modal.open {
  display: block;
}

.modal-mask {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
}

.modal-panel {
  position: relative;
  width: min(520px, 92vw);
  margin: 8vh auto 0;
  background: #fff;
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 20px 50px rgba(15, 40, 90, 0.2);
}

.modal-panel h3 {
  margin: 0 0 8px;
  color: var(--text);
}

.modal-panel > p {
  margin: 0 0 16px;
  color: var(--text-muted);
  font-size: 14px;
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  border: 0;
  background: transparent;
  color: #94a3b8;
  font-size: 26px;
  cursor: pointer;
}

.contact-form {
  display: grid;
  gap: 12px;
}

.contact-form label {
  display: grid;
  gap: 6px;
  font-size: 14px;
  color: var(--text);
}

.contact-form .required-mark {
  color: #dc2626;
  margin-right: 2px;
  font-weight: 600;
}

.contact-form .label-text {
  line-height: 1.4;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  padding: 10px 12px;
  outline: none;
  font-family: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: var(--blue-500);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.contact-form-hint {
  margin: 0;
  font-size: 13px;
  color: var(--green-700, #15803d);
}

.contact-form-hint.is-error {
  color: #b91c1c;
}

/* Sales model */
.sales-lead {
  max-width: 100%;
  margin: -12px auto 28px;
  text-align: center;
  color: var(--text-muted);
  line-height: 1.8;
  font-size: clamp(12px, 1.2vw, 15px);
  white-space: nowrap;
}

@media (max-width: 960px) {
  .sales-lead {
    white-space: normal;
    max-width: 720px;
    font-size: 15px;
  }
}

.sales-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.sales-card {
  display: flex;
  flex-direction: column;
  padding: 20px 22px;
}

.sales-card > p:not(.sales-note) {
  margin: 0 0 10px;
  line-height: 1.7;
  font-size: 14px;
  color: var(--text-muted);
}

.sales-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.sales-type-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.sales-type-icon--retail {
  background: linear-gradient(135deg, #dbeafe, #93c5fd);
  color: #1d4ed8;
}

.sales-type-icon--agency {
  background: linear-gradient(135deg, #d1fae5, #6ee7b7);
  color: #047857;
}

.sales-card.sales-card--retail,
.sales-card.sales-card--agency {
  border: 2px solid #6ee7b7;
}

.sales-card.sales-card--retail {
  background: #fff;
  box-shadow: var(--card-shadow);
}

.sales-card.sales-card--agency {
  background: linear-gradient(180deg, #ffffff 0%, #f0fdf9 100%);
  box-shadow: 0 12px 32px rgba(5, 150, 105, 0.12);
}

.badge-recommend {
  background: #ecfdf5;
  color: #047857;
  border-color: #6ee7b7;
}

.sales-platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.sales-platform-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 88px;
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}

.sales-platform-jd {
  background: linear-gradient(135deg, #e1251b, #c81623);
}

.sales-platform-tb {
  background: linear-gradient(135deg, #ff6a00, #ff5000);
}

.sales-platform-dy {
  background: linear-gradient(135deg, #111827, #374151);
}

.sales-note {
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
}

.sales-discount {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 12px;
  padding: 12px 14px;
  border-radius: 10px;
  background: linear-gradient(135deg, #059669, #10b981);
  color: #fff;
}

.sales-discount-num {
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.sales-discount-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 13px;
  line-height: 1.45;
}

.sales-discount-text strong {
  font-size: 15px;
}

.sales-card--retail .sales-platforms {
  margin: 10px 0 8px;
}

.sales-card--retail .sales-note {
  margin-top: auto;
}

@media (max-width: 900px) {
  .nav {
    display: none;
  }

  .hero-inner,
  .cards-3,
  .cards-2,
  .sales-grid,
  .timeline {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero,
  .hero-wave,
  .hero-wave::before,
  .hero-wave::after,
  .hero::before {
    animation: none;
  }

  .hero {
    background-size: auto;
    background-position: center;
  }
}
