/* ============================================================
   来云顶班城市合伙人 — Apple-Inspired Design System
   ============================================================ */

/* ===== CSS Variables ===== */
:root {
  /* 浅色主题 */
  --bg-primary: #ffffff;
  --bg-secondary: #f5f5f7;
  --bg-tertiary: #fbfbfd;
  --bg-dark: #000000;
  --bg-darker: #0a0a0a;
  --bg-light: #f5f5f7;
  --white: #ffffff;
  /* 文字颜色 - 确保高对比度 */
  --text-d: #1d1d1f;
  --text-m: #6e6e73;
  --text-l: #f5f5f7;
  --text-caption: #86868b;
  --teal: #2dd4bf;
  --blue: #2997ff;
  --green: #30d158;
  --orange: #ff9f0a;
  --red: #ff453a;
  --purple: #bf5af2;
  --nav-h: 52px;
  --section-pad: 100px 0;
  --section-pad-m: 64px 0;
}

/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--bg-primary); color: var(--text-d);
  line-height: 1.6; -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--blue); text-decoration: none; transition: color .2s; }
a:hover { color: var(--teal); }
ul { list-style: none; }
img { max-width: 100%; display: block; }
table { width: 100%; border-collapse: collapse; }

/* ===== Navigation ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  background: rgba(255,255,255,.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0,0,0,.08);
}
.nav-inner {
  max-width: 1024px; margin: 0 auto; height: 100%;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 22px;
}
.nav-logo { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.nav-logo img { height: 30px; width: auto; border-radius: 6px; }
.nav-links { display: flex; gap: 24px; align-items: center; }
.nav-links a {
  font-size: 12px; color: var(--text-m); transition: color .2s;
  white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active { color: var(--text-d); }
.nav-toggle { display: none; background: none; border: none; color: var(--text-d); font-size: 22px; cursor: pointer; }
@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none; position: absolute; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: rgba(255,255,255,.97); border-bottom: 1px solid rgba(0,0,0,.08);
    padding-bottom: 8px;
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    padding: 12px 22px; font-size: 14px; border-bottom: 1px solid rgba(0,0,0,.06);
    color: var(--text-d);
  }
  .nav-links a:hover, .nav-links a.active { color: var(--teal); background: none; }
  .nav-inner { padding: 0 16px; }
  .nav-logo img { height: 28px; }
  .hero { padding: calc(var(--nav-h) + 40px) 20px 60px; }
  .hero-title { font-size: clamp(28px, 7vw, 48px); }
  .hero-stats { gap: 20px; margin-top: 32px; }
  .hero-stat .val { font-size: 28px; }
  .section { padding: var(--section-pad-m); }
  .section--dark, .section--darker { padding: var(--section-pad-m); }
  .section-title { font-size: 22px; line-height: 1.2; }
  .section-sub { font-size: 14px; line-height: 1.65; }
  .container { padding: 0 16px; }
  .card { padding: 20px 16px; }
  .card h3 { font-size: 16px; }
  .card p { font-size: 13px; }
  .table-wrap { border-radius: 12px; }
  th, td { padding: 10px 12px; font-size: 12px; }
  .footer { padding: 40px 16px 24px; }
  .footer-top { gap: 28px; }
  .footer-col { min-width: 0; }
  .footer-col a { font-size: 13px; padding: 4px 0; }
}

/* ===== Hero ===== */
.hero {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  text-align: center; padding: calc(var(--nav-h) + 60px) 22px 80px;
}
/* Hero内文字强制白色，确保在深色背景图上可读 */
.hero-content .hero-eyebrow,
.hero-content .hero-title,
.hero-content .hero-sub,
.hero-content .hero-stat .label {
  color: var(--white) !important;
}
.hero-content .hero-stat .val {
  color: var(--white) !important;
  -webkit-text-fill-color: var(--white) !important;
}
.hero-content .hero-sub {
  opacity: 0.9;
}
.hero-content .hero-stat .label {
  opacity: 0.75;
}
.hero-content p[style*="font-size:11px"] {
  color: rgba(255,255,255,0.6) !important;
}
.hero-content { max-width: 780px; }
.hero-eyebrow {
  font-size: 14px; font-weight: 500; color: var(--text-m);
  letter-spacing: .08em; text-transform: uppercase; margin-bottom: 16px;
}
.hero-title {
  font-size: clamp(36px, 7vw, 72px); font-weight: 700;
  line-height: 1.08; letter-spacing: -0.02em; margin-bottom: 20px;
}
.hero-title--gradient {
  background: linear-gradient(135deg, var(--text-l) 0%, var(--teal) 50%, var(--blue) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: clamp(16px, 2.5vw, 21px); color: var(--text-m);
  max-width: 560px; line-height: 1.5;
}
.hero-stats {
  display: flex; justify-content: center; gap: clamp(24px, 5vw, 56px);
  margin-top: 48px; flex-wrap: wrap;
}
.hero-stat .val {
  font-size: clamp(32px, 5vw, 56px); font-weight: 700;
  background: linear-gradient(135deg, var(--teal), var(--blue));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-stat .label { font-size: 13px; color: var(--text-m); margin-top: 4px; }
.hero-actions { display: flex; gap: 16px; justify-content: center; margin-top: 40px; flex-wrap: wrap; }

/* ===== Sections ===== */
.section { padding: var(--section-pad); }
@media (max-width: 768px) { .section { padding: var(--section-pad-m); } }
/* 浅色主题 - 所有内容区用浅色背景 */
.section--dark, .section--darker {
  background: var(--bg-secondary);
  color: var(--text-d);
}
.section--sandtable {
  background:
    radial-gradient(ellipse at 30% 20%, rgba(255,255,255,.06) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 80%, rgba(0,0,0,.08) 0%, transparent 50%),
    linear-gradient(180deg, #c9c4b9 0%, #beb9ae 40%, #b3aea3 100%);
  color: var(--text-d);
}
.section--sandtable .section-eyebrow { color: #C4A77D; }
.section--light { background: var(--bg-primary); color: var(--text-d); }
.container { max-width: 1024px; margin: 0 auto; padding: 0 22px; }
.text-center { text-align: center; }

.section-eyebrow {
  font-size: 13px; font-weight: 600; color: var(--teal);
  letter-spacing: .1em; text-transform: uppercase; margin-bottom: 8px;
}
.section--light .section-eyebrow { color: var(--blue); }
.section-title {
  font-size: clamp(28px, 5vw, 48px); font-weight: 700;
  line-height: 1.12; letter-spacing: -0.02em;
}
.section-sub {
  font-size: clamp(15px, 2vw, 19px); color: var(--text-m);
  max-width: 620px; margin-top: 12px; line-height: 1.5;
}
.section--light .section-sub { color: var(--text-m); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 12px 24px; border-radius: 980px;
  font-size: 15px; font-weight: 500; cursor: pointer;
  transition: all .3s ease; border: none;
}
.btn--teal { background: var(--teal); color: #000; }
.btn--teal:hover { background: #5eead4; color: #000; }
.btn--primary { background: var(--blue); color: var(--white); }
.btn--primary:hover { background: #40a9ff; color: var(--white); }
.btn--outline { background: transparent; color: var(--blue); border: 1px solid var(--blue); }
.btn--outline:hover { background: var(--blue); color: var(--white); }
.btn--arrow::after { content: "→"; margin-left: 4px; transition: transform .2s; }
.btn--arrow:hover::after { transform: translateX(4px); }

/* ===== Cards ===== */
.card-grid {
  display: grid; gap: 16px; margin-top: 32px;
}
.card-grid--2 { grid-template-columns: repeat(2, 1fr); }
.card-grid--3 { grid-template-columns: repeat(3, 1fr); }
.card-grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 768px) {
  .card-grid--2, .card-grid--3, .card-grid--4 { grid-template-columns: 1fr; }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .card-grid--4 { grid-template-columns: repeat(2, 1fr); }
}

.card {
  padding: 28px 24px; border-radius: 20px;
  transition: transform .3s ease, box-shadow .3s ease;
}
.card:hover { transform: translateY(-4px); }
.card--glass {
  background: var(--white);
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 4px 20px rgba(0,0,0,.04);
}
.card--glass:hover { box-shadow: 0 12px 40px rgba(0,0,0,.08); border-color: rgba(0,0,0,.1); }
.card--light {
  background: var(--white);
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 4px 20px rgba(0,0,0,.04);
}
.card--light:hover { box-shadow: 0 12px 40px rgba(0,0,0,.08); }
.card--light h3 { color: var(--text-d); }
.card--light p { color: #6e6e73; }

.card h3 { font-size: 18px; font-weight: 600; margin-top: 12px; color: var(--text-d); }
.card p { font-size: 14px; color: var(--text-m); margin-top: 8px; line-height: 1.5; }

.card-icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
}
.card-icon--teal { background: rgba(45,212,191,.12); color: var(--teal); }
.card-icon--blue { background: rgba(41,151,255,.12); color: var(--blue); }
.card-icon--green { background: rgba(48,209,88,.12); color: var(--green); }
.card-icon--orange { background: rgba(255,159,10,.12); color: var(--orange); }
.card-icon--red { background: rgba(255,69,58,.12); color: var(--red); }
.card-icon--purple { background: rgba(191,90,242,.12); color: var(--purple); }

/* ===== Tags ===== */
.tag {
  display: inline-block; padding: 4px 12px; border-radius: 980px;
  font-size: 12px; font-weight: 600;
}
.tag--teal { background: rgba(45,212,191,.12); color: var(--teal); }
.tag--blue { background: rgba(41,151,255,.12); color: var(--blue); }
.tag--orange { background: rgba(255,159,10,.12); color: var(--orange); }
.tag--green { background: rgba(48,209,88,.12); color: var(--green); }
.tag--red { background: rgba(255,69,58,.12); color: var(--red); }

/* ===== Tables ===== */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 16px; }
.section--dark .table-wrap,
.section--darker .table-wrap { background: var(--white); border: 1px solid rgba(0,0,0,.06); }
.section--light .table-wrap { background: var(--white); border: 1px solid rgba(0,0,0,.06); }

table { min-width: 500px; }
th, td { padding: 12px 16px; text-align: left; font-size: 13px; }
th {
  font-weight: 600; font-size: 11px; text-transform: uppercase;
  letter-spacing: .06em;
}
.section--dark th, .section--darker th { color: var(--text-m); border-bottom: 1px solid rgba(0,0,0,.08); }
.section--dark td, .section--darker td { border-bottom: 1px solid rgba(0,0,0,.04); color: var(--text-d); }
.section--light th { color: var(--text-m); border-bottom: 1px solid rgba(0,0,0,.08); }
.section--light td { color: var(--text-d); border-bottom: 1px solid rgba(0,0,0,.04); }

/* ===== Charts ===== */
.chart-box { width: 100%; height: 360px; margin-top: 24px; }
/* ============================================================
   黄金矿脉·指挥沙盘
   ============================================================ */
.chart-box--map {
  height: 580px;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  transform-style: preserve-3d;
  perspective: 1200px;
  /* 浮雕悬浮 — 多层阴影营造立体感 */
  box-shadow:
    0 4px 8px rgba(0,0,0,.12),
    0 12px 24px rgba(0,0,0,.15),
    0 32px 64px rgba(0,0,0,.18),
    0 64px 100px rgba(0,0,0,.22),
    0 100px 160px rgba(0,0,0,.16),
    /* 底部桌面反光 */
    0 160px 200px rgba(0,0,0,.10),
    /* 内顶高光 */
    inset 0 3px 0 rgba(255,255,255,.15),
    inset 0 -3px 0 rgba(0,0,0,.35);
  border: 3px solid rgba(196,167,125,.4);
  /* 暖米色浮雕底色 — 与页面浅灰形成对比 */
  background:
    linear-gradient(175deg, #e8e3dc 0%, #ddd6ce 35%, #d4cdc5 70%, #ccc4bb 100%);
  /* 微透视俯视 */
  transform: perspective(1200px) rotateX(6deg);
  transform-origin: center 60%;
  transition: transform .6s cubic-bezier(.25,.46,.45,.94), box-shadow .6s ease;
}
.chart-box--map:hover {
  transform: perspective(1200px) rotateX(2deg) scale(1.012);
  box-shadow:
    0 6px 12px rgba(0,0,0,.14),
    0 16px 32px rgba(0,0,0,.18),
    0 40px 80px rgba(0,0,0,.22),
    0 80px 120px rgba(0,0,0,.26),
    0 120px 180px rgba(0,0,0,.18),
    0 180px 240px rgba(0,0,0,.12),
    inset 0 3px 0 rgba(255,255,255,.18),
    inset 0 -3px 0 rgba(0,0,0,.35);
  border-color: rgba(196,167,125,.6);
}
/* 黄金矿脉内发光边缘 — 顶部氛围光 */
.chart-box--map::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 18px;
  box-shadow: inset 0 0 60px rgba(196,167,125,.06);
  pointer-events: none;
  z-index: 1;
}
/* 地图区域 — 深靛沙盘面 */
.chart-box--map > div {
  width: 100%; height: 100%; border-radius: 0;
  background: transparent;
}
/* 顶部标签条 — 物理铭牌效果 */
.chart-box--map .map-label {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 44px;
  background: linear-gradient(180deg, rgba(255,255,255,.92) 0%, rgba(245,245,247,.88) 100%);
  border-bottom: 1px solid rgba(196,167,125,.2);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 20px;
  z-index: 10;
  font-size: 12px; color: #6e6e73;
  letter-spacing: .05em;
}
.chart-box--map .map-label strong { color: #C4A77D; font-weight: 600; }
.chart-box--map .map-label span { font-size: 11px; color: #8e8e93; }
/* 右下角坐标铭牌 */
.chart-box--map .map-coords {
  position: absolute;
  bottom: 16px; right: 20px;
  font-size: 10px; color: rgba(142,142,147,.5);
  letter-spacing: .08em;
  z-index: 10;
}
@media (max-width: 768px) {
  .chart-box { height: 280px; }
  .chart-box--map { 
    height: 360px; 
    transform: none;
    border-radius: 12px;
  }
  .chart-box--map:hover {
    transform: none;
  }
}

/* ===== Steps ===== */
.steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 48px;
}
@media (max-width: 768px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }
.step { text-align: center; padding: 24px 16px; }
.step-num {
  width: 48px; height: 48px; border-radius: 50%; margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 700;
  background: linear-gradient(135deg, var(--teal), var(--blue));
  color: #000;
}
.section--light .step h4 { color: var(--text-d); }
.section--light .step p { color: #6e6e73; }
.step h4 { font-size: 16px; font-weight: 600; margin-bottom: 8px; color: var(--text-d); }
.step p { font-size: 13px; color: var(--text-m); }

/* ===== Timeline ===== */
.timeline { margin-top: 48px; position: relative; padding-left: 32px; }
.timeline::before {
  content: ""; position: absolute; left: 6px; top: 0; bottom: 0;
  width: 2px; background: linear-gradient(180deg, var(--teal), var(--blue));
}
.timeline-item { position: relative; margin-bottom: 40px; }
.timeline-dot {
  position: absolute; left: -32px; top: 4px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--teal); border: 3px solid var(--bg-dark);
  box-shadow: 0 0 0 2px var(--teal);
}
.section--light .timeline-dot { border-color: var(--bg-light); }
.timeline-phase { font-size: 13px; color: var(--teal); font-weight: 600; letter-spacing: .04em; }
.timeline-title { font-size: 20px; font-weight: 600; margin-top: 4px; color: var(--text-d); }
.section--light .timeline-title { color: var(--text-d); }
.timeline-list { margin-top: 12px; }
.timeline-list li {
  font-size: 14px; color: var(--text-m); padding: 4px 0;
  padding-left: 16px; position: relative;
  line-height: 1.6;
}
.timeline-list li::before { content: "→"; position: absolute; left: 0; color: var(--teal); }

/* ===== Search & Filters ===== */
.search-row {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 24px;
}
.search-input {
  padding: 10px 18px; border-radius: 980px; font-size: 14px;
  border: 1px solid rgba(0,0,0,.12); background: var(--white);
  color: var(--text-d); outline: none; min-width: 200px;
  transition: border-color .2s;
}
.search-input:focus { border-color: var(--teal); }
.filter-btn {
  padding: 6px 16px; border-radius: 980px; font-size: 12px; font-weight: 600;
  border: 1px solid rgba(0,0,0,.12); background: transparent;
  color: var(--text-d); cursor: pointer; transition: all .2s;
}
.filter-btn:hover { border-color: var(--teal); color: var(--teal); }
.filter-btn.active { background: var(--teal); color: #000; border-color: var(--teal); }
.page-indicator { font-size: 13px; color: var(--text-m); margin-left: auto; }

/* ===== Swiper KPI Cards ===== */
.swiper { margin-top: 24px; overflow: hidden; padding-bottom: 40px; }
.swiper-slide {
  background: var(--white);
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 4px 20px rgba(0,0,0,.04);
  border-radius: 20px; padding: 20px;
  display: flex; flex-direction: column; gap: 4px;
}
.city-name { font-size: 18px; font-weight: 700; color: var(--teal); }
.city-meta { font-size: 12px; color: var(--text-m); line-height: 1.5; }
.kpi-chart { width: 100%; height: 180px; margin-top: 8px; }
.swiper-pagination-bullet { background: var(--text-m); opacity: .4; }
.swiper-pagination-bullet-active { background: var(--teal); opacity: 1; }

/* ===== CTA Banner ===== */
.cta-banner {
  background: linear-gradient(135deg, rgba(45,212,191,.08), rgba(41,151,255,.08));
  border: 1px solid rgba(45,212,191,.15);
  border-radius: 28px; padding: 56px 32px; text-align: center;
}
.cta-banner h2 { font-size: clamp(22px, 4vw, 32px); font-weight: 700; }
.cta-banner p { font-size: 16px; color: var(--text-m); margin: 12px 0 28px; }

/* ===== FAQ ===== */
.faq-list { margin-top: 32px; }
.faq-item {
  border-bottom: 1px solid rgba(0,0,0,.06);
  cursor: pointer; transition: background .2s;
}
.section--light .faq-item { border-color: rgba(0,0,0,.06); }
.faq-item:hover { background: rgba(0,0,0,.02); }
.faq-q {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 0; font-size: 16px; font-weight: 600; gap: 16px;
  color: var(--text-d);
}
.faq-q .icon { font-size: 20px; color: var(--text-m); transition: transform .3s; flex-shrink: 0; }
.faq-item.open .faq-q .icon { transform: rotate(45deg); }
.faq-a {
  max-height: 0; overflow: hidden; transition: max-height .4s ease, padding .4s ease;
  font-size: 15px; color: var(--text-m); line-height: 1.7;
}
.faq-item.open .faq-a { max-height: 300px; padding-bottom: 20px; }

/* ===== Footer ===== */
.footer {
  background: var(--bg-secondary); padding: 40px 22px 24px;
  border-top: 1px solid rgba(0,0,0,.06);
}
.footer-inner { max-width: 1024px; margin: 0 auto; }
.footer-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer-col h4 { font-size: 12px; color: var(--text-m); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 12px; }
.footer-col a { display: block; font-size: 13px; color: var(--text-m); padding: 3px 0; transition: color .2s; }
.footer-col a:hover { color: var(--text-d); }
.footer-bottom {
  margin-top: 32px; padding-top: 16px;
  border-top: 1px solid rgba(0,0,0,.06);
  font-size: 12px; color: var(--text-m);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
}
.footer-bottom a { color: var(--text-m); font-size: 12px; }

/* ===== Animations ===== */
.fade-in { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
.scale-in { opacity: 0; transform: scale(.96); transition: opacity .7s ease, transform .7s ease; }
.scale-in.visible { opacity: 1; transform: scale(1); }

/* ===== Hero Background Image ===== */
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background: center center / cover no-repeat;
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.75) 100%);
}
.hero { position: relative; }
.hero .hero-content { position: relative; z-index: 1; }

/* ===== Section Hero Image (full-width banner) ===== */
.section-img {
  position: relative; border-radius: 20px; overflow: hidden;
  margin-top: 40px; height: 280px;
}
.section-img img {
  width: 100%; height: 100%; object-fit: cover;
}
.section-img .overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.15) 0%, rgba(0,0,0,.6) 100%);
  display: flex; align-items: flex-end; padding: 28px 32px;
}
.section-img .overlay h3 {
  font-size: clamp(20px, 3vw, 28px); font-weight: 700; color: #fff;
}
.section-img .overlay p {
  font-size: 15px; color: rgba(255,255,255,.8); margin-top: 6px;
}
@media (max-width: 768px) {
  .section-img { height: 180px; border-radius: 14px; }
  .section-img .overlay { padding: 18px 20px; }
}

/* ===== Card Image (inside glass cards) ===== */
.card-img {
  width: 100%; height: 160px; border-radius: 12px; overflow: hidden;
  margin-bottom: 14px;
}
.card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .4s ease;
}
.card:hover .card-img img { transform: scale(1.05); }
@media (max-width: 768px) {
  .card-img { height: 140px; }
}

/* ===== Step Image ===== */
.step-img {
  width: 100%; height: 140px; border-radius: 14px; overflow: hidden;
  margin-bottom: 14px;
}
.step-img img {
  width: 100%; height: 100%; object-fit: cover;
}
@media (max-width: 768px) {
  .step-img { height: 120px; }
}

/* ===== Full-width Feature Image ===== */
.feature-img {
  position: relative; border-radius: 24px; overflow: hidden;
  margin-top: 48px; height: 320px;
}
.feature-img img {
  width: 100%; height: 100%; object-fit: cover;
}
.feature-img .overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,.7) 100%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 40px;
}
.feature-img h3 {
  font-size: clamp(22px, 3vw, 36px); font-weight: 700; color: #fff;
}
.feature-img p {
  font-size: 16px; color: rgba(255,255,255,.8); margin-top: 8px; max-width: 480px;
}
@media (max-width: 768px) {
  .feature-img { height: 220px; border-radius: 16px; }
  .feature-img .overlay { padding: 24px; }
}

/* ===== Utilities ===== */
.mt-4 { margin-top: 16px; }
.mt-8 { margin-top: 32px; }
.mt-12 { margin-top: 48px; }
.mt-16 { margin-top: 64px; }

/* ===== 横向滑动卡片容器 ===== */
.swipe-container {
  margin-top: 32px;
  position: relative;
}

.swipe-hint {
  display: none;
  text-align: center;
  font-size: 12px;
  color: var(--text-m);
  margin-bottom: 12px;
  animation: swipe-hint-pulse 2s ease-in-out infinite;
}

@keyframes swipe-hint-pulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

.swipe-wrapper {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 16px;
}

.swipe-wrapper::-webkit-scrollbar {
  display: none;
}

.swipe-item {
  flex: 0 0 calc(80% - 8px);
  scroll-snap-align: start;
  min-width: 260px;
}

.swipe-item:nth-child(2n) {
  flex: 0 0 calc(75% - 8px);
}

.swipe-item:nth-child(3n) {
  flex: 0 0 calc(70% - 8px);
}

@media (max-width: 768px) {
  .swipe-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
  }
  .swipe-hint::before {
    content: "←";
    animation: swipe-arrow 1.5s ease-in-out infinite;
  }
  .swipe-hint::after {
    content: "→";
    animation: swipe-arrow 1.5s ease-in-out infinite reverse;
  }
  @keyframes swipe-arrow {
    0%, 100% { opacity: 0.4; transform: translateX(0); }
    50% { opacity: 1; transform: translateX(4px); }
  }
}

/* ===== 沙盘框架 DOM 覆盖层 ===== */
.map-frame {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 20;
  border-radius: 18px;
  overflow: hidden;
}
/* 四角金属角标 */
.mf-corner {
  position: absolute;
  width: 20px;
  height: 20px;
  border-color: rgba(196,167,125,.4);
  border-style: solid;
}
.mf-tl { top: 12px; left: 12px; border-width: 2px 0 0 2px; }
.mf-tr { top: 12px; right: 12px; border-width: 2px 2px 0 0; }
.mf-bl { bottom: 12px; left: 12px; border-width: 0 0 2px 2px; }
.mf-br { bottom: 12px; right: 12px; border-width: 0 2px 2px 0; }
/* 顶部标签条 */
.mf-label {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255,255,255,.85);
  border: 1px solid rgba(196,167,125,.3);
  border-radius: 20px;
  padding: 6px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #6e6e73;
  letter-spacing: .05em;
  backdrop-filter: blur(8px);
  white-space: nowrap;
}
.mf-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #C4A77D;
  box-shadow: 0 0 8px rgba(196,167,125,.6);
  animation: mf-pulse 2s ease-in-out infinite;
}
@keyframes mf-pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 8px rgba(196,167,125,.6); }
  50% { opacity: .6; box-shadow: 0 0 16px rgba(196,167,125,.9); }
}
/* 右下角坐标 */
.mf-coords {
  position: absolute;
  bottom: 14px;
  right: 20px;
  font-size: 10px;
  color: rgba(142,142,147,.4);
  letter-spacing: .1em;
  font-family: monospace;
}
