﻿/* ========================================
   伴游网 · 首页样式
   SaaS 官网风格 · 靛蓝主色 · 响应式
======================================== */

:root {
  --primary: #4f46e5;
  --primary-dark: #3730a3;
  --primary-soft: #eef2ff;
  --primary-mid: #6366f1;
  --text: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --border: #e2e8f0;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 48px rgba(79, 70, 229, 0.14);
  --radius: 20px;
  --radius-sm: 14px;
  --radius-lg: 28px;
  --container: 1120px;
  --header-h: 72px;
  --font: "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
p,
blockquote,
figure,
dl,
dd {
  margin: 0;
}

.mapllyxawcncontainer {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

/* ---------- Buttons ---------- */
.mapllyxawcnbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.mapllyxawcnbtn:hover {
  transform: translateY(-1px);
}

.mapllyxawcnbtn-sm {
  height: 40px;
  padding: 0 18px;
  font-size: 14px;
}

.mapllyxawcnbtn-lg {
  height: 52px;
  padding: 0 26px;
  font-size: 16px;
}

.mapllyxawcnbtn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 10px 24px rgba(79, 70, 229, 0.28);
}

.mapllyxawcnbtn-primary:hover {
  background: var(--primary-dark);
  box-shadow: 0 14px 28px rgba(79, 70, 229, 0.34);
}

.mapllyxawcnbtn-ghost {
  background: #fff;
  color: var(--text);
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.mapllyxawcnbtn-ghost:hover {
  border-color: #c7d2fe;
  color: var(--primary);
}

.mapllyxawcnbtn-white {
  background: #fff;
  color: var(--primary-dark);
  box-shadow: var(--shadow-md);
}

.mapllyxawcnbtn-white:hover {
  background: #f8fafc;
}

.mapllyxawcnbtn-outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}

.mapllyxawcnbtn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* ---------- Header ---------- */
.mapllyxawcnsite-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.mapllyxawcnheader-inner {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: env(safe-area-inset-top, 0);
}

.mapllyxawcnbrand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.mapllyxawcnbrand-mark {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: linear-gradient(145deg, #6366f1, #4338ca);
  box-shadow: 0 8px 18px rgba(79, 70, 229, 0.35);
  position: relative;
}

.mapllyxawcnbrand-mark::after {
  content: "";
  position: absolute;
  inset: 9px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-right-color: transparent;
  transform: rotate(-35deg);
}

.mapllyxawcnbrand-name {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--text);
}

.mapllyxawcnsite-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.mapllyxawcnsite-nav ul {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mapllyxawcnsite-nav a {
  color: var(--text-secondary);
  font-size: 15px;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 10px;
  transition: color 0.2s ease, background 0.2s ease;
}

.mapllyxawcnsite-nav ul a:hover {
  color: var(--primary);
  background: var(--primary-soft);
}

.mapllyxawcnnav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  padding: 0;
  cursor: pointer;
}

.mapllyxawcnnav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--text);
  border-radius: 2px;
}

/* ---------- Hero ---------- */
.mapllyxawcnhero {
  position: relative;
  padding: 72px 0 88px;
  overflow: hidden;
}

.mapllyxawcnhero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 85% 20%, rgba(99, 102, 241, 0.18), transparent 60%),
    radial-gradient(ellipse 50% 50% at 10% 80%, rgba(59, 130, 246, 0.12), transparent 55%),
    linear-gradient(180deg, #f8fafc 0%, #ffffff 55%, #ffffff 100%);
  z-index: 0;
}

.mapllyxawcnhero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.mapllyxawcneyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 14px;
}

.mapllyxawcneyebrow.mapllyxawcnlight {
  color: #c7d2fe;
}

.mapllyxawcnhero-copy h1 {
  font-size: clamp(48px, 7vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
  background: linear-gradient(120deg, #1e1b4b 20%, #4f46e5 70%, #2563eb 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.mapllyxawcnhero-lead {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 34em;
  margin-bottom: 28px;
}

.mapllyxawcnhero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}

.mapllyxawcnhero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 460px;
}

.mapllyxawcnhero-metrics > div {
  padding: 14px 0 0;
  border-top: 1px solid var(--border);
}

.mapllyxawcnhero-metrics dt {
  font-size: 13px;
  color: var(--text-muted);
}

.mapllyxawcnhero-metrics dd {
  font-size: 24px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
}

.mapllyxawcnhero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.mapllyxawcnhero-photo-wrap {
  position: relative;
  width: min(100%, 520px);
  animation: floatPanel 5.5s ease-in-out infinite;
}

@keyframes floatPanel {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.mapllyxawcnhero-photo-glow {
  position: absolute;
  inset: 12% -6% -8% 8%;
  background: radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.28), transparent 68%);
  filter: blur(18px);
  z-index: 0;
  pointer-events: none;
}

.mapllyxawcnhero-photo {
  position: relative;
  z-index: 1;
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow:
    0 24px 56px rgba(79, 70, 229, 0.18),
    0 8px 24px rgba(15, 23, 42, 0.08);
  background: #e2e8f0;
  aspect-ratio: 4 / 3;
}

.mapllyxawcnhero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}

.mapllyxawcnhero-float-card {
  position: absolute;
  z-index: 2;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(10px);
}

.mapllyxawcnhero-float-match {
  left: -18px;
  bottom: 28px;
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  min-width: 240px;
  max-width: 280px;
}

.mapllyxawcnhero-float-route {
  right: -12px;
  top: 22px;
  padding: 14px 16px;
  min-width: 180px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mapllyxawcnhero-float-route .mapllyxawcnroute-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
}

.mapllyxawcnhero-float-route strong {
  font-size: 14px;
  color: var(--text);
}

.mapllyxawcnmatch-avatar {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  flex-shrink: 0;
}

.mapllyxawcnav-1 {
  background:
    linear-gradient(145deg, rgba(129, 140, 248, 0.35), rgba(79, 70, 229, 0.2)),
    url("images/hei1.mapllyxawcnpng") center 18% / cover no-repeat;
}

.mapllyxawcnmatch-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.mapllyxawcnmatch-info strong {
  font-size: 14px;
  color: var(--text);
}

.mapllyxawcnmatch-info span {
  font-size: 12px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mapllyxawcnmatch-tag {
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: var(--primary);
  border-radius: 999px;
  padding: 4px 10px;
}

.mapllyxawcnroute-bar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  font-size: 13px;
  color: var(--text-secondary);
}

.mapllyxawcnroute-bar.mapllyxawcncompact {
  grid-template-columns: 1fr auto;
  margin-top: 4px;
  gap: 8px;
}

.mapllyxawcnroute-bar .mapllyxawcnbar {
  height: 8px;
  border-radius: 999px;
  background: #dde3ff;
  overflow: hidden;
}

.mapllyxawcnroute-bar .mapllyxawcnbar i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #4f46e5, #2563eb);
  border-radius: inherit;
}

.mapllyxawcnroute-bar em {
  font-style: normal;
  font-weight: 700;
  color: var(--primary);
  font-size: 12px;
}

/* ---------- Trust ---------- */
.mapllyxawcntrust-bar {
  border-block: 1px solid var(--border);
  background: #fff;
  padding: 18px 0;
}

.mapllyxawcntrust-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
}

.mapllyxawcntrust-row p {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  position: relative;
  padding-left: 16px;
}

.mapllyxawcntrust-row p::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary-mid);
  transform: translateY(-50%);
}

/* ---------- Sections ---------- */
.mapllyxawcnsection {
  padding: 96px 0;
}

.mapllyxawcnsection-alt {
  background: var(--bg-alt);
}

.mapllyxawcnsection-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
}

.mapllyxawcnsection-head.mapllyxawcnleft {
  text-align: left;
  margin: 0;
  max-width: none;
}

.mapllyxawcnsection-head h2,
.mapllyxawcnstats-copy h2,
.mapllyxawcncta-copy h2 {
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.mapllyxawcnsection-desc,
.mapllyxawcnstats-copy p:not(.mapllyxawcneyebrow) {
  color: var(--text-secondary);
  font-size: 16px;
}

/* ---------- Features ---------- */
.mapllyxawcnfeature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.mapllyxawcnfeature-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.mapllyxawcnfeature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #c7d2fe;
}

.mapllyxawcnicon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--primary-soft);
  color: var(--primary);
  margin-bottom: 18px;
}

.mapllyxawcnicon-wrap svg {
  width: 24px;
  height: 24px;
}

.mapllyxawcnfeature-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.mapllyxawcnfeature-card p {
  font-size: 14px;
  color: var(--text-secondary);
}

/* ---------- Scenes ---------- */
.mapllyxawcnscene-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.mapllyxawcnscene-card {
  min-height: 220px;
  border-radius: var(--radius);
  padding: 28px 24px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.mapllyxawcnscene-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 20%, rgba(15, 23, 42, 0.55) 100%);
}

.mapllyxawcnscene-card h3,
.mapllyxawcnscene-card p {
  position: relative;
  z-index: 1;
}

.mapllyxawcnscene-card h3 {
  font-size: 22px;
  margin-bottom: 8px;
}

.mapllyxawcnscene-card p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
}

.mapllyxawcnscene-a { background: linear-gradient(145deg, #6366f1, #312e81); }
.mapllyxawcnscene-b { background: linear-gradient(145deg, #3b82f6, #1e3a8a); }
.mapllyxawcnscene-c { background: linear-gradient(145deg, #818cf8, #4338ca); }
.mapllyxawcnscene-d { background: linear-gradient(145deg, #60a5fa, #1d4ed8); }

/* ---------- Process ---------- */
.mapllyxawcnprocess-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  counter-reset: none;
}

.mapllyxawcnprocess-list li {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 22px;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.mapllyxawcnstep-num {
  display: inline-block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--primary);
  background: var(--primary-soft);
  border-radius: 999px;
  padding: 4px 10px;
  margin-bottom: 16px;
}

.mapllyxawcnprocess-list h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.mapllyxawcnprocess-list p {
  font-size: 14px;
  color: var(--text-secondary);
}

/* ---------- Stats ---------- */
.mapllyxawcnsection-stats {
  background:
    radial-gradient(ellipse 60% 80% at 100% 0%, rgba(99, 102, 241, 0.35), transparent 50%),
    linear-gradient(135deg, #312e81 0%, #1e3a8a 55%, #1e293b 100%);
  color: #fff;
}

.mapllyxawcnstats-wrap {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 40px;
  align-items: center;
}

.mapllyxawcnstats-copy h2 {
  color: #fff;
}

.mapllyxawcnstats-copy p:not(.mapllyxawcneyebrow) {
  color: rgba(226, 232, 240, 0.88);
  max-width: 34em;
}

.mapllyxawcnstats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.mapllyxawcnstat-item {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 28px 24px;
  backdrop-filter: blur(8px);
}

.mapllyxawcnstat-item strong {
  display: block;
  font-size: 32px;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.mapllyxawcnstat-item span {
  color: #c7d2fe;
  font-size: 14px;
}

/* ---------- Stories ---------- */
.mapllyxawcnstory-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.mapllyxawcnstory-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  min-height: 260px;
}

.mapllyxawcnstory-card blockquote {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
}

.mapllyxawcnstory-card figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mapllyxawcnstory-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  flex-shrink: 0;
}

.mapllyxawcnsa-1 { background: linear-gradient(145deg, #a5b4fc, #4f46e5); }
.mapllyxawcnsa-2 { background: linear-gradient(145deg, #93c5fd, #2563eb); }
.mapllyxawcnsa-3 { background: linear-gradient(145deg, #c4b5fd, #6366f1); }

.mapllyxawcnstory-card strong {
  display: block;
  font-size: 15px;
}

.mapllyxawcnstory-card figcaption span {
  font-size: 13px;
  color: var(--text-muted);
}

/* ---------- FAQ ---------- */
.mapllyxawcnfaq-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.mapllyxawcnfaq-list details {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
}

.mapllyxawcnfaq-list summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--text);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.mapllyxawcnfaq-list summary::-webkit-details-marker {
  display: none;
}

.mapllyxawcnfaq-list summary::after {
  content: "+";
  font-size: 20px;
  color: var(--primary);
  font-weight: 500;
}

.mapllyxawcnfaq-list details[open] summary::after {
  content: "–";
}

.mapllyxawcnfaq-list details p {
  margin-top: 12px;
  color: var(--text-secondary);
  font-size: 14px;
}

/* ---------- CTA ---------- */
.mapllyxawcncta-section {
  padding-top: 40px;
}

.mapllyxawcncta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 48px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(ellipse 50% 80% at 90% 20%, rgba(255, 255, 255, 0.18), transparent 50%),
    linear-gradient(120deg, #4f46e5 0%, #2563eb 100%);
  color: #fff;
  box-shadow: var(--shadow-lg);
}

.mapllyxawcncta-copy h2 {
  color: #fff;
  margin-bottom: 10px;
}

.mapllyxawcncta-copy p {
  color: rgba(238, 242, 255, 0.92);
  max-width: 36em;
}

.mapllyxawcncta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  flex-shrink: 0;
}

/* ---------- Footer ---------- */
.mapllyxawcnsite-footer {
  background: #0f172a;
  color: #cbd5e1;
  padding: 64px 0 28px;
}

.mapllyxawcnfooter-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.mapllyxawcnfooter-brand .mapllyxawcnbrand {
  margin-bottom: 14px;
}

.mapllyxawcnfooter-brand .mapllyxawcnbrand-name {
  color: #fff;
}

.mapllyxawcnfooter-brand p {
  font-size: 14px;
  line-height: 1.8;
  max-width: 32em;
}

.mapllyxawcnfooter-col h3 {
  color: #fff;
  font-size: 15px;
  margin-bottom: 14px;
}

.mapllyxawcnfooter-col li {
  font-size: 14px;
  margin-bottom: 10px;
  color: #94a3b8;
}

.mapllyxawcnfooter-col a:hover {
  color: #c7d2fe;
}

.mapllyxawcnfooter-links {
  padding: 28px 0 8px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.mapllyxawcnfooter-links h3 {
  color: #fff;
  font-size: 15px;
  margin-bottom: 14px;
}

.mapllyxawcnflink-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  font-size: 14px;
  color: #94a3b8;
  line-height: 1.8;
}

.mapllyxawcnflink-list a {
  color: #94a3b8;
  transition: color 0.2s ease;
}

.mapllyxawcnflink-list a:hover {
  color: #c7d2fe;
}

.mapllyxawcnfooter-bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 22px;
  font-size: 13px;
  color: #64748b;
}

/* ---------- Responsive ---------- */

/* 大平板 / 小笔记本 */
@media (max-width: 1024px) {
  .mapllyxawcnfeature-grid,
  .mapllyxawcnscene-grid,
  .mapllyxawcnprocess-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .mapllyxawcnhero-grid,
  .mapllyxawcnstats-wrap,
  .mapllyxawcnfaq-layout {
    grid-template-columns: 1fr;
  }

  .mapllyxawcnhero-visual {
    order: -1;
  }

  .mapllyxawcnhero-photo-wrap {
    width: min(100%, 560px);
    margin-inline: auto;
  }

  .mapllyxawcnhero-float-match {
    left: 12px;
  }

  .mapllyxawcnhero-float-route {
    right: 12px;
  }

  .mapllyxawcnhero-copy {
    text-align: center;
  }

  .mapllyxawcnhero-lead {
    margin-inline: auto;
  }

  .mapllyxawcnhero-actions {
    justify-content: center;
  }

  .mapllyxawcnhero-metrics {
    margin-inline: auto;
  }

  .mapllyxawcnsection-head.mapllyxawcnleft {
    margin-bottom: 28px;
    text-align: center;
  }

  .mapllyxawcntrust-row {
    justify-content: center;
  }
}

/* 平板竖屏 / 大手机 */
@media (max-width: 860px) {
  .mapllyxawcnnav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    z-index: 2;
  }

  .mapllyxawcnsite-nav {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: min(100vw, calc(100% + 40px));
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 16px 20px calc(16px + env(safe-area-inset-bottom, 0));
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    z-index: 1;
  }

  .mapllyxawcnsite-nav.mapllyxawcnis-open {
    display: flex;
  }

  .mapllyxawcnsite-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .mapllyxawcnsite-nav a {
    display: block;
    padding: 12px 14px;
  }

  .mapllyxawcnsite-nav .mapllyxawcnnav-cta {
    width: 100%;
    margin-top: 8px;
  }

  .mapllyxawcnstory-grid,
  .mapllyxawcnstats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .mapllyxawcnfooter-grid {
    grid-template-columns: 1fr 1fr;
  }

  .mapllyxawcncta-panel {
    flex-direction: column;
    align-items: flex-start;
    padding: 36px 28px;
  }

  .mapllyxawcnhero-actions .mapllyxawcnbtn {
    flex: 1 1 160px;
  }
}

/* 手机 */
@media (max-width: 640px) {
  :root {
    --header-h: 64px;
    --radius: 16px;
    --radius-lg: 22px;
  }

  .mapllyxawcncontainer {
    width: min(100% - 24px, var(--container));
  }

  .mapllyxawcnhero {
    padding: 28px 0 48px;
  }

  .mapllyxawcnhero-copy h1 {
    font-size: clamp(40px, 12vw, 52px);
  }

  .mapllyxawcnhero-lead {
    font-size: 15px;
  }

  .mapllyxawcnhero-actions {
    flex-direction: column;
  }

  .mapllyxawcnhero-actions .mapllyxawcnbtn {
    width: 100%;
    flex: none;
  }

  .mapllyxawcnhero-metrics {
    grid-template-columns: 1fr;
    max-width: none;
  }

  .mapllyxawcnhero-metrics > div {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 10px 0;
  }

  .mapllyxawcnhero-metrics dd {
    font-size: 20px;
  }

  .mapllyxawcnhero-photo {
    aspect-ratio: 4 / 3;
  }

  .mapllyxawcnhero-photo-wrap {
    width: 100%;
    animation: none;
  }

  .mapllyxawcnhero-float-match {
    left: 8px;
    right: 8px;
    bottom: 10px;
    max-width: none;
    min-width: 0;
    grid-template-columns: 36px 1fr auto;
    gap: 8px;
    padding: 10px 12px;
  }

  .mapllyxawcnhero-float-match .mapllyxawcnmatch-avatar {
    width: 36px;
    height: 36px;
    border-radius: 12px;
  }

  .mapllyxawcnhero-float-route {
    top: 10px;
    right: 8px;
    left: auto;
    min-width: 0;
    max-width: 58%;
    padding: 10px 12px;
  }

  .mapllyxawcnhero-float-route strong {
    font-size: 13px;
  }

  .mapllyxawcnsection {
    padding: 56px 0;
  }

  .mapllyxawcnsection-head {
    margin-bottom: 32px;
  }

  .mapllyxawcnsection-head h2,
  .mapllyxawcnstats-copy h2,
  .mapllyxawcncta-copy h2 {
    font-size: clamp(24px, 7vw, 32px);
  }

  .mapllyxawcnfeature-grid,
  .mapllyxawcnscene-grid,
  .mapllyxawcnprocess-list,
  .mapllyxawcnstory-grid,
  .mapllyxawcnstats-grid,
  .mapllyxawcnfooter-grid {
    grid-template-columns: 1fr;
  }

  .mapllyxawcnscene-card {
    min-height: 168px;
  }

  .mapllyxawcntrust-row {
    gap: 10px 18px;
  }

  .mapllyxawcntrust-row p {
    font-size: 13px;
  }

  .mapllyxawcnstat-item strong {
    font-size: 28px;
  }

  .mapllyxawcncta-panel {
    padding: 28px 20px;
    border-radius: 22px;
  }

  .mapllyxawcncta-actions {
    width: 100%;
  }

  .mapllyxawcncta-actions .mapllyxawcnbtn {
    width: 100%;
  }

  .mapllyxawcnsite-footer {
    padding: 48px 0 calc(24px + env(safe-area-inset-bottom, 0));
  }

  .mapllyxawcnfooter-bottom {
    flex-direction: column;
  }

  .mapllyxawcnbtn-lg {
    height: 48px;
    font-size: 15px;
  }
}

/* 超小屏 */
@media (max-width: 380px) {
  .mapllyxawcnhero-float-route {
    display: none;
  }

  .mapllyxawcnbrand-name {
    font-size: 18px;
  }

  .mapllyxawcnmatch-info strong {
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .mapllyxawcnhero-photo-wrap,
  .mapllyxawcnbtn,
  .mapllyxawcnfeature-card {
    animation: none;
    transition: none;
  }
}
