:root {
  --emerald-50: #ecfdf5;
  --emerald-100: #d1fae5;
  --emerald-200: #a7f3d0;
  --emerald-500: #10b981;
  --emerald-600: #059669;
  --emerald-700: #047857;
  --teal-50: #f0fdfa;
  --teal-500: #14b8a6;
  --teal-600: #0d9488;
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-900: #0f172a;
  --slate-950: #020617;
  --gradient-primary: linear-gradient(135deg, #10b981 0%, #14b8a6 100%);
  --gradient-hero: linear-gradient(to bottom right, rgba(236, 253, 245, 0.6), #fff, #fff);
  --gradient-text: linear-gradient(to right, #10b981, #14b8a6);
  --shadow-emerald: 0 8px 24px rgba(16, 185, 129, 0.25);
  --shadow-card: 0 4px 20px -4px rgba(0, 0, 0, 0.05);
  --shadow-elevated: 0 8px 30px -6px rgba(0, 0, 0, 0.08);
  --max: 1152px;
  --font: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", ui-sans-serif, system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--slate-900);
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  width: min(100% - 48px, var(--max));
  margin: 0 auto;
}

/* ── Navbar ── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background 0.5s, box-shadow 0.5s;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.03);
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 80px;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-self: start;
  min-width: 0;
}

.logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.2);
  transition: box-shadow 0.3s;
  flex-shrink: 0;
}

.brand:hover .logo-mark {
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.3);
}

.logo-mark svg {
  width: 20px;
  height: 20px;
  color: #fff;
}

.brand-name {
  font-size: 18px;
  font-weight: 600;
  color: var(--slate-900);
}

.nav {
  display: flex;
  align-items: center;
  gap: 40px;
  justify-self: center;
}

.nav a {
  display: inline-flex;
  align-items: center;
  height: 40px;
  position: relative;
  font-size: 14px;
  line-height: 1;
  color: var(--slate-500);
  transition: color 0.2s;
}

.nav a:hover { color: var(--slate-900); }

.nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--emerald-500);
  transition: width 0.3s;
}

.nav a:hover::after { width: 100%; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-self: end;
  flex-shrink: 0;
}

.btn-ghost-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 16px;
  border: none;
  border-radius: 999px;
  background: transparent;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  color: var(--slate-600);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  flex-shrink: 0;
}

.btn-ghost-nav:hover {
  background: rgba(241, 245, 249, 0.5);
  color: var(--slate-900);
}

.btn-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--slate-900);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  flex-shrink: 0;
}

.btn-dark:hover { background: #1e293b; }

.menu-toggle {
  display: none;
  justify-self: end;
  padding: 8px;
  border: none;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  color: var(--slate-600);
}

.mobile-menu {
  display: none !important;
  background: #fff;
  border-top: 1px solid var(--slate-100);
  padding: 16px 0 20px;
}

.mobile-menu.open { display: block !important; }

.mobile-menu a {
  display: block;
  padding: 12px 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--slate-600);
}

.mobile-menu-actions {
  display: flex;
  gap: 12px;
  padding-top: 16px;
}

.btn-ghost-nav-outline {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--slate-200) !important;
}

.mobile-menu-actions .btn-ghost-nav,
.mobile-menu-actions .btn-dark {
  flex: 1;
  height: 44px;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.2s;
  white-space: nowrap;
}

.btn-primary {
  height: 56px;
  padding: 0 32px;
  border-radius: 999px;
  background: var(--gradient-primary);
  color: #fff;
  font-size: 16px;
  box-shadow: var(--shadow-emerald);
}

.btn-primary:hover {
  background: linear-gradient(to right, #059669, #0d9488);
  box-shadow: 0 12px 32px rgba(16, 185, 129, 0.4);
}

.btn-primary .arrow {
  transition: transform 0.2s;
}

.btn-primary:hover .arrow {
  transform: translateX(4px);
}

.btn-outline {
  height: 56px;
  padding: 0 32px;
  border-radius: 999px;
  background: #fff;
  color: var(--slate-700);
  font-size: 16px;
  border: 2px solid var(--slate-200);
}

.btn-outline:hover {
  background: var(--slate-50);
  border-color: var(--slate-200);
}

.btn-white {
  height: 56px;
  padding: 0 32px;
  border-radius: 999px;
  background: #fff;
  color: var(--emerald-600);
  font-size: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.btn-white:hover { background: var(--emerald-50); }

.btn-outline-white {
  height: 56px;
  padding: 0 32px;
  border-radius: 999px;
  background: transparent;
  color: #fff;
  font-size: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline-white:hover { background: rgba(255, 255, 255, 0.1); }

/* ── Hero ── */
.hero {
  position: relative;
  overflow: hidden;
  padding: 128px 0 96px;
  text-align: center;
}

@media (min-width: 1024px) {
  .hero { padding: 160px 0 128px; }
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
  pointer-events: none;
}

.hero-orb-a {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  height: 800px;
  background: linear-gradient(to bottom, rgba(209, 250, 229, 0.4), transparent);
  border-radius: 50%;
  filter: blur(64px);
  pointer-events: none;
}

.hero-orb-b {
  position: absolute;
  top: 160px;
  right: 80px;
  width: 256px;
  height: 256px;
  background: linear-gradient(to bottom right, rgba(153, 246, 228, 0.3), rgba(167, 243, 208, 0.2));
  border-radius: 50%;
  filter: blur(32px);
  pointer-events: none;
}

.hero-orb-c {
  position: absolute;
  bottom: 160px;
  left: 80px;
  width: 192px;
  height: 192px;
  background: linear-gradient(to top right, rgba(167, 243, 208, 0.2), rgba(153, 246, 228, 0.3));
  border-radius: 50%;
  filter: blur(32px);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 768px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(167, 243, 208, 0.5);
  color: var(--emerald-700);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 32px;
  box-shadow: var(--shadow-card);
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald-500);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.hero-title {
  margin: 0;
  font-size: clamp(40px, 7vw, 72px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--slate-900);
}

.hero-accent {
  display: block;
  margin-top: 8px;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  margin: 24px auto 0;
  max-width: 576px;
  font-size: 18px;
  color: var(--slate-500);
  line-height: 1.75;
}

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

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 80px;
}

.stat-num {
  font-size: 36px;
  font-weight: 700;
  color: var(--slate-900);
}

.stat-label {
  margin-top: 8px;
  font-size: 14px;
  color: var(--slate-400);
}

/* ── Trust ── */
.trust-section {
  padding: 48px 0;
  background: #fff;
  border-top: 1px solid var(--slate-100);
  border-bottom: 1px solid var(--slate-100);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 48px 48px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.trust-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--emerald-50);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--emerald-500);
  flex-shrink: 0;
}

.trust-icon svg {
  width: 16px;
  height: 16px;
}

.trust-item span {
  font-size: 14px;
  font-weight: 500;
  color: var(--slate-700);
}

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

.section-muted {
  background: rgba(248, 250, 252, 0.5);
}

.section-head {
  text-align: center;
  margin-bottom: 64px;
}

.section-tag {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  background: var(--emerald-50);
  color: var(--emerald-700);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--slate-900);
}

.section-head p {
  margin: 16px auto 0;
  max-width: 512px;
  font-size: 16px;
  color: var(--slate-500);
}

/* ── Services ── */
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.service-card {
  padding: 24px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--slate-100);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
  border-color: var(--emerald-200);
  box-shadow: 0 8px 32px rgba(16, 185, 129, 0.05);
  transform: translateY(-2px);
}

.service-top {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-bottom: 16px;
}

.service-arrow {
  width: 16px;
  height: 16px;
  color: var(--slate-300);
  transition: color 0.3s;
}

.service-card:hover .service-arrow {
  color: var(--emerald-500);
}

.service-card:hover h3 {
  color: var(--emerald-600);
}

.service-card h3 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  transition: color 0.3s;
}

.service-card p {
  margin: 0 0 24px;
  font-size: 14px;
  color: var(--slate-400);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 44px;
}

.service-price-row {
  padding-top: 16px;
  border-top: 1px solid var(--slate-100);
}

.service-price {
  font-size: 24px;
  font-weight: 700;
  color: var(--slate-900);
}

.service-price-suffix {
  font-size: 14px;
  color: var(--slate-400);
  font-weight: 400;
}

.service-subfee {
  margin-top: 4px;
  font-size: 14px;
  color: var(--slate-400);
}

/* ── Platform ── */
.platform-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.platform-card {
  padding: 32px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--slate-100);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.platform-card:hover {
  border-color: var(--emerald-200);
  box-shadow: 0 8px 32px rgba(16, 185, 129, 0.05);
}

.platform-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
}

.platform-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(to bottom right, var(--emerald-50), var(--teal-50));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--emerald-600);
  transition: background 0.3s;
}

.platform-card:hover .platform-icon {
  background: linear-gradient(to bottom right, var(--emerald-100), var(--teal-50));
}

.platform-icon svg {
  width: 24px;
  height: 24px;
}

.platform-tag {
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--slate-100);
  color: var(--slate-600);
  font-size: 12px;
  font-weight: 500;
}

.platform-card h3 {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 600;
}

.platform-card p {
  margin: 0 0 24px;
  font-size: 15px;
  color: var(--slate-500);
  line-height: 1.65;
}

.platform-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 600;
  color: var(--emerald-600);
  transition: color 0.2s;
}

.platform-link:hover { color: var(--emerald-700); }

.platform-link .arrow {
  transition: transform 0.2s;
}

.platform-link:hover .arrow {
  transform: translateX(4px);
}

/* ── Flow ── */
.flow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.flow-card {
  position: relative;
  padding: 32px 24px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--slate-100);
  text-align: center;
  transition: border-color 0.3s;
}

.flow-card:hover {
  border-color: var(--emerald-200);
}

.flow-card:not(:last-child)::after {
  content: '';
  display: none;
  position: absolute;
  top: 50%;
  right: -10px;
  width: 20px;
  height: 1px;
  background: var(--slate-200);
}

@media (min-width: 1024px) {
  .flow-card:not(:last-child)::after {
    display: block;
  }
}

.flow-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  border-radius: 12px;
  background: linear-gradient(to bottom right, var(--emerald-50), var(--teal-50));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--emerald-600);
  transition: background 0.3s;
}

.flow-card:hover .flow-icon {
  background: linear-gradient(to bottom right, var(--emerald-100), var(--teal-50));
}

.flow-icon svg {
  width: 24px;
  height: 24px;
}

.flow-card h4 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 600;
}

.flow-card p {
  margin: 0;
  font-size: 14px;
  color: var(--slate-400);
  line-height: 1.55;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 64px;
}

.about-card {
  padding: 32px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--slate-100);
}

.about-card h3 {
  margin: 0 0 16px;
  font-size: 16px;
  font-weight: 600;
}

.about-card p {
  margin: 0 0 20px;
  font-size: 15px;
  color: var(--slate-600);
  line-height: 1.75;
}

.about-card p strong {
  color: var(--slate-900);
  font-weight: 600;
}

.about-meta {
  display: grid;
  gap: 8px;
}

.about-meta-item {
  display: flex;
  gap: 16px;
  font-size: 14px;
}

.meta-label {
  flex-shrink: 0;
  width: 40px;
  color: var(--slate-400);
}

.meta-value {
  color: var(--slate-600);
}

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

.cap-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 14px;
  color: var(--slate-600);
  line-height: 1.55;
}

.cap-list li::before {
  content: '';
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34d399;
  margin-top: 8px;
}

/* ── CTA ── */
.cta {
  position: relative;
  overflow: hidden;
  padding: 96px 0;
  text-align: center;
}

.cta-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right, var(--emerald-500), var(--emerald-600), var(--teal-600));
  pointer-events: none;
}

.cta-orb-a {
  position: absolute;
  top: 0;
  right: 0;
  width: 500px;
  height: 500px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  filter: blur(64px);
  pointer-events: none;
}

.cta-orb-b {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  filter: blur(64px);
  pointer-events: none;
}

.cta-inner {
  position: relative;
  z-index: 1;
  max-width: 768px;
  margin: 0 auto;
}

.cta h2 {
  margin: 0;
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}

.cta p {
  margin: 16px 0 40px;
  font-size: 18px;
  color: #d1fae5;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

/* ── Footer ── */
.site-footer {
  padding: 64px 0;
  background: var(--slate-950);
}

.footer-row {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

@media (min-width: 768px) {
  .footer-row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.footer-brand-block {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand-text .brand-name {
  color: #fff;
  display: block;
}

.footer-sub {
  margin: 4px 0 0;
  font-size: 14px;
  color: var(--slate-400);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 40px 40px;
}

.footer-links a {
  font-size: 14px;
  color: var(--slate-400);
  transition: color 0.2s;
}

.footer-links a:hover { color: #fff; }

.footer-bottom {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid #1e293b;
  text-align: center;
  font-size: 14px;
  color: var(--slate-500);
  line-height: 1.7;
}

.footer-bottom p {
  margin: 0 0 6px;
}

.beian-link {
  color: var(--slate-500);
  text-decoration: none;
}

.beian-link:hover {
  color: #fff;
}

/* ── Responsive ── */
@media (min-width: 769px) {
  .mobile-menu {
    display: none !important;
  }

  .menu-toggle {
    display: none !important;
  }

  .nav,
  .header-actions {
    display: flex !important;
  }
}

@media (max-width: 1024px) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .flow-card::after { display: none !important; }
}

@media (max-width: 768px) {
  .header-inner {
    display: flex;
    justify-content: space-between;
  }

  .nav,
  .header-actions {
    display: none !important;
  }

  .menu-toggle {
    display: block !important;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .service-grid,
  .platform-grid,
  .flow-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .section { padding: 80px 0; }

  .trust-row {
    gap: 24px;
  }
}
