/* 造梦物业消费返利抵扣金系统 - 产品页样式 */

/* ===== 基础重置 ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "PingFang SC", -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: #334155;
  line-height: 1.7;
  background: #F5F8FD;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }

/* ===== 加载动画 ===== */
.loading-overlay {
  position: fixed; inset: 0; z-index: 9999;
  background: #062A6B;
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.45s ease, visibility 0.45s;
}
.loading-overlay.hidden { opacity: 0; visibility: hidden; }
.loading-spinner {
  width: 46px; height: 46px; border-radius: 50%;
  border: 3px solid rgba(255,255,255,0.2);
  border-top-color: #FFB800;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ===== 滚动进度条 ===== */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; z-index: 9998;
  width: 0; background: linear-gradient(90deg, #0066FF, #00CCFF, #FFB800);
  transition: width 0.1s;
}

/* ===== 浮动粒子背景 ===== */
.floating-particles {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 0; overflow: hidden;
}
.particle {
  position: absolute; width: 8px; height: 8px;
  background: linear-gradient(135deg, rgba(0,102,255,0.3), rgba(0,204,255,0.1));
  border-radius: 50%;
  animation: wy-float 15s infinite ease-in-out;
}
.particle:nth-child(1) { left: 10%; animation-delay: 0s; animation-duration: 18s; }
.particle:nth-child(2) { left: 20%; animation-delay: 2s; animation-duration: 22s; width: 6px; height: 6px; }
.particle:nth-child(3) { left: 35%; animation-delay: 4s; animation-duration: 20s; }
.particle:nth-child(4) { left: 50%; animation-delay: 1s; animation-duration: 16s; width: 10px; height: 10px; }
.particle:nth-child(5) { left: 65%; animation-delay: 3s; animation-duration: 24s; }
.particle:nth-child(6) { left: 80%; animation-delay: 5s; animation-duration: 19s; width: 5px; height: 5px; }
.particle:nth-child(7) { left: 90%; animation-delay: 2.5s; animation-duration: 21s; }
@keyframes wy-float {
  0%, 100% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(-100px) rotate(360deg); opacity: 0; }
}

/* ===== 通用容器 / 标题 ===== */
.wy-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }
.wy-section { padding: 76px 0 56px; }
.wy-section.alt { background: #fff; border-top: 1px solid #E6EDF7; border-bottom: 1px solid #E6EDF7; }
.wy-head { text-align: center; max-width: 760px; margin: 0 auto 46px; }
.wy-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: #EAF2FF; color: #0066FF;
  font-size: 13px; font-weight: 700; padding: 5px 16px; border-radius: 50px; margin-bottom: 14px;
}
.wy-head h2 { font-size: 34px; font-weight: 800; color: #0B1B33; line-height: 1.3; }
.wy-head h2 span { color: #0066FF; }
.wy-head p { color: #64748B; font-size: 15px; margin-top: 10px; }
.wy-sub { color: #64748B; font-size: 13px; text-align: center; margin-top: 6px; }

/* ===== Hero ===== */
.wy-hero {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #041F4E 0%, #062A6B 38%, #0B3D8F 70%, #0099FF 100%);
  color: #fff;
  padding: 96px 0 0;
}
.wy-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 75% 20%, rgba(0,204,255,0.25), transparent 45%);
}
.wy-hero::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -60px; height: 150px;
  background: #F5F8FD; border-radius: 50% 50% 0 0;
}
.wy-hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: center; position: relative; z-index: 2; padding-bottom: 84px; }
.wy-hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.32);
  padding: 7px 18px; border-radius: 50px; font-size: 13px; letter-spacing: 1px; margin-bottom: 20px;
}
.wy-hero-badge .wy-dot { width: 8px; height: 8px; border-radius: 50%; background: #7CF0C2; box-shadow: 0 0 8px #7CF0C2; }
.wy-hero h1 { font-size: 46px; font-weight: 900; line-height: 1.22; margin-bottom: 16px; }
.wy-hero h1 span { color: #FFB800; }
.wy-hero-sub { font-size: 17px; font-weight: 600; color: rgba(255,255,255,0.95); margin-bottom: 12px; }
.wy-hero p { font-size: 15px; opacity: 0.92; max-width: 600px; }
.wy-hero-btns { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.wy-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 32px; border-radius: 50px;
  font-size: 15px; font-weight: 700; cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}
.wy-btn-primary { background: #FFB800; color: #4A2E00; }
.wy-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(255,184,0,0.35); }
.wy-btn-ghost { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.4); color: #fff; }
.wy-btn-ghost:hover { background: rgba(255,255,255,0.2); transform: translateY(-2px); }
.wy-hero-stats { display: flex; gap: 38px; margin-top: 38px; flex-wrap: wrap; }
.wy-hs b { display: block; font-size: 28px; font-weight: 900; color: #FFB800; line-height: 1.2; }
.wy-hs span { font-size: 13px; opacity: 0.88; }
.wy-hero-img { position: relative; }
.wy-hero-img img {
  width: 100%; border-radius: 18px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.18);
}
.wy-hero-float {
  position: absolute; right: -12px; top: -16px;
  background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.3);
  backdrop-filter: blur(8px);
  padding: 12px 18px; border-radius: 14px; font-size: 13px; line-height: 1.5;
}
.wy-hero-float b { color: #FFB800; }

/* ===== 核心角色 ===== */
.wy-roles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.wy-role {
  background: #fff; border: 1px solid #E6EDF7; border-radius: 16px;
  padding: 26px 20px; text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}
.wy-role:hover { transform: translateY(-5px); box-shadow: 0 14px 34px rgba(0,60,160,0.12); }
.wy-role .wy-role-ico { font-size: 42px; line-height: 1; }
.wy-role h3 { font-size: 16px; font-weight: 700; color: #0B1B33; margin: 12px 0 8px; }
.wy-role p { font-size: 13px; color: #64748B; }
.wy-role .wy-role-tag {
  display: inline-block; margin-top: 10px; font-size: 11px; font-weight: 700;
  color: #0066FF; background: #EAF2FF; padding: 3px 12px; border-radius: 50px;
}

/* ===== 痛点对比 ===== */
.wy-pain { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.wy-pain-card { border-radius: 16px; padding: 30px; }
.wy-pain-old { background: #FFF5F5; border: 1px solid #FFE0E0; }
.wy-pain-new { background: linear-gradient(135deg, #EAF2FF, #F0F9FF); border: 1px solid #C9E0FF; }
.wy-pain-card h3 { font-size: 18px; font-weight: 800; margin-bottom: 16px; }
.wy-pain-old h3 { color: #E5484D; }
.wy-pain-new h3 { color: #0066FF; }
.wy-pain-card li { font-size: 14px; padding: 7px 0 7px 26px; position: relative; color: #475569; }
.wy-pain-old li::before { content: '✕'; position: absolute; left: 0; color: #E5484D; font-weight: 900; }
.wy-pain-new li::before { content: '✓'; position: absolute; left: 0; color: #00B578; font-weight: 900; }

/* ===== 核心功能总览 ===== */
.wy-feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.wy-feat {
  background: #fff; border: 1px solid #E6EDF7; border-radius: 16px;
  padding: 26px 24px; display: flex; gap: 16px; align-items: flex-start;
  transition: transform 0.2s, box-shadow 0.2s;
}
.wy-feat:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(0,60,160,0.12); }
.wy-feat-ico {
  flex-shrink: 0; width: 52px; height: 52px; border-radius: 14px;
  background: linear-gradient(135deg, #0066FF, #00CCFF);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  box-shadow: 0 8px 18px rgba(0,102,255,0.25);
}
.wy-feat h3 { font-size: 16px; font-weight: 700; color: #0B1B33; }
.wy-feat p { font-size: 13px; color: #64748B; margin-top: 6px; }

/* ===== 图文模块（通用） ===== */
.wy-media { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.wy-media.reverse { direction: rtl; }
.wy-media > * { direction: ltr; }
.wy-media-img { border-radius: 18px; overflow: hidden; box-shadow: 0 20px 50px rgba(0,60,160,0.16); border: 1px solid #E6EDF7; }
.wy-media-img img { width: 100%; }
.wy-media h3 { font-size: 26px; font-weight: 800; color: #0B1B33; line-height: 1.35; margin-bottom: 10px; }
.wy-media h3 span { color: #0066FF; }
.wy-media .wy-media-desc { font-size: 14px; color: #64748B; margin-bottom: 20px; }
.wy-items { display: flex; flex-direction: column; gap: 12px; }
.wy-item {
  display: flex; gap: 14px; align-items: flex-start;
  background: #fff; border: 1px solid #E6EDF7; border-radius: 12px; padding: 14px 16px;
}
.wy-item .wy-item-ico { font-size: 26px; line-height: 1.3; }
.wy-item h4 { font-size: 14px; font-weight: 700; color: #0B1B33; }
.wy-item p { font-size: 13px; color: #64748B; }
.wy-tag-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.wy-tag {
  font-size: 13px; font-weight: 600; color: #0066FF;
  background: #EAF2FF; border: 1px solid #D6E6FF;
  padding: 6px 16px; border-radius: 50px;
}
.wy-tag.gold { color: #B45309; background: #FFF7E6; border-color: #FFE9B8; }

/* ===== 物业金体系 ===== */
.wy-coin-box {
  background: linear-gradient(135deg, #062A6B, #0B3D8F 60%, #0066FF);
  border-radius: 20px; padding: 44px; color: #fff;
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
}
.wy-coin-box .wy-media-img { border-color: rgba(255,255,255,0.2); }
.wy-coin-box h3 { font-size: 26px; font-weight: 800; }
.wy-coin-box h3 span { color: #FFB800; }
.wy-coin-box p { font-size: 14px; opacity: 0.92; margin-top: 10px; }
.wy-coin-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 22px; }
.wy-coin-card { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.25); border-radius: 12px; padding: 16px; }
.wy-coin-card b { display: block; font-size: 16px; color: #FFB800; margin-bottom: 4px; }
.wy-coin-card span { font-size: 12.5px; opacity: 0.9; }
.wy-coin-rules { margin-top: 18px; font-size: 13px; opacity: 0.9; }
.wy-coin-rules li { padding: 4px 0; }
.wy-coin-rules li::before { content: '• '; color: #FFB800; font-weight: 900; }

/* ===== 缴纳流程 / 合作流程 ===== */
.wy-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 8px; }
.wy-step {
  background: #fff; border: 1px solid #E6EDF7; border-radius: 16px;
  padding: 26px 22px; text-align: center; position: relative;
}
.wy-step .wy-step-num {
  width: 40px; height: 40px; margin: 0 auto 14px;
  border-radius: 50%; background: linear-gradient(135deg, #0066FF, #00CCFF);
  color: #fff; font-weight: 900; font-size: 17px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 18px rgba(0,102,255,0.28);
}
.wy-step h3 { font-size: 15px; font-weight: 700; color: #0B1B33; }
.wy-step p { font-size: 13px; color: #64748B; margin-top: 6px; }

/* ===== 分销等级 ===== */
.wy-dist-table { background: #fff; border: 1px solid #E6EDF7; border-radius: 16px; overflow: hidden; margin-top: 26px; }
.wy-dist-table table { width: 100%; border-collapse: collapse; font-size: 14px; }
.wy-dist-table th { background: #062A6B; color: #fff; font-weight: 700; padding: 14px 18px; text-align: left; white-space: nowrap; }
.wy-dist-table td { padding: 13px 18px; border-bottom: 1px solid #EEF3FA; color: #475569; }
.wy-dist-table tr:last-child td { border-bottom: none; }
.wy-dist-table tr:hover td { background: #F7FAFF; }
.wy-dist-table td b { color: #0B1B33; }
.wy-dist-note {
  margin-top: 16px; font-size: 13px; color: #64748B;
  background: #FFF7E6; border: 1px solid #FFE9B8; border-radius: 10px; padding: 12px 16px;
}

/* ===== 后台管理 ===== */
.wy-admin { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.wy-admin-card {
  background: #fff; border: 1px solid #E6EDF7; border-radius: 16px;
  padding: 24px; transition: transform 0.2s, box-shadow 0.2s;
}
.wy-admin-card:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(0,60,160,0.12); }
.wy-admin-card .wy-ac-ico { font-size: 32px; }
.wy-admin-card h3 { font-size: 16px; font-weight: 700; color: #0B1B33; margin: 10px 0 8px; }
.wy-admin-card p { font-size: 13px; color: #64748B; }
.wy-admin-card ul { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.wy-admin-card li { font-size: 11.5px; color: #0066FF; background: #EAF2FF; padding: 3px 10px; border-radius: 50px; font-weight: 600; }

/* ===== 资金流转 ===== */
.wy-flow-box {
  background: linear-gradient(135deg, #062A6B, #0B3D8F 60%, #0099FF);
  border-radius: 20px; padding: 44px; color: #fff;
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
}
.wy-flow-box h3 { font-size: 26px; font-weight: 800; }
.wy-flow-box h3 span { color: #FFB800; }
.wy-flow-box p { font-size: 14px; opacity: 0.92; margin-top: 10px; }
.wy-flow-steps { margin-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.wy-flow-step {
  display: flex; gap: 12px; align-items: flex-start;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.22);
  border-radius: 12px; padding: 12px 16px; font-size: 13.5px;
}
.wy-flow-step b { color: #FFB800; }
.wy-flow-step .wy-fs-num {
  flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%;
  background: #FFB800; color: #4A2E00; font-weight: 900; font-size: 13px;
  display: flex; align-items: center; justify-content: center; margin-top: 2px;
}

/* ===== 盈利模式 ===== */
.wy-profit { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.wy-profit-card {
  background: #fff; border: 1px solid #E6EDF7; border-radius: 16px;
  padding: 26px 22px; text-align: center; position: relative; overflow: hidden;
}
.wy-profit-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, #0066FF, #00CCFF, #FFB800);
}
.wy-profit-card .wy-pr-ico { font-size: 40px; }
.wy-profit-card h3 { font-size: 16px; font-weight: 700; color: #0B1B33; margin: 12px 0 8px; }
.wy-profit-card p { font-size: 13px; color: #64748B; }
.wy-profit-card .wy-pr-tag {
  display: inline-block; margin-top: 12px; font-size: 12px; font-weight: 700;
  color: #00B578; background: #E8FAF3; padding: 4px 14px; border-radius: 50px;
}

/* ===== 应用场景 ===== */
.wy-scenes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.wy-scene {
  background: #fff; border: 1px solid #E6EDF7; border-radius: 16px;
  padding: 26px 22px; text-align: center; transition: transform 0.2s, box-shadow 0.2s;
}
.wy-scene:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(0,60,160,0.12); }
.wy-scene .wy-sc-ico { font-size: 40px; }
.wy-scene h3 { font-size: 16px; font-weight: 700; color: #0B1B33; margin: 12px 0 8px; }
.wy-scene p { font-size: 13px; color: #64748B; }

/* ===== FAQ ===== */
.wy-faq-list { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.wy-faq-item { background: #fff; border: 1px solid #E6EDF7; border-radius: 12px; overflow: hidden; }
.wy-faq-q {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 22px; cursor: pointer; font-size: 15px; font-weight: 600; color: #0B1B33;
}
.wy-faq-q .wy-fq-arrow { transition: transform 0.2s; color: #94A3B8; }
.wy-faq-item.open .wy-fq-arrow { transform: rotate(180deg); color: #0066FF; }
.wy-faq-a { display: none; padding: 0 22px 18px; font-size: 14px; color: #64748B; }
.wy-faq-item.open .wy-faq-a { display: block; }

/* ===== CTA ===== */
.wy-cta {
  background: linear-gradient(135deg, #041F4E, #0B3D8F 55%, #0099FF);
  color: #fff; text-align: center; padding: 70px 0;
}
.wy-cta h2 { font-size: 32px; font-weight: 900; }
.wy-cta h2 span { color: #FFB800; }
.wy-cta p { opacity: 0.92; margin: 12px 0 28px; font-size: 15px; }
.wy-cta .wy-btn-primary { font-size: 16px; padding: 14px 46px; }
.wy-cta-contact { margin-top: 22px; font-size: 13px; opacity: 0.85; }

/* ===== 动画 ===== */
.wy-reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.6s ease, transform 0.6s ease; }
.wy-reveal.in { opacity: 1; transform: none; }

/* ===== 响应式 ===== */
@media (max-width: 1199px) {
  .wy-roles { grid-template-columns: repeat(3, 1fr); }
  .wy-feats { grid-template-columns: repeat(2, 1fr); }
  .wy-profit { grid-template-columns: repeat(2, 1fr); }
  .wy-scenes { grid-template-columns: repeat(2, 1fr); }
  .wy-admin { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 991px) {
  .wy-hero-grid { grid-template-columns: 1fr; }
  .wy-hero h1 { font-size: 36px; }
  .wy-media, .wy-coin-box, .wy-flow-box { grid-template-columns: 1fr; }
  .wy-pain { grid-template-columns: 1fr; }
  .wy-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .wy-roles { grid-template-columns: 1fr; }
  .wy-feats { grid-template-columns: 1fr; }
  .wy-profit, .wy-scenes, .wy-admin { grid-template-columns: 1fr; }
  .wy-steps { grid-template-columns: 1fr; }
  .wy-coin-cards { grid-template-columns: 1fr; }
  .wy-hero-stats { gap: 20px; }
  .wy-coin-box, .wy-flow-box { padding: 26px 20px; }
  .wy-dist-table { overflow-x: auto; }
}
