/* ==========================================================
   双秀空间官网 · 样式表
   品牌色：#ff6b81（品牌粉）· 辅助色：#4a90e2 / #34c759 / #ff9500
   ========================================================== */

/* ---------- 基础重置 ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial,
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #1f1f1f;
  background: #ffffff;
  line-height: 1.6;
  font-size: 16px;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul {
  list-style: none;
}

/* ---------- 通用工具 ---------- */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
}

.section-alt {
  background: #fafafa;
}

.section-head {
  text-align: center;
  margin-bottom: 64px;
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: #1f1f1f;
}

.section-desc {
  margin-top: 12px;
  font-size: 16px;
  color: #8a8a8a;
}

/* ---------- 导航栏 ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.3s;
}

.nav.scrolled {
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
}

.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
}

/* 导航栏 logo：固定高度、宽度自适应，保持原始宽高比 */
.nav-logo {
  width: auto;
  height: 32px;
}

.nav-links {
  display: flex;
  gap: 36px;
  font-size: 15px;
  color: #555;
}

.nav-links a {
  transition: color 0.2s;
  position: relative;
}

.nav-links a:hover {
  color: #ff6b81;
}

.nav-cta {
  padding: 9px 20px;
  background: #ff6b81;
  color: #fff;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  transition: transform 0.2s, background 0.2s;
}

.nav-cta:hover {
  background: #ff5570;
  transform: translateY(-1px);
}

/* 移动端菜单按钮 */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: #1f1f1f;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Hero 区 ---------- */
.hero {
  position: relative;
  padding: 140px 0 80px;
  overflow: hidden;
  background: linear-gradient(180deg, #fff5f7 0%, #ffffff 60%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.dot {
  position: absolute;
  border-radius: 50%;
  background: #ff6b81;
  opacity: 0.08;
}

.dot-1 {
  width: 280px;
  height: 280px;
  top: -80px;
  right: -60px;
}

.dot-2 {
  width: 160px;
  height: 160px;
  bottom: 40px;
  left: -40px;
  background: #4a90e2;
  opacity: 0.06;
}

.dot-3 {
  width: 80px;
  height: 80px;
  top: 40%;
  left: 20%;
  background: #ff9500;
  opacity: 0.06;
}

.dot-4 {
  width: 120px;
  height: 120px;
  bottom: -30px;
  right: 30%;
  background: #8e6bff;
  opacity: 0.05;
}

.hero-inner {
  position: relative;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 80px;
  align-items: center;
}

.hero-title {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
  color: #1f1f1f;
}

.hero-title .highlight {
  color: #ff6b81;
}

.hero-sub {
  margin-top: 24px;
  font-size: 17px;
  color: #666;
  line-height: 1.7;
}

.hero-stats {
  margin-top: 48px;
  display: flex;
  gap: 48px;
}

.stat-num {
  font-size: 36px;
  font-weight: 800;
  color: #ff6b81;
  line-height: 1;
}

.stat-suffix {
  font-size: 22px;
  font-weight: 700;
  color: #ff6b81;
}

.stat-label {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: #8a8a8a;
}

/* 二维码卡片 */
.qr-card {
  width: 320px;
  position: relative;
}

.qr-card::before {
  content: "";
  position: absolute;
  inset: -12px;
  border-radius: 28px;
  background: linear-gradient(135deg, #ff6b81, #ffb8c4);
  opacity: 0.25;
  filter: blur(20px);
  z-index: -1;
}

.qr-card-inner {
  background: #fff;
  border-radius: 24px;
  padding: 28px 24px 24px;
  box-shadow: 0 20px 60px rgba(255, 107, 129, 0.18),
    0 2px 10px rgba(0, 0, 0, 0.04);
}

.qr-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.qr-avatar {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #ffe4ea;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* 二维码卡片头像：等比缩放，居中显示 */
.qr-avatar img {
  width: auto;
  height: 32px;
  max-width: 36px;
}

.qr-name {
  font-size: 16px;
  font-weight: 700;
}

.qr-tag {
  font-size: 12px;
  color: #8a8a8a;
}

.qr-image {
  display: flex;
  justify-content: center;
  padding: 12px;
  background: #fafafa;
  border-radius: 16px;
  margin-bottom: 20px;
}

.qr-placeholder {
  text-align: center;
}

.qr-placeholder svg {
  border-radius: 12px;
  background: #fff;
}

.qr-tip {
  font-size: 11px;
  color: #bbb;
  margin-top: 6px;
}

.qr-card-footer {
  display: flex;
  align-items: center;
  gap: 14px;
}

.qr-btn {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: #07c160;
  color: #fff;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
}

.qr-text {
  font-size: 12px;
  color: #666;
  line-height: 1.4;
}

.qr-text small {
  color: #aaa;
}

/* 滚动提示 */
.scroll-hint {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: 22px;
  height: 36px;
  border: 2px solid #d0d0d0;
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.scroll-hint span {
  width: 3px;
  height: 8px;
  background: #d0d0d0;
  border-radius: 2px;
  animation: scrollDown 1.6s infinite;
}

@keyframes scrollDown {
  0% { opacity: 1; transform: translateY(0); }
  80% { opacity: 0; transform: translateY(10px); }
  100% { opacity: 0; transform: translateY(0); }
}

/* ---------- 核心功能 ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-card {
  padding: 32px;
  background: #fff;
  border-radius: 20px;
  border: 1px solid #f0f0f0;
  transition: transform 0.3s, border-color 0.3s;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: #ff6b81;
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-desc {
  font-size: 14px;
  color: #8a8a8a;
  line-height: 1.6;
}

/* ---------- 服务流程 ---------- */
.flow-steps {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.flow-step {
  flex: 1;
  text-align: center;
}

.flow-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: #ff6b81;
  color: #fff;
  border-radius: 50%;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
}

.flow-body h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}

.flow-body p {
  font-size: 14px;
  color: #8a8a8a;
}

.flow-arrow {
  padding-top: 20px;
  flex-shrink: 0;
}

/* ---------- VIP 一对一 ---------- */
.vip-card {
  background: linear-gradient(135deg, #1f1f1f 0%, #3a2f33 100%);
  border-radius: 28px;
  padding: 56px;
  color: #fff;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  align-items: center;
}

.vip-content {
  max-width: 480px;
}

.vip-badge {
  display: inline-block;
  padding: 4px 14px;
  background: rgba(255, 107, 129, 0.2);
  color: #ff6b81;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
}

.vip-title {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}

.vip-desc {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
  margin-bottom: 28px;
}

.vip-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
}

.vip-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
}

.vip-features svg {
  flex-shrink: 0;
}

.vip-cta {
  display: flex;
  justify-content: center;
}

.vip-cta-card {
  background: #fff;
  border-radius: 20px;
  padding: 28px;
  text-align: center;
  color: #1f1f1f;
}

.vip-cta-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}

.vip-cta-sub {
  font-size: 13px;
  color: #8a8a8a;
  margin-bottom: 16px;
}

.qr-mini svg {
  border-radius: 8px;
  background: #fafafa;
}

/* ---------- 关于我们 ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.about-text p {
  font-size: 15px;
  color: #555;
  line-height: 1.85;
  margin-bottom: 16px;
}

.about-info {
  background: #fff;
  border-radius: 16px;
  padding: 28px;
  border: 1px solid #f0f0f0;
}

.info-item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid #f0f0f0;
  font-size: 14px;
}

.info-item:last-child {
  border-bottom: none;
}

.info-label {
  color: #8a8a8a;
}

.info-value {
  color: #1f1f1f;
  font-weight: 500;
}

/* ---------- CTA 结尾 ---------- */
.cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #ff6b81, #ff8fa0);
  color: #fff;
  text-align: center;
}

.cta-title {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}

.cta-desc {
  font-size: 16px;
  opacity: 0.9;
  margin-bottom: 32px;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: #fff;
  color: #ff6b81;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  transition: transform 0.2s, box-shadow 0.2s;
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* CTA 按钮内 logo：等比缩放 */
.cta-btn img {
  width: auto;
  height: 24px;
}

/* ---------- Footer ---------- */
.footer {
  background: #1f1f1f;
  color: rgba(255, 255, 255, 0.6);
  padding: 48px 0 32px;
  font-size: 13px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 200px 1fr auto;
  gap: 32px;
  align-items: start;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* 页脚 logo：等比缩放；align-self 防止 flex 容器默认 stretch 拉伸宽度 */
.footer-logo {
  width: auto;
  height: 36px;
  margin-bottom: 4px;
  align-self: flex-start;
}

.footer-brand-name {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}

.footer-brand-slogan {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
}

.footer-links {
  display: flex;
  gap: 32px;
  padding-top: 12px;
}

.footer-links a {
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #ff6b81;
}

.footer-info {
  text-align: right;
  padding-top: 12px;
}

.footer-contact {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* 备案号：弱化展示，hover 时高亮 */
.footer-icp {
  margin-top: 10px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
}

.footer-icp a {
  transition: color 0.2s;
}

.footer-icp a:hover {
  color: #ff6b81;
}

/* ---------- 淡入动画 ---------- */
.feature-card,
.flow-step,
.about-text,
.about-info,
.vip-card {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.feature-card.fade-in,
.flow-step.fade-in,
.about-text.fade-in,
.about-info.fade-in,
.vip-card.fade-in {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- 响应式 ---------- */
@media (max-width: 960px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .flow-steps {
    flex-wrap: wrap;
  }

  .flow-arrow {
    transform: rotate(90deg);
  }

  .vip-card {
    grid-template-columns: 1fr;
    padding: 40px 28px;
  }

  .vip-cta {
    order: -1;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 20px;
  }

  .footer-brand {
    align-items: center;
  }

  /* 移动端页脚 logo 保持居中 */
  .footer-logo {
    align-self: center;
  }

  .footer-links {
    justify-content: center;
  }

  .footer-info {
    text-align: center;
  }
}

@media (max-width: 720px) {
  .nav-links {
    display: none;
  }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #fff;
    padding: 20px 24px;
    gap: 16px;
    border-bottom: 1px solid #f0f0f0;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-cta {
    display: none;
  }

  .hero {
    padding: 110px 0 60px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-title {
    font-size: 36px;
  }

  .hero-stats {
    gap: 32px;
  }

  .qr-card {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }

  .section {
    padding: 72px 0;
  }

  .section-title {
    font-size: 26px;
  }

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

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

  .cta-title {
    font-size: 26px;
  }

  .footer-links {
    gap: 20px;
    flex-wrap: wrap;
  }
}

/* ---------- 减少动效 ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
