/* ============================================================
   Kango 看购 · 官网首页  —  按 Figma 定稿-官网首页 还原
   设计令牌：品牌主色 #FB7005 / 主体黑字 #212121 / 辅助灰字 #757575
   ============================================================ */

:root {
  --brand: #fb7005;
  --brand-light: #ff9d4d;
  --ink: #212121;
  --gray: #757575;
  --gray-light: #c0c0c0;
  --line: #ececec;
  --card-shadow: 0 2px 60px rgba(184, 108, 27, 0.06);
  --card-shadow-sm: 0 2px 60px rgba(184, 108, 27, 0.04);
  --radius-card: 20px;
  --radius-pill: 72px;
  --max: 1200px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family:
    "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 0px;
}

/* ---------- 通用区块标题 ---------- */
.sec-head {
  text-align: center;
  margin-bottom: 56px;
}
.sec-head h2 {
  font-size: 36px;
  font-weight: 600;
  color: var(--ink);
}
.sec-head p {
  margin-top: 18px;
  font-size: 20px;
  color: var(--gray);
}

.section {
  padding: 30px 0;
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  /* position: sticky; */
  top: 0;
  z-index: 100;
  height: 68px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}
.nav .wrap {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: baseline;
  gap: 14px;
}
.brand .logo {
  font-size: 30px;
  font-weight: 800;
  color: var(--brand);
  letter-spacing: 0.5px;
}
.brand .slogan {
  font-size: 15px;
  color: var(--ink);
}
.nav-links {
  display: flex;
  gap: 40px;
}
.nav-links a {
  font-size: 16px;
  color: var(--ink);
  transition: color 0.2s;
}
.nav-links a:hover {
  color: var(--brand);
}

/* ============================================================
   HERO 首屏
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  background: #fff;
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding-top: 70px;
  padding-bottom: 90px;
}
.hero .wrap.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 0px;
  padding-bottom: 0px;
}
.hero-original-img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.btn-primary {
  background: linear-gradient(90deg, #ff8a2b, var(--brand));
  color: #fff;
  padding: 17px 30px;
  border-radius: 40px;
  box-shadow: 0 12px 28px rgba(251, 112, 5, 0.32);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(251, 112, 5, 0.4);
}
.btn .arr {
  display: inline-flex;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  align-items: center;
  justify-content: center;
}

/* 手机照片墙 */
.hero-phones {
  display: flex;
  justify-content: center;
  gap: 24px;
}
.ph-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.ph-col.right {
  margin-top: 110px;
}
.pill {
  width: 172px;
  overflow: hidden;
  border-radius: 60px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}
.pill.tall {
  height: 366px;
}
.pill.short {
  height: 172px;
}
.pill img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pill.c-blue {
  background: #78c2ff;
}
.pill.c-cream {
  background: #f2e8d5;
}
.pill.c-purple {
  background: #887bff;
}
.pill.c-orange {
  background: #ffa865;
}

/* ============================================================
   做什么 —— 角色卡 + 生态图
   ============================================================ */
.roles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 70px;
}
.role-card {
  position: relative;
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: var(--card-shadow-sm);
  padding: 74px 30px 40px;
  text-align: center;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.role-card:hover,
.role-card:focus-within {
  transform: translateY(-5px);
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.12);
}
.role-ic {
  position: absolute;
  top: -50px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.12);
}
.role-ic svg {
  width: 52px;
  height: 52px;
  fill: #fff;
}
.role-ic.merchant {
  background: linear-gradient(135deg, #ff9776, #ff6b5b);
}
.role-ic.leader {
  background: linear-gradient(135deg, #ff8fdd, #f65bc7);
}
.role-ic.member {
  background: linear-gradient(135deg, #4cc0ff, #0b91ff);
}
.role-card h3 {
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 20px;
}
.role-card ul {
  text-align: left;
}
.role-card li {
  position: relative;
  padding-left: 16px;
  font-size: 18px;
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 6px;
}
.role-card li::before {
  content: "·";
  position: absolute;
  left: 2px;
  color: var(--brand);
}

/* 生态循环图 */
.eco {
  margin-top: 60px;
  background: #faf9f8;
  border-radius: 28px;
  padding: 60px 40px;
}
.eco-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
}
.eco-col {
  display: flex;
  flex-direction: column;
  gap: 44px;
}
.eco-col.left {
  align-items: flex-end;
}
.eco-col.right {
  align-items: flex-start;
}
.eco-node {
  display: flex;
  align-items: center;
  gap: 12px;
}
.eco-col.right .eco-node {
  flex-direction: row-reverse;
}
.eco-badge {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
.eco-badge svg {
  width: 32px;
  height: 32px;
  fill: #fff;
}
.eco-badge.merchant {
  background: linear-gradient(135deg, #ff9776, #ff6b5b);
}
.eco-badge.leader {
  background: linear-gradient(135deg, #ff8fdd, #f65bc7);
}
.eco-badge.member {
  background: linear-gradient(135deg, #4cc0ff, #0b91ff);
}
.eco-node .role {
  font-size: 22px;
  font-weight: 600;
}
.eco-node .desc {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.5;
}
.eco-col.left .eco-node .txt {
  text-align: right;
}

.eco-center {
  display: flex;
  justify-content: center;
}
.eco-core {
  width: 260px;
  height: 260px;
  border-radius: 50%;
  color: #fff;
  text-align: center;
  background: linear-gradient(160deg, #ff9a3d, #fb5e0a);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 24px 50px rgba(251, 94, 10, 0.35);
}
.eco-core svg {
  width: 64px;
  height: 64px;
  fill: #fff;
  margin: 0 auto 10px;
}
.eco-core .big {
  font-size: 26px;
  font-weight: 600;
}
.eco-core .sm {
  font-size: 15px;
  opacity: 0.92;
  margin-top: 6px;
  letter-spacing: 1px;
}

.eco-cap {
  text-align: center;
  color: var(--gray);
  font-size: 17px;
  margin: 10px 0;
}
.eco-cap.top {
  margin-bottom: 34px;
}
.eco-cap.bottom {
  margin-top: 34px;
}

/* ============================================================
   产品体验
   ============================================================ */
.warm {
  background: #fff;
}
.feat-big {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 30px;
}
.fcard {
  position: relative;
  height: 300px;
  border-radius: var(--radius-card);
  overflow: hidden;
  padding: 44px;
  display: flex;
}
.fcard.live {
  background: linear-gradient(
    124deg,
    rgba(255, 240, 240, 0.9) 0%,
    rgba(255, 218, 185, 0.36) 62%,
    rgba(255, 60, 172, 0.4) 100%
  );
}
.fcard.circle {
  background: linear-gradient(
    124deg,
    rgba(159, 244, 255, 0.6) 0%,
    rgba(255, 151, 246, 0.3) 73%,
    rgba(148, 198, 255, 0.9) 100%
  );
}
.fc-body {
  max-width: 260px;
}
.fc-body h3 {
  font-size: 30px;
  font-weight: 500;
  margin-bottom: 18px;
}
.fc-body p {
  font-size: 18px;
  color: var(--gray);
  line-height: 1.8;
}

/* 直播手机模型 */
.fc-phone {
  position: absolute;
  right: 40px;
  top: 34px;
  width: 210px;
  height: 452px;
  border-radius: 26px;
  border: 8px solid rgba(255, 255, 255, 0.9);
  background: #fff;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
}
.fc-phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

/* 圈子九宫格手机 */
.fc-grid-phone {
  position: absolute;
  right: 36px;
  top: 40px;
  width: 218px;
  height: 346px;
  border-radius: 20px;
  border: 8px solid rgba(255, 255, 255, 0.9);
  background: rgba(253, 253, 253, 0.5);
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.16);
  padding: 10px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  align-content: start;
}
.fc-grid-phone .cell {
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}
.fc-grid-phone .cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.fc-grid-phone .cell.a {
  height: 150px;
}
.fc-grid-phone .cell.b {
  height: 104px;
}
.fc-grid-phone .cell.c {
  height: 154px;
}
.fc-grid-phone .cell.d {
  height: 154px;
}

.feat-small {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.scard {
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: var(--card-shadow);
  padding: 40px;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.scard:hover,
.scard:focus-within {
  transform: translateY(-5px);
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.12);
}
.scard .sc-ic {
  width: 100px;
  height: 100px;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 30px;
}
.scard .sc-ic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.scard h3 {
  font-size: 30px;
  font-weight: 500;
  margin-bottom: 18px;
}
.scard p {
  font-size: 18px;
  color: var(--gray);
  line-height: 1.8;
}

/* ============================================================
   下载 Kango
   ============================================================ */
.dl-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
.dl-card {
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: var(--card-shadow-sm);
  padding: 44px;
  display: flex;
  align-items: center;
  gap: 30px;
  min-height: 300px;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.dl-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.12);
}
.dl-left {
  flex: 1;
}
.dl-badge {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 26px;
}
.dl-badge svg {
  width: 34px;
  height: 34px;
  fill: #fff;
}
.dl-badge.android {
  background: linear-gradient(135deg, #3ddc84, #29b866);
}
.dl-badge.ios {
  background: linear-gradient(135deg, #ff9a3d, #fb7005);
}
.dl-os {
  font-size: 26px;
  font-weight: 600;
}
.dl-ver {
  font-size: 18px;
  color: var(--gray);
  margin-top: 8px;
}
.dl-actions {
  position: relative;
  display: inline-block;
  margin-top: 22px;
}
.dl-log {
  display: none;
  position: absolute;
  bottom: calc(100% + 10px);
  left: 0;
  width: 320px;
  max-width: min(320px, calc(100vw - 40px));
  padding: 14px 16px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
  font-size: 14px;
  color: var(--gray);
  z-index: 20;
}
.dl-actions:hover .dl-log,
.dl-actions:focus-within .dl-log {
  display: block;
}
.dl-log .log-h {
  font-weight: 600;
  color: var(--ink);
  margin-top: 6px;
}
.dl-log .log-li {
  padding-left: 14px;
  position: relative;
}
.dl-log .log-li::before {
  content: "·";
  position: absolute;
  left: 2px;
  color: var(--brand);
}
.dl-log .log-size {
  margin-top: 4px;
  color: var(--gray-light);
}
.dl-btn {
  display: inline-block;
  padding: 9px 26px;
  border: 1px solid var(--ink);
  border-radius: 40px;
  font-size: 16px;
  transition: all 0.2s;
}
.dl-btn:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}
.dl-qr {
  width: 220px;
  height: 220px;
  flex: 0 0 auto;
  border-radius: 16px;
  background: #f2f2f2;
  color: var(--gray-light);
  font-size: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.dl-qr:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}
.dl-qr canvas,
.dl-qr img {
  border-radius: 8px;
}
.dl-qr .qr-cap {
  margin-top: 8px;
  font-size: 13px;
  color: var(--gray);
}
.dl-note {
  text-align: center;
  margin-top: 30px;
  font-size: 14px;
  color: var(--gray-light);
}

/* ============================================================
   图片滚动区（跑马灯）
   ============================================================ */
.marquee-sec {
  padding: 60px 0;
  overflow: hidden;
}
.marquee {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    #000 8%,
    #000 92%,
    transparent
  );
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 8%,
    #000 92%,
    transparent
  );
}
.marquee-track {
  display: flex;
  width: max-content;
  will-change: transform;
}
.marquee-item {
  height: 560px;
  border-radius: 24px;
  overflow: hidden;
  border: 2px solid rgba(251, 112, 5, 0.06);
  flex: 0 0 auto;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
  /* width / margin-right 由 marquee.js 按每屏 4 张动态计算 */
}
.marquee-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
/* 底部分页圆点：数量 = 图片总数(6)，点击切换 */
.marquee-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}
.marquee-dots .dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(33, 33, 33, 0.18);
  cursor: pointer;
  transition:
    width 0.25s,
    background 0.25s;
}
.marquee-dots .dot:hover {
  background: rgba(251, 112, 5, 0.55);
}
.marquee-dots .dot.active {
  width: 26px;
  border-radius: 5px;
  background: var(--brand);
}

/* ============================================================
   数据背书
   ============================================================ */
.stats-sec {
  padding: 30px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.stat .num {
  font-size: 56px;
  font-weight: 800;
  color: var(--brand);
  line-height: 1;
}
.stat .t {
  font-size: 20px;
  font-weight: 500;
  margin-top: 20px;
  color: var(--ink);
}
.stat .d {
  font-size: 16px;
  color: var(--gray);
  margin-top: 6px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  padding: 30px 0 50px;
  border-top: 1px solid var(--line);
  text-align: center;
}
.f-links .row {
  font-size: 16px;
  color: var(--ink);
  margin-bottom: 14px;
}
.f-links .row a:hover {
  color: var(--brand);
}
.f-links .sep {
  color: var(--line);
  margin: 0 12px;
}
.f-meta {
  margin-top: 26px;
  font-size: 13px;
  color: #707070;
  line-height: 2;
}
.f-copy {
  margin-top: 20px;
  font-size: 14px;
  color: var(--gray);
  line-height: 1.9;
}

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 960px) {
  .brand .slogan {
    display: none;
  }
  .nav-links {
    gap: 20px;
  }
  .nav-links a {
    font-size: 14px;
  }
  .hero .wrap {
    grid-template-columns: 1fr;
  }
  .hero-copy h1 {
    font-size: 40px;
  }
  .hero-phones {
    margin-top: 40px;
  }
  .roles,
  .feat-big,
  .feat-small,
  .dl-cards,
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .eco-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .eco-col.left,
  .eco-col.right {
    align-items: center;
  }
  .fcard {
    height: auto;
    flex-direction: column;
  }
  .fc-phone,
  .fc-grid-phone {
    position: static;
    margin-top: 24px;
  }
  .dl-card {
    flex-direction: column;
    text-align: center;
  }
  .dl-left {
    text-align: center;
  }
  .role-ic {
    position: static;
    transform: none;
    margin: 0 auto 20px;
  }
  .role-card {
    padding-top: 40px;
  }
}
@media (max-width: 560px) {
  .hero-copy h1 {
    font-size: 32px;
  }
  .sec-head h2 {
    font-size: 28px;
  }
  .nav-links {
    display: none;
  }
}
