/* Nav / 线路导航页 */

.nav-page {
  width: 100%;
  min-height: 100dvh;
  background: #323030 url("/static/images/nav_bg.png") no-repeat center top / 100% auto;
  color: #fff;
}

.nav-page__shell {
  width: 100%;
  max-width: 774px;
  margin: 0 auto;
  padding: 115.2px 0;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 115.2px;
}

.nav-page__main {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40.27px;
}

/* Hero */
.nav-hero {
  align-self: stretch;
  padding: 56px;
  background:
    linear-gradient(0deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)),
    linear-gradient(135deg, rgba(11, 16, 32, 0.2) 0%, rgba(30, 27, 75, 0.2) 55%, rgba(15, 23, 42, 0.2) 100%);
  background-blend-mode: screen, normal;
  box-shadow:
    0 18px 40px -12px rgba(0, 0, 0, 0.25),
    0 12px 28px -10px rgba(124, 58, 237, 0.2);
  overflow: hidden;
  border-radius: 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.nav-hero__content {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

.nav-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  font-family: "Noto Sans SC", sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.52px;
}

.nav-hero__dot {
  width: 10px;
  height: 10px;
  background: #f68804;
  border-radius: 5px;
  flex-shrink: 0;
}

.nav-hero__logo {
  width: 360px;
  max-width: 100%;
  height: auto;
  display: block;
}

.nav-hero__desc {
  align-self: stretch;
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
  font-family: "Noto Sans SC", sans-serif;
  font-weight: 400;
  line-height: 1.6;
}

/* Content column */
.nav-content {
  width: 774px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26.84px;
}

.nav-section {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.nav-section--faq {
  gap: 33.17px;
}

.nav-section--inner {
  gap: 32px;
}

.nav-section__title {
  margin: 0;
  align-self: stretch;
  color: #fff;
  font-size: 28px;
  font-family: Outfit, "PingFang SC", sans-serif;
  font-weight: 800;
}

.nav-section__title--lg {
  font-size: 32px;
  font-family: "PingFang SC", sans-serif;
  font-weight: 400;
}

/* Routes */
.nav-route-list {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.nav-route {
  align-self: stretch;
  padding: 18px 50px;
  background: linear-gradient(135deg, rgba(75, 27, 28, 0.2) 0%, rgba(15, 23, 42, 0.2) 100%);
  box-shadow:
    0 14px 28px -12px rgba(0, 0, 0, 0.25),
    0 10px 22px -10px rgba(124, 58, 237, 0.15);
  border-radius: 20px;
  outline: 1px solid rgba(255, 255, 255, 0.1);
  outline-offset: -1px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  color: inherit;
}

.nav-route__info {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 12px;
}

.nav-route__name {
  color: #fff;
  font-size: 24px;
  font-family: "Noto Sans SC", sans-serif;
  font-weight: 900;
}

.nav-route__url {
  color: #f68804;
  font-size: 20px;
  font-family: "Noto Sans SC", sans-serif;
  font-weight: 700;
  word-break: break-all;
}

.nav-route__btn {
  flex-shrink: 0;
  padding: 12px 24px;
  background: rgba(246, 136, 4, 0.2);
  box-shadow: 0 12px 24px -10px rgba(246, 136, 4, 0.25);
  border-radius: 999px;
  outline: 1px solid #f68804;
  outline-offset: -1px;
  color: #f68804;
  font-size: 15px;
  font-family: "PingFang SC", sans-serif;
  font-weight: 400;
}

/* Category cards */
.nav-card-row {
  align-self: stretch;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 24px;
}

.nav-card {
  flex: 1 1 0;
  min-width: 0;
  background: #444;
  overflow: hidden;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}

.nav-card__cover {
  align-self: stretch;
  width: 100%;
  height: 120px;
  object-fit: cover;
  display: block;
  background: #1a1a1a;
}

.nav-card__body {
  align-self: stretch;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.nav-card__title {
  align-self: stretch;
  margin: 0;
  text-align: center;
  color: #fff;
  font-size: 20px;
  font-family: "PingFang SC", sans-serif;
  font-weight: 400;
}

.nav-card__desc {
  align-self: stretch;
  margin: 0;
  text-align: center;
  color: #a0aec0;
  font-size: 14px;
  font-family: Inter, "PingFang SC", sans-serif;
  font-weight: 400;
  line-height: 1.4;
}

/* Tip cards */
.nav-tip {
  flex: 1 1 0;
  min-width: 0;
  min-height: 155px;
  padding: 27.64px;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 16.59px;
  outline: 0.69px solid rgba(255, 255, 255, 0.1);
  outline-offset: -0.69px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11.06px;
}

.nav-tip__title {
  margin: 0;
  align-self: stretch;
  color: #fff;
  font-size: 22px;
  font-family: Inter, "PingFang SC", sans-serif;
  font-weight: 700;
}

.nav-tip__desc {
  margin: 0;
  align-self: stretch;
  color: #a0aec0;
  font-size: 15px;
  font-family: Inter, "PingFang SC", sans-serif;
  font-weight: 400;
  line-height: 24px;
}

/* Social links */
.nav-social-row {
  align-self: stretch;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.nav-social {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 24px;
  text-decoration: none;
  color: inherit;
}

.nav-social__icon {
  width: 94px;
  height: 94px;
  padding: 23.5px;
  box-sizing: border-box;
  background: #474545;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-social__icon img {
  width: 47px;
  height: 47px;
  object-fit: contain;
  display: block;
}

.nav-social__label {
  color: #fff;
  font-size: 24px;
  font-family: "PingFang SC", sans-serif;
  font-weight: 400;
}

/* FAQ */
.nav-faq-grid {
  align-self: stretch;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16.79px;
}

.nav-faq {
  padding: 27.64px;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 16.59px;
  outline: 0.69px solid rgba(255, 255, 255, 0.1);
  outline-offset: -0.69px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11.06px;
}

.nav-faq__title {
  margin: 0;
  color: #fff;
  font-size: 20px;
  font-family: Inter, "PingFang SC", sans-serif;
  font-weight: 700;
}

.nav-faq__desc {
  margin: 0;
  color: #94a3b8;
  font-size: 14px;
  font-family: Inter, "PingFang SC", sans-serif;
  font-weight: 400;
  line-height: 21px;
}

/* Notes */
.nav-notes {
  align-self: stretch;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #94a3b8;
  font-size: 15.03px;
  font-family: Inter, "PingFang SC", sans-serif;
  font-weight: 400;
  line-height: 24.05px;
}

.nav-notes li {
  position: relative;
  padding-left: 0.9em;
}

.nav-notes li::before {
  content: "•";
  position: absolute;
  left: 0;
}

/* CTA */
.nav-cta {
  align-self: stretch;
  padding: 32px;
  background: #f68804;
  box-shadow: 0 18px 40px -14px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.nav-cta__title {
  margin: 0;
  align-self: stretch;
  text-align: center;
  color: #fff;
  font-size: 32px;
  font-family: Outfit, "PingFang SC", sans-serif;
  font-weight: 900;
  line-height: 1.3;
}

.nav-cta__actions {
  align-self: stretch;
  display: flex;
  gap: 12px;
}

.nav-cta__btn {
  flex: 1 1 0;
  height: 56px;
  border: 0;
  border-radius: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  font-size: 16px;
  font-family: "Noto Sans SC", sans-serif;
  font-weight: 900;
  cursor: pointer;
}

.nav-cta__btn--light {
  background: #fff;
  color: #111827;
  box-shadow: 0 10px 20px -10px rgba(0, 0, 0, 0.15);
}

.nav-cta__btn--dark {
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  outline: 1px solid rgba(255, 255, 255, 0.2);
  outline-offset: -1px;
}

/* Footer */
.nav-footer {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 18px;
}

.nav-footer__logo {
  width: 238px;
  max-width: 100%;
  height: auto;
  display: block;
}

.nav-footer__notice {
  margin: 0;
  align-self: stretch;
  text-align: center;
  color: #f68804;
  font-size: 20px;
  font-family: Inter, "PingFang SC", sans-serif;
  font-weight: 700;
}

.nav-footer__copy {
  margin: 0;
  align-self: stretch;
  text-align: center;
  color: #94a3b8;
  font-size: 24px;
  font-family: Inter, "PingFang SC", sans-serif;
  font-weight: 400;
}

@media (max-width: 768px) {
  .nav-page__shell {
    width: 100%;
    padding: 36px 8px;
    gap: 36px;
  }

  .nav-page__main {
    width: 100%;
    gap: 12px;
  }

  .nav-hero {
    width: 100%;
    padding: 32px;
    background: rgba(29, 29, 29, 0.2);
    background-blend-mode: screen;
    box-shadow: none;
    border-radius: 28px;
    gap: 20px;
  }

  .nav-hero__content {
    gap: 20px;
  }

  .nav-hero__eyebrow {
    gap: 8px;
    font-size: 11px;
    letter-spacing: 0.44px;
  }

  .nav-hero__dot {
    width: 8px;
    height: 8px;
    border-radius: 4px;
  }

  .nav-hero__logo {
    width: 153px;
  }

  .nav-hero__desc {
    font-size: 14px;
    line-height: 22.4px;
  }

  .nav-content {
    width: 100%;
    max-width: 346px;
    gap: 12px;
  }

  .nav-content > .nav-section:first-child > .nav-section__title {
    display: none;
  }

  .nav-section {
    gap: 12px;
  }

  .nav-section--spaced {
    gap: 36px;
  }

  .nav-section--inner {
    gap: 20px;
  }

  .nav-section--inner:has(.nav-tip) {
    gap: 12px;
  }

  .nav-section--faq {
    gap: 12px;
  }

  .nav-section__title,
  .nav-section__title--lg {
    font-size: 14px;
    font-family: "PingFang SC", sans-serif;
    font-weight: 400;
  }

  .nav-route-list {
    gap: 12px;
  }

  .nav-route {
    padding: 10px 12px;
    background: #1d1d1d;
    box-shadow: none;
    border-radius: 12px;
    outline: 1px solid #f68804;
    outline-offset: -1px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0;
  }

  .nav-route__info {
    align-items: center;
    gap: 0;
  }

  .nav-route__name {
    color: #fff;
    font-size: 14px;
    font-family: "PingFang SC", sans-serif;
    font-weight: 400;
    line-height: 20px;
    text-align: center;
  }

  .nav-route__url {
    color: #f68804;
    font-size: 12px;
    font-family: "PingFang SC", sans-serif;
    font-weight: 400;
    line-height: 18px;
    text-align: center;
  }

  .nav-route__btn {
    display: none;
  }

  .nav-card-row {
    flex-direction: column;
    gap: 12px;
  }

  .nav-section--inner:has(.nav-tip) .nav-card-row {
    gap: 16px;
  }

  .nav-card {
    flex: none;
    width: 100%;
    border-radius: 15.77px;
  }

  .nav-card__cover {
    height: 115px;
  }

  .nav-card__body {
    padding: 10px 12px;
    gap: 4px;
  }

  .nav-card__title {
    font-size: 14px;
  }

  .nav-card__desc {
    width: 120px;
    max-width: 100%;
    font-size: 12px;
    font-family: "PingFang SC", sans-serif;
    line-height: 16.8px;
  }

  .nav-tip {
    flex: none;
    width: 100%;
    min-height: 0;
    height: auto;
    padding: 24px;
    border-radius: 24px;
    outline: 1px solid rgba(255, 255, 255, 0.1);
    outline-offset: -1px;
    gap: 12px;
  }

  .nav-tip__title {
    font-size: 18px;
  }

  .nav-tip__desc {
    font-size: 14px;
    line-height: 21px;
  }

  .nav-social-row {
    flex-wrap: nowrap;
    gap: 4px;
  }

  .nav-social {
    flex: 1 1 0;
    min-width: 0;
    gap: 10px;
  }

  .nav-social__icon {
    width: 42px;
    height: 42px;
    padding: 10.5px;
  }

  .nav-social__icon img {
    width: 21px;
    height: 21px;
  }

  .nav-social__label {
    font-size: 12px;
    text-align: center;
  }

  .nav-faq-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .nav-faq {
    padding: 24px;
    border-radius: 24px;
    outline: 1px solid rgba(255, 255, 255, 0.1);
    outline-offset: -1px;
    gap: 12px;
  }

  .nav-faq__title {
    font-size: 18px;
  }

  .nav-faq__desc {
    font-size: 14px;
    line-height: 21px;
  }

  .nav-notes {
    font-size: 13px;
    line-height: 20.8px;
  }

  .nav-cta {
    align-self: stretch;
    width: 100%;
    padding: 24px;
    border-radius: 24px;
    gap: 20px;
    box-shadow: 0 14px 28px -12px rgba(0, 0, 0, 0.25);
  }

  .nav-cta__title {
    text-align: left;
    font-size: 24px;
    font-family: Outfit, "PingFang SC", sans-serif;
    font-weight: 900;
    line-height: 28.8px;
  }

  .nav-cta__title br {
    display: none;
  }

  .nav-cta__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .nav-cta__btn {
    flex: none;
    width: 100%;
    height: 48px;
    border-radius: 12px;
    font-size: 14px;
    font-family: "Noto Sans SC", sans-serif;
    font-weight: 900;
  }

  .nav-cta__btn--light {
    box-shadow: none;
  }

  .nav-footer {
    gap: 16px;
  }

  .nav-footer__logo {
    width: 111px;
  }

  .nav-footer__notice,
  .nav-footer__copy {
    font-size: 12px;
  }
}
