/* 产品详情 — 天蓝主题 */

:root {
  --ip-gradient: var(--theme-gradient-btn);
  --ip-gradient-diag: var(--theme-gradient-diag);
  --ip-purple: var(--theme-accent);
  --ip-purple-deep: var(--theme-link-hover);
  --ip-purple-soft: var(--theme-accent-soft);
  --ip-bg: var(--theme-cream);
  --ip-surface: var(--theme-surface);
  --ip-ink: var(--theme-ink);
  --ip-muted: var(--theme-muted);
  --ip-line: var(--theme-line-strong);
  --ip-on-purple: var(--theme-on-dark);
  --ip-on-purple-muted: var(--theme-on-dark-muted);
  --ip-on-purple-accent: var(--theme-on-dark-accent);
  --ip-gold: #ffd800;
  --ip-price: #ed1415;
  --ip-max: 1240px;
  --ip-radius: 8px;
  --ip-route-bg: var(--theme-route-bg);
  --ip-route-border: var(--theme-route-border);
}

.ip-page {
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ip-ink);
  background: var(--ip-bg);
  overflow-x: clip;
}
.ip-page *, .ip-page *::before, .ip-page *::after { box-sizing: border-box; }

.ip-wrap {
  width: min(100%, var(--ip-max));
  margin: 0 auto;
  padding: 0 clamp(16px, 3vw, 28px);
}

.ip-marquee { background: var(--ip-gradient); overflow: hidden; }
.ip-marquee__track {
  display: flex; width: max-content;
  animation: hkcs-marquee 30s linear infinite;
}
.ip-marquee__track span {
  flex-shrink: 0; padding: 10px 32px;
  color: var(--ip-on-purple-muted);
  font-size: 12px; font-weight: 700; letter-spacing: 0.08em; white-space: nowrap;
}
.ip-marquee__track span em { margin-right: 28px; color: var(--ip-gold); font-style: normal; }
@keyframes ip-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Hero */
.ip-hero { position: relative; padding: clamp(32px, 5vw, 52px) 0; overflow: hidden; }
.ip-hero__bg { position: absolute; inset: 0; background: var(--ip-gradient-diag); }
.ip-hero__orb {
  position: absolute; border-radius: 50%;
  background: rgba(255, 255, 255, 0.08); pointer-events: none;
}
.ip-hero__orb--1 { width: 420px; height: 420px; top: -140px; right: -100px; }
.ip-hero__orb--2 { width: 260px; height: 260px; bottom: -70px; left: -50px; background: rgba(255,255,255,0.05); }
.ip-hero__inner {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 340px);
  gap: clamp(16px, 3vw, 28px);
  align-items: stretch;
}
.ip-hero__card {
  display: flex; flex-direction: column;
  padding: clamp(20px, 3vw, 28px);
  border-radius: calc(var(--ip-radius) + 4px);
  background: var(--ip-surface);
  box-shadow: 0 20px 48px rgba(30, 27, 75, 0.16);
}
.ip-hero__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.ip-hero__tag {
  padding: 4px 12px; border-radius: 999px;
  background: var(--ip-purple-soft);
  color: var(--ip-purple-deep);
  font-size: 11px; font-weight: 800;
}
.ip-hero__title {
  margin: 0 0 10px;
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 900; line-height: 1.15; color: var(--ip-ink);
}
.ip-hero__desc {
  margin: 0 0 8px;
  font-size: 14px; line-height: 1.7; color: var(--ip-ink);
}
.ip-hero__note {
  margin: 0 0 16px;
  font-size: 13px; color: var(--ip-purple-deep); font-weight: 600;
}
.ip-hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }
.ip-hero__btn,
.ip-hero__btn:link,
.ip-hero__btn:visited,
.ip-hero__btn:hover,
.ip-hero__btn:focus,
.ip-hero__btn:active {
  display: inline-flex; align-items: center; min-height: 42px; padding: 0 20px;
  border-radius: var(--ip-radius);
  background: var(--ip-gradient); color: var(--ip-on-purple);
  font-size: 14px; font-weight: 800; text-decoration: none !important;
}
.ip-hero__btn--ghost,
.ip-hero__btn--ghost:link,
.ip-hero__btn--ghost:visited,
.ip-hero__btn--ghost:hover,
.ip-hero__btn--ghost:focus,
.ip-hero__btn--ghost:active {
  border: 2px solid var(--ip-purple);
  background: transparent; color: var(--ip-purple-deep);
}
.ip-hero__visual {
  position: relative; min-height: 0; align-self: stretch; overflow: hidden;
}
.ip-hero__frame {
  height: 100%; padding: 6px;
  border-radius: calc(var(--ip-radius) + 4px);
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.22);
}
.ip-hero__frame img {
  position: absolute; inset: 6px;
  width: calc(100% - 12px); height: calc(100% - 12px);
  border-radius: var(--ip-radius);
  object-fit: cover;
}

.ip-stats {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0; margin-top: clamp(14px, 2vw, 20px);
  border-radius: calc(var(--ip-radius) + 4px);
  background: var(--ip-surface);
  box-shadow: 0 12px 32px rgba(30, 27, 75, 0.1);
  overflow: hidden;
}
.ip-stat {
  padding: clamp(14px, 2vw, 18px);
  border-right: 1px solid var(--ip-line);
}
.ip-stat:last-child { border-right: none; }
.ip-stat strong { display: block; margin-bottom: 4px; color: var(--ip-purple-deep); font-size: 15px; }
.ip-stat span { font-size: 12px; color: var(--ip-muted); line-height: 1.55; }

.ip-anchor {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid var(--ip-line);
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(10px);
}
.ip-anchor__list {
  display: flex; gap: 4px; margin: 0; padding: 10px 0;
  list-style: none; overflow-x: auto; scrollbar-width: none;
}
.ip-anchor__list::-webkit-scrollbar { display: none; }
.ip-anchor__list a {
  flex-shrink: 0; padding: 8px 14px; border-radius: var(--ip-radius);
  color: var(--ip-muted); font-size: 13px; font-weight: 700; text-decoration: none;
}
.ip-anchor__list a:hover, .ip-anchor__list a.is-active {
  background: var(--ip-purple-soft); color: var(--ip-purple-deep);
}

.ip-section { padding: clamp(40px, 6vw, 64px) 0; }
.ip-section--surface { background: var(--ip-surface); }
.ip-head { margin-bottom: clamp(20px, 3vw, 28px); text-align: center; }
.ip-head__idx {
  display: block; margin-bottom: 6px;
  color: var(--ip-purple-deep); font-size: 12px; font-weight: 800;
  letter-spacing: 0.14em; text-transform: uppercase;
}
.ip-head__title { margin: 0 0 8px; font-size: clamp(24px, 3.6vw, 32px); font-weight: 900; }
.ip-head__lead { margin: 0 auto; max-width: 56ch; color: var(--ip-muted); font-size: 14px; line-height: 1.7; }

.ip-coupon {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  margin-bottom: 16px; padding: 12px 16px;
  border-radius: var(--ip-radius);
  border: 1px dashed var(--ip-purple);
  background: var(--ip-purple-soft);
  font-size: 13px; color: var(--ip-ink);
}
.ip-coupon em { color: var(--ip-purple-deep); font-style: normal; font-weight: 800; }

.ip-hot { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.ip-hot-card {
  display: flex; flex-direction: column;
  border: 1px solid var(--ip-line);
  border-radius: calc(var(--ip-radius) + 2px);
  background: var(--ip-surface);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.ip-hot-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(var(--theme-accent-rgb), 0.12); }
.ip-hot-card__head { padding: 16px 16px 10px; }
.ip-hot-card__title { margin: 0 0 4px; font-size: 20px; font-weight: 900; color: var(--ip-purple-deep); }
.ip-hot-card__desc { margin: 0; font-size: 12px; color: var(--ip-muted); line-height: 1.55; }
.ip-hot-card__body { padding: 0 16px 12px; flex: 1; }
.ip-hot-card__spec { font-size: 13px; color: var(--ip-ink); margin-bottom: 6px; }
.ip-hot-card__foot {
  padding: 14px 16px;
  background: var(--ip-bg);
  border-top: 1px solid var(--ip-line);
}
.ip-hot-card__badges { display: flex; gap: 6px; margin-bottom: 8px; }
.ip-hot-card__badge {
  padding: 2px 8px; border-radius: 4px;
  background: var(--ip-gradient); color: var(--ip-on-purple);
  font-size: 11px; font-weight: 800;
}
.ip-hot-card__price { margin: 0 0 4px; color: var(--ip-price); font-size: 22px; font-weight: 900; }
.ip-hot-card__price small { font-size: 13px; font-weight: 700; }
.ip-hot-card__old { display: block; margin-bottom: 10px; font-size: 11px; color: var(--ip-muted); }
.ip-hot-card__buy {
  display: block; text-align: center; padding: 10px;
  border-radius: var(--ip-radius);
  background: var(--ip-gradient); color: var(--ip-on-purple);
  font-size: 13px; font-weight: 800; text-decoration: none;
}

.ip-routes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 20px; }
.ip-route {
  padding: 16px;
  border: 1px solid var(--ip-route-border);
  border-radius: var(--ip-radius);
  background: var(--ip-route-bg);
  color: var(--ip-on-purple);
}
.ip-route img { width: 40px; height: 40px; margin-bottom: 10px; }
.ip-route h3 { margin: 0 0 8px; font-size: 15px; font-weight: 800; color: var(--ip-on-purple); }
.ip-route p { margin: 0 0 4px; font-size: 12px; color: var(--ip-on-purple-muted); line-height: 1.6; }
.ip-route strong { color: var(--ip-on-purple-accent); }

.ip-table-wrap {
  max-height: min(480px, 58vh);
  overflow: auto;
  border-radius: var(--ip-radius);
  border: 1px solid var(--ip-line);
  -webkit-overflow-scrolling: touch;
}
.ip-table { width: 100%; border-collapse: collapse; font-size: 13px; background: var(--ip-surface); }
.ip-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  padding: 12px 14px; text-align: left;
  background: var(--ip-gradient-diag); color: var(--ip-on-purple);
  font-weight: 800; white-space: nowrap;
}
.ip-table tbody td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--ip-line);
  color: var(--ip-ink);
}
.ip-table tbody tr:last-child td { border-bottom: none; }
.ip-table__sub { display: block; font-size: 11px; color: var(--ip-muted); margin-top: 2px; }
.ip-table__price { color: rgb(252, 74, 74); font-weight: 900; font-size: 15px; }
.ip-table__btn {
  display: inline-flex; padding: 6px 14px;
  border-radius: var(--ip-radius);
  background: var(--ip-gradient); color: var(--ip-on-purple);
  font-size: 12px; font-weight: 800; text-decoration: none; white-space: nowrap;
}

.ip-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.ip-tabs__btn {
  padding: 10px 18px; border: 1px solid var(--ip-line);
  border-radius: 999px; background: var(--ip-surface);
  color: var(--ip-muted); font-size: 13px; font-weight: 700; cursor: pointer;
}
.ip-tabs__btn.is-active {
  border-color: var(--ip-purple);
  background: var(--ip-purple-soft); color: var(--ip-purple-deep);
}
.ip-panel { display: none; }
.ip-panel.is-active { display: block; }

.ip-adv { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.ip-adv-card {
  padding: 18px;
  border: 1px solid var(--ip-line);
  border-radius: var(--ip-radius);
  background: var(--ip-surface);
}
.ip-adv-card h3 { margin: 0 0 8px; font-size: 15px; font-weight: 800; }
.ip-adv-card p { margin: 0; font-size: 13px; color: var(--ip-muted); line-height: 1.65; }

.ip-scenario { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.ip-panel-card {
  padding: 18px;
  border: 1px solid var(--ip-line);
  border-radius: var(--ip-radius);
  background: var(--ip-surface);
}
.ip-panel-card h3 { margin: 0 0 12px; font-size: 16px; font-weight: 800; color: var(--ip-purple-deep); }
.ip-panel-card li {
  display: flex; gap: 8px; margin-bottom: 8px;
  font-size: 13px; color: var(--ip-muted); line-height: 1.6;
  list-style: none;
}
.ip-panel-card ul { margin: 0; padding: 0; }
.ip-panel-card li::before {
  content: ""; flex-shrink: 0; width: 6px; height: 6px; margin-top: 7px;
  border-radius: 50%; background: var(--ip-purple);
}

.ip-map {
  position: relative;
  padding: clamp(28px, 4vw, 40px);
  border-radius: calc(var(--ip-radius) + 4px);
  background: var(--ip-gradient-diag);
  color: var(--ip-on-purple);
  text-align: center;
}
.ip-map__intro {
  margin: 0 auto 20px;
  max-width: 56ch;
  color: var(--ip-on-purple-muted);
  font-size: 14px; line-height: 1.7;
}
.ip-map__canvas {
  position: relative;
  width: min(100%, 920px);
  margin: 0 auto;
  border-radius: calc(var(--ip-radius) + 2px);
  overflow: visible;
  box-shadow: 0 16px 40px rgba(30, 27, 75, 0.22);
  background: rgba(8, 6, 40, 0.35);
}
.ip-map__canvas > img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: top;
  border-radius: calc(var(--ip-radius) + 2px);
}
.ip-map__pins {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: visible;
}
.ip-map__labels {
  position: absolute;
  inset: 0;
  z-index: 30;
  pointer-events: none;
  overflow: visible;
}
.ip-map__pin {
  position: absolute;
  width: 0; height: 0;
  padding: 0; border: 0;
  background: transparent;
  cursor: pointer;
  pointer-events: auto;
  transform: translate(-50%, -50%);
  z-index: 1;
}
.ip-map__pin.is-active,
.ip-map__pin:hover {
  z-index: 100;
}
.ip-map__pin-core {
  position: absolute;
  left: 0; top: 0;
  width: 10px; height: 10px;
  margin: -5px 0 0 -5px;
  border-radius: 50%;
  background: var(--pin-color, var(--ip-gold));
  box-shadow: 0 0 0 2px rgba(255,255,255,0.85), 0 0 12px var(--pin-glow, rgba(255,216,0,0.6));
  z-index: 2;
}
.ip-map__pin-ring {
  position: absolute;
  left: 0; top: 0;
  width: 10px; height: 10px;
  margin: -5px 0 0 -5px;
  border-radius: 50%;
  border: 2px solid var(--pin-color, var(--ip-gold));
  opacity: 0;
  z-index: 1;
  animation: hkcs-pin-idle 3s ease-out infinite;
  pointer-events: none;
}
.ip-map__pin-ring--2 { animation-delay: 1s; }
.ip-map__pin--s1 { --pin-color: #8b85ff; --pin-glow: rgba(139,133,255,0.55); }
.ip-map__pin--s2 { --pin-color: #5eead4; --pin-glow: rgba(94,234,212,0.5); }
.ip-map__pin--s3 { --pin-color: var(--ip-gold); --pin-glow: rgba(255,216,0,0.65); }
.ip-map__pin.is-active .ip-map__pin-ring,
.ip-map__pin:hover .ip-map__pin-ring {
  animation: hkcs-pin-pulse 2s ease-out infinite;
}
.ip-map__pin.is-active .ip-map__pin-ring--2,
.ip-map__pin:hover .ip-map__pin-ring--2 {
  animation-delay: 0.55s;
}
.ip-map__pin-label {
  position: absolute;
  transform: translate(-50%, calc(-100% - 10px));
  padding: 3px 10px;
  border-radius: 4px;
  background: rgba(30, 27, 75, 0.92);
  color: #fff;
  font-size: 11px; font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
  box-shadow: 0 4px 12px rgba(30, 27, 75, 0.35);
}
.ip-map__pin-label.is-active { opacity: 1; }
@keyframes ip-pin-idle {
  0%, 70%, 100% { opacity: 0; transform: scale(1); }
  10% { opacity: 0.35; }
  40% { opacity: 0; transform: scale(2.2); }
}
@keyframes ip-pin-pulse {
  0% { opacity: 0.75; transform: scale(1); }
  100% { opacity: 0; transform: scale(3.2); }
}
.ip-map__legend {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 16px;
  margin: 14px 0 12px;
  font-size: 12px; color: var(--ip-on-purple-muted);
}
.ip-map__legend span { display: inline-flex; align-items: center; gap: 6px; }
.ip-map__dot {
  display: inline-block; width: 10px; height: 10px; border-radius: 50%;
}
.ip-map__dot--s1 { background: #8b85ff; box-shadow: 0 0 8px rgba(139,133,255,0.6); }
.ip-map__dot--s2 { background: #5eead4; box-shadow: 0 0 8px rgba(94,234,212,0.5); }
.ip-map__dot--s3 { background: var(--ip-gold); box-shadow: 0 0 8px rgba(255,216,0,0.6); }
.ip-map__spotlight {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 8px 16px;
  min-height: 36px; margin-bottom: 16px;
  padding: 10px 16px;
  border-radius: var(--ip-radius);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.16);
}
.ip-map__spotlight-city {
  font-size: 18px; font-weight: 900; color: var(--ip-gold);
}
.ip-map__spotlight-meta {
  font-size: 13px; color: var(--ip-on-purple-muted);
}
.ip-map__stats {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px;
}
.ip-map__stat {
  padding: 10px 18px; border-radius: 999px;
  background: rgba(255,255,255,0.14);
  font-size: 13px; font-weight: 700;
}
.ip-map__stat em { color: var(--ip-gold); font-style: normal; }

.ip-stable { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ip-stable-item {
  padding: 16px;
  border-left: 4px solid var(--ip-purple);
  border-radius: var(--ip-radius);
  background: var(--ip-surface);
  border: 1px solid var(--ip-line);
  border-left: 4px solid var(--ip-purple);
}
.ip-stable-item h3 { margin: 0 0 6px; font-size: 15px; font-weight: 800; }
.ip-stable-item p { margin: 0; font-size: 13px; color: var(--ip-muted); line-height: 1.65; }

.ip-help { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ip-guar li {
  padding: 10px 0; border-bottom: 1px solid var(--ip-line);
  font-size: 13px; list-style: none;
}
.ip-guar { margin: 0; padding: 0; }
.ip-guar strong { display: block; color: var(--ip-ink); margin-bottom: 4px; }
.ip-guar span { color: var(--ip-muted); line-height: 1.6; }

.ip-acc { border-top: 2px solid var(--ip-ink); }
.ip-acc__item { border-bottom: 1px solid var(--ip-line); }
.ip-acc__trigger {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  width: 100%; padding: 14px 0; border: 0; background: transparent;
  color: var(--ip-ink); font-size: 14px; font-weight: 800; text-align: left; cursor: pointer;
}
.ip-acc__icon {
  flex-shrink: 0; width: 24px; height: 24px;
  border: 2px solid var(--ip-purple); border-radius: 50%;
  color: var(--ip-purple-deep); line-height: 20px; text-align: center;
}
.ip-acc__item.is-open .ip-acc__icon { background: var(--ip-purple); color: #fff; transform: rotate(45deg); }
.ip-acc__body { display: none; padding-bottom: 14px; }
.ip-acc__item.is-open .ip-acc__body { display: block; }
.ip-acc__body p { margin: 0; font-size: 13px; color: var(--ip-muted); line-height: 1.7; }

.ip-news a {
  display: block; padding: 10px 0;
  border-bottom: 1px solid var(--ip-line);
  color: var(--ip-purple-deep); font-size: 13px; text-decoration: none;
}
.ip-news a:hover { color: var(--ip-purple); }
.ip-news time { color: var(--ip-muted); margin-right: 8px; }

.ip-cta {
  padding: clamp(36px, 5vw, 52px) 0;
  background: var(--ip-gradient-diag);
  color: var(--ip-on-purple);
}
.ip-cta__inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
}
.ip-cta__title { margin: 0 0 6px; font-size: clamp(22px, 3vw, 30px); font-weight: 900; }
.ip-cta__desc { margin: 0; color: var(--ip-on-purple-muted); font-size: 14px; }
.ip-cta__chips { display: flex; flex-wrap: wrap; gap: 10px; }
.ip-cta__chip {
  padding: 12px 16px; border-radius: var(--ip-radius);
  background: rgba(255,255,255,0.12);
  font-size: 12px; line-height: 1.5;
}
.ip-cta__chip strong { display: block; color: var(--ip-gold); margin-bottom: 2px; }
.ip-cta__actions { display: flex; gap: 10px; }
.ip-cta__btn {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px;
  border-radius: var(--ip-radius); background: #fff;
  color: var(--ip-purple-deep); font-size: 14px; font-weight: 800; text-decoration: none;
}
.ip-cta__btn--ghost {
  border: 2px solid rgba(255,255,255,0.75);
  background: transparent; color: var(--ip-on-purple);
}

@media (max-width: 1024px) {
  .ip-hero__inner { grid-template-columns: 1fr; }
  .ip-hero__visual { height: 220px; }
  .ip-hot, .ip-adv { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ip-routes, .ip-scenario, .ip-stable, .ip-help { grid-template-columns: 1fr; }
  .ip-stats { grid-template-columns: 1fr; }
  .ip-stat { border-right: none; border-bottom: 1px solid var(--ip-line); }
}
@media (max-width: 640px) {
  .ip-hot, .ip-adv { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .ip-marquee__track { animation: none; }
  .ip-map__pin-ring { animation: none; opacity: 0.4; }
  .ip-map__pin.is-active .ip-map__pin-ring,
  .ip-map__pin:hover .ip-map__pin-ring { animation: none; opacity: 0.55; }
}
