/* ===================================
   搭子旅行 官网 - 子页面样式
   =================================== */

/* ===== 页面Hero ===== */
.page-hero {
  padding-top: calc(var(--nav-height) + 80px);
  padding-bottom: 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero--travel {
  background: linear-gradient(160deg, #1B5E20 0%, #0F1923 100%);
  color: #fff;
}

.page-hero--activity {
  background: linear-gradient(160deg, #00695C 0%, #0F1923 100%);
  color: #fff;
}

.page-hero--club {
  background: linear-gradient(160deg, #37474F 0%, #0F1923 100%);
  color: #fff;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.page-hero__dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 36px 36px;
}

.page-hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
}

.page-hero__orb--1 {
  width: 300px;
  height: 300px;
  top: -80px;
  right: -60px;
}

.page-hero--travel .page-hero__orb--1 { background: var(--primary-light); }
.page-hero--activity .page-hero__orb--1 { background: var(--accent); }
.page-hero--club .page-hero__orb--1 { background: var(--accent-light); }

.page-hero__orb--2 {
  width: 200px;
  height: 200px;
  bottom: -40px;
  left: -40px;
  background: var(--primary);
}

.page-hero__content {
  position: relative;
  z-index: 2;
  max-width: 620px;
  margin: 0 auto;
}

.page-hero .section-tag {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.page-hero__title {
  font-size: 44px;
  font-weight: 900;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}

.page-hero__desc {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.8;
  margin-bottom: 32px;
}

.page-hero__actions {
  display: flex;
  justify-content: center;
  gap: 12px;
}

/* ===== 下载页 ===== */
.download-hero {
  padding-top: calc(var(--nav-height) + 80px);
  padding-bottom: 80px;
  background: linear-gradient(160deg, #0F1923 0%, #1A3A2A 50%, #1B5E20 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.download-hero .page-hero__dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 36px 36px;
}

.download-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.download-content { max-width: 520px; }

.download-content .section-tag {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.download-title {
  font-size: 48px;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 18px;
  letter-spacing: -1px;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0,0,0,0.35);
}

.download-desc {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.8;
  margin-bottom: 36px;
}

.download-buttons {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.download-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 28px;
  background: #fff;
  color: #1A2B3C;
  border-radius: var(--radius-md);
  transition: all var(--duration-normal) var(--ease-smooth);
  font-weight: 600;
}

.download-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.25);
}

.download-btn__icon {
  display: flex;
  align-items: center;
  font-size: 24px;
}

.download-btn__label small {
  font-size: 11px;
  color: rgba(0, 0, 0, 0.5);
  display: block;
  line-height: 1;
}

.download-btn__label span {
  font-size: 17px;
  font-weight: 800;
  display: block;
  line-height: 1.2;
  margin-top: 3px;
}

.download-qrcode {
  display: flex;
  align-items: center;
  gap: 18px;
}

.qrcode-placeholder {
  width: 90px;
  height: 90px;
  background: #fff;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.qrcode-placeholder svg {
  width: 50px;
  height: 50px;
  opacity: 0.15;
}

.download-qrcode__tip {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
}

/* 下载页手机展示 */
.download-visual {
  display: flex;
  justify-content: center;
  gap: 24px;
  perspective: 1200px;
}

.download-phone {
  transition: transform 0.5s var(--ease-out);
}

.download-phone--left {
  transform: rotate(-6deg) translateY(24px);
}

.download-phone--right {
  transform: rotate(6deg) translateY(-12px);
}

.download-phone:hover {
  transform: rotate(0deg) translateY(0) !important;
}

.dl-phone-frame {
  width: 220px;
  height: 450px;
  background: linear-gradient(145deg, #2D3E30, #1A2B1E);
  border-radius: 36px;
  padding: 10px;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.06),
    var(--shadow-xl);
  position: relative;
}

.dl-phone-notch {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 78px;
  height: 20px;
  background: linear-gradient(145deg, #2D3E30, #1A2B1E);
  border-radius: 0 0 12px 12px;
  z-index: 2;
}

.dl-phone-screen {
  width: 100%;
  height: 100%;
  background: #fff;
  border-radius: 26px;
  overflow: hidden;
}

.dl-phone-content {
  padding: 40px 14px 14px;
  text-align: center;
  font-size: 12px;
  color: #1A1A1A;
}

.dl-phone-content__emoji {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 12px;
}

.dl-phone-icon {
  display: inline-flex;
  vertical-align: middle;
  margin-right: 4px;
}

.dl-phone-content__title {
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 12px;
  color: #000;
}

.dl-phone-item {
  padding: 10px;
  border-radius: var(--radius-sm);
  text-align: left;
  margin-bottom: 6px;
  font-size: 12px;
  line-height: 1.5;
}

/* 下载页功能亮点 */
.download-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.dl-feature {
  text-align: center;
  padding: 36px 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  background: #fff;
  transition: all var(--duration-normal) var(--ease-smooth);
}

.dl-feature:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
  border-color: transparent;
}

.dl-feature__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.dl-feature h3 {
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 10px;
}

.dl-feature p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ===== 子页面响应式 ===== */
@media (max-width: 1024px) {
  .download-features {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-hero__title {
    font-size: 36px;
  }

  .download-title {
    font-size: 40px;
  }
}

@media (max-width: 768px) {
  .page-hero {
    padding-top: calc(var(--nav-height) + 48px);
    padding-bottom: 40px;
  }

  .page-hero__title {
    font-size: 30px;
  }

  .page-hero__desc {
    font-size: 15px;
  }

  .page-hero__actions {
    flex-direction: column;
    align-items: center;
  }

  .download-layout {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }

  .download-content { max-width: 100%; }

  .download-title {
    font-size: 34px;
  }

  .download-buttons {
    justify-content: center;
  }

  .download-qrcode {
    justify-content: center;
  }

  .download-visual {
    flex-direction: column;
    align-items: center;
  }

  .download-phone--left,
  .download-phone--right {
    transform: none;
  }

  .download-features {
    grid-template-columns: 1fr;
  }
}
