/* ============================================
   知心AI官网 - 设计 Token & 基础样式
   来源：Figma 设计稿 node 1:123
   ============================================ */

/* --- Design Tokens (from Figma variables) --- */
:root {
  /* 主色 */
  --primary: #FE7509;
  --primary-light: #FF9412;
  --primary-gradient: linear-gradient(180deg, #FF7919 25%, #FFC57F 100%);
  
  /* 文字色 */
  --text-dark: #3C250A;
  --text-primary: #333333;
  --text-secondary: #666666;
  --text-tertiary: #999999;
  --white: #FFFFFF;
  --black: #000000;
  
  /* 辅助色 */
  --success-green: #33C168;
  --female-pink: #FF006E;
  --female-bg: rgba(255, 0, 110, 0.08);
  --male-blue: #5080FE;
  --male-bg: rgba(80, 128, 254, 0.08);
  --cta-yellow: #FFE357;
  
  /* 背景色 */
  --bg-white: #FFFFFF;
  --bg-cream: #FFF7EC;
  --bg-cream-light: #FFFAF5;
  --bg-warm: #FFF1FB;
  --bg-cool: #F1F5FF;
  --bg-warm-light: #FFEAD1;
  --border-warm: #FFEBCF;
  --border-gold: #F3D2AD;
  
  /* 深色背景 */
  --footer-dark: #1F1713;
  --footer-text: rgba(255, 255, 255, 0.8);
  --footer-text-dim: rgba(255, 255, 255, 0.4);
  
  /* CTA渐变 */
  --cta-gradient: linear-gradient(180deg, #FF6717 0%, #FFBC50 100%);
  
  /* 字体（方案C：免费字体栈统一，无 @font-face 加载） */
  --font-heading: 'PingFang SC', 'Noto Sans SC', 'Source Han Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'PingFang SC', 'Noto Sans SC', 'Source Han Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
  
  /* 圆角 */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 999px;
  
  /* 阴影 */
  --shadow-card: 0 6px 20px rgba(0, 0, 0, 0.06);
  --shadow-hover: 0 12px 30px rgba(254, 117, 9, 0.13); /* 悬停抬起时淡淡橙调阴影（轻、淡，呼应主色） */
  --shadow-float: 0 2px 12px rgba(0, 0, 0, 0.08);
  --shadow-nav: 0 4px 48px rgba(254, 117, 9, 0.06);
  --shadow-bubble: 0 4.58px 6.87px rgba(254, 117, 9, 0.2);
  --shadow-badge: 0 0.92px 7.36px rgba(255, 121, 25, 0.15);
  
  /* 容器宽度（设计稿 1920px，内容区居中） */
  --container-width: 1400px;
  --content-padding: 260px;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0; padding: 0; box-sizing: border-box;
}

html {
  scroll-behavior: auto;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* --- Layout Helpers --- */
.container {
  width: var(--container-width);
  margin: 0 auto;
  padding: 0 40px;
}

.section-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 64px;
  line-height: 78px;
  color: var(--text-dark);
  text-align: center;
}

.section-subtitle {
  font-family: 'PingFang SC', 'Noto Sans SC', 'Source Han Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  font-size: 28px;
  color: var(--text-dark);
  text-align: center;
  margin-top: 24px;
}

.text-primary-highlight { color: var(--primary); }
.text-gradient-number {
  background: linear-gradient(180deg, #FF8544 25%, #FFD9AB 76%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================
   SECTION 1: 导航栏
   ============================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 100px;
  z-index: 1000;
  background: var(--white);
  box-shadow: var(--shadow-nav);
  display: flex;
  align-items: center;
  transition: height 0.3s ease, background 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}

.nav.scrolled {
  height: 76px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.nav-progress {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #FE7509, #FFB066);
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
}

.nav-inner {
  width: 1920px;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 var(--content-padding);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo-icon {
  width: 54px; height: 54px;
  border-radius: 11.57px;
  overflow: hidden;
  flex-shrink: 0;
}

.nav-logo-icon img { width: 100%; height: 100%; object-fit: cover; }

.nav-logo-text { height: 40px; width: 130px; }

.nav-right {
  display: flex;
  align-items: center;
  gap: 60px;
}

.nav-link {
  font-weight: 600;
  font-size: 24px;
  color: var(--black);
  cursor: pointer;
  transition: color 0.2s;
}
.nav-link:hover { color: var(--primary); }

.btn-nav-cta {
  background: var(--primary);
  color: var(--white);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: 1.6px;
  padding: 12px 20px;
  border-radius: 47px;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s;
}
.btn-nav-cta:hover { opacity: 0.9; }

/* ============================================
   SECTION 2: Hero 区域
   ============================================ */
.hero {
  position: relative;
  min-height: 1060px;
  margin-top: 100px;
  background: var(--white);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }

.hero-content {
  position: relative;
  z-index: 1;
  padding-top: 96px;
  display: flex;
  align-items: center;
  gap: 80px;
  padding-left: var(--content-padding);
  padding-right: var(--content-padding);
  max-width: 1920px;
  margin: 0 auto;
}

.hero-left { max-width: 668px; }

.hero-logo-circle {
  width: 128px; height: 128px;
  border-radius: 27.43px;
  overflow: hidden;
  margin-bottom: 20px;
}
.hero-logo-circle img { width: 100%; height: 100%; object-fit: cover; }

.hero-headline {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 74px;
  line-height: 1.1;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.hero-headline .highlight { color: var(--primary); }

.hero-desc {
  font-family: 'PingFang SC', 'Noto Sans SC', 'Source Han Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  font-size: 28px;
  color: var(--text-dark);
  white-space: pre-line;
  margin-bottom: 38px;
}

.hero-buttons { display: flex; gap: 18px; }

.btn-hero-primary {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 30px;
  padding: 28px 48px;
  border-radius: 24px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.3s ease, opacity 0.2s;
  will-change: transform;
}
/* 方案B：悬停上浮 + 阴影加深；按下弹性回弹（"按得动"实感） */
.btn-hero-primary:hover {
  opacity: 0.96;
  transform: translateY(-7px);
  box-shadow: 0 16px 34px rgba(254, 117, 9, 0.32);
}
.btn-hero-primary:active {
  transform: translateY(-3px) scale(0.95);
  box-shadow: 0 8px 20px rgba(254, 117, 9, 0.28);
}

.btn-hero-outline {
  background: transparent;
  color: var(--primary);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 30px;
  padding: 26px 46px;
  border-radius: 24px;
  border: 3px solid var(--primary);
  cursor: pointer;
  transition: background 0.2s;
}
.btn-hero-outline:hover { background: rgba(254, 117, 9, 0.05); }

/* ===== Hero 右侧：动态悬浮场景 ===== */
.hero-right {
  position: relative;
  flex-shrink: 0;
  width: 880px;
  height: 1020px;
}

/* 手机图层通用 */
.phone-layer {
  position: absolute;
  width: 440px;
  height: auto;
  will-change: transform;
}

.phone-layer img {
  width: 100%;
  height: auto;
  display: block;
}

/* 背景手机（右后，消息列表） */
.phone-back {
  right: 6%;
  top: 100px;
  z-index: 1;
  transform: rotate(9deg) scale(0.90);
  opacity: 0.95;
}

/* 前景手机（左前，聊天/交友页） */
.phone-front {
  left: 8%;
  top: 42px;
  z-index: 2;
  transform: rotate(-5deg);
}

/* 浮动徽章组 */
.float-badges {
  position: absolute;
  left: 0px;
  top: 370px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.float-badge {
  width: auto;
  max-width: 180px;
  height: auto;
  will-change: transform;
  border-radius: 50px; /* 胶囊形裁切 */
  cursor: default;
}

.badge-match {
  /* 悬浮动画由 GSAP 驱动 */
}

.badge-cert {
  /* 悬浮动画由 GSAP 驱动 */
}

/* ─── 悬浮动画已迁移至 GSAP（见 script.js） ─── */

/* ============================================
   SECTION 3: 功能卡片
   ============================================ */
.features {
  background: var(--white);
  padding: 100px 0 148px;
}

.features-header {
  text-align: center;
  margin-bottom: 60px;
}

.features-cards {
  display: flex;
  justify-content: center;
  gap: 30px;
  padding: 0 var(--content-padding);
  max-width: 1920px;
  margin: 0 auto;
}

.feature-card {
  width: 440px;
  min-height: 447px;
  background: var(--bg-cream);
  border: 1.5px solid var(--border-warm);
  border-radius: var(--radius-xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 50px;
  gap: 36px;
  transition: transform 0.3s ease, border-color 0.3s ease;
  will-change: transform;
}
/* ⑨ 功能卡悬停：轻微抬起 + 边框微亮（无阴影） */
.feature-card:hover {
  transform: translateY(-8px);
  border-color: rgba(254, 117, 9, 0.45);
}

.feature-card-icon {
  width: 180px; height: 180px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature-card-icon img { width: 100%; height: 100%; object-fit: contain; }

.feature-card-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 36px;
  color: #111;
  text-align: center;
}

.feature-card-desc {
  font-family: 'PingFang SC', 'Noto Sans SC', 'Source Han Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  font-size: 24px;
  color: #111;
  text-align: center;
  line-height: 1.5;
  min-height: 72px;
}

/* ============================================
   SECTION 4: 三步流程
   ============================================ */
.steps {
  background: var(--bg-cream-light);
  padding: 100px 0 120px;
  position: relative;
  overflow: hidden;
}

.steps-header {
  text-align: center;
  margin-bottom: 80px;
}

.steps-container {
  position: relative;
  max-width: 1920px;
  margin: 0 auto;
  padding: 0 var(--content-padding);
}

/* 三步流程：行与标题置于连线之上（无连线后可保留无害，亦可删） */
.step-row, .steps-header { position: relative; z-index: 1; }

.step-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 80px;
  margin-bottom: 60px;
  min-height: 720px;
}
.step-row:last-child { margin-bottom: 0; }
.step-row.reverse { flex-direction: row-reverse; }

.step-text { width: 551px; flex-shrink: 0; }

.step-number {
  width: 190px; height: 190px;
  position: relative;
  margin-bottom: 32px;
}
.step-number img {
  width: 120px; height: 120px;
  position: absolute;
  left: 15px; top: 29px;
}
.step-number span {
  position: absolute;
  left: 60px; top: 53px;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 100px;
  background: linear-gradient(180deg, #FF8544 25%, #FFD9AB 76%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.step-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 70px;
  color: var(--text-dark);
  margin-bottom: 24px;
  line-height: 1.1;
}

.step-desc {
  font-family: 'PingFang SC', 'Noto Sans SC', 'Source Han Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  font-size: 28px;
  color: var(--text-dark);
  line-height: 1.6;
}

.step-visual {
  width: 756px;
  height: 842px;
  position: relative;
}

.step-illustration {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
  flex-shrink: 0;
}

/* Phone mockup for steps */
.step-phone-wrap {
  position: absolute;
  left: 247px; top: 128px;
  width: 280px;
}
.step-phone-body {
  width: 280px; height: 585px;
  border-radius: 43px;
  background: linear-gradient(180deg, #FF811D 29.87%, #FFC6A2 100%);
  overflow: hidden;
}
.step-phone-masked {
  position: absolute;
  left: 247px; top: 137px;
  width: 262px; height: 567px;
  border-radius: 42px;
  overflow: hidden;
}
.step-phone-masked img { width: 100%; height: 100%; object-fit: cover; }

/* Chat bubbles in step visual */
.chat-bubble {
  position: absolute;
  height: 70px;
  padding: 15px 22px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  color: white;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 27px;
  line-height: 39px;
  box-shadow: var(--shadow-bubble);
  white-space: nowrap;
}
.chat-bubble.left {
  left: 27px; top: 210px;
  background-image: url('../assets/images/bubble-shape.svg');
  background-repeat: no-repeat;
  background-size: 100% 100%;
}
.chat-bubble.right {
  left: 453px; top: 507px;
  background-image: url('../assets/images/bubble-shape-right.svg');
  background-repeat: no-repeat;
  background-size: 100% 100%;
  transform: scaleX(-1);
}

/* Step notification cards */
.notification-cards {
  position: absolute;
  left: 149px; top: 282px;
  width: 460px;
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.notify-card {
  background: white;
  border: 3px solid white;
  border-radius: 16px;
  box-shadow: var(--shadow-float);
  padding: 13px 14px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.notify-card-text { flex: 1; }
.notify-card-title {
  font-weight: 500; font-size: 20px; color: var(--text-primary);
  line-height: 30px; margin-bottom: 4px;
}
.notify-card-desc {
  font-weight: 400; font-size: 17px; color: var(--text-primary);
  line-height: 25px;
}
.notify-card-avatar {
  width: 86px; height: 86px;
  border-radius: 10px;
  object-fit: cover; flex-shrink: 0;
}

/* Profile cards stack (step 03) */
.profile-stack {
  position: absolute;
  left: 133px; top: 251px;
  width: 532px; height: 487px;
}
.profile-col {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.profile-col.left { left: 0; top: 27px; width: 230px; }
.profile-col.mid { left: 178px; top: 27px; width: 192px; }
.profile-col.right { left: 0; top: 0; width: 197px; }

.mini-profile {
  width: 110px; height: 144px;
  border: 2px solid white;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}
.mini-profile img { width: 100%; height: 100%; object-fit: cover; }
.mini-profile .overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 53px;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 50%);
}
.mini-profile .info {
  position: absolute;
  bottom: 8px; left: 5px; right: 5px;
  color: white;
}
.mini-profile .name {
  font-weight: 500; font-size: 11px;
  line-height: 10px; margin-bottom: 1px;
}
.mini-profile .bio {
  font-weight: 400; font-size: 9px;
  line-height: 8px; opacity: 0.8;
}
.mini-profile .tag {
  position: absolute;
  bottom: 45px; left: 5px;
  background: white;
  border-radius: 6px;
  padding: 1px 4px;
  font-size: 7px;
  font-weight: 600;
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.featured-user-card {
  position: absolute;
  left: 298px; top: 112px;
  width: 160px; height: 210px;
  border: 3px solid white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}
.featured-user-card img { width: 100%; height: 100%; object-fit: cover; }
.featured-user-card .overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 77px;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 50%);
}
.featured-user-card .smart-tag {
  position: absolute;
  bottom: 64px; left: 8px;
  background: var(--bg-warm-light);
  border: 0.33px solid var(--border-gold);
  border-radius: 6px;
  padding: 2px 6px;
  font-size: 8px;
  font-weight: 900;
  color: #663D0A;
  display: inline-flex; align-items: center; gap: 3px;
}
.featured-user-card .user-info {
  position: absolute;
  bottom: 10px; left: 7px; right: 7px;
  color: white;
}
.featured-user-card .uname {
  font-weight: 500; font-size: 10px; line-height: 14px;
}
.featured-user-card .ubio {
  font-weight: 400; font-size: 8px; line-height: 12px;
  opacity: 0.8;
}

/* Mascot in step visuals */
.mascot-step {
  position: absolute;
  z-index: 2;
}
.mascot-step.s1 { left: 273px; top: 411px; width: 210px; height: 230px; }
.mascot-step.s3 { left: -49px; top: 193px; width: 347px; height: 463px; }

/* AI button badge in steps */
.ai-btn-badge {
  position: absolute;
  border: 1.5px solid white;
  border-radius: 90px;
  padding: 0 22px;
  height: 36px;
  display: flex; align-items: center; gap: 10px;
  background: linear-gradient(-33deg, #FE5801 18%, #FF9412 82%);
  box-shadow: 0 4px 16px rgba(255,121,25,0.2);
  color: white;
  font-weight: 500;
  font-size: 18px;
  white-space: nowrap;
}
.ai-btn-badge .ai-icon-circle {
  width: 37px; height: 37px;
  border-radius: 104px;
  background: linear-gradient(180deg, white, #FFEFDc);
  display: flex; align-items: center; justify-content: center;
}
.ai-btn-badge .ai-icon-circle img { width: 21px; height: 21px; }

/* ============================================
   SECTION 5: 真实熟龄社区
   ============================================ */
.community {
  background: var(--white);
  padding: 100px 0;
}

.community-header {
  text-align: center;
  margin-bottom: 60px;
}

.user-cards-viewport {
  overflow: hidden;
  max-width: 1920px;
  margin: 0 auto;
  padding: 0 var(--content-padding);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 56px, #000 calc(100% - 56px), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 56px, #000 calc(100% - 56px), transparent 100%);
}
.user-cards {
  display: flex;
  gap: 32px;
  width: max-content;
  padding: 16px 0;
  will-change: transform;
}
/* 减弱动态效果时改为原生横向滚动，保证所有卡片可达 */
@media (prefers-reduced-motion: reduce) {
  .user-cards-viewport {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    -webkit-mask-image: none;
    mask-image: none;
  }
}

.user-card-large {
  width: 520px;
  height: 286px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-shrink: 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  will-change: transform;
}
/* ⑨ 用户卡悬停：整卡轻微抬起（保留原阴影，不做加深） */
.user-card-large:hover {
  transform: translateY(-8px);
}

.user-card-photo {
  width: 225px;
  height: 100%;
  position: relative;
  flex-shrink: 0;
  overflow: hidden;
}
.user-card-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
/* ⑨ 用户卡悬停：照片在圆角内微缩放（容器已 overflow:hidden，自动被圆角裁切） */
.user-card-large:hover .user-card-photo img { transform: scale(1.06); }
.user-card-photo .gradient-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 108px;
  border-radius: 0 0 var(--radius-xl) 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent);
}
.user-card-tags {
  position: absolute;
  bottom: 22px; left: 20px;
  display: flex; gap: 14px;
}
.tag-smart-select {
  background: #764911;
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 14px;
  font-weight: 500;
  color: #FFE7CB;
  display: inline-flex; align-items: center; gap: 4px;
}
.tag-certified {
  background: #E6FBE9;
  border-radius: 7px;
  padding: 4px 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  display: inline-flex; align-items: center; gap: 4px;
}

.user-card-info {
  flex: 1;
  padding: 38px 34px 38px 24px;
  display: flex;
  flex-direction: column;
}

.uc-name {
  font-weight: 600;
  font-size: 24px;
  color: #111;
  margin-bottom: 6px;
}
.uc-tags {
  display: flex; gap: 6px; margin-bottom: 14px; flex-wrap: wrap;
}
.uc-tag-age {
  padding: 4px 8px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 400;
}
.uc-tag-age.female { background: var(--female-bg); color: var(--female-pink); }
.uc-tag-age.male { background: var(--male-bg); color: var(--male-blue); }
.uc-tag-location {
  background: white;
  padding: 4px 8px 4px 6px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 400;
  color: var(--text-primary);
  display: inline-flex; align-items: center; gap: 2px;
}
.uc-tag-location img { width: 20px; height: 20px; }

.uc-bio {
  font-weight: 400;
  font-size: 15px;
  color: #111;
  line-height: 1.6;
  flex: 1;
}

.user-card-large.female-card { background: linear-gradient(180deg, #FFF1FB, white); }
.user-card-large.male-card { background: linear-gradient(180deg, #F1F5FF, white); }

/* ============================================
   SECTION 6: 信任保障
   ============================================ */
.trust {
  background: var(--bg-cream-light);
  padding: 100px 0 160px;
}

.trust-header {
  text-align: center;
  margin-bottom: 80px;
}

.trust-grid {
  display: flex;
  justify-content: space-between;
  padding: 0 var(--content-padding);
  max-width: 1920px;
  margin: 0 auto;
}

.trust-item {
  text-align: center;
  width: 250px;
}

.trust-icon-img {
  width: 120px; height: auto;
  margin: 0 auto 12px;
  display: block;
  transition: transform 0.3s ease;
  will-change: transform;
}
/* ⑩ 信任图标：悬停时轻微呼吸（scale 脉冲） */
@keyframes trustBreathe {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.07); }
}
.trust-item:hover .trust-icon-img {
  animation: trustBreathe 1.8s ease-in-out infinite;
}

.trust-item-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 32px;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.trust-item-desc {
  font-family: 'PingFang SC', 'Noto Sans SC', 'Source Han Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  font-size: 20px;
  color: var(--text-dark);
  line-height: 1.5;
}

.trust-disclaimer {
  text-align: center;
  margin-top: 62px;
}
.disclaimer-bar {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #FFEADC;
  padding: 15px 50px;
  border-radius: 120px;
  font-size: 16px;
  color: #111;
}
.disclaimer-bar a {
  color: var(--primary);
  font-weight: 500;
  text-decoration: underline;
  margin-left: 4px;
}

/* ============================================
   SECTION 7: CTA 横幅
   ============================================ */
.cta-banner {
  background: linear-gradient(120deg,
    #FF6717 0%, #FF8A3D 22%, #FFBC50 50%, #FF8A3D 78%, #FF6717 100%);
  background-size: 280% 280%;
  animation: ctaGradientFlow 9s ease-in-out infinite;
  padding: 100px 0 150px;
  text-align: center;
}
/* ⑪ CTA 横幅：橙色背景渐变缓慢流动（呼吸感） */
@keyframes ctaGradientFlow {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.cta-banner .section-title {
  color: white;
}
.cta-banner .section-subtitle {
  color: var(--cta-yellow);
}

.cta-qr-group {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 78px;
}
.cta-qr-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.cta-qr-box {
  width: 230px;
  height: 230px;
  aspect-ratio: 1/1;
  background: white;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  cursor: zoom-in;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  will-change: transform;
}
/* 二维码 hover 放大 */
.cta-qr-box:hover {
  transform: scale(1.08);
  box-shadow: 0 14px 34px rgba(60, 37, 10, 0.22);
}
.cta-qr-label {
  font-weight: 400;
  font-size: 20px;
  color: var(--text-dark);
}

/* ============================================
   SECTION 8: Footer
   ============================================ */
.footer {
  background: var(--footer-dark);
  padding: 100px 0 40px;
  text-align: center;
  color: var(--footer-text);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 120px;
  margin-bottom: 60px;
}
.footer-link {
  font-weight: 500;
  font-size: 20px;
  line-height: 30px;
  cursor: pointer;
  transition: color 0.2s;
}
.footer-link:hover { color: white; }

.footer-info p {
  font-weight: 400;
  font-size: 20px;
  line-height: 30px;
  margin-bottom: 4px;
}
/* 客服电话（深色页脚中突出、可点拨号） */
.footer-tel {
  color: var(--brand);
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-tel:hover { color: #fff; }

.footer-divider {
  max-width: 1400px;
  margin: 40px auto;
  height: 1px;
  opacity: 0.3;
}

.footer-age-note {
  font-weight: 400;
  font-size: 14px;
  color: var(--footer-text-dim);
  line-height: 30px;
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1440px) {
  :root { --content-padding: 80px; --container-width: 1100px; }
  .hero-content { gap: 40px; }
  .hero-right { width: 680px; height: 780px; }
  .phone-layer { width: 340px; }
  .phone-back { right: 8%; top: 60px; }
  .phone-front { left: 10%; top: 22px; }
  .float-badges { left: 0; top: 200px; }
  .float-badge { max-width: 140px; }
  .step-row { gap: 60px; }
  .step-visual { width: 600px; }
  .step-text { width: 450px; }
  .trust-grid { gap: 20px; }
}

@media (max-width: 1024px) {
  :root { --content-padding: 40px; --container-width: 900px; }
  .hero { margin-top: 0; min-height: auto; }
  .hero-content { flex-direction: column; align-items: center; text-align: center; padding-top: 140px; }
  .hero-left { max-width: 100%; text-align: center; display: flex; flex-direction: column; align-items: center; }
  .hero-buttons { justify-content: center; }
  .hero-right { width: 420px; height: 400px; }
  .phone-layer { width: 200px; }
  .phone-back { right: 6%; top: 45px; transform: rotate(9deg) scale(0.88); }
  .phone-front { left: 8%; top: 15px; transform: rotate(-5deg); }
  .float-badges { left: 0; top: 140px; }
  .float-badge { max-width: 120px; }
  .features-cards { flex-direction: column; align-items: center; }
  .feature-card { width: 100%; max-width: 500px; }
  .step-row { flex-direction: column !important; align-items: center !important; gap: 16px; min-height: auto; margin-bottom: 40px; }
  .step-img { text-align: center; }
  .step-text { width: 100%; text-align: center; }
  .step-number { margin-bottom: 12px; }
  .step-visual { width: 100%; max-width: 500px; height: auto; }
  .user-cards-viewport { overflow-x: auto; -webkit-overflow-scrolling: touch; -webkit-mask-image: none; mask-image: none; }
  .user-cards { flex-direction: row; gap: 16px; width: max-content; padding: 12px 0; }
  .user-card-large { width: 300px; height: 200px; }
  .user-card-photo { width: 130px; }
  .user-card-info { padding: 18px 16px; }
  .uc-name { font-size: 18px; margin-bottom: 4px; }
  .uc-bio { font-size: 13px; }
  .trust-grid { flex-wrap: wrap; justify-content: center; gap: 40px; }
  .nav-inner { padding: 0 40px; }
  .nav-right { gap: 24px; }
  .nav-link { font-size: 18px; }
  .section-title { font-size: 42px; line-height: 1.3; }
  .section-subtitle { font-size: 20px; }
}

@media (max-width: 640px) {
  :root { --content-padding: 20px; --container-width: 100%; }
  .nav { height: 70px; }
  .nav-logo-text { display: none; }
  .nav-right { gap: 16px; }
  .nav-link { font-size: 14px; }
  .btn-nav-cta { font-size: 14px; padding: 8px 14px; letter-spacing: normal; }
  .hero-headline { font-size: 36px; }
  .hero-desc { font-size: 16px; }
  .btn-hero-primary, .btn-hero-outline { font-size: 18px; padding: 16px 28px; border-radius: 16px; }
  .hero-right { width: 320px; height: 300px; }
  .phone-layer { width: 155px; }
  .phone-back { right: 4%; top: 30px; transform: rotate(9deg) scale(0.86); }
  .phone-front { left: 6%; top: 8px; transform: rotate(-4deg); }
  .float-badges { left: 0; top: 105px; gap: 8px; }
  .float-badge { max-width: 95px; }
  .section-title { font-size: 28px; }
  .section-subtitle { font-size: 16px; }
  .step-title { font-size: 36px; }
  .step-desc { font-size: 18px; }
  .step-number { width: 120px; height: 120px; }
  .step-number span { font-size: 60px; }
  .feature-card { min-height: auto; padding: 30px 20px; }
  .feature-card-icon { width: 100px; height: 100px; }
  .feature-card-title { font-size: 24px; }
  .feature-card-desc { font-size: 16px; }
  .uc-name { font-size: 17px; }
  .uc-bio { font-size: 12px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .uc-tag-age, .uc-tag-location { font-size: 12px; }
  .trust-item-title { font-size: 24px; }
  .trust-item-desc { font-size: 16px; }
  .cta-qr-group { flex-direction: column; align-items: center; }
  .footer-links { flex-direction: column; gap: 16px; }
  .footer-info p { font-size: 14px; line-height: 1.8; }
}

/* 无障碍：系统开启"减弱动态效果"时，关闭过渡与动画 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
